1 |
commit: a8794f72fc5e0108c0d076feb397b25c8c51bed9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 28 20:43:16 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 28 21:28:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8794f72 |
7 |
|
8 |
app-office/kraft: 0.95 version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-office/kraft/Manifest | 1 + |
14 |
.../kraft/files/kraft-0.95-i18n-warning.patch | 35 ++++++++++++++++ |
15 |
app-office/kraft/kraft-0.95.ebuild | 47 ++++++++++++++++++++++ |
16 |
3 files changed, 83 insertions(+) |
17 |
|
18 |
diff --git a/app-office/kraft/Manifest b/app-office/kraft/Manifest |
19 |
index 4ef69315332..bb0f44b04f2 100644 |
20 |
--- a/app-office/kraft/Manifest |
21 |
+++ b/app-office/kraft/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST kraft-0.90.tar.gz 705767 BLAKE2B 63f048be32e794e3c13d59ebbac90558e661eabe8b08270ea684adc338e2ae45b59cfbb3a746d1248ff8c0026308209f2821cac7c2feaf67af04903125be34c7 SHA512 1ca87a828e74b508b229787459f32e8ab5ad0ca4bf2630e236d65beaaa7503dc61af42d3b13106aeb6e43fcf3c419133958c5492a2c25c7233c9ac0205b3800c |
24 |
+DIST kraft-0.95.tar.gz 877790 BLAKE2B 4099845816191c5760f81a5512dc5d5afab1a76eb79c5d3fdead58d7a25342c4f461a6bf4d65313837d6bce32e80c1c8348f674b62358bb08cfdfd3ecf845bad SHA512 8070827a491b2a923b4608752ee2202377aeb2c472a3ee81feaad3b853d13bafe9f9c70719e1dfffeceb1492df80608327a56541453456be87a97bb3d5457f42 |
25 |
|
26 |
diff --git a/app-office/kraft/files/kraft-0.95-i18n-warning.patch b/app-office/kraft/files/kraft-0.95-i18n-warning.patch |
27 |
new file mode 100644 |
28 |
index 00000000000..2e189a233ca |
29 |
--- /dev/null |
30 |
+++ b/app-office/kraft/files/kraft-0.95-i18n-warning.patch |
31 |
@@ -0,0 +1,35 @@ |
32 |
+From 1e8f15a6c54c0c29cb463deacefd1fe8b32ad41d Mon Sep 17 00:00:00 2001 |
33 |
+From: Klaas Freitag <kraft@×××××××××.de> |
34 |
+Date: Wed, 2 Sep 2020 18:32:14 +0200 |
35 |
+Subject: [PATCH] Fix call to i18n - same problem as before.... |
36 |
+ |
37 |
+Fixes #85 |
38 |
+--- |
39 |
+ src/prefsdialog.cpp | 10 +++++----- |
40 |
+ 1 file changed, 5 insertions(+), 5 deletions(-) |
41 |
+ |
42 |
+diff --git a/src/prefsdialog.cpp b/src/prefsdialog.cpp |
43 |
+index 13b4bcb..ddce27d 100644 |
44 |
+--- a/src/prefsdialog.cpp |
45 |
++++ b/src/prefsdialog.cpp |
46 |
+@@ -335,15 +335,15 @@ QWidget* PrefsDialog::docTab() |
47 |
+ const QDate d = QDate::currentDate(); |
48 |
+ mCbDateFormats->setToolTip( i18n( "The default date format for documents." ) ); |
49 |
+ QString formattedDate = d.toString(Qt::ISODate); |
50 |
+- mCbDateFormats->insertItem( 0, i18n("ISO-Format: %1").arg(formattedDate)); |
51 |
++ mCbDateFormats->insertItem( 0, i18n("ISO-Format: %1", formattedDate)); |
52 |
+ formattedDate = d.toString(Qt::DefaultLocaleShortDate); |
53 |
+- mCbDateFormats->insertItem( 1, i18n("Short-Date: %1").arg(formattedDate)); |
54 |
++ mCbDateFormats->insertItem( 1, i18n("Short-Date: %1", formattedDate)); |
55 |
+ formattedDate = d.toString(Qt::DefaultLocaleLongDate); |
56 |
+- mCbDateFormats->insertItem( 2, i18n("Long-Date: %1").arg(formattedDate)); |
57 |
++ mCbDateFormats->insertItem( 2, i18n("Long-Date: %1", formattedDate)); |
58 |
+ formattedDate = d.toString(Qt::RFC2822Date); |
59 |
+- mCbDateFormats->insertItem( 3, i18n("RFC 2822-Format: %1").arg(formattedDate)); |
60 |
++ mCbDateFormats->insertItem( 3, i18n("RFC 2822-Format: %1", formattedDate)); |
61 |
+ formattedDate = d.toString("dd.MM.yyyy"); |
62 |
+- mCbDateFormats->insertItem( 4, i18n("\"German Format\": %1").arg(formattedDate)); |
63 |
++ mCbDateFormats->insertItem( 4, i18n("\"German Format\": %1", formattedDate)); |
64 |
+ mCbDateFormats->insertItem( 5, i18n("Custom Setting in Settingsfile")); |
65 |
+ vboxLay->addLayout( butLay ); |
66 |
+ |
67 |
|
68 |
diff --git a/app-office/kraft/kraft-0.95.ebuild b/app-office/kraft/kraft-0.95.ebuild |
69 |
new file mode 100644 |
70 |
index 00000000000..c9690d97cef |
71 |
--- /dev/null |
72 |
+++ b/app-office/kraft/kraft-0.95.ebuild |
73 |
@@ -0,0 +1,47 @@ |
74 |
+# Copyright 1999-2020 Gentoo Authors |
75 |
+# Distributed under the terms of the GNU General Public License v2 |
76 |
+ |
77 |
+EAPI=7 |
78 |
+ |
79 |
+inherit ecm |
80 |
+ |
81 |
+DESCRIPTION="Software to manage quotes and invoices in small enterprises" |
82 |
+HOMEPAGE="https://www.volle-kraft-voraus.de/" |
83 |
+SRC_URI="https://github.com/dragotin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
84 |
+ |
85 |
+LICENSE="GPL-2+ LGPL-2+" |
86 |
+SLOT="5" |
87 |
+KEYWORDS="~amd64 ~x86" |
88 |
+IUSE="pim" |
89 |
+ |
90 |
+DEPEND=" |
91 |
+ dev-cpp/ctemplate |
92 |
+ dev-libs/grantlee:5 |
93 |
+ dev-qt/qtgui:5 |
94 |
+ dev-qt/qtsql:5 |
95 |
+ dev-qt/qtwidgets:5 |
96 |
+ dev-qt/qtxml:5 |
97 |
+ kde-frameworks/kconfig:5 |
98 |
+ kde-frameworks/kcontacts:5 |
99 |
+ kde-frameworks/ki18n:5 |
100 |
+ pim? ( |
101 |
+ >=kde-apps/akonadi-19.04.3:5 |
102 |
+ >=kde-apps/akonadi-contacts-19.04.3:5 |
103 |
+ kde-frameworks/kcoreaddons:5 |
104 |
+ ) |
105 |
+" |
106 |
+RDEPEND="${DEPEND}" |
107 |
+ |
108 |
+DOCS=( AUTHORS Changes.txt README.md Releasenotes.txt TODO ) |
109 |
+ |
110 |
+PATCHES=( "${FILESDIR}/${P}-i18n-warning.patch" ) |
111 |
+ |
112 |
+src_configure() { |
113 |
+ local mycmakeargs=( |
114 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Asciidoctor=ON |
115 |
+ $(cmake_use_find_package pim KF5Akonadi) |
116 |
+ $(cmake_use_find_package pim KF5AkonadiContact) |
117 |
+ ) |
118 |
+ |
119 |
+ ecm_src_configure |
120 |
+} |