summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2008-12-03 19:44:28 +0000
committerDavid Shakaryan <omp@gentoo.org>2008-12-03 19:44:28 +0000
commit6c55b96208bebbda187d50b1ff650cab1141a579 (patch)
tree3427d65dba81abaaa86a690d6c16e12783f3700e /x11-misc/nitrogen
parentversion bump (diff)
downloadhistorical-6c55b96208bebbda187d50b1ff650cab1141a579.tar.gz
historical-6c55b96208bebbda187d50b1ff650cab1141a579.tar.bz2
historical-6c55b96208bebbda187d50b1ff650cab1141a579.zip
Patch for --as-needed by Christian Ruppert (idl0r). (bug #248576)
Package-Manager: portage-2.1.6_rc2/cvs/Linux 2.6.27-ARCH i686
Diffstat (limited to 'x11-misc/nitrogen')
-rw-r--r--x11-misc/nitrogen/ChangeLog6
-rw-r--r--x11-misc/nitrogen/Manifest15
-rw-r--r--x11-misc/nitrogen/files/Makefile-as-needed.patch10
-rw-r--r--x11-misc/nitrogen/nitrogen-1.4.ebuild12
4 files changed, 29 insertions, 14 deletions
diff --git a/x11-misc/nitrogen/ChangeLog b/x11-misc/nitrogen/ChangeLog
index aef52121aad3..de778b9f5559 100644
--- a/x11-misc/nitrogen/ChangeLog
+++ b/x11-misc/nitrogen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/nitrogen
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/ChangeLog,v 1.5 2008/08/11 13:13:18 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/ChangeLog,v 1.6 2008/12/03 19:44:28 omp Exp $
+
+ 03 Dec 2008; David Shakaryan <omp@gentoo.org>
+ +files/Makefile-as-needed.patch, nitrogen-1.4.ebuild:
+ Patch for --as-needed by Christian Ruppert (idl0r). (bug #248576)
*nitrogen-1.4 (11 Aug 2008)
diff --git a/x11-misc/nitrogen/Manifest b/x11-misc/nitrogen/Manifest
index f221c9b90b33..9ff29f553454 100644
--- a/x11-misc/nitrogen/Manifest
+++ b/x11-misc/nitrogen/Manifest
@@ -1,16 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX Makefile-as-needed.patch 553 RMD160 fee7eda3c3ab1173a0712690beda08e3f95b2693 SHA1 992cca04c6adef8c82382179133ee071946d5461 SHA256 7f85ea30e53474ea71341c222b01990bb2edb6368a20f1f44dbdd765e1853d4b
DIST nitrogen-1.2.tar.gz 273463 RMD160 5c4c1540294a8dd7440ed7c3711ebd5daba1a96f SHA1 eaf5253ed3e2e89bbda4fb094896347a90c8df0a SHA256 54393100f508c0625c19720efa0c400777bc4fd03dc89e0b30a6df4cf0a6d386
DIST nitrogen-1.4.tar.gz 286186 RMD160 ad06dacf1907adf2b6d60800e713eec2c780a258 SHA1 66ee28ab5d0d9015751ec6b1e3c0fa3bd9d02d44 SHA256 fc6a3dcacbf99a93927ec26a612655116b0eebe394a4b7879a9ca188aaa7dee4
EBUILD nitrogen-1.2.ebuild 828 RMD160 c42e9f83aad5c794e936b28a5bf9a144e8a3546b SHA1 2cf55a2e5547fa0cda8ef9be02cd5e418d7b977f SHA256 7166133ac4af05300d204870dba053b4134bb15776a4367baeb2fbd13e4f7240
-EBUILD nitrogen-1.4.ebuild 828 RMD160 9eeeee2363a9ffe8a457888cf2b728e0a229683a SHA1 2ebf5f618ea47cfa5e5dbcf1cba1a07d4f8ba311 SHA256 c66ec8697a3009437be743f81174a57972ad5fe7ae13667b35ec318724f7e2a7
-MISC ChangeLog 852 RMD160 860cfa05c6502795b7c2f95ce949adaeb45e1d25 SHA1 08bcbee453708e45d606ad8a170445cdd3c7bc4f SHA256 c3e4e7e168ebc5adf8e2d57519c8f05184d38d04061e8bd424d6135078eef3fc
+EBUILD nitrogen-1.4.ebuild 958 RMD160 6a23d5f5efc20eaecd856637b7190cb7020e5f97 SHA1 b7482f49ba538c5511e1708848007c01529d2107 SHA256 75494fff176aee7bf2756ae24bfa28d9fbe79e90b29ef63405e23dd01ea2b978
+MISC ChangeLog 1025 RMD160 20ccbc79214227b3795cb1bd0f8a7cdfc6838b2b SHA1 5aa2c9e08a9132b383658b1865f871cf023259c5 SHA256 94da3fc3497017b5bfd0d447119ffecb80585bee7b4ce4e96d8a0d1cfda83b42
MISC metadata.xml 265 RMD160 aebf73b9ca0fce3fc0e428f3fc9719893dddfb04 SHA1 fe6b87c6b6e243a570b11cc3cae8b87397cd8b06 SHA256 a8c9f4ab3dcb6e69fe7b8381fe4eeb6748cc9e88c8116b3e34ad75f58198e908
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkigOv8ACgkQvSApE0uP4Uuj1wCfVUdVs4OUshy2H48k5ciJTZY/
-m+IAn3Vi+fapchQVgqCkYqoBS21JoCTP
-=xmrp
------END PGP SIGNATURE-----
diff --git a/x11-misc/nitrogen/files/Makefile-as-needed.patch b/x11-misc/nitrogen/files/Makefile-as-needed.patch
new file mode 100644
index 000000000000..cbeb44b9b009
--- /dev/null
+++ b/x11-misc/nitrogen/files/Makefile-as-needed.patch
@@ -0,0 +1,10 @@
+--- nitrogen-1.4.old/src/Makefile.am 2008-05-05 21:34:15.000000000 +0200
++++ nitrogen-1.4/src/Makefile.am 2008-12-03 20:14:34.000000000 +0100
+@@ -1,6 +1,6 @@
+ bin_PROGRAMS = nitrogen
+ nitrogen_SOURCES = Config.h NWindow.h main.cc md5.h SetBG.cc main.h Thumbview.cc Config.cc NWindow.cc SetBG.h md5.c ArgParser.h ArgParser.cc Thumbview.h ImageCombo.cc ImageCombo.h Inotify.cc Inotify.h Util.h Util.cc
+-nitrogen_LDFLAGS = @NITROGEN_LIBS@
++LIBS=@NITROGEN_LIBS@
+ INCLUDES = @NITROGEN_CFLAGS@ \
+ -DNITROGEN_DATA_DIR=\"$(pkgdatadir)\"
+ man_MANS = nitrogen.1
diff --git a/x11-misc/nitrogen/nitrogen-1.4.ebuild b/x11-misc/nitrogen/nitrogen-1.4.ebuild
index fc96ad9c03cd..b1b8f520d43a 100644
--- a/x11-misc/nitrogen/nitrogen-1.4.ebuild
+++ b/x11-misc/nitrogen/nitrogen-1.4.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/nitrogen-1.4.ebuild,v 1.1 2008/08/11 13:13:18 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/nitrogen-1.4.ebuild,v 1.2 2008/12/03 19:44:28 omp Exp $
+
+inherit eutils autotools
DESCRIPTION="GTK+ background browser and setter for X."
HOMEPAGE="http://projects.l3ib.org/nitrogen/"
@@ -18,6 +20,14 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
xinerama? ( x11-proto/xineramaproto )"
+src_unpack () {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/Makefile-as-needed.patch
+ eautoreconf
+}
+
src_compile() {
econf $(use_enable xinerama) || die "econf failed"
emake || die "emake failed"