Skip to contentSkip to conversation

fakeroot: update to upstream version 1.18.4

PATCH In review Marko Lindqvist 4 participants 5 messages Dec 1, 2012 – Dec 5, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fakeroot: update to upstream version 1.18.4

License is now GPLv3

---
 ...-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
meta-oe/recipes-core/fakeroot/fakeroot-native_1.18.4.bb renamed from meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb +0 -4
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
@@ -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"
meta-oe/recipes-core/fakeroot/fakeroot/configure-libtool.patch deleted +0 -20
deleted file mode 100644
index 46f7df7..0000000
@@ -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],[[email protected]],[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)
meta-oe/recipes-core/fakeroot/fakeroot/fix-prefix.patch deleted +0 -15
deleted file mode 100644
index 3c47bd7..0000000
@@ -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@
meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb deleted +0 -27
deleted file mode 100644
index 1cc5602..0000000
@@ -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"
meta-oe/recipes-core/fakeroot/fakeroot_1.18.4.bb new file +28 -0
new file mode 100644
index 0000000..a277a69
@@ -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"
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 4 lines · On Saturday 01 December 2012 11:38:37 Marko Lindqvist wrote:

License is now GPLv3

---

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

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 9 lines · Paul Eggleton
Quoted 4 lines · On Saturday 01 December 2012 11:38:37 Marko Lindqvist wrote:

License is now GPLv3

---

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

#3 lore raw
Quoted 7 lines · Marko Lindqvist
Quoted 6 lines · Paul Eggleton
Quoted 4 lines · On Saturday 01 December 2012 11:38:37 Marko Lindqvist wrote:

License is now GPLv3

---

Quoted 7 lines
Quoted 3 lines

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.)

Quoted 8 lines

- ML

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#4 lore raw
In reply to Marko Lindqvist
Quoted 15 lines · Marko Lindqvist

License is now GPLv3

---
 ...-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,