LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-27-2018, 05:28 AM   #1
Ne01eX
Member
 
Registered: Mar 2018
Location: Ekaterinburg region, Ural, Russian Federation
Distribution: Slackware, RTK GNU/Linux
Posts: 173

Rep: Reputation: 22
Post ALSA-only + "de-Qt-ization" into Slackware Linux mini-HOWTO. :-)


ALSA-only + "de-Qt-ization" into Slackware Linux mini-HOWTO. :-)

Code:
Tested and works on     : Slackware-Current for x86 and x86_64.
Current version         : 0.3-beta "He's Gone"
Author(s)               : Ne01eX.
Addition(s)             :
License                 : This mini-HOWTO is distributed under license EFTPL v.1.0
See ALSA-ONLY-TREE.tar.lz for more details.
Hi2All! This mini-HOWTO is written for users who use the Linux-native ALSA sound system and only it. And this mini-HOWTO is not suitable for users who use Qt4 and KDE in Slackware Linux. And so, let's go!!

In fact, you can simply delete some packages not needed to work with ALSA, thus skipping some steps. But I acted differently. :-)
And yes, this mini-HOWTO is written for those who know what they are doing. :-)

0. It's a good idea to first remove all the packages mentioned in the text, and also rebuild the kernel with ALSA support only. To do this, it is sufficient to disable OSS support in menu of the Linux kernel configurator.

0.1. Remove all packages from the kde and kdei directories:

Code:
removepkg amarok
removepkg amor
removepkg analitza
removepkg ark
removepkg artikulate
removepkg audiocd-kio
removepkg baloo
removepkg baloo-widgets
removepkg blinken
removepkg bluedevil
removepkg bomber
removepkg bovo
removepkg calligra
removepkg cantor
removepkg cervisia
removepkg dolphin-plugins
removepkg dragon
removepkg filelight
removepkg granatier
removepkg gwenview
removepkg juk
removepkg k3b
removepkg kaccessible
removepkg kactivities
removepkg kajongg
removepkg kalgebra
removepkg kalzium
removepkg kamera
removepkg kanagram
removepkg kapman
removepkg kapptemplate
removepkg kate
removepkg katomic
removepkg kaudiocreator
removepkg kblackbox
removepkg kblocks
removepkg kbounce
removepkg kbreakout
removepkg kbruch
removepkg kcachegrind
removepkg kcalc
removepkg kcharselect
removepkg kcolorchooser
removepkg kcron
removepkg kdeartwork
removepkg kde-baseapps
removepkg kde-base-artwork
removepkg kdeconnect-kde
removepkg kde-dev-scripts
removepkg kde-dev-utils
removepkg kdegraphics-mobipocket
removepkg kdegraphics-strigi-analyzer
removepkg kdegraphics-thumbnailers
removepkg kdelibs
removepkg kdenetwork-filesharing
removepkg kdenetwork-strigi-analyzers
removepkg kdepim
removepkg kdepimlibs
removepkg kdepim-runtime
removepkg kdeplasma-addons
removepkg kde-runtime
removepkg kdesdk-kioslaves
removepkg kdesdk-strigi-analyzers
removepkg kdesdk-thumbnailers
removepkg kdevelop
removepkg kdevelop-pg-qt
removepkg kdevelop-php
removepkg kdevelop-php-docs
removepkg kdevplatform
removepkg kdev-python
removepkg kde-wallpapers
removepkg kdewebdev
removepkg kde-workspace
removepkg kdf
removepkg kdiamond
removepkg kfilemetadata
removepkg kfloppy
removepkg kfourinline
removepkg kgamma
removepkg kgeography
removepkg kget
removepkg kgoldrunner
removepkg kgpg
removepkg khangman
removepkg kig
removepkg kigo
removepkg killbots
removepkg kio-mtp
removepkg kiriki
removepkg kiten
removepkg kjumpingcube
removepkg klettres
removepkg klickety
removepkg klines
removepkg kmag
removepkg kmahjongg
removepkg kmines
removepkg kmix
removepkg kmousetool
removepkg kmouth
removepkg kmplot
removepkg knavalbattle
removepkg knetwalk
removepkg kolf
removepkg kollision
removepkg kolourpaint
removepkg kompare
removepkg konquest
removepkg konsole
removepkg kopete
removepkg korundum
removepkg kpat
removepkg kplayer
removepkg kppp
removepkg kqtquickcharts
removepkg krdc
removepkg kremotecontrol
removepkg kreversi
removepkg krfb
removepkg kross-interpreters
removepkg kruler
removepkg ksaneplugin
removepkg kscreen
removepkg kshisen
removepkg ksirk
removepkg ksnakeduel
removepkg ksnapshot
removepkg kspaceduel
removepkg ksquares
removepkg kstars
removepkg ksudoku
removepkg ksystemlog
removepkg kteatime
removepkg ktimer
removepkg ktorrent
removepkg ktouch
removepkg ktuberling
removepkg kturtle
removepkg ktux
removepkg kubrick
removepkg kuser
removepkg kwalletmanager
removepkg kwebkitpart
removepkg kwordquiz
removepkg libkcddb
removepkg libkcompactdisc
removepkg libkdcraw
removepkg libkdeedu
removepkg libkdegames
removepkg libkexiv2
removepkg libkipi
removepkg libkmahjongg
removepkg libkomparediff2
removepkg libksane
removepkg libkscreen
removepkg libktorrent
removepkg libmm-qt
removepkg libnm-qt
removepkg lokalize
removepkg lskat
removepkg marble
removepkg mplayerthumbs
removepkg nepomuk-core
removepkg nepomuk-widgets
removepkg okteta
removepkg okular
removepkg oxygen-gtk2
removepkg oxygen-icons
removepkg pairs
removepkg palapeli
removepkg parley
removepkg partitionmanager
removepkg perlkde
removepkg perlqt
removepkg picmi
removepkg plasma-nm
removepkg polkit-kde-agent-1
removepkg polkit-kde-kcmodules-1
removepkg poxml
removepkg print-manager
removepkg pykde4
removepkg qtruby
removepkg rocs
removepkg skanlite
removepkg smokegen
removepkg smokekde
removepkg smokeqt
removepkg step
removepkg superkaramba
removepkg svgpart
removepkg sweeper
removepkg umbrello
removepkg wicd-kde
removepkg zeroconf-ioslave

