summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2006-11-16 16:30:30 +0000
committerJim Ramsay <lack@gentoo.org>2006-11-16 16:30:30 +0000
commit1ecaa22ce01dd5bd132e3dbb15a309f821a1a351 (patch)
treeea036dca95c1bec658fb8281238618ad0e96d30b /rox-base/rox
parentCleanup of older versions. (diff)
downloadgentoo-2-1ecaa22ce01dd5bd132e3dbb15a309f821a1a351.tar.gz
gentoo-2-1ecaa22ce01dd5bd132e3dbb15a309f821a1a351.tar.bz2
gentoo-2-1ecaa22ce01dd5bd132e3dbb15a309f821a1a351.zip
Added patch to fix 'QA Notice: pre-stripped files found'
(Portage version: 2.1.2_rc1-r6)
Diffstat (limited to 'rox-base/rox')
-rw-r--r--rox-base/rox/ChangeLog6
-rw-r--r--rox-base/rox/files/rox-2.5-nostrip.patch20
-rw-r--r--rox-base/rox/rox-2.5.ebuild15
3 files changed, 38 insertions, 3 deletions
diff --git a/rox-base/rox/ChangeLog b/rox-base/rox/ChangeLog
index 03bf381aa28e..c567e6cbfa13 100644
--- a/rox-base/rox/ChangeLog
+++ b/rox-base/rox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for rox-base/rox
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.24 2006/11/13 17:25:59 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.25 2006/11/16 16:30:30 lack Exp $
+
+ 16 Nov 2006; Jim Ramsay <lack@gentoo.org> +files/rox-2.5-nostrip.patch,
+ rox-2.5.ebuild:
+ Added patch to fix 'QA Notice: pre-stripped files found'
13 Nov 2006; Gustavo Zacarias <gustavoz@gentoo.org> rox-2.5.ebuild:
Stable on sparc wrt #155015
diff --git a/rox-base/rox/files/rox-2.5-nostrip.patch b/rox-base/rox/files/rox-2.5-nostrip.patch
new file mode 100644
index 000000000000..2a63ce73f160
--- /dev/null
+++ b/rox-base/rox/files/rox-2.5-nostrip.patch
@@ -0,0 +1,20 @@
+Index: ROX-Filer/src/Makefile.in
+===================================================================
+--- ROX-Filer/src/Makefile.in (revision 4834)
++++ ROX-Filer/src/Makefile.in (working copy)
+@@ -51,10 +51,12 @@
+ ${PROG}: ${OBJECTS}
+ ${CC} -o "${PROG}" ${OBJECTS} ${LDFLAGS}
+ mv "${PROG}" "${PLATFORM_DIR}"
++
++${PROG}.dbg: ${PROG}
+ -(cd "${PLATFORM_DIR}" && \
+- objcopy --only-keep-debug ROX-Filer ROX-Filer.dbg && \
+- strip ROX-Filer && \
+- objcopy --add-gnu-debuglink=ROX-Filer.dbg ROX-Filer)
++ objcopy --only-keep-debug ${PROG} ${PROG}.dbg && \
++ strip ${PROG} && \
++ objcopy --add-gnu-debuglink=${PROG}.dbg ${PROG})
+
+ clean:
+ rm -f *.o Makefile.bak
diff --git a/rox-base/rox/rox-2.5.ebuild b/rox-base/rox/rox-2.5.ebuild
index bed06b93f88f..4e5fcfb7be1a 100644
--- a/rox-base/rox/rox-2.5.ebuild
+++ b/rox-base/rox/rox-2.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.5.ebuild,v 1.3 2006/11/13 17:25:59 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.5.ebuild,v 1.4 2006/11/16 16:30:30 lack Exp $
inherit eutils
@@ -34,6 +34,12 @@ ROXAPPDIR="/usr/lib/rox"
MIMEDIR="/usr/share/mime"
MIMECONFDIR="/etc/xdg/rox.sourceforge.net"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}"/${P}-nostrip.patch
+}
+
src_compile() {
cd ROX-Filer
@@ -45,7 +51,12 @@ src_compile() {
./AppRun --compile || die "make failed"
(cd src; make clean) > /dev/null
- # don't need this directory anymore
+ # don't need these directories anymore
+ if [ -n "${KEEP_SRC}" ]; then
+ (cd src; make clean) > /dev/null
+ else
+ rm -rf src
+ fi
rm -fr build
# Restore the original AppRun