git: 1b719309d87c - main - deskutils/treesheets: Update to 20230707 snapshot
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Jul 2023 20:08:13 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=1b719309d87cc81d9e7e427dd9a1bad70f835da0 commit 1b719309d87cc81d9e7e427dd9a1bad70f835da0 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-07-08 20:01:59 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> 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 <bsd.port.mk> 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