| Submitter | Marko Lindqvist |
|---|---|
| Date | Dec. 1, 2012, 9:38 a.m. |
| Message ID | <1354354717-1024-1-git-send-email-cazfi74@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/40015/ |
| State | Superseded, archived |
| Headers | show |
Comments
On Saturday 01 December 2012 11:38:37 Marko Lindqvist wrote: > License is now GPLv3 > > Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> > --- Just out of interest, are you (or is anyone else for that matter) using fakeroot in preference to pseudo which we already build as part of the normal build process? Cheers, Paul
On 1 December 2012 14:14, Paul Eggleton <paul.eggleton@linux.intel.com> wrote: > On Saturday 01 December 2012 11:38:37 Marko Lindqvist wrote: >> License is now GPLv3 >> >> Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> >> --- > > Just out of interest, are you (or is anyone else for that matter) using > fakeroot in preference to pseudo which we already build as part of the normal > build process? I'm not at the moment. Later I may bring to OpenEmbedded environment some scripts that use fakeroot, but even then adjusting the scripts is an option. - ML
On 12/1/12 4:12 PM, Marko Lindqvist wrote: > On 1 December 2012 14:14, Paul Eggleton <paul.eggleton@linux.intel.com> wrote: >> On Saturday 01 December 2012 11:38:37 Marko Lindqvist wrote: >>> License is now GPLv3 >>> >>> Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> >>> --- >> >> Just out of interest, are you (or is anyone else for that matter) using >> fakeroot in preference to pseudo which we already build as part of the normal >> build process? > > I'm not at the moment. Later I may bring to OpenEmbedded environment > some scripts that use fakeroot, but even then adjusting the scripts is > an option. If there is anything that fakeroot is capable of doing that pseudo does not, or another reason why you want to use fakeroot instead, please let us know. pseudo was developed originally to deal with a number of stability, enhancement and other requirements after using fakeroot, fakechroot and related tooling. (Note, if you are using RPM, fakechroot likely won't work because it doesn't support going in and out of chroot across processes.) > > - ML > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel >
On Sat, Dec 01, 2012 at 11:38:37AM +0200, Marko Lindqvist wrote: > License is now GPLv3 > > Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> > --- > ...-native_1.12.4.bb => fakeroot-native_1.18.4.bb} | 4 --- > .../fakeroot/fakeroot/configure-libtool.patch | 20 -------------- > .../fakeroot/fakeroot/fix-prefix.patch | 15 ----------- > meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb | 27 ------------------- > meta-oe/recipes-core/fakeroot/fakeroot_1.18.4.bb | 28 ++++++++++++++++++++ > 5 files changed, 28 insertions(+), 66 deletions(-) > rename meta-oe/recipes-core/fakeroot/{fakeroot-native_1.12.4.bb => fakeroot-native_1.18.4.bb} (67%) > delete mode 100644 meta-oe/recipes-core/fakeroot/fakeroot/configure-libtool.patch > delete mode 100644 meta-oe/recipes-core/fakeroot/fakeroot/fix-prefix.patch > delete mode 100644 meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb > create mode 100644 meta-oe/recipes-core/fakeroot/fakeroot_1.18.4.bb Does this patch resolve following QA? fakeroot-1.12.4: fakeroot: Files/directories were installed but not shipped /usr/lib/libfakeroot /usr/lib/libfakeroot/libfakeroot.a /usr/lib/libfakeroot/libfakeroot.la /usr/lib/libfakeroot/libfakeroot-0.so /usr/lib/libfakeroot/libfakeroot.so /usr/lib/libfakeroot/.debug /usr/lib/libfakeroot/.debug/libfakeroot-0.so /usr/lib/libfakeroot/.debug/libfakeroot.so If not, can you fix it while upgrading? Cheers,
Patch
diff --git a/meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb b/meta-oe/recipes-core/fakeroot/fakeroot-native_1.18.4.bb similarity index 67% rename from meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb rename to meta-oe/recipes-core/fakeroot/fakeroot-native_1.18.4.bb index 1e9f15a..a27a60b 100644 --- a/meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb +++ b/meta-oe/recipes-core/fakeroot/fakeroot-native_1.18.4.bb @@ -1,6 +1,5 @@ require fakeroot_${PV}.bb -SRC_URI += "file://fix-prefix.patch" S = "${WORKDIR}/fakeroot-${PV}" inherit native @@ -14,6 +13,3 @@ python () { } RDEPENDS_${PN} = "util-linux-native" - -SRC_URI[md5sum] = "aaefede2405a40c87438e7e833d69b70" -SRC_URI[sha256sum] = "dbcab1f495b857e67feff882e018ca59958b8d189ff1f76684d28e35463ec29d" diff --git a/meta-oe/recipes-core/fakeroot/fakeroot/configure-libtool.patch b/meta-oe/recipes-core/fakeroot/fakeroot/configure-libtool.patch deleted file mode 100644 index 46f7df7..0000000 --- a/meta-oe/recipes-core/fakeroot/fakeroot/configure-libtool.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: fakeroot-1.12.1/configure.ac -=================================================================== ---- fakeroot-1.12.1.orig/configure.ac -+++ fakeroot-1.12.1/configure.ac -@@ -2,14 +2,12 @@ - AC_INIT([fakeroot],[FAKEROOT_VERSION],[schizo@debian.org],[fakeroot]) - AC_PREREQ(2.61) - AC_CONFIG_MACRO_DIR([build-aux]) --LT_PREREQ(2.1a) - AC_CANONICAL_TARGET - AM_INIT_AUTOMAKE - AM_MAINTAINER_MODE - AC_CONFIG_HEADERS([config.h]) - AC_PROG_MAKE_SET --LT_INIT --LT_LANG(C) -+AC_PROG_LIBTOOL - - AH_BOTTOM([#if ! HAVE_BUILTIN_EXPECT - #define __builtin_expect(x, expected_value) (x) diff --git a/meta-oe/recipes-core/fakeroot/fakeroot/fix-prefix.patch b/meta-oe/recipes-core/fakeroot/fakeroot/fix-prefix.patch deleted file mode 100644 index 3c47bd7..0000000 --- a/meta-oe/recipes-core/fakeroot/fakeroot/fix-prefix.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: fakeroot-1.12.1/scripts/fakeroot.in -=================================================================== ---- fakeroot-1.12.1.orig/scripts/fakeroot.in -+++ fakeroot-1.12.1/scripts/fakeroot.in -@@ -30,8 +30,8 @@ - } - - # strip /bin/fakeroot to find install prefix --PREFIX=@prefix@ --BINDIR=@bindir@ -+BINDIR=`dirname $0` -+PREFIX=`dirname ${BINDIR}` - - USEABSLIBPATH=@LDPRELOADABS@ - LIB=lib@fakeroot_transformed@@DLSUFFIX@ diff --git a/meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb b/meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb deleted file mode 100644 index 1cc5602..0000000 --- a/meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTION = "Gives a fake root environment" -HOMEPAGE = "http://fakeroot.alioth.debian.org" -SECTION = "base" -LICENSE = "GPL" -LIC_FILES_CHKSUM = "file://COPYING;md5=7686b00e9859a1a04043d33452bae823" -PR = "r2" - -SRC_URI = "\ - ${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \ - file://configure-libtool.patch \ -" - -inherit autotools - -do_install_append() { - install -d ${D}${includedir}/fakeroot - install -m 644 *.h ${D}${includedir}/fakeroot - install -d ${D}${libdir}/libfakeroot/ - oe_libinstall -so libfakeroot ${D}${libdir}/libfakeroot/ -} - -# fakeroot needs getopt which is provided by the util-linux package -RDEPENDS_${PN} = "util-linux" - - -SRC_URI[md5sum] = "aaefede2405a40c87438e7e833d69b70" -SRC_URI[sha256sum] = "dbcab1f495b857e67feff882e018ca59958b8d189ff1f76684d28e35463ec29d" diff --git a/meta-oe/recipes-core/fakeroot/fakeroot_1.18.4.bb b/meta-oe/recipes-core/fakeroot/fakeroot_1.18.4.bb new file mode 100644 index 0000000..a277a69 --- /dev/null +++ b/meta-oe/recipes-core/fakeroot/fakeroot_1.18.4.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Gives a fake root environment" +HOMEPAGE = "http://fakeroot.alioth.debian.org" +SECTION = "base" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" +PR = "r0" + +SRC_URI = "\ + ${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.orig.tar.bz2 \ +" + +inherit autotools + +do_configure_prepend() { + mkdir -p ${S}/build-aux +} + +do_install_append() { + install -d ${D}${includedir}/fakeroot + install -m 644 *.h ${D}${includedir}/fakeroot +} + +# fakeroot needs getopt which is provided by the util-linux package +RDEPENDS_${PN} = "util-linux" + + +SRC_URI[md5sum] = "706171d8d520b1ca1576ac73f2ceb4f3" +SRC_URI[sha256sum] = "0a359efa3e9496c33234b3e9c89306a09bb4da9d33de43c261f1d8447e6ebea2"
License is now GPLv3 Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> --- ...-native_1.12.4.bb => fakeroot-native_1.18.4.bb} | 4 --- .../fakeroot/fakeroot/configure-libtool.patch | 20 -------------- .../fakeroot/fakeroot/fix-prefix.patch | 15 ----------- meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb | 27 ------------------- meta-oe/recipes-core/fakeroot/fakeroot_1.18.4.bb | 28 ++++++++++++++++++++ 5 files changed, 28 insertions(+), 66 deletions(-) rename meta-oe/recipes-core/fakeroot/{fakeroot-native_1.12.4.bb => fakeroot-native_1.18.4.bb} (67%) delete mode 100644 meta-oe/recipes-core/fakeroot/fakeroot/configure-libtool.patch delete mode 100644 meta-oe/recipes-core/fakeroot/fakeroot/fix-prefix.patch delete mode 100644 meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb create mode 100644 meta-oe/recipes-core/fakeroot/fakeroot_1.18.4.bb