Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/kup/, app-backup/kup/files/, profiles/
Date: Sat, 23 May 2020 09:53:53
Message-Id: 1590227611.409d596d048a300233d0e439007f343b805c86ad.mgorny@gentoo
1 commit: 409d596d048a300233d0e439007f343b805c86ad
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 23 09:52:29 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 23 09:53:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=409d596d
7
8 app-backup/kup: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/713366
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 app-backup/kup/Manifest | 1 -
14 app-backup/kup/files/kup-0.7.3-libgit2.patch | 140 ---------------------------
15 app-backup/kup/kup-0.7.3.ebuild | 57 -----------
16 app-backup/kup/metadata.xml | 8 --
17 profiles/package.mask | 1 -
18 5 files changed, 207 deletions(-)
19
20 diff --git a/app-backup/kup/Manifest b/app-backup/kup/Manifest
21 deleted file mode 100644
22 index 8b2e2f05fe3..00000000000
23 --- a/app-backup/kup/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST kup-0.7.3.tar.gz 1024916 BLAKE2B aab2a1c58bc7feb6cc734a61385841b9c9b47995ba0c7e66b0596ddd7ae77b2a2b750f23f452e591c609f4a59a894815f8cfcb82c8bc266769b6e908463c009c SHA512 62609eb3c9a873045a9f02d22be5413f73f909e77d82f287ff5b2f816d2d6930a8d8ca77537a52189a98fe11441eb10f5530dfdab02ed0c09b53a2c4b5b4be80
27
28 diff --git a/app-backup/kup/files/kup-0.7.3-libgit2.patch b/app-backup/kup/files/kup-0.7.3-libgit2.patch
29 deleted file mode 100644
30 index a6b1c536afc..00000000000
31 --- a/app-backup/kup/files/kup-0.7.3-libgit2.patch
32 +++ /dev/null
33 @@ -1,140 +0,0 @@
34 -From 2ca19e917f895e24a5379be669b9ad77ff5692f5 Mon Sep 17 00:00:00 2001
35 -From: Simon Persson <simon.persson@×××××××.com>
36 -Date: Mon, 16 Mar 2020 17:03:33 +0800
37 -Subject: Remove copy of libgit2
38 -
39 -API seems to have stabilized a lot, such that different distros can be
40 -expected to have a compatible version.
41 ----
42 - CMakeLists.txt | 13 +-
43 - filedigger/CMakeLists.txt | 2 +-
44 - filedigger/main.cpp | 12 -
45 - kioslave/CMakeLists.txt | 2 +-
46 - kioslave/bupslave.cpp | 8 -
47 -
48 -From ee720980113162c019eecabc01dfa5763cfb7585 Mon Sep 17 00:00:00 2001
49 -From: Adriaan de Groot <groot@×××.org>
50 -Date: Mon, 6 Apr 2020 23:06:53 +0200
51 -Subject: Link to libgit2 via imported target
52 -
53 ----
54 - filedigger/CMakeLists.txt | 2 +-
55 - kioslave/CMakeLists.txt | 2 +-
56 - 2 files changed, 2 insertions(+), 2 deletions(-)
57 -
58 -diff --git a/CMakeLists.txt b/CMakeLists.txt
59 -index 2118193..76a1367 100644
60 ---- a/CMakeLists.txt
61 -+++ b/CMakeLists.txt
62 -@@ -6,18 +6,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
63 -
64 - project(kup)
65 -
66 --# Use this option if you want to use the system LibGit2 library.
67 --# This is not recommended unless you know what you are doing.
68 --option(USE_SYSTEM_LIBGIT2 "Don't set this option unless your are sure that your system version of LibGit2 library is fully compatible with Kup." OFF)
69 --if (USE_SYSTEM_LIBGIT2)
70 -- find_package(LibGit2 REQUIRED)
71 -- set(libgit_link_name git2)
72 --else (USE_SYSTEM_LIBGIT2)
73 -- set(BUILD_SHARED_LIBS ON)
74 -- add_subdirectory(libgit2-0.19.0)
75 -- include_directories(${CMAKE_SOURCE_DIR}/libgit2-0.19.0/include)
76 -- set(libgit_link_name git24kup)
77 --endif (USE_SYSTEM_LIBGIT2)
78 -+find_package(LibGit2 REQUIRED)
79 -
80 - if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug" OR "${CMAKE_BUILD_TYPE}" STREQUAL "DebugFull")
81 - message(WARNING "enabling debug output!")
82 -diff --git a/filedigger/CMakeLists.txt b/filedigger/CMakeLists.txt
83 -index 2fcdd82..fd6a3a0 100644
84 ---- a/filedigger/CMakeLists.txt
85 -+++ b/filedigger/CMakeLists.txt
86 -@@ -37,7 +37,7 @@ KF5::I18n
87 - KF5::I18n
88 - KF5::IconThemes
89 - KF5::JobWidgets
90 --${libgit_link_name}
91 -+LibGit2::LibGit2
92 - )
93 -
94 - ########### install files ###############
95 -diff --git a/filedigger/main.cpp b/filedigger/main.cpp
96 -index 6682985..43fe9ae 100644
97 ---- a/filedigger/main.cpp
98 -+++ b/filedigger/main.cpp
99 -@@ -21,11 +21,7 @@
100 - #include "filedigger.h"
101 - #include "mergedvfs.h"
102 -
103 --#if LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 24
104 - #include <git2/global.h>
105 --#else
106 --#include <git2/threads.h>
107 --#endif
108 -
109 - #include <KAboutData>
110 - #include <KLocalizedString>
111 -@@ -66,19 +62,11 @@ int main(int pArgCount, char **pArgArray) {
112 - }
113 -
114 - // This needs to be called first thing, before any other calls to libgit2.
115 -- #if LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 24
116 - git_libgit2_init();
117 -- #else
118 -- git_threads_init();
119 -- #endif
120 -
121 - FileDigger *lFileDigger = new FileDigger(lRepoPath, lParser.value(QStringLiteral("branch")));
122 - lFileDigger->show();
123 - int lRetVal = lApp.exec();
124 -- #if LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 24
125 - git_libgit2_shutdown();
126 -- #else
127 -- git_threads_shutdown();
128 -- #endif
129 - return lRetVal;
130 - }
131 -diff --git a/kioslave/CMakeLists.txt b/kioslave/CMakeLists.txt
132 -index 7187f33..83e6122 100644
133 ---- a/kioslave/CMakeLists.txt
134 -+++ b/kioslave/CMakeLists.txt
135 -@@ -17,7 +17,7 @@ target_link_libraries(kio_bup
136 - Qt5::Core
137 - KF5::KIOCore
138 - KF5::I18n
139 --${libgit_link_name}
140 -+LibGit2::LibGit2
141 - )
142 -
143 - install(TARGETS kio_bup DESTINATION ${PLUGIN_INSTALL_DIR})
144 -diff --git a/kioslave/bupslave.cpp b/kioslave/bupslave.cpp
145 -index 1a7e1a3..0812658 100644
146 ---- a/kioslave/bupslave.cpp
147 -+++ b/kioslave/bupslave.cpp
148 -@@ -64,22 +64,14 @@ BupSlave::BupSlave(const QByteArray &pPoolSocket, const QByteArray &pAppSocket)
149 - {
150 - mRepository = nullptr;
151 - mOpenFile = nullptr;
152 -- #if LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 24
153 - git_libgit2_init();
154 -- #else
155 -- git_threads_init();
156 -- #endif
157 - }
158 -
159 - BupSlave::~BupSlave() {
160 - if(mRepository != nullptr) {
161 - delete mRepository;
162 - }
163 -- #if LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 24
164 - git_libgit2_shutdown();
165 -- #else
166 -- git_threads_shutdown();
167 -- #endif
168 - }
169 -
170 - void BupSlave::close() {
171 ---
172 -cgit v1.1
173 -
174
175 diff --git a/app-backup/kup/kup-0.7.3.ebuild b/app-backup/kup/kup-0.7.3.ebuild
176 deleted file mode 100644
177 index 8af41a81c73..00000000000
178 --- a/app-backup/kup/kup-0.7.3.ebuild
179 +++ /dev/null
180 @@ -1,57 +0,0 @@
181 -# Copyright 1999-2020 Gentoo Authors
182 -# Distributed under the terms of the GNU General Public License v2
183 -
184 -EAPI=7
185 -
186 -ECM_HANDBOOK="forceoptional"
187 -KFMIN=5.60.0
188 -QTMIN=5.12.3
189 -inherit ecm kde.org
190 -
191 -DESCRIPTION="Backup scheduler for KDE's Plasma desktop"
192 -HOMEPAGE="https://www.linux-apps.com/p/1127689"
193 -SRC_URI="https://github.com/spersson/${PN^}/archive/${P}.tar.gz"
194 -
195 -LICENSE="GPL-2"
196 -SLOT="5"
197 -KEYWORDS="~amd64"
198 -IUSE=""
199 -
200 -DEPEND="
201 - dev-libs/libgit2:=
202 - >=dev-qt/qtdbus-${QTMIN}:5
203 - >=dev-qt/qtgui-${QTMIN}:5
204 - >=dev-qt/qtnetwork-${QTMIN}:5
205 - >=dev-qt/qtwidgets-${QTMIN}:5
206 - >=kde-frameworks/kcompletion-${KFMIN}:5
207 - >=kde-frameworks/kconfig-${KFMIN}:5
208 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5
209 - >=kde-frameworks/kcoreaddons-${KFMIN}:5
210 - >=kde-frameworks/kdbusaddons-${KFMIN}:5
211 - >=kde-frameworks/ki18n-${KFMIN}:5
212 - >=kde-frameworks/kiconthemes-${KFMIN}:5
213 - >=kde-frameworks/kidletime-${KFMIN}:5
214 - >=kde-frameworks/kinit-${KFMIN}:5
215 - >=kde-frameworks/kio-${KFMIN}:5
216 - >=kde-frameworks/kjobwidgets-${KFMIN}:5
217 - >=kde-frameworks/knotifications-${KFMIN}:5
218 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
219 - >=kde-frameworks/kxmlgui-${KFMIN}:5
220 - >=kde-frameworks/plasma-${KFMIN}:5
221 - >=kde-frameworks/solid-${KFMIN}:5
222 -"
223 -RDEPEND="${DEPEND}
224 - app-backup/bup
225 - >=dev-qt/qtdeclarative-${QTMIN}:5
226 - >=dev-qt/qtsvg-${QTMIN}:5
227 - net-misc/rsync
228 -"
229 -
230 -S="${WORKDIR}/${PN^}-${P}"
231 -
232 -PATCHES=( "${FILESDIR}/${P}-libgit2.patch" )
233 -
234 -src_prepare() {
235 - ecm_src_prepare
236 - rm -r libgit2-0.19.0 || die "Failed to remove bundled libgit2-0.19.0"
237 -}
238
239 diff --git a/app-backup/kup/metadata.xml b/app-backup/kup/metadata.xml
240 deleted file mode 100644
241 index 2fdbf33d963..00000000000
242 --- a/app-backup/kup/metadata.xml
243 +++ /dev/null
244 @@ -1,8 +0,0 @@
245 -<?xml version="1.0" encoding="UTF-8"?>
246 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
247 -<pkgmetadata>
248 - <maintainer type="project">
249 - <email>kde@g.o</email>
250 - <name>Gentoo KDE Project</name>
251 - </maintainer>
252 -</pkgmetadata>
253
254 diff --git a/profiles/package.mask b/profiles/package.mask
255 index 78197e9bcfb..311af14d3cd 100644
256 --- a/profiles/package.mask
257 +++ b/profiles/package.mask
258 @@ -421,7 +421,6 @@ dev-python/PyDbLite
259 # Unmaintained. Stuck on Python 2.
260 # Removal in 30 days. Bug #713366.
261 app-backup/bup
262 -app-backup/kup
263
264 # Michał Górny <mgorny@g.o> (2020-04-22)
265 # Effectively unmaintained and stuck on Python 3.6.