Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2003 11:20:15 -0700 (PDT)
From:      "clayton rollins" <crollins666@hotmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/54624: Update: net/gtk-gnutella
Message-ID:  <200308231820.h7NIKFpf055312@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/54624; it has been noted by GNATS.

From: "clayton rollins" <crollins666@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org, avg@icyb.net.ua
Cc:  
Subject: Re: ports/54624: Update: net/gtk-gnutella
Date: Sat, 23 Aug 2003 18:14:36 +0000

 This report is now outdated, as ver. 0.92.1 has come out in the meantime.
 I've included a patch below, which makes the required changes to the
 existing ports directory. The patch also adds functionality to the makefile,
 installs the man, and fixes some library dependencies.
 
 This is my first work with bsd makefiles, so parts may be wrong. Any advice
 about style or methods is appreciated and can be sent to
 crollins666@hotmail.com .
 
 On the other hand, some new features of the software don't get set properly
 by the configure script, and a new release should be coming soon. It might 
 be
 better, if you all are really busy, to wait a week or two, then I could 
 submit
 a cumulative patch for that release. (Note that this release 'works,' just
 could be better.)
 
 At any rate, here's my patch:
 --- ./tmp/ports/ports/net/gtk-gnutella/Makefile	Sun Apr 20 08:37:56 2003
 +++ /usr/ports/net/gtk-gnutella/Makefile	Sat Aug 23 11:13:43 2003
 @@ -5,24 +5,105 @@
 # $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.
 +#
 +# DEBUG: Compile with debugging symbols. Useful if you intend to make a bug
 +#	report.
 +#
 +# Note that some features of the software are currently unavailable for 
 this
 +# platform; specifically, NLS and unicode support. I believe this is due to 
 the
 +# newness of the Configure script and should be resolved in the near 
 future.
 +#
 +
 PORTNAME=	gtk-gnutella
 -PORTVERSION=	0.91.1
 +PORTVERSION=	0.92.1
 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@xpert.com
 COMMENT=	GTK based Gnutella client
 
 -LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2
 +BUILD_DEPENDS= ${LOCALBASE}/bin/bison:${PORTSDIR}/devel/bison
 +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_GMAKE=	yes
 -USE_GNOME=	gtk12
 -GNU_CONFIGURE=	yes
 +USE_GNOME=	pango
 +HAS_CONFIGURE=	yes
 +CONFIGURE_SCRIPT=	Configure
 +CONFIGURE_ARGS=
 +
 +.if exists(/bin/sleep)
 +SLEEP=		/bin/sleep 3
 +.endif
 +
 +.if defined(RUN_INTERACTIVE)
 +CONFIGURE_ARGS=
 +.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(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} 'DEBUG:			Build with debugging symbols.'
 +	@${ECHO} ''
 +	@${SLEEP}
 +.endif
 
 -CONFIGURE_ARGS=	--enable-no-rfc1918
 +post-install:
 +	@${ECHO} 'Installing compressed man page in man/man1/'
 +	@${INSTALL_MAN} ${WRKSRC}/debian/gtk-gnutella.1 ${PREFIX}/man/man1
 +	@${GZIP_CMD} ${LOCALBASE}/man/man1/gtk-gnutella.1
 
 .include <bsd.port.mk>
 
 --- ./tmp/ports/ports/net/gtk-gnutella/pkg-plist	Mon Jan 27 05:10:10 2003
 +++ /usr/ports/net/gtk-gnutella/pkg-plist	Wed Aug 20 16:59:19 2003
 @@ -1,17 +1,26 @@
 bin/gtk-gnutella
 -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/exit.xpm
 -share/gtk-gnutella/pixmaps/filter.xpm
 -share/gtk-gnutella/pixmaps/firewall.xpm
 -share/gtk-gnutella/pixmaps/freeze.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/thaw.xpm
 -@dirrm share/gtk-gnutella/pixmaps
 -@dirrm share/gtk-gnutella
 +lib/gtk-gnutella/gwcache.boot
 +lib/gtk-gnutella/hostiles.txt
 +lib/gtk-gnutella/pixmaps/arrow_down.xpm
 +lib/gtk-gnutella/pixmaps/arrow_up.xpm
 +lib/gtk-gnutella/pixmaps/booklib.xpm
 +lib/gtk-gnutella/pixmaps/booksha.xpm
 +lib/gtk-gnutella/pixmaps/bookshav.xpm
 +lib/gtk-gnutella/pixmaps/download.xpm
 +lib/gtk-gnutella/pixmaps/exit.xpm
 +lib/gtk-gnutella/pixmaps/filter.xpm
 +lib/gtk-gnutella/pixmaps/firewall.xpm
 +lib/gtk-gnutella/pixmaps/freeze.xpm
 +lib/gtk-gnutella/pixmaps/icon.xpm
 +lib/gtk-gnutella/pixmaps/leaf.xpm
 +lib/gtk-gnutella/pixmaps/legacy.xpm
 +lib/gtk-gnutella/pixmaps/no_firewall.xpm
 +lib/gtk-gnutella/pixmaps/offline.xpm
 +lib/gtk-gnutella/pixmaps/online.xpm
 +lib/gtk-gnutella/pixmaps/save.xpm
 +lib/gtk-gnutella/pixmaps/smallserver.xpm
 +lib/gtk-gnutella/pixmaps/thaw.xpm
 +lib/gtk-gnutella/pixmaps/ultra.xpm
 +lib/gtk-gnutella/pixmaps/upload.xpm
 +@dirrm lib/gtk-gnutella/pixmaps
 +@dirrm lib/gtk-gnutella
 
 --- ./tmp/ports/ports/net/gtk-gnutella/distinfo	Mon Jan 27 05:10:10 2003
 +++ /usr/ports/net/gtk-gnutella/distinfo	Wed Aug 20 16:59:19 2003
 @@ -1 +1 @@
 -MD5 (gtk-gnutella-0.91.1.tar.gz) = bd00261511cd38326357085050423a39
 +MD5 (gtk-gnutella-0.92.1.tar.bz2) = 59d53bb96bf551ce9b04a01a70bcc5b0
 
 _________________________________________________________________
 MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308231820.h7NIKFpf055312>