* [PATCH] qwt: import from openembedded.dev
@ 2011-09-15 9:42 Denis Carikli
2011-09-15 10:41 ` Koen Kooi
2011-09-15 10:41 ` Paul Menzel
0 siblings, 2 replies; 4+ messages in thread
From: Denis Carikli @ 2011-09-15 9:42 UTC (permalink / raw)
To: openembedded-devel
The only change between openembedded.dev and meta-openembedded was
the addition of LIC_FILES_CHKSUM
Signed-off-by: Denis Carikli <denis@eukrea.com>
---
meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb | 8 ++++++++
meta-oe/recipes-qt/qwt/qwt.inc | 33 +++++++++++++++++++++++++++++++++
meta-oe/recipes-qt/qwt/qwt_5.2.1.bb | 8 ++++++++
3 files changed, 49 insertions(+), 0 deletions(-)
create mode 100644 meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb
create mode 100644 meta-oe/recipes-qt/qwt/qwt.inc
create mode 100644 meta-oe/recipes-qt/qwt/qwt_5.2.1.bb
diff --git a/meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb b/meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb
new file mode 100644
index 0000000..2f55061
--- /dev/null
+++ b/meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb
@@ -0,0 +1,8 @@
+inherit qt4e
+
+require qwt.inc
+
+SRC_URI[qwt.md5sum] = "4a595b8db0ec3856b117836c1d60cb27"
+SRC_URI[qwt.sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f"
+
+RPROVIDES_${PN}-dev = "libqwt-dev"
\ No newline at end of file
diff --git a/meta-oe/recipes-qt/qwt/qwt.inc b/meta-oe/recipes-qt/qwt/qwt.inc
new file mode 100644
index 0000000..da1ed11
--- /dev/null
+++ b/meta-oe/recipes-qt/qwt/qwt.inc
@@ -0,0 +1,33 @@
+DESCRIPTION = "Qt Widget Extension for Technical Applications"
+SECTION = "libs"
+PRIORITY = "optional"
+
+# LGPLv2.1 + some exceptions
+LICENSE = "QWTv1.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt"
+
+S = "${WORKDIR}/qwt-${PV}"
+
+do_configure_prepend() {
+ sed -i -e 's:RELEASE_SUFFIX = :RELEASE_SUFFIX = ${QT_LIBINFIX}:' *.pri
+ sed -i -e s:lqwt:lqwt${QT_LIBINFIX}:g -e s:/usr/local/qwt-$\${QwtVersion}:${prefix}:g *.prf
+ sed -e 's/#CONFIG += QwtExamples/CONFIG += QwtExamples/g' -i qwtconfig.pri
+ sed -i -e s:/usr/local/qwt-${PV}:${D}${prefix}:g ${S}/*.pri
+}
+
+do_install() {
+ oe_runmake -e install
+ install -d ${D}${datadir}/doc/${PN}
+ mv ${D}${prefix}/doc/* ${D}${datadir}/doc/${PN}/
+ cd ${S}/examples
+ install -d ${D}/${bindir}
+ cd bin${QT_LIBINFIX}/
+ for i in * ; do
+ cp -pPR ${i} ${D}/${bindir}/${i}${QT_LIBINFIX}
+ done
+}
+
+PACKAGES_prepend = "${PN}-examples "
+FILES_${PN}-examples = "${bindir}/*"
diff --git a/meta-oe/recipes-qt/qwt/qwt_5.2.1.bb b/meta-oe/recipes-qt/qwt/qwt_5.2.1.bb
new file mode 100644
index 0000000..238a4fb
--- /dev/null
+++ b/meta-oe/recipes-qt/qwt/qwt_5.2.1.bb
@@ -0,0 +1,8 @@
+inherit qt4x11
+
+require qwt.inc
+
+SRC_URI[qwt.md5sum] = "4a595b8db0ec3856b117836c1d60cb27"
+SRC_URI[qwt.sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f"
+
+RPROVIDES_${PN}-dev = "libqwt-dev"
\ No newline at end of file
--
1.7.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] qwt: import from openembedded.dev
2011-09-15 9:42 [PATCH] qwt: import from openembedded.dev Denis Carikli
@ 2011-09-15 10:41 ` Koen Kooi
2011-09-15 13:22 ` Denis Carikli
2011-09-15 10:41 ` Paul Menzel
1 sibling, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2011-09-15 10:41 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 15-09-11 11:42, Denis Carikli schreef:
> The only change between openembedded.dev and meta-openembedded was the
> addition of LIC_FILES_CHKSUM
>
> Signed-off-by: Denis Carikli <denis@eukrea.com>
Applied, thanks!
Do you have a patch q'd to update it to a newer version (e.g. 6.x)?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOcdZHMkyGM64RGpERAkfnAJ40hCx7Ul+miyvkwi3xep7iQ/BqwACgh0F/
jGS3u9GkMgcQyQTMVLX2dOI=
=aAoV
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] qwt: import from openembedded.dev
2011-09-15 9:42 [PATCH] qwt: import from openembedded.dev Denis Carikli
2011-09-15 10:41 ` Koen Kooi
@ 2011-09-15 10:41 ` Paul Menzel
1 sibling, 0 replies; 4+ messages in thread
From: Paul Menzel @ 2011-09-15 10:41 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3669 bytes --]
Dear Denis,
thank you for the patch. Please remember to tag patches for meta-oe with
[meta-oe].
Am Donnerstag, den 15.09.2011, 11:42 +0200 schrieb Denis Carikli:
> The only change between openembedded.dev and meta-openembedded was
> the addition of LIC_FILES_CHKSUM
>
> Signed-off-by: Denis Carikli <denis@eukrea.com>
I would prefer if you format such import commits as follows.
qwt: Add version 5.2.1 (initial recipe)
• Import recipe from OE-classic [1].
• Add `LIC_FILES_CHKSUM`.
• Build and run tested with ….
[1] http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/qwt/?id=750e869586413347cc73de1615979288af750c97
What URL or commit ID to use is up to you.
> ---
> meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb | 8 ++++++++
> meta-oe/recipes-qt/qwt/qwt.inc | 33 +++++++++++++++++++++++++++++++++
> meta-oe/recipes-qt/qwt/qwt_5.2.1.bb | 8 ++++++++
> 3 files changed, 49 insertions(+), 0 deletions(-)
> create mode 100644 meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb
> create mode 100644 meta-oe/recipes-qt/qwt/qwt.inc
> create mode 100644 meta-oe/recipes-qt/qwt/qwt_5.2.1.bb
>
> diff --git a/meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb b/meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb
> new file mode 100644
> index 0000000..2f55061
> --- /dev/null
> +++ b/meta-oe/recipes-qt/qwt/qwt-e_5.2.1.bb
> @@ -0,0 +1,8 @@
> +inherit qt4e
> +
> +require qwt.inc
> +
> +SRC_URI[qwt.md5sum] = "4a595b8db0ec3856b117836c1d60cb27"
> +SRC_URI[qwt.sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f"
> +
> +RPROVIDES_${PN}-dev = "libqwt-dev"
> \ No newline at end of file
Should these new lines be added?
> diff --git a/meta-oe/recipes-qt/qwt/qwt.inc b/meta-oe/recipes-qt/qwt/qwt.inc
> new file mode 100644
> index 0000000..da1ed11
> --- /dev/null
> +++ b/meta-oe/recipes-qt/qwt/qwt.inc
> @@ -0,0 +1,33 @@
> +DESCRIPTION = "Qt Widget Extension for Technical Applications"
> +SECTION = "libs"
> +PRIORITY = "optional"
> +
> +# LGPLv2.1 + some exceptions
> +LICENSE = "QWTv1.0"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt"
> +
> +S = "${WORKDIR}/qwt-${PV}"
Is this the default? If yes please remove it?
> +
> +do_configure_prepend() {
> + sed -i -e 's:RELEASE_SUFFIX = :RELEASE_SUFFIX = ${QT_LIBINFIX}:' *.pri
> + sed -i -e s:lqwt:lqwt${QT_LIBINFIX}:g -e s:/usr/local/qwt-$\${QwtVersion}:${prefix}:g *.prf
> + sed -e 's/#CONFIG += QwtExamples/CONFIG += QwtExamples/g' -i qwtconfig.pri
> + sed -i -e s:/usr/local/qwt-${PV}:${D}${prefix}:g ${S}/*.pri
> +}
> +
> +do_install() {
> + oe_runmake -e install
> + install -d ${D}${datadir}/doc/${PN}
> + mv ${D}${prefix}/doc/* ${D}${datadir}/doc/${PN}/
> + cd ${S}/examples
> + install -d ${D}/${bindir}
> + cd bin${QT_LIBINFIX}/
> + for i in * ; do
> + cp -pPR ${i} ${D}/${bindir}/${i}${QT_LIBINFIX}
> + done
> +}
> +
> +PACKAGES_prepend = "${PN}-examples "
> +FILES_${PN}-examples = "${bindir}/*"
> diff --git a/meta-oe/recipes-qt/qwt/qwt_5.2.1.bb b/meta-oe/recipes-qt/qwt/qwt_5.2.1.bb
> new file mode 100644
> index 0000000..238a4fb
> --- /dev/null
> +++ b/meta-oe/recipes-qt/qwt/qwt_5.2.1.bb
> @@ -0,0 +1,8 @@
> +inherit qt4x11
> +
> +require qwt.inc
> +
> +SRC_URI[qwt.md5sum] = "4a595b8db0ec3856b117836c1d60cb27"
> +SRC_URI[qwt.sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f"
> +
> +RPROVIDES_${PN}-dev = "libqwt-dev"
> \ No newline at end of file
Thanks,
Paul
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] qwt: import from openembedded.dev
2011-09-15 10:41 ` Koen Kooi
@ 2011-09-15 13:22 ` Denis Carikli
0 siblings, 0 replies; 4+ messages in thread
From: Denis Carikli @ 2011-09-15 13:22 UTC (permalink / raw)
To: openembedded-devel
> Do you have a patch q'd to update it to a newer version (e.g. 6.x)?
No I didn't made one yet...
Denis.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-15 16:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 9:42 [PATCH] qwt: import from openembedded.dev Denis Carikli
2011-09-15 10:41 ` Koen Kooi
2011-09-15 13:22 ` Denis Carikli
2011-09-15 10:41 ` Paul Menzel
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.