From nobody Mon Oct 21 23:22:29 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XXWYd3wxFz51lXS; Mon, 21 Oct 2024 23:22:29 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXWYd11h4z4sbl; Mon, 21 Oct 2024 23:22:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729552949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XG26mTdjgAv8do7eYauP1vMu4PV4BgVxBWdv6DiBXNY=; b=GNhgqagv0TnnFXdUxQQK8ythq9j8lQSEqv66y8I6tkiSb0upY0NVsAPhddyvcZ6dyfkNxm yCqBHavjmZqO0nVVBAqnu54VD2vPmWGQwe0+3gMM7/LAzLX3AgWm6AH4B1iTXbR5p8swgR xCSZfp8ak0aPKbq2wzSY96UWkImEuOXpFSL3+gubDMeQyRlDw8DalYbLZvEY/rT9URIoxd CUuvFkN2TIvaYaB0Bah4er8vbEwbrxXXV64ac6a4N0i2NKUO6HlLQXEZU9/I2PcDO4NpXx tYIYJsmx0JHHtWSWg/RLH8Kv85dv8868Dbp8FHb9qqn2qXjk6cvFvDUE9JExqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729552949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XG26mTdjgAv8do7eYauP1vMu4PV4BgVxBWdv6DiBXNY=; b=co6fOX+kEWmKig3Pfwg74WB09X/DI9k9ml27neGVMu2lYo3Yv3qzXa8a5rpDCnCRut03fB uT+Om1aD7ZAZFOtkx4ARhbbFLCo8j6KeMe6CPRf6KoMblM7z60kbwHXAJWv6wUXqQ8IUvR 2Kf+YTQ48inhYHl/v0OagAYWif+lOYA07uss4SqhTssJZfgH/CUfthyo0wqbxr6Yl+qTl1 s1pl+XfEC1cRUBM/Tzr6YBTQUiN0d64Hyw5Fv00mCjWC+tDXiSwwq0Psj7X2IKayqGMSp1 ek4y6Eru10UhJ3z+8hG+fDX+PEhNSd3nyTPXHF3wnp+uXb4j/BPOISYostoeAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729552949; a=rsa-sha256; cv=none; b=gaFQNwpdM/gi/5t1aX2vgvVTOmUp1eiiN9E6AW1PWg4vVb31ube34oZJ8j9qM4Q3E4pXCe ph6ChuoiusOcQ/7Ujpwgjl7ncJBPyEu48wic6Uk1BgXKfNRXWAlc7ndSg2OLV+RzH8UzCk DTg54NdMyNxs2z4ufWJ1PYvFZYevByfvL0LY/ZvJhThocnbu4yDHiKJngzRnMnhqENz42L cn3zd5K8R2bJKtlEykvBxapPcXYJI2TlpOjCY2ePMTj94Mzzw2r7N/j7arQ7FOS+KJCuwJ JYRjn4G5yNndvIVEbH4/Qg10HqWGNHWviv/Qbk/uLpYYWmod4c+5WMOLG/scSQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XXWYd0WmVzqWY; Mon, 21 Oct 2024 23:22:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49LNMT8x073744; Mon, 21 Oct 2024 23:22:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49LNMTEU073740; Mon, 21 Oct 2024 23:22:29 GMT (envelope-from git) Date: Mon, 21 Oct 2024 23:22:29 GMT Message-Id: <202410212322.49LNMTEU073740@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Olivier Cochard Subject: git: d7c44e871bfd - main - www/deforaos-surfer: clean up the port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olivier X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d7c44e871bfd257509f87caf1f4630458a1ddb70 Auto-Submitted: auto-generated The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7c44e871bfd257509f87caf1f4630458a1ddb70 commit d7c44e871bfd257509f87caf1f4630458a1ddb70 Author: Pierre Pronchery AuthorDate: 2024-10-14 15:29:20 +0000 Commit: Olivier Cochard CommitDate: 2024-10-21 23:20:12 +0000 www/deforaos-surfer: clean up the port This lets the deforaos-surfer port pass the plist, portclippy, portfmt, and portlint tests. This notably adds an "NLS" option, and bumps the PORTREVISION as a consequence as well. Sponsored by: The FreeBSD Foundation --- www/deforaos-surfer/Makefile | 28 +++++++++++++++++----------- www/deforaos-surfer/pkg-plist | 12 ++++++------ 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/www/deforaos-surfer/Makefile b/www/deforaos-surfer/Makefile index 5a5b3b31cad5..46b2560d1c45 100644 --- a/www/deforaos-surfer/Makefile +++ b/www/deforaos-surfer/Makefile @@ -1,6 +1,6 @@ PORTNAME= surfer PORTVERSION= 0.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Surfer/ PKGNAMEPREFIX= deforaos- @@ -13,28 +13,34 @@ WWW= https://www.defora.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ - libDesktop.so:x11/deforaos-libdesktop \ - libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ +LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ libharfbuzz.so:print/harfbuzz \ - libsoup-2.4.so:devel/libsoup + libsoup-2.4.so:devel/libsoup \ + libSystem.so:devel/deforaos-libsystem \ + libwebkit2gtk-4.0.so:www/webkit2-gtk3 -USES= gnome desktop-file-utils pkgconfig gettext +USES= desktop-file-utils gnome pkgconfig xorg +USE_GNOME= cairo gdkpixbuf2 gtk30 USE_XORG= x11 -USE_GNOME= gtk30 cairo gdkpixbuf2 MAKE_ARGS= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man -OPTIONS_DEFINE= DOCS -OPTIONS_SUB= yes -DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ - ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes +DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ + xsltproc:textproc/libxslt + +NLS_USES= gettext post-patch-DOCS-off: ${REINPLACE_CMD} 's|= data doc|= data|' \ ${WRKSRC}/Makefile +post-patch-NLS-off: + ${REINPLACE_CMD} 's|data po src|data src|' \ + ${WRKSRC}/Makefile + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* diff --git a/www/deforaos-surfer/pkg-plist b/www/deforaos-surfer/pkg-plist index db4f71fd426d..8d9241ce3ac8 100644 --- a/www/deforaos-surfer/pkg-plist +++ b/www/deforaos-surfer/pkg-plist @@ -9,9 +9,9 @@ share/applications/org.defora.htmlapp.desktop share/applications/org.defora.surfer.desktop share/icons/hicolor/16x16/apps/surfer-view-html-source.png share/icons/hicolor/24x24/apps/surfer-view-html-source.png -share/doc/Surfer/COPYING -share/doc/Surfer/README.md -share/locale/de/LC_MESSAGES/Surfer.mo -share/locale/es/LC_MESSAGES/Surfer.mo -share/locale/fr/LC_MESSAGES/Surfer.mo -share/locale/it/LC_MESSAGES/Surfer.mo +%%PORTDOCS%%share/doc/Surfer/COPYING +%%PORTDOCS%%share/doc/Surfer/README.md +%%NLS%%share/locale/de/LC_MESSAGES/Surfer.mo +%%NLS%%share/locale/es/LC_MESSAGES/Surfer.mo +%%NLS%%share/locale/fr/LC_MESSAGES/Surfer.mo +%%NLS%%share/locale/it/LC_MESSAGES/Surfer.mo