Index | Thread | Search

From:
Jeremie Courreges-Anglas <jca@wxcvbn.org>
Subject:
x11/gnustep: disable docs
To:
Sebastian Reitenbach <sebastia@openbsd.org>
Cc:
ports@openbsd.org
Date:
Tue, 13 May 2025 13:49:24 +0200

Download raw body.

Thread
Hit by several persons in the last weeks: autogsdoc often crashes
during the build of a few gnustep ports.  tb reported it and you
disabled autogsdoc in a few ports, but not all of them.  The diff
below disables it using the approach suggested by Riccardo Mottola in
the thread you opened:

  https://lists.gnu.org/archive/html/discuss-gnustep/2025-03/msg00053.html

documentation=no doesn't just disable autogsdoc, it also drops .info
doc in dbuskit, hopefully it isn't a big issue.  The diff cleans up
the AUTOGSDOC overrides and was tested by rebuilding/packaging all the
gnustep.port.mk consumers.

ok?  (I already have an ok from tb@)


Index: gnustep.port.mk
===================================================================
RCS file: /home/cvs/ports/x11/gnustep/gnustep.port.mk,v
diff -u -p -r1.43 gnustep.port.mk
--- gnustep.port.mk	13 Nov 2024 20:13:19 -0000	1.43
+++ gnustep.port.mk	13 May 2025 08:38:43 -0000
@@ -67,6 +67,8 @@ LIB_DEPENDS += ${MODGNUSTEP_LIB_DEPENDS}
 RUN_DEPENDS += ${MODGNUSTEP_RUN_DEPENDS}
 
 MAKE_ENV +=	messages=yes
+# XXX autogsdoc tends to crash, disable it when building ports
+MAKE_ENV +=	documentation=no
 
 .ifdef DEBUG
 CONFIGURE_ARGS +=       --enable-debug --disable-strip
Index: dbuskit/Makefile
===================================================================
RCS file: /home/cvs/ports/x11/gnustep/dbuskit/Makefile,v
diff -u -p -r1.24 Makefile
--- dbuskit/Makefile	9 Mar 2024 11:48:09 -0000	1.24
+++ dbuskit/Makefile	13 May 2025 08:40:20 -0000
@@ -2,7 +2,7 @@ COMMENT =	GNUstep dbus interface
 
 CATEGORIES +=   x11/gnustep devel
 VERSION =	0.1.1
-REVISION =	15
+REVISION =	16
 DISTNAME =	dbuskit-${VERSION}
 PKGNAME =	gnustep-dbuskit-${VERSION}
 
Index: dbuskit/pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/x11/gnustep/dbuskit/pkg/PLIST,v
diff -u -p -r1.4 PLIST
--- dbuskit/pkg/PLIST	11 Mar 2022 20:15:54 -0000	1.4
+++ dbuskit/pkg/PLIST	13 May 2025 08:39:58 -0000
@@ -1,6 +1,5 @@
 @bin bin/dk_make_protocol
 include/DBusKit
-@info info/DBusKit.info
 lib/GNUstep/Frameworks/
 lib/GNUstep/Frameworks/DBusKit.framework/
 lib/GNUstep/Frameworks/DBusKit.framework/DBusKit
@@ -25,36 +24,25 @@ lib/GNUstep/Frameworks/DBusKit.framework
 share/doc/GNUstep/
 share/doc/GNUstep/Developer/
 share/doc/GNUstep/Developer/DBusKit/
-share/doc/GNUstep/Developer/DBusKit/ProgrammingManual/
-share/doc/GNUstep/Developer/DBusKit/ProgrammingManual/DBusKit/
-share/doc/GNUstep/Developer/DBusKit/ProgrammingManual/DBusKit.pdf
-share/doc/GNUstep/Developer/DBusKit/ProgrammingManual/DBusKit/Exposing-Objects-on-D_002dBus.html
-share/doc/GNUstep/Developer/DBusKit/ProgrammingManual/DBusKit/GNU-Free-Documentation-License.html
-share/doc/GNUstep/Developer/DBusKit/ProgrammingManual/DBusKit/Introduction.html
-share/doc/GNUstep/Developer/DBusKit/ProgrammingManual/DBusKit/Using-D_002dBus-From-Objective_002dC.html
-share/doc/GNUstep/Developer/DBusKit/ProgrammingManual/DBusKit/dependencies
 share/doc/GNUstep/Developer/DBusKit/Reference/
