summaryrefslogtreecommitdiff
path: root/net/gtk-gnutella
diff options
context:
space:
mode:
authorcbiere <cbiere>2007-01-20 14:50:03 +0000
committercbiere <cbiere>2007-01-20 14:50:03 +0000
commit1fa86b31bda72754a2025f974d082dfbcacaea1d (patch)
treef49ca2caf0f437a6ab2325e06d1f81867ec06993 /net/gtk-gnutella
parent7f7b33acce726a4c71a09efee91bef5df4d3a63e (diff)
downloadpkgsrc-1fa86b31bda72754a2025f974d082dfbcacaea1d.tar.gz
* Updated to 0.96.3.
* Added GUI option "headless". * Removed dbus dependency. It's just a gimmick, not worth it. * Added patch-ab to avoid picking up stuff from /usr/local for example.
Diffstat (limited to 'net/gtk-gnutella')
-rw-r--r--net/gtk-gnutella/DESCR2
-rw-r--r--net/gtk-gnutella/Makefile7
-rw-r--r--net/gtk-gnutella/PLIST7
-rw-r--r--net/gtk-gnutella/distinfo9
-rw-r--r--net/gtk-gnutella/options.mk9
-rw-r--r--net/gtk-gnutella/patches/patch-ab53
6 files changed, 74 insertions, 13 deletions
diff --git a/net/gtk-gnutella/DESCR b/net/gtk-gnutella/DESCR
index 2ab42b68ef7..2c0d0b89684 100644
--- a/net/gtk-gnutella/DESCR
+++ b/net/gtk-gnutella/DESCR
@@ -5,7 +5,7 @@ things.
Gnutella is a peer-based file-sharing protocol that allows a
user running a Gnutella client to search for and download files from
-other Gnutella users, as well as share some files of his/her own.
+other Gnutella users, as well as share some files of their own.
Gtk-Gnutella offers all the extra features you expect from a modern
client: persistent downloads, searches and filters, intuitive interface,
diff --git a/net/gtk-gnutella/Makefile b/net/gtk-gnutella/Makefile
index 94ba94f87d6..67e44c1545d 100644
--- a/net/gtk-gnutella/Makefile
+++ b/net/gtk-gnutella/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2006/08/23 09:49:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.57 2007/01/20 14:50:03 cbiere Exp $
-DISTNAME= gtk-gnutella-0.96.1
-PKGREVISION= 1
+DISTNAME= gtk-gnutella-0.96.3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtk-gnutella/}
EXTRACT_SUFX= .tar.bz2
@@ -29,7 +28,5 @@ CONFIGURE_ARGS+= -U optimize
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
-.include "../../sysutils/dbus/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/gtk-gnutella/PLIST b/net/gtk-gnutella/PLIST
index ede733dd2dc..e2978e539de 100644
--- a/net/gtk-gnutella/PLIST
+++ b/net/gtk-gnutella/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2006/04/17 07:07:31 jlam Exp $
+@comment $NetBSD: PLIST,v 1.13 2007/01/20 14:50:03 cbiere Exp $
bin/gtk-gnutella
share/applications/gtk-gnutella.desktop
share/gtk-gnutella/bogons.txt
@@ -29,6 +29,9 @@ share/gtk-gnutella/pixmaps/freeze.xpm
share/gtk-gnutella/pixmaps/icon.xpm
share/gtk-gnutella/pixmaps/leaf.xpm
share/gtk-gnutella/pixmaps/legacy.xpm
+share/gtk-gnutella/pixmaps/magnet.16x16.png
+share/gtk-gnutella/pixmaps/magnet.32x32.png
+share/gtk-gnutella/pixmaps/magnet.64x64.png
share/gtk-gnutella/pixmaps/no_firewall.xpm
share/gtk-gnutella/pixmaps/offline.xpm
share/gtk-gnutella/pixmaps/online.xpm
@@ -45,9 +48,11 @@ share/locale/el/LC_MESSAGES/gtk-gnutella.mo
share/locale/es/LC_MESSAGES/gtk-gnutella.mo
share/locale/fr/LC_MESSAGES/gtk-gnutella.mo
share/locale/hu/LC_MESSAGES/gtk-gnutella.mo
+share/locale/it/LC_MESSAGES/gtk-gnutella.mo
share/locale/ja/LC_MESSAGES/gtk-gnutella.mo
share/locale/nb/LC_MESSAGES/gtk-gnutella.mo
share/locale/nl/LC_MESSAGES/gtk-gnutella.mo
+share/locale/tr/LC_MESSAGES/gtk-gnutella.mo
share/locale/uk/LC_MESSAGES/gtk-gnutella.mo
share/locale/zh_CN/LC_MESSAGES/gtk-gnutella.mo
share/pixmaps/gtk-gnutella.png
diff --git a/net/gtk-gnutella/distinfo b/net/gtk-gnutella/distinfo
index 2c5dce77e0b..94b01660410 100644
--- a/net/gtk-gnutella/distinfo
+++ b/net/gtk-gnutella/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.23 2006/05/12 20:43:54 adam Exp $
+$NetBSD: distinfo,v 1.24 2007/01/20 14:50:03 cbiere Exp $
-SHA1 (gtk-gnutella-0.96.1.tar.bz2) = 28540c4e78f4c3513ac15b95228a98d17ace2091
-RMD160 (gtk-gnutella-0.96.1.tar.bz2) = 58fc8eb3aea991e81d96435f11665d6f50ccc1de
-Size (gtk-gnutella-0.96.1.tar.bz2) = 2661487 bytes
+SHA1 (gtk-gnutella-0.96.3.tar.bz2) = 7469d4ea685c387f38e927efeb8b9947a9ec72e3
+RMD160 (gtk-gnutella-0.96.3.tar.bz2) = fd5f04d22349a584e9b26cefbbbef41a2dbef7b2
+Size (gtk-gnutella-0.96.3.tar.bz2) = 2845172 bytes
SHA1 (patch-aa) = 16cc12d99624677d81fd1a7746b2afb80db0b570
+SHA1 (patch-ab) = 9ffbe8d12c7e4747a2110cd825bf957e2f3f393a
diff --git a/net/gtk-gnutella/options.mk b/net/gtk-gnutella/options.mk
index d89714618d9..659ee01fa02 100644
--- a/net/gtk-gnutella/options.mk
+++ b/net/gtk-gnutella/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.1 2006/05/12 20:43:54 adam Exp $
+# $NetBSD: options.mk,v 1.2 2007/01/20 14:50:03 cbiere Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gtk-gnutella
PKG_SUPPORTED_OPTIONS= # empty
PKG_OPTIONS_OPTIONAL_GROUPS= gui
-PKG_OPTIONS_GROUP.gui= gtk1 gtk2
+PKG_OPTIONS_GROUP.gui= gtk1 gtk2 headless
PKG_SUGGESTED_OPTIONS= gtk2
.include "../../mk/bsd.options.mk"
@@ -17,3 +17,8 @@ CONFIGURE_ARGS+= -D gtkversion=1
CONFIGURE_ARGS+= -D gtkversion=2
. include "../../x11/gtk2/buildlink3.mk"
.endif
+
+.if !empty(PKG_OPTIONS:Mheadless)
+CONFIGURE_ARGS+= -D d_headless
+. include "../../devel/glib2/buildlink3.mk"
+.endif
diff --git a/net/gtk-gnutella/patches/patch-ab b/net/gtk-gnutella/patches/patch-ab
new file mode 100644
index 00000000000..bba52ca4d20
--- /dev/null
+++ b/net/gtk-gnutella/patches/patch-ab
@@ -0,0 +1,53 @@
+$NetBSD: patch-ab,v 1.5 2007/01/20 14:50:03 cbiere Exp $
+
+--- Configure 2007-01-05 01:02:13.000000000 +0100
++++ Configure 2007-01-05 01:01:24.000000000 +0100
+@@ -69,28 +69,6 @@
+ fi
+ fi
+
+-: Proper PATH setting
+-paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
+-paths="$paths /opt/bin /opt/local/bin /opt/local /opt/lbin"
+-paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin"
+-paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin"
+-paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb"
+-paths="$paths /bsd4.3/usr/bin /usr/bsd /bsd43/bin /usr/ccs/bin"
+-paths="$paths /etc /usr/lib /usr/ucblib /lib /usr/ccs/lib"
+-paths="$paths /sbin /usr/sbin /usr/libexec"
+-paths="$paths /system/gnu_library/bin"
+-
+-for p in $paths
+-do
+- case "$p_$PATH$p_" in
+- *$p_$p$p_*) ;;
+- *) test -d $p && PATH=$PATH$p_$p ;;
+- esac
+-done
+-
+-PATH=.$p_$PATH
+-export PATH
+-
+ : shall we be using ksh?
+ inksh=''
+ needksh=''
+@@ -569,8 +547,7 @@
+ archobjs=''
+ : Possible local include directories to search.
+ : Set locincpth to "" in a hint file to defeat local include searches.
+-locincpth="/usr/local/include /opt/local/include /usr/gnu/include"
+-locincpth="$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include"
++locincpth=""
+ :
+ : no include file wanted by default
+ inclwanted=''
+@@ -581,8 +558,7 @@
+ : change the next line if compiling for Xenix/286 on Xenix/386
+ xlibpth='/usr/lib/386 /lib/386'
+ : Possible local library directories to search.
+-loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
+-loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
++loclibpth=""
+
+ : general looking path for locating libraries
+ glibpth="/lib /usr/lib $xlibpth"