speex: fix FILES variables
PATCH 1/1 speex: fix FILES variables
actually FILES_${PN} and FILES_${PN}-dev match the same files. these files are supposed to go into ${PN} so remove the other entry.
--- meta/recipes-multimedia/speex/speex_1.2rc1.bb | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
meta/recipes-multimedia/speex/speex_1.2rc1.bb +1 -2
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8 \ file://include/speex/speex.h;beginline=1;endline=34;md5=a68129f78d7fe66e07163f73aba143b3" DEPENDS = "libogg" -PR = "r0" +PR = "r1" SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz"
@@ -24,5 +24,4 @@ EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ PACKAGES += "${PN}-bin" FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${libdir}/lib*.so.*" FILES_${PN}-bin = "${bindir}"
Signature · 1 line
1.7.7.6
Quoted 22 lines · Eric Bénard
actually FILES_${PN} and FILES_${PN}-dev match the same files. these files are supposed to go into ${PN} so remove the other entry.
Signed-off-by Eric Bénard <[email protected]>--- meta/recipes-multimedia/speex/speex_1.2rc1.bb | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)meta/recipes-multimedia/speex/speex_1.2rc1.bb +1
-1@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8 \ file://include/speex/speex.h;beginline=1;endline=34;md5=a68129f78d7fe66e07163f73aba143b3" DEPENDS = "libogg" -PR = "r0" +PR = "r1" SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz"
meta/recipes-multimedia/speex/speex_1.2rc1.bb EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ · line 27
Quoted 5 lines
meta/recipes-multimedia/speex/speex_1.2rc1.bb +0
-1@@ -24,5 +24,4 @@ EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ PACKAGES += "${PN}-bin" FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${libdir}/lib*.so.*" FILES_${PN}-bin = "${bindir}"
Doesn't this mean -dev files are ending up in the main package?
Shouldn't this be:
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
FILES_${PN}-dev = "${libdir}/lib*${SOLIBSDEV}"
or better, remove these and add:
inherit lib_package
?
Cheers,
Richard
Quoted 10 lines · Richard Purdie
meta/recipes-multimedia/speex/speex_1.2rc1.bb EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ · line 27
Quoted 6 lines · Eric Bénard
meta/recipes-multimedia/speex/speex_1.2rc1.bb +0
-1@@ -24,5 +24,4 @@ EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ PACKAGES += "${PN}-bin" FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${libdir}/lib*.so.*" FILES_${PN}-bin = "${bindir}"Doesn't this mean -dev files are ending up in the main package?
this seems to work fine as this (with no other layer than oe-core).
packages-split/speex
`-- usr
`-- lib
|-- libspeexdsp.so.1 -> libspeexdsp.so.1.5.0
|-- libspeexdsp.so.1.5.0
|-- libspeex.so.1 -> libspeex.so.1.5.0
`-- libspeex.so.1.5.02 directories, 4 files
packages-split/speex-dev/
.../...
|-- lib
| |-- libspeexdsp.la
| |-- libspeexdsp.so -> libspeexdsp.so.1.5.0
| |-- libspeex.la
| |-- libspeex.so -> libspeex.so.1.5.0
| `-- pkgconfig
| |-- speexdsp.pc
| `-- speex.pc.../...
Quoted 11 lines
Shouldn't this be:
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
FILES_${PN}-dev = "${libdir}/lib*${SOLIBSDEV}"or better, remove these and add:
inherit
lib_package?
no clear idea on that, you are the boss to tell me which one you prefer ;-)
Eric
Signature · 1 line
http://eukrea.com/en/news/104-2012
Quoted 42 lines · Eric Bénard
Quoted 10 lines · Richard Purdie
meta/recipes-multimedia/speex/speex_1.2rc1.bb EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ · line 27
Quoted 6 lines · Eric Bénard
meta/recipes-multimedia/speex/speex_1.2rc1.bb +0
-1@@ -24,5 +24,4 @@ EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ PACKAGES += "${PN}-bin" FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${libdir}/lib*.so.*" FILES_${PN}-bin = "${bindir}"Doesn't this mean -dev files are ending up in the main package?
this seems to work fine as this (with no other layer than oe-core).
packages-split/speex
`-- usr`-- lib |-- libspeexdsp.so.1 -> libspeexdsp.so.1.5.0 |-- libspeexdsp.so.1.5.0 |-- libspeex.so.1 -> libspeex.so.1.5.0 `-- libspeex.so.1.5.02 directories, 4 files
packages-split/speex-dev/
.../...|-- lib | |-- libspeexdsp.la | |-- libspeexdsp.so -> libspeexdsp.so.1.5.0 | |-- libspeex.la | |-- libspeex.so -> libspeex.so.1.5.0 | `-- pkgconfig | |-- speexdsp.pc | `-- speex.pc.../...
Quoted 5 lines
Shouldn't this be:
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
FILES_${PN}-dev = "${libdir}/lib*${SOLIBSDEV}"
Quoted 8 lines
Quoted 6 lines
or better, remove these and add:
inherit
lib_package?
no clear idea on that, you are the boss to tell me which one you prefer ;-)
Well, I think "inherit lib_package" is going to be cleanest. Your original patch is correct in its own right though, this just gives some better cleanup :)
Cheers,
Richard
Saul Wold
AppliedQuoted 22 lines · Eric Bénard
actually FILES_${PN} and FILES_${PN}-dev match the same files. these files are supposed to go into ${PN} so remove the other entry.
Signed-off-by Eric Bénard<[email protected]>--- meta/recipes-multimedia/speex/speex_1.2rc1.bb | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)meta/recipes-multimedia/speex/speex_1.2rc1.bb +1
-1@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8 \ file://include/speex/speex.h;beginline=1;endline=34;md5=a68129f78d7fe66e07163f73aba143b3" DEPENDS = "libogg" -PR = "r0" +PR = "r1" SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz"
meta/recipes-multimedia/speex/speex_1.2rc1.bb EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ · line 27
Quoted 5 lines
meta/recipes-multimedia/speex/speex_1.2rc1.bb +0
-1@@ -24,5 +24,4 @@ EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ PACKAGES += "${PN}-bin" FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${libdir}/lib*.so.*" FILES_${PN}-bin = "${bindir}"
Merged into OE-Core
Thanks
Sau!
Hi Saul,
Quoted 22 lines · Saul Wold
Quoted 21 lines · Eric Bénard
actually FILES_${PN} and FILES_${PN}-dev match the same files. these files are supposed to go into ${PN} so remove the other entry.
Signed-off-by Eric Bénard<[email protected]>--- meta/recipes-multimedia/speex/speex_1.2rc1.bb | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)meta/recipes-multimedia/speex/speex_1.2rc1.bb +1
-1@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8 \ file://include/speex/speex.h;beginline=1;endline=34;md5=a68129f78d7fe66e07163f73aba143b3" DEPENDS = "libogg" -PR = "r0" +PR = "r1" SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz"
Quoted 9 lines
meta/recipes-multimedia/speex/speex_1.2rc1.bb EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ · line 27
Quoted 6 lines
meta/recipes-multimedia/speex/speex_1.2rc1.bb +0
-1@@ -24,5 +24,4 @@ EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ PACKAGES += "${PN}-bin" FILES_${PN} = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${libdir}/lib*.so.*" FILES_${PN}-bin = "${bindir}"Merged into OE-Core
it was already applied as 4fc0f65e7d6e6fc6775a9a7e54510b629c9786d9
Eric
Quoted 37 lines · On Wednesday 04 April 2012 10:29:01 Eric Bénard wrote:
Hi Saul,
Le Tue, 03 Apr 2012 13:50:37 -0700,
Quoted 32 lines · Saul Wold
Quoted 31 lines · Eric Bénard
actually FILES_${PN} and FILES_${PN}-dev match the same files. these files are supposed to go into ${PN} so remove the other entry.
Signed-off-by Eric Bénard<[email protected]>---
meta/recipes-multimedia/speex/speex_1.2rc1.bb | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)(quoted diff) +0
-0b/meta/recipes-multimedia/speex/speex_1.2rc1.bb index fe46a00..7370134 100644
meta/recipes-multimedia/speex/speex_1.2rc1.bb +0
-0@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8 \> >
file://include/speex/speex.h;beginline=1;endline=3 4;md5=a68129f78d7fe66e07163f73aba143b3"> >DEPENDS = "libogg"
meta/recipes-multimedia/speex/speex_1.2rc1.bb +1
-2-PR = "r0" +PR = "r1" SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz"@@ -24,5 +24,4 @@ EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \> > PACKAGES += "${PN}-bin" FILES_${PN} = "${libdir}/lib*.so.*"
Quoted 7 lines
Quoted 5 lines
meta/recipes-multimedia/speex/speex_1.2rc1.bb EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ · line 27
Quoted 3 lines
meta/recipes-multimedia/speex/speex_1.2rc1.bb +0
-1-FILES_${PN}-dev += "${libdir}/lib*.so.*" FILES_${PN}-bin = "${bindir}"Merged into OE-Core
it was already applied as
4fc0f65e7d6e6fc6775a9a7e54510b629c9786d9
Saul's just catching up on the merge replies, so he's referring to that commit.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre