Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Kang Kai <Kai.Kang@windriver.com>
To: Kai Kang <kai.kang@windriver.com>, Saul Wold <sgw@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 5/5] libnewt: update to 0.52.17
Date: Thu, 20 Mar 2014 14:33:27 +0800	[thread overview]
Message-ID: <532A8BB7.3010306@windriver.com> (raw)
In-Reply-To: <eaf248b590ed38e4ad4135ff58e99e23336c9f75.1394610315.git.kai.kang@windriver.com>

On 2014年03月12日 15:47, Kai Kang wrote:
> Update libnewt and libnewt-python to 0.52.17.
>
> * remove PR
> * update cross_ar.patch and fix_SHAREDDIR.patch that context changed
> * remove fix_python_fpic.patch which is merged
> * update so file name in libnewt-python recipe
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>   meta/recipes-extended/newt/files/cross_ar.patch      | 16 ++++------------
>   meta/recipes-extended/newt/files/fix_SHAREDDIR.patch |  4 ++--
>   meta/recipes-extended/newt/libnewt-python_0.52.14.bb |  5 ++---
>   meta/recipes-extended/newt/libnewt_0.52.14.bb        | 10 ++++------
>   4 files changed, 12 insertions(+), 23 deletions(-)
>
> diff --git a/meta/recipes-extended/newt/files/cross_ar.patch b/meta/recipes-extended/newt/files/cross_ar.patch
> index f67239a..2035cc4 100644
> --- a/meta/recipes-extended/newt/files/cross_ar.patch
> +++ b/meta/recipes-extended/newt/files/cross_ar.patch
> @@ -19,16 +19,8 @@ Upstream-Status: Pending
>   
>   --- a/Makefile.in
>   +++ b/Makefile.in
> -@@ -7,6 +7,7 @@ CFLAGS = @CFLAGS@
> - LDFLAGS = @LDFLAGS@
> - CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@
> - GNU_LD = @GNU_LD@
> -+AR = @AR@
> -
> - VERSION = @VERSION@
> - TAG = r$(subst .,-,$(VERSION))
> -@@ -95,7 +96,7 @@ whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH)
> - 	$(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.so $(WHIPTCLOBJS) -L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
> +@@ -109,7 +109,7 @@
> + 	$(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt  $(LIBTCL) -lpopt $(LIBS)
>    
>    $(LIBNEWT): $(LIBOBJS)
>   -	ar rv $@ $^
> @@ -38,10 +30,10 @@ Upstream-Status: Pending
>    
>   --- a/configure.ac
>   +++ b/configure.ac
> -@@ -14,6 +14,10 @@ AC_PROG_CC
> - AC_PROG_INSTALL
> +@@ -15,6 +15,10 @@
>    AC_PROG_LN_S
>    AC_PROG_GREP
> + AC_SYS_LARGEFILE
>   +AN_MAKEVAR([AR], [AC_PROG_AR])
>   +AN_PROGRAM([ar], [AC_PROG_AR])
>   +AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])
> diff --git a/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch b/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
> index 7795260..1907aef 100644
> --- a/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
> +++ b/meta/recipes-extended/newt/files/fix_SHAREDDIR.patch
> @@ -12,14 +12,14 @@ Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
>   
>   --- a/Makefile.in
>   +++ b/Makefile.in
> -@@ -114,12 +114,12 @@
> +@@ -128,12 +128,12 @@
>    
>    sharedlib: $(LIBNEWTSH)
>    
>   -$(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
>   +$(LIBNEWTSH): $(SHAREDOBJS)
>    	$(CC) -shared -o $(LIBNEWTSH) $(SHLIBFLAGS) $(SHAREDOBJS) $(LDFLAGS) $(LIBS)
> - 	ln -fs $(LIBNEWTSONAME) libnewt.so
> + 	ln -fs $(LIBNEWTSONAME) libnewt.$(SOEXT)
>    	ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
>    
>   -$(SHAREDDIR)/%.o : %.c
> diff --git a/meta/recipes-extended/newt/libnewt-python_0.52.14.bb b/meta/recipes-extended/newt/libnewt-python_0.52.14.bb
> index 871b195..70ab202 100644
> --- a/meta/recipes-extended/newt/libnewt-python_0.52.14.bb
> +++ b/meta/recipes-extended/newt/libnewt-python_0.52.14.bb
> @@ -9,15 +9,14 @@ inherit pythonnative python-dir
>   EXTRA_OECONF += "--with-python"
>   EXTRA_OEMAKE += "PYTHONVERS=${PYTHON_DIR}"
>   
> -
>   do_compile () {
>   	VERSION="$(sed -n 's/^VERSION = //p' Makefile)"
> -	oe_runmake "LIBNEWTSH=${STAGING_LIBDIR}/libnewt.so.$VERSION" _snackmodule.so
> +	oe_runmake "LIBNEWTSH=${STAGING_LIBDIR}/libnewt.so.$VERSION" _snack.so
>   }
>   
>   do_install () {
>   	install -d ${D}${PYTHON_SITEPACKAGES_DIR}
> -	install -m 0755 ${PYTHON_DIR}/_snackmodule.so ${D}${PYTHON_SITEPACKAGES_DIR}/
> +	install -m 0755 ${PYTHON_DIR}/_snack.so ${D}${PYTHON_SITEPACKAGES_DIR}/
>   	install -m 0644 snack.py ${D}${PYTHON_SITEPACKAGES_DIR}/
>   }
>   
> diff --git a/meta/recipes-extended/newt/libnewt_0.52.14.bb b/meta/recipes-extended/newt/libnewt_0.52.14.bb
> index 65bcf40..46598e6 100644
> --- a/meta/recipes-extended/newt/libnewt_0.52.14.bb
> +++ b/meta/recipes-extended/newt/libnewt_0.52.14.bb
> @@ -12,21 +12,19 @@ HOMEPAGE = "https://fedorahosted.org/newt/"
>   SECTION = "libs"
>   
>   LICENSE = "LGPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
>   
>   # slang needs to be >= 2.2
>   DEPENDS = "slang popt"
>   
> -PR = "r2"
> -
>   SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \
>              file://remove_slang_include.patch \
>              file://fix_SHAREDDIR.patch \
>              file://cross_ar.patch \
> -           file://fix_python_fpic.patch"
> +          "
>   
> -SRC_URI[md5sum] = "eb78c6bb658b92ec7198908b5b8d0e37"
> -SRC_URI[sha256sum] = "f70f4f58baa60388ddf2e39249ffb00898fb40f2b2767e42e2ab51fe4b40978e"
> +SRC_URI[md5sum] = "f36d4d908965a0c89fd6fd8b61a6118b"
> +SRC_URI[sha256sum] = "69837973ef2ee2fa644426f1c3e48d2b18785ebcd382ef7fd01eb2e67d2d632b"
>   
>   S = "${WORKDIR}/newt-${PV}"
>   

Hi Saul,

Any comment on libnewt commit? I notice other patches in this serial are 
merged except libnewt.

Thanks,

-- 
Regards,
Neil | Kai Kang



  reply	other threads:[~2014-03-20  6:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12  7:46 [PATCH 0/5] Update some packages Kai Kang
2014-03-12  7:46 ` [PATCH 1/5] qmmp: update to 0.7.5 Kai Kang
2014-03-12  7:46 ` [PATCH 2/5] directfb: update to 1.7.1 Kai Kang
2014-03-12  7:46 ` [PATCH 3/5] directfb-examples: update to 1.7.0 Kai Kang
2014-03-12  7:47 ` [PATCH 4/5] alsa-tools: update to version 1.0.27 Kai Kang
2014-03-12  7:47 ` [PATCH 5/5] libnewt: update to 0.52.17 Kai Kang
2014-03-20  6:33   ` Kang Kai [this message]
2014-03-20 11:27     ` Richard Purdie
2014-03-21  2:08       ` Kang Kai

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=532A8BB7.3010306@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sgw@linux.intel.com \
    /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