removepkg calligra*
removepkg kde-l10n*
0.2. It's a good idea to remove xmms and everything associated with it (use audacious!):

Code:
removepkg glib
removepkg gst-plugins-base0
removepkg gst-plugins-good0
removepkg gstreamer0
removepkg gtk+
removepkg libvisual-plugins
removepkg xmms
0.3. We continue to delete unnecessary packages:

Code:
removepkg pamixer
removepkg QScintilla
removepkg PyQt
removepkg alsa-oss
removepkg akonadi
removepkg attica
removepkg audiofile
removepkg automoc4
removepkg esound
removepkg grantlee
removepkg libasyncns
removepkg libcanberra
removepkg libkarma
removepkg phonon
removepkg phonon-gstreamer
removepkg pulseaudio
removepkg qca
removepkg qimageblitz
removepkg qjson
removepkg qt-gstreamer
removepkg qtscriptgenerator
removepkg shared-desktop-onotologies
removepkg soprano
removepkg strigi
removepkg pavucontrol
removepkg xfce4-pulseaudio-plugin
0.4. And, finally, if you do not need the Qt library itself, then you can also delete it:

Code:
removepkg qt
0.5 Rebuilt packages without Qt:

d/cmake
l/poppler
l/v4l-utils
n/wpa_supplicant
x/scim

1. Recompiling packages to work only with ALSA:

1.1. I started with these:

ap/normalize
ap/flac

1.2. At this point, you can add additional packages to work with the sound. It is free software, but in some countries it can be further regulated by software patents. I added these:

m/gsm
m/libass
m/libavc1394
m/libbluray
m/libdc1394
m/libiec61883
m/libmodplug
m/rtmpdump
m/twolame
# m/x264 # disabled and not builded by default
# m/x265 # disabled and not builded by default
m/xvidcore

1.3. We continue to recompile packages to work only with ALSA:

l/ffmpeg
l/alsa-lib # Do not forget to remove /etc/asound.conf !
l/alsa-plugins
ap/alsa-utils # Do not forget to disable (or remove) /etc/rc.d/rc.alsa-oss !
ap/mpg123
l/libao
ap/madplay
xap/fluidsynth
xap/xine-lib
xap/audacious-plugins
xap/MPlayer
ap/sox

1.4. We rebuilt the gstreamer and everything related to it:

l/libvisual
l/gstreamer
l/gst-plugins-base
l/gst-plugins-good
l/gst-plugins-libav

1.5. You can also add this at this stage:

l/gst-plugins-ugly
l/gst-plugins-bad

But the use of these packages can also be limited to software patents. In free countries, for example, in Russia, where users of Free Software are fighting for their rights, there are no software patents. :-)

1.6. So, finish the assembly. In fact, the only packages that gstreamer now use are:

xap/pidgin
xfce/tumbler

If you do not need a sound in pidgin, then you can rebuild it without sound support. To generate a thumbnail, you can rebuild a tumbler with ffmpeg support. Thus, you and Gstreamer will not be needed and steps 1.4-1.6 can be skipped completely. But I use GStreamer for these (and some other) applications (for example, - parole and xfburn). :-)

Important note: I build a pidgin without the support of a pidgin-encryption plugin and with the support of gnutls instead of mozilla-nss!

2.0 Additional software.

Starting with version 0.1-beta of this mini-HOWTO, the volumeicon utility was located in the ALSA-ONLY-TREE archive.
This is a simple volume control that works in the system tray and nothing more. This program works equally well in any DE. To build it you need to download the source code from the official site of the program.
Everything else for the assembly is represented in the xap/volumeicon directory.

