* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/gradience/, gui-apps/gradience/files/
2024-05-15 1:03 [gentoo-commits] repo/proj/guru:master " Julien Roy
@ 2024-05-15 0:45 ` Julien Roy
0 siblings, 0 replies; 2+ messages in thread
From: Julien Roy @ 2024-05-15 0:45 UTC (permalink / raw
To: gentoo-commits
commit: 0231d01eb8ee5dd6d5e226fc966f471677fb4859
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Wed May 15 00:44:21 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed May 15 00:44:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0231d01e
gui-apps/gradience: enable py3.12
fix tests
fix dependencies
Closes: https://bugs.gentoo.org/921925
Closes: https://bugs.gentoo.org/931453
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
.../gradience/files/appstream-test-ignore.patch | 16 +++++++++++++
...e-0.3.0-r1.ebuild => gradience-0.3.0-r2.ebuild} | 27 ++++++++++++++--------
2 files changed, 33 insertions(+), 10 deletions(-)
diff --git a/gui-apps/gradience/files/appstream-test-ignore.patch b/gui-apps/gradience/files/appstream-test-ignore.patch
new file mode 100644
index 0000000000..4a179e1d43
--- /dev/null
+++ b/gui-apps/gradience/files/appstream-test-ignore.patch
@@ -0,0 +1,16 @@
+diff --git a/data/meson.build b/data/meson.build
+index fdebf9be..985ed36e 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -50,11 +50,6 @@ appstream_file = i18n.merge_file(
+ )
+
+ appstream_util = find_program('appstream-util', required: false)
+-if appstream_util.found()
+- test('Validate appstream file', appstream_util,
+- args: ['validate', appstream_file.full_path()]
+- )
+-endif
+
+ configure_file(
+ input: '@0@.gschema.xml.in'.format(PROJECT_RDNN_NAME),
diff --git a/gui-apps/gradience/gradience-0.3.0-r1.ebuild b/gui-apps/gradience/gradience-0.3.0-r2.ebuild
similarity index 64%
rename from gui-apps/gradience/gradience-0.3.0-r1.ebuild
rename to gui-apps/gradience/gradience-0.3.0-r2.ebuild
index 8723979bb1..97df5698a7 100644
--- a/gui-apps/gradience/gradience-0.3.0-r1.ebuild
+++ b/gui-apps/gradience/gradience-0.3.0-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit meson xdg python-single-r1
@@ -31,17 +31,24 @@ DEPEND="
x11-themes/hicolor-icon-theme
>=gui-libs/gtk-4.5.0:4
>=gui-libs/libadwaita-1.2:1=
- >=dev-python/pygobject-3.42.2:3
- >=dev-python/anyascii-0.3
- dev-python/material-color-utilities
- dev-python/svglib
- dev-python/yapsy
- dev-python/cssutils
- dev-python/jinja
- dev-python/aiohttp
+ $(python_gen_cond_dep '
+ >=dev-python/pygobject-3.42.2:3[${PYTHON_USEDEP}]
+ >=dev-python/anyascii-0.3[${PYTHON_USEDEP}]
+ dev-python/material-color-utilities[${PYTHON_USEDEP}]
+ dev-python/svglib[${PYTHON_USEDEP}]
+ dev-python/yapsy[${PYTHON_USEDEP}]
+ dev-python/cssutils[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ ')
"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/appstream-test-ignore.patch
+)
+
src_prepare() {
default
xdg_environment_reset
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/gradience/, gui-apps/gradience/files/
@ 2024-08-05 18:57 Mattéo Rossillol‑‑Laruelle
0 siblings, 0 replies; 2+ messages in thread
From: Mattéo Rossillol‑‑Laruelle @ 2024-08-05 18:57 UTC (permalink / raw
To: gentoo-commits
commit: 7a5f1379ed08ae83081b1f70b17d6fc1df84143e
Author: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Mon Aug 5 18:53:35 2024 +0000
Commit: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
CommitDate: Mon Aug 5 18:56:51 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a5f1379
gui-apps/gradience: add 0.4.1
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>
gui-apps/gradience/Manifest | 1 +
.../files/gradience-0.4.1-fix-metainfo-path.patch | 38 ++++++++++++
gui-apps/gradience/gradience-0.4.1.ebuild | 70 ++++++++++++++++++++++
gui-apps/gradience/metadata.xml | 8 +++
4 files changed, 117 insertions(+)
diff --git a/gui-apps/gradience/Manifest b/gui-apps/gradience/Manifest
index 4a28d0bbe..03f58d5a0 100644
--- a/gui-apps/gradience/Manifest
+++ b/gui-apps/gradience/Manifest
@@ -1 +1,2 @@
DIST gradience-0.3.0.tar.gz 311883 BLAKE2B 87a353097bdde029e75c54f6e73a937c0246a07756a1681772abd68bd9cd05756673ce279e1c6b87a549232d6f1dad76557ce2f13805ea243bb99e3554c02dca SHA512 fc7b90504d8b74cc87ef0e2b002e75b9d41deefeeb9e5d971529b0d66e8b1d73f9d21f471ad6b94174f9f2cd11d1366c0bbaf08ef4b265efbe922b91db766892
+DIST gradience-0.4.1.tar.gz 383899 BLAKE2B 84e6dc2a4455f963920ff265ba74cc8cc15ba7b62719ec86f391a0ac6c05a40468394e5f8d14fb28c504068c46c5e316e3f0f83e7e7735f4d2807a8c0fc51acb SHA512 d16e3ed5bed1c6fa10af37c11c0753a5c1bef3b6bc4f08d9d14032b6a5ad079e92a10ffb06f41d56a155e8d35f55ec31412d0908870e75d1866436ffea9e28b8
diff --git a/gui-apps/gradience/files/gradience-0.4.1-fix-metainfo-path.patch b/gui-apps/gradience/files/gradience-0.4.1-fix-metainfo-path.patch
new file mode 100644
index 000000000..49b2847a3
--- /dev/null
+++ b/gui-apps/gradience/files/gradience-0.4.1-fix-metainfo-path.patch
@@ -0,0 +1,38 @@
+From e9f7538467b0c6d66830ff0acd2718eb597d48ce Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Matt=C3=A9o=20Rossillol=E2=80=91=E2=80=91Laruelle?=
+ <beatussum@protonmail.com>
+Date: Sun, 4 Aug 2024 10:52:35 +0200
+Subject: [PATCH] fix metainfo path
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+/usr/share/appdata/%{id}.appdata.xml is deprecated and was replaced by
+/usr/share/metainfo/%{id}.metainfo.xml.
+
+See-also: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
+Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
+---
+ data/meson.build | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/meson.build b/data/meson.build
+index dd1c63fd..4472a6fe 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -43,10 +43,10 @@ appstream_file = i18n.merge_file(
+ 'TRANSLATE_URL': TRANSLATE_URL
+ })
+ ),
+- output: '@0@.appdata.xml'.format(APPLICATION_ID),
++ output: '@0@.metainfo.xml'.format(APPLICATION_ID),
+ po_dir: '../po',
+ install: true,
+- install_dir: join_paths(get_option('datadir'), 'appdata')
++ install_dir: join_paths(get_option('datadir'), 'metainfo')
+ )
+
+ appstream_util = find_program('appstream-util', required: false)
+--
+2.44.2
+
diff --git a/gui-apps/gradience/gradience-0.4.1.ebuild b/gui-apps/gradience/gradience-0.4.1.ebuild
new file mode 100644
index 000000000..8419bd67d
--- /dev/null
+++ b/gui-apps/gradience/gradience-0.4.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit meson python-single-r1 xdg
+
+DESCRIPTION="Change the look of Adwaita with ease"
+HOMEPAGE="https://gradienceteam.github.io/"
+SRC_URI="https://github.com/GradienceTeam/Gradience/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P^}"
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="binchecks strip !test? ( test )"
+
+DEPEND="
+ dev-libs/glib:2
+ >=gui-libs/gtk-4.5.0:4
+ >=gui-libs/libadwaita-1.2:1
+ >=net-libs/libsoup-3.2.0:3.0
+
+ $(python_gen_cond_dep '
+ dev-python/lxml[${PYTHON_USEDEP}]
+ >=dev-python/pygobject-3.42.0:3[${PYTHON_USEDEP}]
+ ')
+"
+
+BDEPEND="
+ >=dev-build/meson-0.4.0
+ dev-util/blueprint-compiler
+
+ test? (
+ dev-libs/appstream-glib
+ dev-util/desktop-file-utils
+ )
+"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ >=dev-python/anyascii-0.3[${PYTHON_USEDEP}]
+ dev-python/material-color-utilities[${PYTHON_USEDEP}]
+ dev-python/reportlab[${PYTHON_USEDEP}]
+ dev-python/svglib[${PYTHON_USEDEP}]
+ dev-python/yapsy[${PYTHON_USEDEP}]
+ ')
+
+ ${DEPEND}
+ ${PYTHON_DEPS}
+"
+
+PATCHES=( "${FILESDIR}/${P}-fix-metainfo-path.patch" )
+
+DOCS=(
+ CODE_OF_CONDUCT.md
+ HACKING.md
+ MAINTAINERS.md
+ README.md
+ ROADMAP.md
+ SECURITY.md
+)
+
+src_install() {
+ meson_src_install
+ python_optimize
+}
diff --git a/gui-apps/gradience/metadata.xml b/gui-apps/gradience/metadata.xml
index 531edfc94..cf9dda3ea 100644
--- a/gui-apps/gradience/metadata.xml
+++ b/gui-apps/gradience/metadata.xml
@@ -5,7 +5,15 @@
<email>pascal.jaeger@leimstift.de</email>
<name>Pascal Jaeger</name>
</maintainer>
+ <stabilize-allarches/>
<upstream>
+ <maintainer status="inactive">
+ <name>Gradience Team</name>
+ <email>GradienceTeam@proton.me</email>
+ </maintainer>
+ <changelog>https://github.com/GradienceTeam/Gradience/blob/main/CHANGELOG.md</changelog>
+ <doc>https://gradience.readthedocs.io/en/latest/</doc>
+ <bugs-to>https://github.com/GradienceTeam/Gradience/issues/</bugs-to>
<remote-id type="github">GradienceTeam/Gradience</remote-id>
</upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-05 18:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05 18:57 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/gradience/, gui-apps/gradience/files/ Mattéo Rossillol‑‑Laruelle
-- strict thread matches above, loose matches on Subject: below --
2024-05-15 1:03 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-15 0:45 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox