summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-12-06 16:47:55 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-12-06 16:47:55 +0000
commit1a7a9203c8955c87181574a1b001659e8259e272 (patch)
tree211f834f246676f59f24582a8f638d3b188a254d /gnome-extra/wavelan-applet
parentupdated digest (diff)
downloadgentoo-2-1a7a9203c8955c87181574a1b001659e8259e272.tar.gz
gentoo-2-1a7a9203c8955c87181574a1b001659e8259e272.tar.bz2
gentoo-2-1a7a9203c8955c87181574a1b001659e8259e272.zip
added this really cool applet, a must for all with wavelan :)
Diffstat (limited to 'gnome-extra/wavelan-applet')
-rw-r--r--gnome-extra/wavelan-applet/files/digest-wavelan-applet-0.51
-rw-r--r--gnome-extra/wavelan-applet/files/wavelan-0.5-nosegfault.patch17
-rw-r--r--gnome-extra/wavelan-applet/wavelan-applet-0.5.ebuild43
3 files changed, 61 insertions, 0 deletions
diff --git a/gnome-extra/wavelan-applet/files/digest-wavelan-applet-0.5 b/gnome-extra/wavelan-applet/files/digest-wavelan-applet-0.5
new file mode 100644
index 000000000000..e01e0f434507
--- /dev/null
+++ b/gnome-extra/wavelan-applet/files/digest-wavelan-applet-0.5
@@ -0,0 +1 @@
+MD5 1e0fa433186e852ca5e59312a71b65ca wavelan-applet-0.5.tar.gz 172032
diff --git a/gnome-extra/wavelan-applet/files/wavelan-0.5-nosegfault.patch b/gnome-extra/wavelan-applet/files/wavelan-0.5-nosegfault.patch
new file mode 100644
index 000000000000..8fb0bf4461eb
--- /dev/null
+++ b/gnome-extra/wavelan-applet/files/wavelan-0.5-nosegfault.patch
@@ -0,0 +1,17 @@
+diff -u -r wavelan-applet-0.5.orig/src/wavelan-applet.c wavelan-applet-0.5/src/wavelan-applet.c
+--- wavelan-applet-0.5.orig/src/wavelan-applet.c Thu Dec 6 03:29:32 2001
++++ wavelan-applet-0.5/src/wavelan-applet.c Thu Dec 6 17:41:14 2001
+@@ -570,9 +570,9 @@
+ wavelan_applet_set_update_interval (global_applet,
+ gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (entry)));
+
+- entry = gtk_object_get_data (GTK_OBJECT (pb), "text-smaller");
+- wavelan_applet_set_text_smaller (global_applet,
+- gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (entry)));
++/* entry = gtk_object_get_data (GTK_OBJECT (pb), "text-smaller"); */
++/* wavelan_applet_set_text_smaller (global_applet, */
++/* gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (entry))); */
+
+ entry = gtk_object_get_data (GTK_OBJECT (pb), "text-aa");
+ wavelan_applet_set_text_aa (global_applet,
+Only in wavelan-applet-0.5/src: wavelan-applet.c~
diff --git a/gnome-extra/wavelan-applet/wavelan-applet-0.5.ebuild b/gnome-extra/wavelan-applet/wavelan-applet-0.5.ebuild
new file mode 100644
index 000000000000..52d508ce907c
--- /dev/null
+++ b/gnome-extra/wavelan-applet/wavelan-applet-0.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Authour: Mikael Hallendal <hallski@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/wavelan-applet/wavelan-applet-0.5.ebuild,v 1.1 2001/12/06 16:47:55 hallski Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GNOME Panel applet that shows the strength of a wavelan connection"
+SRC_URI="http://www.eskil.org/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.eskil.org/wavelan-applet/"
+
+RDEPEND=">=gnome-base/gnome-core-1.2.12
+ >=gnome-base/eel-1.0.2
+ >=gnome-base/libglade-0.17-r2"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ patch -p1 < ${FILESDIR}/wavelan-0.5-nosegfault.patch
+}
+
+
+src_compile() {
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib
+ assert "Package configuration failed."
+
+ emake || die "Package building failed."
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ sysconfdir=${D}/etc \
+ localstatedir=${D}/var/lib \
+ install || die
+
+ dodoc AUTHORS COPYING* ChangeLog README NEWS
+}