If you left GStreamer in your system, it would be a good idea to use its capabilities to the maximum. Especially if you use as your DE - XFCE. For starters, you can try the universal media player parole (as a replacement for kde/dragon) and a utility for simple recording of disks (as a replacement for kde/k3b).

All of the above I built in the following order:

xap/volumeicon
l/libburn
l/libisofs
xfce-extra/xfburn
xfce-extra/parole

2.1. References.
xap/volumeicon, l/libburn, l/libisofs, xfce-extra/xfburn, xfce-extra/parole.

Epilogue. To automate the assembly of applications, you can use scripts from the attachment. There is no procedure for removing KDE and the DE libraries required for this. But also work to the sound in KDE is now also necessary for those who need it. :-) I described my road of Slackware-warrior. :-D

3.0.0.0.0. For to convey emotions of the soul:

Grateful Dead - He's Gone (Sullivan Stadium, Foxboro, MA 7/2/89);
Unheilig - Hand in Hand (Gipfelstürmer, Deluxe Edition, 2014);
Catharsis - Не зарекайся! (Острова во сне, Single, 2013).


P.S. Any comments and additions are welcome.

P.P.S. It is necessary to replace scripts from the slackware-current scripts from the attachment. For automation, you can run a script

Code:
./ALSA-ONLY-tree.build.sh
For new packages, not presented in Slackware Current, you must additionally download the source code. This also applies to the new theme for Mplayer.

P.P.P.S. Some scripts create two packages (the second one with the documentation). If you are used to the traditional "all-in-one" layout, set the SPLIT variable to "no" (in those SlackBuild scripts where this is used).

P.P.P.P.S. Rename ALSA-ONLY-TREE-0.3-beta.tar.lz.txt to ALSA-ONLY-TREE-0.3-beta.tar.lz . ;-)

P.P.P.P.P.S. Full text EFTPL v.1.0:
Code:
#              EXCELLENT FUCKED THE PUBLIC LICENSE.
#                   Version 1.0, March 2018
#
#Copyright (C) 2018 Aleksandr "Ne01eX" Sayfulin <Ne01eX[dog]rambler[dot]ru>
#
#Everyone is permitted to copy and distribute verbatim or modified
#copies of this license document, and changing it is allowed as long
#as the name is changed.
#
#              EXCELLENT FUCKED THE PUBLIC LICENSE.
#  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
# 0. You just DO WHAT THE FUCK YOU WANT TO.
# 1. DON'T FUCK MY BRAIN.
#
Revision info:

0.3-beta "He's Gone":

* Updated section 1.2 (m/celt and m/libilbc are excluded, m/x264 and m/x265 are disabled by default);
* Added section 2.0 (about additional packages);
* Added section 2.1 (links to additional software);
* An important note about the use of ALSA-ONLY-TREE is moved to the Epilogue section.
* Section 2.0.0.0.0 has been renamed to 3.0.0.0.0;
* In the section 3.0.0.0.0, a link to "Grateful Dead - He's Gone" is added. For the soul. :-)
* Updated section P.P.S.

0.2-beta "Hand in Hand":

* Updated 0.3 section (deleted packages: akonadi, attica, automoc4, grantlee);
* Added 0.5 section (d/cmake l/poppler, l/v4l-utils, n/wpa_supplicant and x/scim rebuilded without Qt);
* volumeicon rebuilded with XDG autostart support;
* Many small fixes for:
ap/alsa-utils, ap/flac, ap/madplay, ap/mpg123, ap/normalize, ap/sox;
l/alsa-lib, l/alsa-plugins, l/fluidsynth, l/libao, l/libvisual
xfce/tumbler.
* And... .desktop files for x/scim now speak Russian :-D :-D :-D.

* Officially added section 2.0.0.0.0. For soul. ;-)

0.1-beta "Do not promise!" (orig. "Не зарекайся!"):

* Initial version.

Last edited by Ne01eX; 04-04-2018 at 05:08 PM. Reason: Updated to 0.3-beta.
 
Old 03-27-2018, 05:29 AM   #2
Ne01eX
Member
 
Registered: Mar 2018
Location: Ekaterinburg region, Ural, Russian Federation
Distribution: Slackware, RTK GNU/Linux
Posts: 173

Original Poster
Rep: Reputation: 22
Post

ALSA-only + "де-Qt-изация" into Slackware Linux mini-HOWTO. :-)

Проверено и работает на : Slackware-Current for x86 and x86_64.
Текущая версия : 0.3-beta ru_RU.UTF-8 "He's Gone"
Автор(ы) : Ne01eX.
Дополнение(я) :
Лицензия : Это mini-HOWTO распространяется по лицензии EFTPL v.1.0

Всем привет. Это небольшое HOWTO написано для пользователей, которые используют родную для Linux систему звука ALSA и только её. И это mini-HOWTO не подойдёт пользователям, использующим Qt4 и KDE в Slackware Linux. И так, поехали!

На самом деле вы можете просто удалить некоторые не нужные для работы с ALSA пакеты, тем самым пропустив некоторые шаги. Но я поступил иначе. :-)
И да, - это mini-HOWTO написано для тех, кто знает что делает. :-)

