From owner-svn-ports-all@freebsd.org Sun Mar 10 14:16:14 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 744A71534FC5; Sun, 10 Mar 2019 14:16:14 +0000 (UTC) (envelope-from adridg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C75777A29; Sun, 10 Mar 2019 14:16:14 +0000 (UTC) (envelope-from adridg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 11647244C8; Sun, 10 Mar 2019 14:16:14 +0000 (UTC) (envelope-from adridg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2AEGDMd039384; Sun, 10 Mar 2019 14:16:13 GMT (envelope-from adridg@FreeBSD.org) Received: (from adridg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2AEGDrD039382; Sun, 10 Mar 2019 14:16:13 GMT (envelope-from adridg@FreeBSD.org) Message-Id: <201903101416.x2AEGDrD039382@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adridg set sender to adridg@FreeBSD.org using -f From: Adriaan de Groot Date: Sun, 10 Mar 2019 14:16:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495294 - head/net-im/libsignon-glib X-SVN-Group: ports-head X-SVN-Commit-Author: adridg X-SVN-Commit-Paths: head/net-im/libsignon-glib X-SVN-Commit-Revision: 495294 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1C75777A29 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.949,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2019 14:16:14 -0000 Author: adridg Date: Sun Mar 10 14:16:13 2019 New Revision: 495294 URL: https://svnweb.freebsd.org/changeset/ports/495294 Log: Add DOCS option to net-im/libsignon-glib. This makes the documentation optional (but defaults to on). Without the documentation, no gtkdoc needs to be built, and no Doxygen gets dragged in. The ports framework for --enable- doesn't help here, because that option is created by the gtkdoc autoconf macros, which we don't want to have involved. Use sed to comment out the offending bits. Patch considerably changed from the PR. PORTREVISION bumped because there's now options where there were none before, but the default package doesn't change at all. PR: 236259 Reported by: rozhuk.im@gmail.com Modified: head/net-im/libsignon-glib/Makefile head/net-im/libsignon-glib/pkg-plist Modified: head/net-im/libsignon-glib/Makefile ============================================================================== --- head/net-im/libsignon-glib/Makefile Sun Mar 10 13:10:45 2019 (r495293) +++ head/net-im/libsignon-glib/Makefile Sun Mar 10 14:16:13 2019 (r495294) @@ -2,7 +2,7 @@ PORTNAME= libsignon-glib PORTVERSION= 1.14 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im DIST_SUBDIR= KDE/${GL_ACCOUNT} @@ -12,12 +12,11 @@ COMMENT= GLib-based client library for applications ha LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= gtkdocize:textproc/gtk-doc \ - signond:sysutils/signon-qt5 +BUILD_DEPENDS= signond:sysutils/signon-qt5 RUN_DEPENDS= signond:sysutils/signon-qt5 GNU_CONFIGURE= YES -CONFIGURE_ARGS= --disable-tests --enable-gtk-doc +CONFIGURE_ARGS= --disable-tests USES= autoreconf gmake gnome libtool pathfix pkgconfig python tar:bz2 USE_GNOME= introspection pygobject3 @@ -31,8 +30,19 @@ GL_ACCOUNT= accounts-sso GL_COMMIT= 4e85baaf483268d04bbf835bebeac4ae30c7c327 CFLAGS+= -Wno-error -# Run gtdocize as done in autogen.sh -pre-configure: +OPTIONS_DEFINE= DOCS +OPTIONS_SUB= yes + +DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc +DOCS_CONFIGURE_ENABLE= gtk-doc + +# Run gtdocize as done in autogen.sh. When DOCS is off, the +# unexpanded GTK_DOC_CHECK macro remains, so comment it out instead. +pre-configure-DOCS-on: cd ${CONFIGURE_WRKSRC} && gtkdocize --copy --flavour no-tmpl + +pre-configure-DOCS-off: + @${TOUCH} ${WRKSRC}/gtk-doc.make + @${REINPLACE_CMD} -e 's/^GTK_DOC_CHECK/# GTK_DOC_CHECK/' ${WRKSRC}/configure.ac .include Modified: head/net-im/libsignon-glib/pkg-plist ============================================================================== --- head/net-im/libsignon-glib/pkg-plist Sun Mar 10 13:10:45 2019 (r495293) +++ head/net-im/libsignon-glib/pkg-plist Sun Mar 10 14:16:13 2019 (r495294) @@ -15,33 +15,33 @@ lib/libsignon-glib.so.1.0.0 %%PYTHON_SITELIBDIR%%/gi/overrides/Signon.pyo libdata/pkgconfig/libsignon-glib.pc share/gir-1.0/Signon-1.0.gir -share/gtk-doc/html/libsignon-glib/SignonAuthService.html -share/gtk-doc/html/libsignon-glib/SignonAuthSession.html -share/gtk-doc/html/libsignon-glib/SignonIdentity.html -share/gtk-doc/html/libsignon-glib/SignonIdentityInfo.html -share/gtk-doc/html/libsignon-glib/annotation-glossary.html -share/gtk-doc/html/libsignon-glib/api-index-1-8.html -share/gtk-doc/html/libsignon-glib/api-index-deprecated.html -share/gtk-doc/html/libsignon-glib/api-index-full.html -share/gtk-doc/html/libsignon-glib/appendices.html -share/gtk-doc/html/libsignon-glib/credential-management.html -share/gtk-doc/html/libsignon-glib/gdbus-com.google.code.AccountsSSO.SingleSignOn.AuthService.html -share/gtk-doc/html/libsignon-glib/gdbus-com.google.code.AccountsSSO.SingleSignOn.AuthSession.html -share/gtk-doc/html/libsignon-glib/gdbus-com.google.code.AccountsSSO.SingleSignOn.Identity.html -share/gtk-doc/html/libsignon-glib/home.png -share/gtk-doc/html/libsignon-glib/index.html -share/gtk-doc/html/libsignon-glib/left-insensitive.png -share/gtk-doc/html/libsignon-glib/left.png -share/gtk-doc/html/libsignon-glib/libsignon-glib-SignonError.html -share/gtk-doc/html/libsignon-glib/libsignon-glib-objects.html -share/gtk-doc/html/libsignon-glib/libsignon-glib-overview.html -share/gtk-doc/html/libsignon-glib/libsignon-glib.devhelp2 -share/gtk-doc/html/libsignon-glib/object-tree.html -share/gtk-doc/html/libsignon-glib/right-insensitive.png -share/gtk-doc/html/libsignon-glib/right.png -share/gtk-doc/html/libsignon-glib/signond-dbus-api.html -share/gtk-doc/html/libsignon-glib/style.css -share/gtk-doc/html/libsignon-glib/up-insensitive.png -share/gtk-doc/html/libsignon-glib/up.png +%%DOCS%%share/gtk-doc/html/libsignon-glib/SignonAuthService.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/SignonAuthSession.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/SignonIdentity.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/SignonIdentityInfo.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/annotation-glossary.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/api-index-1-8.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/api-index-deprecated.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/api-index-full.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/appendices.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/credential-management.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/gdbus-com.google.code.AccountsSSO.SingleSignOn.AuthService.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/gdbus-com.google.code.AccountsSSO.SingleSignOn.AuthSession.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/gdbus-com.google.code.AccountsSSO.SingleSignOn.Identity.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/home.png +%%DOCS%%share/gtk-doc/html/libsignon-glib/index.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/left-insensitive.png +%%DOCS%%share/gtk-doc/html/libsignon-glib/left.png +%%DOCS%%share/gtk-doc/html/libsignon-glib/libsignon-glib-SignonError.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/libsignon-glib-objects.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/libsignon-glib-overview.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/libsignon-glib.devhelp2 +%%DOCS%%share/gtk-doc/html/libsignon-glib/object-tree.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/right-insensitive.png +%%DOCS%%share/gtk-doc/html/libsignon-glib/right.png +%%DOCS%%share/gtk-doc/html/libsignon-glib/signond-dbus-api.html +%%DOCS%%share/gtk-doc/html/libsignon-glib/style.css +%%DOCS%%share/gtk-doc/html/libsignon-glib/up-insensitive.png +%%DOCS%%share/gtk-doc/html/libsignon-glib/up.png share/vala/vapi/signon.vapi @comment share/gtk-doc/html/libsignon-glib/index.sgml