Re: [oe] [PATCH] juce: Updated JUCE to 5.0.1
I have sent a v2 of this patch to fix a filename. On 04/05/17 17:02, Felipe F. Tonello wrote: > JUCE 5 doesn't require juce_events to have x11 dependency anymore. Also > there were many improvements on Projucer. > > Signed-off-by: Felipe F. Tonello> --- > meta-multimedia/classes/juce.bbclass | 3 +-- > meta-multimedia/recipes-multimedia/juce/projucer.inc | 12 ++-- > 2 files changed, 7 insertions(+), 8 deletions(-) > > diff --git a/meta-multimedia/classes/juce.bbclass > b/meta-multimedia/classes/juce.bbclass > index 715282fd15c1..3927235ef13f 100644 > --- a/meta-multimedia/classes/juce.bbclass > +++ b/meta-multimedia/classes/juce.bbclass > @@ -1,8 +1,8 @@ > inherit pkgconfig > > +# List of JUCE modules that requires external dependencies > JUCE_MODULES ??= " \ >juce_core \ > - juce_events \ >${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'juce_audio_devices', '', > d)} \ >${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'juce_graphics > juce_gui_basics', '', d)} \ >${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'juce_opengl', '', d)} \ > @@ -11,7 +11,6 @@ JUCE_X11_DEPS = "libx11 libxext libxinerama libxrandr > libxcursor" > > PACKAGECONFIG_prepend= "${JUCE_MODULES} " > PACKAGECONFIG[juce_core] = ",,curl," > -PACKAGECONFIG[juce_events] = ",,libx11," > PACKAGECONFIG[juce_audio_devices] = ",,alsa-lib," > PACKAGECONFIG[juce_graphics] = ",,${JUCE_X11_DEPS} freetype," > PACKAGECONFIG[juce_gui_basics] = ",,${JUCE_X11_DEPS}," > diff --git a/meta-multimedia/recipes-multimedia/juce/projucer.inc > b/meta-multimedia/recipes-multimedia/juce/projucer.inc > index 6f696e26f928..41297f868865 100644 > --- a/meta-multimedia/recipes-multimedia/juce/projucer.inc > +++ b/meta-multimedia/recipes-multimedia/juce/projucer.inc > @@ -3,19 +3,19 @@ DESCRIPTION = "Projucer is used to build and generate > support files and build in > JUCE supported platforms, including Linux and Embedded Linux." > SECTION = "utils" > HOMEPAGE = "http://juce.com/; > -LICENSE = "GPLv2" > -LIC_FILES_CHKSUM = "file://README.txt;md5=9ab765ccda8890efc753f287911a1958" > +LICENSE = "GPLv3" > +LIC_FILES_CHKSUM = "file://README.txt;md5=65c50b4ff3522b99436da100536ccd1c" > > inherit pkgconfig > > DEPENDS = "libx11 libxext libxinerama libxrandr libxcursor freetype alsa-lib > curl" > > -SRCREV = "a8a7fa28e2e9cb19db6a27fcccb567a8ccfe6109" > -BRANCH = "develop" > -SRC_URI = > "git://github.com/julianstorer/JUCE.git;protocol=https;branch=${BRANCH}" > +SRCREV = "4f41f28b47d01b939559123d145b4e5860528bb7" > +BRANCH = "master" > +SRC_URI = > "git://github.com/WeAreROLI/JUCE.git;protocol=https;branch=${BRANCH}" > > S = "${WORKDIR}/git" > -PV = "4.2.3+git${SRCPV}" > +PV = "5.0.1" > > JUCE_PROJUCER_BUILD_PATH = "${B}/extras/Projucer/Builds" > JUCE_PROJUCER_MAKEFILE_PATH = "${JUCE_PROJUCER_BUILD_PATH}/LinuxMakefile" > -- Felipe -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 1/2] protobuf: add protobuf-c recipe
Hi Bruce, On 20/04/16 15:32, Bruce Ashfield wrote: > On Wed, Apr 20, 2016 at 4:32 AM, Felipe Ferreri Tonello < > e...@felipetonello.com> wrote: > >> Hi Bruce, >> >> On 19/04/16 20:55, Bruce Ashfield wrote: >>> On Tue, Apr 19, 2016 at 3:46 PM, Bruce Ashfield < >> bruce.ashfi...@gmail.com> >>> wrote: >>> >>>> >>>> >>>> On Tue, Apr 19, 2016 at 11:40 AM, Felipe F. Tonello < >> e...@felipetonello.com> >>>> wrote: >>>> >>>>> Initial version of recipe. The main package could be split into two to >>>>> separate the compiler. This also applies to protobuf recipe. >>>>> >>>>> >>>> More precisely, this is the initial version outside of >> meta-virtualization >>>> which enea added >>>> in 2012 :) It was added as a dependency for criu (hence why it was put >> in >>>> meta-virt). >>>> >>>> If we move it to meta-oe, we at least owe that other implementation a >>>> reference in the commit. >>>> >>>> >>> s/if/when/. >>> >>> I'm happy to purge all the protobuf* recipes from meta-virt, since they >>> were only there as >>> support mechanisms (and I wasn't involved in their original merge). >>> >>> But if you can take a look at what's in the meta-virt recipe, I'll do >> some >>> runtime testing with your >>> variant here, and drop the meta-virt ones when I can confirm criu works. >>> >> >> Regular protobuf recipe is already part of meta-oe. That's why I added >> this one there too. >> > > Sure. That's obvious from the layer index, as is the existence of the one > in meta-virt. I didn 't take it from meta-virt. The original protobuf recipe is in meta-oe. > > Credit, where credit is due. It's not my work, so I'm not asking for any > credit, > but simply duplicating something that already exists without a nod to the > older one > isn't ideal. > > All I was asking was that if you could a link to the meta-virt one in the > commit header > so that someone not familiar with the layer index can see the two options > .. and > at the same time I was wondering if you'd seen the meta-virt one and did > this one > differently for technical reasons. That makes it easier for me to drop > recipes as they > get cloned around to new (and better) locations. I am fine with that. Can you please provide the git hash so I can link it? Thanks in advance, Felipe 0x92698E6A.asc Description: application/pgp-keys -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 1/2] protobuf: add protobuf-c recipe
Hi Bruce, On 19/04/16 20:55, Bruce Ashfield wrote: > On Tue, Apr 19, 2016 at 3:46 PM, Bruce Ashfield> wrote: > >> >> >> On Tue, Apr 19, 2016 at 11:40 AM, Felipe F. Tonello >> wrote: >> >>> Initial version of recipe. The main package could be split into two to >>> separate the compiler. This also applies to protobuf recipe. >>> >>> >> More precisely, this is the initial version outside of meta-virtualization >> which enea added >> in 2012 :) It was added as a dependency for criu (hence why it was put in >> meta-virt). >> >> If we move it to meta-oe, we at least owe that other implementation a >> reference in the commit. >> >> > s/if/when/. > > I'm happy to purge all the protobuf* recipes from meta-virt, since they > were only there as > support mechanisms (and I wasn't involved in their original merge). > > But if you can take a look at what's in the meta-virt recipe, I'll do some > runtime testing with your > variant here, and drop the meta-virt ones when I can confirm criu works. > Regular protobuf recipe is already part of meta-oe. That's why I added this one there too. > Cheers, > > Bruce > > >> Did you check the version we have there for deltas ? There are differences >> in the recipe, and >> it would be good to know if you've looked and determined they aren't >> necessary. >> >> Cheers, >> >> Bruce >> >> >>> Signed-off-by: Felipe F. Tonello >>> --- >>> .../recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 26 >>> ++ >>> 1 file changed, 26 insertions(+) >>> create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb >>> >>> diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb >>> b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb >>> new file mode 100644 >>> index ..88cdb0bccd8e >>> --- /dev/null >>> +++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb >>> @@ -0,0 +1,26 @@ >>> +SUMMARY = "Protocol Buffers - structured data serialisation mechanism" >>> +DESCRIPTION = "This is protobuf-c, a C implementation of the Google >>> Protocol Buffers data \ >>> +serialization format. It includes libprotobuf-c, a pure C library that \ >>> +implements protobuf encoding and decoding, and protoc-c, a code >>> generator that \ >>> +converts Protocol Buffer .proto files to C descriptor code, based on the >>> \ >>> +original protoc. protobuf-c formerly included an RPC implementation; >>> that code \ >>> +has been split out into the protobuf-c-rpc project." >>> +HOMEPAGE = "https://github.com/protobuf-c/protobuf-c; >>> +SECTION = "console/tools" >>> +LICENSE = "BSD-2-Clause" >>> + >>> +DEPENDS = "protobuf-native protobuf" >>> + >>> +PACKAGE_BEFORE_PN = "${PN}-compiler" >>> + >>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e" >>> +SRC_URI = " >>> https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz; >>> + >>> +SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6" >>> +SRC_URI[sha256sum] = >>> "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6" >>> + >>> +inherit autotools pkgconfig >>> + >>> +FILES_${PN}-compiler = "${bindir}" >>> + >>> +BBCLASSEXTEND = "native nativesdk" >>> -- >>> 2.8.0 >>> >>> -- Felipe 0x92698E6A.asc Description: application/pgp-keys -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH v2] fluentbit: add new recipe
Hi Eduardo, On 15/04/16 15:12, Eduardo Silva wrote: > is the patch OK ? It looks fine by me. Felipe 0x92698E6A.asc Description: application/pgp-keys -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH v2] fluentbit: add new recipe
Hi Eduardo, On 04/04/16 07:12, Eduardo Silva wrote: > Fluent Bit is an open source data collector for Embedded Linux, this > patch adds the recipe for version 0.7.2. > > Project web site: http://fluentbit.io > Documentation : http://fluentbit.io/documentation/ > > Signed-off-by: Eduardo Silva> --- > meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb | 15 +++ > 1 file changed, 15 insertions(+) > create mode 100644 meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb If the project package is called fluent-bit, why did you name the recipe fluentbit? > > diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb > b/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb > new file mode 100644 > index 000..e757ee6 > --- /dev/null > +++ b/meta-oe/recipes-extended/fluentbit/fluentbit_0.7.2.bb > @@ -0,0 +1,15 @@ > +SUMMARY = "Fast data collector for Embedded Linux" > +HOMEPAGE = "http://fluentbit.io; > +BUGTRACKER = "https://github.com/fluent/fluent-bit/issues; > + > +SRC_URI = "http://fluentbit.io/releases/0.7/fluent-bit-${PV}.tar.gz; > +SRC_URI[md5sum] = "6df9d676e1d2d782a243e655e144e8ae" > +SRC_URI[sha256sum] = > "695b56ce378f56855c9554f88f5d8e4f7b11ba7691284903870f779912af4ebe" > +S = "${WORKDIR}/fluent-bit-${PV}" > + > +LICENSE = "Apache-2.0" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" > + > +DEPENDS = "zlib" > + > +inherit cmake > -- Felipe 0x92698E6A.asc Description: application/pgp-keys -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] fluentbit: add new recipe
Hi Eduardo, On 04/04/16 21:48, Eduardo Silva wrote: > Thanks. Already sent a Patch v2. Please, avoid top-posting. > On Apr 4, 2016 1:46 PM, "Paul Eggleton"> wrote: > >> On Sat, 02 Apr 2016 20:17:14 Martin Jansa wrote: >>> On Fri, Apr 01, 2016 at 11:20:49AM -0600, Eduardo Silva wrote: on this case should be "RDEPENDS_${PN} = "zlib" OK ? >>> >>> NO >> >> It's build-time so you want zlib in DEPENDS. A runtime dependency will get >> added automatically (since binaries packaged by the recipe will be linking >> against libz.so). >> >> Cheers, >> Paul >> >> -- >> >> Paul Eggleton >> Intel Open Source Technology Centre >> -- Felipe 0x92698E6A.asc Description: application/pgp-keys -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] libconnman-qt: update to 1.0.46, add recipe for qte
Hi Andreas, On 01/20/2014 07:08 AM, Andreas Oberritter wrote: * Use _git version suffix, because it really is a Git recipe. * Create an inc file to be shared between qt4x11 and qt4e. * Use CONFIG+=notests, because CONFIG+=notest has no effect now. * Reorder some variables according to style guide. * Remove unneeded PROVIDES for ${PN}-plugin, which is already listed in PACKAGES. * Hardcode branch to master, because no other branch exists upstream. * Simplify do_install. Signed-off-by: Andreas Oberritter o...@opendreambox.org --- .../{libconnman-qt_1.0.7.bb = libconnman-qt.inc} | 61 +- .../recipes-qt/libconnman-qt/libconnman-qt_git.bb | 3 ++ .../recipes-qt/libconnman-qt/libconnman-qte_git.bb | 3 ++ 3 files changed, 30 insertions(+), 37 deletions(-) rename meta-oe/recipes-qt/libconnman-qt/{libconnman-qt_1.0.7.bb = libconnman-qt.inc} (65%) create mode 100644 meta-oe/recipes-qt/libconnman-qt/libconnman-qt_git.bb create mode 100644 meta-oe/recipes-qt/libconnman-qt/libconnman-qte_git.bb diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_1.0.7.bb b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc similarity index 65% rename from meta-oe/recipes-qt/libconnman-qt/libconnman-qt_1.0.7.bb rename to meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc index 2288c4f..e4f68db 100644 --- a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_1.0.7.bb +++ b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc @@ -1,66 +1,53 @@ DESCRIPTION = Qt Library for ConnMan HOMEPAGE = https://github.com/nemomobile/libconnman-qt; +SECTION = qt/lib LICENSE = Apache-2.0 LIC_FILES_CHKSUM = file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88 +SRCREV = ddbeaf72b4d3c49285b0513b28948edacfc40b51 +PV = 1.0.46+git${SRCPV} -SECTION = qt/lib - - -inherit qt4x11 pkgconfig - -RDEPENDS_${PN} = connman -RDEPENDS_${PN}-plugin = ${PN} - -PROVIDES += ${PN}-plugin - -PACKAGES =+ ${PN}-plugin ${PN}-plugin-dbg -RRECOMMENDS_${PN} = ${PN}-plugin - -BRANCH = master -SRCREV = 6a5e4f981112a90a8c19d82bd671da389d2af993 - -SRC_URI = \ -git://github.com/nemomobile/${PN}.git;branch=${BRANCH} \ - +SRC_URI = git://github.com/nemomobile/libconnman-qt.git;branch=master S = ${WORKDIR}/git -QT_IMPORTS_DIR = ${libdir}/qt4/imports -# the plugin target needs to be the same as 'target.path' and 'qmldir.path' in ${S}/plugin/plugin.pro -PLUGINS_TARGET = ${QT_IMPORTS_DIR}/MeeGo/Connman +inherit pkgconfig -EXTRA_QMAKEVARS_PRE = \ -CONFIG+=notest \ - +EXTRA_QMAKEVARS_PRE = CONFIG+=notests do_configure_prepend() { # Hack *.pro variables find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';' } - do_install() { -export INSTALL_ROOT=${D} -oe_runmake install +oe_runmake install INSTALL_ROOT=${D} Are you sure this works with dash? Because the reason why I did the previous was to work in dash as well. } +PACKAGES =+ ${PN}-plugin ${PN}-plugin-dbg + +RDEPENDS_${PN} = connman +RDEPENDS_${PN}-plugin = ${PN} + +RRECOMMENDS_${PN} = ${PN}-plugin + FILES_${PN} = \ -${libdir}/libconnman-qt4${SOLIBS} \ +${libdir}/libconnman-qt*${SOLIBS} \ - FILES_${PN}-dev = \ -${includedir}/connman-qt/* \ -${libdir}/libconnman-qt4${SOLIBSDEV} \ -${libdir}/libconnman-qt4.prl \ -${libdir}/pkgconfig/connman-qt4.pc \ -${libdir}/connman-qt4.pc \ +${includedir}/connman-qt*/* \ +${libdir}/libconnman-qt*${SOLIBSDEV} \ +${libdir}/libconnman-qt*.prl \ +${libdir}/pkgconfig/connman-qt*.pc \ +${libdir}/connman-qt*.pc \ - FILES_${PN}-plugin = \ ${PLUGINS_TARGET}/qmldir \ ${PLUGINS_TARGET}/lib*.so \ - FILES_${PN}-plugin-dbg = \ ${PLUGINS_TARGET}/.debug \ ${PLUGINS_TARGET}/.debug/* \ + +QT_IMPORTS_DIR = ${libdir}/qt4/imports Doesn't Qt4 Embedded uses ${libdir}/qte/imports? Felipe ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] packagekit: Updated to 0.8.13
On 12/16/2013 02:25 PM, Felipe F. Tonello wrote: From: Felipe F. Tonello e...@felipetonello.com Packagekit will compile support for all backend supported by OE-core. Images that want to install packagekit should specify its correct backend dependency as well. Ex.: install the following packages to an image that uses rpm: * packagekit * packagekit-backend-smart Signed-off-by: Felipe F. Tonello e...@felipetonello.com --- ...deprecated-glib-functions-and-use-the-new.patch | 166 .../packagekit/packagekit-0.5.6/configurefix.patch | 13 - .../packagekit/packagekit-0.5.6/opkgfixes.patch| 422 - .../packagekit/packagekit_0.5.6.bb | 62 --- .../packagekit/packagekit_0.8.13.bb| 64 5 files changed, 64 insertions(+), 663 deletions(-) delete mode 100644 meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/0001-Don-t-call-deprecated-glib-functions-and-use-the-new.patch delete mode 100644 meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/configurefix.patch delete mode 100644 meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/opkgfixes.patch delete mode 100644 meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb create mode 100644 meta-oe/recipes-devtools/packagekit/packagekit_0.8.13.bb Any updates on this? Felipe ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH v2] packagekit: Updated to 0.8.13
Hi Martin On 01/22/2014 10:02 AM, Martin Jansa wrote: On Wed, Jan 22, 2014 at 09:42:40AM -0800, Felipe Ferreri Tonello wrote: On 12/16/2013 02:25 PM, Felipe F. Tonello wrote: From: Felipe F. Tonello e...@felipetonello.com Packagekit will compile support for all backend supported by OE-core. Images that want to install packagekit should specify its correct backend dependency as well. Ex.: install the following packages to an image that uses rpm: * packagekit * packagekit-backend-smart Signed-off-by: Felipe F. Tonello e...@felipetonello.com --- ...deprecated-glib-functions-and-use-the-new.patch | 166 .../packagekit/packagekit-0.5.6/configurefix.patch | 13 - .../packagekit/packagekit-0.5.6/opkgfixes.patch| 422 - .../packagekit/packagekit_0.5.6.bb | 62 --- .../packagekit/packagekit_0.8.13.bb| 64 5 files changed, 64 insertions(+), 663 deletions(-) delete mode 100644 meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/0001-Don-t-call-deprecated-glib-functions-and-use-the-new.patch delete mode 100644 meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/configurefix.patch delete mode 100644 meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/opkgfixes.patch delete mode 100644 meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb create mode 100644 meta-oe/recipes-devtools/packagekit/packagekit_0.8.13.bb Looks good to me, I'm just waiting for Koen's ACK as he had some comments before. It seems that is crashing because of python-apt. I will have to check this later. Felipe ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] packagekit: Updated to 0.8.13
Hi Koen, On 12/11/2013 12:40 AM, Koen Kooi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felipe Ferreri Tonello schreef op 10-12-13 18:29: Hi Koen, On 12/10/2013 01:26 AM, Koen Kooi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felipe Tonello schreef op 10-12-13 02:17: It does split into packages. I splited it up in packages just so if the user wants to have different backend options, it can. The problem with this aproach, is that you will add the apt and opkg dependency to the build even if the user doesn't care about it. I don't like this option to be honest. It's only 2 small build time dependencies saving a lot of rebuilding and runtime headaches. So what's your suggestion for me to fix this patch? Go with option 2) What do you suggest to do with regards the --with-default-backend= configure param? Felipe ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] packagekit: Updated to 0.8.13
Hi Koen, On 12/10/2013 01:26 AM, Koen Kooi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felipe Tonello schreef op 10-12-13 02:17: It does split into packages. I splited it up in packages just so if the user wants to have different backend options, it can. The problem with this aproach, is that you will add the apt and opkg dependency to the build even if the user doesn't care about it. I don't like this option to be honest. It's only 2 small build time dependencies saving a lot of rebuilding and runtime headaches. So what's your suggestion for me to fix this patch? Felipe ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] connman: updated libconnman-qt to 1.0.7
Hi Martin, On Friday, May 17, 2013 08:11:59 PM Martin Jansa wrote: On Fri, May 17, 2013 at 10:55:25AM -0700, Felipe Ferreri Tonello wrote: On Friday, May 10, 2013 05:04:22 PM you wrote: From: Felipe F. Tonello e...@felipetonello.com This new recipe version requires the changes in this patch: http://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg 3814 8.html Signed-off-by: Felipe F. Tonello e...@felipetonello.com --- ...-to-disable-qml-plugin-and-test-program-t.patch | 37 .../libconnman-qt/libconnman-qt_0.4.0.bb | 69 -- .../libconnman-qt/libconnman-qt_1.0.7.bb | 67 + 3 files changed, 67 insertions(+), 106 deletions(-) delete mode 100644 meta-oe/recipes-qt/libconnman-qt/libconnman-qt/0001-added-flags-to-disab le- qml-plugin-and-test-program-t.patch delete mode 100644 meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb create mode 100644 meta-oe/recipes-qt/libconnman-qt/libconnman-qt_1.0.7.bb diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt/0001-added-flags-to-dis abl e-qml-plugin-and-test-program-t.patch b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt/0001-added-flags-to-dis abl e-qml-plugin-and-test-program-t.patch deleted file mode 100644 index 6ec084d..000 --- a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt/0001-added-flags-to-dis abl e-qml-plugin-and-test-program-t.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 3850acef7d914a22e3fc4130ad43b2cc47338d6f Mon Sep 17 00:00:00 2001 -From: Felipe F. Tonello ftone...@cercacor.com -Date: Mon, 7 Jan 2013 17:13:22 -0800 -Subject: [PATCH] added flags to disable qml plugin and test program to - compile - -This is usefull when there is no need to compile test program and qml plugin. - -Upstream-Status: Accepted - -Signed-off-by: Felipe F. Tonello ftone...@cercacor.com - connman-qt.pro | 11 ++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/connman-qt.pro b/connman-qt.pro -index 7d9ec99..425c41f 100644 a/connman-qt.pro -+++ b/connman-qt.pro -@@ -1,4 +1,13 @@ - TEMPLATE = subdirs --SUBDIRS += libconnman-qt test plugin -+SUBDIRS += libconnman-qt - CONFIG += ordered - -+# CONFIG flag to disable test program -+!notest { -+SUBDIRS += test -+} -+ -+# CONFIG flag to disable qml plugin -+!noplugin { -+SUBDIRS += plugin -+} --- -1.7.9.5 - diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb deleted file mode 100644 index 50c149f..000 --- a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb +++ /dev/null @@ -1,69 +0,0 @@ -DESCRIPTION = Qt Library for ConnMan -HOMEPAGE = https://github.com/nemomobile/libconnman-qt; -LICENSE = Apache-2.0 -LIC_FILES_CHKSUM = file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900c e3c 5dac88 - -SECTION = qt/lib - -PR = r0 - -inherit qt4x11 pkgconfig - -RDEPENDS_${PN} = connman -RDEPENDS_${PN}-plugin = ${PN} - -PROVIDES += ${PN}-plugin - -PACKAGES =+ ${PN}-plugin ${PN}-plugin-dbg -RRECOMMENDS_${PN} = ${PN}-plugin - -BRANCH = master -# this matches 0.4.0 tag -SRCREV = 3af5bd38d82255942f582398160a5d3354346ca3 - -SRC_URI = \ -git://github.com/nemomobile/${PN}.git;branch=${BRANCH} \ - file://0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch \ - - -S = ${WORKDIR}/git - -QT_IMPORTS_DIR = ${libdir}/qt4/imports -# the plugin target needs to be the same as 'target.path' and 'qmldir.path' in ${S}/plugin/plugin.pro -PLUGINS_TARGET = ${QT_IMPORTS_DIR}/MeeGo/Connman - -EXTRA_QMAKEVARS_PRE = \ -CONFIG+=notest \ - - -do_configure_prepend() { -# Hack *.pro variables -find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';' -} - -do_install() { -export INSTALL_ROOT=${D} -oe_runmake install -} - -FILES_${PN} = \ -${libdir}/libconnman-qt4${SOLIBS} \ - - -FILES_${PN}-dev = \ -${includedir}/connman-qt/* \ -${libdir}/libconnman-qt4${SOLIBSDEV} \ -${libdir}/libconnman-qt4.prl \ -${libdir}/pkgconfig/connman-qt4.pc \ -${libdir}/connman-qt4.pc \ - - -FILES_${PN}-plugin = \ -${PLUGINS_TARGET}/qmldir \ -${PLUGINS_TARGET}/lib*.so \ - - -FILES_${PN}-plugin-dbg = \ -${PLUGINS_TARGET}/.debug \ -${PLUGINS_TARGET}/.debug/* \ - diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_1.0.7.bb b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_1.0.7.bb new file mode 100644 index 000..65a2731 --- /dev/null +++ b
Re: [oe] [meta-oe][PATCH] connman: updated libconnman-qt to 1.0.7
}-plugin-dbg +RRECOMMENDS_${PN} = ${PN}-plugin + +BRANCH = master +SRCREV = 6a5e4f981112a90a8c19d82bd671da389d2af993 + +SRC_URI = \ +git://github.com/nemomobile/${PN}.git;branch=${BRANCH} \ + + +S = ${WORKDIR}/git + +QT_IMPORTS_DIR = ${libdir}/qt4/imports +# the plugin target needs to be the same as 'target.path' and 'qmldir.path' in ${S}/plugin/plugin.pro +PLUGINS_TARGET = ${QT_IMPORTS_DIR}/MeeGo/Connman + +EXTRA_QMAKEVARS_PRE = \ +CONFIG+=notest \ + + +do_configure_prepend() { +# Hack *.pro variables +find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';' +} + +do_install() { +export INSTALL_ROOT=${D} +oe_runmake install +} + +FILES_${PN} = \ +${libdir}/libconnman-qt4${SOLIBS} \ + + +FILES_${PN}-dev = \ +${includedir}/connman-qt/* \ +${libdir}/libconnman-qt4${SOLIBSDEV} \ +${libdir}/libconnman-qt4.prl \ +${libdir}/pkgconfig/connman-qt4.pc \ +${libdir}/connman-qt4.pc \ + + +FILES_${PN}-plugin = \ +${PLUGINS_TARGET}/qmldir \ +${PLUGINS_TARGET}/lib*.so \ + + +FILES_${PN}-plugin-dbg = \ +${PLUGINS_TARGET}/.debug \ +${PLUGINS_TARGET}/.debug/* \ + ping? -- Felipe Ferreri Tonello ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH v4] fingerterm: Added 1.0.2 recipe
Hi Martin, On 03/20/2013 03:05 AM, Martin Jansa wrote: On Tue, Mar 19, 2013 at 03:00:33PM -0700, e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com Fingerterm is a terminal emulator for Nokia Harmattan, but it works in any Qt4 environment. This recipe can be extended by a .bbappend to add .desktop, icon and others to the target device. This part of commit message can be dropped now right? Yes, that's fine. Thanks Felipe I'll drop it before pushing it (if it builds OK on jenkins) no need for v5 if nobody sends more comments. Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb | 44 + 1 file changed, 44 insertions(+) create mode 100644 meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb diff --git a/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb new file mode 100644 index 000..59533a4 --- /dev/null +++ b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb @@ -0,0 +1,44 @@ +DESCRIPTION = A terminal emulator for Harmattan (Nokia N9/N950) with a custom \ +virtual keyboard and usability-enhancing features such as URL grabber, pan \ +gestures and customizable shortcut menu. Designed especially to be used with \ +screen and irssi. +HOMEPAGE = http://hqh.unlink.org/harmattan; +LICENSE = GPLv3 +LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 +SECTION = qt/app + +PR = r0 + +inherit qt4x11 pkgconfig + +SRC_URI = \ + http://hqh.unlink.org/harmattan/fingerterm-${PV}.tar.gz \ + + +SRC_URI[md5sum] = d53b0f463c025583cd52accf95715448 +SRC_URI[sha256sum] = c21a07cc411d09739bd7fa248eba2bf96427b3f032382a044b6674dd82d95150 + +S = ${WORKDIR}/${PN} + +FILES_${PN} = \ + ${bindir}/${PN} \ + ${datadir}/applications/${PN}.desktop \ + ${datadir}/pixmaps/${PN}.png \ + + +do_install() { + install -d ${D}${bindir} + install -m 0744 ${S}/${PN} ${D}${bindir} + + sed -i -e '/Exec.*/d' fingerterm.desktop + sed -i -e '/Icon.*/d' fingerterm.desktop + + echo 'Exec=${bindir}/${PN}' fingerterm.desktop + echo 'Icon=${PN}' fingerterm.desktop + + install -d ${D}${datadir}/applications + install -m 0644 ${S}/${PN}.desktop ${D}${datadir}/applications + + install -d ${D}${datadir}/pixmaps + install -m 0644 ${S}/${PN}.png ${D}${datadir}/pixmaps +} \ No newline at end of file -- 1.7.9.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [JOB] Full-time position in California
Hi, I'm sorry for this off-topic. But I think it's a good thing for oe developers in general. I work for Cercacor Labs, and we are looking for a full-time yocto/oe Linux Engineer. About the company: We were medical device RD company for Masimo. Now we are developing out own medical device based on Linux. Here we develop everything, since hardware, Linux kernel, middleware to multi-touch applications. Well.. The only issue is that due the time frame here we can't hire anyone that requires H1B. So this person needs to be an American Citizen or H1B holder. I'm glad to provide you more information. Please contact me at ftone...@cercacor.com. BR, Felipe ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH v3] fingerterm: Added 1.0.2 recipe
Hi Koen, On 03/14/2013 07:35 AM, Koen Kooi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 13-03-13 17:37, e...@felipetonello.com schreef: From: Felipe F. Tonello ftone...@cercacor.com Fingerterm is a terminal emulator for Nokia Harmattan, but it works in any Qt4 environment. This recipe can be extended by a .bbappend to add .desktop, icon and others to the target device. Why not include a default .desktop in the recipe so it actually works out of the box? The binary is been installed. So it will work out of the box. Regarding the .desktop file, it is not installed by default because it was done for MeeGo only. It needs some hack to work for generic desktops that follow desktop-entry spec[1]. [1] http://standards.freedesktop.org/desktop-entry-spec/latest/ Felipe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFRQeBGMkyGM64RGpERAgyPAJ0USSaBvvUFaBFIJe2TU5g809CDhgCffXxy p6KfZb9GJ6BgF049Lhzs8bI= =7rVm -END PGP SIGNATURE- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH v2] fingerterm: Added 1.0.2 recipe
Hi Martin, On 03/13/2013 04:09 AM, Martin Jansa wrote: On Fri, Mar 01, 2013 at 10:37:46AM -0800, e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com Fingerterm is a terminal emulator for Nokia Harmattan, but it works in any Qt4 environment. This recipe can be extended by a .bbappend to add .desktop, icon and others to the target device. Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb | 30 + 1 file changed, 30 insertions(+) create mode 100644 meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb diff --git a/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb new file mode 100644 index 000..e828672 --- /dev/null +++ b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb @@ -0,0 +1,30 @@ +DESCRIPTION = A terminal emulator for Harmattan (Nokia N9/N950) with a custom \ +virtual keyboard and usability-enhancing features such as URL grabber, pan \ +gestures and customizable shortcut menu. Designed especially to be used with \ +screen and irssi. +HOMEPAGE = http://hqh.unlink.org/harmattan; +LICENSE = GPLv3 +LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504 Hi, in v2 you have changed LIC_FILES_CHKSUM, old one was correct, new one is not: NOTE: recipe fingerterm-1.0.2-r0: task do_configure: Started ERROR: fingerterm: md5 data is not matching for file://COPYING;md5=d32239bcb673463ab874e80d47fae504 ERROR: fingerterm: The new md5 checksum is b234ee4d69f5fce4486a80fdaf4a4263 ERROR: fingerterm: Check if the license information has changed in ERROR: Licensing Error: LIC_FILES_CHKSUM does not match, please fix ERROR: Function failed: do_qa_configure Please send tested v3. Yes, I don't know why they changed the COPYING file. I had the v3 here but forgot to send. Sorry about that. Felipe +SECTION = qt/app + +PR = r0 + +inherit qt4x11 pkgconfig + +SRC_URI = \ + http://hqh.unlink.org/harmattan/fingerterm-${PV}.tar.gz \ + + +SRC_URI[md5sum] = d53b0f463c025583cd52accf95715448 +SRC_URI[sha256sum] = c21a07cc411d09739bd7fa248eba2bf96427b3f032382a044b6674dd82d95150 + +S = ${WORKDIR}/${PN} + +FILES_${PN} = \ + ${bindir}/${PN} \ + + +do_install() { + install -d ${D}${bindir} + install -m 0744 ${S}/${PN} ${D}${bindir} +} \ No newline at end of file -- 1.7.9.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
Hi Martin, On 02/28/2013 03:47 PM, Martin Jansa wrote: On Wed, Feb 27, 2013 at 02:36:21PM -0800, Felipe Ferreri Tonello wrote: Hi Martin, On 02/27/2013 12:39 PM, Martin Jansa wrote: On Wed, Feb 27, 2013 at 12:08:21PM -0800, e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com QExtSerialPort is a serial port library for Qt4/5. Is there good reason to redefine all those FILES_*? From previous mail: It also has a lot of QA warnings, it's better to use += for FILES_, so that default values are preserved where possible. Ok. Got it. But in this case there is no more QA right. I know that I added the /usr/src/..., which is redundant, but still. If you want to me to remove, I can do it. QA warnings are still there qextserialport-1.1+1.2rc: qextserialport: Files/directories were installed but not shipped /usr/src /usr/src/debug /usr/src/debug/qextserialport /usr/src/debug/qextserialport/1.1+1.2rc-r0 /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/moc_qextserialport.cpp /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/moc_qextserialenumerator.cpp /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/src /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/src/qextserialport_unix.cpp /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/src/qextserialport_p.h /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/src/qextserialport.h /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/src/qextserialport.cpp /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/src/qextserialenumerator_p.h /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/src/qextserialenumerator_linux.cpp /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/src/qextserialenumerator.h /usr/src/debug/qextserialport/1.1+1.2rc-r0/qextserialport-1.2rc/src/qextserialenumerator.cpp You added /usr/src/debug/qextserialport-${PV}-${PR}/qextserialport-${REAL_PV} but it's in /usr/src/debug/qextserialport/${PV}-${PR}/qextserialport-${REAL_PV} \ But really use default FILES_ values and only add to it with += if needed and only in some exceptions you have to overwrite it completely (e.g. when foo.so from PN-dev is actually needed in PN). OK. Thanks, Felipe At least, someone that takes this recipe knows exactly what's been installed. IMO the default FILES_ might be obscure to some new contributors. Thanks Felipe Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- .../qextserialport/qextserialport_1.2rc.bb | 56 1 file changed, 56 insertions(+) create mode 100644 meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb diff --git a/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb b/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb new file mode 100644 index 000..4cc9d6c --- /dev/null +++ b/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb @@ -0,0 +1,56 @@ +DESCRIPTION = Qt Ext Serial Port Library +HOMEPAGE = http://http://code.google.com/p/qextserialport/; +LICENSE = MIT +LIC_FILES_CHKSUM = file://LICENSE;md5=b866a28cda707ec714878bd933f46251 +SECTION = qt/libs + +PR = r0 + +# 1.2rc as version will sort lower then 1.2 when it's released +REAL_PV = 1.2rc +PV = 1.1+${REAL_PV} + +inherit qt4x11 pkgconfig + +DEPENDS = udev + +SRC_URI = \ + http://qextserialport.googlecode.com/files/qextserialport-${REAL_PV}.zip \ + + +SRC_URI[md5sum] = ffa061edb9f64666468d18402eee6108 +SRC_URI[sha256sum] = 9cbee267aac9830f9944bb1d13872e51fba400aa9afe158e64f0fe265a0176bc + +S = ${WORKDIR}/qextserialport-${REAL_PV} + +FILES_${PN} = ${libdir}/libqextserialport${SOLIBS} + +FILES_${PN}-dev = \ + ${libdir}/libqextserialport${SOLIBSDEV} \ + ${libdir}/libqextserialport.prl \ + ${includedir}/QtExtSerialPort/*.h \ + ${datadir}/qt4/mkspecs/features/extserialport.prf \ + + +FILES_${PN}-dbg = \ + ${libdir}/.debug/libqextserialport.so* \ + /usr/src/debug/qextserialport-${PV}-${PR}/qextserialport-${REAL_PV} \ + + +do_configure_prepend() { + # based on the documentation, this line make sure we use udev in linux + cd ${S} echo linux*:CONFIG += qesp_linux_udev .qmake.cache + + # Hacking hardcoded qmake variables + find *.pro -exec sed -i -e 's,$$\[QT_INSTALL_HEADERS\],${includedir},g' '{}' ';' + find *.pro -exec sed -i -e 's,$$\[QT_INSTALL_LIBS\],${libdir},g' '{}' ';' + find *.pro -exec sed -i -e 's,$$\[QMAKE_MKSPECS\],${datadir}/qt4/mkspecs/,g' '{}' ';' +} + +do_install() { + export INSTALL_ROOT=${D} + oe_runmake install + + # This is necessary to make it work with the qt based SDK + cd ${D}/${datadir}/qt4/mkspecs/features sed -i -e s|${STAGING_INCDIR_NATIVE}/qt4|\$(OE_QMAKE_INCDIR_QT)/..| ./extserialport.prf +} -- 1.7.9.5 ___ Openembedded-devel mailing list
Re: [oe] [meta-oe][PATCH] fingerterm: Added 1.0.2 recipe
Hi Martin, On 02/26/2013 03:59 PM, Martin Jansa wrote: On Wed, Feb 20, 2013 at 11:29:15AM -0800, e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com Fingerterm is a terminal emulator for Nokia Harmattan, but it works in any Qt4 environment. This recipe can be extended by a .bbappend to add .desktop, icon and others to the target device. Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb | 27 + 1 file changed, 27 insertions(+) create mode 100644 meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb diff --git a/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb new file mode 100644 index 000..e345131 --- /dev/null +++ b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb @@ -0,0 +1,27 @@ +DESCRIPTION = A terminal emulator for Harmattan (Nokia N9/N950) with a custom \ +virtual keyboard and usability-enhancing features such as URL grabber, pan \ +gestures and customizable shortcut menu. Designed especially to be used with \ +screen and irssi. +HOMEPAGE = http://hqh.unlink.org/harmattan; +LICENSE = GPLv3 +LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504 +SECTION = qt/app + +PR = r0 + +inherit qt4x11 pkgconfig + +SRC_URI = \ + http://hqh.unlink.org/harmattan/fingerterm-${PV}.tar.gz \ + Missing checksums: NOTE: Running task 14747 of 25316 (ID: 16879, /home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb, do_rm_work_all) ERROR: Fetcher failure for URL: 'http://hqh.unlink.org/harmattan/fingerterm-1.0.2.tar.gz'. No checksum specified for /home/jenkins/oe/shr-core-branches/shr-core/downloads/fingerterm-1.0.2.tar.gz, please add at least one to the recipe: SRC_URI[md5sum] = d53b0f463c025583cd52accf95715448 SRC_URI[sha256sum] = c21a07cc411d09739bd7fa248eba2bf96427b3f032382a044b6674dd82d95150 ERROR: Function failed: Fetcher failure for URL: 'http://hqh.unlink.org/harmattan/fingerterm-1.0.2.tar.gz'. No checksum specified for /home/jenkins/oe/shr-core-branches/shr-core/downloads/fingerterm-1.0.2.tar.gz, please add at least one to the recipe: SRC_URI[md5sum] = d53b0f463c025583cd52accf95715448 SRC_URI[sha256sum] = c21a07cc411d09739bd7fa248eba2bf96427b3f032382a044b6674dd82d95150 ERROR: Logfile of failure stored in: /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/fingerterm/1.0.2-r0/temp/log.do_fetch.16478 Sorry. I'm fixing and will send a new patch. Felipe + +S = ${WORKDIR}/${PN} + +FILES_${PN} = \ + ${bindir}/${PN} \ + + +do_install() { + install -d ${D}${bindir} + install -m 0744 ${S}/${PN} ${D}${bindir} +} \ No newline at end of file -- 1.7.9.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
Hi Martin, On 02/26/2013 03:36 PM, Martin Jansa wrote: On Wed, Feb 20, 2013 at 11:40:01AM -0800, e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com QExtSerialPort is a serial port library for Qt4/5. 1.2rc as version will sort lower then 1.2 when it's released, use something like: REAL_PV=1.2rc PV = 1.1+${REAL_PV} to provide upgrade path when 1.2 is released and recipe is updated to use it. Ok. I didn't notice that. Thank you. It also has a lot of QA warnings, it's better to use += for FILES_, so that default values are preserved where possible. qextserialport-1.2rc: qextserialport: Files/directories were installed but not shipped /usr/src /usr/src/debug /usr/src/debug/qextserialport /usr/src/debug/qextserialport/1.2rc-r0 /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/moc_qextserialport.cpp /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/moc_qextserialenumerator.cpp /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/src /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/src/qextserialport_unix.cpp /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/src/qextserialport_p.h /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/src/qextserialport.h /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/src/qextserialport.cpp /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/src/qextserialenumerator_p.h /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/src/qextserialenumerator_linux.cpp /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/src/qextserialenumerator.h /usr/src/debug/qextserialport/1.2rc-r0/qextserialport-1.2rc/src/qextserialenumerator.cpp I will fix it. I don't know why I didn't get these warnings. Felipe Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- .../qextserialport/qextserialport_1.2rc.bb | 53 1 file changed, 53 insertions(+) create mode 100644 meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb diff --git a/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb b/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb new file mode 100644 index 000..da83404 --- /dev/null +++ b/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb @@ -0,0 +1,53 @@ +DESCRIPTION = Qt Ext Serial Port Library +HOMEPAGE = http://http://code.google.com/p/qextserialport/; +LICENSE = MIT +LIC_FILES_CHKSUM = file://LICENSE;md5=b866a28cda707ec714878bd933f46251 +SECTION = qt/libs + +PR = r0 + +inherit qt4x11 pkgconfig + +DEPENDS = udev + +SRC_URI = \ + http://qextserialport.googlecode.com/files/qextserialport-${PV}.zip \ + + +SRC_URI[md5sum] = ffa061edb9f64666468d18402eee6108 +SRC_URI[sha256sum] = 9cbee267aac9830f9944bb1d13872e51fba400aa9afe158e64f0fe265a0176bc + + +S = ${WORKDIR}/qextserialport-${PV} + +FILES_${PN} = ${libdir}/libqextserialport${SOLIBS} + +FILES_${PN}-dev = \ + ${libdir}/libqextserialport${SOLIBSDEV} \ + ${libdir}/libqextserialport.prl \ + ${includedir}/QtExtSerialPort/*.h \ + ${datadir}/qt4/mkspecs/features/extserialport.prf \ + + +FILES_${PN}-dbg = \ + ${libdir}/.debug/libqextserialport.so* \ + /usr/src/debug/qextserialport-${PV}-${PR}/qextserialport-${PV}/* \ + + +do_configure_prepend() { + # based on the documentation, this line make sure we use udev in linux + cd ${S} echo linux*:CONFIG += qesp_linux_udev .qmake.cache + + # Hacking hardcoded qmake variables + find *.pro -exec sed -i -e 's,$$\[QT_INSTALL_HEADERS\],${includedir},g' '{}' ';' + find *.pro -exec sed -i -e 's,$$\[QT_INSTALL_LIBS\],${libdir},g' '{}' ';' + find *.pro -exec sed -i -e 's,$$\[QMAKE_MKSPECS\],${datadir}/qt4/mkspecs/,g' '{}' ';' +} + +do_install() { + export INSTALL_ROOT=${D} + oe_runmake install + + # This is necessary to make it work with the qt based SDK + cd ${D}/${datadir}/qt4/mkspecs/features sed -i -e s|${STAGING_INCDIR_NATIVE}/qt4|\$(OE_QMAKE_INCDIR_QT)/..| ./extserialport.prf +} -- 1.7.9.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
Hi Martin, On 02/27/2013 12:39 PM, Martin Jansa wrote: On Wed, Feb 27, 2013 at 12:08:21PM -0800, e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com QExtSerialPort is a serial port library for Qt4/5. Is there good reason to redefine all those FILES_*? From previous mail: It also has a lot of QA warnings, it's better to use += for FILES_, so that default values are preserved where possible. Ok. Got it. But in this case there is no more QA right. I know that I added the /usr/src/..., which is redundant, but still. If you want to me to remove, I can do it. At least, someone that takes this recipe knows exactly what's been installed. IMO the default FILES_ might be obscure to some new contributors. Thanks Felipe Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- .../qextserialport/qextserialport_1.2rc.bb | 56 1 file changed, 56 insertions(+) create mode 100644 meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb diff --git a/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb b/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb new file mode 100644 index 000..4cc9d6c --- /dev/null +++ b/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb @@ -0,0 +1,56 @@ +DESCRIPTION = Qt Ext Serial Port Library +HOMEPAGE = http://http://code.google.com/p/qextserialport/; +LICENSE = MIT +LIC_FILES_CHKSUM = file://LICENSE;md5=b866a28cda707ec714878bd933f46251 +SECTION = qt/libs + +PR = r0 + +# 1.2rc as version will sort lower then 1.2 when it's released +REAL_PV = 1.2rc +PV = 1.1+${REAL_PV} + +inherit qt4x11 pkgconfig + +DEPENDS = udev + +SRC_URI = \ + http://qextserialport.googlecode.com/files/qextserialport-${REAL_PV}.zip \ + + +SRC_URI[md5sum] = ffa061edb9f64666468d18402eee6108 +SRC_URI[sha256sum] = 9cbee267aac9830f9944bb1d13872e51fba400aa9afe158e64f0fe265a0176bc + +S = ${WORKDIR}/qextserialport-${REAL_PV} + +FILES_${PN} = ${libdir}/libqextserialport${SOLIBS} + +FILES_${PN}-dev = \ + ${libdir}/libqextserialport${SOLIBSDEV} \ + ${libdir}/libqextserialport.prl \ + ${includedir}/QtExtSerialPort/*.h \ + ${datadir}/qt4/mkspecs/features/extserialport.prf \ + + +FILES_${PN}-dbg = \ + ${libdir}/.debug/libqextserialport.so* \ + /usr/src/debug/qextserialport-${PV}-${PR}/qextserialport-${REAL_PV} \ + + +do_configure_prepend() { + # based on the documentation, this line make sure we use udev in linux + cd ${S} echo linux*:CONFIG += qesp_linux_udev .qmake.cache + + # Hacking hardcoded qmake variables + find *.pro -exec sed -i -e 's,$$\[QT_INSTALL_HEADERS\],${includedir},g' '{}' ';' + find *.pro -exec sed -i -e 's,$$\[QT_INSTALL_LIBS\],${libdir},g' '{}' ';' + find *.pro -exec sed -i -e 's,$$\[QMAKE_MKSPECS\],${datadir}/qt4/mkspecs/,g' '{}' ';' +} + +do_install() { + export INSTALL_ROOT=${D} + oe_runmake install + + # This is necessary to make it work with the qt based SDK + cd ${D}/${datadir}/qt4/mkspecs/features sed -i -e s|${STAGING_INCDIR_NATIVE}/qt4|\$(OE_QMAKE_INCDIR_QT)/..| ./extserialport.prf +} -- 1.7.9.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH] macchanger: added 1.5.0 recipe
On 02/21/2013 06:28 AM, Joe MacDonald wrote: Hey Felipe, [[oe] [meta-networking][PATCH] macchanger: added 1.5.0 recipe] On 13.02.20 (Wed 14:43) e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com This is a useful utility to manipulate the mac address of a device. I'm unfamiliar with this tool, does it do something more than you can do with ifconfig today? It looks like maybe it provides a database of MAC addresses and allows the user to decide they want to change their RTL-8139 to look like a Centrino wireless card on the network, but I can't tell from looking at the page. It's a helper tool to manipulate mac addresses. From its help: GNU MAC Changer Usage: macchanger [options] device -h, --help Print this help -V, --versionPrint version and exit -s, --show Print the MAC address and exit -e, --enddingDon't change the vendor bytes -a, --anotherSet random vendor MAC of the same kind -ASet random vendor MAC of any kind -r, --random Set fully random MAC -l, --list[=keyword] Print known vendors -m, --mac=XX:XX:XX:XX:XX:XX Set the MAC XX:XX:XX:XX:XX:XX So it's useful when you want to set random mac addresses, change vendor id, do not change vendor id. Stuff like that. Felipe Thanks, -Joe. Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- .../recipes-support/macchanger/macchanger_1.5.0.bb | 25 1 file changed, 25 insertions(+) create mode 100644 meta-networking/recipes-support/macchanger/macchanger_1.5.0.bb diff --git a/meta-networking/recipes-support/macchanger/macchanger_1.5.0.bb b/meta-networking/recipes-support/macchanger/macchanger_1.5.0.bb new file mode 100644 index 000..0d78c34 --- /dev/null +++ b/meta-networking/recipes-support/macchanger/macchanger_1.5.0.bb @@ -0,0 +1,25 @@ +SUMMARY = Tool to view/change network interface MAC addresses +DESCRIPTION = A GNU/Linux utility for viewing/manipulating the MAC address of network interfaces. +HOMEPAGE = http://www.alobbs.com/macchanger; +LICENSE = GPLv2 +LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f + +PR = r0 + +SRC_URI = ${GNU_MIRROR}/macchanger/${PN}-${PV}.tar.gz + +SRC_URI[md5sum] = 79b7cdaeca3d8ebafa764c4b0dd03ab7 +SRC_URI[sha256sum] = d44bfa27cb29c5a718627cb3ef3aa42eb5130426545eb2031120826cd73fa8fe + +FILES_${PN} = \ + ${bindir}/${PN} \ + ${datadir}/${PN}/wireless.list \ + ${datadir}/${PN}/OUI.list \ + + +FILES_${PN}-doc = \ + ${datadir}/info \ + ${datadir}/man \ + + +inherit autotools \ No newline at end of file ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] macchanger: added 1.5.0 recipe
Hi Paul, On 02/20/2013 01:02 PM, Paul Eggleton wrote: On Wednesday 20 February 2013 10:47:03 e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com This is a useful utility to manipulate the mac address of a device. Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- .../recipes-support/macchanger/macchanger_1.5.0.bb | 20 1 file changed, 20 insertions(+) create mode 100644 meta-oe/recipes-support/macchanger/macchanger_1.5.0.bb diff --git a/meta-oe/recipes-support/macchanger/macchanger_1.5.0.bb b/meta-oe/recipes-support/macchanger/macchanger_1.5.0.bb new file mode 100644 index 000..21c8425 --- /dev/null +++ b/meta-oe/recipes-support/macchanger/macchanger_1.5.0.bb @@ -0,0 +1,20 @@ +SUMMARY = macchanger +DESCRIPTION = A GNU/Linux utility for viewing/manipulating the MAC address of network interfaces. +HOMEPAGE = http://www.alobbs.com/macchanger; +LICENSE = GPLv2 +LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f + +PR = r2 + +SRC_URI = ${GNU_MIRROR}/macchanger/${PN}-${PV}.tar.gz + +SRC_URI[md5sum] = 79b7cdaeca3d8ebafa764c4b0dd03ab7 +SRC_URI[sha256sum] = d44bfa27cb29c5a718627cb3ef3aa42eb5130426545eb2031120826cd73fa8fe + +FILES_${PN} = \ + ${bindir}/${PN} \ + ${datadir}/${PN}/wireless.list \ + ${datadir}/${PN}/OUI.list \ + + +inherit autotools \ No newline at end of file I think this should go in meta-networking rather than meta-oe. Also you should probably just do FILES_${PN} += ${datadir}/${PN}, remove PR, and set SUMMARY to something sensible e.g. Tool to view/change network interface MAC addresses. Yes, this meta-* is something I'm always confused about. Don't know exactly where to add new recipes. Ok. Will do. Thanks, Felipe ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] macchanger: added 1.5.0 recipe
On 02/20/2013 01:02 PM, Paul Eggleton wrote: On Wednesday 20 February 2013 10:47:03 e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com This is a useful utility to manipulate the mac address of a device. Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- .../recipes-support/macchanger/macchanger_1.5.0.bb | 20 1 file changed, 20 insertions(+) create mode 100644 meta-oe/recipes-support/macchanger/macchanger_1.5.0.bb diff --git a/meta-oe/recipes-support/macchanger/macchanger_1.5.0.bb b/meta-oe/recipes-support/macchanger/macchanger_1.5.0.bb new file mode 100644 index 000..21c8425 --- /dev/null +++ b/meta-oe/recipes-support/macchanger/macchanger_1.5.0.bb @@ -0,0 +1,20 @@ +SUMMARY = macchanger +DESCRIPTION = A GNU/Linux utility for viewing/manipulating the MAC address of network interfaces. +HOMEPAGE = http://www.alobbs.com/macchanger; +LICENSE = GPLv2 +LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f + +PR = r2 + +SRC_URI = ${GNU_MIRROR}/macchanger/${PN}-${PV}.tar.gz + +SRC_URI[md5sum] = 79b7cdaeca3d8ebafa764c4b0dd03ab7 +SRC_URI[sha256sum] = d44bfa27cb29c5a718627cb3ef3aa42eb5130426545eb2031120826cd73fa8fe + +FILES_${PN} = \ + ${bindir}/${PN} \ + ${datadir}/${PN}/wireless.list \ + ${datadir}/${PN}/OUI.list \ + + +inherit autotools \ No newline at end of file I think this should go in meta-networking rather than meta-oe. Also you should probably just do FILES_${PN} += ${datadir}/${PN}, remove PR, and set SUMMARY to something sensible e.g. Tool to view/change network interface MAC addresses. I will not add ${datadir}/${PN} to FILES_${PN} because this will add manuals and stuff that it's not necessary to the main package. I will add to ${PN}-doc. Felipe ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] libconnman-qt: fixed directory typo
Hi Martin, On 02/20/2013 03:11 PM, Martin Jansa wrote: On Wed, Feb 20, 2013 at 11:08:58AM -0800, e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com Signed-off-by: Felipe F. Tonello ftone...@cercacor.com Thanks, I'll apply this later today, but next time please send patches with -M for git to detect renames. That's wired actually, because git recognized it as rename here. But still. Sorry for the rework. Regards, Felipe --- ...-to-disable-qml-plugin-and-test-program-t.patch | 37 +++ .../libconnman-qt/libconnman-qt_0.4.0.bb | 69 ...-to-disable-qml-plugin-and-test-program-t.patch | 37 --- .../libconnmna-qt/libconnman-qt_0.4.0.bb | 69 4 files changed, 106 insertions(+), 106 deletions(-) create mode 100644 meta-oe/recipes-qt/libconnman-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch create mode 100644 meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb delete mode 100644 meta-oe/recipes-qt/libconnmna-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch delete mode 100644 meta-oe/recipes-qt/libconnmna-qt/libconnman-qt_0.4.0.bb diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch new file mode 100644 index 000..6ec084d --- /dev/null +++ b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch @@ -0,0 +1,37 @@ +From 3850acef7d914a22e3fc4130ad43b2cc47338d6f Mon Sep 17 00:00:00 2001 +From: Felipe F. Tonello ftone...@cercacor.com +Date: Mon, 7 Jan 2013 17:13:22 -0800 +Subject: [PATCH] added flags to disable qml plugin and test program to + compile + +This is usefull when there is no need to compile test program and qml plugin. + +Upstream-Status: Accepted + +Signed-off-by: Felipe F. Tonello ftone...@cercacor.com +--- + connman-qt.pro | 11 ++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/connman-qt.pro b/connman-qt.pro +index 7d9ec99..425c41f 100644 +--- a/connman-qt.pro b/connman-qt.pro +@@ -1,4 +1,13 @@ + TEMPLATE = subdirs +-SUBDIRS += libconnman-qt test plugin ++SUBDIRS += libconnman-qt + CONFIG += ordered + ++# CONFIG flag to disable test program ++!notest { ++SUBDIRS += test ++} ++ ++# CONFIG flag to disable qml plugin ++!noplugin { ++SUBDIRS += plugin ++} +-- +1.7.9.5 + diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb new file mode 100644 index 000..d15d8d7 --- /dev/null +++ b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt_0.4.0.bb @@ -0,0 +1,69 @@ +DESCRIPTION = Qt Library for ConnMan +HOMEPAGE = https://github.com/nemomobile/libconnman-qt; +LICENSE = Apache-2.0 +LIC_FILES_CHKSUM = file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88 + +SECTION = qt/lib + +PR = r0 + +inherit qt4x11 pkgconfig + +RDEPENDS_${PN} = connman +RDEPENDS_${PN}-plugin = ${PN} + +PROVIDES += ${PN}-plugin + +PACKAGES =+ ${PN}-plugin ${PN}-plugin-dbg +RRECOMMENDS_${PN} = ${PN}-plugin + +BRANCH = master +# this matches 0.4.0 tag +SRCREV = 3af5bd38d82255942f582398160a5d3354346ca3 + +SRC_URI = \ + git://github.com/nemomobile/${PN}.git;branch=${BRANCH} \ + file://0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch \ + + +S = ${WORKDIR}/git + +QT_IMPORTS_DIR = ${libdir}/qt4/imports +# the plugin target needs to be the same as 'target.path' and 'qmldir.path' in ${S}/plugin/plugin.pro +PLUGINS_TARGET = ${QT_IMPORTS_DIR}/MeeGo/Connman + +EXTRA_QMAKEVARS_PRE = \ + CONFIG+=notest \ + + +do_configure_prepend() { + # Hack *.pro variables + find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';' +} + +do_install() { + export INSTALL_ROOT=${D} + oe_runmake install +} + +FILES_${PN} = \ + ${libdir}/libconnman-qt4${SOLIBS} \ + + +FILES_${PN}-dev = \ + ${includedir}/connman-qt/* \ + ${libdir}/libconnman-qt4${SOLIBSDEV} \ + ${libdir}/libconnman-qt4.prl \ + ${libdir}/pkgconfig/connman-qt4.pc \ + ${libdir}/connman-qt4.pc \ + + +FILES_${PN}-plugin = \ + ${PLUGINS_TARGET}/qmldir \ + ${PLUGINS_TARGET}/lib*.so \ + + +FILES_${PN}-plugin-dbg = \ + ${PLUGINS_TARGET}/.debug \ + ${PLUGINS_TARGET}/.debug/* \ + diff --git a/meta-oe/recipes-qt/libconnmna-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch b/meta-oe/recipes-qt/libconnmna-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch deleted file mode 100644 index 6ec084d..000 --- a/meta-oe/recipes-qt/libconnmna-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 3850acef7d914a22e3fc4130ad43b2cc47338d6f
Re: [oe] [meta-oe][PATCH] connman: added recipe libconnman-qt
Hi Martin, On 02/16/2013 10:37 AM, Martin Jansa wrote: On Mon, Feb 11, 2013 at 09:25:53AM -0800, e...@felipetonello.com wrote: From: Felipe F. Tonello ftone...@cercacor.com This recipe provides the Qt library and QML plugins for connman. Fails in do_install (possibly issue with dash) ERROR: Logfile of failure stored in: /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libconnman-qt/0.4.0-r0/temp/log.do_install.20933 Log data follows: | DEBUG: Executing shell function do_install | NOTE: make -j 8 MAKEFLAGS= install | cd libconnman-qt/ make -f Makefile install | make[1]: Entering directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libconnman-qt/0.4.0-r0/git/libconnman-qt' | install -m 755 -p libconnman-qt4.so.0.3.0 /usr/lib/libconnman-qt4.so.0.3.0 | install: cannot create regular file `/usr/lib/libconnman-qt4.so.0.3.0': Permission denied | make[1]: [install_target] Error 1 (ignored) | ln -f -s libconnman-qt4.so.0.3.0 /usr/lib/libconnman-qt4.so | ln: failed to create symbolic link `/usr/lib/libconnman-qt4.so': Permission denied | make[1]: [install_target] Error 1 (ignored) | ln -f -s libconnman-qt4.so.0.3.0 /usr/lib/libconnman-qt4.so.0 | ln: failed to create symbolic link `/usr/lib/libconnman-qt4.so.0': Permission denied | make[1]: [install_target] Error 1 (ignored) | ln -f -s libconnman-qt4.so.0.3.0 /usr/lib/libconnman-qt4.so.0.3 | ln: failed to create symbolic link `/usr/lib/libconnman-qt4.so.0.3': Permission denied | make[1]: [install_target] Error 1 (ignored) | install -m 644 -p libconnman-qt4.prl /usr/lib/libconnman-qt4.prl | install: cannot create regular file `/usr/lib/libconnman-qt4.prl': Permission denied | make[1]: [install_target] Error 1 (ignored) | install -m 644 -p connman-qt4.pc /usr/lib/connman-qt4.pc | install: cannot create regular file `/usr/lib/connman-qt4.pc': Permission denied | make[1]: [install_target] Error 1 (ignored) | mkdir: cannot create directory `/usr/include/connman-qt/': Permission denied | make[1]: *** [install_headers] Error 1 | make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libconnman-qt/0.4.0-r0/git/libconnman-qt' | make: *** [sub-libconnman-qt-install_subtargets-ordered] Error 2 | ERROR: oe_runmake failed | ERROR: Function failed: do_install (see /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libconnman-qt/0.4.0-r0/temp/log.do_install.20933 for further information) NOTE: recipe libconnman-qt-0.4.0-r0: task do_install: Failed COmplete log: http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130215_060633.log/ It seems that the INSTALL_ROOT wasn't set to ${D}. Can I have the run.do_install log? Felipe Signed-off-by: Felipe F. Tonello ftone...@cercacor.com --- ...-to-disable-qml-plugin-and-test-program-t.patch | 37 +++ .../libconnmna-qt/libconnman-qt_0.4.0.bb | 69 2 files changed, 106 insertions(+) create mode 100644 meta-oe/recipes-qt/libconnmna-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch create mode 100644 meta-oe/recipes-qt/libconnmna-qt/libconnman-qt_0.4.0.bb diff --git a/meta-oe/recipes-qt/libconnmna-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch b/meta-oe/recipes-qt/libconnmna-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch new file mode 100644 index 000..6ec084d --- /dev/null +++ b/meta-oe/recipes-qt/libconnmna-qt/libconnman-qt/0001-added-flags-to-disable-qml-plugin-and-test-program-t.patch @@ -0,0 +1,37 @@ +From 3850acef7d914a22e3fc4130ad43b2cc47338d6f Mon Sep 17 00:00:00 2001 +From: Felipe F. Tonello ftone...@cercacor.com +Date: Mon, 7 Jan 2013 17:13:22 -0800 +Subject: [PATCH] added flags to disable qml plugin and test program to + compile + +This is usefull when there is no need to compile test program and qml plugin. + +Upstream-Status: Accepted + +Signed-off-by: Felipe F. Tonello ftone...@cercacor.com +--- + connman-qt.pro | 11 ++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/connman-qt.pro b/connman-qt.pro +index 7d9ec99..425c41f 100644 +--- a/connman-qt.pro b/connman-qt.pro +@@ -1,4 +1,13 @@ + TEMPLATE = subdirs +-SUBDIRS += libconnman-qt test plugin ++SUBDIRS += libconnman-qt + CONFIG += ordered + ++# CONFIG flag to disable test program ++!notest { ++SUBDIRS += test ++} ++ ++# CONFIG flag to disable qml plugin ++!noplugin { ++SUBDIRS += plugin ++} +-- +1.7.9.5 + diff --git a/meta-oe/recipes-qt/libconnmna-qt/libconnman-qt_0.4.0.bb b/meta-oe/recipes-qt/libconnmna-qt/libconnman-qt_0.4.0.bb new file mode 100644 index 000..2c33b49 --- /dev/null +++ b/meta-oe/recipes-qt/libconnmna-qt/libconnman-qt_0.4.0.bb @@ -0,0 +1,69 @@ +DESCRIPTION = Qt Library for ConnMan +HOMEPAGE = https://github.com/nemomobile/libconnman-qt;