All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lzo: Upgrade 2.09 -> 2.10
@ 2017-06-02  3:12 Fan Xin
  2017-06-02  3:14 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Fan Xin @ 2017-06-02  3:12 UTC (permalink / raw)
  To: openembedded-core

1. Upgrade lzo from 2.09 to 2.10

2. Update the license checksum due to the date change, not license change.

3. Add a patch to fix the undefined error.

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
---
 ...-pkgconfigdir-to-solve-the-undefine-error.patch | 27 ++++++++++++++++++++++
 .../lzo/{lzo_2.09.bb => lzo_2.10.bb}               |  9 ++++----
 2 files changed, 32 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
 rename meta/recipes-support/lzo/{lzo_2.09.bb => lzo_2.10.bb} (74%)

diff --git a/meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch b/meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
new file mode 100644
index 0000000..5235a15
--- /dev/null
+++ b/meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
@@ -0,0 +1,27 @@
+From e730bfd7c2d3a4b5f3605878599cb9b20d31b1fd Mon Sep 17 00:00:00 2001
+From: Fan Xin <fan.xin@jp.fujitsu.com>
+Date: Fri, 2 Jun 2017 11:52:25 +0900
+Subject: [PATCH] Add pkgconfigdir to solve the undefine error.
+
+Upstream-Status: Pending
+
+Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
+---
+ Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index e4d383b..c75023d 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -14,6 +14,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
+ LDADD = src/liblzo2.la
+ lib_LTLIBRARIES =
+ noinst_PROGRAMS =
++pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = lzo2.pc
+ 
+ 
+-- 
+1.9.1
+
diff --git a/meta/recipes-support/lzo/lzo_2.09.bb b/meta/recipes-support/lzo/lzo_2.10.bb
similarity index 74%
rename from meta/recipes-support/lzo/lzo_2.09.bb
rename to meta/recipes-support/lzo/lzo_2.10.bb
index 2978617..efeb167 100644
--- a/meta/recipes-support/lzo/lzo_2.09.bb
+++ b/meta/recipes-support/lzo/lzo_2.10.bb
@@ -3,23 +3,24 @@ HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/"
 SECTION = "libs"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://src/lzo_init.c;beginline=5;endline=25;md5=355023835a9b9eeb70ab895395e951ff"
+                    file://src/lzo_init.c;beginline=5;endline=25;md5=9ae697ca01829b0a383c5d2d163e0108"
 
 SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \
            file://0001-Use-memcpy-instead-of-reinventing-it.patch \
+	   file://0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch \
            file://acinclude.m4 \
            file://run-ptest \
            "
 
-SRC_URI[md5sum] = "c7ffc9a103afe2d1bba0b015e7aa887f"
-SRC_URI[sha256sum] = "f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c"
+SRC_URI[md5sum] = "39d3f3f9c55c87b1e5d6888e1420f4b5"
+SRC_URI[sha256sum] = "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072"
 
 inherit autotools ptest
 
 EXTRA_OECONF = "--enable-shared"
 
 do_configure_prepend () {
-	cp ${WORKDIR}/acinclude.m4 ${S}/
+#	cp ${WORKDIR}/acinclude.m4 ${S}/
 }
 
 do_install_ptest() {
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] lzo: Upgrade 2.09 -> 2.10
  2017-06-02  3:12 [PATCH] lzo: Upgrade 2.09 -> 2.10 Fan Xin
@ 2017-06-02  3:14 ` Khem Raj
  2017-06-02  4:49   ` [PATCH v2] " Fan Xin
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2017-06-02  3:14 UTC (permalink / raw)
  To: Fan Xin, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3680 bytes --]

On Thu, Jun 1, 2017 at 8:11 PM Fan Xin <fan.xin@jp.fujitsu.com> wrote:

