diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-01 17:00:17 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-06-01 17:00:17 +0000 |
commit | 2aa9512674c13d7eb1afe84fcb96b6392c204663 (patch) | |
tree | 32f1de21443741d2d85d020f32bcda2ee0fafa25 | |
parent | Restore accidentally deleted ebuild. (diff) | |
download | gentoo-2-2aa9512674c13d7eb1afe84fcb96b6392c204663.tar.gz gentoo-2-2aa9512674c13d7eb1afe84fcb96b6392c204663.tar.bz2 gentoo-2-2aa9512674c13d7eb1afe84fcb96b6392c204663.zip |
Don't strip binaries wrt bug 252124. Thanks Diego for report
(Portage version: 2.1.8.3/cvs/Linux x86_64)
-rw-r--r-- | x11-wm/selectwm/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch | 15 | ||||
-rw-r--r-- | x11-wm/selectwm/selectwm-0.4.1.ebuild | 18 |
3 files changed, 31 insertions, 10 deletions
diff --git a/x11-wm/selectwm/ChangeLog b/x11-wm/selectwm/ChangeLog index 5260d93436f5..58362d4ab93e 100644 --- a/x11-wm/selectwm/ChangeLog +++ b/x11-wm/selectwm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-wm/selectwm -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/selectwm/ChangeLog,v 1.22 2009/07/26 20:52:01 dirtyepic Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/selectwm/ChangeLog,v 1.23 2010/06/01 17:00:17 xarthisius Exp $ + + 01 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> selectwm-0.4.1.ebuild, + +files/selectwm-0.4.1-nostrip.patch: + Don't strip binaries wrt bug 252124. Thanks Diego for report 26 Jul 2009; Ryan Hill <dirtyepic@gentoo.org> selectwm-0.4.1.ebuild, +files/selectwm-0.4.1-glibc-2.10.patch: diff --git a/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch b/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch new file mode 100644 index 000000000000..d5300c9f94a7 --- /dev/null +++ b/x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch @@ -0,0 +1,15 @@ +Respect CFLAGS, don't strip binaries + +http://bugs.gentoo.org/show_bug.cgi?id=252124 + +--- src/Makefile.am ++++ src/Makefile.am +@@ -10,5 +10,6 @@ + modify.c modify.h \ + misc.h define.h + +-LIBS = @GTK_LIBS@ +-AM_CFLAGS = -s -O2 -Wall @GTK_CFLAGS@ -DLOCALEDIR=\"$(datadir)/locale\" ++selectwm_LDADD = @GTK_LIBS@ ++selectwm_CFLAGS = @GTK_CFLAGS@ ++selectwm_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" diff --git a/x11-wm/selectwm/selectwm-0.4.1.ebuild b/x11-wm/selectwm/selectwm-0.4.1.ebuild index 82165fa4ab5d..996b95125b09 100644 --- a/x11-wm/selectwm/selectwm-0.4.1.ebuild +++ b/x11-wm/selectwm/selectwm-0.4.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/selectwm/selectwm-0.4.1.ebuild,v 1.10 2009/07/26 20:52:01 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/selectwm/selectwm-0.4.1.ebuild,v 1.11 2010/06/01 17:00:17 xarthisius Exp $ -inherit eutils +inherit autotools eutils DESCRIPTION="window manager selector tool" HOMEPAGE="http://ordiluc.net/selectwm" @@ -21,18 +21,20 @@ DEPEND="$RDEPEND src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${P}-enable-deprecated-gtk.patch - epatch "${FILESDIR}"/${P}-glibc-2.10.patch + epatch "${FILESDIR}"/${P}-enable-deprecated-gtk.patch \ + "${FILESDIR}"/${P}-glibc-2.10.patch \ + "${FILESDIR}"/${P}-nostrip.patch + eautoreconf } src_compile() { econf \ --program-suffix=2 \ - $(use_enable nls) || die "econf failed" + $(use_enable nls) emake || die "emake failed" } src_install () { - einstall || die "einstall failed" - dodoc AUTHORS README + emake DESTDIR="${D}" install || die + dodoc AUTHORS README sample.xinitrc || die } |