-share/doc/GNUstep/Developer/DBusKit/Reference/ClassesTOC.gsdoc
-share/doc/GNUstep/Developer/DBusKit/Reference/ClassesTOC.html
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit.gsdoc
 share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit.html
-share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit.igsdoc
-share/doc/GNUstep/Developer/DBusKit/Reference/DKNotificationCenter.gsdoc
-share/doc/GNUstep/Developer/DBusKit/Reference/DKNotificationCenter.html
-share/doc/GNUstep/Developer/DBusKit/Reference/DKPort.gsdoc
-share/doc/GNUstep/Developer/DBusKit/Reference/DKPort.html
-share/doc/GNUstep/Developer/DBusKit/Reference/DKProxy.gsdoc
-share/doc/GNUstep/Developer/DBusKit/Reference/DKProxy.html
-share/doc/GNUstep/Developer/DBusKit/Reference/MainIndex.html
-share/doc/GNUstep/Developer/DBusKit/Reference/OrderedSymbolDeclarations.plist
-share/doc/GNUstep/Developer/DBusKit/Reference/TypesAndConstants.gsdoc
-share/doc/GNUstep/Developer/DBusKit/Reference/TypesAndConstants.html
-share/doc/GNUstep/Developer/DBusKit/Reference/TypesTOC.gsdoc
-share/doc/GNUstep/Developer/DBusKit/Reference/TypesTOC.html
-share/doc/GNUstep/Developer/DBusKit/Reference/VariablesTOC.gsdoc
-share/doc/GNUstep/Developer/DBusKit/Reference/VariablesTOC.html
-share/doc/GNUstep/Developer/DBusKit/Reference/index.html
-share/doc/GNUstep/Developer/DBusKit/ReleaseNotes/
-share/doc/GNUstep/Developer/DBusKit/ReleaseNotes/0.1.1/
-share/doc/GNUstep/Developer/DBusKit/ReleaseNotes/0.1.1/ANNOUNCE
-share/doc/GNUstep/Developer/DBusKit/ReleaseNotes/0.1.1/INSTALL
-share/doc/GNUstep/Developer/DBusKit/ReleaseNotes/0.1.1/README
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit.texi
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit_1.html
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit_2.html
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit_3.html
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit_4.html
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit_5.html
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit_abt.html
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit_fot.html
+share/doc/GNUstep/Developer/DBusKit/Reference/DBusKit_toc.html
+share/doc/GNUstep/Developer/DBusKit/Reference/ExposingObjects.texi
+share/doc/GNUstep/Developer/DBusKit/Reference/GNUmakefile
+share/doc/GNUstep/Developer/DBusKit/Reference/GNUmakefile.postamble
+share/doc/GNUstep/Developer/DBusKit/Reference/Introduction.texi
+share/doc/GNUstep/Developer/DBusKit/Reference/UsingDBus.texi
+share/doc/GNUstep/Developer/DBusKit/Reference/announce.0.1.1.texi
+share/doc/GNUstep/Developer/DBusKit/Reference/announce.0.1.texi
+share/doc/GNUstep/Developer/DBusKit/Reference/fdl-1.3.texi
+share/doc/GNUstep/Developer/DBusKit/Reference/install.texi
+share/doc/GNUstep/Developer/DBusKit/Reference/readme.texi
Index: performance/Makefile
===================================================================
RCS file: /home/cvs/ports/x11/gnustep/performance/Makefile,v
diff -u -p -r1.24 Makefile
--- performance/Makefile	19 Mar 2025 20:49:45 -0000	1.24
+++ performance/Makefile	13 May 2025 08:31:56 -0000
@@ -15,7 +15,6 @@ WANTLIB =		pthread
 MODGNUSTEP_NEEDS_GUI = No
 MODGNUSTEP_NEEDS_BACK = No
 
-MAKE_FLAGS +=	Performance_INTERFACE_VERSION=${LIBPerformance_VERSION} \
-		AUTOGSDOC=echo
+MAKE_FLAGS +=	Performance_INTERFACE_VERSION=${LIBPerformance_VERSION}
 
 .include <bsd.port.mk>
Index: sqlclient/Makefile
===================================================================
RCS file: /home/cvs/ports/x11/gnustep/sqlclient/Makefile,v
diff -u -p -r1.32 Makefile
--- sqlclient/Makefile	9 Mar 2024 11:48:10 -0000	1.32
+++ sqlclient/Makefile	13 May 2025 08:39:27 -0000
@@ -3,7 +3,7 @@ COMMENT =	GNUstep database abstraction l
 VERSION =	1.9.0
 DISTNAME =	SQLClient-${VERSION}
 PKGNAME =	gnustep-sqlclient-${VERSION}
