Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-gsconnect/, ...
Date: Sun, 31 May 2020 12:42:52
Message-Id: 1590928947.0d709705c8c35a5559458efaaef1f49a9a50feb7.pacho@gentoo
1 commit: 0d709705c8c35a5559458efaaef1f49a9a50feb7
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 12:12:20 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun May 31 12:42:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d709705
7
8 gnome-extra/gnome-shell-extension-gsconnect: Drop old
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 .../gnome-shell-extension-gsconnect/Manifest | 1 -
14 ...-shell-extension-gsconnect-28-silent-flag.patch | 39 ------------
15 .../gnome-shell-extension-gsconnect-28-r1.ebuild | 70 ----------------------
16 .../gnome-shell-extension-gsconnect-33-r1.ebuild | 69 ---------------------
17 .../gnome-shell-extension-gsconnect-33.ebuild | 64 --------------------
18 5 files changed, 243 deletions(-)
19
20 diff --git a/gnome-extra/gnome-shell-extension-gsconnect/Manifest b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
21 index c2364fc2da0..bcad0843b64 100644
22 --- a/gnome-extra/gnome-shell-extension-gsconnect/Manifest
23 +++ b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
24 @@ -1,2 +1 @@
25 -DIST gnome-shell-extension-gsconnect-28.tar.gz 312814 BLAKE2B 217e32e799c6300764f23245c0d474b025918f78808c026175fd3262b4c463b913969290156782151828cdcb15647002e7c7b8bff926337960a78d6d98a16c77 SHA512 a806f6532e68544832dac47da1fdf23edb7625c6cac4ad7f1c1a1b0a5d69af159397bc6f2bb63a74907669db5ea192343b7d2fc8eb2992bcc6a1834cffe1fbba
26 DIST gnome-shell-extension-gsconnect-33.tar.gz 314704 BLAKE2B fa4f2eb6325356a058b24b92b683ca7331af30112d27060e8ee191c21a3269639da58992d53434c7121ea511ee9e07869b082f908b59e19fc2434f3c07e09624 SHA512 26ef929b9b128db0cb29fba22203a3afd500c5b1c3bac6917926a60350d271e67bb0985866f84877355c079fe4a5656b8ac5e8dae976d17d9a068cc825293bce
27
28 diff --git a/gnome-extra/gnome-shell-extension-gsconnect/files/gnome-shell-extension-gsconnect-28-silent-flag.patch b/gnome-extra/gnome-shell-extension-gsconnect/files/gnome-shell-extension-gsconnect-28-silent-flag.patch
29 deleted file mode 100644
30 index 444642ee3c7..00000000000
31 --- a/gnome-extra/gnome-shell-extension-gsconnect/files/gnome-shell-extension-gsconnect-28-silent-flag.patch
32 +++ /dev/null
33 @@ -1,39 +0,0 @@
34 -From 1811528ca72a2b83924bc717c424f1301bf17c30 Mon Sep 17 00:00:00 2001
35 -From: Andy Holmes <andrew.g.r.holmes@×××××.com>
36 -Date: Sun, 1 Dec 2019 16:39:41 -0800
37 -Subject: [PATCH] Notification Plugin: ignore the `silent` flag entirely
38 -
39 -Upstream kdeconnect-android is tagging many notifications as `silent`,
40 -causing them to never be shown. Since we already handle duplicates in
41 -the Shell, we ignore that flag for now.
42 -
43 -closes #720
44 ----
45 - src/service/plugins/notification.js | 8 ++++----
46 - 1 file changed, 4 insertions(+), 4 deletions(-)
47 -
48 -diff --git a/src/service/plugins/notification.js b/src/service/plugins/notification.js
49 -index b31a828ba..45ed2050c 100644
50 ---- a/src/service/plugins/notification.js
51 -+++ b/src/service/plugins/notification.js
52 -@@ -135,16 +135,16 @@ var Plugin = GObject.registerClass({
53 -
54 - /**
55 - * Handle an incoming notification or closed report.
56 -+ *
57 -+ * FIXME: upstream kdeconnect-android is tagging many notifications as
58 -+ * `silent`, causing them to never be shown. Since we already handle
59 -+ * duplicates in the Shell, we ignore that flag for now.
60 - */
61 - _handleNotification(packet) {
62 - // A report that a remote notification has been dismissed
63 - if (packet.body.hasOwnProperty('isCancel')) {
64 - this.device.hideNotification(packet.body.id);
65 -
66 -- // A silent notification; silence it by aborting the icon transfer
67 -- } else if (packet.body.hasOwnProperty('silent') && packet.body.silent) {
68 -- this.device.rejectTransfer(packet);
69 --
70 - // A normal, remote notification
71 - } else {
72 - this.receiveNotification(packet);
73
74 diff --git a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-28-r1.ebuild b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-28-r1.ebuild
75 deleted file mode 100644
76 index 1f8bf0739bf..00000000000
77 --- a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-28-r1.ebuild
78 +++ /dev/null
79 @@ -1,70 +0,0 @@
80 -# Copyright 1999-2019 Gentoo Authors
81 -# Distributed under the terms of the GNU General Public License v2
82 -
83 -EAPI=7
84 -inherit gnome2-utils meson readme.gentoo-r1
85 -
86 -DESCRIPTION="KDE Connect implementation for Gnome Shell"
87 -HOMEPAGE="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
88 -SRC_URI="https://github.com/andyholmes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
89 -
90 -LICENSE="GPL-2+"
91 -SLOT="0"
92 -KEYWORDS="amd64 x86"
93 -IUSE="nautilus"
94 -
95 -COMMON_DEPEND="dev-libs/glib:2"
96 -RDEPEND="${COMMON_DEPEND}
97 - app-eselect/eselect-gnome-shell-extensions
98 - >=dev-libs/gjs-1.48
99 - >=gnome-base/gnome-shell-3.28
100 - gnome-base/gvfs
101 - || ( ( net-libs/gnome-online-accounts dev-libs/libgdata ) dev-libs/folks )
102 - || ( media-libs/libcanberra media-libs/gsound )
103 - nautilus? (
104 - dev-python/nautilus-python
105 - gnome-base/nautilus[introspection] )
106 -"
107 -DEPEND="${COMMON_DEPEND}"
108 -BDEPEND="
109 - >=dev-util/meson-0.49.0
110 - virtual/pkgconfig
111 -"
112 -
113 -DISABLE_AUTOFORMATTING="yes"
114 -DOC_CONTENTS="For knowing more about how to do the setup, please visit:
115 -https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki/Installation"
116 -
117 -PATCHES=(
118 - # Fix WhastApp notifications, https://github.com/andyholmes/gnome-shell-extension-gsconnect/issues/720
119 - "${FILESDIR}/${P}-silent-flag.patch"
120 -)
121 -
122 -src_configure() {
123 - # nemo support relies on nemo-python from https://github.com/linuxmint/nemo-extensions
124 - # https://bugs.gentoo.org/694388
125 - meson_src_configure \
126 - -Dnemo=false \
127 - $(meson_use nautilus)
128 -}
129 -
130 -src_install() {
131 - meson_src_install
132 - readme.gentoo_create_doc
133 -}
134 -
135 -pkg_preinst() {
136 - gnome2_schemas_savelist
137 -}
138 -
139 -pkg_postinst() {
140 - gnome2_schemas_update
141 - ebegin "Updating list of installed extensions"
142 - eselect gnome-shell-extensions update
143 - eend $?
144 - readme.gentoo_print_elog
145 -}
146 -
147 -pkg_postrm() {
148 - gnome2_schemas_update
149 -}
150
151 diff --git a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-33-r1.ebuild b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-33-r1.ebuild
152 deleted file mode 100644
153 index a098cab435c..00000000000
154 --- a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-33-r1.ebuild
155 +++ /dev/null
156 @@ -1,69 +0,0 @@
157 -# Copyright 1999-2020 Gentoo Authors
158 -# Distributed under the terms of the GNU General Public License v2
159 -
160 -EAPI=7
161 -inherit gnome2-utils meson readme.gentoo-r1
162 -
163 -DESCRIPTION="KDE Connect implementation for Gnome Shell"
164 -HOMEPAGE="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
165 -SRC_URI="https://github.com/andyholmes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
166 -
167 -LICENSE="GPL-2+"
168 -SLOT="0"
169 -KEYWORDS="amd64 x86"
170 -IUSE="nautilus"
171 -
172 -COMMON_DEPEND="dev-libs/glib:2"
173 -RDEPEND="${COMMON_DEPEND}
174 - app-eselect/eselect-gnome-shell-extensions
175 - >=dev-libs/gjs-1.48
176 - =gnome-base/gnome-shell-3.34*
177 - gnome-base/gvfs
178 - gnome-extra/evolution-data-server
179 - || ( media-libs/libcanberra media-libs/gsound )
180 - nautilus? (
181 - dev-python/nautilus-python
182 - gnome-base/nautilus[introspection] )
183 -"
184 -DEPEND="${COMMON_DEPEND}"
185 -BDEPEND="
186 - virtual/pkgconfig
187 -"
188 -
189 -DISABLE_AUTOFORMATTING="yes"
190 -DOC_CONTENTS="For knowing more about how to do the setup, please visit:
191 -https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki/Installation"
192 -
193 -PATCHES=(
194 - # Shell Notifications: set a limit of 10 notifications from GSConnect
195 - "${FILESDIR}/${P}-notifications-limit.patch"
196 -)
197 -
198 -src_configure() {
199 - # nemo support relies on nemo-python from https://github.com/linuxmint/nemo-extensions
200 - # https://bugs.gentoo.org/694388
201 - meson_src_configure \
202 - -Dnemo=false \
203 - $(meson_use nautilus)
204 -}
205 -
206 -src_install() {
207 - meson_src_install
208 - readme.gentoo_create_doc
209 -}
210 -
211 -pkg_preinst() {
212 - gnome2_schemas_savelist
213 -}
214 -
215 -pkg_postinst() {
216 - gnome2_schemas_update
217 - ebegin "Updating list of installed extensions"
218 - eselect gnome-shell-extensions update
219 - eend $?
220 - readme.gentoo_print_elog
221 -}
222 -
223 -pkg_postrm() {
224 - gnome2_schemas_update
225 -}
226
227 diff --git a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-33.ebuild b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-33.ebuild
228 deleted file mode 100644
229 index 9407d5ae418..00000000000
230 --- a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-33.ebuild
231 +++ /dev/null
232 @@ -1,64 +0,0 @@
233 -# Copyright 1999-2020 Gentoo Authors
234 -# Distributed under the terms of the GNU General Public License v2
235 -
236 -EAPI=7
237 -inherit gnome2-utils meson readme.gentoo-r1
238 -
239 -DESCRIPTION="KDE Connect implementation for Gnome Shell"
240 -HOMEPAGE="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
241 -SRC_URI="https://github.com/andyholmes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
242 -
243 -LICENSE="GPL-2+"
244 -SLOT="0"
245 -KEYWORDS="~amd64 ~x86"
246 -IUSE="nautilus"
247 -
248 -COMMON_DEPEND="dev-libs/glib:2"
249 -RDEPEND="${COMMON_DEPEND}
250 - app-eselect/eselect-gnome-shell-extensions
251 - >=dev-libs/gjs-1.48
252 - =gnome-base/gnome-shell-3.34*
253 - gnome-base/gvfs
254 - gnome-extra/evolution-data-server
255 - || ( media-libs/libcanberra media-libs/gsound )
256 - nautilus? (
257 - dev-python/nautilus-python
258 - gnome-base/nautilus[introspection] )
259 -"
260 -DEPEND="${COMMON_DEPEND}"
261 -BDEPEND="
262 - virtual/pkgconfig
263 -"
264 -
265 -DISABLE_AUTOFORMATTING="yes"
266 -DOC_CONTENTS="For knowing more about how to do the setup, please visit:
267 -https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki/Installation"
268 -
269 -src_configure() {
270 - # nemo support relies on nemo-python from https://github.com/linuxmint/nemo-extensions
271 - # https://bugs.gentoo.org/694388
272 - meson_src_configure \
273 - -Dnemo=false \
274 - $(meson_use nautilus)
275 -}
276 -
277 -src_install() {
278 - meson_src_install
279 - readme.gentoo_create_doc
280 -}
281 -
282 -pkg_preinst() {
283 - gnome2_schemas_savelist
284 -}
285 -
286 -pkg_postinst() {
287 - gnome2_schemas_update
288 - ebegin "Updating list of installed extensions"
289 - eselect gnome-shell-extensions update
290 - eend $?
291 - readme.gentoo_print_elog
292 -}
293 -
294 -pkg_postrm() {
295 - gnome2_schemas_update
296 -}