* [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
@ 2013-02-27 20:08 eu
2013-02-27 20:39 ` Martin Jansa
0 siblings, 1 reply; 10+ messages in thread
From: eu @ 2013-02-27 20:08 UTC (permalink / raw)
To: openembedded-devel; +Cc: Felipe F. Tonello
From: "Felipe F. Tonello" <ftonello@cercacor.com>
QExtSerialPort is a serial port library for Qt4/5.
Signed-off-by: Felipe F. Tonello <ftonello@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 0000000..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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
2013-02-27 20:08 [meta-oe][PATCH] qextserialport: Added 1.2rc recipe eu
@ 2013-02-27 20:39 ` Martin Jansa
2013-02-27 22:36 ` Felipe Ferreri Tonello
0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2013-02-27 20:39 UTC (permalink / raw)
To: openembedded-devel; +Cc: Felipe F. Tonello
[-- Attachment #1: Type: text/plain, Size: 3291 bytes --]
On Wed, Feb 27, 2013 at 12:08:21PM -0800, eu@felipetonello.com wrote:
> From: "Felipe F. Tonello" <ftonello@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.
>
> Signed-off-by: Felipe F. Tonello <ftonello@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 0000000..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
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
2013-02-27 20:39 ` Martin Jansa
@ 2013-02-27 22:36 ` Felipe Ferreri Tonello
2013-02-28 23:47 ` Martin Jansa
0 siblings, 1 reply; 10+ messages in thread
From: Felipe Ferreri Tonello @ 2013-02-27 22:36 UTC (permalink / raw)
To: openembedded-devel
Hi Martin,
On 02/27/2013 12:39 PM, Martin Jansa wrote:
> On Wed, Feb 27, 2013 at 12:08:21PM -0800, eu@felipetonello.com wrote:
>> From: "Felipe F. Tonello" <ftonello@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 <ftonello@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 0000000..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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
2013-02-27 22:36 ` Felipe Ferreri Tonello
@ 2013-02-28 23:47 ` Martin Jansa
2013-03-01 17:05 ` Felipe Ferreri Tonello
0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2013-02-28 23:47 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 5661 bytes --]
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, eu@felipetonello.com wrote:
> >> From: "Felipe F. Tonello" <ftonello@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).
>
> 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 <ftonello@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 0000000..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
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
2013-02-28 23:47 ` Martin Jansa
@ 2013-03-01 17:05 ` Felipe Ferreri Tonello
0 siblings, 0 replies; 10+ messages in thread
From: Felipe Ferreri Tonello @ 2013-03-01 17:05 UTC (permalink / raw)
To: openembedded-devel
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, eu@felipetonello.com wrote:
>>>> From: "Felipe F. Tonello" <ftonello@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 <ftonello@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 0000000..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
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
2013-03-01 18:23 eu
@ 2013-03-13 16:38 ` Martin Jansa
0 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2013-03-13 16:38 UTC (permalink / raw)
To: openembedded-devel; +Cc: Felipe F. Tonello
[-- Attachment #1: Type: text/plain, Size: 2971 bytes --]
On Fri, Mar 01, 2013 at 10:23:46AM -0800, eu@felipetonello.com wrote:
> From: "Felipe F. Tonello" <ftonello@cercacor.com>
>
> QExtSerialPort is a serial port library for Qt4/5.
Applied, thanks!
>
> Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>
> ---
> .../qextserialport/qextserialport_1.2rc.bb | 55 ++++++++++++++++++++
> 1 file changed, 55 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 0000000..da65215
> --- /dev/null
> +++ b/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb
> @@ -0,0 +1,55 @@
> +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* \
> +"
> +
> +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
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
@ 2013-03-01 18:23 eu
2013-03-13 16:38 ` Martin Jansa
0 siblings, 1 reply; 10+ messages in thread
From: eu @ 2013-03-01 18:23 UTC (permalink / raw)
To: openembedded-devel; +Cc: Felipe F. Tonello
From: "Felipe F. Tonello" <ftonello@cercacor.com>
QExtSerialPort is a serial port library for Qt4/5.
Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>
---
.../qextserialport/qextserialport_1.2rc.bb | 55 ++++++++++++++++++++
1 file changed, 55 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 0000000..da65215
--- /dev/null
+++ b/meta-oe/recipes-qt/qextserialport/qextserialport_1.2rc.bb
@@ -0,0 +1,55 @@
+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* \
+"
+
+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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
2013-02-26 23:36 ` Martin Jansa
@ 2013-02-27 17:31 ` Felipe Ferreri Tonello
0 siblings, 0 replies; 10+ messages in thread
From: Felipe Ferreri Tonello @ 2013-02-27 17:31 UTC (permalink / raw)
To: openembedded-devel
Hi Martin,
On 02/26/2013 03:36 PM, Martin Jansa wrote:
> On Wed, Feb 20, 2013 at 11:40:01AM -0800, eu@felipetonello.com wrote:
>> From: "Felipe F. Tonello" <ftonello@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 <ftonello@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 0000000..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
>>
>>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
2013-02-20 19:40 eu
@ 2013-02-26 23:36 ` Martin Jansa
2013-02-27 17:31 ` Felipe Ferreri Tonello
0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2013-02-26 23:36 UTC (permalink / raw)
To: openembedded-devel; +Cc: Felipe F. Tonello
[-- Attachment #1: Type: text/plain, Size: 4449 bytes --]
On Wed, Feb 20, 2013 at 11:40:01AM -0800, eu@felipetonello.com wrote:
> From: "Felipe F. Tonello" <ftonello@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.
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
>
> Signed-off-by: Felipe F. Tonello <ftonello@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 0000000..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
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [meta-oe][PATCH] qextserialport: Added 1.2rc recipe
@ 2013-02-20 19:40 eu
2013-02-26 23:36 ` Martin Jansa
0 siblings, 1 reply; 10+ messages in thread
From: eu @ 2013-02-20 19:40 UTC (permalink / raw)
To: openembedded-devel; +Cc: Felipe F. Tonello
From: "Felipe F. Tonello" <ftonello@cercacor.com>
QExtSerialPort is a serial port library for Qt4/5.
Signed-off-by: Felipe F. Tonello <ftonello@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 0000000..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
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-03-13 16:55 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-27 20:08 [meta-oe][PATCH] qextserialport: Added 1.2rc recipe eu
2013-02-27 20:39 ` Martin Jansa
2013-02-27 22:36 ` Felipe Ferreri Tonello
2013-02-28 23:47 ` Martin Jansa
2013-03-01 17:05 ` Felipe Ferreri Tonello
-- strict thread matches above, loose matches on Subject: below --
2013-03-01 18:23 eu
2013-03-13 16:38 ` Martin Jansa
2013-02-20 19:40 eu
2013-02-26 23:36 ` Martin Jansa
2013-02-27 17:31 ` Felipe Ferreri Tonello
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.