0. Хорошей идеей будет сначала удалить все упоминаемые в тексте пакеты, а также пересобрать ядро с поддержкой только ALSA. Для этого достаточно выключить поддержку OSS в конфигураторе ядра Linux menuconfig.

0.1. Удаляем все пакеты из директорий kde и kdei:

Code:
removepkg amarok
removepkg amor
removepkg analitza
removepkg ark
removepkg artikulate
removepkg audiocd-kio
removepkg baloo
removepkg baloo-widgets
removepkg blinken
removepkg bluedevil
removepkg bomber
removepkg bovo
removepkg calligra
removepkg cantor
removepkg cervisia
removepkg dolphin-plugins
removepkg dragon
removepkg filelight
removepkg granatier
removepkg gwenview
removepkg juk
removepkg k3b
removepkg kaccessible
removepkg kactivities
removepkg kajongg
removepkg kalgebra
removepkg kalzium
removepkg kamera
removepkg kanagram
removepkg kapman
removepkg kapptemplate
removepkg kate
removepkg katomic
removepkg kaudiocreator
removepkg kblackbox
removepkg kblocks
removepkg kbounce
removepkg kbreakout
removepkg kbruch
removepkg kcachegrind
removepkg kcalc
removepkg kcharselect
removepkg kcolorchooser
removepkg kcron
removepkg kdeartwork
removepkg kde-baseapps
removepkg kde-base-artwork
removepkg kdeconnect-kde
removepkg kde-dev-scripts
removepkg kde-dev-utils
removepkg kdegraphics-mobipocket
removepkg kdegraphics-strigi-analyzer
removepkg kdegraphics-thumbnailers
removepkg kdelibs
removepkg kdenetwork-filesharing
removepkg kdenetwork-strigi-analyzers
removepkg kdepim
removepkg kdepimlibs
removepkg kdepim-runtime
removepkg kdeplasma-addons
removepkg kde-runtime
removepkg kdesdk-kioslaves
removepkg kdesdk-strigi-analyzers
removepkg kdesdk-thumbnailers
removepkg kdevelop
removepkg kdevelop-pg-qt
removepkg kdevelop-php
removepkg kdevelop-php-docs
removepkg kdevplatform
removepkg kdev-python
removepkg kde-wallpapers
removepkg kdewebdev
removepkg kde-workspace
removepkg kdf
removepkg kdiamond
removepkg kfilemetadata
removepkg kfloppy
removepkg kfourinline
removepkg kgamma
removepkg kgeography
removepkg kget
removepkg kgoldrunner
removepkg kgpg
removepkg khangman
removepkg kig
removepkg kigo
removepkg killbots
removepkg kio-mtp
removepkg kiriki
removepkg kiten
removepkg kjumpingcube
removepkg klettres
removepkg klickety
removepkg klines
removepkg kmag
removepkg kmahjongg
removepkg kmines
removepkg kmix
removepkg kmousetool
removepkg kmouth
removepkg kmplot
removepkg knavalbattle
removepkg knetwalk
removepkg kolf
removepkg kollision
removepkg kolourpaint
removepkg kompare
removepkg konquest
removepkg konsole
removepkg kopete
removepkg korundum
removepkg kpat
removepkg kplayer
removepkg kppp
removepkg kqtquickcharts
removepkg krdc
removepkg kremotecontrol
removepkg kreversi
removepkg krfb
removepkg kross-interpreters
removepkg kruler
removepkg ksaneplugin
removepkg kscreen
removepkg kshisen
removepkg ksirk
removepkg ksnakeduel
removepkg ksnapshot
removepkg kspaceduel
removepkg ksquares
removepkg kstars
removepkg ksudoku
removepkg ksystemlog
removepkg kteatime
removepkg ktimer
removepkg ktorrent
removepkg ktouch
removepkg ktuberling
removepkg kturtle
removepkg ktux
removepkg kubrick
removepkg kuser
removepkg kwalletmanager
removepkg kwebkitpart
removepkg kwordquiz
removepkg libkcddb
removepkg libkcompactdisc
removepkg libkdcraw
removepkg libkdeedu
removepkg libkdegames
removepkg libkexiv2
removepkg libkipi
removepkg libkmahjongg
removepkg libkomparediff2
removepkg libksane
removepkg libkscreen
removepkg libktorrent
removepkg libmm-qt
removepkg libnm-qt
removepkg lokalize
removepkg lskat
removepkg marble
removepkg mplayerthumbs
removepkg nepomuk-core
removepkg nepomuk-widgets
removepkg okteta
removepkg okular
removepkg oxygen-gtk2
removepkg oxygen-icons
removepkg pairs
removepkg palapeli
removepkg parley
removepkg partitionmanager
removepkg perlkde
removepkg perlqt
removepkg picmi
removepkg plasma-nm
removepkg polkit-kde-agent-1
removepkg polkit-kde-kcmodules-1
removepkg poxml
removepkg print-manager
removepkg pykde4
removepkg qtruby
removepkg rocs
removepkg skanlite
removepkg smokegen
removepkg smokekde
removepkg smokeqt
removepkg step
removepkg superkaramba
removepkg svgpart
removepkg sweeper
removepkg umbrello
removepkg wicd-kde
removepkg zeroconf-ioslave

