public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/arc-theme/
Date: Sun, 10 May 2020 10:31:59 +0000 (UTC)	[thread overview]
Message-ID: <1589106699.8dfa67d3a528822acf8bd4c6bf75fcd22d84da8e.chewi@gentoo> (raw)

commit:     8dfa67d3a528822acf8bd4c6bf75fcd22d84da8e
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun May 10 10:29:54 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun May 10 10:31:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfa67d3

x11-themes/arc-theme: Bump to 20200502 snapshot, fixes Inkscape issue

Upstream has changed yet again! The new repository may get merged back
into the old but they haven't decided yet.

Closes: https://bugs.gentoo.org/700524
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 x11-themes/arc-theme/Manifest                  |   2 +
 x11-themes/arc-theme/arc-theme-20200502.ebuild | 100 +++++++++++++++++++++++++
 x11-themes/arc-theme/metadata.xml              |   2 +-
 3 files changed, 103 insertions(+), 1 deletion(-)

diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest
index a52dc02a5ac..eeaa8e4d3bc 100644
--- a/x11-themes/arc-theme/Manifest
+++ b/x11-themes/arc-theme/Manifest
@@ -2,3 +2,5 @@ DIST arc-theme-20190330-pngs.tar.xz 87632 BLAKE2B a860abe61d98c1ba2c7e13d21cb24e
 DIST arc-theme-20190330.tar.xz 227936 BLAKE2B 35815019884c55ce2d22dbb2d78892c00b35839b017fb7f0c1e9e1f1bad1bf94703e0c15205045eed96add556381c28fdd702c7657226fd75492304abaafd41d SHA512 ac4f1bde028e027314004999502dcc914abf6070ffd4345021df486084de2c943e6c110776b3b6af55143962a40b368c060a11754ffaf30300b87cb923bc55b9
 DIST arc-theme-20190917-pngs.tar.xz 87664 BLAKE2B 8f4cd7cf4eaeef6e71113178776e35f81df1c7a86c5a4e1727ddac9e2c18f81ff51f0b8c2ca578c176fddb969fcbdef7135080c1a8851f56e1b1a33d8c2b86e6 SHA512 5ded6dd5f0c7067c8abefef8fae4620caf795f10b5fe46c30ab7b430379f3b3e2eb27ec85c752bb4a77288a640bcf6a5f4d60e19a97f96af1b31143014afde37
 DIST arc-theme-20190917.tar.xz 308592 BLAKE2B 0ca3b6bb9c501891243755984799c404645a524fd5e65e6ed5d509d3c3b0b54d60a2219030b86d6e8a19a12106da832ff4a4fcd35ff1f02766b57d104e9e642b SHA512 da3e98e696160542fc77678193ff4fdeecc1cab7b4c1ec57e1bd850486a80547e1d688c9784f5ef422f097449f1105c071a3ff917c25a6a315fe970bedf10c6f
+DIST arc-theme-20200502-pngs.tar.xz 88116 BLAKE2B 18dfee1f51a0e1e272f73523617600490584d9044539717d8a4712083d6cb87751449818b38d503bbc0a8ef016690d606a7f23ba253eda48aecfbadc0cb1b483 SHA512 c25df3088c6edcd88799200e33005b56bf048dff606a06678c8cc7af6d0d84eb9237fcc76b16057bbee538ffa01ae7e983ab94dd184b140ec45d12a8d06d3a1f
+DIST arc-theme-20200502.tar.gz 1090296 BLAKE2B 10feeecee89007b6ae1aab2e7ad95f2f3513660e2d4dafccf659b0829047b0cb551b4d8e6923d409ededba2ec5ff9f6c93f0b2c3959e3a68d5e51ccbb76861d5 SHA512 95ebf8e434af1b5976ebef7489b9b5c51c919cd161cb6dc86056559f7b34c56a8d5580b74a30bf32dc1a32636f1c7633ab20ad204f6102d92509cf1e21032fcd

