git: 224e5cad92c3 - main - finance/kraft: Update to 1.2.1

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sun, 23 Jun 2024 13:46:29 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=224e5cad92c38ce352fb0747a9d575e090dd6cda

commit 224e5cad92c38ce352fb0747a9d575e090dd6cda
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-06-23 05:00:03 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-06-23 13:46:21 +0000

    finance/kraft: Update to 1.2.1
    
    https://volle-kraft-voraus.de/Main/Releases
---
 finance/kraft/Makefile                   | 11 +++++-----
 finance/kraft/distinfo                   |  6 +++---
 finance/kraft/files/patch-CMakeLists.txt | 36 --------------------------------
 finance/kraft/pkg-plist                  | 15 +++++++++++++
 4 files changed, 24 insertions(+), 44 deletions(-)

diff --git a/finance/kraft/Makefile b/finance/kraft/Makefile
index 49fb3e0987a3..f3270fad14a3 100644
--- a/finance/kraft/Makefile
+++ b/finance/kraft/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kraft
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1
+DISTVERSION=	1.2.1
 CATEGORIES=	finance kde
 
 MAINTAINER=	kde@FreeBSD.org
@@ -15,18 +15,19 @@ BUILD_DEPENDS=	bash:shells/bash \
 		rubygem-asciidoctor>=1.5.7<3:textproc/rubygem-asciidoctor
 LIB_DEPENDS=	libctemplate.so:textproc/google-ctemplate
 
-USES=		cmake compiler:c++11-lang grantlee:5 kde:5 qt:5 shebangfix
+USES=		cmake compiler:c++11-lang gettext grantlee:5 kde:5 qt:5 \
+		shebangfix
+USE_GITHUB=	yes
+GH_ACCOUNT=	dragotin
 USE_KDE=	akonadi akonadicontacts \
 		auth codecs config configwidgets contacts coreaddons \
 		grantleetheme i18n itemmodels widgetsaddons \
 		ecm:build
 USE_QT=		core dbus gui sql widgets xml \
 		buildtools:build qmake:build
-CFLAGS+=	-I${LOCALBASE}/include/KPim5
 
 SHEBANG_FILES=	manual/makeman.sh
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	dragotin
+CFLAGS+=	-I${LOCALBASE}/include/KPim5
 
 .include <bsd.port.mk>
diff --git a/finance/kraft/distinfo b/finance/kraft/distinfo
index 61b09653ae70..31c344b9ef3c 100644
--- a/finance/kraft/distinfo
+++ b/finance/kraft/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695065924
-SHA256 (dragotin-kraft-v1.1_GH0.tar.gz) = c0732dc8b91167427b2ef9bcd69a5cf99d0db4eb81bb8ee888d2bfa592a2893b
-SIZE (dragotin-kraft-v1.1_GH0.tar.gz) = 3702319
+TIMESTAMP = 1719019238
+SHA256 (dragotin-kraft-v1.2.1_GH0.tar.gz) = 26f8e3ff7d12c86846b6db49ce171af31115f66119f9a7cce13de15f1397dd64
+SIZE (dragotin-kraft-v1.2.1_GH0.tar.gz) = 6001325
diff --git a/finance/kraft/files/patch-CMakeLists.txt b/finance/kraft/files/patch-CMakeLists.txt
deleted file mode 100644
index 44235c09d9b4..000000000000
--- a/finance/kraft/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,36 +0,0 @@
---- CMakeLists.txt.orig	2023-09-18 20:06:55 UTC
-+++ CMakeLists.txt
-@@ -17,33 +17,6 @@ if (AKONADI_LEGACY_BUILD)
- endif()
- message("Akonadi Prefix is ${AKO_PREFIX}")
- 
--include(GetGitRevisionDescription)
--
--# set git revision info
--get_git_head_revision(GIT_REFSPEC GIT_SHA1)
--# if we cannot get it from git, directly try .tag (packages)
--# this will work if the tar balls have been properly created
--# via git-archive.
--if ("${GIT_SHA1}" STREQUAL "GITDIR-NOTFOUND")
--    file(READ ${CMAKE_SOURCE_DIR}/.tag sha1_candidate)
--    string(REPLACE "\n" "" sha1_candidate ${sha1_candidate})
--    if (NOT ${sha1_candidate} STREQUAL "$Format:%H$")
--        message("${sha1_candidate}")
--        set (GIT_SHA1 "${sha1_candidate}")
--    endif()
--endif()
--
--message(STATUS "Git dynamic information")
--message("GIT_SHA1: ${GIT_SHA1}")
--
--execute_process(
--  COMMAND git rev-parse --abbrev-ref HEAD
--  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
--  OUTPUT_VARIABLE GIT_BRANCH
--  OUTPUT_STRIP_TRAILING_WHITESPACE
--)
--message("GIT_BRANCH: ${GIT_BRANCH}")
--
- cmake_host_system_information(RESULT BUILD_HOST_NAME QUERY HOSTNAME)
- if(${CMAKE_VERSION} VERSION_GREATER "3.22.0")
-     cmake_host_system_information(RESULT BUILD_HOST_DISTRI QUERY DISTRIB_PRETTY_NAME)
diff --git a/finance/kraft/pkg-plist b/finance/kraft/pkg-plist
index 3aebca3fd2fe..ce6757005e9a 100644
--- a/finance/kraft/pkg-plist
+++ b/finance/kraft/pkg-plist
@@ -59,6 +59,7 @@ share/icons/hicolor/scalable/apps/kraft.svg
 %%DATADIR%%/dbmigrate/sqlite3/9_dbmigrate.sql
 %%DATADIR%%/importfilter/positions/standard_txt.ftr
 %%DATADIR%%/importfilter/positions/woerlein_txt.ftr
