git: 7ccc6347eb7d - main - graphics/aeskulap: unbreak the build; miscellaneous improvements

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 02 Aug 2025 02:09:49 UTC
The branch main has been updated by danfe:

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

commit 7ccc6347eb7d192c003f29794afb440ca6c3c4aa
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-08-02 02:08:50 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-08-02 02:08:50 +0000

    graphics/aeskulap: unbreak the build; miscellaneous improvements
    
    - GC some GConf-related macros that started to break configure
    - Amend the COMMENT, adjust the LICENSE (it is GPLv2 or later),
      and use GLIB_SCHEMAS to automatically register schema file.
    
    Reported by:    pkg-fallout
    Fixes:          5b98214a7ff0
---
 graphics/aeskulap/Makefile  | 16 +++++++++++-----
 graphics/aeskulap/pkg-plist |  1 -
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/graphics/aeskulap/Makefile b/graphics/aeskulap/Makefile
index 2290144c6a08..502dda98028f 100644
--- a/graphics/aeskulap/Makefile
+++ b/graphics/aeskulap/Makefile
@@ -4,10 +4,10 @@ PORTREVISION=	6
 CATEGORIES=	graphics
 
 MAINTAINER=	danfe@FreeBSD.org
-COMMENT=	Medical image viewer
+COMMENT=	Medical image viewer and DICOM network client
 WWW=		https://aeskulap.nongnu.org/
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libdcmimage.so:graphics/dcmtk \
@@ -19,6 +19,10 @@ LIB_DEPENDS=	libdcmimage.so:graphics/dcmtk \
 
 USES=		compiler:c++11-lang autoreconf desktop-file-utils gettext \
 		gmake gnome jpeg libtool localbase pkgconfig
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-static --with-gsettings
+GLIB_SCHEMAS=	org.gnu.aeskulap.gschema.xml
+INSTALL_TARGET=	install-strip
 USE_GITHUB=	yes
 GH_ACCOUNT=	mikhailnov
 GH_TAGNAME=	e43334e
@@ -26,8 +30,10 @@ USE_CXXSTD=	c++11
 USE_GNOME=	gtkmm24 intltool libglade2
 USE_LDCONFIG=	${PREFIX}/lib/aeskulap
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-static --with-gsettings
-INSTALL_TARGET=	install-strip
+post-patch:
+	@${REINPLACE_CMD} -e '/^AM_GCONF_SOURCE_2/,+1d' \
+		${WRKSRC}/configure.ac
+	@${REINPLACE_CMD} -e '/^if GCONF_SCHEMAS_INSTALL/,+3d' \
+		${WRKSRC}/src/Makefile.am
 
 .include <bsd.port.mk>
diff --git a/graphics/aeskulap/pkg-plist b/graphics/aeskulap/pkg-plist
index 2be82d9dcde0..823f35166a3d 100644
--- a/graphics/aeskulap/pkg-plist
+++ b/graphics/aeskulap/pkg-plist
@@ -26,7 +26,6 @@ lib/aeskulap/libimagepool.so
 %%DATADIR%%/images/stock-tool-scale-22.png
 share/appdata/aeskulap.appdata.xml
 share/applications/aeskulap.desktop
-share/glib-2.0/schemas/org.gnu.aeskulap.gschema.xml
 share/icons/hicolor/64x64/apps/aeskulap.png
 share/icons/hicolor/scalable/apps/aeskulap.svg
 share/locale/de/LC_MESSAGES/aeskulap.mo