> 1. Upgrade lzo from 2.09 to 2.10
>
> 2. Update the license checksum due to the date change, not license change.
>
> 3. Add a patch to fix the undefined error.
>
> Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
> ---
>  ...-pkgconfigdir-to-solve-the-undefine-error.patch | 27
> ++++++++++++++++++++++
>  .../lzo/{lzo_2.09.bb => lzo_2.10.bb}               |  9 ++++----
>  2 files changed, 32 insertions(+), 4 deletions(-)
>  create mode 100644
> meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
>  rename meta/recipes-support/lzo/{lzo_2.09.bb => lzo_2.10.bb} (74%)
>
> diff --git
> a/meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
> b/meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
> new file mode 100644
> index 0000000..5235a15
> --- /dev/null
> +++
> b/meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
> @@ -0,0 +1,27 @@
> +From e730bfd7c2d3a4b5f3605878599cb9b20d31b1fd Mon Sep 17 00:00:00 2001
> +From: Fan Xin <fan.xin@jp.fujitsu.com>
> +Date: Fri, 2 Jun 2017 11:52:25 +0900
> +Subject: [PATCH] Add pkgconfigdir to solve the undefine error.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
> +---
> + Makefile.am | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/Makefile.am b/Makefile.am
> +index e4d383b..c75023d 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -14,6 +14,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
> + LDADD = src/liblzo2.la
> + lib_LTLIBRARIES =
> + noinst_PROGRAMS =
> ++pkgconfigdir = $(libdir)/pkgconfig
> + pkgconfig_DATA = lzo2.pc
> +
> +
> +--
> +1.9.1
> +
> diff --git a/meta/recipes-support/lzo/lzo_2.09.bb
> b/meta/recipes-support/lzo/lzo_2.10.bb
> similarity index 74%
> rename from meta/recipes-support/lzo/lzo_2.09.bb
> rename to meta/recipes-support/lzo/lzo_2.10.bb
> index 2978617..efeb167 100644
> --- a/meta/recipes-support/lzo/lzo_2.09.bb
> +++ b/meta/recipes-support/lzo/lzo_2.10.bb
> @@ -3,23 +3,24 @@ HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/"
>  SECTION = "libs"
>  LICENSE = "GPLv2+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
> -
> file://src/lzo_init.c;beginline=5;endline=25;md5=355023835a9b9eeb70ab895395e951ff"
> +
> file://src/lzo_init.c;beginline=5;endline=25;md5=9ae697ca01829b0a383c5d2d163e0108"
>
>  SRC_URI = "
> http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \
>             file://0001-Use-memcpy-instead-of-reinventing-it.patch \
> +          file://0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch \
>             file://acinclude.m4 \
>             file://run-ptest \
>             "
>
> -SRC_URI[md5sum] = "c7ffc9a103afe2d1bba0b015e7aa887f"
> -SRC_URI[sha256sum] =
> "f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c"
> +SRC_URI[md5sum] = "39d3f3f9c55c87b1e5d6888e1420f4b5"
> +SRC_URI[sha256sum] =
> "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072"
>
>  inherit autotools ptest
>
>  EXTRA_OECONF = "--enable-shared"
>
>  do_configure_prepend () {
> -       cp ${WORKDIR}/acinclude.m4 ${S}/
> +#      cp ${WORKDIR}/acinclude.m4 ${S}/
>  }
>

Delete the whole function

>
>  do_install_ptest() {
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 5738 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] lzo: Upgrade 2.09 -> 2.10
  2017-06-02  3:14 ` Khem Raj
@ 2017-06-02  4:49   ` Fan Xin
  0 siblings, 0 replies; 3+ messages in thread
From: Fan Xin @ 2017-06-02  4:49 UTC (permalink / raw)
  To: openembedded-core

1. Upgrade lzo from 2.09 to 2.10

2. Update the license checksum due to the date change, not license change.

3. Add a patch to fix the undefined error.

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
---
 ...-pkgconfigdir-to-solve-the-undefine-error.patch | 27 ++++++++++++++++++++++
 .../lzo/{lzo_2.09.bb => lzo_2.10.bb}               |  7 +++---
 2 files changed, 31 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
 rename meta/recipes-support/lzo/{lzo_2.09.bb => lzo_2.10.bb} (78%)

diff --git a/meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch b/meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
new file mode 100644
index 0000000..5235a15
--- /dev/null
+++ b/meta/recipes-support/lzo/lzo/0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch
@@ -0,0 +1,27 @@
+From e730bfd7c2d3a4b5f3605878599cb9b20d31b1fd Mon Sep 17 00:00:00 2001
+From: Fan Xin <fan.xin@jp.fujitsu.com>
+Date: Fri, 2 Jun 2017 11:52:25 +0900
+Subject: [PATCH] Add pkgconfigdir to solve the undefine error.
+
+Upstream-Status: Pending
+
+Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
+---
+ Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index e4d383b..c75023d 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -14,6 +14,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
+ LDADD = src/liblzo2.la
+ lib_LTLIBRARIES =
+ noinst_PROGRAMS =
++pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = lzo2.pc
+ 
+ 
+-- 
+1.9.1
+
diff --git a/meta/recipes-support/lzo/lzo_2.09.bb b/meta/recipes-support/lzo/lzo_2.10.bb
similarity index 78%
rename from meta/recipes-support/lzo/lzo_2.09.bb
rename to meta/recipes-support/lzo/lzo_2.10.bb
index 2978617..490d230 100644
--- a/meta/recipes-support/lzo/lzo_2.09.bb
+++ b/meta/recipes-support/lzo/lzo_2.10.bb
@@ -3,16 +3,17 @@ HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/"
 SECTION = "libs"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://src/lzo_init.c;beginline=5;endline=25;md5=355023835a9b9eeb70ab895395e951ff"
+                    file://src/lzo_init.c;beginline=5;endline=25;md5=9ae697ca01829b0a383c5d2d163e0108"
 
 SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \
            file://0001-Use-memcpy-instead-of-reinventing-it.patch \
+	   file://0001-Add-pkgconfigdir-to-solve-the-undefine-error.patch \
            file://acinclude.m4 \
            file://run-ptest \
            "
 
-SRC_URI[md5sum] = "c7ffc9a103afe2d1bba0b015e7aa887f"
-SRC_URI[sha256sum] = "f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c"
+SRC_URI[md5sum] = "39d3f3f9c55c87b1e5d6888e1420f4b5"
+SRC_URI[sha256sum] = "c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072"
 
 inherit autotools ptest
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-02  4:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-02  3:12 [PATCH] lzo: Upgrade 2.09 -> 2.10 Fan Xin
2017-06-02  3:14 ` Khem Raj
2017-06-02  4:49   ` [PATCH v2] " Fan Xin

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.