From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71A5513835A for ; Mon, 28 Sep 2020 21:33:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 564B7E0814; Mon, 28 Sep 2020 21:33:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F34BE07F6 for ; Mon, 28 Sep 2020 21:33:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A930F340A5C for ; Mon, 28 Sep 2020 21:33:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1449B386 for ; Mon, 28 Sep 2020 21:33:27 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1601328503.a8794f72fc5e0108c0d076feb397b25c8c51bed9.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/kraft/files/, app-office/kraft/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/kraft/Manifest app-office/kraft/files/kraft-0.95-i18n-warning.patch app-office/kraft/kraft-0.95.ebuild X-VCS-Directories: app-office/kraft/ app-office/kraft/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: a8794f72fc5e0108c0d076feb397b25c8c51bed9 X-VCS-Branch: master Date: Mon, 28 Sep 2020 21:33:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ce856c76-3909-4765-879d-62778c8faa63 X-Archives-Hash: 88d83a292f5012a4759e24506d47281b commit: a8794f72fc5e0108c0d076feb397b25c8c51bed9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Sep 28 20:43:16 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Sep 28 21:28:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8794f72 app-office/kraft: 0.95 version bump Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> app-office/kraft/Manifest | 1 + .../kraft/files/kraft-0.95-i18n-warning.patch | 35 ++++++++++++++++ app-office/kraft/kraft-0.95.ebuild | 47 ++++++++++++++++++++++ 3 files changed, 83 insertions(+) diff --git a/app-office/kraft/Manifest b/app-office/kraft/Manifest index 4ef69315332..bb0f44b04f2 100644 --- a/app-office/kraft/Manifest +++ b/app-office/kraft/Manifest @@ -1 +1,2 @@ DIST kraft-0.90.tar.gz 705767 BLAKE2B 63f048be32e794e3c13d59ebbac90558e661eabe8b08270ea684adc338e2ae45b59cfbb3a746d1248ff8c0026308209f2821cac7c2feaf67af04903125be34c7 SHA512 1ca87a828e74b508b229787459f32e8ab5ad0ca4bf2630e236d65beaaa7503dc61af42d3b13106aeb6e43fcf3c419133958c5492a2c25c7233c9ac0205b3800c +DIST kraft-0.95.tar.gz 877790 BLAKE2B 4099845816191c5760f81a5512dc5d5afab1a76eb79c5d3fdead58d7a25342c4f461a6bf4d65313837d6bce32e80c1c8348f674b62358bb08cfdfd3ecf845bad SHA512 8070827a491b2a923b4608752ee2202377aeb2c472a3ee81feaad3b853d13bafe9f9c70719e1dfffeceb1492df80608327a56541453456be87a97bb3d5457f42 diff --git a/app-office/kraft/files/kraft-0.95-i18n-warning.patch b/app-office/kraft/files/kraft-0.95-i18n-warning.patch new file mode 100644 index 00000000000..2e189a233ca --- /dev/null +++ b/app-office/kraft/files/kraft-0.95-i18n-warning.patch @@ -0,0 +1,35 @@ +From 1e8f15a6c54c0c29cb463deacefd1fe8b32ad41d Mon Sep 17 00:00:00 2001 +From: Klaas Freitag +Date: Wed, 2 Sep 2020 18:32:14 +0200 +Subject: [PATCH] Fix call to i18n - same problem as before.... + +Fixes #85 +--- + src/prefsdialog.cpp | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/prefsdialog.cpp b/src/prefsdialog.cpp +index 13b4bcb..ddce27d 100644 +--- a/src/prefsdialog.cpp ++++ b/src/prefsdialog.cpp +@@ -335,15 +335,15 @@ QWidget* PrefsDialog::docTab() + const QDate d = QDate::currentDate(); + mCbDateFormats->setToolTip( i18n( "The default date format for documents." ) ); + QString formattedDate = d.toString(Qt::ISODate); +- mCbDateFormats->insertItem( 0, i18n("ISO-Format: %1").arg(formattedDate)); ++ mCbDateFormats->insertItem( 0, i18n("ISO-Format: %1", formattedDate)); + formattedDate = d.toString(Qt::DefaultLocaleShortDate); +- mCbDateFormats->insertItem( 1, i18n("Short-Date: %1").arg(formattedDate)); ++ mCbDateFormats->insertItem( 1, i18n("Short-Date: %1", formattedDate)); + formattedDate = d.toString(Qt::DefaultLocaleLongDate); +- mCbDateFormats->insertItem( 2, i18n("Long-Date: %1").arg(formattedDate)); ++ mCbDateFormats->insertItem( 2, i18n("Long-Date: %1", formattedDate)); + formattedDate = d.toString(Qt::RFC2822Date); +- mCbDateFormats->insertItem( 3, i18n("RFC 2822-Format: %1").arg(formattedDate)); ++ mCbDateFormats->insertItem( 3, i18n("RFC 2822-Format: %1", formattedDate)); + formattedDate = d.toString("dd.MM.yyyy"); +- mCbDateFormats->insertItem( 4, i18n("\"German Format\": %1").arg(formattedDate)); ++ mCbDateFormats->insertItem( 4, i18n("\"German Format\": %1", formattedDate)); + mCbDateFormats->insertItem( 5, i18n("Custom Setting in Settingsfile")); + vboxLay->addLayout( butLay ); + diff --git a/app-office/kraft/kraft-0.95.ebuild b/app-office/kraft/kraft-0.95.ebuild new file mode 100644 index 00000000000..c9690d97cef --- /dev/null +++ b/app-office/kraft/kraft-0.95.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit ecm + +DESCRIPTION="Software to manage quotes and invoices in small enterprises" +HOMEPAGE="https://www.volle-kraft-voraus.de/" +SRC_URI="https://github.com/dragotin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~x86" +IUSE="pim" + +DEPEND=" + dev-cpp/ctemplate + dev-libs/grantlee:5 + dev-qt/qtgui:5 + dev-qt/qtsql:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + kde-frameworks/kconfig:5 + kde-frameworks/kcontacts:5 + kde-frameworks/ki18n:5 + pim? ( + >=kde-apps/akonadi-19.04.3:5 + >=kde-apps/akonadi-contacts-19.04.3:5 + kde-frameworks/kcoreaddons:5 + ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS Changes.txt README.md Releasenotes.txt TODO ) + +PATCHES=( "${FILESDIR}/${P}-i18n-warning.patch" ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Asciidoctor=ON + $(cmake_use_find_package pim KF5Akonadi) + $(cmake_use_find_package pim KF5AkonadiContact) + ) + + ecm_src_configure +}