Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: app-office/libalkimia/files/, app-office/libalkimia/
Date: Sat, 07 Sep 2019 13:06:44
Message-Id: 1567802312.fca36a2ec39f55a37e8d3cf66af6fabc22bd7f84.asturm@gentoo
1 commit: fca36a2ec39f55a37e8d3cf66af6fabc22bd7f84
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 6 20:38:32 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 6 20:38:32 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=fca36a2e
7
8 app-office/libalkimia: 8.0.2 version bump
9
10 Package-Manager: Portage-2.3.75, Repoman-2.3.17
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 ...libalkimia-8.0.1-limit-knewstuff-profiles.patch | 37 -------------
14 .../files/libalkimia-8.0.1-plasma-optional.patch | 60 ----------------------
15 ...lkimia-8.0.1.ebuild => libalkimia-8.0.2.ebuild} | 6 +--
16 3 files changed, 1 insertion(+), 102 deletions(-)
17
18 diff --git a/app-office/libalkimia/files/libalkimia-8.0.1-limit-knewstuff-profiles.patch b/app-office/libalkimia/files/libalkimia-8.0.1-limit-knewstuff-profiles.patch
19 deleted file mode 100644
20 index b1cbc52542..0000000000
21 --- a/app-office/libalkimia/files/libalkimia-8.0.1-limit-knewstuff-profiles.patch
22 +++ /dev/null
23 @@ -1,37 +0,0 @@
24 -From 2e1ed56acd4d70b2d7ec99a6605068891d1857ef Mon Sep 17 00:00:00 2001
25 -From: Ralf Habacker <ralf.habacker@×××××××.de>
26 -Date: Sat, 27 Apr 2019 19:28:28 +0200
27 -Subject: Limit profiles selectable in the online quotes editor to the recent
28 - KDE major version
29 -
30 -Due to a restriction within the knewstuff library it is currently
31 -not possible to access the installation status of GHNS quotes of
32 -the other KDE version.
33 ----
34 - tools/onlinequoteseditor/mainwindow.cpp | 7 +++++--
35 - 1 file changed, 5 insertions(+), 2 deletions(-)
36 -
37 -diff --git a/tools/onlinequoteseditor/mainwindow.cpp b/tools/onlinequoteseditor/mainwindow.cpp
38 -index 7571531..bb5bc0f 100644
39 ---- a/tools/onlinequoteseditor/mainwindow.cpp
40 -+++ b/tools/onlinequoteseditor/mainwindow.cpp
41 -@@ -75,12 +75,15 @@ MainWindow::MainWindow(QWidget *parent)
42 - manager.setWebPageEnabled(true);
43 -
44 - manager.addProfile(new AlkOnlineQuotesProfile("no-config-file", AlkOnlineQuotesProfile::Type::None));
45 -+#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
46 - manager.addProfile(new AlkOnlineQuotesProfile("alkimia4", AlkOnlineQuotesProfile::Type::Alkimia4, "alkimia-quotes.knsrc"));
47 -- manager.addProfile(new AlkOnlineQuotesProfile("alkimia5", AlkOnlineQuotesProfile::Type::Alkimia5, "alkimia-quotes.knsrc"));
48 - manager.addProfile(new AlkOnlineQuotesProfile("skrooge4", AlkOnlineQuotesProfile::Type::Skrooge4, "skrooge-quotes.knsrc"));
49 -- manager.addProfile(new AlkOnlineQuotesProfile("skrooge5", AlkOnlineQuotesProfile::Type::Skrooge5, "skrooge-quotes.knsrc"));
50 - manager.addProfile(new AlkOnlineQuotesProfile("kmymoney4", AlkOnlineQuotesProfile::Type::KMyMoney4, "kmymoney-quotes.knsrc"));
51 -+#else
52 -+ manager.addProfile(new AlkOnlineQuotesProfile("alkimia5", AlkOnlineQuotesProfile::Type::Alkimia5, "alkimia-quotes.knsrc"));
53 -+ manager.addProfile(new AlkOnlineQuotesProfile("skrooge5", AlkOnlineQuotesProfile::Type::Skrooge5, "skrooge-quotes.knsrc"));
54 - manager.addProfile(new AlkOnlineQuotesProfile("kmymoney5", AlkOnlineQuotesProfile::Type::KMyMoney5, "kmymoney-quotes.knsrc"));
55 -+#endif
56 - d->ui.setupUi(this);
57 -
58 - d->quotesWidget = new AlkOnlineQuotesWidget(true, true);
59 ---
60 -cgit v1.1
61
62 diff --git a/app-office/libalkimia/files/libalkimia-8.0.1-plasma-optional.patch b/app-office/libalkimia/files/libalkimia-8.0.1-plasma-optional.patch
63 deleted file mode 100644
64 index 3b7c1ae221..0000000000
65 --- a/app-office/libalkimia/files/libalkimia-8.0.1-plasma-optional.patch
66 +++ /dev/null
67 @@ -1,60 +0,0 @@
68 -From 420756a78f783099ddd77b0966d593491d64a767 Mon Sep 17 00:00:00 2001
69 -From: Ralf Habacker <ralf.habacker@×××××××.de>
70 -Date: Wed, 24 Apr 2019 14:05:27 +0200
71 -Subject: Make building plasma applets optional
72 -
73 ----
74 - CMakeLists.txt | 16 +++++++++++-----
75 - 1 file changed, 11 insertions(+), 5 deletions(-)
76 -
77 -diff --git a/CMakeLists.txt b/CMakeLists.txt
78 -index 2c7833b..8e830ae 100644
79 ---- a/CMakeLists.txt
80 -+++ b/CMakeLists.txt
81 -@@ -8,6 +8,7 @@ project(alkimia VERSION 8.0.0)
82 -
83 - option(BUILD_QT4 "Build for Qt4" OFF)
84 - option(BUILD_DOXYGEN_DOCS "Build api docs" ON)
85 -+option(BUILD_APPLETS "Build plasma applets" ON)
86 -
87 - find_package(ECM 0.0.11 REQUIRED NO_MODULE)
88 -
89 -@@ -70,6 +71,9 @@ else()
90 - WebKitWidgets
91 - Qml
92 - )
93 -+ if(BUILD_APPLETS)
94 -+ set(PLASMA_COMPONENT Package Plasma)
95 -+ endif()
96 - # search packages used by KDE
97 - find_package(KF5 REQUIRED COMPONENTS
98 - Config
99 -@@ -77,8 +81,7 @@ else()
100 - KDELibs4Support
101 - #I18n
102 - #WebKit
103 -- Package
104 -- Plasma
105 -+ ${PLASMA_COMPONENT}
106 - NewStuff
107 - )
108 -
109 -@@ -143,10 +146,12 @@ include_directories(
110 - add_subdirectory(src)
111 - add_subdirectory(autotests)
112 - add_subdirectory(qml)
113 --if(BUILD_QT4)
114 -- add_subdirectory(plasma/applets/onlinequote)
115 --else()
116 -- add_subdirectory(plasma/applets/ForeignCurrencies)
117 -+if(BUILD_APPLETS)
118 -+ if(BUILD_QT4)
119 -+ add_subdirectory(plasma/applets/onlinequote)
120 -+ else()
121 -+ add_subdirectory(plasma/applets/ForeignCurrencies)
122 -+ endif()
123 - endif()
124 - add_subdirectory(tests)
125 - add_subdirectory(tools)
126 ---
127 -cgit v1.1
128
129 diff --git a/app-office/libalkimia/libalkimia-8.0.1.ebuild b/app-office/libalkimia/libalkimia-8.0.2.ebuild
130 similarity index 91%
131 rename from app-office/libalkimia/libalkimia-8.0.1.ebuild
132 rename to app-office/libalkimia/libalkimia-8.0.2.ebuild
133 index 368281c787..c070d6c533 100644
134 --- a/app-office/libalkimia/libalkimia-8.0.1.ebuild
135 +++ b/app-office/libalkimia/libalkimia-8.0.2.ebuild
136 @@ -48,11 +48,7 @@ DEPEND="
137 "
138 RDEPEND="${DEPEND}"
139
140 -PATCHES=(
141 - "${FILESDIR}/${P}-cmake.patch"
142 - "${FILESDIR}/${P}-plasma-optional.patch"
143 - "${FILESDIR}/${P}-limit-knewstuff-profiles.patch"
144 -)
145 +PATCHES=( "${FILESDIR}/${PN}-8.0.1-cmake.patch" )
146
147 src_configure() {
148 local mycmakeargs=(