* [gentoo-commits] repo/gentoo:master commit in: kde-apps/lokalize/files/, kde-apps/lokalize/
@ 2016-12-30 1:21 Andreas Sturmlechner
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2016-12-30 1:21 UTC (permalink / raw
To: gentoo-commits
commit: a72cbf07ef19a027c6e62b86a8cff3adfa52be13
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 01:18:36 2016 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 01:18:36 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a72cbf07
kde-apps/lokalize: Fix configure w/ hunspell-1.6
Gentoo-bug: 603538
Package-Manager: portage-2.3.0
.../files/lokalize-16.12.0-hunspell-1.6.patch | 26 ++++++++++++++++++++++
kde-apps/lokalize/lokalize-16.12.0.ebuild | 2 ++
2 files changed, 28 insertions(+)
diff --git a/kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch b/kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch
new file mode 100644
index 00000000..064a526
--- /dev/null
+++ b/kde-apps/lokalize/files/lokalize-16.12.0-hunspell-1.6.patch
@@ -0,0 +1,26 @@
+From f9fed4dea08f99432111cb3ed89b1783ba2bc64b Mon Sep 17 00:00:00 2001
+From: Nick Shaforostoff <shafff@ukr.net>
+Date: Mon, 21 Nov 2016 13:09:21 +0200
+Subject: BUG: 363278
+
+improve cmake hunspell search
+---
+ cmake/FindHUNSPELL.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/FindHUNSPELL.cmake b/cmake/FindHUNSPELL.cmake
+index eca3cc1..ae8e564 100644
+--- a/cmake/FindHUNSPELL.cmake
++++ b/cmake/FindHUNSPELL.cmake
+@@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL_LIBRARIES)
+
+ FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
+
+-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4.1 hunspell-1.4 hunspell-1.3 hunspell-1.2 hunspell)
+
+ # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
+ # all listed variables are TRUE
+--
+cgit v0.11.2
+
diff --git a/kde-apps/lokalize/lokalize-16.12.0.ebuild b/kde-apps/lokalize/lokalize-16.12.0.ebuild
index 114af6a..da04c1b 100644
--- a/kde-apps/lokalize/lokalize-16.12.0.ebuild
+++ b/kde-apps/lokalize/lokalize-16.12.0.ebuild
@@ -45,6 +45,8 @@ RDEPEND="${DEPEND}
dev-python/translate-toolkit[${PYTHON_USEDEP}]
"
+PATCHES=( "${FILESDIR}/${P}"-hunspell-1.6.patch )
+
pkg_setup() {
python-single-r1_pkg_setup
kde5_pkg_setup
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-apps/lokalize/files/, kde-apps/lokalize/
@ 2021-07-17 0:07 Andreas Sturmlechner
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2021-07-17 0:07 UTC (permalink / raw
To: gentoo-commits
commit: ba793210ff7ee6474ac33d823fc195bb6162a942
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 16 23:04:40 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul 17 00:06:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba793210
kde-apps/lokalize: Drop unused DEPEND
Upstream commit 07fa320da849f9f283ffd707d684e29f1d807405
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/lokalize-21.04.3-unused-dep.patch | 25 ++++++++
kde-apps/lokalize/lokalize-21.04.3-r1.ebuild | 73 ++++++++++++++++++++++
2 files changed, 98 insertions(+)
diff --git a/kde-apps/lokalize/files/lokalize-21.04.3-unused-dep.patch b/kde-apps/lokalize/files/lokalize-21.04.3-unused-dep.patch
new file mode 100644
index 00000000000..efb230d3a65
--- /dev/null
+++ b/kde-apps/lokalize/files/lokalize-21.04.3-unused-dep.patch
@@ -0,0 +1,25 @@
+From 07fa320da849f9f283ffd707d684e29f1d807405 Mon Sep 17 00:00:00 2001
+From: Alexander Lohnau <alexander.lohnau@gmx.de>
+Date: Sun, 6 Jun 2021 22:29:57 +0200
+Subject: [PATCH] Remove unneeded Qt5::Script find_package call
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1e95619..10bfd6d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -21,7 +21,7 @@ include(KDECompilerSettings NO_POLICY_SCOPE)
+ include(ECMAddAppIcon)
+ include(ECMQtDeclareLoggingCategory)
+
+-find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core DBus Widgets Script Sql)
++find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core DBus Widgets Sql)
+
+ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED I18n KIO XmlGui Notifications Config CoreAddons DocTools Kross Sonnet DBusAddons Crash)
+
+--
+GitLab
+
diff --git a/kde-apps/lokalize/lokalize-21.04.3-r1.ebuild b/kde-apps/lokalize/lokalize-21.04.3-r1.ebuild
new file mode 100644
index 00000000000..a93b5b86e59
--- /dev/null
+++ b/kde-apps/lokalize/lokalize-21.04.3-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python3_{8,9} )
+KFMIN=5.80.0
+QTMIN=5.15.2
+inherit python-single-r1 ecm kde.org optfeature
+
+DESCRIPTION="Localization tool for KDE software and other free and open source software"
+HOMEPAGE="https://apps.kde.org/lokalize/ https://l10n.kde.org/tools/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RESTRICT+=" test" # tests are broken, bug 739734
+
+DEPEND="${PYTHON_DEPS}
+ >=app-text/hunspell-1.2.8:=
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5[sqlite]
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kross-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/sonnet-${KFMIN}:5
+"
+RDEPEND="${DEPEND}
+ $(python_gen_cond_dep '
+ dev-python/translate-toolkit[${PYTHON_MULTI_USEDEP}]
+ ')
+"
+
+PATCHES=( "${FILESDIR}/${P}-unused-dep.patch" )
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ecm_pkg_setup
+}
+
+src_install() {
+ ecm_src_install
+ rm "${ED}"/usr/share/lokalize/scripts/msgmerge.{py,rc} || die
+ python_fix_shebang "${ED}"/usr/share/${PN}
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "autofetch kde.org translations in new project wizard" dev-vcs/subversion
+ optfeature "spell and grammar checking" app-text/languagetool
+ fi
+ ecm_pkg_postinst
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-17 0:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-30 1:21 [gentoo-commits] repo/gentoo:master commit in: kde-apps/lokalize/files/, kde-apps/lokalize/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2021-07-17 0:07 Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox