ports/54624 - Update: net/gtk-gnutella
clayton rollins
crollins666 at hotmail.com
Mon Nov 3 00:30:22 UTC 2003
The following reply was made to PR ports/54624; it has been noted by GNATS.
From: "clayton rollins" <crollins666 at hotmail.com>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: ports/54624 - Update: net/gtk-gnutella
Date: Mon, 03 Nov 2003 00:23:36 +0000
This pr can be re-opened, as the 0.93 version was released today. (patch
below.)
This patch also incorporates the advice given in this thread.
diff -ur /mnt/ports/net/gtk-gnutella/Makefile ./Makefile
--- /mnt/ports/net/gtk-gnutella/Makefile Sun Apr 20 08:37:56 2003
+++ ./Makefile Sun Nov 2 16:26:55 2003
@@ -5,24 +5,119 @@
# $FreeBSD: ports/net/gtk-gnutella/Makefile,v 1.15 2003/04/20 19:37:56
marcus Exp $
#
+#
+# A quick note on configurable make symbols:
+#
+# RUN_INTERACTIVE: Launches Configure in it's default mode, which is *very*
+# interactive. Disabled here by default to conform to FreeBSD guidelines,
+# this mode is useful if you have problems with the default Configure.
+#
+# GTK2: Configure and build for gtk2.
+#
+# WITH_REMOTE_INTERFACE: Configure and build with experimental telnet-based
+# remote interface.
+#
+# WITHOUT_NLS: Configure and build without Native Language Support.
Eliminates
+# dependencies on gettext and libintl.
+#
+# DEBUG: Compile with debugging symbols. Useful if you intend to make a bug
+# report.
+#
+# Note that unicode support is currently unavailable for this platform.
This
+# package requires a working ICU installation to achieve this, which
doesn't
+# work here, and produces a broken executable.
+#
+
PORTNAME= gtk-gnutella
-PORTVERSION= 0.91.1
+PORTVERSION= 0.93
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://gtk-gnutella.sourceforge.net/download/ \
ftp://gtk-gnutella.sourceforge.net/pub/gtk-gnutella/
MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= roman at xpert.com
COMMENT= GTK based Gnutella client
-LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
+LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
+ iconv:${PORTSDIR}/converters/libiconv
+
+MAN1= gtk-gnutella.1
+MANCOMPRESSED= yes
-USE_X_PREFIX= yes
+USE_PERL5= yes
+USE_XLIB= yes
+USE_BZIP2= yes
+USE_BISON= yes
USE_GMAKE= yes
-USE_GNOME= gtk12
-GNU_CONFIGURE= yes
+USE_GNOME= pango
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= Configure
+CONFIGURE_ARGS= -Dyacc='bison -y' -Dofficial='true' -Dprefix=${PREFIX}
+CONFIGURE_ARGS+= -Dbindir=${PREFIX}/bin
-Dprivlib=${PREFIX}/share/gtk-gnutella
+CONFIGURE_ARGS+= -Dsysman=${PREFIX}/man/man1
-Dlocale=${PREFIX}/share/locale
+CONFIGURE_ARGS+= -Dccflags='${CFLAGS} -I/usr/local/include/'
+
+.if exists(/bin/sleep)
+SLEEP= /bin/sleep 3
+.endif
+
+.if defined(RUN_INTERACTIVE)
+.else
+CONFIGURE_ARGS+=-d -e
+.endif
+
+.if defined(GTK2)
+CONFIGURE_ARGS+= -Dgtkversion=2
+LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype \
+ fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
+ expat:${PORTSDIR}/textproc/expat2
+USE_GNOME+= gtk20 glib20
+.else
+CONFIGURE_ARGS+= -Dgtkversion=1
+USE_GNOME+= gtk12 glib12
+.endif
+
+.if defined(WITH_REMOTE_INTERFACE)
+CONFIGURE_ARGS+= -Dremotectrl=true
+.endif
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= -Ud_enablenls
+.else
+LIB_DEPENDS+= gettext:${PORTSDIR}/devel/gettext
+.endif
+
+.if defined(DEBUG)
+CONFIGURE_ARGS+= -Doptimize=-g
+.endif
+
+pre-fetch:
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
+ @${ECHO} ''
+ @${ECHO} ' ===> NOTICE <==='
+ @${ECHO} ''
+ @${ECHO} 'You may use the following make options.'
+ @${ECHO} 'See the Makefile for complete descriptions.'
+ @${ECHO} ''
+ @${ECHO} 'RUN_INTERACTIVE: Use Configure in interactive mode.'
+ @${ECHO} ''
+ @${ECHO} 'GTK2: Build with gtk2 frontend.'
+ @${ECHO} ''
+ @${ECHO} 'WITH_REMOTE_INTERFACE: Enable telnet-based remote interface.'
+ @${ECHO} ''
+ @${ECHO} 'WITHOUT_NLS: Disable Native Language Support.'
+ @${ECHO} ''
+ @${ECHO} 'DEBUG: Build with debugging symbols.'
+ @${ECHO} ''
+ @${SLEEP}
+.endif
-CONFIGURE_ARGS= --enable-no-rfc1918
+post-install:
+ @${ECHO} 'Installing compressed man page in man/man1/'
+ @${CP} ${WRKSRC}/src/gtk-gnutella.man ${WRKSRC}/src/gtk-gnutella.1
+ @${INSTALL_MAN} ${WRKSRC}/src/gtk-gnutella.1 ${PREFIX}/man/man1
+ @${GZIP_CMD} ${LOCALBASE}/man/man1/gtk-gnutella.1
.include <bsd.port.mk>
Only in /mnt/ports/net/gtk-gnutella/: Makefile~
diff -ur /mnt/ports/net/gtk-gnutella/distinfo ./distinfo
--- /mnt/ports/net/gtk-gnutella/distinfo Mon Jan 27 05:10:10 2003
+++ ./distinfo Sun Nov 2 13:47:29 2003
@@ -1 +1 @@
-MD5 (gtk-gnutella-0.91.1.tar.gz) = bd00261511cd38326357085050423a39
+MD5 (gtk-gnutella-0.93.tar.bz2) = 78d099392a61064ca30fac84c888550b
Only in ./: files
Only in ./: pkg-comm
diff -ur /mnt/ports/net/gtk-gnutella/pkg-descr ./pkg-descr
--- /mnt/ports/net/gtk-gnutella/pkg-descr Mon Oct 15 02:40:52 2001
+++ ./pkg-descr Sun Nov 2 13:47:29 2003
@@ -1,9 +1,12 @@
GTK based Gnutella client which supports the standard Gnutella operations.
Search, download, file sharing, bandwidth limiting, host caching, as well
-as some basic statistics.
+as some basic statistics. Now with enhanced features, such as PARQ
queueing,
+PFSP, push-proxies, and others, making it a stable and fully functional
+graphical gnutella client for *nix systems.
An excellent way to find that hidden file on the internet that you know
exists
but standard search engines do not seem to carry.
WWW: http://gtk-gnutella.sourceforge.net/
+IRC: #gtk-gnutella on freenode.net
diff -ur /mnt/ports/net/gtk-gnutella/pkg-plist ./pkg-plist
--- /mnt/ports/net/gtk-gnutella/pkg-plist Mon Jan 27 05:10:10 2003
+++ ./pkg-plist Sun Nov 2 13:47:29 2003
@@ -1,17 +1,26 @@
bin/gtk-gnutella
+share/gtk-gnutella/gwcache.boot
+share/gtk-gnutella/hostiles.txt
share/gtk-gnutella/pixmaps/arrow_down.xpm
share/gtk-gnutella/pixmaps/arrow_up.xpm
share/gtk-gnutella/pixmaps/booklib.xpm
share/gtk-gnutella/pixmaps/booksha.xpm
share/gtk-gnutella/pixmaps/bookshav.xpm
+share/gtk-gnutella/pixmaps/download.xpm
share/gtk-gnutella/pixmaps/exit.xpm
share/gtk-gnutella/pixmaps/filter.xpm
share/gtk-gnutella/pixmaps/firewall.xpm
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/no_firewall.xpm
share/gtk-gnutella/pixmaps/offline.xpm
share/gtk-gnutella/pixmaps/online.xpm
share/gtk-gnutella/pixmaps/save.xpm
+share/gtk-gnutella/pixmaps/smallserver.xpm
share/gtk-gnutella/pixmaps/thaw.xpm
+share/gtk-gnutella/pixmaps/ultra.xpm
+share/gtk-gnutella/pixmaps/upload.xpm
@dirrm share/gtk-gnutella/pixmaps
@dirrm share/gtk-gnutella
Additionally, the following file should be included, which disables ICU
support:
cat /usr/ports/net/gtk-gnutella/files/patch-Configure
--- Configure.orig Sun Nov 2 02:44:28 2003
+++ Configure Sun Nov 2 13:27:57 2003
@@ -436,7 +436,7 @@
: full support for void wanted by default
defvoidused=15
-libswanted='sendfile z icuuc intl resolv'
+libswanted='sendfile z intl resolv'
: Find the basic shell for Bourne shell scripts
case "$sh" in
Peace,
Clayton
_________________________________________________________________
Send instant messages to anyone on your contact list with MSN Messenger
6.0. Try it now FREE! http://msnmessenger-download.com
More information about the freebsd-ports-bugs
mailing list