removepkg calligra*
removepkg kde-l10n*
0.2. Хорошей идеей будет удалить xmms и всё с ней связанное (есть же audacious!):

Code:
removepkg glib
removepkg gst-plugins-base0
removepkg gst-plugins-good0
removepkg gstreamer0
removepkg gtk+
removepkg libvisual-plugins
removepkg xmms
0.3. Продолжаем удалять ненужные пакеты:

Code:
removepkg pamixer
removepkg QScintilla
removepkg PyQt
removepkg alsa-oss
removepkg akonadi
removepkg attica
removepkg audiofile
removepkg automoc4
removepkg esound
removepkg grantlee
removepkg libasyncns
removepkg libcanberra
removepkg libkarma
removepkg phonon
removepkg phonon-gstreamer
removepkg pulseaudio
removepkg qca
removepkg qimageblitz
removepkg qjson
removepkg qt-gstreamer
removepkg qtscriptgenerator
removepkg shared-desktop-onotologies
removepkg soprano
removepkg strigi
removepkg pavucontrol
removepkg xfce4-pulseaudio-plugin
0.4. И, наконец, если вам не нужна сама библиотека Qt, то вы можете удалить и её:

Code:
removepkg qt
0.5 Пересобираем пакаджи без Qt:

d/cmake
l/poppler
l/v4l-utils
n/wpa_supplicant
x/scim

1. Пересобираем пакеты для работы только с ALSA:

1.1. Я начал с этих:

ap/normalize
ap/flac

1.2. На этом этапе вы можете добавить дополнительные пакеты для работы со звуком. Это свободное программное обеспечение, но в некоторых странах оно может дополнительно регулироваться патентами на программное обеспечение. Я добавил эти:

m/gsm
m/libass
m/libavc1394
m/libbluray
m/libdc1394
m/libiec61883
m/libmodplug
m/rtmpdump
m/twolame
# m/x264 # По умолчанию не собирается и не используется
# m/x265 # По умолчанию не собирается и не используется
m/xvidcore

1.3. Продолжаем пересобирать пакеты для работы только с ALSA:

l/ffmpeg
l/alsa-lib # Не забудьте удалить /etc/asound.conf !
l/alsa-plugins
ap/alsa-utils # Не забудьте выключить /etc/rc.d/rc.alsa-oss !
ap/mpg123
l/libao
ap/madplay
xap/fluidsynth
xap/xine-lib
xap/audacious-plugins
xap/MPlayer
ap/sox

1.4. Пересобираем gstreamer и всё с ним связанное:

l/libvisual
l/gstreamer
l/gst-plugins-base
l/gst-plugins-good
l/gst-plugins-libav

1.5. Таже вы можете добавить на данном этапе:

l/gst-plugins-ugly
l/gst-plugins-bad

Но использование этих пакетов также может ограничиваться патентами на программное обеспечение. В свободных странах, например, в России, где пользователи СПО борются за свои права, - нет патентов на программное обеспечение. :-)

1.6. Итак, заканчиваем сборку. На самом деле, единственные пакеты которые теперь используют gstreamer это:

xap/pidgin
xfce/tumbler

Если вам не нужен звук в pidgin, то вы можете пересобрать его без поддержки звука. Для генерации thumbnail можно пересобрать tumbler с поддержкой ffmpeg. Таким образом, вам и Gstreamer будет не нужен и шаги 1.4-1.6 можно будет пропустить полностью. Но я использую GStreamer для этих (и некоторых других) приложений (например, - parole и xfburn). :-)

Важное замечание: Я собираю pidgin без поддержки pidgin-encryption и с поддержкой gnutls вместо mozilla-nss!

2.0 Дополнительное ПО.

Начиная с версии 0.1-beta этого мини-руководства в архиве ALSA-ONLY-TREE была расположена утилита volumeicon.
Это простой регулятор громкости, работающий в системном трее и ничего больше. Эта программа работает одинаково хорошо в любой DE. Для её сборки необходимо скачать исходные коды с официального сайта программы:
Всё остальное для сборки представлено в каталоге xap/volumeicon

Если вы оставили в своей системе GStreamer, то будет неплохой идеей использовать его возможности по максимуму. Особенно, если вы используете в качестве своей DE - XFCE. Для начала, вы можете попробовать универсальный мультимедийный проигрыватель parole (как замену kde/dragon) и утилиту для простой записи дисков (как замену для kde/k3b).

Всё вышеперечисленное я собирал в следующем порядке:

Code:
xap/volumeicon
l/libburn
l/libisofs
xfce-extra/xfburn
xfce-extra/parole
2.1. Ссылки.
xap/volumeicon, l/libburn, l/libisofs, xfce-extra/xfburn, xfce-extra/parole.