-REVISION =	0
+REVISION =	1
 
 SHLIB_VERSION =	2.1
 SHARED_LIBS +=  SQLClient	${SHLIB_VERSION}
Index: sqlclient/pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/x11/gnustep/sqlclient/pkg/PLIST,v
diff -u -p -r1.4 PLIST
--- sqlclient/pkg/PLIST	11 Mar 2022 20:15:59 -0000	1.4
+++ sqlclient/pkg/PLIST	13 May 2025 08:39:19 -0000
@@ -43,9 +43,3 @@ lib/GNUstep/Bundles/SQLClient${SHLIB_VER
 @bin lib/GNUstep/Bundles/SQLClient${SHLIB_VERSION}/SQLite_libs.bundle/SQLite_libs
 lib/GNUstep/Bundles/SQLClient${SHLIB_VERSION}/SQLite_libs.bundle/stamp.make
 @lib lib/libSQLClient.so.${LIBSQLClient_VERSION}
-share/doc/GNUstep/SQLClient/
-share/doc/GNUstep/SQLClient/OrderedSymbolDeclarations.plist
-share/doc/GNUstep/SQLClient/SQLClient.gsdoc
-share/doc/GNUstep/SQLClient/SQLClient.html
-share/doc/GNUstep/SQLClient/SQLClient.igsdoc
-share/doc/GNUstep/SQLClient/dependencies
Index: webserver/Makefile
===================================================================
RCS file: /home/cvs/ports/x11/gnustep/webserver/Makefile,v
diff -u -p -r1.27 Makefile
--- webserver/Makefile	9 Mar 2024 11:48:10 -0000	1.27
+++ webserver/Makefile	13 May 2025 08:42:45 -0000
@@ -3,7 +3,7 @@ COMMENT =	GNUstep webserver framework
 VERSION =	1.6.0
 DISTNAME =	WebServer-${VERSION}
 PKGNAME =	gnustep-webserver-${VERSION}
-REVISION =	0
+REVISION =	1
 
 SHARED_LIBS +=  WebServer	2.2
 
Index: webserver/pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/x11/gnustep/webserver/pkg/PLIST,v
diff -u -p -r1.2 PLIST
--- webserver/pkg/PLIST	11 Mar 2022 20:16:00 -0000	1.2
+++ webserver/pkg/PLIST	13 May 2025 08:42:25 -0000
@@ -3,13 +3,3 @@ include/WebServer/WebServer.h
 include/WebServer/WebServerBundles.h
 include/WebServer/WebServerHTML.h
 @lib lib/libWebServer.so.${LIBWebServer_VERSION}
-share/doc/GNUstep/WebServer/
-share/doc/GNUstep/WebServer/OrderedSymbolDeclarations.plist
-share/doc/GNUstep/WebServer/WebServer.gsdoc
-share/doc/GNUstep/WebServer/WebServer.html
-share/doc/GNUstep/WebServer/WebServer.igsdoc
-share/doc/GNUstep/WebServer/WebServerBundles.gsdoc
-share/doc/GNUstep/WebServer/WebServerBundles.html
-share/doc/GNUstep/WebServer/WebServerHTML.gsdoc
-share/doc/GNUstep/WebServer/WebServerHTML.html
-share/doc/GNUstep/WebServer/dependencies
Index: webservices/Makefile
===================================================================
RCS file: /home/cvs/ports/x11/gnustep/webservices/Makefile,v
diff -u -p -r1.33 Makefile
--- webservices/Makefile	19 Mar 2025 20:49:45 -0000	1.33
+++ webservices/Makefile	13 May 2025 08:32:08 -0000
@@ -17,8 +17,7 @@ LIB_DEPENDS =		x11/gnustep/performance
 MODGNUSTEP_IS_FRAMEWORK = Yes
 
 CONFIGURE_STYLE =	gnu
-MAKE_FLAGS +=	WebServices_INTERFACE_VERSION=${LIBWebServices_VERSION} \
-		AUTOGSDOC=echo
+MAKE_FLAGS +=	WebServices_INTERFACE_VERSION=${LIBWebServices_VERSION}
 
 NO_TEST =	No
 do-test:


-- 
jca