diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins/wmnetload | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-plugins/wmnetload')
-rw-r--r-- | x11-plugins/wmnetload/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch | 59 | ||||
-rw-r--r-- | x11-plugins/wmnetload/metadata.xml | 16 | ||||
-rw-r--r-- | x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild | 30 |
4 files changed, 106 insertions, 0 deletions
diff --git a/x11-plugins/wmnetload/Manifest b/x11-plugins/wmnetload/Manifest new file mode 100644 index 000000000000..f91e5f57549d --- /dev/null +++ b/x11-plugins/wmnetload/Manifest @@ -0,0 +1 @@ +DIST wmnetload-1.3.tar.gz 105588 SHA256 c2dcfb5075dd56fbdba9e92abc7854bd01c2652fc914490f9f7df07625275e64 SHA512 67f28100fefea54a21f82be3acde9a457779b2dd1eb1c2f0c074c0a956a8f7b43a6c7ed39b97f8bdd1f51adfc1c21d197c1a7dfd84d8aeb562e46d58fd06b3f7 WHIRLPOOL 185a55e2fae71791a22da969ec25baebde7e4981d05ab2091e168e4977980c4ee98a8161da3035b5c66c09d1aad057e89e4a37269fe5f601d8cad675f7dbf309 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/metadata.xml b/x11-plugins/wmnetload/metadata.xml new file mode 100644 index 000000000000..bd0ed55627e7 --- /dev/null +++ b/x11-plugins/wmnetload/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-dock</herd> + <longdescription> +wmnetload is a network interface monitor dockapp for Window Maker. It is +designed to fit well with dockapps like wmcpuload and wmmemmon. It tracks +whether the interface is functioning and displays current network interface +throughput, along with an auto-scaling graph of recent network activity (the +graph separates upstream and downstream traffic load cleanly without resorting +to colors). +</longdescription> + <upstream> + <remote-id type="freshmeat">wmnetload</remote-id> + </upstream> +</pkgmetadata> 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..a1884858490f --- /dev/null +++ b/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit autotools eutils + +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="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=x11-libs/libdockapp-0.6.1" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-${PVR}-norpath.patch" + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "einstall failed." + dodoc AUTHORS README NEWS +} |