All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] sharutils: Add new package
@ 2014-10-24 10:05 Hongjun Yang
  2014-10-24 10:22 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Hongjun Yang @ 2014-10-24 10:05 UTC (permalink / raw)
  To: openembedded-devel

From: "Hongjun.Yang" <hongjun.yang@windriver.com>

Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com>
---
 .../sharutils-4.14/fix-for-cross-compiling.patch   | 29 ++++++++++++++++++++++
 .../recipes-support/sharutils/sharutils_4.14.bb    | 18 ++++++++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch
 create mode 100644 meta-oe/recipes-support/sharutils/sharutils_4.14.bb

diff --git a/meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch b/meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch
new file mode 100644
index 0000000..86a7da6
--- /dev/null
+++ b/meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch
@@ -0,0 +1,29 @@
+From 990234af84a5399017d1c4fe03c5c756a8e51e23 Mon Sep 17 00:00:00 2001
+From: Hongjun Yang <Hongjun.Yang@windriver.com>
+Date: Tue, 20 Aug 2013 09:41:43 +0800
+Subject: [PATCH] fix cross compiling issue
+
+Upstream-Status: Pending
+
+Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com>
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 6ee98e0..8067f54 100755
+--- a/configure
++++ b/configure
+@@ -26965,7 +26965,7 @@ fi
+ if test "$cross_compiling" = yes; then :
+   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+-as_fn_error $? "cannot run test program while cross compiling
++$as_echo "cannot run test program while cross compiling
+ See \`config.log' for more details" "$LINENO" 5; }
+ else
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-- 
+1.8.1.4
+
diff --git a/meta-oe/recipes-support/sharutils/sharutils_4.14.bb b/meta-oe/recipes-support/sharutils/sharutils_4.14.bb
new file mode 100644
index 0000000..49981e7
--- /dev/null
+++ b/meta-oe/recipes-support/sharutils/sharutils_4.14.bb
@@ -0,0 +1,18 @@
+SUMMARY = "This is the set of GNU shar utilities."
+HOMEPAGE = "http://www.gnu.org/software/sharutils/"
+SECTION = "console/utils"
+LICENSE="GPLv3+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+inherit gettext autotools-brokensep
+
+SRC_URI = "ftp://ftp.gnu.org/gnu/sharutils/sharutils-4.14.tar.gz \
+	   file://fix-for-cross-compiling.patch \
+	  "
+
+SRC_URI[md5sum] = "5686c11131b4c4c0841f8f3ef34d136a"
+SRC_URI[sha256sum] = "90f5107c167cfd1b299bb211828d2586471087863dbed698f53109cd5f717208"
+
+do_configure () {
+	oe_runconf
+}
-- 
1.9.1



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

* Re: [meta-oe][PATCH] sharutils: Add new package
  2014-10-24 10:05 [meta-oe][PATCH] sharutils: Add new package Hongjun Yang
@ 2014-10-24 10:22 ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2014-10-24 10:22 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hongjun Yang schreef op 24-10-14 12:05:
> From: "Hongjun.Yang" <hongjun.yang@windriver.com>
> 
> Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com> --- 
> .../sharutils-4.14/fix-for-cross-compiling.patch   | 29
> ++++++++++++++++++++++ .../recipes-support/sharutils/sharutils_4.14.bb
> | 18 ++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644
> meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch
>
> 
create mode 100644 meta-oe/recipes-support/sharutils/sharutils_4.14.bb
> 
> diff --git
> a/meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch
> b/meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch
>
> 
new file mode 100644
> index 0000000..86a7da6 --- /dev/null +++
> b/meta-oe/recipes-support/sharutils/sharutils-4.14/fix-for-cross-compiling.patch
>
> 
@@ -0,0 +1,29 @@
> +From 990234af84a5399017d1c4fe03c5c756a8e51e23 Mon Sep 17 00:00:00 2001 
> +From: Hongjun Yang <Hongjun.Yang@windriver.com> +Date: Tue, 20 Aug 2013
> 09:41:43 +0800 +Subject: [PATCH] fix cross compiling issue + 
> +Upstream-Status: Pending + +Signed-off-by: Hongjun.Yang
> <hongjun.yang@windriver.com> + +--- + configure | 2 +- + 1 file changed,
> 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure 
> +index 6ee98e0..8067f54 100755 +--- a/configure ++++ b/configure +@@
> -26965,7 +26965,7 @@ fi + if test "$cross_compiling" = yes; then : +   {
> { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +
> $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "cannot
> run test program while cross compiling ++$as_echo "cannot run test
> program while cross compiling + See \`config.log' for more details"
> "$LINENO" 5; } + else +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext +--
>  +1.8.1.4 + diff --git
> a/meta-oe/recipes-support/sharutils/sharutils_4.14.bb
> b/meta-oe/recipes-support/sharutils/sharutils_4.14.bb new file mode
> 100644 index 0000000..49981e7 --- /dev/null +++
> b/meta-oe/recipes-support/sharutils/sharutils_4.14.bb @@ -0,0 +1,18 @@ 
> +SUMMARY = "This is the set of GNU shar utilities." +HOMEPAGE =
> "http://www.gnu.org/software/sharutils/" +SECTION = "console/utils" 
> +LICENSE="GPLv3+" +LIC_FILES_CHKSUM =
> "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +inherit gettext
> autotools-brokensep + +SRC_URI =
> "ftp://ftp.gnu.org/gnu/sharutils/sharutils-4.14.tar.gz \ +
> file://fix-for-cross-compiling.patch \ +	  " + +SRC_URI[md5sum] =
> "5686c11131b4c4c0841f8f3ef34d136a" +SRC_URI[sha256sum] =
> "90f5107c167cfd1b299bb211828d2586471087863dbed698f53109cd5f717208" + 
> +do_configure () { +	oe_runconf +}

Can you add a note in the recipe and commit log why autoreconf fails?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFUSihlMkyGM64RGpERAlChAJ0ZLHbPb0F1oXz/YczTkBwRFG2GVACgtD8j
XBsqMhqeGZmPJvcSFjMlKW0=
=LRRA
-----END PGP SIGNATURE-----



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

end of thread, other threads:[~2014-10-24 10:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 10:05 [meta-oe][PATCH] sharutils: Add new package Hongjun Yang
2014-10-24 10:22 ` Koen Kooi

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.