summaryrefslogtreecommitdiffstats
path: root/package/alsa-utils/Config.in
Commit message (Collapse)AuthorAgeFilesLines
* ncurses: remove BR2_PACKAGE_NCURSES_TARGET_{FORM, MENU, PANEL} optionsThomas Petazzoni2017-02-261-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ncurses sub-options BR2_PACKAGE_NCURSES_TARGET_{FORM,MENU,PANEL} are currently very badly broken: they only control whether the libform, libmenu and libpanel libraries are installed in $(TARGET_DIR), but do absolutely nothing about their installation in $(STAGING_DIR). This means that when one of those options is disabled, the corresponding library is indeed not installed in the target, but is available in staging. It can therefore be detected by the configure script of another package and used... even though the library will not be in the target, causing a runtime failure. Internally, ncurses.mk uses the "make install" logic of ncurses for the staging installation, but uses a completely hand-written logic for the target installation, which is the reason for this desynchronization between what's installed in staging and target. When BR2_PACKAGE_NCURSES_WCHAR=y, this also causes some build failures. Indeed, when BR2_PACKAGE_NCURSES_WCHAR=y, Buildroot creates some symbolic links lib<foo>.so -> lib<foo>w.so in staging and target, but only for the lib<foo> that have been enabled by BR2_PACKAGE_NCURSES_TARGET_{FORM,MENU,PANEL}. Due to this, a package that for example needed the libmenu library but forgot to select BR2_PACKAGE_NCURSES_TARGET_MENU was: - Building fine with BR2_PACKAGE_NCURSES_WCHAR disabled (because libmenu.so exists in staging), but would fail to run at runtime because libmenu.so is not in the target. - Fail to build with BR2_PACKAGE_NCURSES_WCHAR=y because only libmenuw.so exists, and not the libmenu.so symbolic link. Since those libraries are small (43K for libform, 21K for libmenu and 8.2K for libpanel), this commit takes the very simple approach of removing those options, and installing the libraries unconditionally. It therefore uses the "make install" logic for both the staging *and* target installation. In detail, this commit: - Removes the NCURSES_PROGS variable, not needed since --without-progs already allows to disable the build and installation of programs. - Removes the NCURSES_LIBS-y variable, and replaces it with a single unconditional assignement to NCURSES_LIBS, only used to create the lib<foo>w.so -> lib<foo>.so symbolic links when wchar support is enabled. - Removes NCURSES_INSTALL_TARGET_CMDS and the functions it was calling: NCURSES_INSTALL_TARGET_LIBS and NCURSES_INSTALL_TARGET_PROGS. - Adds a NCURSES_TARGET_SYMLINK_RESET hook to create the reset -> tset symbolic link, as was done before. - Adds a NCURSES_TARGET_CLEANUP_TERMINFO to cleanup the terminfo files in the target, so that we stay in the same situation in terms of installed terminfo files. - Removes the BR2_PACKAGE_NCURSES_TARGET_{FORM,MENU,PANEL} options from the Config.in files: both their definition and usage. - Simplifies all the symlink dance for lib<foo> -> lib<foo>w, because as Yann E. Morin suggested, this dance is only needed in staging, not in the target. Once binaries have been built, they refer to the SONAME of the library, which is the lib<foo>w variant (for shared linking). For static linking and .pc files, it's obvious that we don't care about them on the target. Therefore the NCURSES_LINK_LIBS_STATIC, NCURSES_LINK_LIBS_SHARED and NCURSES_LINK_PC functions no longer take any argument: they always apply to STAGING_DIR only. NCURSES_LINK_TARGET_LIBS is removed. It is worth mentioning that adding Config.in.legacy support is *NOT* necessary. Indeed: - If they were disabled before this patch, having them in Config.in.legacy would not trigger the legacy warning. - If they were enabled before this patch, then the behavior is unchanged: all libraries are now unconditionally installed. So there is no point in warning the user. We double-checked the installed size of a filesystem containing just ncurses before and after this patch, and the only folder that has its size changed is /usr/lib, growing from 852 KB to 932 KB in the wchar enabled case. That's a 80 KB system size increase. This commit fixes the sngrep build failure and potentially numerous runtime issues with ncurses. Fixes: http://autobuild.buildroot.net/results/7b5db21a6c568e6c6c8fe2b5d5a2f5ca24df510c/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/alsa-utils: use 'menuconfig' instead of 'config'+'menu'Yann E. MORIN2016-01-191-4/+1
| | | | | | | | Drop the now useless comment. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/alsa-utils: Add option for alsaloop utilBernd Kuhls2016-01-181-0/+3
| | | | | | | | | Add libsamplerate as optional dependency, see alsa-utils-1.1.0/alsaloop/Makefile.am [Peter: move libsamplerate dependency outside alsaloop conditional] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* alsa-utils: allow installing the new alsatplg toolThomas Petazzoni2016-01-161-0/+3
| | | | | | | Since we now depend on !BR2_STATIC_LIBS to be able to build the alsatplg tool, it makes sense to provide an option to install it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* alsa-utils: re-order sub-options to use alphabetic orderingThomas Petazzoni2016-01-161-15/+15
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* alsa-utils: put 'select' after 'bool'Thomas Petazzoni2016-01-161-11/+11
| | | | | | | | | In the definitions of the alsa-utils sub-options, the 'select' were before the 'bool', which is unusual and does not follow how we do things in general in Buildroot. This commit fixes that for all alsa-utils suboptions. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* alsa-utils: needs dynamic library supportThomas Petazzoni2016-01-161-2/+3
| | | | | | | | | | | | | Since recent bumps of alsa-lib and alsa-utils, alsa-lib installs <alsa/topology.h>, which alsa-utils uses to build an alsatplg program which requires <dlfcn.h>. Therefore, alsa-utils now needs dynamic library support. Fixes: http://autobuild.buildroot.net/results/7ba954e03822d758e25356935b0dfc2c91d3712a/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* alsa-utils: bump to version 1.1.0Gustavo Zacarias2015-11-111-0/+4
| | | | | | | Also add BAT (Basic Audio Testing) tool option. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* alsa-utils: amidi option needs seq support in alsa-libPeter Korsgaard2015-05-151-0/+1
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/5347b57d23b44e1b011a499875ce638ed654418a/ Otherwise the rawmidi_virt.c file doesn't get built, breaking static linking. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* alsa-utils: add option to install alsaucmPeter Korsgaard2015-04-211-0/+3
| | | | | | alsaucm is the alsa use case manager configuration tool. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* alsa-utils: fix linking with intlVicente Olivert Riera2014-11-111-0/+1
| | | | | | | | | | | | | | | | | | | | alsa-utils needs to link with intl if the toolchain needs gettext and locale is set. Otherwise we will see an error like this one: alsamixer-cli.o: In function `main': cli.c:(.text.startup+0x4d): undefined reference to `libintl_textdomain' cli.c:(.text.startup+0xc1): undefined reference to `libintl_gettext' cli.c:(.text.startup+0xd5): undefined reference to `libintl_gettext' cli.c:(.text.startup+0xe9): undefined reference to `libintl_gettext' cli.c:(.text.startup+0x1fd): undefined reference to `libintl_gettext' cli.c:(.text.startup+0x223): undefined reference to `libintl_gettext' Fixes: http://autobuild.buildroot.net/results/707/707016a2490fc97b98d17e2b6a9c6423a56bb4a9/ [Peter: correct autobuilder reference] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* alsa-utils/Config.in: move comment to top, to fix nesting of config optionsThomas De Schampheleire2014-02-231-4/+4
| | | | | | | | | To allow proper nesting of suboptions of a package, the suboptions should come directly after the main option, and cannot be interleaved with a comment. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* alsa-utils: disable on no-mmu platforms (fork)Thomas De Schampheleire2014-02-231-0/+2
| | | | | | | | | | | | | alsa-utils uses fork which is not available on targets without MMU support. It seems to be possible to replace fork with vfork in alsa-utils, but we do not like to carry such patches in buildroot without them being accepted upstream. Fixes http://autobuild.buildroot.org/results/9f8/9f8e572c9f1c677155cc7d1828371bcf572ff878 Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the empty trailing line(s)Jerzy Grzegorek2014-01-041-1/+0
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-2/+2
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Remove multimedia subdirectoryJérôme Pouiller2013-09-081-0/+81
| | | | | | | | | | | Unless it was a group of sub-packages, packages was never regrouped by category. multimedia/ was an exception to this rule. This patch move packages/multimedia/ sub-directories to packages/. It keeps two subdirectories for gstream 0.10 and gstreamer 1.X. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* audio: Move all audio packages into audio subdirDaniel Laird2008-09-051-77/+0
| | | | | | | | Moved all audio packages into a subdir called audio. I then created a Config.in and made sure that a audio.mk existed. Daniel Laird
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-13/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* aplay depends on BR2_LARGEFILE supportIvan Kuten2007-11-291-0/+1
|
* Explain alsa-utils dependency on ncursesUlf Samuelsson2007-10-311-0/+4
|
* Add alsa-utils packageUlf Samuelsson2007-07-231-0/+85
OpenPOWER on IntegriCloud