public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-bing-wallpaper/, ...
Date: Tue, 24 Jan 2023 17:26:36 +0000 (UTC)	[thread overview]
Message-ID: <1674581190.a4462f22aa41ab32c651d63180c653eb9752b5ba.pacho@gentoo> (raw)

commit:     a4462f22aa41ab32c651d63180c653eb9752b5ba
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 16:35:43 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 17:26:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4462f22

gnome-extra/gnome-shell-extension-bing-wallpaper: add 44

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../gnome-shell-extension-bing-wallpaper/Manifest  |  1 +
 ...extension-bing-wallpaper-44-unlock-screen.patch | 10 ++++
 .../gnome-shell-extension-bing-wallpaper-44.ebuild | 55 ++++++++++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest
index 8ae7ca6bb3ad..255215a82e85 100644
--- a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest
+++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest
@@ -1,2 +1,3 @@
 DIST gnome-shell-extension-bing-wallpaper-41.tar.gz 6811709 BLAKE2B ecde577d2c7a8be1644e8eddf88541a705085139af1c1c0a4e9036cadd88d26c6e07cc30d135c34a5c7289d3b1ecce9a381b439eac0059d19616493793f94795 SHA512 2d48c1c0916bca70ae47ff366690dbaef5337a74fd2d3d5b51e6ba297f3df85b3b2fedc6bdb4065b431aff286ebf0b7105168bead8c1843de5a4a2ef049a8eb5
 DIST gnome-shell-extension-bing-wallpaper-43.tar.gz 6816279 BLAKE2B d73f6247e41762d36095afb2602d768dac4997c911384ee57df2b2d27301395a98f8d00b94b4163d2bce5d2d43c783f181dda5f610eabd446bf9e130d905b85d SHA512 89cef18340f20d7c80764cdaea233479bf419d479349326feaa890847acce3b964e119a63cca29caa061711b7754e5861d19314082b95f394275c40cafe4065f
+DIST gnome-shell-extension-bing-wallpaper-44.tar.gz 6821608 BLAKE2B ddc29bee60cbf457eb853ad8d0caa1c9e0660782d021fda03e4eaf2f2d50ec72cdafe225ebfe57abbb1ac8d506ff409d84c74c629765e176ff35991ef52d04dd SHA512 8402862affeca913aaf67ee771df3152309a23335e99cd6c2fc7c6f0b293f8fa4e593fc2c9a4e1366e340ab956d2ee623780bc02654dbbff46b00b30232a70dc

diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/files/gnome-shell-extension-bing-wallpaper-44-unlock-screen.patch b/gnome-extra/gnome-shell-extension-bing-wallpaper/files/gnome-shell-extension-bing-wallpaper-44-unlock-screen.patch
new file mode 100644
index 000000000000..e0792e6b9223
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/files/gnome-shell-extension-bing-wallpaper-44-unlock-screen.patch
@@ -0,0 +1,10 @@
+--- a/metadata.json.old	2023-01-24 17:24:07.124529927 +0100
++++ b/metadata.json	2023-01-24 17:24:19.852913263 +0100
+@@ -6,5 +6,6 @@
+     "description": "Sync your wallpaper to today's Microsoft Bing image of the day (the image you see when you visit Bing.com).\n\n *Disclaimer*: this extension is unofficial and not affiliated with Bing or Microsoft in any way. Images are protected by copyright and are licensed only for use as wallpapers.\n\nFeatures:\n* UHD resolution wallpapers\n* Automatically fetches current Bing wallpaper of the day and sets as both lock screen and desktop wallpaper (user selectable on GNOME versions that support it)\n* Doesn't poll continuously - only once per day and on startup (schedules a refresh when Bing is due to update)\n * random mode (from previously downloaded wallpapers)\n *NEW: select/cycle wallpaper through previously downloaded images\n* Language support: English (en), German (de), Dutch (nl), Italian (it), Polish (pl), Chinese (zh_CN, zh_TW), French (fr_FR), Portuguese (pt, pt_BR), Ukrainian (uk), Russian (ru_RU), Spanish (es), Korean (ko), Indonesian (id), Catalan (ca), Norwe
 gian Bokmål (nb) & Nynorsk (ni), Swedish (sv), Arabic (ar), Hungarian (hu) and Japanese (ja) - a HUGE thanks to the translators\n\nThis extension was forked from the NASA APOD extension by Elinvention (https://github.com/Elinvention) and inspired by Bing Desktop Wallpaper Changer by Utkarsh Gupta (https://github.com/UtkarshGpta).\n\nAlways restart GNOME after manually updating extensions. Please report bugs to the GitHub page below:",
+     "version": "44",
+     "url": "https://github.com/neffo/bing-wallpaper-gnome-extension",
+-    "gettext-domain": "BingWallpaper"
++    "gettext-domain": "BingWallpaper",
++    "session-modes": ["user", "unlock-dialog"]
+ }

diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-44.ebuild b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-44.ebuild
new file mode 100644
index 000000000000..c449d1c4f90f
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-44.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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.36
+"
+DEPEND=""
+BDEPEND=""
+
+S="${WORKDIR}/bing-wallpaper-gnome-extension-${PV}"
+extension_uuid="BingWallpaper@ineffable-gmail.com"
+
+PATCHES=(
+	# https://github.com/neffo/bing-wallpaper-gnome-extension/issues/113
+	"${FILESDIR}/${PN}-44-unlock-screen.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
+}


             reply	other threads:[~2023-01-24 17:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-24 17:26 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-16  9:21 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-bing-wallpaper/, Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1674581190.a4462f22aa41ab32c651d63180c653eb9752b5ba.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox