commit: 2ee5a868cab12150e57bb4afeef4f111fafc096e Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Thu Dec 16 08:32:35 2021 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Thu Dec 16 08:32:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee5a868
gnome-extra/gnome-shell-extension-bing-wallpaper: Drop old Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> .../gnome-shell-extension-bing-wallpaper/Manifest | 1 - ...nsion-bing-wallpaper-34-blur-enable-check.patch | 49 ------------------- .../gnome-shell-extension-bing-wallpaper-34.ebuild | 55 ---------------------- 3 files changed, 105 deletions(-) diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest index d6c279072c7c..124655f5b78c 100644 --- a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest +++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest @@ -1,3 +1,2 @@ -DIST gnome-shell-extension-bing-wallpaper-34.tar.gz 4308799 BLAKE2B 5c14895fbb42fb726e1b6d93924eebfd7b93ccea893075bfd698476579962a88f8e0008d7e935304d56caba1db1f8afc8fee3498f63044e4a9da13f568025e84 SHA512 7e1e26b5494a9e66d74c3d1045827445935d1a0ed20b095cb72b3b06b622ae5fda7980313dcddedf25c5ed3b40717a8e322bc80764f502c5eb7fe7155ec84ca7 DIST gnome-shell-extension-bing-wallpaper-36.tar.gz 6060192 BLAKE2B 0daec2bdc94e25032b8ab04e63a673177edae9fe181ad02bcd9ceee7597d8c3f44187dcdb0bded5477be515dfea3cf81adc08e306a33b8c444e3e2c8295c5fab SHA512 335c1e9f5dd1d93ec60f15eef2d0127be6f0149bb29b98f4751c9ea820fd0b28e119d0d2c9fab4444ace4b8d2a5c0523b06bbbd337093ceafc1421a9d665eaa5 DIST gnome-shell-extension-bing-wallpaper-37.tar.gz 6798688 BLAKE2B 9dd8e651905f2b90848bd416d222667aa528994d3d06ddc180926efc603670346513270d588be85aefc62b9c85986e5913441d643e399c1384fd6996b1cfdfc2 SHA512 1c75ff6a6068232c9be717018b93a3bc8810e6dd1b446d9dbe4cc77beecb34a35ed3d6a9904f68b3d2d4487f45f2eccee03379f1abe4f8b351642b75411d5adc diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/files/gnome-shell-extension-bing-wallpaper-34-blur-enable-check.patch b/gnome-extra/gnome-shell-extension-bing-wallpaper/files/gnome-shell-extension-bing-wallpaper-34-blur-enable-check.patch deleted file mode 100644 index 64f72f388dec..000000000000 --- a/gnome-extra/gnome-shell-extension-bing-wallpaper/files/gnome-shell-extension-bing-wallpaper-34-blur-enable-check.patch +++ /dev/null @@ -1,49 +0,0 @@ -From d6350119bccb896744e574d0f10e34c1309bc1b1 Mon Sep 17 00:00:00 2001 -From: Michael Carroll <ineffa...@gmail.com> -Date: Wed, 16 Jun 2021 00:11:26 +1000 -Subject: [PATCH] dont reset blur on disable() if never enabled #113 - ---- - blur.js | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/blur.js b/blur.js -index 613e301..c16af6f 100644 ---- a/blur.js -+++ b/blur.js -@@ -27,6 +27,7 @@ var blur_strength = 2; - var blur_brightness = 55; - var debug = false; - -+let blurEnabled = false; - var blurMode = whichVersion(); - - function log(msg) { -@@ -63,6 +64,7 @@ var Blur = class Blur { - let effect = new Shell.BlurEffect({ brightness: blur_brightness * 0.01, sigma: blur_strength * themeContext.scale_factor / 5 }); // fix me, should this be /5? - this._scaleChangedId = themeContext.connect('notify::scale-factor', () => { effect.sigma = blur_strength * themeContext.scale_factor / 5; }); - widget.add_effect(effect); -+ blurEnabled = true; - } - - _do_blur_v2(monitorIndex) { -@@ -74,8 +76,8 @@ var Blur = class Blur { - brightness: blur_brightness * 0.01, - sigma: blur_strength * themeContext.scale_factor, - }); -- } -- -+ } -+ blurEnabled = true; - } - - set_blur_strength(value) { -@@ -119,6 +121,8 @@ var Blur = class Blur { - } - - _disable() { -+ if (blurEnabled == false) // nothing to do, don't clash without other extensions that do the same -+ return; - log("_lockscreen_blur_disable() called"); - if (blurMode == 1) { - UnlockDialog.prototype._createBackground = _createBackground; diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-34.ebuild b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-34.ebuild deleted file mode 100644 index bca374834cfc..000000000000 --- a/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-34.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit gnome2-utils - -DESCRIPTION="Changes your wallpaper daily to the bing.com background image" -HOMEPAGE="https://github.com/neffo/bing-wallpaper-gnome-extension" -SRC_URI="https://github.com/neffo/bing-wallpaper-gnome-extension/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND=" - dev-libs/glib:2 - app-eselect/eselect-gnome-shell-extensions - >=gnome-base/gnome-shell-3.28 -" -DEPEND="" -BDEPEND="" - -S="${WORKDIR}/bing-wallpaper-gnome-extension-${PV}" -extension_uuid="bingwallpa...@ineffable-gmail.com" - -PATCHES=( - # https://github.com/neffo/bing-wallpaper-gnome-extension/issues/113 - "${FILESDIR}/${P}-blur-enable-check.patch" -) - -src_install() { - einstalldocs - rm -f README.md LICENSE || die - insinto /usr/share/glib-2.0/schemas - doins schemas/*.xml - rm -rf schemas - insinto /usr/share/gnome-shell/extensions/"${extension_uuid}" - doins -r * -} - -pkg_preinst() { - gnome2_schemas_savelist -} - -pkg_postinst() { - gnome2_schemas_update - ebegin "Updating list of installed extensions" - eselect gnome-shell-extensions update - eend $? -} - -pkg_postrm() { - gnome2_schemas_update -}