From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][for-dora 1/3] geos: Update to 3.4.2 and rework the packaging
Date: Sat, 28 Dec 2013 10:15:21 +0100 [thread overview]
Message-ID: <l9m4qt$96c$1@ger.gmane.org> (raw)
In-Reply-To: <1388121314-6630-1-git-send-email-otavio@ossystems.com.br>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All 3 patches look good to me for going into the dora branch
Otavio Salvador schreef op 27-12-13 06:15:
> * This updates to the 3.4.2 release and rework the packaging splitting
> the C bindings in another binary package to reduce footprint in rootfs;
> this also moves geos-config to the development package as it should.
>
> * Fix -dev installation and upgrade path Using 'lib_package' renames the
> binaries and we need a transitional package to be used as upgrade path.
> This is done using an empty 'geos' package which installs the new ones as
> runtime dependency.
>
> This same package is used to satisfy -dev dependency of geos package
> allowing for its inclusion into SDK.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by:
> Martin Jansa <Martin.Jansa@gmail.com> ---
> .../geos-config-Add-includedir-variable.patch | 39
> ++++++++++++++++++++++ meta-oe/recipes-navigation/geos/geos.inc
> | 22 ++++++------ meta-oe/recipes-navigation/geos/geos_3.3.2.bb | 7
> ---- meta-oe/recipes-navigation/geos/geos_3.4.2.bb | 6 ++++ 4 files
> changed, 56 insertions(+), 18 deletions(-) create mode 100644
> meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch
>
>
delete mode 100644 meta-oe/recipes-navigation/geos/geos_3.3.2.bb
> create mode 100644 meta-oe/recipes-navigation/geos/geos_3.4.2.bb
>
> diff --git
> a/meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch
> b/meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch
>
>
new file mode 100644
> index 0000000..645e6f6 --- /dev/null +++
> b/meta-oe/recipes-navigation/geos/files/geos-config-Add-includedir-variable.patch
>
>
@@ -0,0 +1,39 @@
> +From 9d51027c228dafd7db2d0cffca1f0fc695e950fd Mon Sep 17 00:00:00 2001
> +From: Otavio Salvador <otavio@ossystems.com.br> +Date: Mon, 2 Dec 2013
> 11:33:26 -0200 +Subject: [PATCH] geos-config: Add includedir variable +
> +This fixes cross-compile as it is easier to mangle the includedir
> +during sysroot generation. + +Upstream-Status: Pending + +Signed-off-by:
> Otavio Salvador <otavio@ossystems.com.br> +--- + tools/geos-config.in |
> 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git
> a/tools/geos-config.in b/tools/geos-config.in +index 9b45b5f..1749892
> 100644 +--- a/tools/geos-config.in ++++ b/tools/geos-config.in +@@ -1,6
> +1,7 @@ + #!/bin/sh + prefix=@prefix@ + exec_prefix=@exec_prefix@
> ++includedir=@includedir@ + libdir=@libdir@ + + usage() +@@ -38,7 +39,7
> @@ case $1 in + echo @VERSION@ + ;; + --cflags) +- echo
> -I${prefix}/include ++ echo -I${includedir} + ;; + --libs) +
> # TODO: make an alias for --clibs +-- +1.7.10.4 + diff --git
> a/meta-oe/recipes-navigation/geos/geos.inc
> b/meta-oe/recipes-navigation/geos/geos.inc index e0c82bc..2e308b4 100644
> --- a/meta-oe/recipes-navigation/geos/geos.inc +++
> b/meta-oe/recipes-navigation/geos/geos.inc @@ -2,20 +2,20 @@ DESCRIPTION
> = "GEOS - Geometry Engine, Open Source" HOMEPAGE =
> "http://trac.osgeo.org/geos/" SECTION = "libs"
>
> -INC_PR = "r1" - LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM =
> "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
>
> SRC_URI = "http://download.osgeo.org/geos/geos-${PV}.tar.bz2"
>
> -inherit autotools pkgconfig +inherit autotools pkgconfig binconfig +
> +PACKAGES =+ "geoslib ${PN}-c1" + +DESCRIPTION_${PN}lib = "Geometry
> engine for Geographic Information Systems - C++ Library" +FILES_${PN}lib
> += "${libdir}/libgeos-${PV}.so" + +DESCRIPTION_${PN}-c1 = "Geometry
> engine for Geographic Information Systems - C Library" +FILES_${PN}-c1 +=
> "${libdir}/libgeos_c.so.*"
>
> -# libgeos-${PV}.so is needed in PV -FILES_SOLIBSDEV = ""
> -FILES_${PN}-dev = "${libdir}/*.la \ -
> ${libdir}/libgeos.so \ - ${libdir}/libgeos_c.so \ -
> ${includedir}" -FILES_${PN} += " ${libdir}/libgeos-${PV}.so"
> -INSANE_SKIP_${PN} = "dev-so" +ALLOW_EMPTY_${PN} = "1" +RDEPENDS_${PN} +=
> "geoslib ${PN}-c1" diff --git
> a/meta-oe/recipes-navigation/geos/geos_3.3.2.bb
> b/meta-oe/recipes-navigation/geos/geos_3.3.2.bb deleted file mode 100644
> index e57ca6b..0000000 ---
> a/meta-oe/recipes-navigation/geos/geos_3.3.2.bb +++ /dev/null @@ -1,7
> +0,0 @@ -require geos.inc - -PR = "${INC_PR}.0" - -SRC_URI[md5sum] =
> "5b7270c73fd1c516f368af8fd1962323" -SRC_URI[sha256sum] =
> "ec64d3a92540a1618aa3b91dc1235caae1c370ec23afd59a2734062bf182ed5b" - diff
> --git a/meta-oe/recipes-navigation/geos/geos_3.4.2.bb
> b/meta-oe/recipes-navigation/geos/geos_3.4.2.bb new file mode 100644
> index 0000000..3a9a028 --- /dev/null +++
> b/meta-oe/recipes-navigation/geos/geos_3.4.2.bb @@ -0,0 +1,6 @@ +require
> geos.inc + +SRC_URI +=
> "file://geos-config-Add-includedir-variable.patch" + +SRC_URI[md5sum] =
> "fc5df2d926eb7e67f988a43a92683bae" +SRC_URI[sha256sum] =
> "15e8bfdf7e29087a957b56ac543ea9a80321481cef4d4f63a7b268953ad26c53"
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFSvpapMkyGM64RGpERAu23AKCTwqKh/MOVeen0WBKbAtq1CLTDYgCgkXRe
ZhxeqjTmCOJbU8SGJowgWuE=
=qqxF
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2013-12-28 9:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-27 5:15 [meta-oe][for-dora 1/3] geos: Update to 3.4.2 and rework the packaging Otavio Salvador
2013-12-27 5:15 ` [meta-oe][for-dora 2/3] gdal: Add recipe for 1.10.1 version Otavio Salvador
2013-12-27 5:15 ` [meta-oe][for-dora 3/3] ntfs-3g-ntfsprogs: Fix runtime dependency for development package Otavio Salvador
2013-12-28 9:15 ` Koen Kooi [this message]
2013-12-29 3:44 ` [meta-oe][for-dora 1/3] geos: Update to 3.4.2 and rework the packaging Otavio Salvador
2014-01-04 12:02 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='l9m4qt$96c$1@ger.gmane.org' \
--to=koen@dominion.thruhere.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.