summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2004-07-20 11:02:20 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2004-07-20 11:02:20 +0000
commit475e51003bcfbbaf44002f2f6300989bb37deea6 (patch)
tree4507f17b6b32f91426211795887b087e0db5e31e /x11-plugins
parentadded sparc fix for glibc PIC building (diff)
downloadhistorical-475e51003bcfbbaf44002f2f6300989bb37deea6.tar.gz
historical-475e51003bcfbbaf44002f2f6300989bb37deea6.tar.bz2
historical-475e51003bcfbbaf44002f2f6300989bb37deea6.zip
Fix x11-plugins/wmcliphist-0.5 ebuild to produce a working binary. Closes #56782. Wipe out old ebuilds.
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/wmcliphist/ChangeLog7
-rw-r--r--x11-plugins/wmcliphist/Manifest7
-rw-r--r--x11-plugins/wmcliphist/files/digest-wmcliphist-0.31
-rw-r--r--x11-plugins/wmcliphist/files/wmcliphist-cflags.patch11
-rw-r--r--x11-plugins/wmcliphist/wmcliphist-0.3.ebuild19
-rw-r--r--x11-plugins/wmcliphist/wmcliphist-0.5.ebuild21
6 files changed, 39 insertions, 27 deletions
diff --git a/x11-plugins/wmcliphist/ChangeLog b/x11-plugins/wmcliphist/ChangeLog
index a74d54466ae0..869120929192 100644
--- a/x11-plugins/wmcliphist/ChangeLog
+++ b/x11-plugins/wmcliphist/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-plugins/wmcliphist
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcliphist/ChangeLog,v 1.4 2004/06/24 23:06:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcliphist/ChangeLog,v 1.5 2004/07/20 11:02:20 s4t4n Exp $
+
+ 20 Jul 2004; Michele Noberasco <s4t4n@gentoo.org> wmcliphist-0.5.ebuild:
+ Fix ebuild to make it produce a working binary. Closes #56782.
+ wmcliphist-0.5.ebuild:
+ Remove old ebuilds.
11 Apr 2004; Jason Wever <weeve@gentoo.org> wmcliphist-0.5.ebuild:
Added ~sparc keyword.
diff --git a/x11-plugins/wmcliphist/Manifest b/x11-plugins/wmcliphist/Manifest
index bc88678e402a..d3a145ca09ca 100644
--- a/x11-plugins/wmcliphist/Manifest
+++ b/x11-plugins/wmcliphist/Manifest
@@ -1,6 +1,5 @@
-MD5 3af6e9b073d812fc26d187ccb36cd227 wmcliphist-0.5.ebuild 599
-MD5 45eac7f08496629aa68507226c573d78 wmcliphist-0.3.ebuild 584
-MD5 5a5c02679c252e1f21e9680d0290561b ChangeLog 478
+MD5 e36b715410c94481643ae6e7c035c719 wmcliphist-0.5.ebuild 878
+MD5 d1b43aff681b1be7e333d06d5f7378a9 ChangeLog 663
MD5 f2cbce9d14d9c423f188ceb31843a4e0 metadata.xml 460
-MD5 c9cd56c59caa2c634d3235c132cbf22c files/digest-wmcliphist-0.3 65
+MD5 62a2e0b91ee16cb9c846cbede284543f files/wmcliphist-cflags.patch 309
MD5 1d625b26af8f38aca33fbc9c0da0c0f8 files/digest-wmcliphist-0.5 65
diff --git a/x11-plugins/wmcliphist/files/digest-wmcliphist-0.3 b/x11-plugins/wmcliphist/files/digest-wmcliphist-0.3
deleted file mode 100644
index 7857263d9ae3..000000000000
--- a/x11-plugins/wmcliphist/files/digest-wmcliphist-0.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e3f4cf211a25c0b2ed31a588f81b8d6c wmcliphist-0.3.tar.gz 42947
diff --git a/x11-plugins/wmcliphist/files/wmcliphist-cflags.patch b/x11-plugins/wmcliphist/files/wmcliphist-cflags.patch
new file mode 100644
index 000000000000..47cb0342249b
--- /dev/null
+++ b/x11-plugins/wmcliphist/files/wmcliphist-cflags.patch
@@ -0,0 +1,11 @@
+--- Makefile 2004-07-20 12:51:28.886633728 +0200
++++ Makefile 2004-07-20 12:52:15.305576976 +0200
+@@ -5,7 +5,7 @@
+ DESTDIR = "/usr/local/bin"
+
+ # for normal use
+-CFLAGS = -Wall -O2 -ansi -pedantic $(INCLUDES)
++CFLAGS = -Wall ${GENTOO_CFLAGS} -ansi -pedantic $(INCLUDES)
+ DEBUG =
+
+ # for debuggind purposes
diff --git a/x11-plugins/wmcliphist/wmcliphist-0.3.ebuild b/x11-plugins/wmcliphist/wmcliphist-0.3.ebuild
deleted file mode 100644
index 147240262d14..000000000000
--- a/x11-plugins/wmcliphist/wmcliphist-0.3.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcliphist/wmcliphist-0.3.ebuild,v 1.5 2004/06/24 23:06:28 agriffis Exp $
-
-IUSE=""
-DESCRIPTION="Dockable clipboard history application for Window Maker"
-HOMEPAGE="http://linux.nawebu.cz/wmcliphist/"
-SRC_URI="http://linux.nawebu.cz/wmcliphist/${P}.tar.gz"
-LICENSE="GPL-2"
-KEYWORDS="x86 amd64 ppc"
-SLOT="0"
-
-DEPEND="virtual/x11"
-
-src_install() {
- dobin wmcliphist
- dodoc ChangeLog README
- newdoc .wmcliphistrc wmcliphistrc.sample
-}
diff --git a/x11-plugins/wmcliphist/wmcliphist-0.5.ebuild b/x11-plugins/wmcliphist/wmcliphist-0.5.ebuild
index d47ec9e05da7..b591c5f64cfc 100644
--- a/x11-plugins/wmcliphist/wmcliphist-0.5.ebuild
+++ b/x11-plugins/wmcliphist/wmcliphist-0.5.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcliphist/wmcliphist-0.5.ebuild,v 1.7 2004/06/24 23:06:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcliphist/wmcliphist-0.5.ebuild,v 1.8 2004/07/20 11:02:20 s4t4n Exp $
+
+inherit eutils
IUSE=""
DESCRIPTION="Dockable clipboard history application for Window Maker"
@@ -12,7 +14,22 @@ SLOT="0"
DEPEND="=x11-libs/gtk+-1.2*"
-src_install() {
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+
+ # We patch the Makefile as the original doesn't honour Gentoo CFLAGS
+ epatch ${FILESDIR}/wmcliphist-cflags.patch || die "Source patch failed."
+}
+
+src_compile()
+{
+ emake GENTOO_CFLAGS="${CFLAGS}" || die "Compilation failed."
+}
+
+src_install()
+{
dobin wmcliphist
dodoc ChangeLog README
newdoc .wmcliphistrc wmcliphistrc.sample