alsa-tools: Fix recipe build error
Hi Saul,
This pull request fixes the alsa-tools recipe build error. Please help to review and pull.
[YOCTO #1038]
Thanks,
Dongxiao
The following changes since commit 2c79c9eb7ef8ef0aef8c3096c3c4387e28e56ea2:
pulseaudio: add 0.9.23 (2011-07-07 13:45:32 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/alsa-tools
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/alsa-tools
Dongxiao Xu (2):
fltk: add this recipe for alsa-tools build
alsa-tools: Fix recipe build error.
.../alsa/alsa-tools-1.0.24.1/autotools.patch | 31 ++++++++++++++++ .../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb | 16 +++++++-- .../fltk/fltk-1.1.10/disable_test.patch | 18 +++++++++ meta/recipes-multimedia/fltk/fltk_1.1.10.bb | 38 ++++++++++++++++++++ 4 files changed, 100 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch create mode 100644 meta/recipes-multimedia/fltk/fltk-1.1.10/disable_test.patch create mode 100644 meta/recipes-multimedia/fltk/fltk_1.1.10.bb
PATCH 1/2 fltk: add this recipe for alsa-tools build
alsa-tools has dependency on fltk.
Import this recipe from open-embedded.
--- .../fltk/fltk-1.1.10/disable_test.patch | 18 +++++++++ meta/recipes-multimedia/fltk/fltk_1.1.10.bb | 38 ++++++++++++++++++++ 2 files changed, 56 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-multimedia/fltk/fltk-1.1.10/disable_test.patch create mode 100644 meta/recipes-multimedia/fltk/fltk_1.1.10.bb
meta/recipes-multimedia/fltk/fltk-1.1.10/disable_test.patch new file +18 -0
@@ -0,0 +1,18 @@ +Disable the test component. +Derived from OE. + +Upstream-Status: Inappropriate [configuration] + +Index: fltk-1.1.9/Makefile +=================================================================== +--- fltk-1.1.9.orig/Makefile 2008-06-06 16:14:11.936736201 +0200 ++++ fltk-1.1.9/Makefile 2008-06-06 16:14:22.526357637 +0200 +@@ -27,7 +27,7 @@ + + include makeinclude + +-DIRS = $(IMAGEDIRS) src fluid test documentation ++DIRS = $(IMAGEDIRS) src fluid documentation + + all: makeinclude fltk-config + for dir in $(DIRS); do\
meta/recipes-multimedia/fltk/fltk_1.1.10.bb new file +38 -0
@@ -0,0 +1,38 @@ +DESCRIPTION = "FLTK is a cross-platform C++ GUI toolkit" +HOMEPAGE = "http://www.fltk.org" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" +LIC_FILES_CHKSUM = "file://COPYING;md5=1c0b73db66884b6a925e727400315130" + +PR = "r0" + +SRC_URI = "http://ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2 \ + file://disable_test.patch \ + " + +S = "${WORKDIR}/fltk-${PV}" + +inherit lib_package autotools binconfig + +TARGET_CC_ARCH += "${LDFLAGS} -DXFT_MAJOR=2" + +EXTRA_OECONF = "--enable-shared \ + --enable-threads \ + --enable-xdbe --enable-xft --enable-gl \ + --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}" + +do_configure() { + oe_runconf +} + +python populate_packages_prepend () { + if (bb.data.getVar('DEBIAN_NAMES', d, 1)): + bb.data.setVar('PKG_${PN}', 'libfltk${PV}', d) +} + +LEAD_SONAME = "libfltk.so" + +SRC_URI[md5sum] = "a1765594bc427ff892e36089fe1fa672" +SRC_URI[sha256sum] = "37ada22bf2586b8dd30d84209b8b58bdcb864627e5d02ae3f2c323a29261b19a"
Signature · 1 line
1.7.1
PATCH 2/2 alsa-tools: Fix recipe build error.
In reply to Dongxiao Xu1. Fix the autoreconf error with gtk2 and alsa.
2. Add libtool sysroot path while configuration.
3. Remove one element in alsa-tools which depends on qt2.
[YOCTO #1038]
--- .../alsa/alsa-tools-1.0.24.1/autotools.patch | 31 ++++++++++++++++++++ .../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb | 16 ++++++++-- 2 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch
meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch new file +31 -0
@@ -0,0 +1,31 @@ +Add aclocal path to the autoreconf command. +Remove qlo10k1 element which depends on qt2. + +Signed-off-by: Dongxiao Xu <[email protected]> + +Upstream-Status: Inappropriate [configuration] + +diff -ruN alsa-tools-1.0.24.1-orig//ld10k1/gitcompile alsa-tools-1.0.24.1/ld10k1/gitcompile +--- alsa-tools-1.0.24.1-orig//ld10k1/gitcompile 2011-07-06 11:27:40.227665002 +0800 ++++ alsa-tools-1.0.24.1/ld10k1/gitcompile 2011-07-08 09:49:11.177665001 +0800 +@@ -1,6 +1,6 @@ + #!/bin/bash + +-autoreconf -fi || exit 1 ++autoreconf -fi $ACLOCAL_FLAGS || exit 1 + export CFLAGS='-O2 -Wall -pipe -g' + echo "CFLAGS=$CFLAGS" + echo "./configure $@" +diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile +--- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800 ++++ alsa-tools-1.0.24.1/Makefile 2011-07-08 09:48:39.157665001 +0800 +@@ -2,8 +2,7 @@ + TOP = . + SUBDIRS = ac3dec as10k1 envy24control hdsploader hdspconf hdspmixer \ + mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \ +- us428control usx2yloader vxloader echomixer ld10k1 qlo10k1 \ +- hwmixvolume ++ us428control usx2yloader vxloader echomixer ld10k1 hwmixvolume + + all: + @for i in $(SUBDIRS); do \
meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb +13 -3
@@ -3,15 +3,25 @@ BROKEN = "1" DESCRIPTION = "Alsa Tools" SECTION = "console/utils" LICENSE = "GPLv2" -DEPENDS = "alsa-lib ncurses" +DEPENDS = "alsa-lib ncurses gtk+ fltk" -PR = "r1" +PR = "r2" LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2" +SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \ + file://autotools.patch" SRC_URI[md5sum] = "08fe93a12006093e590d7ecc02b119dd" SRC_URI[sha256sum] = "17d43de93ab2db98886d89a53e45341daa46a4ef6edd405db87f4b5a5dc64a05" inherit autotools + +do_compile_prepend() { + subdirs="envy24control rmedigicontrol echomixer" + for i in $subdirs; do + mv ${S}/${i}/aclocal.m4 ${S}/${i}/acinclude.m4 + done +} + +EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} --target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST}' ACLOCAL_FLAGS='-I ${STAGING_DATADIR}/aclocal'"
Signature · 1 line
1.7.1
Quoted 14 lines · Dongxiao Xu
Hi Saul,
This pull request fixes the alsa-tools recipe build error. Please help to review and pull.
[YOCTO #1038]
Thanks,
DongxiaoThe following changes since commit
2c79c9eb7ef8ef0aef8c3096c3c4387e28e56ea2:pulseaudio: add 0.9.23 (2011-07-07 13:45:32 +0100)
Quoted 7 lines
are available in the git repository at:
git://git.pokylinux.org/poky-contribdxu4/alsa-tools
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/alsa-toolsDongxiao Xu (2):
fltk: add this recipe for alsa-tools build
alsa-tools: Fix recipe build error.
I'd like to understand whether we need gtk and fltk tools from alsa-tools at this point in time?
Could we just disable those?
Cheers,
Richard
Hi Richard,
Quoted 29 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Richard Purdie
Sent: Friday, July 08, 2011 11:45 PM
To: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH 0/2][PULL] alsa-tools: Fix recipe build errorQuoted 11 lines · Dongxiao Xu
Hi Saul,
This pull request fixes the alsa-tools recipe build error. Please help to review and pull.
[YOCTO #1038]
Thanks,
DongxiaoThe following changes since commit
2c79c9eb7ef8ef0aef8c3096c3c4387e28e56ea2:Quoted 8 lines
pulseaudio: add 0.9.23 (2011-07-07 13:45:32 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contribdxu4/alsa-toolshttp://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/alsa-tools
Quoted 8 lines
Quoted 3 lines
Dongxiao Xu (2):
fltk: add this recipe for alsa-tools build
alsa-tools: Fix recipe build error.I'd like to understand whether we need gtk and fltk tools from alsa-tools at this point in time?
Could we just disable those?
I added those dependencies in since alsa-tools is not in our reference images (sato, sato-sdk, etc.), and it may not impact our daily builds.
Actually alsa-tools is a set of subprojects, we can disable certain sub-projects in alsa-tools to avoid including gtk and fltk.
Thanks,
Dongxiao
Quoted 10 lines
Cheers,
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 35 lines · Dongxiao
Hi Richard,
Quoted 33 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Richard Purdie
Sent: Friday, July 08, 2011 11:45 PM
To: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH 0/2][PULL] alsa-tools: Fix recipe build errorQuoted 11 lines · Dongxiao Xu
Hi Saul,
This pull request fixes the alsa-tools recipe build error. Please help to review and pull.
[YOCTO #1038]
Thanks,
DongxiaoThe following changes since commit
2c79c9eb7ef8ef0aef8c3096c3c4387e28e56ea2:Quoted 11 lines
pulseaudio: add 0.9.23 (2011-07-07 13:45:32 +0100)are available in the git repository at:
git://git.pokylinux.org/poky-contribdxu4/alsa-toolshttp://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/alsa-tools
Dongxiao Xu (2):
fltk: add this recipe for alsa-tools build
alsa-tools: Fix recipe build error.
Quoted 9 lines
Quoted 4 lines
I'd like to understand whether we need gtk and fltk tools from alsa-tools at this point in time?
Could we just disable those?
I added those dependencies in since alsa-tools is not in our reference images (sato, sato-sdk, etc.), and it may not impact our daily builds.
Actually alsa-tools is a set of subprojects, we can disable certain sub-projects in alsa-tools to avoid including gtk and fltk.
Which subprojects would you need to disable, there are others that use alsa-tools which is why it's in core.
Sau!
Quoted 19 lines
Thanks,
DongxiaoQuoted 10 lines
Cheers,
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core