From nobody Sat Jul 08 20:08:13 2023 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 4Qz1Xs3mpZz4mML0; Sat, 8 Jul 2023 20:08:13 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qz1Xs2SBXz3PNH; Sat, 8 Jul 2023 20:08:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688846893; 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=y2bHh9lD3tPMMLx0NxYhDKYcHX8/0Lsa2DWIhXChwGU=; b=sw0YO2Y/+BViKFYvKSS3P+O3Jd9fIJSsGW7LN+vR2CTvcpGVSggOwaM2qLpgDtEVUpI/Cv 5tD0b75/urSoHzK5q0CY4vuFbNL8wytVGhtYx55IZJboFttugu/aRC03k5z/l0IupbAOjp 7X/7ndrSJspXN2V+aCN8cTvk5+du/oVqGtoTa32sp2wjuj2OdrF56uYWweFQyfmzzEa5xg 7F3QbQVGujkCZKAffjo3JgdQhX1nnhy+PSw92/zWIQZzrKVO/+saJIHs81p3HLQAsOCune w0hnKmapXe359Mh3KekntiDA5jMMKF3kGRQELNB2BgArr0goZZVBvLsMZcbatw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688846893; 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=y2bHh9lD3tPMMLx0NxYhDKYcHX8/0Lsa2DWIhXChwGU=; b=Zl78/ngmNNO1rTjNKaUfslueDNkdNbbthRARcvReTEQg1fqzgY+NGvIIvhETPjDjvvk0Zf JQ30GGK+XUHzmX7/eyv8UafSefLD3rIgWv1p+0AIwu3aa492jNYUdiseqXpYcfNuuc7PuM lFZaaCDx9MyFic1B9Ci8TNaKAJDViLi8S84vGO/PfGauC6rVPb072CkiPKWNy5vVDjYbMn s24sv4SRMKpsvc/naT5NgtZ2C6mXMpOOh1uq4HUxodIRnxRyTInmhj2mrGZv08rCiMtrrv oU6DrCxEC7dpDwfupRBTItQbTlXLlfkZSwKfTpPTUqHtbRJRxlYvF5o25YjBOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688846893; a=rsa-sha256; cv=none; b=lFUmyy5IGsAUOkI+hQr5DizPq3xzE1sE2Fn2GsGHnqXBNUJAce4Rbo53gIGjQ+56MGqLEj lkGdFRxdaPOUWxWdW1DREYaHl4/WJe0WTEf5QFAUJ4ycO72d3YcdPjccaPTykLo4AjU639 ZrGkI2yX8eiE+fOnjyQyqN0pgHTmGDb3dqYAFYOasIicSXwbEf3MRdvJpBcbByl9FREYdr cwrksqNf/FZ20ameRPuW8HBlYNcCbT+2pnJcafUpJzxbQHU9haN0RHff7P8Z//e37e0Qaw HxjX2IfQWUicNQu5tY0q5cQMD3BaFSEuSRCYjV48hURAJxOIOJ/+gp1Vvvc0TQ== 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 4Qz1Xs10TlzZ7s; Sat, 8 Jul 2023 20:08:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 368K8DxT011268; Sat, 8 Jul 2023 20:08:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 368K8DxV011267; Sat, 8 Jul 2023 20:08:13 GMT (envelope-from git) Date: Sat, 8 Jul 2023 20:08:13 GMT Message-Id: <202307082008.368K8DxV011267@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 1b719309d87c - main - deskutils/treesheets: Update to 20230707 snapshot 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1b719309d87cc81d9e7e427dd9a1bad70f835da0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b719309d87cc81d9e7e427dd9a1bad70f835da0 commit 1b719309d87cc81d9e7e427dd9a1bad70f835da0 Author: Nuno Teixeira AuthorDate: 2023-07-08 20:01:59 +0000 Commit: Nuno Teixeira CommitDate: 2023-07-08 20:07:38 +0000 deskutils/treesheets: Update to 20230707 snapshot - Add NLS knob ChangeLog: https://github.com/aardappel/treesheets/compare/4969521204...5488366253 --- deskutils/treesheets/Makefile | 13 ++++++++----- deskutils/treesheets/distinfo | 6 +++--- deskutils/treesheets/files/patch-CMakeLists.txt | 17 +++++++++++++++-- deskutils/treesheets/pkg-plist | 10 +++++----- 4 files changed, 31 insertions(+), 15 deletions(-) diff --git a/deskutils/treesheets/Makefile b/deskutils/treesheets/Makefile index 9df3fd510e92..e504b72b1ab3 100644 --- a/deskutils/treesheets/Makefile +++ b/deskutils/treesheets/Makefile @@ -1,5 +1,5 @@ PORTNAME= treesheets -DISTVERSION= 1.0.20230514 +DISTVERSION= 1.0.20230707 CATEGORIES= deskutils MAINTAINER= eduardo@FreeBSD.org @@ -9,11 +9,11 @@ WWW= https://strlen.com/treesheets/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/ZLIB_LICENSE.txt -USES= cmake compiler:c++17-lang desktop-file-utils gettext gnome \ +USES= cmake compiler:c++17-lang desktop-file-utils gnome \ shared-mime-info USE_GITHUB= yes GH_ACCOUNT= aardappel -GH_TAGNAME= 4969521204 +GH_TAGNAME= 5488366253 USE_WX= 3.2 PORTSCOUT= ignore:1 # upstream uses CI run ids as releases @@ -22,9 +22,12 @@ PORTDATA= images scripts PORTDOCS= docs readme.html PORTEXAMPLES= examples -OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFINE= DOCS EXAMPLES NLS +OPTIONS_SUB= yes -post-patch: +NLS_USES= gettext + +pre-build: @${REINPLACE_CMD} -e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' ${WRKSRC}/CMakeLists.txt .include diff --git a/deskutils/treesheets/distinfo b/deskutils/treesheets/distinfo index 2e0f4d3ce237..5b5148c55e73 100644 --- a/deskutils/treesheets/distinfo +++ b/deskutils/treesheets/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1684053540 -SHA256 (aardappel-treesheets-1.0.20230514-4969521204_GH0.tar.gz) = 431d0f3a7bf75be5f04ab41688cbd838ae758801077f63c62572a8bf5f1e68c1 -SIZE (aardappel-treesheets-1.0.20230514-4969521204_GH0.tar.gz) = 3071298 +TIMESTAMP = 1688768464 +SHA256 (aardappel-treesheets-1.0.20230707-5488366253_GH0.tar.gz) = c7a9de0bc105c9db19f238670655153c5a2b34510f46889bd6d4b909ab5f0431 +SIZE (aardappel-treesheets-1.0.20230707-5488366253_GH0.tar.gz) = 3065780 diff --git a/deskutils/treesheets/files/patch-CMakeLists.txt b/deskutils/treesheets/files/patch-CMakeLists.txt index 8b84ad4da2d4..a222dde62be7 100644 --- a/deskutils/treesheets/files/patch-CMakeLists.txt +++ b/deskutils/treesheets/files/patch-CMakeLists.txt @@ -1,6 +1,19 @@ ---- CMakeLists.txt.orig 2022-09-12 14:30:49 UTC +--- CMakeLists.txt.orig 2023-07-07 16:07:44 UTC +++ CMakeLists.txt -@@ -90,7 +90,7 @@ install(FILES TS/readme.html DESTINATION ${TREESHEETS_ +@@ -60,7 +60,12 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS 1) + target_link_libraries(lobster-impl PRIVATE lobster) + + set(CMAKE_EXPORT_COMPILE_COMMANDS 1) ++ ++OPTION(WITH_CLANG_TIDY "Run clang-tidy" OFF) ++if (WITH_CLANG_TIDY) + set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=cppcoreguidelines-*,clang-analyzer-*,readability-*,performance-*,portability-*,concurrency-*,modernize-*) ++endif() ++ + add_executable( + treesheets + src/main.cpp +@@ -92,7 +97,7 @@ install(FILES TS/readme.html DESTINATION ${TREESHEETS_ install(TARGETS treesheets DESTINATION ${TREESHEETS_BINDIR}) install(DIRECTORY TS/docs DESTINATION ${TREESHEETS_DOCDIR}) install(FILES TS/readme.html DESTINATION ${TREESHEETS_DOCDIR}) diff --git a/deskutils/treesheets/pkg-plist b/deskutils/treesheets/pkg-plist index 569d0baabb4c..66fc0c19219b 100644 --- a/deskutils/treesheets/pkg-plist +++ b/deskutils/treesheets/pkg-plist @@ -1,9 +1,9 @@ bin/treesheets share/applications/treesheets.desktop share/icons/hicolor/scalable/apps/treesheets.svg -share/locale/de/LC_MESSAGES/ts.mo -share/locale/fr_FR/LC_MESSAGES/ts.mo -share/locale/it/LC_MESSAGES/ts.mo -share/locale/pt_BR/LC_MESSAGES/ts.mo -share/locale/zh_CN/LC_MESSAGES/ts.mo +%%NLS%%share/locale/de/LC_MESSAGES/ts.mo +%%NLS%%share/locale/fr_FR/LC_MESSAGES/ts.mo +%%NLS%%share/locale/it/LC_MESSAGES/ts.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/ts.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/ts.mo share/mime/packages/treesheets.xml