* [PATCH 0/2] qmmp: update to 2.8.5
@ 2011-11-07 11:57 Xiaofeng Yan
2011-11-07 11:57 ` [PATCH 1/2] qmmp: update to 0.5.2 Xiaofeng Yan
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Xiaofeng Yan @ 2011-11-07 11:57 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Hi Saul,
I make some changes to qmmp_0.5.2.bb according to koen's suggestion.
Please check it again.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/qmmp
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/qmmp
Thanks,
Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
Xiaofeng Yan (2):
qmmp: update to 0.5.2
distro_tracking_fields.inc: Modify the status of qmmp
.../conf/distro/include/distro_tracking_fields.inc | 8 ++-
meta/recipes-qt/qt-apps/qmmp_0.5.1.bb | 47 -----------------
meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 54 ++++++++++++++++++++
3 files changed, 60 insertions(+), 49 deletions(-)
delete mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.1.bb
create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb
^ permalink raw reply [flat|nested] 15+ messages in thread* [PATCH 1/2] qmmp: update to 0.5.2 2011-11-07 11:57 [PATCH 0/2] qmmp: update to 2.8.5 Xiaofeng Yan @ 2011-11-07 11:57 ` Xiaofeng Yan 2011-11-07 11:58 ` Koen Kooi 2011-11-07 11:57 ` [PATCH 2/2] distro_tracking_fields.inc: Modify the status of qmmp Xiaofeng Yan 2011-11-08 23:01 ` [PATCH 0/2] qmmp: update to 2.8.5 Saul Wold 2 siblings, 1 reply; 15+ messages in thread From: Xiaofeng Yan @ 2011-11-07 11:57 UTC (permalink / raw) To: openembedded-core From: Xiaofeng Yan <xiaofeng.yan@windriver.com> qmmp: remove old recipe and add new recipe Use do_split_package for each grouping and name them correctly besides updating package. The format to name plugins of qmmp: qmmp-plugin-<group>-<library> with the Description: Qmmp<Group> plugin for %s" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> --- meta/recipes-qt/qt-apps/qmmp_0.5.1.bb | 47 ---------------------------- meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 54 +++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 47 deletions(-) delete mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.1.bb create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.1.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.1.bb deleted file mode 100644 index 948c32a..0000000 --- a/meta/recipes-qt/qt-apps/qmmp_0.5.1.bb +++ /dev/null @@ -1,47 +0,0 @@ -DESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" -HOMEPAGE = "http://qmmp.ylsoftware.com" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" -SECTION = "multimedia" - -PR = "r0" - -DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib" -RDEPENDS_${PN} += "taglib alsa-lib curl" - -SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" - -SRC_URI[md5sum] = "7934c069256bf2fc4ab762ad2683db2f" -SRC_URI[sha256sum] = "16ab0334f368a5ef14d631a1d43d7cae876ee06b7185643377b5e9cfd6143099" - - -PARALLEL_MAKE = "" - -inherit qmake2 cmake - -export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ - -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ - -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ - -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ - -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ - -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ - -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ - -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ - " - -FILES_${PN} = "${bindir}/qmmp ${libdir}/*.so* \ - ${libdir}/qmmp/PlaylistFormats/*.so \ - ${libdir}/qmmp/Output/libalsa.so \ - ${libdir}/qmmp/Transports/libhttp.so \ - ${libdir}/qmmp/Visual/libanalyzer.so \ - ${datadir}/icons/* \ - ${datadir}/qmmp/images/* \ - ${datadir}/applications/qmmp.desktop \ - " - -PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis" - -FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" -RDEPENDS_${PN}-plugin-input-mad = "libmad" -FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" -RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb new file mode 100644 index 0000000..035b50f --- /dev/null +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb @@ -0,0 +1,54 @@ +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" +HOMEPAGE = "http://qmmp.ylsoftware.com" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" +SECTION = "multimedia" + +PR = "r0" + +DEPENDS = "taglib libmad libvorbis libogg alsa-lib" +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" + +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" + +SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6" +SRC_URI[sha256sum] = "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec" + + +inherit qmake2 cmake qt4x11 + +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ + " +PACKAGES_DYNAMIC = "qmmp-plugin-* " + + +python populate_packages_prepend () { + import os + qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) + gd = bb.data.expand('${D}/${libdir}/qmmp', d) + plug_dirs = os.listdir(gd) + + for plug_dir in plug_dirs: + g_plug_dir = os.path.join(qmmp_libdir,plug_dir) + do_split_packages(d, g_plug_dir, '^lib(.*)\.so$', 'qmmp-plugin-' + plug_dir.lower() + '-%s', 'Qmmp' + plug_dir + 'plugin for %s') +} + +FILES_${PN} = "\ + ${bindir}/qmmp \ + ${libdir}/lib*${SOLIBS} \ + ${datadir}/icons/* \ + ${datadir}/qmmp/images/* \ + ${datadir}/applications/* \ + " + +FILES_${PN}-dbg += "\ + ${libdir}/qmmp/*/.debug/* \ + " + -- 1.7.0.4 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-11-07 11:57 ` [PATCH 1/2] qmmp: update to 0.5.2 Xiaofeng Yan @ 2011-11-07 11:58 ` Koen Kooi 2011-11-07 12:01 ` Xiaofeng Yan 0 siblings, 1 reply; 15+ messages in thread From: Koen Kooi @ 2011-11-07 11:58 UTC (permalink / raw) To: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 1623 bytes --] Op 7 nov. 2011, om 12:57 heeft Xiaofeng Yan het volgende geschreven: > From: Xiaofeng Yan <xiaofeng.yan@windriver.com> > > qmmp: remove old recipe and add new recipe > > Use do_split_package for each grouping and name them correctly besides updating package. > The format to name plugins of qmmp: > qmmp-plugin-<group>-<library> with the Description: Qmmp<Group> plugin for %s" > > Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> > --- > meta/recipes-qt/qt-apps/qmmp_0.5.1.bb | 47 ---------------------------- > > -FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" > -RDEPENDS_${PN}-plugin-input-mad = "libmad" > -FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" > -RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" > diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb > new file mode 100644 > index 0000000..035b50f > --- /dev/null > +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb > @@ -0,0 +1,54 @@ > +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" > +HOMEPAGE = "http://qmmp.ylsoftware.com" > +LICENSE = "GPLv2" > +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" > +SECTION = "multimedia" > + > +PR = "r0" > + > +DEPENDS = "taglib libmad libvorbis libogg alsa-lib" > +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" RDEPENDS go below do_install, like in the old recipe. The variable follow the task order, so DEPENDS goes at the top, RDEPENDS (do_package) goes down below do_install. regards, Koen [-- Attachment #2: Message signed with OpenPGP using GPGMail --] [-- Type: application/pgp-signature, Size: 169 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-11-07 11:58 ` Koen Kooi @ 2011-11-07 12:01 ` Xiaofeng Yan 2011-11-07 12:11 ` Koen Kooi 0 siblings, 1 reply; 15+ messages in thread From: Xiaofeng Yan @ 2011-11-07 12:01 UTC (permalink / raw) To: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 2054 bytes --] On 2011?11?07? 19:58, Koen Kooi wrote: > Op 7 nov. 2011, om 12:57 heeft Xiaofeng Yan het volgende geschreven: > >> From: Xiaofeng Yan<xiaofeng.yan@windriver.com> >> >> qmmp: remove old recipe and add new recipe >> >> Use do_split_package for each grouping and name them correctly besides updating package. >> The format to name plugins of qmmp: >> qmmp-plugin-<group>-<library> with the Description: Qmmp<Group> plugin for %s" >> >> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com> >> --- >> meta/recipes-qt/qt-apps/qmmp_0.5.1.bb | 47 ---------------------------- >> >> -FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >> -RDEPENDS_${PN}-plugin-input-mad = "libmad" >> -FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" >> -RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" >> diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >> new file mode 100644 >> index 0000000..035b50f >> --- /dev/null >> +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >> @@ -0,0 +1,54 @@ >> +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" >> +HOMEPAGE = "http://qmmp.ylsoftware.com" >> +LICENSE = "GPLv2" >> +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" >> +SECTION = "multimedia" >> + >> +PR = "r0" >> + >> +DEPENDS = "taglib libmad libvorbis libogg alsa-lib" >> +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" > RDEPENDS go below do_install, like in the old recipe. The variable follow the task order, so DEPENDS goes at the top, RDEPENDS (do_package) goes down below do_install. > Hi koen, Thank you for finding my fault, but in this recipe , do_install use default mode. I should put RDEPENDS below FILES_${PN}, right? > regards, > > Koen > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core [-- Attachment #2: Type: text/html, Size: 3429 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-11-07 12:01 ` Xiaofeng Yan @ 2011-11-07 12:11 ` Koen Kooi 2011-11-07 12:24 ` Xiaofeng Yan 0 siblings, 1 reply; 15+ messages in thread From: Koen Kooi @ 2011-11-07 12:11 UTC (permalink / raw) To: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 2046 bytes --] Op 7 nov. 2011, om 13:01 heeft Xiaofeng Yan het volgende geschreven: > On 2011年11月07日 19:58, Koen Kooi wrote: >> Op 7 nov. 2011, om 12:57 heeft Xiaofeng Yan het volgende geschreven: >> >> >>> From: Xiaofeng Yan <xiaofeng.yan@windriver.com> >>> >>> >>> qmmp: remove old recipe and add new recipe >>> >>> Use do_split_package for each grouping and name them correctly besides updating package. >>> The format to name plugins of qmmp: >>> qmmp-plugin-<group>-<library> with the Description: Qmmp<Group> plugin for %s" >>> >>> Signed-off-by: Xiaofeng Yan >>> <xiaofeng.yan@windriver.com> >>> >>> --- >>> meta/recipes-qt/qt-apps/qmmp_0.5.1.bb | 47 ---------------------------- >>> >>> -FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >>> -RDEPENDS_${PN}-plugin-input-mad = "libmad" >>> -FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" >>> -RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" >>> >>> diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>> new file mode 100644 >>> index 0000000..035b50f >>> --- /dev/null >>> +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>> @@ -0,0 +1,54 @@ >>> +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" >>> +HOMEPAGE = >>> "http://qmmp.ylsoftware.com" >>> >>> +LICENSE = "GPLv2" >>> +LIC_FILES_CHKSUM = >>> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" >>> >>> +SECTION = "multimedia" >>> + >>> +PR = "r0" >>> + >>> +DEPENDS = "taglib libmad libvorbis libogg alsa-lib" >>> +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" >>> >> RDEPENDS go below do_install, like in the old recipe. The variable follow the task order, so DEPENDS goes at the top, RDEPENDS (do_package) goes down below do_install. >> >> > Hi koen, > > Thank you for finding my fault, but in this recipe , do_install use default mode. I should put RDEPENDS below FILES_${PN}, right? Yes please. regards, Koen [-- Attachment #2: Message signed with OpenPGP using GPGMail --] [-- Type: application/pgp-signature, Size: 169 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-11-07 12:11 ` Koen Kooi @ 2011-11-07 12:24 ` Xiaofeng Yan 0 siblings, 0 replies; 15+ messages in thread From: Xiaofeng Yan @ 2011-11-07 12:24 UTC (permalink / raw) To: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 2377 bytes --] On 2011年11月07日 20:11, Koen Kooi wrote: > Op 7 nov. 2011, om 13:01 heeft Xiaofeng Yan het volgende geschreven: > >> On 2011年11月07日 19:58, Koen Kooi wrote: >>> Op 7 nov. 2011, om 12:57 heeft Xiaofeng Yan het volgende geschreven: >>> >>> >>>> From: Xiaofeng Yan<xiaofeng.yan@windriver.com> >>>> >>>> >>>> qmmp: remove old recipe and add new recipe >>>> >>>> Use do_split_package for each grouping and name them correctly besides updating package. >>>> The format to name plugins of qmmp: >>>> qmmp-plugin-<group>-<library> with the Description: Qmmp<Group> plugin for %s" >>>> >>>> Signed-off-by: Xiaofeng Yan >>>> <xiaofeng.yan@windriver.com> >>>> >>>> --- >>>> meta/recipes-qt/qt-apps/qmmp_0.5.1.bb | 47 ---------------------------- >>>> >>>> -FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >>>> -RDEPENDS_${PN}-plugin-input-mad = "libmad" >>>> -FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" >>>> -RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" >>>> >>>> diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>> new file mode 100644 >>>> index 0000000..035b50f >>>> --- /dev/null >>>> +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>> @@ -0,0 +1,54 @@ >>>> +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" >>>> +HOMEPAGE = >>>> "http://qmmp.ylsoftware.com" >>>> >>>> +LICENSE = "GPLv2" >>>> +LIC_FILES_CHKSUM = >>>> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" >>>> >>>> +SECTION = "multimedia" >>>> + >>>> +PR = "r0" >>>> + >>>> +DEPENDS = "taglib libmad libvorbis libogg alsa-lib" >>>> +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" >>>> >>> RDEPENDS go below do_install, like in the old recipe. The variable follow the task order, so DEPENDS goes at the top, RDEPENDS (do_package) goes down below do_install. >>> >>> >> Hi koen, >> >> Thank you for finding my fault, but in this recipe , do_install use default mode. I should put RDEPENDS below FILES_${PN}, right? > Yes please. > Thanks, I modified my fault. > regards, > > Koen > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core [-- Attachment #2: Type: text/html, Size: 3723 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 2/2] distro_tracking_fields.inc: Modify the status of qmmp 2011-11-07 11:57 [PATCH 0/2] qmmp: update to 2.8.5 Xiaofeng Yan 2011-11-07 11:57 ` [PATCH 1/2] qmmp: update to 0.5.2 Xiaofeng Yan @ 2011-11-07 11:57 ` Xiaofeng Yan 2011-11-08 23:01 ` [PATCH 0/2] qmmp: update to 2.8.5 Saul Wold 2 siblings, 0 replies; 15+ messages in thread From: Xiaofeng Yan @ 2011-11-07 11:57 UTC (permalink / raw) To: openembedded-core From: Xiaofeng Yan <xiaofeng.yan@windriver.com> update qmmp to 0.5.2 Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> --- .../conf/distro/include/distro_tracking_fields.inc | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc index 998eabf..d2b6772 100644 --- a/meta/conf/distro/include/distro_tracking_fields.inc +++ b/meta/conf/distro/include/distro_tracking_fields.inc @@ -5726,11 +5726,15 @@ RECIPE_LAST_UPDATE_pn-libgdata = "Dec 29, 2010" RECIPE_MAINTAINER_pn-libgdata = "Zhai Edwin <edwin.zhai@intel.com>" RECIPE_LATEST_VERSION_pn-man-pages = "3.32" -RECIPE_LATEST_VERSION_pn-qmmp = "0.4.3" -RECIPE_MAINTAINER_pn-qmmp = "Xiaofeng Yan <xiaofeng.yan@windriver.com>" RECIPE_LATEST_VERSION_pn-sysprof = "6b5b8432711ef5c747f8375073cd9af88922d3c6" RECIPE_LATEST_VERSION_pn-table = "d42a44938699ee30a998fc42bc149aebf69389db" +RECIPE_STATUS_pn-qmmp = "green" +RECIPE_LATEST_VERSION_pn-qmmp = "0.5.2" +RECIPE_LATEST_RELEASE_DATE_pn-qmmp = "Sep 02, 2011" +RECIPE_LAST_UPDATE_pn-qmmp = "Nov 7, 2011" +RECIPE_MAINTAINER_pn-qmmp = "Xiaofeng Yan <xiaofeng.yan@windriver.com>" + RECIPE_LATEST_VERSION_pn-texinfo = "4.13a" RECIPE_LATEST_RELEASE_DATE_pn-texinfo = "Sep 22, 2008" RECIPE_LAST_UPDATE_pn-texinfo = "Sep 16, 2011" -- 1.7.0.4 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH 0/2] qmmp: update to 2.8.5 2011-11-07 11:57 [PATCH 0/2] qmmp: update to 2.8.5 Xiaofeng Yan 2011-11-07 11:57 ` [PATCH 1/2] qmmp: update to 0.5.2 Xiaofeng Yan 2011-11-07 11:57 ` [PATCH 2/2] distro_tracking_fields.inc: Modify the status of qmmp Xiaofeng Yan @ 2011-11-08 23:01 ` Saul Wold 2 siblings, 0 replies; 15+ messages in thread From: Saul Wold @ 2011-11-08 23:01 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On 11/07/2011 03:57 AM, Xiaofeng Yan wrote: > From: Xiaofeng Yan<xiaofeng.yan@windriver.com> > > Hi Saul, > > I make some changes to qmmp_0.5.2.bb according to koen's suggestion. > Please check it again. > > Pull URL: git://git.pokylinux.org/poky-contrib.git > Branch: xiaofeng/qmmp > Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/qmmp > > Thanks, > Xiaofeng Yan<xiaofeng.yan@windriver.com> > --- > > > Xiaofeng Yan (2): > qmmp: update to 0.5.2 > distro_tracking_fields.inc: Modify the status of qmmp > > .../conf/distro/include/distro_tracking_fields.inc | 8 ++- > meta/recipes-qt/qt-apps/qmmp_0.5.1.bb | 47 ----------------- > meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 54 ++++++++++++++++++++ > 3 files changed, 60 insertions(+), 49 deletions(-) > delete mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.1.bb > create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > Merged your latest version to OE-Core Thanks Sau! ^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 0/2] update packages
@ 2011-10-18 5:21 Xiaofeng Yan
2011-10-18 5:21 ` [PATCH 1/2] qmmp: update to 0.5.2 Xiaofeng Yan
0 siblings, 1 reply; 15+ messages in thread
From: Xiaofeng Yan @ 2011-10-18 5:21 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Update packages "qmmp" and "libx11-diet".
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/update
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/update
Thanks,
Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
Xiaofeng Yan (2):
qmmp: update to 0.5.2
libx11-diet: update to 1.4.4
.../xorg-lib/libx11-diet-1.4.4/X18NCMSstubs.diff | 540 ++++++++++++++++++++
.../libx11-diet-1.4.4/fix-disable-xlocale.diff | 16 +
.../libx11-diet-1.4.4/fix-utf8-wrong-define.patch | 17 +
.../xorg-lib/libx11-diet-1.4.4/include_fix.patch | 25 +
.../xorg-lib/libx11-diet-1.4.4/nodolt.patch | 14 +
.../libx11-diet-1.4.4/x11_disable_makekeys.patch | 31 ++
.../recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb | 27 +
meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 49 ++
8 files changed, 719 insertions(+), 0 deletions(-)
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/X18NCMSstubs.diff
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/fix-disable-xlocale.diff
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/fix-utf8-wrong-define.patch
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/include_fix.patch
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/nodolt.patch
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/x11_disable_makekeys.patch
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb
^ permalink raw reply [flat|nested] 15+ messages in thread* [PATCH 1/2] qmmp: update to 0.5.2 2011-10-18 5:21 [PATCH 0/2] update packages Xiaofeng Yan @ 2011-10-18 5:21 ` Xiaofeng Yan 2011-10-18 5:35 ` Saul Wold 0 siblings, 1 reply; 15+ messages in thread From: Xiaofeng Yan @ 2011-10-18 5:21 UTC (permalink / raw) To: openembedded-core From: Xiaofeng Yan <xiaofeng.yan@windriver.com> The new version of qmmp can run on core-image-sato by test. $qmmp *.mp3 Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> --- meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 49 +++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb new file mode 100644 index 0000000..f31409b --- /dev/null +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb @@ -0,0 +1,49 @@ +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" +HOMEPAGE = "http://qmmp.ylsoftware.com" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" +SECTION = "multimedia" + +PR = "r3" + +PROVIDES = "qmmp" +DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib" +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" + +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" + +SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6" +SRC_URI[sha256sum] = "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec" + + +PARALLEL_MAKE = "" + +inherit qmake2 cmake + +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ + " + +FILES_${PN} =+ "\ + ${libdir}/qmmp/*/*.so \ + ${datadir}/icons/* \ + ${datadir}/qmmp/images/* \ + ${datadir}/applications/qmmp.desktop \ + " + +FILES_${PN}-dbg += "\ + ${libdir}/qmmp/*/.debug/* \ + " + +PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis" + +FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" +RDEPENDS_${PN}-plugin-input-mad = "libmad" +FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" +RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" -- 1.7.0.4 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-10-18 5:21 ` [PATCH 1/2] qmmp: update to 0.5.2 Xiaofeng Yan @ 2011-10-18 5:35 ` Saul Wold 2011-10-18 5:44 ` Xiaofeng Yan 0 siblings, 1 reply; 15+ messages in thread From: Saul Wold @ 2011-10-18 5:35 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On 10/17/2011 10:21 PM, Xiaofeng Yan wrote: > From: Xiaofeng Yan<xiaofeng.yan@windriver.com> > > The new version of qmmp can run on core-image-sato by test. > $qmmp *.mp3 > > Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com> > --- > meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 49 +++++++++++++++++++++++++++++++++ > 1 files changed, 49 insertions(+), 0 deletions(-) > create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb > > diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb > new file mode 100644 > index 0000000..f31409b > --- /dev/null > +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb > @@ -0,0 +1,49 @@ > +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library" > +HOMEPAGE = "http://qmmp.ylsoftware.com" > +LICENSE = "GPLv2" > +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" > +SECTION = "multimedia" > + > +PR = "r3" > + > +PROVIDES = "qmmp" > +DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib" > +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" > + > +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" > + > +SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6" > +SRC_URI[sha256sum] = "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec" > + > + > +PARALLEL_MAKE = "" > + > +inherit qmake2 cmake > + > +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ > + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ > + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ > + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ > + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ > + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ > + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ > + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ > + " > + > +FILES_${PN} =+ "\ > + ${libdir}/qmmp/*/*.so \ > + ${datadir}/icons/* \ > + ${datadir}/qmmp/images/* \ > + ${datadir}/applications/qmmp.desktop \ > + " > + Xiaofeng, I was looking into this also, I think it would be better to split all the various plugins into separate packages using do_split_packages(), in the packages.bbclass. I started with this code: > PACKAGES_DYNAMIC = "qmmp-plugin-*" > > python populate_packages_prepend () { > qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) > > do_split_packages(d, qmmp_libdir, '^(.*)/(.*)\.so$', 'qmmp-plugin-%s-%s', 'Qmmp %s Plugin for %s', extra_depends='') > } But have not completed it yet, if you have time to investigate further and complete this correctly, there might be a problem with using multiple Regular expressions in the do_split_packages code, but I have not fully debugged this yet. Please let me know if you can complete this task. Thanks Sau! > +FILES_${PN}-dbg += "\ > + ${libdir}/qmmp/*/.debug/* \ > + " > + > +PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis" > + > +FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" > +RDEPENDS_${PN}-plugin-input-mad = "libmad" > +FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" > +RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-10-18 5:35 ` Saul Wold @ 2011-10-18 5:44 ` Xiaofeng Yan 2011-10-19 10:31 ` Xiaofeng Yan 0 siblings, 1 reply; 15+ messages in thread From: Xiaofeng Yan @ 2011-10-18 5:44 UTC (permalink / raw) To: Saul Wold; +Cc: Patches and discussions about the oe-core layer On 2011年10月18日 13:35, Saul Wold wrote: > On 10/17/2011 10:21 PM, Xiaofeng Yan wrote: >> From: Xiaofeng Yan<xiaofeng.yan@windriver.com> >> >> The new version of qmmp can run on core-image-sato by test. >> $qmmp *.mp3 >> >> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com> >> --- >> meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 49 >> +++++++++++++++++++++++++++++++++ >> 1 files changed, 49 insertions(+), 0 deletions(-) >> create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >> >> diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >> b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >> new file mode 100644 >> index 0000000..f31409b >> --- /dev/null >> +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >> @@ -0,0 +1,49 @@ >> +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, >> written with help of Qt library" >> +HOMEPAGE = "http://qmmp.ylsoftware.com" >> +LICENSE = "GPLv2" >> +LIC_FILES_CHKSUM = >> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" >> +SECTION = "multimedia" >> + >> +PR = "r3" >> + >> +PROVIDES = "qmmp" >> +DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib" >> +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" >> + >> +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" >> + >> +SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6" >> +SRC_URI[sha256sum] = >> "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec" >> + >> + >> +PARALLEL_MAKE = "" >> + >> +inherit qmake2 cmake >> + >> +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ >> + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ >> + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ >> + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ >> + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ >> + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ >> + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ >> + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ >> + " >> + >> +FILES_${PN} =+ "\ >> + ${libdir}/qmmp/*/*.so \ >> + ${datadir}/icons/* \ >> + ${datadir}/qmmp/images/* \ >> + ${datadir}/applications/qmmp.desktop \ >> + " >> + > Xiaofeng, > > I was looking into this also, I think it would be better to split all > the various plugins into separate packages using do_split_packages(), in > the packages.bbclass. > > I started with this code: >> PACKAGES_DYNAMIC = "qmmp-plugin-*" >> >> python populate_packages_prepend () { >> qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) >> >> do_split_packages(d, qmmp_libdir, '^(.*)/(.*)\.so$', >> 'qmmp-plugin-%s-%s', 'Qmmp %s Plugin for %s', extra_depends='') >> } > > But have not completed it yet, if you have time to investigate further > and complete this correctly, there might be a problem with using > multiple Regular expressions in the do_split_packages code, but I have > not fully debugged this yet. > > Please let me know if you can complete this task. > Thanks for your reply and I will investigate it according to your suggestion. Thanks Yan > Thanks > Sau! > > >> +FILES_${PN}-dbg += "\ >> + ${libdir}/qmmp/*/.debug/* \ >> + " >> + >> +PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis" >> + >> +FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >> +RDEPENDS_${PN}-plugin-input-mad = "libmad" >> +FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" >> +RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" > > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-10-18 5:44 ` Xiaofeng Yan @ 2011-10-19 10:31 ` Xiaofeng Yan 2011-10-19 23:18 ` Saul Wold 0 siblings, 1 reply; 15+ messages in thread From: Xiaofeng Yan @ 2011-10-19 10:31 UTC (permalink / raw) To: openembedded-core [-- Attachment #1: Type: text/plain, Size: 5137 bytes --] On 2011年10月18日 13:44, Xiaofeng Yan wrote: > On 2011年10月18日 13:35, Saul Wold wrote: >> On 10/17/2011 10:21 PM, Xiaofeng Yan wrote: >>> From: Xiaofeng Yan<xiaofeng.yan@windriver.com> >>> >>> The new version of qmmp can run on core-image-sato by test. >>> $qmmp *.mp3 >>> >>> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com> >>> --- >>> meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 49 >>> +++++++++++++++++++++++++++++++++ >>> 1 files changed, 49 insertions(+), 0 deletions(-) >>> create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>> >>> diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>> b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>> new file mode 100644 >>> index 0000000..f31409b >>> --- /dev/null >>> +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>> @@ -0,0 +1,49 @@ >>> +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an >>> audio-player, written with help of Qt library" >>> +HOMEPAGE = "http://qmmp.ylsoftware.com" >>> +LICENSE = "GPLv2" >>> +LIC_FILES_CHKSUM = >>> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" >>> +SECTION = "multimedia" >>> + >>> +PR = "r3" >>> + >>> +PROVIDES = "qmmp" >>> +DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib" >>> +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" >>> + >>> +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" >>> + >>> +SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6" >>> +SRC_URI[sha256sum] = >>> "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec" >>> + >>> + >>> +PARALLEL_MAKE = "" >>> + >>> +inherit qmake2 cmake >>> + >>> +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ >>> + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ >>> + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ >>> + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ >>> + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ >>> + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ >>> + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ >>> + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ >>> + " >>> + >>> +FILES_${PN} =+ "\ >>> + ${libdir}/qmmp/*/*.so \ >>> + ${datadir}/icons/* \ >>> + ${datadir}/qmmp/images/* \ >>> + ${datadir}/applications/qmmp.desktop \ >>> + " >>> + >> Xiaofeng, >> >> I was looking into this also, I think it would be better to split all >> the various plugins into separate packages using do_split_packages(), in >> the packages.bbclass. >> >> I started with this code: >>> PACKAGES_DYNAMIC = "qmmp-plugin-*" >>> >>> python populate_packages_prepend () { >>> qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) >>> >>> do_split_packages(d, qmmp_libdir, '^(.*)/(.*)\.so$', >>> 'qmmp-plugin-%s-%s', 'Qmmp %s Plugin for %s', extra_depends='') >>> } >> >> But have not completed it yet, if you have time to investigate >> further and complete this correctly, there might be a problem with >> using multiple Regular expressions in the do_split_packages code, but >> I have not fully debugged this yet. >> >> Please let me know if you can complete this task. >> Hi saul, The following is my modification to qmmp_0.5.2.bb. Please review it. I want to get a reply about how to ship files in ${datadir} for qmmp. I shipped them to FILES_${PN} because qmmp need these files when starting up. Do you think that they should be packaged like qmmp-plugin-* ? Please give me your suggestion and I will modify this file. PACKAGES_DYNAMIC += "qmmp-plugin-*" python populate_packages_prepend () { qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) do_split_packages(d, qmmp_libdir, '^lib(.*)\.so$', 'qmmp-plugin-%s', 'Qmmp %s Plugin for', recursive=True,extra_depends='') } FILES_${PN} = "\ ${bindir}/qmmp \ ${libdir}/lib*${SOLIBS} \ ${datadir}/icons/* \ ${datadir}/qmmp/images/* \ ${datadir}/applications/* \ " FILES_${PN}-dbg += "\ ${libdir}/qmmp/*/.debug/* \ " PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis " FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" RDEPENDS_${PN}-plugin-input-mad = "libmad" FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" Thanks Yan > Thanks for your reply and I will investigate it according to your > suggestion. > > Thanks > Yan >> Thanks >> Sau! >> >> >>> +FILES_${PN}-dbg += "\ >>> + ${libdir}/qmmp/*/.debug/* \ >>> + " >>> + >>> +PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis" >>> + >>> +FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >>> +RDEPENDS_${PN}-plugin-input-mad = "libmad" >>> +FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" >>> +RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" >> >> > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core [-- Attachment #2: Type: text/html, Size: 9072 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-10-19 10:31 ` Xiaofeng Yan @ 2011-10-19 23:18 ` Saul Wold 2011-10-20 2:27 ` Xiaofeng Yan 2011-10-20 11:46 ` Xiaofeng Yan 0 siblings, 2 replies; 15+ messages in thread From: Saul Wold @ 2011-10-19 23:18 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On 10/19/2011 03:31 AM, Xiaofeng Yan wrote: > On 2011年10月18日 13:44, Xiaofeng Yan wrote: >> On 2011年10月18日 13:35, Saul Wold wrote: >>> On 10/17/2011 10:21 PM, Xiaofeng Yan wrote: >>>> From: Xiaofeng Yan<xiaofeng.yan@windriver.com> >>>> >>>> The new version of qmmp can run on core-image-sato by test. >>>> $qmmp *.mp3 >>>> >>>> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com> >>>> --- >>>> meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 49 >>>> +++++++++++++++++++++++++++++++++ >>>> 1 files changed, 49 insertions(+), 0 deletions(-) >>>> create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>> >>>> diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>> b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>> new file mode 100644 >>>> index 0000000..f31409b >>>> --- /dev/null >>>> +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>> @@ -0,0 +1,49 @@ >>>> +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an >>>> audio-player, written with help of Qt library" >>>> +HOMEPAGE = "http://qmmp.ylsoftware.com" >>>> +LICENSE = "GPLv2" >>>> +LIC_FILES_CHKSUM = >>>> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" >>>> +SECTION = "multimedia" >>>> + >>>> +PR = "r3" >>>> + >>>> +PROVIDES = "qmmp" >>>> +DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib" >>>> +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" >>>> + >>>> +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" >>>> + >>>> +SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6" >>>> +SRC_URI[sha256sum] = >>>> "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec" >>>> + >>>> + >>>> +PARALLEL_MAKE = "" >>>> + >>>> +inherit qmake2 cmake >>>> + >>>> +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ >>>> + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ >>>> + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ >>>> + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ >>>> + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ >>>> + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ >>>> + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ >>>> + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ >>>> + " >>>> + >>>> +FILES_${PN} =+ "\ >>>> + ${libdir}/qmmp/*/*.so \ >>>> + ${datadir}/icons/* \ >>>> + ${datadir}/qmmp/images/* \ >>>> + ${datadir}/applications/qmmp.desktop \ >>>> + " >>>> + >>> Xiaofeng, >>> >>> I was looking into this also, I think it would be better to split all >>> the various plugins into separate packages using do_split_packages(), in >>> the packages.bbclass. >>> >>> I started with this code: >>>> PACKAGES_DYNAMIC = "qmmp-plugin-*" >>>> >>>> python populate_packages_prepend () { >>>> qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) >>>> >>>> do_split_packages(d, qmmp_libdir, '^(.*)/(.*)\.so$', >>>> 'qmmp-plugin-%s-%s', 'Qmmp %s Plugin for %s', extra_depends='') >>>> } >>> >>> But have not completed it yet, if you have time to investigate >>> further and complete this correctly, there might be a problem with >>> using multiple Regular expressions in the do_split_packages code, but >>> I have not fully debugged this yet. >>> >>> Please let me know if you can complete this task. >>> > Hi saul, > > The following is my modification to qmmp_0.5.2.bb. Please review it. > I want to get a reply about how to ship files in ${datadir} for qmmp. I > shipped them to FILES_${PN} because qmmp need these files when starting > up. Do you think that they should be packaged like qmmp-plugin-* ? > > Please give me your suggestion and I will modify this file. > > > PACKAGES_DYNAMIC += "qmmp-plugin-*" > > > python populate_packages_prepend () { > qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) > do_split_packages(d, qmmp_libdir, '^lib(.*)\.so$', > 'qmmp-plugin-%s', 'Qmmp %s Plugin for', recursive=True,extra_depends='') > } > Ah, I see you added the recursive flag, I was trying to capture the plugin group (Input, Ouput, Effect, ...) in the package name incase there was name conflict, also to match the mad and vorbis naming below. If using multiple RE expressions in the re match does not work, then we should make do_split_package for each grouping and name them correctly qmmp-plugin-<group>-<library> with the Description: Qmmp <Group> plugin for %s" > FILES_${PN} = "\ I think this should be a += > ${bindir}/qmmp \ > ${libdir}/lib*${SOLIBS} \ These 2 should go away (part of default FILES_${PN} > ${datadir}/icons/* \ > ${datadir}/qmmp/images/* \ > ${datadir}/applications/* \ > " There are added via the += above. > > FILES_${PN}-dbg += "\ > ${libdir}/qmmp/*/.debug/* \ > " > These should be picked up by the do_split_package above I believe > PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis " > > FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" > RDEPENDS_${PN}-plugin-input-mad = "libmad" > FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" > RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" > Ideally the above PACKAGES and FILES_ go away and the default actions take over. Thanks for looking into this. Sau! > > > Thanks > Yan >> Thanks for your reply and I will investigate it according to your >> suggestion. >> >> Thanks >> Yan >>> Thanks >>> Sau! >>> >>> >>>> +FILES_${PN}-dbg += "\ >>>> + ${libdir}/qmmp/*/.debug/* \ >>>> + " >>>> + >>>> +PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis" >>>> + >>>> +FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >>>> +RDEPENDS_${PN}-plugin-input-mad = "libmad" >>>> +FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" >>>> +RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" >>> >>> >> >> >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-10-19 23:18 ` Saul Wold @ 2011-10-20 2:27 ` Xiaofeng Yan 2011-10-20 11:46 ` Xiaofeng Yan 1 sibling, 0 replies; 15+ messages in thread From: Xiaofeng Yan @ 2011-10-20 2:27 UTC (permalink / raw) To: Saul Wold; +Cc: Patches and discussions about the oe-core layer On 2011年10月20日 07:18, Saul Wold wrote: > On 10/19/2011 03:31 AM, Xiaofeng Yan wrote: >> On 2011年10月18日 13:44, Xiaofeng Yan wrote: >>> On 2011年10月18日 13:35, Saul Wold wrote: >>>> On 10/17/2011 10:21 PM, Xiaofeng Yan wrote: >>>>> From: Xiaofeng Yan<xiaofeng.yan@windriver.com> >>>>> >>>>> The new version of qmmp can run on core-image-sato by test. >>>>> $qmmp *.mp3 >>>>> >>>>> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com> >>>>> --- >>>>> meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 49 >>>>> +++++++++++++++++++++++++++++++++ >>>>> 1 files changed, 49 insertions(+), 0 deletions(-) >>>>> create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>>> >>>>> diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>>> b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>>> new file mode 100644 >>>>> index 0000000..f31409b >>>>> --- /dev/null >>>>> +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>>> @@ -0,0 +1,49 @@ >>>>> +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an >>>>> audio-player, written with help of Qt library" >>>>> +HOMEPAGE = "http://qmmp.ylsoftware.com" >>>>> +LICENSE = "GPLv2" >>>>> +LIC_FILES_CHKSUM = >>>>> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" >>>>> +SECTION = "multimedia" >>>>> + >>>>> +PR = "r3" >>>>> + >>>>> +PROVIDES = "qmmp" >>>>> +DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib" >>>>> +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" >>>>> + >>>>> +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" >>>>> + >>>>> +SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6" >>>>> +SRC_URI[sha256sum] = >>>>> "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec" >>>>> + >>>>> + >>>>> +PARALLEL_MAKE = "" >>>>> + >>>>> +inherit qmake2 cmake >>>>> + >>>>> +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ >>>>> + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ >>>>> + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ >>>>> + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ >>>>> + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ >>>>> + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ >>>>> + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ >>>>> + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ >>>>> + " >>>>> + >>>>> +FILES_${PN} =+ "\ >>>>> + ${libdir}/qmmp/*/*.so \ >>>>> + ${datadir}/icons/* \ >>>>> + ${datadir}/qmmp/images/* \ >>>>> + ${datadir}/applications/qmmp.desktop \ >>>>> + " >>>>> + >>>> Xiaofeng, >>>> >>>> I was looking into this also, I think it would be better to split all >>>> the various plugins into separate packages using >>>> do_split_packages(), in >>>> the packages.bbclass. >>>> >>>> I started with this code: >>>>> PACKAGES_DYNAMIC = "qmmp-plugin-*" >>>>> >>>>> python populate_packages_prepend () { >>>>> qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) >>>>> >>>>> do_split_packages(d, qmmp_libdir, '^(.*)/(.*)\.so$', >>>>> 'qmmp-plugin-%s-%s', 'Qmmp %s Plugin for %s', extra_depends='') >>>>> } >>>> >>>> But have not completed it yet, if you have time to investigate >>>> further and complete this correctly, there might be a problem with >>>> using multiple Regular expressions in the do_split_packages code, but >>>> I have not fully debugged this yet. >>>> >>>> Please let me know if you can complete this task. >>>> >> Hi saul, >> >> The following is my modification to qmmp_0.5.2.bb. Please review it. >> I want to get a reply about how to ship files in ${datadir} for qmmp. I >> shipped them to FILES_${PN} because qmmp need these files when starting >> up. Do you think that they should be packaged like qmmp-plugin-* ? >> >> Please give me your suggestion and I will modify this file. >> >> >> PACKAGES_DYNAMIC += "qmmp-plugin-*" >> >> >> python populate_packages_prepend () { >> qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) >> do_split_packages(d, qmmp_libdir, '^lib(.*)\.so$', >> 'qmmp-plugin-%s', 'Qmmp %s Plugin for', recursive=True,extra_depends='') >> } >> > Ah, I see you added the recursive flag, I was trying to capture the > plugin group (Input, Ouput, Effect, ...) in the package name incase > there was name conflict, also to match the mad and vorbis naming below. > > If using multiple RE expressions in the re match does not work, then > we should make do_split_package for each grouping and name them correctly > qmmp-plugin-<group>-<library> with the Description: Qmmp <Group> > plugin for %s" > >> FILES_${PN} = "\ > I think this should be a += >> ${bindir}/qmmp \ >> ${libdir}/lib*${SOLIBS} \ > These 2 should go away (part of default FILES_${PN} >> ${datadir}/icons/* \ >> ${datadir}/qmmp/images/* \ >> ${datadir}/applications/* \ >> " > There are added via the += above. > I agree with your comment >> >> FILES_${PN}-dbg += "\ >> ${libdir}/qmmp/*/.debug/* \ >> " >> > These should be picked up by the do_split_package above I believe > I will use do_split_package to split up them . >> PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis " >> >> FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >> RDEPENDS_${PN}-plugin-input-mad = "libmad" >> FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" >> RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" >> > Ideally the above PACKAGES and FILES_ go away and the default actions > take over. > I will continue looking into them and push this bb file to OE-core after modifying defects. Thanks for your reply Thanks Yan > Thanks for looking into this. > > Sau! > >> >> >> Thanks >> Yan >>> Thanks for your reply and I will investigate it according to your >>> suggestion. >>> >>> Thanks >>> Yan >>>> Thanks >>>> Sau! >>>> >>>> >>>>> +FILES_${PN}-dbg += "\ >>>>> + ${libdir}/qmmp/*/.debug/* \ >>>>> + " >>>>> + >>>>> +PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis" >>>>> + >>>>> +FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >>>>> +RDEPENDS_${PN}-plugin-input-mad = "libmad" >>>>> +FILES_${PN}-plugin-input-vorbis = >>>>> "${libdir}/qmmp/Input/libvorbis.so" >>>>> +RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" >>>> >>>> >>> >>> >>> _______________________________________________ >>> Openembedded-core mailing list >>> Openembedded-core@lists.openembedded.org >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >> >> >> >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] qmmp: update to 0.5.2 2011-10-19 23:18 ` Saul Wold 2011-10-20 2:27 ` Xiaofeng Yan @ 2011-10-20 11:46 ` Xiaofeng Yan 1 sibling, 0 replies; 15+ messages in thread From: Xiaofeng Yan @ 2011-10-20 11:46 UTC (permalink / raw) To: Saul Wold; +Cc: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 10144 bytes --] On 2011年10月20日 07:18, Saul Wold wrote: > On 10/19/2011 03:31 AM, Xiaofeng Yan wrote: >> On 2011年10月18日 13:44, Xiaofeng Yan wrote: >>> On 2011年10月18日 13:35, Saul Wold wrote: >>>> On 10/17/2011 10:21 PM, Xiaofeng Yan wrote: >>>>> From: Xiaofeng Yan<xiaofeng.yan@windriver.com> >>>>> >>>>> The new version of qmmp can run on core-image-sato by test. >>>>> $qmmp *.mp3 >>>>> >>>>> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com> >>>>> --- >>>>> meta/recipes-qt/qt-apps/qmmp_0.5.2.bb | 49 >>>>> +++++++++++++++++++++++++++++++++ >>>>> 1 files changed, 49 insertions(+), 0 deletions(-) >>>>> create mode 100644 meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>>> >>>>> diff --git a/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>>> b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>>> new file mode 100644 >>>>> index 0000000..f31409b >>>>> --- /dev/null >>>>> +++ b/meta/recipes-qt/qt-apps/qmmp_0.5.2.bb >>>>> @@ -0,0 +1,49 @@ >>>>> +dESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an >>>>> audio-player, written with help of Qt library" >>>>> +HOMEPAGE = "http://qmmp.ylsoftware.com" >>>>> +LICENSE = "GPLv2" >>>>> +LIC_FILES_CHKSUM = >>>>> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" >>>>> +SECTION = "multimedia" >>>>> + >>>>> +PR = "r3" >>>>> + >>>>> +PROVIDES = "qmmp" >>>>> +DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib" >>>>> +RDEPENDS_${PN} += "taglib alsa-lib libmad curl" >>>>> + >>>>> +SRC_URI = "http://qmmp.ylsoftware.com/files/${BPN}-${PV}.tar.bz2" >>>>> + >>>>> +SRC_URI[md5sum] = "20852f3cce3471bfc5affa9b2e947dc6" >>>>> +SRC_URI[sha256sum] = >>>>> "6391dec020d2a381d7f4b7890fae6c49eadf88b3c9aef571fe3c5e96140822ec" >>>>> + >>>>> + >>>>> +PARALLEL_MAKE = "" >>>>> + >>>>> +inherit qmake2 cmake >>>>> + >>>>> +export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ >>>>> + -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \ >>>>> + -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \ >>>>> + -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \ >>>>> + -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \ >>>>> + -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \ >>>>> + -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ >>>>> + -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ >>>>> + " >>>>> + >>>>> +FILES_${PN} =+ "\ >>>>> + ${libdir}/qmmp/*/*.so \ >>>>> + ${datadir}/icons/* \ >>>>> + ${datadir}/qmmp/images/* \ >>>>> + ${datadir}/applications/qmmp.desktop \ >>>>> + " >>>>> + >>>> Xiaofeng, >>>> >>>> I was looking into this also, I think it would be better to split all >>>> the various plugins into separate packages using >>>> do_split_packages(), in >>>> the packages.bbclass. >>>> >>>> I started with this code: >>>>> PACKAGES_DYNAMIC = "qmmp-plugin-*" >>>>> >>>>> python populate_packages_prepend () { >>>>> qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) >>>>> >>>>> do_split_packages(d, qmmp_libdir, '^(.*)/(.*)\.so$', >>>>> 'qmmp-plugin-%s-%s', 'Qmmp %s Plugin for %s', extra_depends='') >>>>> } >>>> >>>> But have not completed it yet, if you have time to investigate >>>> further and complete this correctly, there might be a problem with >>>> using multiple Regular expressions in the do_split_packages code, but >>>> I have not fully debugged this yet. >>>> >>>> Please let me know if you can complete this task. >>>> >> Hi saul, >> >> The following is my modification to qmmp_0.5.2.bb. Please review it. >> I want to get a reply about how to ship files in ${datadir} for qmmp. I >> shipped them to FILES_${PN} because qmmp need these files when starting >> up. Do you think that they should be packaged like qmmp-plugin-* ? >> >> Please give me your suggestion and I will modify this file. >> >> >> PACKAGES_DYNAMIC += "qmmp-plugin-*" >> >> >> python populate_packages_prepend () { >> qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) >> do_split_packages(d, qmmp_libdir, '^lib(.*)\.so$', >> 'qmmp-plugin-%s', 'Qmmp %s Plugin for', recursive=True,extra_depends='') >> } >> > Ah, I see you added the recursive flag, I was trying to capture the > plugin group (Input, Ouput, Effect, ...) in the package name incase > there was name conflict, also to match the mad and vorbis naming below. > > If using multiple RE expressions in the re match does not work, then > we should make do_split_package for each grouping and name them correctly > qmmp-plugin-<group>-<library> with the Description: Qmmp <Group> > plugin for %s" > Hi Saul, I find .debug can't be packaged to rpm package because it is invisible directory. In current OE-core .debug was shipped to FILES_${PN}-dbg, for example , gtk+ ,qt4-x11-free If we want to split up .debug/* to single package, we can rename .debug to debug to make this directory visible, then debug directory can be split up to single package. Please review the following two mode. _Mode 1: Ship .debug to FILES_${PN}-dbg_ PACKAGES_DYNAMIC = "qmmp-plugin-* " python populate_packages_prepend () { import os qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) gd = bb.data.expand('${D}/${libdir}/qmmp', d) plug_dirs = os.listdir(gd) /# for makeing do_split_package for each grouping and name them correctly # qmmp-plugin-<group>-<library> with the Description: Qmmp <Group> plugin for %s" # I use the following method./ for plug_dir in plug_dirs: g_plug_dir = os.path.join(qmmp_libdir,plug_dir) do_split_packages(d, g_plug_dir, '^lib(.*)\.so$', 'qmmp-plugin-' + plug_dir + '-%s', 'Qmmp' + plug_dir + 'plugin for %s') } /# if I don't point files to ship file to ${PN}, then FILE_${PN} will get files in usr/lib/qmmp and qmmp-plug-* will not get files. / FILES_${PN} = "\ ${bindir}/qmmp \ ${libdir}/lib*${SOLIBS} \ ${datadir}/icons/* \ ${datadir}/qmmp/images/* \ ${datadir}/applications/* \ " FILES_${PN}-dbg += "\ ${libdir}/qmmp/*/.debug/* \ " ================================================================================= _ Mode 2: Split up .debug to sub-packages_ PACKAGES_DYNAMIC = "qmmp-plugin-* qmmp-debug-plugin-*" python populate_packages_prepend () { import os qmmp_libdir = bb.data.expand('${libdir}/qmmp', d) qmmp_pkgd = bb.data.expand('${WORKDIR}/package/${libdir}/qmmp', d) gd = bb.data.expand('${D}/${libdir}/qmmp', d) plug_dirs = os.listdir(gd) for plug_dir in plug_dirs: /#rename .debug to debug/ if os.path.exists( qmmp_pkgd + '/' + plug_dir + '/.debug'): os.rename(qmmp_pkgd + '/' + plug_dir + '/.debug',qmmp_pkgd + '/' + plug_dir + '/debug') g_plug_dir = os.path.join(qmmp_libdir,plug_dir) do_split_packages(d, g_plug_dir, '^lib(.*)\.so$', 'qmmp-plugin-' + plug_dir + '-%s', 'Qmmp' + plug_dir + 'plugin for %s') /#split up .debug to sub-packages/ g_plug_debug_dir = os.path.join(g_plug_dir,'debug') do_split_packages(d, g_plug_debug_dir, '^lib(.*)\.so$', 'qmmp-debug-plugin-' + plug_dir + '-%s', 'Qmmp' + plug_dir + 'plugin debug for %s') } / # if I don't point files to ship file to ${PN}, then FILE_${PN} will get files in usr/lib/qmmp and qmmp-plug-* will not get files./ /I check gtk+ and qt4-x11-free and find that they adopt the following method without using default mode./ FILES_${PN} = "\ ${bindir}/qmmp \ ${libdir}/lib*${SOLIBS} \ ${datadir}/icons/* \ ${datadir}/qmmp/images/* \ ${datadir}/applications/* \ " Do you have any comment for above code. If have, I will continue looking into modification method according to your suggestion. Do you think we should select which method? Thanks Yan >> FILES_${PN} = "\ > I think this should be a += >> ${bindir}/qmmp \ >> ${libdir}/lib*${SOLIBS} \ > These 2 should go away (part of default FILES_${PN} >> ${datadir}/icons/* \ >> ${datadir}/qmmp/images/* \ >> ${datadir}/applications/* \ >> " > There are added via the += above. > >> >> FILES_${PN}-dbg += "\ >> ${libdir}/qmmp/*/.debug/* \ >> " >> > These should be picked up by the do_split_package above I believe > >> PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis " >> >> FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >> RDEPENDS_${PN}-plugin-input-mad = "libmad" >> FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so" >> RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" >> > Ideally the above PACKAGES and FILES_ go away and the default actions > take over. > > Thanks for looking into this. > > Sau! > >> >> >> Thanks >> Yan >>> Thanks for your reply and I will investigate it according to your >>> suggestion. >>> >>> Thanks >>> Yan >>>> Thanks >>>> Sau! >>>> >>>> >>>>> +FILES_${PN}-dbg += "\ >>>>> + ${libdir}/qmmp/*/.debug/* \ >>>>> + " >>>>> + >>>>> +PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis" >>>>> + >>>>> +FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so" >>>>> +RDEPENDS_${PN}-plugin-input-mad = "libmad" >>>>> +FILES_${PN}-plugin-input-vorbis = >>>>> "${libdir}/qmmp/Input/libvorbis.so" >>>>> +RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg" >>>> >>>> >>> >>> >>> _______________________________________________ >>> Openembedded-core mailing list >>> Openembedded-core@lists.openembedded.org >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >> >> >> >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > [-- Attachment #2: Type: text/html, Size: 17888 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2011-11-08 23:07 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-11-07 11:57 [PATCH 0/2] qmmp: update to 2.8.5 Xiaofeng Yan 2011-11-07 11:57 ` [PATCH 1/2] qmmp: update to 0.5.2 Xiaofeng Yan 2011-11-07 11:58 ` Koen Kooi 2011-11-07 12:01 ` Xiaofeng Yan 2011-11-07 12:11 ` Koen Kooi 2011-11-07 12:24 ` Xiaofeng Yan 2011-11-07 11:57 ` [PATCH 2/2] distro_tracking_fields.inc: Modify the status of qmmp Xiaofeng Yan 2011-11-08 23:01 ` [PATCH 0/2] qmmp: update to 2.8.5 Saul Wold -- strict thread matches above, loose matches on Subject: below -- 2011-10-18 5:21 [PATCH 0/2] update packages Xiaofeng Yan 2011-10-18 5:21 ` [PATCH 1/2] qmmp: update to 0.5.2 Xiaofeng Yan 2011-10-18 5:35 ` Saul Wold 2011-10-18 5:44 ` Xiaofeng Yan 2011-10-19 10:31 ` Xiaofeng Yan 2011-10-19 23:18 ` Saul Wold 2011-10-20 2:27 ` Xiaofeng Yan 2011-10-20 11:46 ` Xiaofeng Yan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox