summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2009-01-22 14:21:24 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2009-01-22 14:21:24 +0000
commitc94c2bb047c6c6b90c87e5e3a9d5661548d7da3f (patch)
tree88f52fdddedf01ed04d7abc49ade98b263e5e98f /x11-plugins/wmnetload
parentSparc stable, Bug #255820. (diff)
downloadgentoo-2-c94c2bb047c6c6b90c87e5e3a9d5661548d7da3f.tar.gz
gentoo-2-c94c2bb047c6c6b90c87e5e3a9d5661548d7da3f.tar.bz2
gentoo-2-c94c2bb047c6c6b90c87e5e3a9d5661548d7da3f.zip
Revision bump, with updated norpath patch to fix bug #226853.
Also, now libdockapp 0.5 support patch is obsolete and not applied any longer. (Portage version: 2.1.6.4/cvs/Linux 2.6.24-tuxonice-r9 i686)
Diffstat (limited to 'x11-plugins/wmnetload')
-rw-r--r--x11-plugins/wmnetload/ChangeLog8
-rw-r--r--x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch59
-rw-r--r--x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild36
3 files changed, 102 insertions, 1 deletions
diff --git a/x11-plugins/wmnetload/ChangeLog b/x11-plugins/wmnetload/ChangeLog
index 3673c6db1e04..b3115c0b7ceb 100644
--- a/x11-plugins/wmnetload/ChangeLog
+++ b/x11-plugins/wmnetload/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-plugins/wmnetload
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmnetload/ChangeLog,v 1.28 2007/02/06 02:03:55 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmnetload/ChangeLog,v 1.29 2009/01/22 14:21:24 s4t4n Exp $
+
+*wmnetload-1.3-r3 (22 Jan 2009)
+
+ 22 Jan 2009; Michele Noberasco <s4t4n@gentoo.org> wmnetload-1.3-r3.ebuild:
+ Revision bump, with updated norpath patch to fix bug #226853.
+ Also, now libdockapp 0.5 support patch is obsolete and not applied any longer.
06 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch b/x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch
new file mode 100644
index 000000000000..117015d242a5
--- /dev/null
+++ b/x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch
@@ -0,0 +1,59 @@
+diff -Naur wmnetload-1.3/configure.in wmnetload-1.3-new/configure.in
+--- wmnetload-1.3/configure.in 2003-02-23 10:07:39.000000000 +0100
++++ wmnetload-1.3-new/configure.in 2009-01-20 09:24:20.000000000 +0100
+@@ -102,7 +102,6 @@
+ [inc_search_path=" -I $withval $inc_search_path"])
+
+ LIBRARY_SEARCH_PATH="$lib_search_path -L/usr/local/lib"
+-LIBRARY_RPATH=`echo "$LIBRARY_SEARCH_PATH" | sed 's/[ *]-L[ *]/:/g'`
+ HEADER_SEARCH_PATH="$inc_search_path -I/usr/local/include"
+
+ AC_SUBST(LIBRARY_SEARCH_PATH)
+@@ -122,12 +121,10 @@
+ ;;
+ *netbsd*)
+ OS=netbsd
+- LIBRARY_RPATH="$LIBRARY_RPATH:/usr/X11R6/lib"
+ LIBS="$LIBS -lkvm"
+ ;;
+ *freebsd*)
+ OS=freebsd
+- LIBRARY_RPATH="$LIBRARY_RPATH:/usr/X11R6/lib"
+ ;;
+ *)
+ echo ""
+@@ -143,22 +140,6 @@
+
+ AC_PATH_XTRA
+
+-dnl
+-dnl Hack in rpath -- yes, this sucks, and it even has a hidden dependency
+-dnl on the implementation of AC_PATH_XTRA. F@&* you, portability.
+-dnl
+-if test "$GCC" = yes; then
+- if test "ac_R_space" = no; then
+- RPATH="-Wl,\"-R$LIBRARY_RPATH\""
+- else
+- RPATH="-Wl,\"-R $LIBRARY_RPATH\""
+- fi
+-else
+- RPATH=
+- echo "WARNING: do not know how to set RPATH with this compiler"
+-fi
+-
+-AC_SUBST(RPATH)
+
+
+ X_LIBRARY_PATH=$x_libraries
+diff -Naur wmnetload-1.3/src/Makefile.am wmnetload-1.3-new/src/Makefile.am
+--- wmnetload-1.3/src/Makefile.am 2003-02-18 07:30:48.000000000 +0100
++++ wmnetload-1.3-new/src/Makefile.am 2009-01-20 09:24:58.000000000 +0100
+@@ -25,8 +25,6 @@
+ EXTRA_wmnetload_SOURCES = ifstat_linux.c ifstat_netbsd.c ifstat_solaris.c \
+ ifstat_freebsd.c
+
+-LDFLAGS = @RPATH@
+-
+ LDADD = @LIBRARY_SEARCH_PATH@ @XLFLAGS@ @XLIBS@ -ldockapp -lXpm -lm
+ CPPFLAGS = @CPPFLAGS@ @XCFLAGS@ -DVERSION=\"@VERSION@\"
+ INCLUDES = @HEADER_SEARCH_PATH@ -I$(top_srcdir)/xpm/@WN_LOOK@
diff --git a/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild b/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild
new file mode 100644
index 000000000000..032ec5a41c69
--- /dev/null
+++ b/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild,v 1.1 2009/01/22 14:21:24 s4t4n Exp $
+
+inherit autotools eutils
+
+WANT_AUTOMAKE="1.4"
+
+DESCRIPTION="Network interface monitor dockapp"
+HOMEPAGE="http://freshmeat.net/projects/wmnetload/"
+SRC_URI="ftp://truffula.com/pub/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc ~ppc64 ~sparc"
+IUSE=""
+
+RDEPEND=">=x11-libs/libdockapp-0.6.1"
+
+DEPEND="${RDEPEND}
+ =sys-devel/automake-1.4_p6"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-${PVR}-norpath.patch"
+
+ eautoconf || die
+ eautomake || die
+}
+
+src_install() {
+ einstall || die "einstall failed."
+ dodoc AUTHORS README NEWS
+}