1 |
commit: ff37c2c1cbd5798ee4c5306429d8b0977b6cc64b |
2 |
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
3 |
AuthorDate: Sun Oct 4 18:34:12 2020 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Oct 5 20:21:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ff37c2c1 |
7 |
|
8 |
net-misc/cernbox-client: Bump to version 2.6.3.14058. |
9 |
|
10 |
This commit also drops the old version in one commit, |
11 |
since it was broken in any case (fetching failed). |
12 |
|
13 |
It also adds myself as maintainer. |
14 |
|
15 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
16 |
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com> |
17 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
18 |
|
19 |
....2.ebuild => cernbox-client-2.6.3.14058.ebuild} | 75 +++++++++++----------- |
20 |
.../files/owncloud-client-2.6.3.14058-qt515.patch | 11 ++++ |
21 |
net-misc/cernbox-client/metadata.xml | 21 +++--- |
22 |
3 files changed, 59 insertions(+), 48 deletions(-) |
23 |
|
24 |
diff --git a/net-misc/cernbox-client/cernbox-client-2.3.2.ebuild b/net-misc/cernbox-client/cernbox-client-2.6.3.14058.ebuild |
25 |
similarity index 51% |
26 |
rename from net-misc/cernbox-client/cernbox-client-2.3.2.ebuild |
27 |
rename to net-misc/cernbox-client/cernbox-client-2.6.3.14058.ebuild |
28 |
index 9513b064b..5cb28eec0 100644 |
29 |
--- a/net-misc/cernbox-client/cernbox-client-2.3.2.ebuild |
30 |
+++ b/net-misc/cernbox-client/cernbox-client-2.6.3.14058.ebuild |
31 |
@@ -1,55 +1,50 @@ |
32 |
-# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
# Distributed under the terms of the GNU General Public License v2 |
35 |
|
36 |
-EAPI=6 |
37 |
+EAPI=7 |
38 |
|
39 |
-inherit cmake-utils rpm |
40 |
+inherit cmake rpm xdg |
41 |
+ |
42 |
+DESCRIPTION="Synchronize files from CERNBox EOS with your computer" |
43 |
|
44 |
# Origin is classic owncloud-client, branded for CERN during compilation. |
45 |
-ORIGIN_P="owncloudclient" |
46 |
+ORIGIN_P="owncloud-client" |
47 |
BRANDED_P="cernbox" |
48 |
-BRANDED_PV="2.2.4" |
49 |
-BRANDED_REL="1.1" |
50 |
- |
51 |
-DESCRIPTION="Synchronize files from CERNbox EOS with your computer" |
52 |
+BRANDED_PV="2.5.4" |
53 |
+BRANDED_REL="2719.1" |
54 |
+BRANDED_TS="202002062027" |
55 |
HOMEPAGE="https://cernbox.cern.ch/" |
56 |
-SRC_URI=" |
57 |
- http://download.owncloud.com/desktop/stable/${ORIGIN_P}-${PV}.tar.xz |
58 |
+SRC_URI="http://download.owncloud.com/desktop/stable/${ORIGIN_P/-}-${PV}.tar.xz |
59 |
https://cernbox.cern.ch/cernbox/doc/Linux/repo/CentOS_7/src/${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm" |
60 |
|
61 |
LICENSE="CC-BY-3.0 GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
-IUSE="doc dolphin nautilus samba +sftp test" |
65 |
+IUSE="doc dolphin gnome-keyring nautilus test" |
66 |
|
67 |
-COMMON_DEPEND=" |
68 |
- >=dev-db/sqlite-3.4:3 |
69 |
- dev-libs/qtkeychain |
70 |
+COMMON_DEPEND=">=dev-db/sqlite-3.4:3 |
71 |
+ dev-libs/qtkeychain[gnome-keyring?,qt5(+)] |
72 |
dev-qt/qtconcurrent:5 |
73 |
dev-qt/qtcore:5 |
74 |
dev-qt/qtdbus:5 |
75 |
dev-qt/qtgui:5 |
76 |
- dev-qt/qtnetwork:5 |
77 |
+ dev-qt/qtnetwork:5[ssl] |
78 |
dev-qt/qtsql:5 |
79 |
- dev-qt/qtwebkit:5 |
80 |
+ dev-qt/qtwidgets:5 |
81 |
+ dev-qt/qtxml:5 |
82 |
sys-fs/inotify-tools |
83 |
- virtual/libiconv |
84 |
dolphin? ( |
85 |
kde-frameworks/kcoreaddons:5 |
86 |
kde-frameworks/kio:5 |
87 |
) |
88 |
- nautilus? ( dev-python/nautilus-python ) |
89 |
- samba? ( >=net-fs/samba-3.5 ) |
90 |
- sftp? ( >=net-libs/libssh-0.5 ) |
91 |
-" |
92 |
-RDEPEND="${COMMON_DEPEND} |
93 |
- !net-misc/ocsync |
94 |
- !net-misc/nextcloud-client |
95 |
-" |
96 |
+ nautilus? ( dev-python/nautilus-python )" |
97 |
+ |
98 |
+RDEPEND="${COMMON_DEPEND}" |
99 |
DEPEND="${COMMON_DEPEND} |
100 |
dev-qt/linguist-tools:5 |
101 |
doc? ( |
102 |
dev-python/sphinx |
103 |
+ dev-tex/latexmk |
104 |
dev-texlive/texlive-latexextra |
105 |
virtual/latex-base |
106 |
) |
107 |
@@ -57,43 +52,44 @@ DEPEND="${COMMON_DEPEND} |
108 |
test? ( |
109 |
dev-util/cmocka |
110 |
dev-qt/qttest:5 |
111 |
- ) |
112 |
-" |
113 |
+ )" |
114 |
+ |
115 |
+RESTRICT="!test? ( test )" |
116 |
|
117 |
S=${WORKDIR}/owncloudclient-${PV} |
118 |
|
119 |
+PATCHES=( "${FILESDIR}"/${ORIGIN_P}-${PV}-qt515.patch ) |
120 |
+ |
121 |
src_unpack() { |
122 |
- rpm_src_unpack ${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm |
123 |
- mv ${PN/-}-${BRANDED_PV}/cernbox "${S}" || die "failed to extract branding" |
124 |
+ rpm_src_unpack ${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm || die "failed to extract branding RPM" |
125 |
+ mv ${PN/-}-${BRANDED_PV}.${BRANDED_TS}/cernbox "${S}" || die "failed to extract branding" |
126 |
+ rm -rf "${S}/theme" || die "failed to remove vanilla theme" |
127 |
+ mv ${PN/-}-${BRANDED_PV}.${BRANDED_TS}/theme "${S}" || die "failed to extract branding" |
128 |
} |
129 |
|
130 |
src_prepare() { |
131 |
# Keep tests in ${T} |
132 |
- sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die "sed failed" |
133 |
+ sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die |
134 |
|
135 |
if ! use nautilus; then |
136 |
pushd shell_integration > /dev/null || die |
137 |
cmake_comment_add_subdirectory nautilus |
138 |
popd > /dev/null || die |
139 |
fi |
140 |
- default |
141 |
+ cmake_src_prepare |
142 |
} |
143 |
|
144 |
src_configure() { |
145 |
local mycmakeargs=( |
146 |
-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc |
147 |
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} |
148 |
- -DWITH_ICONV=ON |
149 |
- -DWITH_DOC=$(usex doc) |
150 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Sphinx=$(usex !doc) |
151 |
-DCMAKE_DISABLE_FIND_PACKAGE_KF5=$(usex !dolphin) |
152 |
- -DBUILD_WITH_QT4=OFF |
153 |
- -DCMAKE_DISABLE_FIND_PACKAGE_Libsmbclient=$(usex !samba) |
154 |
- -DCMAKE_DISABLE_FIND_PACKAGE_LibSSH=$(usex !sftp) |
155 |
- -DUNIT_TESTING=$(usex test) |
156 |
- -DOEM_THEME_DIR=${PWD}/${BRANDED_P}/mirall |
157 |
+ -DBUILD_TESTING=$(usex test) |
158 |
+ -DOEM_THEME_DIR=${PWD}/${BRANDED_P}/syncclient |
159 |
) |
160 |
|
161 |
- cmake-utils_src_configure |
162 |
+ cmake_src_configure |
163 |
} |
164 |
|
165 |
pkg_postinst() { |
166 |
@@ -101,4 +97,5 @@ pkg_postinst() { |
167 |
elog "Documentation and man pages not installed" |
168 |
elog "Enable doc USE-flag to generate them" |
169 |
fi |
170 |
+ xdg_pkg_postinst |
171 |
} |
172 |
|
173 |
diff --git a/net-misc/cernbox-client/files/owncloud-client-2.6.3.14058-qt515.patch b/net-misc/cernbox-client/files/owncloud-client-2.6.3.14058-qt515.patch |
174 |
new file mode 100644 |
175 |
index 000000000..57dd20938 |
176 |
--- /dev/null |
177 |
+++ b/net-misc/cernbox-client/files/owncloud-client-2.6.3.14058-qt515.patch |
178 |
@@ -0,0 +1,11 @@ |
179 |
+diff -Naur owncloudclient-2.6.3.14058.orig/src/libsync/networkjobs.cpp owncloudclient-2.6.3.14058/src/libsync/networkjobs.cpp |
180 |
+--- owncloudclient-2.6.3.14058.orig/src/libsync/networkjobs.cpp 2020-06-12 14:35:04.000000000 +0200 |
181 |
++++ owncloudclient-2.6.3.14058/src/libsync/networkjobs.cpp 2020-06-13 11:18:28.822842347 +0200 |
182 |
+@@ -31,6 +31,7 @@ |
183 |
+ #include <QJsonObject> |
184 |
+ #ifndef TOKEN_AUTH_ONLY |
185 |
+ #include <QPainter> |
186 |
++#include <QPainterPath> |
187 |
+ #endif |
188 |
+ |
189 |
+ #include "networkjobs.h" |
190 |
|
191 |
diff --git a/net-misc/cernbox-client/metadata.xml b/net-misc/cernbox-client/metadata.xml |
192 |
index ac0a4fc58..c67ea7b66 100644 |
193 |
--- a/net-misc/cernbox-client/metadata.xml |
194 |
+++ b/net-misc/cernbox-client/metadata.xml |
195 |
@@ -1,27 +1,30 @@ |
196 |
<?xml version="1.0" encoding="UTF-8"?> |
197 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
198 |
<pkgmetadata> |
199 |
+ <maintainer type="person"> |
200 |
+ <email>o.freyermuth@××××××××××.com</email> |
201 |
+ <name>Oliver Freyermuth</name> |
202 |
+ </maintainer> |
203 |
<maintainer type="project"> |
204 |
<email>sci-physics@g.o</email> |
205 |
<name>Gentoo Physics Project</name> |
206 |
</maintainer> |
207 |
<longdescription lang="en"> |
208 |
-This service provides a cloud synchronisation service for all CERN users between personal devices (like a laptop) and a centrally-managed data storage. |
209 |
+ This service provides a cloud synchronisation service for all CERN users between personal devices (like a laptop) and a centrally-managed data storage. |
210 |
|
211 |
-Available to all CERN users. This service provides synchronisation capabilities: |
212 |
-everyone having a CERN computing account can use box to synchronise data (files and directories) across a series of (mobile) devices (smartphones, tablet, laptop, desktop). |
213 |
-Major software distributions are supported (notably recent Mac, Linux and Windows). |
214 |
+ Available to all CERN users. This service provides synchronisation capabilities: |
215 |
+ everyone having a CERN computing account can use box to synchronise data (files and directories) across a series of (mobile) devices (smartphones, tablet, laptop, desktop). |
216 |
+ Major software distributions are supported (notably recent Mac, Linux and Windows). |
217 |
|
218 |
-The service provides off-line eventually synchronised access to data and it is also meant for data sharing across collaborators (for example to share presentations or text documents). |
219 |
+ The service provides off-line eventually synchronised access to data and it is also meant for data sharing across collaborators (for example to share presentations or text documents). |
220 |
|
221 |
-The service is not suitable for critical-path activities like data acquisition, world-wide data distribution and massive batch processing. |
222 |
-</longdescription> |
223 |
+ The service is not suitable for critical-path activities like data acquisition, world-wide data distribution and massive batch processing. |
224 |
+ </longdescription> |
225 |
<use> |
226 |
<flag name="dolphin">Install the <pkg>kde-apps/dolphin</pkg> extension</flag> |
227 |
<flag name="nautilus">Install the <pkg>gnome-base/nautilus</pkg> extension</flag> |
228 |
- <flag name="sftp">Enable sftp transfer support via <pkg>net-libs/libssh</pkg></flag> |
229 |
</use> |
230 |
<upstream> |
231 |
- <doc>http://cernbox.web.cern.ch/cernbox/00_getting_started/index.html</doc> |
232 |
+ <doc>https://cernbox.web.cern.ch/cernbox/</doc> |
233 |
</upstream> |
234 |
</pkgmetadata> |