* [RFT][PATCH V3] eglibc-2.16: Use tar ball instead of svn SRC_URI
@ 2012-10-17 21:59 Khem Raj
2012-10-23 19:07 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2012-10-17 21:59 UTC (permalink / raw)
To: openembedded-core
Adapt the recipes to fetch a tarball.
Tarball is generated from latest 2.16 branch
which has e500-math_private.patch already applied
hence we remove that patch.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../eglibc/cross-localedef-native_2.16.bb | 20 +++++++------
.../eglibc/eglibc-2.16/e500-math_private.patch | 31 --------------------
meta/recipes-core/eglibc/eglibc_2.16.bb | 19 ++++++------
3 files changed, 20 insertions(+), 50 deletions(-)
delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch
diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
index a79a276..11970e7 100644
--- a/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
+++ b/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.eglibc.org/home"
SECTION = "libs"
LICENSE = "LGPL-2.1"
-LIC_DIR = "${WORKDIR}/${EGLIBC_BRANCH}/libc"
+LIC_DIR = "${WORKDIR}/eglibc-${PV}/libc"
LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9\
file://${LIC_DIR}/COPYING;md5=393a5ca445f6965873eca0259a17f833 \
file://${LIC_DIR}/posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
@@ -16,26 +16,28 @@ inherit autotools
# pick up an eglibc-2.16 patch
FILESPATH = "${FILE_DIRNAME}/eglibc-${PV}"
-PR = "r1"
-SRCREV="19383"
-EGLIBC_BRANCH="eglibc-2_16"
-SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=http \
+PR = "r2"
+SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr21224.tar.bz2 \
file://fix_for_centos_5.8.patch;patchdir=.. \
"
-S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef"
+
+SRC_URI[md5sum] = "88894fa6e10e58e85fbd8134b8e486a8"
+SRC_URI[sha256sum] = "460a45f422da6eb1fd909baab6a64b5ae4c8ba18ea05a1491ed1024c8b98eeaa"
+
+S = "${WORKDIR}/eglibc-${PV}/localedef"
do_unpack_append() {
bb.build.exec_func('do_move_ports', d)
}
do_move_ports() {
- if test -d ${WORKDIR}/${EGLIBC_BRANCH}/ports ; then
+ if test -d ${WORKDIR}/eglibc-${PV}/ports ; then
rm -rf ${WORKDIR}/libc/ports
- mv ${WORKDIR}/${EGLIBC_BRANCH}/ports ${WORKDIR}/libc/
+ mv ${WORKDIR}/eglibc-${PV}/ports ${WORKDIR}/libc/
fi
}
-EXTRA_OECONF = "--with-glibc=${WORKDIR}/${EGLIBC_BRANCH}/libc"
+EXTRA_OECONF = "--with-glibc=${WORKDIR}/eglibc-${PV}/libc"
CFLAGS += "-DNOT_IN_libc=1"
do_configure () {
diff --git a/meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch b/meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch
deleted file mode 100644
index 9dbb26e..0000000
--- a/meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Match with the latest math_private restructuring in glibc
-
-as done here
-
-http://sourceware.org/ml/libc-alpha/2012-03/msg00302.html
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Pending
-
-Index: libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h
-===================================================================
---- libc.orig/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h 2012-07-17 22:58:20.340405923 -0700
-+++ libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h 2012-07-17 22:58:21.120405923 -0700
-@@ -1 +1 @@
--#include <math/math_private.h>
-+#include_next <sysdeps/generic/math_private.h>
-Index: libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c
-===================================================================
---- libc.orig/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c 2012-07-17 23:15:15.872405939 -0700
-+++ libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c 2012-07-17 23:18:42.760405602 -0700
-@@ -23,7 +23,7 @@
-
- #undef feraiseexcept
-
--#define __FERAISEEXCEPT_INTERNAL feraiseexcept
-+#define __FERAISEEXCEPT_INTERNAL __feraiseexcept
- #include "../spe-raise.c"
-
--libm_hidden_def (feraiseexcept)
-+libm_hidden_ver (__feraiseexcept, feraiseexcept)
diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb
index 78bf9be..74186bd 100644
--- a/meta/recipes-core/eglibc/eglibc_2.16.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.16.bb
@@ -1,13 +1,9 @@
require eglibc.inc
-SRCREV = "20393"
-
DEPENDS += "gperf-native kconfig-frontends-native"
-PR = "r15"
-PR_append = "+svnr${SRCPV}"
+PR = "r16"
-EGLIBC_BRANCH="eglibc-2_16"
-SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=http \
+SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr21224.tar.bz2 \
file://eglibc-svn-arm-lowlevellock-include-tls.patch \
file://IO-acquire-lock-fix.patch \
file://mips-rld-map-check.patch \
@@ -21,7 +17,6 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h
file://initgroups_keys.patch \
file://eglibc_fix_findidx_parameters.patch \
file://ppc_slow_ieee754_sqrt.patch \
- file://e500-math_private.patch \
file://fileops-without-wchar-io.patch \
file://add_resource_h_to_wait_h.patch \
file://0001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch \
@@ -33,6 +28,10 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h
file://fsl-ppc-no-fsqrt.patch \
file://0001-R_ARM_TLS_DTPOFF32.patch \
"
+
+SRC_URI[md5sum] = "88894fa6e10e58e85fbd8134b8e486a8"
+SRC_URI[sha256sum] = "460a45f422da6eb1fd909baab6a64b5ae4c8ba18ea05a1491ed1024c8b98eeaa"
+
LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
@@ -41,7 +40,7 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
SRC_URI_append_virtclass-nativesdk = " file://ld-search-order.patch \
file://relocatable_sdk.patch \
"
-S = "${WORKDIR}/${EGLIBC_BRANCH}/libc"
+S = "${WORKDIR}/eglibc-${PV}/libc"
B = "${WORKDIR}/build-${TARGET_SYS}"
PACKAGES_DYNAMIC = ""
@@ -93,9 +92,9 @@ do_unpack_append() {
}
do_move_ports() {
- if test -d ${WORKDIR}/${EGLIBC_BRANCH}/ports ; then
+ if test -d ${WORKDIR}/eglibc-${PV}/ports ; then
rm -rf ${S}/ports
- mv ${WORKDIR}/${EGLIBC_BRANCH}/ports ${S}/
+ mv ${WORKDIR}/eglibc-${PV}/ports ${S}/
fi
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [RFT][PATCH V3] eglibc-2.16: Use tar ball instead of svn SRC_URI
2012-10-17 21:59 [RFT][PATCH V3] eglibc-2.16: Use tar ball instead of svn SRC_URI Khem Raj
@ 2012-10-23 19:07 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-10-23 19:07 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
On 10/17/2012 02:59 PM, Khem Raj wrote:
> Adapt the recipes to fetch a tarball.
> Tarball is generated from latest 2.16 branch
> which has e500-math_private.patch already applied
> hence we remove that patch.
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../eglibc/cross-localedef-native_2.16.bb | 20 +++++++------
> .../eglibc/eglibc-2.16/e500-math_private.patch | 31 --------------------
> meta/recipes-core/eglibc/eglibc_2.16.bb | 19 ++++++------
> 3 files changed, 20 insertions(+), 50 deletions(-)
> delete mode 100644 meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch
>
Merged into OE-Core
Thanks
Sau!
> diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
> index a79a276..11970e7 100644
> --- a/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
> +++ b/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
> @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.eglibc.org/home"
> SECTION = "libs"
> LICENSE = "LGPL-2.1"
>
> -LIC_DIR = "${WORKDIR}/${EGLIBC_BRANCH}/libc"
> +LIC_DIR = "${WORKDIR}/eglibc-${PV}/libc"
> LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9\
> file://${LIC_DIR}/COPYING;md5=393a5ca445f6965873eca0259a17f833 \
> file://${LIC_DIR}/posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
> @@ -16,26 +16,28 @@ inherit autotools
> # pick up an eglibc-2.16 patch
> FILESPATH = "${FILE_DIRNAME}/eglibc-${PV}"
>
> -PR = "r1"
> -SRCREV="19383"
> -EGLIBC_BRANCH="eglibc-2_16"
> -SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=http \
> +PR = "r2"
> +SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr21224.tar.bz2 \
> file://fix_for_centos_5.8.patch;patchdir=.. \
> "
> -S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef"
> +
> +SRC_URI[md5sum] = "88894fa6e10e58e85fbd8134b8e486a8"
> +SRC_URI[sha256sum] = "460a45f422da6eb1fd909baab6a64b5ae4c8ba18ea05a1491ed1024c8b98eeaa"
> +
> +S = "${WORKDIR}/eglibc-${PV}/localedef"
>
> do_unpack_append() {
> bb.build.exec_func('do_move_ports', d)
> }
>
> do_move_ports() {
> - if test -d ${WORKDIR}/${EGLIBC_BRANCH}/ports ; then
> + if test -d ${WORKDIR}/eglibc-${PV}/ports ; then
> rm -rf ${WORKDIR}/libc/ports
> - mv ${WORKDIR}/${EGLIBC_BRANCH}/ports ${WORKDIR}/libc/
> + mv ${WORKDIR}/eglibc-${PV}/ports ${WORKDIR}/libc/
> fi
> }
>
> -EXTRA_OECONF = "--with-glibc=${WORKDIR}/${EGLIBC_BRANCH}/libc"
> +EXTRA_OECONF = "--with-glibc=${WORKDIR}/eglibc-${PV}/libc"
> CFLAGS += "-DNOT_IN_libc=1"
>
> do_configure () {
> diff --git a/meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch b/meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch
> deleted file mode 100644
> index 9dbb26e..0000000
> --- a/meta/recipes-core/eglibc/eglibc-2.16/e500-math_private.patch
> +++ /dev/null
> @@ -1,31 +0,0 @@
> -Match with the latest math_private restructuring in glibc
> -
> -as done here
> -
> -http://sourceware.org/ml/libc-alpha/2012-03/msg00302.html
> -
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> -
> -Upstream-Status: Pending
> -
> -Index: libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h
> -===================================================================
> ---- libc.orig/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h 2012-07-17 22:58:20.340405923 -0700
> -+++ libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/math_private.h 2012-07-17 22:58:21.120405923 -0700
> -@@ -1 +1 @@
> --#include <math/math_private.h>
> -+#include_next <sysdeps/generic/math_private.h>
> -Index: libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c
> -===================================================================
> ---- libc.orig/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c 2012-07-17 23:15:15.872405939 -0700
> -+++ libc/ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcpt.c 2012-07-17 23:18:42.760405602 -0700
> -@@ -23,7 +23,7 @@
> -
> - #undef feraiseexcept
> -
> --#define __FERAISEEXCEPT_INTERNAL feraiseexcept
> -+#define __FERAISEEXCEPT_INTERNAL __feraiseexcept
> - #include "../spe-raise.c"
> -
> --libm_hidden_def (feraiseexcept)
> -+libm_hidden_ver (__feraiseexcept, feraiseexcept)
> diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb
> index 78bf9be..74186bd 100644
> --- a/meta/recipes-core/eglibc/eglibc_2.16.bb
> +++ b/meta/recipes-core/eglibc/eglibc_2.16.bb
> @@ -1,13 +1,9 @@
> require eglibc.inc
>
> -SRCREV = "20393"
> -
> DEPENDS += "gperf-native kconfig-frontends-native"
> -PR = "r15"
> -PR_append = "+svnr${SRCPV}"
> +PR = "r16"
>
> -EGLIBC_BRANCH="eglibc-2_16"
> -SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=http \
> +SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr21224.tar.bz2 \
> file://eglibc-svn-arm-lowlevellock-include-tls.patch \
> file://IO-acquire-lock-fix.patch \
> file://mips-rld-map-check.patch \
> @@ -21,7 +17,6 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h
> file://initgroups_keys.patch \
> file://eglibc_fix_findidx_parameters.patch \
> file://ppc_slow_ieee754_sqrt.patch \
> - file://e500-math_private.patch \
> file://fileops-without-wchar-io.patch \
> file://add_resource_h_to_wait_h.patch \
> file://0001-Avoid-use-of-libgcc_s-and-libgcc_eh-when-building-gl.patch \
> @@ -33,6 +28,10 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h
> file://fsl-ppc-no-fsqrt.patch \
> file://0001-R_ARM_TLS_DTPOFF32.patch \
> "
> +
> +SRC_URI[md5sum] = "88894fa6e10e58e85fbd8134b8e486a8"
> +SRC_URI[sha256sum] = "460a45f422da6eb1fd909baab6a64b5ae4c8ba18ea05a1491ed1024c8b98eeaa"
> +
> LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
> file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
> file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
> @@ -41,7 +40,7 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
> SRC_URI_append_virtclass-nativesdk = " file://ld-search-order.patch \
> file://relocatable_sdk.patch \
> "
> -S = "${WORKDIR}/${EGLIBC_BRANCH}/libc"
> +S = "${WORKDIR}/eglibc-${PV}/libc"
> B = "${WORKDIR}/build-${TARGET_SYS}"
>
> PACKAGES_DYNAMIC = ""
> @@ -93,9 +92,9 @@ do_unpack_append() {
> }
>
> do_move_ports() {
> - if test -d ${WORKDIR}/${EGLIBC_BRANCH}/ports ; then
> + if test -d ${WORKDIR}/eglibc-${PV}/ports ; then
> rm -rf ${S}/ports
> - mv ${WORKDIR}/${EGLIBC_BRANCH}/ports ${S}/
> + mv ${WORKDIR}/eglibc-${PV}/ports ${S}/
> fi
> }
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-23 19:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17 21:59 [RFT][PATCH V3] eglibc-2.16: Use tar ball instead of svn SRC_URI Khem Raj
2012-10-23 19:07 ` Saul Wold
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.