Эпилог. Для автоматизации сборки приложений вы можете использовать скрипты из вложения. Там отсутствует процедура удаления KDE и необходимых для этой DE библиотек. Но и разбираться со звуком в KDE теперь тоже необходимо тем, кому это нужно. :-) Я описал лишь свой путь Slackware-воина. :-D

3.0.0.0.0. Чтобы, сука, за душу взяло:

Grateful Dead - He's Gone (Sullivan Stadium, Foxboro, MA 7/2/89);
Unheilig - Hand in Hand (Gipfelstürmer, Deluxe Edition, 2014);
Catharsis - Не зарекайся! (Острова во сне, Single, 2013).

P.S. Приветствуются любые замечания и дополнения.

P.P.S. Необходимо заменить скрипты из slackware-current скриптами из вложения. Для автоматизации можно запустить скрипт

Code:
./ALSA-ONLY-tree.build.sh
Для новых пакетов, не представленных в Slackware Current необходимо дополнительно скачать исходные коды. Это также касается новой темы оформления для Mplayer.

P.P.P.S. Некоторые скрипты создают два пакажда (второй с документацией). Если вы привыкли к традиционной компоновке "всё-в-одном", то установите переменную SPLIT в значение "no" (в тех скриптах SlackBuild, где это используется).

P.P.P.P.S. Не забудьте переименовать ALSA-ONLY-TREE-0.3-beta.tar.lz.txt в ALSA-ONLY-TREE-0.3-beta.tar.lz . ;-)

P.P.P.P.P.S. Full text EFTPL v.1.0:
Code:
#              EXCELLENT FUCKED THE PUBLIC LICENSE.
#                   Version 1.0, March 2018
#
#Copyright (C) 2018 Aleksandr "Ne01eX" Sayfulin <Ne01eX[dog]rambler[dot]ru>
#
#Everyone is permitted to copy and distribute verbatim or modified
#copies of this license document, and changing it is allowed as long
#as the name is changed.
#
#              EXCELLENT FUCKED THE PUBLIC LICENSE.
#  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
# 0. You just DO WHAT THE FUCK YOU WANT TO.
# 1. DON'T FUCK MY BRAIN.
#
История изменений:
0.3-beta "He's Gone":

* Обновлена секция 1.2 (исключены m/celt и m/libilbc, выключены по умолчанию m/x264 и m/x265);
* Добавлена секция 2.0 (про дополнительные пакаджи);
* Добавлена секция 2.1 (ссылки на дополнительно ПО);
* Важное замечание про использование ALSA-ONLY-TREE перенесено в секцию Эпилог.
* Секция 2.0.0.0.0 переименована в 3.0.0.0.0;
* В секции 3.0.0.0.0 добавлена ссылка на "Grateful Dead - He's Gone". Для души. :-)
* Oбновлена секция P.P.S.

0.2-beta "Hand in Hand":

* Обновлена секция 0.3 (удалены пакаджи: akonadi, attica, automoc4, grantlee);
* Добавлена секция 0.5 (d/cmake l/poppler, l/v4l-utils, n/wpa_supplicant и x/scim пересобираются теперь без Qt);
* volumeicon пересобрана с поддержкой автозапуска через XDG autostart;
* Разные небольшие изменения для:
ap/alsa-utils, ap/flac, ap/madplay, ap/mpg123, ap/normalize, ap/sox;
l/alsa-lib, l/alsa-plugins, l/fluidsynth, l/libao, l/libvisual
xfce/tumbler.
* .desktop файлы для x/scim теперь говорят по-русски :-D.
* Официально добавлена секция 2.0.0.0.0. Для души. ;-)

0.1-beta "Не зарекайся!":

* Initial version.

Last edited by Ne01eX; 04-04-2018 at 03:32 PM. Reason: Обновлено до версии 0.3-beta
 
Old 03-27-2018, 05:32 PM   #3
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
This HOWTO is doing more than simply removing ALSA and QT. Just to be clear.

As far as what is needed to remove pulseaudio, section 1.3, the packages I know that need recompile are MPlayer and sox. Some of the packages do not need recompile to go ALSA-only, and probably are being done for other reasons.

When you remove pulseaudio, make sure you comment out the pulseaudio settings in /etc/asound.conf.
 
1 members found this post helpful.
Old 03-28-2018, 03:08 AM   #4
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 297

Rep: Reputation: 16
Quote:
Originally Posted by the3dfxdude View Post
This HOWTO is doing more than simply removing ALSA and QT. Just to be clear.

As far as what is needed to remove pulseaudio, section 1.3, the packages I know that need recompile are MPlayer and sox. Some of the packages do not need recompile to go ALSA-only, and probably are being done for other reasons.

When you remove pulseaudio, make sure you comment out the pulseaudio settings in /etc/asound.conf.
So in your opinion, if a new, clean install is being done, just avoid QT and PulseAudio, then make sure to comment out PulseAudio settings in /etc/asound.conf? I don't normally use MPlayer, but Sox looks like a stumbling block as I have no idea how to recompile for Alsa only use.
 
