Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/7] apr: Upgrade to 1.4.5
Date: Sat, 30 Jul 2011 11:47:39 -0700	[thread overview]
Message-ID: <1762625.M9azkoXr3D@perseus> (raw)
In-Reply-To: <b5416aada1f601affe6bd00a1058a130218392df.1311858056.git.edwin.zhai@intel.com>

On Thursday, July 28, 2011 09:03:05 PM edwin.zhai@intel.com wrote:
> From: Zhai Edwin <edwin.zhai@intel.com>
> 
> Remove buildconf_fix.patch as already in upstream.
> 
> Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
> ---
>  meta/recipes-support/apr/apr/buildconf_fix.patch   |   27
> -------------------- .../apr/{apr_1.4.2.bb => apr_1.4.5.bb}             |  
>  9 +++---
>  2 files changed, 5 insertions(+), 31 deletions(-)
>  delete mode 100644 meta/recipes-support/apr/apr/buildconf_fix.patch
>  rename meta/recipes-support/apr/{apr_1.4.2.bb => apr_1.4.5.bb} (85%)
> 
> diff --git a/meta/recipes-support/apr/apr/buildconf_fix.patch
> b/meta/recipes-support/apr/apr/buildconf_fix.patch deleted file mode 100644
> index 2c9d62e..0000000
> --- a/meta/recipes-support/apr/apr/buildconf_fix.patch
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -Remove the new libtool detection method to avoid config failure. Poky's
> libtool -has different format for "aclocaldir", and there is no elegant
> parsing method, -so fall back to old detection.
> -
> -Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
> -
> -Upstream-Status: Inappropriate [configuration]
> -
> -Index: apr-1.4.2/buildconf
> -===================================================================
> ---- apr-1.4.2.orig/buildconf	2009-11-13 06:19:49.000000000 +0800
> -+++ apr-1.4.2/buildconf	2010-11-29 14:39:19.000000000 +0800
> -@@ -50,14 +50,6 @@
> -
> - if [ -f libtool.m4 ]; then
> -    ltfile=`pwd`/libtool.m4
> --elif grep all_pkgmacro_files $libtoolize > /dev/null; then
> --    # libtool 2.x
> --   aclocal_dir=`sed -n '/^aclocaldir=/{s/.*=//;p;q;}' < $libtoolize`
> --   ltfiles=`sed -n '/^all_pkgmacro_files=/{s/.*=//;;s/"//;p;q;}' <
> $libtoolize` --   for f in $ltfiles; do
> --       test -f "$aclocal_dir/$f" && cp "$aclocal_dir/$f" build
> --   done
> --   ltfile=$aclocal_dir/libtool.m4
> - else
> -    ltfindcmd="`sed -n \"/=[^\\\`]/p;/libtool_m4=/{s/.*=/echo /p;q;}\" \
> -                    < $libtoolize`"
> diff --git a/meta/recipes-support/apr/apr_1.4.2.bb
> b/meta/recipes-support/apr/apr_1.4.5.bb similarity index 85%
> rename from meta/recipes-support/apr/apr_1.4.2.bb
> rename to meta/recipes-support/apr/apr_1.4.5.bb
> index 89bdadf..26a1818 100644
> --- a/meta/recipes-support/apr/apr_1.4.2.bb
> +++ b/meta/recipes-support/apr/apr_1.4.5.bb
> @@ -11,11 +11,10 @@ PR = "r0"
>  SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \
>             file://configure_fixes.patch;patch=1 \
>  	   file://cleanup.patch;patch=1 \
> -           file://configfix.patch;patch=1 \
> -           file://buildconf_fix.patch;patch=1"
> +           file://configfix.patch;patch=1"

while you are at it get rid of patch=1 from SRC_URI its default in bitbake and 
redundant to use

> 
> -SRC_URI[md5sum] = "4b00e8f70c067893d075577962656b35"
> -SRC_URI[sha256sum] =
> "2017ca700694d09d2b0b21dd7c4d195e43a48735aac88526160c6195ee8f5391"
> +SRC_URI[md5sum] = "8b53f5a5669d0597f2da889a2f576eb6"
> +SRC_URI[sha256sum] =
> "38c61cacb39be649411cdab212979c71ce29495549c249c2e9a1b0d12480c93e"
> 
>  inherit autotools lib_package binconfig
> 
> @@ -26,6 +25,8 @@ do_configure_prepend() {
>  	./buildconf
>  }
> 
> +FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*"
> +
>  #for some reason, build/libtool.m4 handled by buildconf still be
> overwritten #when autoconf, so handle it again.
>  do_configure_append() {
-- 
Khem Raj



  reply	other threads:[~2011-07-30 18:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-28 13:03 [PATCH 0/7] packages upgrade, Edwin, July 28, 2011 edwin.zhai
2011-07-28 13:03 ` [PATCH 1/7] lighttpd: Upgrade to 1.4.29 edwin.zhai
2011-07-28 13:03 ` [PATCH 2/7] libsoup-2.4: Upgrade to 2.34.2 edwin.zhai
2011-07-28 13:03 ` [PATCH 3/7] apr: Upgrade to 1.4.5 edwin.zhai
2011-07-30 18:47   ` Khem Raj [this message]
2011-07-28 13:03 ` [PATCH 4/7] apr-util: Upgrade to 1.3.12 edwin.zhai
2011-07-30 18:48   ` Khem Raj
2011-08-02  7:53     ` Zhai, Edwin
2011-07-28 13:03 ` [PATCH 5/7] libassuan: Upgrade to 2.0.2 edwin.zhai
2011-07-28 13:03 ` [PATCH 6/7] gpgme: Upgrade to 1.3.1 edwin.zhai
2011-07-28 13:03 ` [PATCH 7/7] parted: Upgrade to 3.0 edwin.zhai

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=1762625.M9azkoXr3D@perseus \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox