* Re: [oe-commits] Koen Kooi : Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" [not found] <20121024064022.C7F781032E@opal> @ 2012-10-30 9:24 ` Samuel Stirtzel 2012-10-30 11:37 ` Koen Kooi 0 siblings, 1 reply; 7+ messages in thread From: Samuel Stirtzel @ 2012-10-30 9:24 UTC (permalink / raw) To: openembedded-devel; +Cc: openembedded-commits 2012/10/24 <git@git.openembedded.org>: > Module: meta-openembedded.git > Branch: master > Commit: 80ef3c0aa0f92e93d1581e47ccb77a04022d04cf > URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=80ef3c0aa0f92e93d1581e47ccb77a04022d04cf > > Author: Koen Kooi <koen@dominion.thruhere.net> > Date: Wed Oct 24 08:39:12 2012 +0200 > > Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" > > The class hasn't hit oe-core yet > > This reverts commit eb66e508e33ccbec8299041265eef183913a3a8c. > > --- > > .../recipes-support/maliit/maliit-framework_git.bb | 32 +++++++++++++++---- > 1 files changed, 25 insertions(+), 7 deletions(-) > > diff --git a/meta-oe/recipes-support/maliit/maliit-framework_git.bb b/meta-oe/recipes-support/maliit/maliit-framework_git.bb > index 534a3c8..3f50d1b 100644 > --- a/meta-oe/recipes-support/maliit/maliit-framework_git.bb > +++ b/meta-oe/recipes-support/maliit/maliit-framework_git.bb > @@ -4,7 +4,7 @@ HOMEPAGE = "https://wiki.maliit.org/Main_Page" > LICENSE = "LGPLv2.1" > LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" > > -inherit autotools qt4x11 gtk-immodules-cache > +inherit autotools qt4x11 > > > SRC_URI = "git://gitorious.org/maliit/maliit-framework.git;branch=master \ > @@ -16,8 +16,9 @@ SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc" > PV = "0.92.3+git${SRCPV}" > > > -PACKAGES =+ "${PN}-gtk" > -GTKIMMODULES_PACKAGES = "${PN}-gtk" > +PACKAGES =+ "\ > + ${PN}-gtk \ > + " > > # Maliit needs Qt configured with -accessibility, a patch for that was already sent and will get merged in post 1.2. > RDEPENDS_${PN} = "qt4-plugin-inputmethod-imsw-multi libqtsvg4" > @@ -57,12 +58,29 @@ EXTRA_QMAKEVARS_PRE = "\ > CONFIG+=local-install \ > " > > -EXTRA_OEMAKE += "INSTALL_ROOT=${D}" > +do_install() { > + cd ${S} && (INSTALL_ROOT=${D} oe_runmake install) > > -do_install_append() { > #Fix absolute paths > - sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${datadir}/qt4/mkspecs/features/maliit-framework.prf > - sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${datadir}/qt4/mkspecs/features/maliit-plugins.prf > + cd ${D}/${datadir}/qt4/mkspecs/features && sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-framework.prf > + cd ${D}/${datadir}/qt4/mkspecs/features && sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-plugins.prf > +} > + > + > + > +# Update the inputmethod modules in gtk > +pkg_postinst_${PN}-gtk() { > +if [ "x$D" != "x" ]; then > + exit 1 > +fi > +gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules > +} > + > +pkg_postrm_${PN}-gtk() { > +if [ "x$D" != "x" ]; then > + exit 1 > +fi > +gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules > } > > S= "${WORKDIR}/git" > > > _______________________________________________ > Openembedded-commits mailing list > Openembedded-commits@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits Hi, can this be re-applied please? The .bbclass was taken in OE-Core with commit: [1] [1] https://github.com/openembedded/oe-core/commit/c67f64e5846bb2a6774e61a4f3719c5f82fc3bd8 -- Regards Samuel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Koen Kooi : Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" 2012-10-30 9:24 ` [oe-commits] Koen Kooi : Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" Samuel Stirtzel @ 2012-10-30 11:37 ` Koen Kooi 2012-10-30 13:13 ` Samuel Stirtzel 0 siblings, 1 reply; 7+ messages in thread From: Koen Kooi @ 2012-10-30 11:37 UTC (permalink / raw) To: openembedded-devel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 30-10-12 10:24, Samuel Stirtzel schreef: > 2012/10/24 <git@git.openembedded.org>: >> Module: meta-openembedded.git Branch: master Commit: >> 80ef3c0aa0f92e93d1581e47ccb77a04022d04cf URL: >> http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=80ef3c0aa0f92e93d1581e47ccb77a04022d04cf >> >> >> Author: Koen Kooi <koen@dominion.thruhere.net> >> Date: Wed Oct 24 08:39:12 2012 +0200 >> >> Revert "maliit-framework: Clean up recipe and use >> gtk-immodules-cache.bbclass" >> >> The class hasn't hit oe-core yet >> >> This reverts commit eb66e508e33ccbec8299041265eef183913a3a8c. >> >> --- >> >> .../recipes-support/maliit/maliit-framework_git.bb | 32 >> +++++++++++++++---- 1 files changed, 25 insertions(+), 7 deletions(-) >> >> diff --git a/meta-oe/recipes-support/maliit/maliit-framework_git.bb >> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb index >> 534a3c8..3f50d1b 100644 --- >> a/meta-oe/recipes-support/maliit/maliit-framework_git.bb +++ >> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb @@ -4,7 +4,7 >> @@ HOMEPAGE = "https://wiki.maliit.org/Main_Page" LICENSE = "LGPLv2.1" >> LIC_FILES_CHKSUM = >> "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" >> >> -inherit autotools qt4x11 gtk-immodules-cache +inherit autotools >> qt4x11 >> >> >> SRC_URI = >> "git://gitorious.org/maliit/maliit-framework.git;branch=master \ @@ >> -16,8 +16,9 @@ SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc" PV = >> "0.92.3+git${SRCPV}" >> >> >> -PACKAGES =+ "${PN}-gtk" -GTKIMMODULES_PACKAGES = "${PN}-gtk" +PACKAGES >> =+ "\ + ${PN}-gtk \ + " >> >> # Maliit needs Qt configured with -accessibility, a patch for that was >> already sent and will get merged in post 1.2. RDEPENDS_${PN} = >> "qt4-plugin-inputmethod-imsw-multi libqtsvg4" @@ -57,12 +58,29 @@ >> EXTRA_QMAKEVARS_PRE = "\ CONFIG+=local-install \ " >> >> -EXTRA_OEMAKE += "INSTALL_ROOT=${D}" +do_install() { + cd ${S} && >> (INSTALL_ROOT=${D} oe_runmake install) >> >> -do_install_append() { #Fix absolute paths - sed -i -e >> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >> ${D}/${datadir}/qt4/mkspecs/features/maliit-framework.prf - sed -i >> -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >> ${D}/${datadir}/qt4/mkspecs/features/maliit-plugins.prf + cd >> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-framework.prf + cd >> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-plugins.prf +} + + + >> +# Update the inputmethod modules in gtk +pkg_postinst_${PN}-gtk() { >> +if [ "x$D" != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >> /etc/gtk-2.0/gtk.immodules +} + +pkg_postrm_${PN}-gtk() { +if [ "x$D" >> != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >> /etc/gtk-2.0/gtk.immodules } >> >> S= "${WORKDIR}/git" >> >> >> _______________________________________________ Openembedded-commits >> mailing list >> Openembedded-commits@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits > >> > Hi, can this be re-applied please? > > The .bbclass was taken in OE-Core with commit: [1] > > [1] > https://github.com/openembedded/oe-core/commit/c67f64e5846bb2a6774e61a4f3719c5f82fc3bd8 That's > not present in the danny branch, see the RFC I sent about that a few days ago. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFQj7vmMkyGM64RGpERAj1SAJ9ozJzcWiIZaeYYsRvRC0vfYM3kYACgpCnu fjQDb9JsGhFaGQ0bJgjkTxo= =6kZU -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Koen Kooi : Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" 2012-10-30 11:37 ` Koen Kooi @ 2012-10-30 13:13 ` Samuel Stirtzel 2012-12-03 13:19 ` Martin Jansa 0 siblings, 1 reply; 7+ messages in thread From: Samuel Stirtzel @ 2012-10-30 13:13 UTC (permalink / raw) To: openembedded-devel 2012/10/30 Koen Kooi <koen@dominion.thruhere.net>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Op 30-10-12 10:24, Samuel Stirtzel schreef: >> 2012/10/24 <git@git.openembedded.org>: >>> Module: meta-openembedded.git Branch: master Commit: >>> 80ef3c0aa0f92e93d1581e47ccb77a04022d04cf URL: >>> http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=80ef3c0aa0f92e93d1581e47ccb77a04022d04cf >>> >>> >>> > Author: Koen Kooi <koen@dominion.thruhere.net> >>> Date: Wed Oct 24 08:39:12 2012 +0200 >>> >>> Revert "maliit-framework: Clean up recipe and use >>> gtk-immodules-cache.bbclass" >>> >>> The class hasn't hit oe-core yet >>> >>> This reverts commit eb66e508e33ccbec8299041265eef183913a3a8c. >>> >>> --- >>> >>> .../recipes-support/maliit/maliit-framework_git.bb | 32 >>> +++++++++++++++---- 1 files changed, 25 insertions(+), 7 deletions(-) >>> >>> diff --git a/meta-oe/recipes-support/maliit/maliit-framework_git.bb >>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb index >>> 534a3c8..3f50d1b 100644 --- >>> a/meta-oe/recipes-support/maliit/maliit-framework_git.bb +++ >>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb @@ -4,7 +4,7 >>> @@ HOMEPAGE = "https://wiki.maliit.org/Main_Page" LICENSE = "LGPLv2.1" >>> LIC_FILES_CHKSUM = >>> "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" >>> >>> -inherit autotools qt4x11 gtk-immodules-cache +inherit autotools >>> qt4x11 >>> >>> >>> SRC_URI = >>> "git://gitorious.org/maliit/maliit-framework.git;branch=master \ @@ >>> -16,8 +16,9 @@ SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc" PV = >>> "0.92.3+git${SRCPV}" >>> >>> >>> -PACKAGES =+ "${PN}-gtk" -GTKIMMODULES_PACKAGES = "${PN}-gtk" +PACKAGES >>> =+ "\ + ${PN}-gtk \ + " >>> >>> # Maliit needs Qt configured with -accessibility, a patch for that was >>> already sent and will get merged in post 1.2. RDEPENDS_${PN} = >>> "qt4-plugin-inputmethod-imsw-multi libqtsvg4" @@ -57,12 +58,29 @@ >>> EXTRA_QMAKEVARS_PRE = "\ CONFIG+=local-install \ " >>> >>> -EXTRA_OEMAKE += "INSTALL_ROOT=${D}" +do_install() { + cd ${S} && >>> (INSTALL_ROOT=${D} oe_runmake install) >>> >>> -do_install_append() { #Fix absolute paths - sed -i -e >>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >>> ${D}/${datadir}/qt4/mkspecs/features/maliit-framework.prf - sed -i >>> -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >>> ${D}/${datadir}/qt4/mkspecs/features/maliit-plugins.prf + cd >>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-framework.prf + cd >>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-plugins.prf +} + + + >>> +# Update the inputmethod modules in gtk +pkg_postinst_${PN}-gtk() { >>> +if [ "x$D" != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >>> /etc/gtk-2.0/gtk.immodules +} + +pkg_postrm_${PN}-gtk() { +if [ "x$D" >>> != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >>> /etc/gtk-2.0/gtk.immodules } >>> >>> S= "${WORKDIR}/git" >>> >>> >>> _______________________________________________ Openembedded-commits >>> mailing list >>> Openembedded-commits@lists.openembedded.org >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits >> >>> >> Hi, can this be re-applied please? >> >> The .bbclass was taken in OE-Core with commit: [1] >> >> [1] >> https://github.com/openembedded/oe-core/commit/c67f64e5846bb2a6774e61a4f3719c5f82fc3bd8 > > > That's >> > not present in the danny branch, see the RFC I sent about that a few > days ago. Alright, this can wait until release branching is done. > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Darwin) > Comment: GPGTools - http://gpgtools.org > > iD8DBQFQj7vmMkyGM64RGpERAj1SAJ9ozJzcWiIZaeYYsRvRC0vfYM3kYACgpCnu > fjQDb9JsGhFaGQ0bJgjkTxo= > =6kZU > -----END PGP SIGNATURE----- > > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel -- Regards Samuel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Koen Kooi : Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" 2012-10-30 13:13 ` Samuel Stirtzel @ 2012-12-03 13:19 ` Martin Jansa 2012-12-03 16:23 ` Samuel Stirtzel 0 siblings, 1 reply; 7+ messages in thread From: Martin Jansa @ 2012-12-03 13:19 UTC (permalink / raw) To: openembedded-devel On Tue, Oct 30, 2012 at 2:13 PM, Samuel Stirtzel <s.stirtzel@googlemail.com> wrote: > 2012/10/30 Koen Kooi <koen@dominion.thruhere.net>: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Op 30-10-12 10:24, Samuel Stirtzel schreef: >>> 2012/10/24 <git@git.openembedded.org>: >>>> Module: meta-openembedded.git Branch: master Commit: >>>> 80ef3c0aa0f92e93d1581e47ccb77a04022d04cf URL: >>>> http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=80ef3c0aa0f92e93d1581e47ccb77a04022d04cf >>>> >>>> >>>> >> Author: Koen Kooi <koen@dominion.thruhere.net> >>>> Date: Wed Oct 24 08:39:12 2012 +0200 >>>> >>>> Revert "maliit-framework: Clean up recipe and use >>>> gtk-immodules-cache.bbclass" >>>> >>>> The class hasn't hit oe-core yet >>>> >>>> This reverts commit eb66e508e33ccbec8299041265eef183913a3a8c. >>>> >>>> --- >>>> >>>> .../recipes-support/maliit/maliit-framework_git.bb | 32 >>>> +++++++++++++++---- 1 files changed, 25 insertions(+), 7 deletions(-) >>>> >>>> diff --git a/meta-oe/recipes-support/maliit/maliit-framework_git.bb >>>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb index >>>> 534a3c8..3f50d1b 100644 --- >>>> a/meta-oe/recipes-support/maliit/maliit-framework_git.bb +++ >>>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb @@ -4,7 +4,7 >>>> @@ HOMEPAGE = "https://wiki.maliit.org/Main_Page" LICENSE = "LGPLv2.1" >>>> LIC_FILES_CHKSUM = >>>> "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" >>>> >>>> -inherit autotools qt4x11 gtk-immodules-cache +inherit autotools >>>> qt4x11 >>>> >>>> >>>> SRC_URI = >>>> "git://gitorious.org/maliit/maliit-framework.git;branch=master \ @@ >>>> -16,8 +16,9 @@ SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc" PV = >>>> "0.92.3+git${SRCPV}" >>>> >>>> >>>> -PACKAGES =+ "${PN}-gtk" -GTKIMMODULES_PACKAGES = "${PN}-gtk" +PACKAGES >>>> =+ "\ + ${PN}-gtk \ + " >>>> >>>> # Maliit needs Qt configured with -accessibility, a patch for that was >>>> already sent and will get merged in post 1.2. RDEPENDS_${PN} = >>>> "qt4-plugin-inputmethod-imsw-multi libqtsvg4" @@ -57,12 +58,29 @@ >>>> EXTRA_QMAKEVARS_PRE = "\ CONFIG+=local-install \ " >>>> >>>> -EXTRA_OEMAKE += "INSTALL_ROOT=${D}" +do_install() { + cd ${S} && >>>> (INSTALL_ROOT=${D} oe_runmake install) >>>> >>>> -do_install_append() { #Fix absolute paths - sed -i -e >>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >>>> ${D}/${datadir}/qt4/mkspecs/features/maliit-framework.prf - sed -i >>>> -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >>>> ${D}/${datadir}/qt4/mkspecs/features/maliit-plugins.prf + cd >>>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-framework.prf + cd >>>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-plugins.prf +} + + + >>>> +# Update the inputmethod modules in gtk +pkg_postinst_${PN}-gtk() { >>>> +if [ "x$D" != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >>>> /etc/gtk-2.0/gtk.immodules +} + +pkg_postrm_${PN}-gtk() { +if [ "x$D" >>>> != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >>>> /etc/gtk-2.0/gtk.immodules } >>>> >>>> S= "${WORKDIR}/git" >>>> >>>> >>>> _______________________________________________ Openembedded-commits >>>> mailing list >>>> Openembedded-commits@lists.openembedded.org >>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits >>> >>>> >>> Hi, can this be re-applied please? >>> >>> The .bbclass was taken in OE-Core with commit: [1] >>> >>> [1] >>> https://github.com/openembedded/oe-core/commit/c67f64e5846bb2a6774e61a4f3719c5f82fc3bd8 >> >> >> That's >>> >> not present in the danny branch, see the RFC I sent about that a few >> days ago. > > Alright, this can wait until release branching is done. Even with this patch applied I still see a lot of QA ERRORs in my build: ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings/.debug/maliit-exampleapp-settings ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: maliit-framework-doc path '/work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk3-python/libdummy.so' ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: maliit-framework-doc path '/work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk3-python/.debug/libdummy.so' ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk3-python/.debug/libdummy.so ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk3-python/.debug/libdummy.so.1.0.0 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk3-python/.debug/libdummy.so.1.0 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk3-python/.debug/libdummy.so.1 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk2/.debug/maliit-exampleapp-gtk2 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/embedded/.debug/maliit-exampleapp-embedded ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/allinputmethods/.debug/maliit-exampleapp-allinputmethods ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/widgetproperties/.debug/maliit-exampleapp-widgetproperties ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/plainqt/.debug/maliit-exampleapp-plainqt ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk2-overrides/.debug/maliit-exampleapp-gtk2-overrides ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: maliit-framework-doc path '/work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings-python3/libdummy.so' ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: maliit-framework-doc path '/work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings-python3/.debug/libdummy.so' ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings-python3/.debug/libdummy.so ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings-python3/.debug/libdummy.so.1.0.0 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings-python3/.debug/libdummy.so.1.0 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings-python3/.debug/libdummy.so.1 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/server-embedded/.debug/maliit-example-embedded-server ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk3/.debug/maliit-exampleapp-gtk3 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/gtk3-overrides/.debug/maliit-exampleapp-gtk3-overrides ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/twofields/.debug/maliit-exampleapp-twofields ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: maliit-framework-doc path '/work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/qml/helloworld/libdummy.so' ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: maliit-framework-doc path '/work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/qml/helloworld/.debug/libdummy.so' ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/qml/helloworld/.debug/libdummy.so ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/qml/helloworld/.debug/libdummy.so.1.0.0 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/qml/helloworld/.debug/libdummy.so.1.0 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/qml/helloworld/.debug/libdummy.so.1 ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/qml/cyclekeys/.debug/libqmlcyclekeysplugin.so ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/qml/override/.debug/libqmloverrideplugin.so ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/cxx/helloworld/.debug/libcxxhelloworldplugin.so ERROR: QA Issue: non debug package contains .debug directory: maliit-framework-doc path /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/plugins/cxx/override/.debug/libcxxoverrideplugin.so Cheers, ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Koen Kooi : Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" 2012-12-03 13:19 ` Martin Jansa @ 2012-12-03 16:23 ` Samuel Stirtzel 2012-12-03 18:56 ` Martin Jansa 0 siblings, 1 reply; 7+ messages in thread From: Samuel Stirtzel @ 2012-12-03 16:23 UTC (permalink / raw) To: openembedded-devel 2012/12/3 Martin Jansa <martin.jansa@gmail.com>: > On Tue, Oct 30, 2012 at 2:13 PM, Samuel Stirtzel > <s.stirtzel@googlemail.com> wrote: >> 2012/10/30 Koen Kooi <koen@dominion.thruhere.net>: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> Op 30-10-12 10:24, Samuel Stirtzel schreef: >>>> 2012/10/24 <git@git.openembedded.org>: >>>>> Module: meta-openembedded.git Branch: master Commit: >>>>> 80ef3c0aa0f92e93d1581e47ccb77a04022d04cf URL: >>>>> http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=80ef3c0aa0f92e93d1581e47ccb77a04022d04cf >>>>> >>>>> >>>>> >>> Author: Koen Kooi <koen@dominion.thruhere.net> >>>>> Date: Wed Oct 24 08:39:12 2012 +0200 >>>>> >>>>> Revert "maliit-framework: Clean up recipe and use >>>>> gtk-immodules-cache.bbclass" >>>>> >>>>> The class hasn't hit oe-core yet >>>>> >>>>> This reverts commit eb66e508e33ccbec8299041265eef183913a3a8c. >>>>> >>>>> --- >>>>> >>>>> .../recipes-support/maliit/maliit-framework_git.bb | 32 >>>>> +++++++++++++++---- 1 files changed, 25 insertions(+), 7 deletions(-) >>>>> >>>>> diff --git a/meta-oe/recipes-support/maliit/maliit-framework_git.bb >>>>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb index >>>>> 534a3c8..3f50d1b 100644 --- >>>>> a/meta-oe/recipes-support/maliit/maliit-framework_git.bb +++ >>>>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb @@ -4,7 +4,7 >>>>> @@ HOMEPAGE = "https://wiki.maliit.org/Main_Page" LICENSE = "LGPLv2.1" >>>>> LIC_FILES_CHKSUM = >>>>> "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" >>>>> >>>>> -inherit autotools qt4x11 gtk-immodules-cache +inherit autotools >>>>> qt4x11 >>>>> >>>>> >>>>> SRC_URI = >>>>> "git://gitorious.org/maliit/maliit-framework.git;branch=master \ @@ >>>>> -16,8 +16,9 @@ SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc" PV = >>>>> "0.92.3+git${SRCPV}" >>>>> >>>>> >>>>> -PACKAGES =+ "${PN}-gtk" -GTKIMMODULES_PACKAGES = "${PN}-gtk" +PACKAGES >>>>> =+ "\ + ${PN}-gtk \ + " >>>>> >>>>> # Maliit needs Qt configured with -accessibility, a patch for that was >>>>> already sent and will get merged in post 1.2. RDEPENDS_${PN} = >>>>> "qt4-plugin-inputmethod-imsw-multi libqtsvg4" @@ -57,12 +58,29 @@ >>>>> EXTRA_QMAKEVARS_PRE = "\ CONFIG+=local-install \ " >>>>> >>>>> -EXTRA_OEMAKE += "INSTALL_ROOT=${D}" +do_install() { + cd ${S} && >>>>> (INSTALL_ROOT=${D} oe_runmake install) >>>>> >>>>> -do_install_append() { #Fix absolute paths - sed -i -e >>>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >>>>> ${D}/${datadir}/qt4/mkspecs/features/maliit-framework.prf - sed -i >>>>> -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >>>>> ${D}/${datadir}/qt4/mkspecs/features/maliit-plugins.prf + cd >>>>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >>>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-framework.prf + cd >>>>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >>>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-plugins.prf +} + + + >>>>> +# Update the inputmethod modules in gtk +pkg_postinst_${PN}-gtk() { >>>>> +if [ "x$D" != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >>>>> /etc/gtk-2.0/gtk.immodules +} + +pkg_postrm_${PN}-gtk() { +if [ "x$D" >>>>> != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >>>>> /etc/gtk-2.0/gtk.immodules } >>>>> >>>>> S= "${WORKDIR}/git" >>>>> >>>>> >>>>> _______________________________________________ Openembedded-commits >>>>> mailing list >>>>> Openembedded-commits@lists.openembedded.org >>>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits >>>> >>>>> >>>> Hi, can this be re-applied please? >>>> >>>> The .bbclass was taken in OE-Core with commit: [1] >>>> >>>> [1] >>>> https://github.com/openembedded/oe-core/commit/c67f64e5846bb2a6774e61a4f3719c5f82fc3bd8 >>> >>> >>> That's >>>> >>> not present in the danny branch, see the RFC I sent about that a few >>> days ago. >> >> Alright, this can wait until release branching is done. > > Even with this patch applied I still see a lot of QA ERRORs in my build: > > ERROR: QA Issue: non debug package contains .debug directory: > maliit-framework-doc path > /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings/.debug/maliit-exampleapp-settings Seems odd, I can't reproduce the problem. Can you post the content of your log.do_configure (or at least the "qmake prevar substitution:"). Tested with Qt 4.8.1 and 4.8.3, nothing gives me any QA errors. Do you have any custom config switches for Qt? I can't imagine that debug files end up in the maliit-framework-doc package. This recipe was tested on Ubuntu and Fedora with OpenEmbedded updated last friday, no QA errors. How can applications and .so files end up at /usr/share at all? Here is my "tree -A" of the package-split directory: http://pastebin.com/D94attXb -- Regards Samuel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Koen Kooi : Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" 2012-12-03 16:23 ` Samuel Stirtzel @ 2012-12-03 18:56 ` Martin Jansa 2012-12-04 7:19 ` Samuel Stirtzel 0 siblings, 1 reply; 7+ messages in thread From: Martin Jansa @ 2012-12-03 18:56 UTC (permalink / raw) To: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 5546 bytes --] On Mon, Dec 03, 2012 at 05:23:07PM +0100, Samuel Stirtzel wrote: > 2012/12/3 Martin Jansa <martin.jansa@gmail.com>: > > On Tue, Oct 30, 2012 at 2:13 PM, Samuel Stirtzel > > <s.stirtzel@googlemail.com> wrote: > >> 2012/10/30 Koen Kooi <koen@dominion.thruhere.net>: > >>> -----BEGIN PGP SIGNED MESSAGE----- > >>> Hash: SHA1 > >>> > >>> Op 30-10-12 10:24, Samuel Stirtzel schreef: > >>>> 2012/10/24 <git@git.openembedded.org>: > >>>>> Module: meta-openembedded.git Branch: master Commit: > >>>>> 80ef3c0aa0f92e93d1581e47ccb77a04022d04cf URL: > >>>>> http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=80ef3c0aa0f92e93d1581e47ccb77a04022d04cf > >>>>> > >>>>> > >>>>> > >>> Author: Koen Kooi <koen@dominion.thruhere.net> > >>>>> Date: Wed Oct 24 08:39:12 2012 +0200 > >>>>> > >>>>> Revert "maliit-framework: Clean up recipe and use > >>>>> gtk-immodules-cache.bbclass" > >>>>> > >>>>> The class hasn't hit oe-core yet > >>>>> > >>>>> This reverts commit eb66e508e33ccbec8299041265eef183913a3a8c. > >>>>> > >>>>> --- > >>>>> > >>>>> .../recipes-support/maliit/maliit-framework_git.bb | 32 > >>>>> +++++++++++++++---- 1 files changed, 25 insertions(+), 7 deletions(-) > >>>>> > >>>>> diff --git a/meta-oe/recipes-support/maliit/maliit-framework_git.bb > >>>>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb index > >>>>> 534a3c8..3f50d1b 100644 --- > >>>>> a/meta-oe/recipes-support/maliit/maliit-framework_git.bb +++ > >>>>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb @@ -4,7 +4,7 > >>>>> @@ HOMEPAGE = "https://wiki.maliit.org/Main_Page" LICENSE = "LGPLv2.1" > >>>>> LIC_FILES_CHKSUM = > >>>>> "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" > >>>>> > >>>>> -inherit autotools qt4x11 gtk-immodules-cache +inherit autotools > >>>>> qt4x11 > >>>>> > >>>>> > >>>>> SRC_URI = > >>>>> "git://gitorious.org/maliit/maliit-framework.git;branch=master \ @@ > >>>>> -16,8 +16,9 @@ SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc" PV = > >>>>> "0.92.3+git${SRCPV}" > >>>>> > >>>>> > >>>>> -PACKAGES =+ "${PN}-gtk" -GTKIMMODULES_PACKAGES = "${PN}-gtk" +PACKAGES > >>>>> =+ "\ + ${PN}-gtk \ + " > >>>>> > >>>>> # Maliit needs Qt configured with -accessibility, a patch for that was > >>>>> already sent and will get merged in post 1.2. RDEPENDS_${PN} = > >>>>> "qt4-plugin-inputmethod-imsw-multi libqtsvg4" @@ -57,12 +58,29 @@ > >>>>> EXTRA_QMAKEVARS_PRE = "\ CONFIG+=local-install \ " > >>>>> > >>>>> -EXTRA_OEMAKE += "INSTALL_ROOT=${D}" +do_install() { + cd ${S} && > >>>>> (INSTALL_ROOT=${D} oe_runmake install) > >>>>> > >>>>> -do_install_append() { #Fix absolute paths - sed -i -e > >>>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" > >>>>> ${D}/${datadir}/qt4/mkspecs/features/maliit-framework.prf - sed -i > >>>>> -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" > >>>>> ${D}/${datadir}/qt4/mkspecs/features/maliit-plugins.prf + cd > >>>>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e > >>>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-framework.prf + cd > >>>>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e > >>>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-plugins.prf +} + + + > >>>>> +# Update the inputmethod modules in gtk +pkg_postinst_${PN}-gtk() { > >>>>> +if [ "x$D" != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > > >>>>> /etc/gtk-2.0/gtk.immodules +} + +pkg_postrm_${PN}-gtk() { +if [ "x$D" > >>>>> != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > > >>>>> /etc/gtk-2.0/gtk.immodules } > >>>>> > >>>>> S= "${WORKDIR}/git" > >>>>> > >>>>> > >>>>> _______________________________________________ Openembedded-commits > >>>>> mailing list > >>>>> Openembedded-commits@lists.openembedded.org > >>>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits > >>>> > >>>>> > >>>> Hi, can this be re-applied please? > >>>> > >>>> The .bbclass was taken in OE-Core with commit: [1] > >>>> > >>>> [1] > >>>> https://github.com/openembedded/oe-core/commit/c67f64e5846bb2a6774e61a4f3719c5f82fc3bd8 > >>> > >>> > >>> That's > >>>> > >>> not present in the danny branch, see the RFC I sent about that a few > >>> days ago. > >> > >> Alright, this can wait until release branching is done. > > > > Even with this patch applied I still see a lot of QA ERRORs in my build: > > > > ERROR: QA Issue: non debug package contains .debug directory: > > maliit-framework-doc path > > /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings/.debug/maliit-exampleapp-settings > > Seems odd, I can't reproduce the problem. > Can you post the content of your log.do_configure (or at least the > "qmake prevar substitution:"). > > > Tested with Qt 4.8.1 and 4.8.3, nothing gives me any QA errors. > Do you have any custom config switches for Qt? I can't imagine that > debug files end up in the maliit-framework-doc package. > This recipe was tested on Ubuntu and Fedora with OpenEmbedded updated > last friday, no QA errors. > How can applications and .so files end up at /usr/share at all? Well they are in examples directory, so the difference of my build is that examples got built and installed. Here is whole temp dir: http://build.shr-project.org/tests/jama/maliit-framework-temp/ Cheers, -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Koen Kooi : Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" 2012-12-03 18:56 ` Martin Jansa @ 2012-12-04 7:19 ` Samuel Stirtzel 0 siblings, 0 replies; 7+ messages in thread From: Samuel Stirtzel @ 2012-12-04 7:19 UTC (permalink / raw) To: openembedded-devel 2012/12/3 Martin Jansa <martin.jansa@gmail.com>: > On Mon, Dec 03, 2012 at 05:23:07PM +0100, Samuel Stirtzel wrote: >> 2012/12/3 Martin Jansa <martin.jansa@gmail.com>: >> > On Tue, Oct 30, 2012 at 2:13 PM, Samuel Stirtzel >> > <s.stirtzel@googlemail.com> wrote: >> >> 2012/10/30 Koen Kooi <koen@dominion.thruhere.net>: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >> >>> Hash: SHA1 >> >>> >> >>> Op 30-10-12 10:24, Samuel Stirtzel schreef: >> >>>> 2012/10/24 <git@git.openembedded.org>: >> >>>>> Module: meta-openembedded.git Branch: master Commit: >> >>>>> 80ef3c0aa0f92e93d1581e47ccb77a04022d04cf URL: >> >>>>> http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=80ef3c0aa0f92e93d1581e47ccb77a04022d04cf >> >>>>> >> >>>>> >> >>>>> >> >>> Author: Koen Kooi <koen@dominion.thruhere.net> >> >>>>> Date: Wed Oct 24 08:39:12 2012 +0200 >> >>>>> >> >>>>> Revert "maliit-framework: Clean up recipe and use >> >>>>> gtk-immodules-cache.bbclass" >> >>>>> >> >>>>> The class hasn't hit oe-core yet >> >>>>> >> >>>>> This reverts commit eb66e508e33ccbec8299041265eef183913a3a8c. >> >>>>> >> >>>>> --- >> >>>>> >> >>>>> .../recipes-support/maliit/maliit-framework_git.bb | 32 >> >>>>> +++++++++++++++---- 1 files changed, 25 insertions(+), 7 deletions(-) >> >>>>> >> >>>>> diff --git a/meta-oe/recipes-support/maliit/maliit-framework_git.bb >> >>>>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb index >> >>>>> 534a3c8..3f50d1b 100644 --- >> >>>>> a/meta-oe/recipes-support/maliit/maliit-framework_git.bb +++ >> >>>>> b/meta-oe/recipes-support/maliit/maliit-framework_git.bb @@ -4,7 +4,7 >> >>>>> @@ HOMEPAGE = "https://wiki.maliit.org/Main_Page" LICENSE = "LGPLv2.1" >> >>>>> LIC_FILES_CHKSUM = >> >>>>> "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad" >> >>>>> >> >>>>> -inherit autotools qt4x11 gtk-immodules-cache +inherit autotools >> >>>>> qt4x11 >> >>>>> >> >>>>> >> >>>>> SRC_URI = >> >>>>> "git://gitorious.org/maliit/maliit-framework.git;branch=master \ @@ >> >>>>> -16,8 +16,9 @@ SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc" PV = >> >>>>> "0.92.3+git${SRCPV}" >> >>>>> >> >>>>> >> >>>>> -PACKAGES =+ "${PN}-gtk" -GTKIMMODULES_PACKAGES = "${PN}-gtk" +PACKAGES >> >>>>> =+ "\ + ${PN}-gtk \ + " >> >>>>> >> >>>>> # Maliit needs Qt configured with -accessibility, a patch for that was >> >>>>> already sent and will get merged in post 1.2. RDEPENDS_${PN} = >> >>>>> "qt4-plugin-inputmethod-imsw-multi libqtsvg4" @@ -57,12 +58,29 @@ >> >>>>> EXTRA_QMAKEVARS_PRE = "\ CONFIG+=local-install \ " >> >>>>> >> >>>>> -EXTRA_OEMAKE += "INSTALL_ROOT=${D}" +do_install() { + cd ${S} && >> >>>>> (INSTALL_ROOT=${D} oe_runmake install) >> >>>>> >> >>>>> -do_install_append() { #Fix absolute paths - sed -i -e >> >>>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >> >>>>> ${D}/${datadir}/qt4/mkspecs/features/maliit-framework.prf - sed -i >> >>>>> -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" >> >>>>> ${D}/${datadir}/qt4/mkspecs/features/maliit-plugins.prf + cd >> >>>>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >> >>>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-framework.prf + cd >> >>>>> ${D}/${datadir}/qt4/mkspecs/features && sed -i -e >> >>>>> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-plugins.prf +} + + + >> >>>>> +# Update the inputmethod modules in gtk +pkg_postinst_${PN}-gtk() { >> >>>>> +if [ "x$D" != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >> >>>>> /etc/gtk-2.0/gtk.immodules +} + +pkg_postrm_${PN}-gtk() { +if [ "x$D" >> >>>>> != "x" ]; then + exit 1 +fi +gtk-query-immodules-2.0 > >> >>>>> /etc/gtk-2.0/gtk.immodules } >> >>>>> >> >>>>> S= "${WORKDIR}/git" >> >>>>> >> >>>>> >> >>>>> _______________________________________________ Openembedded-commits >> >>>>> mailing list >> >>>>> Openembedded-commits@lists.openembedded.org >> >>>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits >> >>>> >> >>>>> >> >>>> Hi, can this be re-applied please? >> >>>> >> >>>> The .bbclass was taken in OE-Core with commit: [1] >> >>>> >> >>>> [1] >> >>>> https://github.com/openembedded/oe-core/commit/c67f64e5846bb2a6774e61a4f3719c5f82fc3bd8 >> >>> >> >>> >> >>> That's >> >>>> >> >>> not present in the danny branch, see the RFC I sent about that a few >> >>> days ago. >> >> >> >> Alright, this can wait until release branching is done. >> > >> > Even with this patch applied I still see a lot of QA ERRORs in my build: >> > >> > ERROR: QA Issue: non debug package contains .debug directory: >> > maliit-framework-doc path >> > /work/armv7a-vfp-neon-oe-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/packages-split/maliit-framework-doc/usr/share/doc/maliit-framework/maliit-sdk/examples/apps/settings/.debug/maliit-exampleapp-settings >> >> Seems odd, I can't reproduce the problem. >> Can you post the content of your log.do_configure (or at least the >> "qmake prevar substitution:"). >> >> >> Tested with Qt 4.8.1 and 4.8.3, nothing gives me any QA errors. >> Do you have any custom config switches for Qt? I can't imagine that >> debug files end up in the maliit-framework-doc package. >> This recipe was tested on Ubuntu and Fedora with OpenEmbedded updated >> last friday, no QA errors. >> How can applications and .so files end up at /usr/share at all? > > Well they are in examples directory, so the difference of my build is > that examples got built and installed. Well i've got the examples too, the difference is that your build has the "SDK" enabled which installs binaries to /usr/share/doc ?! install_sdk_install: first build FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/doc/maliit-framework/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/doc/maliit-framework/ -$(INSTALL_DIR) /work/oe-core/tmp-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/maliit-framework/0.92.3+git1+750842dec74a9b17dca91ef779c4fc5a43c4d9dc-r0/git/sdk/build/maliit-sdk $(INSTALL_ROOT)/usr/share/doc/maliit-framework/ Disabling the sdk will prevent these issues, I will send a follow-up patch soon. -- Regards Samuel ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-12-04 7:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20121024064022.C7F781032E@opal>
2012-10-30 9:24 ` [oe-commits] Koen Kooi : Revert "maliit-framework: Clean up recipe and use gtk-immodules-cache.bbclass" Samuel Stirtzel
2012-10-30 11:37 ` Koen Kooi
2012-10-30 13:13 ` Samuel Stirtzel
2012-12-03 13:19 ` Martin Jansa
2012-12-03 16:23 ` Samuel Stirtzel
2012-12-03 18:56 ` Martin Jansa
2012-12-04 7:19 ` Samuel Stirtzel
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.