diff --git a/x11-themes/arc-theme/arc-theme-20200502.ebuild b/x11-themes/arc-theme/arc-theme-20200502.ebuild
new file mode 100644
index 00000000000..1c0b07e8dd4
--- /dev/null
+++ b/x11-themes/arc-theme/arc-theme-20200502.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+COMMIT="958b9b554cde5a8be7280bdf4a908ebe833cbd81"
+
+# USE="-* gtk2 gtk3 xfce" ebuild ${P}.ebuild clean compile
+# cd ~portage/x11-themes/${P}/work
+# make -j -C */common/gtk-3.0/3.18
+# find */common/{gtk-2.0,gtk-3.0/3.*,xfwm4} -name "*.png" ! -path "*/menubar-toolbar/*" | xargs tar Jcvf /usr/portage/distfiles/${P}-pngs.tar.xz --owner=root --group=root
+
+inherit autotools
+
+DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell"
+HOMEPAGE="https://github.com/jnsh/arc-theme"
+SRC_URI="https://github.com/jnsh/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
+	pre-rendered? ( https://dev.gentoo.org/~chewi/distfiles/${P}-pngs.tar.xz )"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+IUSE="cinnamon gnome-shell +gtk2 +gtk3 mate +pre-rendered xfce"
+
+SASSC_DEPEND="
+	dev-lang/sassc
+"
+
+SVG_DEPEND="
+	!pre-rendered? (
+		media-gfx/inkscape
+		media-gfx/optipng
+	)
+"
+
+# Supports various GTK+3 versions and uses pkg-config to determine which
+# set of files to install. Updates will break it but only this fix will
+# help. See https://github.com/horst3180/arc-theme/pull/436. The same
+# applies to GNOME Shell but I don't know whether that's fixable.
+BDEPEND="
+	cinnamon? (
+		${SASSC_DEPEND}
+	)
+	gnome-shell? (
+		${SASSC_DEPEND}
+		>=gnome-base/gnome-shell-3.18
+	)
+	gtk2? (
+		${SVG_DEPEND}
+	)
+	gtk3? (
+		${SASSC_DEPEND}
+		${SVG_DEPEND}
+		virtual/pkgconfig
+		>=x11-libs/gtk+-3.18:3
+	)
+	xfce? (
+		${SVG_DEPEND}
+	)
+"
+
+# gnome-themes-standard is only needed by GTK+2 for the Adwaita
+# engine. This engine is built into GTK+3.
+RDEPEND="
+	gtk2? (
+		x11-themes/gnome-themes-standard
+		x11-themes/gtk-engines-murrine
+	)
+"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	use pre-rendered &&
+		export INKSCAPE="${BROOT}"/bin/false OPTIPNG="${BROOT}"/bin/false
+
+	econf \
+		--disable-openbox \
+		--disable-plank \
+		--disable-unity \
+		$(use_enable cinnamon) \
+		$(use_enable gtk2) \
+		$(use_enable gtk3) \
+		$(use_enable gnome-shell) \
+		$(use_enable mate metacity) \
+		$(use_enable xfce xfwm)
+}
+
+src_compile() {
+	# fontconfig issue?
+	# https://bugs.gentoo.org/666418#c28
+	use pre-rendered ||
+		addpredict "${EPREFIX}"/usr/share/inkscape/fonts/.uuid.TMP-XXXXXX
+
+	default
+}

diff --git a/x11-themes/arc-theme/metadata.xml b/x11-themes/arc-theme/metadata.xml
index cec57cceb9c..7b1d8564373 100644
--- a/x11-themes/arc-theme/metadata.xml
+++ b/x11-themes/arc-theme/metadata.xml
@@ -6,7 +6,7 @@
 		<name>James Le Cuirot</name>
 	</maintainer>
 	<upstream>
-		<remote-id type="github">arc-design/arc-theme</remote-id>
+		<remote-id type="github">jnsh/arc-theme</remote-id>
 	</upstream>
 	<use>
 		<flag name="cinnamon">Install theme for <pkg>gnome-extra/cinnamon</pkg></flag>


             reply	other threads:[~2020-05-10 10:32 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-10 10:31 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-27 22:08 [gentoo-commits] repo/gentoo:master commit in: x11-themes/arc-theme/ James Le Cuirot
2023-11-12  6:57 Arthur Zamarin
2023-05-05 16:10 Arthur Zamarin
2023-05-05 16:09 Arthur Zamarin
2022-12-20 20:13 Georgy Yakovlev
2022-04-07 20:39 James Le Cuirot
2022-04-07 20:39 James Le Cuirot
2022-02-26 23:35 James Le Cuirot
2022-02-26 23:35 James Le Cuirot
2022-01-10  2:48 Georgy Yakovlev
2022-01-10  2:48 Georgy Yakovlev
2021-10-23  8:13 James Le Cuirot
2021-10-23  8:12 James Le Cuirot
2021-07-18  6:35 Agostino Sarubbo
2021-07-18  6:33 Agostino Sarubbo
2021-04-16 22:11 James Le Cuirot
2020-12-16 22:30 Sam James
2020-11-23 22:46 James Le Cuirot
2020-11-23 22:46 James Le Cuirot
2020-10-14 20:12 James Le Cuirot
2020-08-19 22:19 James Le Cuirot
2020-08-19 22:19 James Le Cuirot
2020-05-10 10:37 James Le Cuirot
2020-05-10 10:31 James Le Cuirot
2019-12-26 12:56 Georgy Yakovlev
2019-11-02 11:58 Mikle Kolyada
2019-11-02 11:50 James Le Cuirot
2019-06-28 20:21 James Le Cuirot
2019-06-28 20:21 James Le Cuirot
2018-10-23 22:43 James Le Cuirot
2018-10-23 22:43 James Le Cuirot
2017-07-15 18:17 James Le Cuirot
2017-03-26 20:28 James Le Cuirot
2017-03-26 20:28 James Le Cuirot
2016-12-21 21:14 James Le Cuirot
2016-12-21 21:14 James Le Cuirot

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=1589106699.8dfa67d3a528822acf8bd4c6bf75fcd22d84da8e.chewi@gentoo \
    --to=chewi@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