Old 03-28-2018, 04:41 AM   #5
Ne01eX
Member
 
Registered: Mar 2018
Location: Ekaterinburg region, Ural, Russian Federation
Distribution: Slackware, RTK GNU/Linux
Posts: 173

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by the3dfxdude View Post
This HOWTO is doing more than simply removing ALSA and QT. Just to be clear.

As far as what is needed to remove pulseaudio, section 1.3, the packages I know that need recompile are MPlayer and sox. Some of the packages do not need recompile to go ALSA-only, and probably are being done for other reasons.

When you remove pulseaudio, make sure you comment out the pulseaudio settings in /etc/asound.conf.
Yes, this is the way of the Slackware-warrior. :-) No PulseAudio, no ESD, no OSS. I'm use GNU on Linux and ALSA - it is my one and default sound system. :-)

Quote:
Originally Posted by globetrotterdk View Post
So in your opinion, if a new, clean install is being done, just avoid QT and PulseAudio, then make sure to comment out PulseAudio settings in /etc/asound.conf? I don't normally use MPlayer, but Sox looks like a stumbling block as I have no idea how to recompile for Alsa only use.
See .SlackBuild's from ALSA-ONLY-TREE.tar.lz for more details. :-)
Or add this:

Code:
  --with-coreaudio=no \
  --with-oss=no \
  --with-pulseaudio=no \
  --with-sndio=no \
  --with-sunaudio=no \
  --with-waveaudio=no \
into configure section your sox.SlackBuild

At the moment I have sox assembled with:

Code:
bash-4.4# ldd sox 
	linux-gate.so.1 (0xb7f3f000)
	libsox.so.3 => /usr/lib/libsox.so.3 (0xb7e8b000)
	libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb7e80000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb7e49000)
	libmagic.so.1 => /usr/lib/libmagic.so.1 (0xb7e25000)
	libasound.so.2 => /usr/lib/libasound.so.2 (0xb7d0f000)
	librt.so.1 => /lib/librt.so.1 (0xb7d06000)
	libao.so.4 => /usr/lib/libao.so.4 (0xb7cfc000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb7cdd000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7cd8000)
	libgsm.so.1 => /usr/lib/libgsm.so.1 (0xb7ccb000)
	libmad.so.0 => /usr/lib/libmad.so.0 (0xb7cb5000)
	libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0xb7ca3000)
	libz.so.1 => /lib/libz.so.1 (0xb7c8a000)
	libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7c0f000)
	libtwolame.so.0 => /usr/lib/libtwolame.so.0 (0xb7bed000)
	libopusfile.so.0 => /usr/lib/libopusfile.so.0 (0xb7bdd000)
	libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb7bd4000)
	libwavpack.so.1 => /usr/lib/libwavpack.so.1 (0xb7ba4000)
	libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb7b1c000)
	libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb7aba000)
	libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7a30000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7a06000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0xb79fc000)
	libm.so.6 => /lib/libm.so.6 (0xb78b6000)
	libssp.so.0 => /usr/lib/libssp.so.0 (0xb78b2000)
	libomp.so => /usr/lib/libomp.so (0xb7806000)
	libc.so.6 => /lib/libc.so.6 (0xb7648000)
	/lib/ld-linux.so.2 (0xb7f41000)
	libopus.so.0 => /usr/lib/libopus.so.0 (0xb75ea000)

bash-4.4# ldd libsox.so.3.0.0 
	linux-gate.so.1 (0xb7ef7000)
	libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb7e38000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb7e01000)
	libmagic.so.1 => /usr/lib/libmagic.so.1 (0xb7ddd000)
	libasound.so.2 => /usr/lib/libasound.so.2 (0xb7cc7000)
	librt.so.1 => /lib/librt.so.1 (0xb7cbe000)
	libao.so.4 => /usr/lib/libao.so.4 (0xb7cb4000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb7c95000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7c90000)
	libgsm.so.1 => /usr/lib/libgsm.so.1 (0xb7c83000)
	libmad.so.0 => /usr/lib/libmad.so.0 (0xb7c6d000)
	libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0xb7c5d000)
	libz.so.1 => /lib/libz.so.1 (0xb7c42000)
	libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7bc7000)
	libtwolame.so.0 => /usr/lib/libtwolame.so.0 (0xb7ba5000)
	libopusfile.so.0 => /usr/lib/libopusfile.so.0 (0xb7b95000)
	libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb7b8c000)
	libwavpack.so.1 => /usr/lib/libwavpack.so.1 (0xb7b5c000)
	libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb7ad4000)
	libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb7a72000)
	libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb79e8000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb79be000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0xb79b6000)
	libm.so.6 => /lib/libm.so.6 (0xb786e000)
	libssp.so.0 => /usr/lib/libssp.so.0 (0xb786a000)
	libomp.so => /usr/lib/libomp.so (0xb77be000)
	libc.so.6 => /lib/libc.so.6 (0xb7600000)
	/lib/ld-linux.so.2 (0xb7ef9000)
	libopus.so.0 => /usr/lib/libopus.so.0 (0xb75a2000)
 
