1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

net-p2p/gtk-gnutella: the port had been updated and improved (+)

- Update to version 1.2.1, which now needs GNU make to build
- Switch to SourceForge where official releases are published; this
  also means shorter distfile name, correctly preserved modification
  time, and alleviates the need for DISTVERSIONPREFIX abomination
- Remove ONLY_FOR_ARCHS constraint: there should not be anything
  architecture-specific about server/client program for Gnutella,
  modulo some fragility in their custom memory allocator
- Force previous (as in version 1.1.15) alignment value on i386 and
  likely other 32-bit architectures to unbreak the build there
- Drop non-standard IRC line from the port description and improve
  creator's attribution while I'm here

PR:	258276
This commit is contained in:
Alexey Dokuchaev 2021-09-15 11:55:32 +00:00
parent 84a0bf792c
commit 9a32701b73
3 changed files with 12 additions and 11 deletions

View File

@ -1,9 +1,9 @@
# Created by: rbt@zort.on.ca
# Created by: Rod Taylor <rbt@zort.on.ca>
PORTNAME= gtk-gnutella
PORTVERSION= 1.1.15
DISTVERSIONPREFIX=v
PORTVERSION= 1.2.1
CATEGORIES= net-p2p
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK based Gnutella client
@ -11,12 +11,10 @@ COMMENT= GTK based Gnutella client
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
USES= gnome iconv localbase:ldflags pkgconfig tar:xz
USE_GITHUB= yes
USES= gmake gnome iconv localbase:ldflags pkgconfig tar:xz
USE_GNOME= glib20 libxml2
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= -O -Dyacc='byacc' \
@ -59,6 +57,10 @@ CONFIGURE_ARGS+= -ders
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.SH" | ${XARGS} ${REINPLACE_CMD} -e \
's|@exit 0|@echo done|'
# Use memory alignment constraints as in version 1.1.15 to unbreak the
# build on 32-bit architectures
@${REINPLACE_CMD} -e 's,^#ifdef XMALLOC_IS_MALLOC,#if __SIZE_WIDTH__\
== 32,' ${WRKSRC}/src/lib/xmalloc.h
post-patch-DEBUG-off:
@${REINPLACE_CMD} 's/(INSTALL) -c -m 555/(INSTALL) -c -s -m 555/g' \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1565005144
SHA256 (gtk-gnutella-gtk-gnutella-v1.1.15_GH0.tar.gz) = a72fd0b57bbc458c8fe5556bd171cd3cae940fa131c5783ab4114f29d85d9122
SIZE (gtk-gnutella-gtk-gnutella-v1.1.15_GH0.tar.gz) = 22899323
TIMESTAMP = 1626271947
SHA256 (gtk-gnutella-1.2.1.tar.xz) = b76de8d1cd470966e322522539ccb9abb1b5c5f7c7f72af9acb95dff51bfbada
SIZE (gtk-gnutella-1.2.1.tar.xz) = 20623440

View File

@ -10,4 +10,3 @@ 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