+%%DATADIR%%/manual/images/de/acceptance_o_o_context.png
 %%DATADIR%%/manual/images/de/catalog_material.png
 %%DATADIR%%/manual/images/de/catalog_standard.png
 %%DATADIR%%/manual/images/de/catalog_standard_fixed_cost.png
@@ -68,10 +69,12 @@ share/icons/hicolor/scalable/apps/kraft.svg
 %%DATADIR%%/manual/images/de/company_adress1.png
 %%DATADIR%%/manual/images/de/context1.png
 %%DATADIR%%/manual/images/de/context2.png
+%%DATADIR%%/manual/images/de/create_new_doc.png
 %%DATADIR%%/manual/images/de/documentype.png
 %%DATADIR%%/manual/images/de/followup_1.png
 %%DATADIR%%/manual/images/de/followup_2.png
 %%DATADIR%%/manual/images/de/numbercycles.png
+%%DATADIR%%/manual/images/de/pdfpostproc.png
 %%DATADIR%%/manual/images/de/taxes.png
 %%DATADIR%%/manual/images/de/unity.png
 %%DATADIR%%/manual/images/de/wages.png
@@ -87,15 +90,19 @@ share/icons/hicolor/scalable/apps/kraft.svg
 %%DATADIR%%/manual/images/en/context1.png
 %%DATADIR%%/manual/images/en/context2.png
 %%DATADIR%%/manual/images/en/create_new_doc.png
+%%DATADIR%%/manual/images/en/documenttype.png
 %%DATADIR%%/manual/images/en/documentype.png
 %%DATADIR%%/manual/images/en/followup_1.png
 %%DATADIR%%/manual/images/en/followup_2.png
 %%DATADIR%%/manual/images/en/kraft.adoc
+%%DATADIR%%/manual/images/en/number_cycle.png
 %%DATADIR%%/manual/images/en/numbercycles.png
 %%DATADIR%%/manual/images/en/pdfpostproc.png
 %%DATADIR%%/manual/images/en/taxes.png
+%%DATADIR%%/manual/images/en/units.png
 %%DATADIR%%/manual/images/en/unity.png
 %%DATADIR%%/manual/images/en/wages.png
+%%DATADIR%%/manual/images/nl/acceptance_o_o_context.png
 %%DATADIR%%/manual/images/nl/catalog_material.png
 %%DATADIR%%/manual/images/nl/catalog_standard.png
 %%DATADIR%%/manual/images/nl/catalog_standard_fixed_cost.png
@@ -105,11 +112,19 @@ share/icons/hicolor/scalable/apps/kraft.svg
 %%DATADIR%%/manual/images/nl/company_adress1.png
 %%DATADIR%%/manual/images/nl/context1.png
 %%DATADIR%%/manual/images/nl/context2.png
+%%DATADIR%%/manual/images/nl/context_1.png
+%%DATADIR%%/manual/images/nl/context_2.png
+%%DATADIR%%/manual/images/nl/context_3.png
+%%DATADIR%%/manual/images/nl/create_new_doc.png
+%%DATADIR%%/manual/images/nl/documenttype.png
 %%DATADIR%%/manual/images/nl/documentype.png
 %%DATADIR%%/manual/images/nl/followup_1.png
 %%DATADIR%%/manual/images/nl/followup_2.png
+%%DATADIR%%/manual/images/nl/number_cycle.png
 %%DATADIR%%/manual/images/nl/numbercycles.png
+%%DATADIR%%/manual/images/nl/pdfpostproc.png
 %%DATADIR%%/manual/images/nl/taxes.png
+%%DATADIR%%/manual/images/nl/units.png
 %%DATADIR%%/manual/images/nl/unity.png
 %%DATADIR%%/manual/images/nl/wages.png
 %%DATADIR%%/manual/kraft-de.html