Old 03-28-2018, 05:01 AM   #6
kazzan
LQ Newbie
 
Registered: Oct 2010
Distribution: Gentoo Linux, Slackware ARM
Posts: 27

Rep: Reputation: 41
Quote:
Originally Posted by Ne01eX View Post
Full text of WTFPL v.2.1:
Code:
#           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
#                   Version 2.1, March 2018
#
#Copyright (C) 2018 Aleksandr "Ne01eX" Sayfulin <Ne01eX[dog]rambler[dot]ru>
#
#Everyone is permitted to copy and distribute verbatim or modified
#copies of this license document, and changing it is allowed as long
#as the name is changed.
#
#           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
#  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
# 0. You just DO WHAT THE FUCK YOU WANT TO.
# 1. Don't fuck my brain.
#
There is no such thing as the WTFPL v.2.1.
You're actually violating the terms of the WTFPL license.
Sam Hocevar wrote the license and you can modify it if you want, you just cannot call your version the WTFPL.
Please refer to http://www.wtfpl.net/ for more information.
 
4 members found this post helpful.
Old 03-28-2018, 05:06 AM   #7
Ne01eX
Member
 
Registered: Mar 2018
Location: Ekaterinburg region, Ural, Russian Federation
Distribution: Slackware, RTK GNU/Linux
Posts: 173

Original Poster
Rep: Reputation: 22
Lightbulb

Quote:
Originally Posted by the3dfxdude View Post
As far as what is needed to remove pulseaudio, section 1.3, the packages I know that need recompile are MPlayer and sox. Some of the packages do not need recompile to go ALSA-only, and probably are being done for other reasons.
Yes, some packages during assembly support dependency tracking, via requirebuilder.
Some packages are reassembled only for division into package and package-doc.
If you do not need it, you can comment this into _alsaonly_tree.inc.
And... a good idea is to always check whether everything works for you, even if you are 100% sure of it. Always.
 
Old 03-28-2018, 05:11 AM   #8
Ne01eX
Member
 
Registered: Mar 2018
Location: Ekaterinburg region, Ural, Russian Federation
Distribution: Slackware, RTK GNU/Linux
Posts: 173

Original Poster
Rep: Reputation: 22
Cool

Quote:
Originally Posted by kazzan View Post
There is no such thing as the WTFPL v.2.1.
You're actually violating the terms of the WTFPL license.
Sam Hocevar wrote the license and you can modify it if you want, you just cannot call your version the WTFPL.
Please refer to http://www.wtfpl.net/ for more information.
Why can not I? I can!
 
Old 03-28-2018, 09:06 AM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Ne01eX View Post
Why can not I? I can!
No, you can't
Quote:
Originally Posted by WTFPL
Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.
 
4 members found this post helpful.
Old 03-28-2018, 09:37 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
He can, but he may not.
 
3 members found this post helpful.
Old 03-28-2018, 10:45 AM   #11
Ne01eX
Member
 
Registered: Mar 2018
Location: Ekaterinburg region, Ural, Russian Federation
Distribution: Slackware, RTK GNU/Linux
Posts: 173

Original Poster
Rep: Reputation: 22
Ok. Redistributed.


https://www.youtube.com/watch?v=x-CkNX-qhgg
 
Old 03-28-2018, 03:44 PM   #12
giomat
Member
 
Registered: Jul 2017
Posts: 337

Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
Originally Posted by Ne01eX View Post
But the use of these packages can also be limited to software patents. In free countries, for example, in Russia, where users of Free Software are fighting for their rights, there are no software patents. :-)
I had a good laugh, but these patents issues really makes me angry. Happy to see that Russia still maintains some of the sane socialist traditions.
 
2 members found this post helpful.
Old 03-28-2018, 08:38 PM   #13
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Unhappy

Quote:
Originally Posted by giomat View Post
I had a good laugh, but these patents issues really makes me angry. Happy to see that Russia still maintains some of the sane socialist traditions.
I come here to get away from political shit.
 
1 members found this post helpful.
Old 03-29-2018, 01:20 AM   #14
giomat
Member
 
Registered: Jul 2017
Posts: 337

Rep: Reputation: 238Reputation: 238Reputation: 238
Sorry for bothering you Richard
 
Old 03-30-2018, 04:19 AM   #15
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by Richard Cranium View Post
I come here to get away from political shit.
How's that working out for ya?
 
  


Reply

Tags
alsa, kde, qt



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware maintainer howto:"Linux kernel options for UEFI and ELILO" wirelessmc Slackware - Installation 15 12-28-2018 04:24 AM
K3b: - Howto re-dock "Directories" and "Contents" windows back into the main window? hagies Linux - Software 4 04-26-2006 08:38 AM
"Anaconda" and "mini-wm" lost connection to display :1.0;??? cbrittain Fedora - Installation 2 03-14-2004 11:22 AM
"Anaconda" and "mini-wm" lost connection to display :1.0;??? cbrittain Linux - General 0 02-24-2004 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration