git: f71fcd9f5bba - main - net/boinc-client: Update 7.20.2 -> 7.24.

From: Larry Rosenman <ler_at_FreeBSD.org>
Date: Wed, 05 Jun 2024 14:19:23 UTC
The branch main has been updated by ler:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f71fcd9f5bba6c400d132c243b1bca5f662e3094

commit f71fcd9f5bba6c400d132c243b1bca5f662e3094
Author:     Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2024-06-05 14:16:06 +0000
Commit:     Larry Rosenman <ler@FreeBSD.org>
CommitDate: 2024-06-05 14:19:21 +0000

    net/boinc-client: Update 7.20.2 -> 7.24.
    
    - gettext support for NLS
    - portclippy(1) / portfmt(1) run
    
    PR:     252273
    Reported By: Älven <alster@vinterdalen.se>
---
 net/boinc-client/Makefile  | 72 ++++++++++++++++++++++------------------------
 net/boinc-client/distinfo  |  6 ++--
 net/boinc-client/pkg-descr |  6 ++--
 net/boinc-client/pkg-plist |  9 +++---
 4 files changed, 45 insertions(+), 48 deletions(-)

diff --git a/net/boinc-client/Makefile b/net/boinc-client/Makefile
index f73cacb323a1..1a5257270d81 100644
--- a/net/boinc-client/Makefile
+++ b/net/boinc-client/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	boinc-client
-PORTVERSION=	7.20.2
-PORTREVISION=	4
-DISTVERSIONPREFIX=	client_release/7.20/
+DISTVERSIONPREFIX=	client_release/7.24/
+DISTVERSION=	7.24.3
 CATEGORIES=	net
 
 MAINTAINER=	ler@FreeBSD.org
@@ -10,18 +9,22 @@ WWW=		https://boinc.berkeley.edu/
 
 LICENSE=	LGPL3
 
-USES=		autoreconf compiler:c++11-lang dos2unix gettext gmake libtool \
-		pkgconfig ssl tar:xz
-INSTALL_TARGET=	install-strip
-GNU_CONFIGURE=	yes
+USES=		autoreconf compiler:c++11-lang desktop-file-utils dos2unix \
+		gmake libtool pkgconfig ssl tar
+DOS2UNIX_GLOB=	*.xpm
 USE_GITHUB=	yes
 GH_ACCOUNT=	BOINC
 GH_PROJECT=	boinc
 USE_LDCONFIG=	yes
-DOS2UNIX_GLOB=	*.xpm
 
-USERS=		boinc
-GROUPS=		boinc
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-server
+CONFIGURE_ENV=	OBJCXX="${CXX}"
+
+INSTALL_TARGET=	install-strip
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
 
 BOINC_CLIENT_USER?=	boinc
 BOINC_CLIENT_GROUP?=	boinc
@@ -34,49 +37,46 @@ SUB_LIST=	BOINC_CLIENT_GROUP="${BOINC_CLIENT_GROUP}" \
 		LOCALBASE="${LOCALBASE}" \
 		PREFIX="${PREFIX}"
 
-CONFIGURE_ARGS=	--disable-server
-CONFIGURE_ENV=	OBJCXX="${CXX}"
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
+USERS=		boinc
+GROUPS=		boinc
 
 OPTIONS_DEFINE=		CLIENT LINUX MANAGER NLS SKINS USER X11
 OPTIONS_DEFAULT=	CLIENT MANAGER USER X11
 OPTIONS_GROUP=		SCRIPT
 OPTIONS_GROUP_SCRIPT=	NO_GUI_RPC NO_NET_INFO
+OPTIONS_SUB=	yes
+
 CLIENT_DESC=		BOINC Build client
-MANAGER_DESC=		BOINC Build GUI manager
-X11_DESC=		API Build graphics
 LINUX_DESC=		Accept applications Linux science
-USER_DESC=		and BOINC client Create/check directory user
-SKINS_DESC=		BOINC for Install manager more skins
-SCRIPT_DESC=		Command in line options script
+MANAGER_DESC=		BOINC Build GUI manager
+NLS_DESC=		Install language translations for use in the GUI
 NO_GUI_RPC_DESC=	(breaks and boinc_curses) Disable GUI RPC socket
 NO_NET_INFO_DESC=	address and Do host name not send servers to
+SCRIPT_DESC=		Command in line options script
+SKINS_DESC=		BOINC for Install manager more skins
+USER_DESC=		and BOINC client Create/check directory user
+X11_DESC=		API Build graphics
 
-OPTIONS_SUB=	yes
-
+CLIENT_LIB_DEPENDS=		libcurl.so:ftp/curl \
+				libfreetype.so:print/freetype2
+CLIENT_RUN_DEPENDS=		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
+CLIENT_USE=			RC_SUBR=boinc-client
+CLIENT_CONFIGURE_ENABLE=	client
+LINUX_USES=		linux
+LINUX_CONFIGURE_ON=	--with-boinc-alt-platform=x86_64-pc-linux-gnu
 MANAGER_LIB_DEPENDS=		libfontconfig.so:x11-fonts/fontconfig \
 				libnotify.so:devel/libnotify \
 				libsqlite3.so:databases/sqlite3 \
 				libxcb-util.so:x11/xcb-util
+MANAGER_USES=			gnome iconv
+MANAGER_USE=			GNOME=cairo,gdkpixbuf2,glib20,pango \
+				WX=3.2+ \
+				XORG=x11,xcb,xext,xscrnsaver
 MANAGER_CONFIGURE_ON=		--with-sqlite3-prefix=${LOCALBASE}
 MANAGER_CONFIGURE_OFF=		--with-wx-config=false \
 				--without-x
 MANAGER_CONFIGURE_ENABLE=	manager
-MANAGER_USES=			gnome iconv
-MANAGER_USE=			GNOME=cairo,gdkpixbuf2,glib20,pango \
-				WX=3.0 \
-				XORG=x11,xcb,xext,xscrnsaver
-
-CLIENT_CONFIGURE_ENABLE=	client
-CLIENT_LIB_DEPENDS=		libcurl.so:ftp/curl \
-				libfreetype.so:print/freetype2
-CLIENT_RUN_DEPENDS=		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
-CLIENT_USE=			RC_SUBR=boinc-client
-
-LINUX_CONFIGURE_ON=	--with-boinc-alt-platform=i686-pc-linux-gnu
-LINUX_USES=		linux
-
+NLS_USES=	gettext
 X11_USES=		gl jpeg xorg
 X11_USE=		GL=glut \
 			XORG=x11,xi,xmu,xscrnsaver
@@ -105,8 +105,6 @@ SUB_LIST+=	OPTION_USER=""
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|' \
-		${WRKSRC}/client/hostinfo_unix.cpp
 	@${REINPLACE_CMD} -e 's|client/scripts||' \
 		${WRKSRC}/Makefile.am
 # avoid build conflict with archivers/libzip
diff --git a/net/boinc-client/distinfo b/net/boinc-client/distinfo
index b2440de35137..a948d01cba38 100644
--- a/net/boinc-client/distinfo
+++ b/net/boinc-client/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658954348
-SHA256 (BOINC-boinc-client_release-7.20-7.20.2_GH0.tar.gz) = e577072b06f590d3230c25c94b221dba528b0938681e645bbd870778f8958077
-SIZE (BOINC-boinc-client_release-7.20-7.20.2_GH0.tar.gz) = 46555666
+TIMESTAMP = 1716764585
+SHA256 (BOINC-boinc-client_release-7.24-7.24.3_GH0.tar.gz) = 1d8faa4de332cf6c74fcde842bc70d0477e42f8b11205de4bfe04512b6b6ff18
+SIZE (BOINC-boinc-client_release-7.24-7.24.3_GH0.tar.gz) = 46748598
diff --git a/net/boinc-client/pkg-descr b/net/boinc-client/pkg-descr
index ce91ba6d0a19..c8ffcd8faa30 100644
--- a/net/boinc-client/pkg-descr
+++ b/net/boinc-client/pkg-descr
@@ -1,3 +1,3 @@
-BOINC is a software platform for distributed computing using volunteer
-computer resources.  This port contains BOINC API, libraries, client and
-manager GUI.
+BOINC is a software platform for distributed computing
+using volunteer computer resources.
+This port contains BOINC API, libraries, client and manager GUI.
diff --git a/net/boinc-client/pkg-plist b/net/boinc-client/pkg-plist
index fdcdb12da7bc..3cd73f2d36cb 100644
--- a/net/boinc-client/pkg-plist
+++ b/net/boinc-client/pkg-plist
@@ -1,15 +1,14 @@
 %%CLIENT%%bin/boinc
 %%CLIENT%%bin/boinc_client
 %%CLIENT%%bin/boinccmd
-%%CLIENT%%bin/switcher
 %%MANAGER%%bin/boincmgr
 %%MANAGER%%bin/boincscr
 include/boinc/app_ipc.h
 include/boinc/average.h
 include/boinc/base64.h
 include/boinc/boinc_api.h
-include/boinc/boinc_fcgi.h
 include/boinc/boinc_opencl.h
+include/boinc/boinc_stdio.h
 include/boinc/cal_boinc.h
 include/boinc/cc_config.h
 include/boinc/cert_sig.h
@@ -60,12 +59,12 @@ lib/libboinc.a
 lib/libboinc_api.a
 lib/libboinc_api.so
 lib/libboinc_api.so.7
-lib/libboinc_api.so.7.20.2
+lib/libboinc_api.so.7.24.3
 lib/libboinc_crypt.a
 lib/libboinc_opencl.a
 lib/libboinc_opencl.so
 lib/libboinc_opencl.so.7
-lib/libboinc_opencl.so.7.20.2
+lib/libboinc_opencl.so.7.24.3
 libdata/pkgconfig/libboinc.pc
 libdata/pkgconfig/libboinc_api.pc
 libdata/pkgconfig/libboinc_crypt.pc
@@ -73,7 +72,7 @@ libdata/pkgconfig/libboinc_opencl.pc
 %%X11%%lib/libboinc_graphics2.a
 %%X11%%lib/libboinc_graphics2.so
 %%X11%%lib/libboinc_graphics2.so.7
-%%X11%%lib/libboinc_graphics2.so.7.20.2
+%%X11%%lib/libboinc_graphics2.so.7.24.3
 %%SKINS%%share/boinc/skins/Charity Engine/background_image.png
 %%SKINS%%share/boinc/skins/Charity Engine/ce_about.ico
 %%SKINS%%share/boinc/skins/Charity Engine/ce_icon_play.png