gnugo_3.8: initial packaging.
PATCH 1/2 gnugo_3.8: initial packaging.
Cross-compiling patches included.
--- ...C_CANONICAL_BUILD-for-cross-build-support.patch | 25 + ...Add-support-for-BUILD_-for-cross-building.patch | 41 + ...lso-generate-native-versions-use-them-whe.patch | 263 + recipes/gnugo/gnugo/0004-Autotools-refresh.patch |13671 ++++++++++++++++++++ recipes/gnugo/gnugo_3.8.bb | 22 + 5 files changed, 14022 insertions(+), 0 deletions(-) create mode 100644 recipes/gnugo/gnugo/0001-Add-AC_CANONICAL_BUILD-for-cross-build-support.patch create mode 100644 recipes/gnugo/gnugo/0002-Add-support-for-BUILD_-for-cross-building.patch create mode 100644 recipes/gnugo/gnugo/0003-Make-libs-also-generate-native-versions-use-them-whe.patch create mode 100644 recipes/gnugo/gnugo/0004-Autotools-refresh.patch create mode 100644 recipes/gnugo/gnugo_3.8.bb
recipes/gnugo/gnugo/0001-Add-AC_CANONICAL_BUILD-for-cross-build-support.patch new file +25 -0
@@ -0,0 +1,25 @@ +From d8cd51026264b5e08d12eec25722abc3156066cc Mon Sep 17 00:00:00 2001 +From: Yann Dirson <[email protected]> +Date: Fri, 10 Sep 2010 21:45:41 +0200 +Subject: [PATCH 1/4] Add AC_CANONICAL_BUILD for cross-build support. + +Signed-off-by: Yann Dirson <[email protected]> +--- + configure.in | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/configure.in b/configure.in +index 66ea5cd..e773294 100644 +--- a/configure.in ++++ b/configure.in +@@ -28,6 +28,7 @@ GNU_PACKAGE="GNU $PACKAGE" + AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE") + + AM_MAINTAINER_MODE ++AC_CANONICAL_BUILD + + dnl See if user has expressed a preference for use of curses and/or color + dnl These set variables $enable_color and $with_curses to "no" if disabled +-- +1.7.2.3 +
recipes/gnugo/gnugo/0002-Add-support-for-BUILD_-for-cross-building.patch new file +41 -0
41 lines not on this page · raw message
recipes/gnugo/gnugo/0003-Make-libs-also-generate-native-versions-use-them-whe.patch new file +263 -0
263 lines not on this page · raw message
recipes/gnugo/gnugo/0004-Autotools-refresh.patch new file +13671 -0
2,671 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.2.3
Part of the diff is not shown here. View the raw message.
Quoted 37 lines · Yann Dirson
Cross-compiling patches included.
Signed-off-by Yann Dirson <[email protected]>---
...C_CANONICAL_BUILD-for-cross-build-support.patch | 25 + ...Add-support-for-BUILD_-for-cross-building.patch | 41 + ...lso-generate-native-versions-use-them-whe.patch | 263 + recipes/gnugo/gnugo/0004-Autotools-refresh.patch |13671 ++++++++++++++++++++ recipes/gnugo/gnugo_3.8.bb | 22 + 5 files changed, 14022 insertions(+), 0 deletions(-)create mode 100644
recipes/gnugo/gnugo/0001-Add-AC_CANONICAL_BUILD-for-cross-build-support.patchcreate mode 100644recipes/gnugo/gnugo/0002-Add-support-for-BUILD_-for-cross-building.patchcreate mode 100644recipes/gnugo/gnugo/0003-Make-libs-also-generate-native-versions-use-them-whe.patchcreate mode 100644recipes/gnugo/gnugo/0004-Autotools-refresh.patch
create mode 100644 recipes/gnugo/gnugo_3.8.bbrecipes/gnugo/gnugo/0001-Add-AC_CANONICAL_BUILD-for-cross-build-support.patch new file +6
-0@@ -0,0 +1,25 @@ +From d8cd51026264b5e08d12eec25722abc3156066cc Mon Sep 17 00:00:00 2001 +From: Yann Dirson <[email protected]> +Date: Fri, 10 Sep 2010 21:45:41 +0200 +Subject: [PATCH 1/4] Add AC_CANONICAL_BUILD for cross-build support. + +Signed-off-by: Yann Dirson <[email protected]>recipes/gnugo/gnugo_3.8.bb new file +2
-0@@ -0,0 +1,22 @@ +DESCRIPTION = "A Go/Weiqi/Baduk playing engine." +HOMEPAGE = "http://www.gnu.org/software/gnugo/gnugo.html"
recipes/gnugo/gnugo_3.8.bb line 12
Quoted 10 lines
recipes/gnugo/gnugo_3.8.bb new file +10
-0+SECTION = "console" +PRIORITY = "optional" +LICENSE = "GPL" + +SRC_URI = "${GNU_MIRROR}/gnugo/${PN}-${PV}.tar.gz" + +SRC_URI += "file://0001-Add-AC_CANONICAL_BUILD-for-cross-build-support.patch" +SRC_URI += "file://0002-Add-support-for-BUILD_-for-cross-building.patch" +SRC_URI += "file://0003-Make-libs-also-generate-native-versions-use-them-whe.patch" +SRC_URI += "file://0004-Autotools-refresh.patch"
SRC_URI could be something like
SRC_URI = "${GNU_MIRROR}/gnugo/${PN}-${PV}.tar.gz \
file://0001-Add-AC_CANONICAL_BUILD-for-cross-build-support.patch \
....
...
...
"
recipes/gnugo/gnugo_3.8.bb line 14
Quoted 2 lines
recipes/gnugo/gnugo_3.8.bb new file +2
-0+ +S = "${WORKDIR}/gnugo-${PV}"
you might not need to set S here
recipes/gnugo/gnugo_3.8.bb line 16
Quoted 2 lines
recipes/gnugo/gnugo_3.8.bb new file +2
-0+PR = "r1" +
PR starts with r0 for initial recipes
Quoted 16 lines
recipes/gnugo/gnugo_3.8.bb new file +6
-1+inherit autotools +EXTRA_OEMAKE = 'BUILD_CC="$BUILD_CC" BUILD_LD="$BUILD_LD" BUILD_CFLAGS="$BUILD_CFLAGS" BUILD_LDFLAGS="$BUILD_LDFLAGS"' + +# FIXME: should verify those checksums through other means +SRC_URI[md5sum] = "6db0a528df58876d2b0ef1659c374a9a" +SRC_URI[sha256sum] = "da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72" --1.7.2.3
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
-Khem
Quoted 4 lines · Khem Raj
recipes/gnugo/gnugo_3.8.bb line 14
Quoted 2 lines
recipes/gnugo/gnugo_3.8.bb new file +2
-0+ +S = "${WORKDIR}/gnugo-${PV}"you might not need to set S here
Right - probably at some point an error somewhere else made that necessary, but I can't remember the context - that was 1 month ago before leaving on holiday :)
Quoted 4 lines
recipes/gnugo/gnugo_3.8.bb line 16
Quoted 2 lines
recipes/gnugo/gnugo_3.8.bb new file +2
-0+PR = "r1" +PR starts with r0 for initial recipes
Is there some useful convention that can be used locally when developping, that would sort lower than r0 ? I used r0.X fo my dev build attempts, so it would seem r0 would prevent automatic upgrades ?
Best regards,
Signature · 1 line
Yann
2010/9/15 Yann Dirson <[email protected]>:
Quoted 10 lines · Khem Raj
Quoted 4 lines
recipes/gnugo/gnugo_3.8.bb line 14
Quoted 2 lines
recipes/gnugo/gnugo_3.8.bb new file +2
-0+ +S = "${WORKDIR}/gnugo-${PV}"you might not need to set S here
Right - probably at some point an error somewhere else made that necessary, but I can't remember the context - that was 1 month ago before leaving on holiday :)
Quoted 10 lines
Quoted 4 lines
recipes/gnugo/gnugo_3.8.bb line 16
Quoted 2 lines
recipes/gnugo/gnugo_3.8.bb new file +2
-0+PR = "r1" +PR starts with r0 for initial recipes
Is there some useful convention that can be used locally when developping, that would sort lower than r0 ? I used r0.X fo my dev build attempts, so it would seem r0 would prevent automatic upgrades ?
I always just start with 0 and do a bitbake -cclean -b recipe.bb; bitbake recipe ofc you can use r0.x instead and when making your patch do a clean, then reset PR to r0.
And if I recall the sorting is alphabetically so during development you could probably also use d0, d1 etc
Frans
PATCH v2 1/1 gnugo_3.8: initial packaging.
In reply to Khem RajCross-compiling patches included.
--- ...C_CANONICAL_BUILD-for-cross-build-support.patch | 25 + ...Add-support-for-BUILD_-for-cross-building.patch | 41 + ...lso-generate-native-versions-use-them-whe.patch | 263 + recipes/gnugo/gnugo/0004-Autotools-refresh.patch |13671 ++++++++++++++++++++ recipes/gnugo/gnugo_3.8.bb | 21 + 5 files changed, 14021 insertions(+), 0 deletions(-) create mode 100644 recipes/gnugo/gnugo/0001-Add-AC_CANONICAL_BUILD-for-cross-build-support.patch create mode 100644 recipes/gnugo/gnugo/0002-Add-support-for-BUILD_-for-cross-building.patch create mode 100644 recipes/gnugo/gnugo/0003-Make-libs-also-generate-native-versions-use-them-whe.patch create mode 100644 recipes/gnugo/gnugo/0004-Autotools-refresh.patch create mode 100644 recipes/gnugo/gnugo_3.8.bb
recipes/gnugo/gnugo/0001-Add-AC_CANONICAL_BUILD-for-cross-build-support.patch new file +25 -0
@@ -0,0 +1,25 @@ +From d8cd51026264b5e08d12eec25722abc3156066cc Mon Sep 17 00:00:00 2001 +From: Yann Dirson <[email protected]> +Date: Fri, 10 Sep 2010 21:45:41 +0200 +Subject: [PATCH 1/4] Add AC_CANONICAL_BUILD for cross-build support. + +Signed-off-by: Yann Dirson <[email protected]> +--- + configure.in | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/configure.in b/configure.in +index 66ea5cd..e773294 100644 +--- a/configure.in ++++ b/configure.in +@@ -28,6 +28,7 @@ GNU_PACKAGE="GNU $PACKAGE" + AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE") + + AM_MAINTAINER_MODE ++AC_CANONICAL_BUILD + + dnl See if user has expressed a preference for use of curses and/or color + dnl These set variables $enable_color and $with_curses to "no" if disabled +-- +1.7.2.3 +
recipes/gnugo/gnugo/0002-Add-support-for-BUILD_-for-cross-building.patch new file +41 -0
41 lines not on this page · raw message
recipes/gnugo/gnugo/0003-Make-libs-also-generate-native-versions-use-them-whe.patch new file +263 -0
263 lines not on this page · raw message
recipes/gnugo/gnugo/0004-Autotools-refresh.patch new file +13671 -0
2,671 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.2.3
Part of the diff is not shown here. View the raw message.