From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/adwaita-icon-theme/
Date: Fri, 27 May 2022 21:20:14 +0000 (UTC) [thread overview]
Message-ID: <1653686404.3a95901e1a1b5dfe049b65b24933bcbefb65acc9.pacho@gentoo> (raw)
commit: 3a95901e1a1b5dfe049b65b24933bcbefb65acc9
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri May 27 21:12:21 2022 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri May 27 21:20:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a95901e
x11-themes/adwaita-icon-theme: Package legacy icons and fix cursors path
adwaita-icon-them dropped many legacy icons breaking many different
applications. We were waiting for pieces to get fixed but, for now, it has
turned into never ending disputed among different upstreams and breakage
being kept for Gnome 42 cycle affecting many different apps.
We follow Debian for now until this is better solved in the future in one
way on another.
Also keep upstream default location for cursor themes. Gentoo location is
kept for backwards compatibility but that location is highly Gentoo
specific. As a consequence, upstreams keep breaking in several ways and not
fixing their apps to honour our PATH.
Bug: https://bugs.gentoo.org/834277
Bug: https://bugs.gentoo.org/834001
Bug: https://bugs.gentoo.org/838451
Bug: https://bugs.gentoo.org/844910
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
x11-themes/adwaita-icon-theme/Manifest | 2 +
.../adwaita-icon-theme-42.0_p2.ebuild | 97 ++++++++++++++++++++++
2 files changed, 99 insertions(+)
diff --git a/x11-themes/adwaita-icon-theme/Manifest b/x11-themes/adwaita-icon-theme/Manifest
index 3574db5ee8fd..2bc23b1ba62a 100644
--- a/x11-themes/adwaita-icon-theme/Manifest
+++ b/x11-themes/adwaita-icon-theme/Manifest
@@ -1,4 +1,6 @@
DIST adwaita-icon-theme-3.32.0.tar.xz 18540012 BLAKE2B a82ca6758cdbf459ac617d3b3d834e4147c3a3c5e6ca7c705ed2d16e8cf0a1255f5ae999d7e930b9716585b8c498c220f1ab40fec929dde7679efd56f3b18a45 SHA512 9609732cd51c6794d4d86598818bb2a589b0f4b6b795e57f3507dad69b21ef1b2fc2e83e24e937428bbace32fcccf587a5771cbc02c5768206e704f0456a6d1d
DIST adwaita-icon-theme-41.0.tar.xz 17086916 BLAKE2B 6899bf734a3f708e6596a4aeb2df426041dd46232a3cbd55f530fab2cc92277db74322a31a443e251a06c74bf7fad7d5f9394b63edb33fced5ce8987e5c87d3e SHA512 2a540f2b53cb64433780029ea70c2cfe8417ae7e619d8eefa59825e3ebcb8585acd4ccae25344c8e146a0ee0705ccbb39a2cb729a162534fd86a4ff24e505c86
DIST adwaita-icon-theme-42.0.tar.xz 10407000 BLAKE2B 1ec998731b8da4ed17d7bb5887faba7a33721955836265c67efeffcf16bbb82e6f20750245b9b6d7dc4e816ec0e6ae71cb51a839debb0e070edf5d347d6260d5 SHA512 521bfd44fdc253f5fd01fcdfaa485669849ad73c35354ccfe9b358ba433cfa40ee6d68b70ec2268a4ce0631a48670b03b30811ca68e2e19f9430082454e02015
+DIST adwaita-icon-theme_42.0-2.debian.tar.xz 38420 BLAKE2B 49d88218881bd064394faa320a90e0ce1ef3a1295fbb1fbb276fb79f99f1caf7a6b1b1600ad6c648a6cb479e7bc429101cd0c327bcb8da64d50c7ea1e7a1c8fe SHA512 0bcbad6e63a05b3e916b76e6e6e5b629cf859d7bfa8e0edb53112967921cc00b9217270b663aadd36bde4bea38769345ea54593337cc0c524cf998266a4a3f65
+DIST adwaita-icon-theme_42.0.orig-41.tar.xz 17086916 BLAKE2B 6899bf734a3f708e6596a4aeb2df426041dd46232a3cbd55f530fab2cc92277db74322a31a443e251a06c74bf7fad7d5f9394b63edb33fced5ce8987e5c87d3e SHA512 2a540f2b53cb64433780029ea70c2cfe8417ae7e619d8eefa59825e3ebcb8585acd4ccae25344c8e146a0ee0705ccbb39a2cb729a162534fd86a4ff24e505c86
DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045
diff --git a/x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild
new file mode 100644
index 000000000000..8f5929ec582b
--- /dev/null
+++ b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit gnome2 python-any-r1
+
+DESCRIPTION="GNOME default icon theme"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
+
+# Rely on Debian workaround until all involved upstreams agree on how to
+# fix this: https://gitlab.gnome.org/GNOME/evolution/-/issues/1848
+SRC_URI="${SRC_URI/_p*}.tar.xz
+ branding? ( https://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz )
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig-41.tar.xz
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz
+"
+LICENSE="
+ || ( LGPL-3 CC-BY-SA-3.0 )
+ branding? ( CC-BY-SA-4.0 )
+"
+SLOT="0"
+IUSE="branding"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+# gtk+:3 is needed for build for the gtk-encode-symbolic-svg utility
+# librsvg is needed for gtk-encode-symbolic-svg to be able to read the source SVG via its pixbuf loader and at runtime for rendering scalable icons shipped by the theme
+DEPEND=">=x11-themes/hicolor-icon-theme-0.10"
+RDEPEND="${DEPEND}
+ >=gnome-base/librsvg-2.48:2
+"
+BDEPEND="${PYTHON_DEPS}
+ >=gnome-base/librsvg-2.48:2
+ sys-devel/gettext
+ virtual/pkgconfig
+ x11-libs/gtk+:3
+"
+# This ebuild does not install any binaries
+RESTRICT="binchecks strip"
+
+S="${WORKDIR}/${P/_p*}"
+
+src_prepare() {
+ if use branding; then
+ for i in 16 22 24 32 48; do
+ cp "${WORKDIR}"/tango-gentoo-v1.1/${i}x${i}/gentoo.png \
+ "${S}"/Adwaita/${i}x${i}/places/start-here.png \
+ || die "Copying gentoo logos failed"
+ done
+ fi
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure GTK_UPDATE_ICON_CACHE=$(type -P true)
+ einfo "Configuring legacy icons"
+ cd "${WORKDIR}/${PN}-41.0" && gnome2_src_configure GTK_UPDATE_ICON_CACHE=$(type -P true)
+}
+
+src_compile() {
+ gnome2_src_compile
+ einfo "Compiling legacy icons"
+ cd "${WORKDIR}/${PN}-41.0" && gnome2_src_compile
+}
+
+pkg_preinst() {
+ # Needed until bug #834600 is solved
+ rm -r "${EROOT}"/usr/share/cursors/xorg-x11/Adwaita || die
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Gentoo uses the following location for cursors too, but keep
+ # upstream path to prevent issues like bugs #838451, #834277, #834001
+ dosym ../../../../usr/share/icons/Adwaita/cursors /usr/share/cursors/xorg-x11/Adwaita
+
+ # Fix until https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/commit/706d29cc5ca35bef6d0b3e682ae1752f33bf2705
+ # is in a release
+ dosym ../../../../../../usr/share/icons/Adwaita/scalable/actions/media-seek-backward-symbolic.svg /usr/share/icons/Adwaita/scalable/actions/media-seek-forward-symbolic-rtl.svg
+ dosym ../../../../../../usr/share/icons/Adwaita/scalable/actions/media-seek-forward-symbolic.svg /usr/share/icons/Adwaita/scalable/actions/media-seek-backward-symbolic-rtl.svg
+ dosym ../../../../../../usr/share/icons/Adwaita/scalable/actions/media-skip-backward-symbolic.svg /usr/share/icons/Adwaita/scalable/actions/media-skip-forward-symbolic-rtl.svg
+ dosym ../../../../../../usr/share/icons/Adwaita/scalable/actions/media-skip-forward-symbolic.svg /usr/share/icons/Adwaita/scalable/actions/media-skip-backward-symbolic-rtl.svg
+
+ # Install missing icons, bug #844910
+ # https://gitlab.gnome.org/GNOME/evolution/-/issues/1848
+ einfo "Installing legacy icons"
+ cd "${WORKDIR}/${PN}-41.0"
+ emake DESTDIR="${WORKDIR}/debian/tmp-41" install
+ "${PYTHON}" "${WORKDIR}/debian/move-subset.py" \
+ --icon-names-from-file="${WORKDIR}"/debian/legacy-icons-41.txt \
+ --icon-names-from-file="${WORKDIR}"/debian/removed-icons-41.txt \
+ "${WORKDIR}"/debian/tmp-41 \
+ "${ED}" || die
+}
next reply other threads:[~2022-05-27 21:20 UTC|newest]
Thread overview: 150+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-27 21:20 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-19 8:23 [gentoo-commits] repo/gentoo:master commit in: x11-themes/adwaita-icon-theme/ Pacho Ramos
2024-02-11 14:21 Mart Raudsepp
2024-02-11 8:09 Arthur Zamarin
2024-02-11 8:09 Arthur Zamarin
2024-02-11 6:01 Sam James
2024-02-11 3:39 Sam James
2024-02-11 3:39 Sam James
2023-09-22 2:33 Matt Turner
2023-09-18 13:29 Matt Turner
2023-08-16 15:09 Matt Turner
2023-07-24 20:04 WANG Xuerui
2023-05-17 21:55 Matt Turner
2023-05-05 7:59 Arthur Zamarin
2023-05-03 3:53 Sam James
2023-05-02 18:45 Arthur Zamarin
2023-05-02 18:24 Arthur Zamarin
2023-05-02 18:11 Arthur Zamarin
2023-05-02 18:10 Arthur Zamarin
2023-05-02 17:35 Sam James
2023-04-02 1:45 Sam James
2023-03-25 22:39 Matt Turner
2022-12-19 10:46 Pacho Ramos
2022-12-19 10:35 Pacho Ramos
2022-12-04 2:41 Matt Turner
2022-11-09 14:11 Matt Turner
2022-11-09 14:11 Matt Turner
2022-11-05 9:44 Arthur Zamarin
2022-10-31 20:31 Matt Turner
2022-10-10 21:52 Matt Turner
2022-10-02 9:55 Pacho Ramos
2022-07-21 2:04 Matt Turner
2022-06-07 21:37 Sam James
2022-06-07 21:37 Sam James
2022-06-07 21:17 Sam James
2022-06-07 21:16 Sam James
2022-06-07 21:16 Sam James
2022-05-31 18:24 Matt Turner
2022-05-31 9:24 Jakov Smolić
2022-05-29 10:48 Pacho Ramos
2022-05-17 7:56 WANG Xuerui
2022-03-22 0:24 Matt Turner
2022-03-18 19:24 Matt Turner
2022-03-09 15:39 Sam James
2022-03-08 12:32 Sam James
2021-12-19 2:00 Matt Turner
2021-05-31 2:00 Matt Turner
2021-05-29 15:27 Sam James
2021-05-28 19:11 Sam James
2021-05-21 0:51 Yixun Lan
2021-05-04 20:20 Matt Turner
2021-05-04 20:20 Matt Turner
2021-05-04 0:51 Matt Turner
2021-04-16 22:51 Matt Turner
2021-04-13 16:12 Matt Turner
2021-04-13 15:00 Sam James
2021-04-12 23:11 Sam James
2021-04-12 16:02 Sam James
2021-04-05 22:19 Sam James
2021-04-01 16:44 Thomas Deutschmann
2021-03-12 8:01 Mikle Kolyada
2021-01-10 2:38 Matt Turner
2020-12-18 22:05 Matt Turner
2020-11-28 17:13 Matt Turner
2020-11-28 17:01 Matt Turner
2020-11-14 9:19 Mikle Kolyada
2020-11-06 15:19 Sam James
2020-11-06 6:57 Sam James
2020-11-05 16:16 Sam James
2020-08-31 2:52 Sam James
2020-08-30 18:28 Sam James
2020-08-30 15:17 Thomas Deutschmann
2020-08-02 8:26 Mart Raudsepp
2020-07-14 0:55 Matt Turner
2020-02-09 14:42 Mart Raudsepp
2020-01-11 20:11 Mart Raudsepp
2020-01-11 20:11 Mart Raudsepp
2020-01-01 16:06 Mart Raudsepp
2020-01-01 15:25 Agostino Sarubbo
2019-12-26 9:49 Sergei Trofimovich
2019-12-09 9:14 Agostino Sarubbo
2019-12-09 9:11 Agostino Sarubbo
2019-12-09 0:10 Aaron Bauman
2019-12-08 12:00 Mikle Kolyada
2019-12-08 11:58 Mikle Kolyada
2019-12-08 11:55 Mikle Kolyada
2019-12-08 11:52 Mikle Kolyada
2019-12-08 11:41 Mikle Kolyada
2019-09-26 19:32 Mart Raudsepp
2019-07-13 12:08 Sergei Trofimovich
2019-07-03 7:11 Agostino Sarubbo
2019-06-27 12:35 Agostino Sarubbo
2019-06-17 19:40 Sergei Trofimovich
2019-06-17 10:07 Mikle Kolyada
2019-05-23 13:02 Mikle Kolyada
2019-05-10 17:49 Mikle Kolyada
2019-05-10 17:33 Mikle Kolyada
2019-05-09 20:04 Aaron Bauman
2019-05-08 9:33 Mikle Kolyada
2019-01-19 20:09 Mart Raudsepp
2019-01-03 13:19 Mart Raudsepp
2019-01-03 10:17 Sergei Trofimovich
2018-12-28 23:58 Gilles Dartiguelongue
2018-12-08 18:09 Mikle Kolyada
2018-08-03 9:06 Mart Raudsepp
2018-03-14 21:41 Sergei Trofimovich
2018-03-14 21:09 Markus Meier
2018-03-06 21:37 Tobias Klausmann
2018-03-04 20:48 Sergei Trofimovich
2018-02-16 20:39 Sergei Trofimovich
2018-01-18 3:15 Mikle Kolyada
2018-01-13 12:13 Sergei Trofimovich
2017-08-22 15:57 Michał Górny
2017-07-31 3:40 Mart Raudsepp
2017-07-07 10:12 Agostino Sarubbo
2017-05-23 16:36 Mart Raudsepp
2017-04-20 16:14 Michał Górny
2017-04-12 10:10 Jeroen Roovers
2017-04-01 16:31 Agostino Sarubbo
2017-04-01 13:16 Agostino Sarubbo
2017-03-29 7:45 Michael Weber
2017-03-28 15:09 Michael Weber
2017-03-28 14:59 Michael Weber
2017-01-26 10:56 Mart Raudsepp
2016-12-06 20:55 Markus Meier
2016-11-01 11:18 Gilles Dartiguelongue
2016-10-03 6:12 Jeroen Roovers
2016-09-04 23:20 Gilles Dartiguelongue
2016-06-27 14:02 Alexandre Rostovtsev
2016-05-03 20:32 Markus Meier
2016-04-07 10:17 Jeroen Roovers
2016-03-06 17:23 Mikle Kolyada
2015-11-26 10:51 Gilles Dartiguelongue
2015-11-19 10:04 Agostino Sarubbo
2015-11-18 9:09 Agostino Sarubbo
2015-11-18 5:47 Jeroen Roovers
2015-11-16 14:08 Agostino Sarubbo
2015-11-15 14:23 Pacho Ramos
2015-11-14 10:28 Agostino Sarubbo
2015-11-13 9:12 Agostino Sarubbo
2015-11-12 11:07 Agostino Sarubbo
2015-11-11 8:20 Agostino Sarubbo
2015-11-10 17:02 Agostino Sarubbo
2015-10-18 11:29 Mikle Kolyada
2015-10-04 10:15 Pacho Ramos
2015-10-03 8:47 Markus Meier
2015-09-28 4:44 Jeroen Roovers
2015-09-20 6:11 Jeroen Roovers
2015-09-16 8:43 Tobias Klausmann
2015-09-12 9:11 Agostino Sarubbo
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=1653686404.3a95901e1a1b5dfe049b65b24933bcbefb65acc9.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