diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-02-12 04:57:38 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-02-12 04:57:38 +0800 |
commit | 3bbbe93fe83bb7728e559215297e5dd6167957bb (patch) | |
tree | 97be4c5848f5f9d3e444a4d65d8de30821967068 /net-p2p | |
parent | bbd4b2d2e7437f5b341c9f923a8992a681379588 (diff) | |
download | freebsd-ports-gnome-3bbbe93fe83bb7728e559215297e5dd6167957bb.tar.gz freebsd-ports-gnome-3bbbe93fe83bb7728e559215297e5dd6167957bb.tar.zst freebsd-ports-gnome-3bbbe93fe83bb7728e559215297e5dd6167957bb.zip |
- Update to 0.96
- Add NLS option
- Change default setting of TLS and IPV6 knobs to "on"
PR: ports/93196
Submitted by: maintainer
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/gtk-gnutella/Makefile | 34 | ||||
-rw-r--r-- | net-p2p/gtk-gnutella/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/gtk-gnutella/files/patch-gcc2.diff | 64 | ||||
-rw-r--r-- | net-p2p/gtk-gnutella/pkg-plist | 9 |
4 files changed, 40 insertions, 73 deletions
diff --git a/net-p2p/gtk-gnutella/Makefile b/net-p2p/gtk-gnutella/Makefile index 9adb178411ef..3075f5a72ffe 100644 --- a/net-p2p/gtk-gnutella/Makefile +++ b/net-p2p/gtk-gnutella/Makefile @@ -24,8 +24,7 @@ # PORTNAME= gtk-gnutella -DISTVERSION= 0.96b -PORTREVISION= 1 +PORTVERSION= 0.96 CATEGORIES= net-p2p MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://gtk-gnutella.sourceforge.net/download/ \ @@ -47,15 +46,15 @@ CONFIGURE_ARGS= -Dyacc='bison -y' -Dofficial='true' -Dprefix=${PREFIX} \ -Dprivlib=${PREFIX}/share/gtk-gnutella \ -Dsysman=${PREFIX}/man/man1 -Dlocale=${PREFIX}/share/locale \ -Dcc='${CC}' -Dccflags='${CFLAGS} -I${LOCALBASE}/include' \ - -Doptimize='undef' -Dlibpth='/usr/lib ${LOCALBASE}/lib' \ - -Dd_enablenls='define' + -Doptimize='undef' -Dlibpth='/usr/lib ${LOCALBASE}/lib' MAN1= gtk-gnutella.1 -OPTIONS= GTK2 "Build with gtk2 frontend" on \ - TLS "enable GNU TLS encryption support" off \ - IPV6 "enable IPv6 support" off \ - DBUS "enable DBUS support" off \ +OPTIONS= GTK2 "Build with GTK2 frontend" on \ + TLS "Enable GNU TLS encryption support" on \ + NLS "Enable native language support" on \ + IPV6 "Enable IPv6 support" on \ + DBUS "Enable D-BUS IPC support" off \ DEBUG "Build with debugging symbols" off \ PORTABILITY "Use the PATH variable at run-time" off @@ -84,7 +83,24 @@ CONFIGURE_ARGS+= -Dd_portable=true .if defined(WITH_TLS) LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls .else -CONFIGURE_ARGS+= -Dd_gnutls=undef +CONFIGURE_ARGS+= -U d_gnutls +.endif + +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= -U d_enablenls +.else +CONFIGURE_ARGS+= -D d_enablenls +LIB_DEPENDS+= intl:${PORTSDIR}/devel/gettext +PLIST_FILES= share/locale/de/LC_MESSAGES/gtk-gnutella.mo \ + 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/ja/LC_MESSAGES/gtk-gnutella.mo \ + share/locale/nb/LC_MESSAGES/gtk-gnutella.mo \ + share/locale/nl/LC_MESSAGES/gtk-gnutella.mo \ + share/locale/uk/LC_MESSAGES/gtk-gnutella.mo \ + share/locale/zh_CN/LC_MESSAGES/gtk-gnutella.mo .endif .if !defined(WITH_IPV6) diff --git a/net-p2p/gtk-gnutella/distinfo b/net-p2p/gtk-gnutella/distinfo index 7308287548a0..c05d78381182 100644 --- a/net-p2p/gtk-gnutella/distinfo +++ b/net-p2p/gtk-gnutella/distinfo @@ -1,3 +1,3 @@ -MD5 (gtk-gnutella-0.96b.tar.bz2) = 5ecd6baa91a19250217fd6911c6a932f -SHA256 (gtk-gnutella-0.96b.tar.bz2) = 7190cd2098744e99c88c3d423cb1718fb449ebd88dc217c42adbccab13db56b7 -SIZE (gtk-gnutella-0.96b.tar.bz2) = 2570856 +MD5 (gtk-gnutella-0.96.tar.bz2) = 4e1cd518ac2995f29952274e880cd6ec +SHA256 (gtk-gnutella-0.96.tar.bz2) = 4dea98e5376908b33838055771008bf7d515197601f22e1419d966e9164f5baf +SIZE (gtk-gnutella-0.96.tar.bz2) = 2668453 diff --git a/net-p2p/gtk-gnutella/files/patch-gcc2.diff b/net-p2p/gtk-gnutella/files/patch-gcc2.diff index 634145556cb7..7c6f03f3f68b 100644 --- a/net-p2p/gtk-gnutella/files/patch-gcc2.diff +++ b/net-p2p/gtk-gnutella/files/patch-gcc2.diff @@ -1,52 +1,12 @@ ---- src/core/rx_inflate.h.orig Tue Nov 22 22:47:05 2005 -+++ src/core/rx_inflate.h Sat Nov 26 18:15:09 2005 -@@ -46,7 +46,7 @@ - struct rx_inflate_cb { - void (*add_rx_inflated)(gpointer owner, gint amount); - void (*inflate_error)(gpointer owner, -- const gchar *reason, ...) G_GNUC_PRINTF(2, 3); -+ const gchar *reason, ...) PRINTF_FUNC_PTR(2, 3); - }; - - /** ---- src/core/rx_chunk.h.orig Tue Nov 22 22:47:05 2005 -+++ src/core/rx_chunk.h Sat Nov 26 18:15:09 2005 -@@ -45,7 +45,7 @@ - */ - struct rx_chunk_cb { - void (*chunk_error)(gpointer owner, -- const gchar *reason, ...) G_GNUC_PRINTF(2, 3); -+ const gchar *reason, ...) PRINTF_FUNC_PTR(2, 3); - void (*chunk_end)(gpointer owner); - }; - ---- src/core/rx_link.h.orig Tue Nov 22 22:47:05 2005 -+++ src/core/rx_link.h Sat Nov 26 18:15:09 2005 -@@ -46,7 +46,7 @@ - struct rx_link_cb { - void (*add_rx_given)(gpointer owner, gint amount); - void (*read_error)(gpointer owner, -- const gchar *reason, ...) G_GNUC_PRINTF(2, 3); -+ const gchar *reason, ...) PRINTF_FUNC_PTR(2, 3); - void (*got_eof)(gpointer owner); - }; - ---- src/common.h.orig Tue Nov 22 22:47:03 2005 -+++ src/common.h Sat Nov 26 18:15:08 2005 -@@ -366,6 +366,16 @@ - #define NON_NULL_PARAM(x) __attribute__((nonnull x)) - #else /* GCC < 3.3 */ - #define NON_NULL_PARAM(x) -+#endif -+ -+/** -+ * This is the same G_GNUC_FORMAT() but for function pointers. Older versions -+ * of GCC do not allow function attributes for function pointers. -+ */ -+#if HAVE_GCC(3, 0) -+#define PRINTF_FUNC_PTR(x, y) __attribute__((format(printf, (x), (y)))) -+#else /* GCC < 3.0 */ -+#define PRINTF_FUNC_PTR(x, y) - #endif - - /* Functions using this attribute cause a warning if the returned +--- src/lib/override.hoverride.h Mon Feb 6 14:44:46 2006 ++++ src/lib/override.h Tue Jan 24 22:18:42 2006 +@@ -91,8 +91,8 @@ + eject_("\nAssertion failure \"" STRINGIFY(x) "\" in " G_STRLOC "\n"); \ + } G_STMT_END + ++#define g_assert_not_reached() \ ++ eject_("\nCode should not have been reached in " G_STRLOC "\n"); \ +-#define g_assert_not_reached(x) \ +- eject_("\nCode should not be reached in " G_STRLOC "\n"); \ + + #endif /* FAST_ASSERTIONS */ diff --git a/net-p2p/gtk-gnutella/pkg-plist b/net-p2p/gtk-gnutella/pkg-plist index cb117c9078c4..ac90ce498904 100644 --- a/net-p2p/gtk-gnutella/pkg-plist +++ b/net-p2p/gtk-gnutella/pkg-plist @@ -41,15 +41,6 @@ share/applications/gtk-gnutella.desktop %%DATADIR%%/pixmaps/warning.xpm share/pixmaps/gtk-gnutella.png share/pixmaps/gtk-gnutella.svg -share/locale/de/LC_MESSAGES/gtk-gnutella.mo -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/ja/LC_MESSAGES/gtk-gnutella.mo -share/locale/nl/LC_MESSAGES/gtk-gnutella.mo -share/locale/hu/LC_MESSAGES/gtk-gnutella.mo -share/locale/uk/LC_MESSAGES/gtk-gnutella.mo -share/locale/zh_CN/LC_MESSAGES/gtk-gnutella.mo @dirrmtry share/applications @dirrm %%DATADIR%%/pixmaps @dirrm %%DATADIR%%/el |