[gentoo-commits] repo/proj/guru:master commit in: gui-apps/darkman/

2025-12-02 Thread Paul Zander
commit: b738522a86d245b258b8a3334ae560b429c605cd
Author: Pavel Kulyov  gmail  com>
AuthorDate: Sat Nov 29 12:56:19 2025 +
Commit: Paul Zander  gmail  com>
CommitDate: Mon Dec  1 14:52:40 2025 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b738522a

gui-apps/darkman: bump version 2.0.1-r1 -> 2.2.0

Other changes:
- Make geoclue an optional feature.
- Install man page unconditionally.
- Make examples flag disabled by default.
- Generate and install shell completions.
- Add warning about scripts' layout changes.
- Enable tests.

Signed-off-by: Pavel Kulyov  gmail.com>
Part-of: https://github.com/gentoo/guru/pull/401
Closes: https://github.com/gentoo/guru/pull/401
Signed-off-by: Lucio Sauer  posteo.net>

 gui-apps/darkman/Manifest|  4 +-
 gui-apps/darkman/darkman-2.0.1-r1.ebuild | 50 ---
 gui-apps/darkman/darkman-2.2.0.ebuild| 68 
 gui-apps/darkman/metadata.xml|  4 ++
 4 files changed, 74 insertions(+), 52 deletions(-)

diff --git a/gui-apps/darkman/Manifest b/gui-apps/darkman/Manifest
index e3787e9d1c..73cfa7c60a 100644
--- a/gui-apps/darkman/Manifest
+++ b/gui-apps/darkman/Manifest
@@ -1,2 +1,2 @@
-DIST darkman-2.0.1-deps.tar.xz 2361116 BLAKE2B 
3bcf8b88ebf2e0f09816d31dad7bc2c6f44cc275931b99263e3f8b788d4a714a6c0760458054d8d1ea8d4c39fd28877e84f846dcf40099695f614aba5468728a
 SHA512 
3adcb0655369151c942727088d4a3983b392ae3d2e7738ba7bfa81605af1f4c2a8a9d54797291b7864a6ec5572bc90ba935f5fd68d8557e2a09c3bd2864124de
-DIST darkman-v2.0.1.tar.bz2 25801 BLAKE2B 
47170bbd92451d8ea8f6918755fa57d985ea43bc5a501b57e0e12ebda3274d06764d1ee3334df231f0774f36486fd5813e2b3e1515c16c18d9fb43c094fedb5f
 SHA512 
8036e3470d22e1f689d8305cb3faf81a1fc2f0692afd8fb9657c2c22af417f25fd928189fcda42df7c053cb9129c90cdf11df64e6f597498af95f330de76f282
+DIST darkman-v2.2.0-vendor.tar.xz 202608 BLAKE2B 
905fb545285084dc9836e1c89283cf53ebb403deedd69de604d2b75e459a77b99a95b84e17e3a378b94c5992c4dc3394ffc0e0676368110194f3373bbad06784
 SHA512 
9d2dfe5c70ace7fd6a1a8ae0c3e72bfd053ccb7cd12bfc7ba7c7005a263d01e2de72b4eef168e0196c4b31b94a4011f274884c3ebe36f3c95f8aab6f8e022de3
+DIST darkman-v2.2.0.tar.bz2 28192 BLAKE2B 
075613f357e2b1fbf413f411714f6333eae5e9cbd9a2be1b594a075151484fb1b3ae58d81488adcd0b754b8dc941848447c2bed09da699ed709e979b2fddf5ee
 SHA512 
94e2f75bfd19c36bdc5294d29d04feb1f2680bac714b1b76772e4d08f0fdbcded26d204c98ceacb823289e3413246392213575781a8302ab2ac38db31a4c050c

diff --git a/gui-apps/darkman/darkman-2.0.1-r1.ebuild 
b/gui-apps/darkman/darkman-2.0.1-r1.ebuild
deleted file mode 100644
index a5e896ee49..00
--- a/gui-apps/darkman/darkman-2.0.1-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2019-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd go-module
-
-DESCRIPTION="Framework for dark and light mode transitions"
-HOMEPAGE="https://gitlab.com/WhyNotHugo/darkman";
-SRC_URI="https://gitlab.com/WhyNotHugo/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
-   
https://codeberg.org/amano-kenji-gentoo-overlay/${PN}/raw/branch/master/${P}-deps.tar.xz";
-
-S="${WORKDIR}/${PN}-v${PV}"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+man +examples"
-
-RDEPEND="app-misc/geoclue"
-BDEPEND="man? ( app-text/scdoc )"
-
-DOCS=( CHANGELOG.md README.md )
-
-src_compile() {
-   ego build -v -x -o ${PN} -ldflags="-X main.Version=${PV}" ./cmd/${PN}
-
-   if use man; then
-   scdoc < ./${PN}.1.scd > ./${PN}.1 || die
-   fi
-}
-
-src_install() {
-   dobin ${PN}
-
-   systemd_douserunit ${PN}.service
-   doman ${PN}.1
-
-   use examples && DOCS+=( examples/. )
-   einstalldocs
-
-   insinto /usr/share/dbus-1/services
-   doins contrib/dbus/*
-
-   insinto  /usr/share/xdg-desktop-portal/portals/
-   doins contrib/portal/darkman.portal
-
-   dodir /etc/env.d/
-   echo "XDG_DATA_DIRS=\"~/.local/share/\"" >> "${ED}"/etc/env.d/99darkman 
|| die
-}

diff --git a/gui-apps/darkman/darkman-2.2.0.ebuild 
b/gui-apps/darkman/darkman-2.2.0.ebuild
new file mode 100644
index 00..e176c0675e
--- /dev/null
+++ b/gui-apps/darkman/darkman-2.2.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2019-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop go-module optfeature shell-completion systemd
+
+DESCRIPTION="Framework for dark and light mode transitions"
+HOMEPAGE="https://gitlab.com/WhyNotHugo/darkman";
+SRC_URI="https://gitlab.com/WhyNotHugo/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
+   
https://github.com/pkulev/riru/releases/download/1.0.0/${PN}-v${PV}-vendor.tar.xz";
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+BDEPEND="app-text/scdoc"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_compile() {
+   ego build -v -x -o ${PN} -ldflags="-X main.Version=${PV}" ./cmd/${PN}
+   scdoc < 

[gentoo-commits] repo/proj/guru:master commit in: gui-apps/darkman/

2024-06-19 Thread Florian Schmaus
commit: d0472a69835ae372dfb4a0f6436cedd9cb3c656a
Author: Alberto Gireud  protonmail  com>
AuthorDate: Wed Jun 19 00:40:01 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Jun 19 00:40:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0472a69

gui-apps/darkman: Fix systemd user unit installation

Signed-off-by: Alberto Gireud  protonmail.com>

 gui-apps/darkman/{darkman-2.0.1.ebuild => darkman-2.0.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-apps/darkman/darkman-2.0.1.ebuild 
b/gui-apps/darkman/darkman-2.0.1-r1.ebuild
similarity index 97%
rename from gui-apps/darkman/darkman-2.0.1.ebuild
rename to gui-apps/darkman/darkman-2.0.1-r1.ebuild
index de30c3f2c..a5e896ee4 100644
--- a/gui-apps/darkman/darkman-2.0.1.ebuild
+++ b/gui-apps/darkman/darkman-2.0.1-r1.ebuild
@@ -33,7 +33,7 @@ src_compile() {
 src_install() {
dobin ${PN}
 
-   systemd_dounit ${PN}.service
+   systemd_douserunit ${PN}.service
doman ${PN}.1
 
use examples && DOCS+=( examples/. )



[gentoo-commits] repo/proj/guru:master commit in: gui-apps/darkman/

2024-06-02 Thread Julien Roy
commit: e22681f1e2a827f40b3dee1bd2fe0f158ff18b2c
Author: amano.kenji  proton  me>
AuthorDate: Sun Jun  2 04:28:25 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Jun  2 04:28:25 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e22681f1

gui-apps/darkman: add 2.0.1, drop 1.5.4

Signed-off-by: amano.kenji  proton.me>

 gui-apps/darkman/Manifest   | 4 ++--
 gui-apps/darkman/{darkman-1.5.4.ebuild => darkman-2.0.1.ebuild} | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gui-apps/darkman/Manifest b/gui-apps/darkman/Manifest
index 3643e19a2..e3787e9d1 100644
--- a/gui-apps/darkman/Manifest
+++ b/gui-apps/darkman/Manifest
@@ -1,2 +1,2 @@
-DIST darkman-1.5.4-vendor.tar.xz 384628 BLAKE2B 
3af63f7e676e4ac8209fc490b6e6ea8717268c76917887a3a744926e000a4a9adfae63981376fe88ea0a0cd16273824b23c23f2a85e11f65c13292d921c92958
 SHA512 
31dfc7ef1005c2bf59b0df32820070b217c7243c5256fb743b1a152619dd57da1a72d5db7a34d8715e3a1f0aa622fd5ba005bfdb1a179d00438e77bc79a9d25e
-DIST darkman-v1.5.4.tar.bz2 21648 BLAKE2B 
b81f09f0e9cfaf21fca700314a68380672bfbf96b4db1ea9d878de7daf2e2470a83b99e829794384b853161b9ff3687a0587834e5d2a0f14ee6a5436a598fcfe
 SHA512 
a8f687bdb8ca8233434919d0428c7899953f79e80eb1471bb28e695e73906c1577f6e6fb495ae67dee0a44ff9cefffd1eb5a1288d3dd0a33673646e408f02556
+DIST darkman-2.0.1-deps.tar.xz 2361116 BLAKE2B 
3bcf8b88ebf2e0f09816d31dad7bc2c6f44cc275931b99263e3f8b788d4a714a6c0760458054d8d1ea8d4c39fd28877e84f846dcf40099695f614aba5468728a
 SHA512 
3adcb0655369151c942727088d4a3983b392ae3d2e7738ba7bfa81605af1f4c2a8a9d54797291b7864a6ec5572bc90ba935f5fd68d8557e2a09c3bd2864124de
+DIST darkman-v2.0.1.tar.bz2 25801 BLAKE2B 
47170bbd92451d8ea8f6918755fa57d985ea43bc5a501b57e0e12ebda3274d06764d1ee3334df231f0774f36486fd5813e2b3e1515c16c18d9fb43c094fedb5f
 SHA512 
8036e3470d22e1f689d8305cb3faf81a1fc2f0692afd8fb9657c2c22af417f25fd928189fcda42df7c053cb9129c90cdf11df64e6f597498af95f330de76f282

diff --git a/gui-apps/darkman/darkman-1.5.4.ebuild 
b/gui-apps/darkman/darkman-2.0.1.ebuild
similarity index 92%
rename from gui-apps/darkman/darkman-1.5.4.ebuild
rename to gui-apps/darkman/darkman-2.0.1.ebuild
index 86e6b45c8..de30c3f2c 100644
--- a/gui-apps/darkman/darkman-1.5.4.ebuild
+++ b/gui-apps/darkman/darkman-2.0.1.ebuild
@@ -8,7 +8,7 @@ inherit systemd go-module
 DESCRIPTION="Framework for dark and light mode transitions"
 HOMEPAGE="https://gitlab.com/WhyNotHugo/darkman";
 
SRC_URI="https://gitlab.com/WhyNotHugo/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
-   https://files.levelnine.at/${P}-vendor.tar.xz";
+   
https://codeberg.org/amano-kenji-gentoo-overlay/${PN}/raw/branch/master/${P}-deps.tar.xz";
 
 S="${WORKDIR}/${PN}-v${PV}"
 



[gentoo-commits] repo/proj/guru:master commit in: gui-apps/darkman/

2024-05-02 Thread David Roman
commit: 02ad1270aede79986317b7c2880bfe76b0ee7aea
Author: Lucio Sauer  posteo  net>
AuthorDate: Wed May  1 15:45:54 2024 +
Commit: David Roman  gmail  com>
CommitDate: Wed May  1 15:45:54 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02ad1270

gui-apps/darkman: fix permanent URL redirect for SRC_URI

fix variable order

Signed-off-by: Lucio Sauer  posteo.net>

 gui-apps/darkman/darkman-1.5.4.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gui-apps/darkman/darkman-1.5.4.ebuild 
b/gui-apps/darkman/darkman-1.5.4.ebuild
index 6f0b4c3430..86e6b45c85 100644
--- a/gui-apps/darkman/darkman-1.5.4.ebuild
+++ b/gui-apps/darkman/darkman-1.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,16 +7,16 @@ inherit systemd go-module
 
 DESCRIPTION="Framework for dark and light mode transitions"
 HOMEPAGE="https://gitlab.com/WhyNotHugo/darkman";
-SRC_URI="https://gitlab.com/whynothugo/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2";
-SRC_URI+=" https://files.levelnine.at/${P}-vendor.tar.xz";
+SRC_URI="https://gitlab.com/WhyNotHugo/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
+   https://files.levelnine.at/${P}-vendor.tar.xz";
+
+S="${WORKDIR}/${PN}-v${PV}"
 
 LICENSE="ISC"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="+man +examples"
 
-S="${WORKDIR}/${PN}-v${PV}"
-
 RDEPEND="app-misc/geoclue"
 BDEPEND="man? ( app-text/scdoc )"
 



[gentoo-commits] repo/proj/guru:master commit in: gui-apps/darkman/

2023-03-12 Thread Viorel Munteanu
commit: 37c96a0279839f3290b4609d7b381c591cd6d6b9
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Mar 11 13:03:01 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sat Mar 11 13:03:01 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37c96a02

guru/gui-apps: add 1.5.4

Signed-off-by: Michael Mair-Keimberger  levelnine.at>

 gui-apps/darkman/Manifest |  2 ++
 gui-apps/darkman/darkman-1.5.4.ebuild | 50 +++
 gui-apps/darkman/metadata.xml | 11 
 3 files changed, 63 insertions(+)

diff --git a/gui-apps/darkman/Manifest b/gui-apps/darkman/Manifest
new file mode 100644
index 0..3643e19a2
--- /dev/null
+++ b/gui-apps/darkman/Manifest
@@ -0,0 +1,2 @@
+DIST darkman-1.5.4-vendor.tar.xz 384628 BLAKE2B 
3af63f7e676e4ac8209fc490b6e6ea8717268c76917887a3a744926e000a4a9adfae63981376fe88ea0a0cd16273824b23c23f2a85e11f65c13292d921c92958
 SHA512 
31dfc7ef1005c2bf59b0df32820070b217c7243c5256fb743b1a152619dd57da1a72d5db7a34d8715e3a1f0aa622fd5ba005bfdb1a179d00438e77bc79a9d25e
+DIST darkman-v1.5.4.tar.bz2 21648 BLAKE2B 
b81f09f0e9cfaf21fca700314a68380672bfbf96b4db1ea9d878de7daf2e2470a83b99e829794384b853161b9ff3687a0587834e5d2a0f14ee6a5436a598fcfe
 SHA512 
a8f687bdb8ca8233434919d0428c7899953f79e80eb1471bb28e695e73906c1577f6e6fb495ae67dee0a44ff9cefffd1eb5a1288d3dd0a33673646e408f02556

diff --git a/gui-apps/darkman/darkman-1.5.4.ebuild 
b/gui-apps/darkman/darkman-1.5.4.ebuild
new file mode 100644
index 0..6f0b4c343
--- /dev/null
+++ b/gui-apps/darkman/darkman-1.5.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd go-module
+
+DESCRIPTION="Framework for dark and light mode transitions"
+HOMEPAGE="https://gitlab.com/WhyNotHugo/darkman";
+SRC_URI="https://gitlab.com/whynothugo/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2";
+SRC_URI+=" https://files.levelnine.at/${P}-vendor.tar.xz";
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+man +examples"
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+RDEPEND="app-misc/geoclue"
+BDEPEND="man? ( app-text/scdoc )"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_compile() {
+   ego build -v -x -o ${PN} -ldflags="-X main.Version=${PV}" ./cmd/${PN}
+
+   if use man; then
+   scdoc < ./${PN}.1.scd > ./${PN}.1 || die
+   fi
+}
+
+src_install() {
+   dobin ${PN}
+
+   systemd_dounit ${PN}.service
+   doman ${PN}.1
+
+   use examples && DOCS+=( examples/. )
+   einstalldocs
+
+   insinto /usr/share/dbus-1/services
+   doins contrib/dbus/*
+
+   insinto  /usr/share/xdg-desktop-portal/portals/
+   doins contrib/portal/darkman.portal
+
+   dodir /etc/env.d/
+   echo "XDG_DATA_DIRS=\"~/.local/share/\"" >> "${ED}"/etc/env.d/99darkman 
|| die
+}

diff --git a/gui-apps/darkman/metadata.xml b/gui-apps/darkman/metadata.xml
new file mode 100644
index 0..348eb5408
--- /dev/null
+++ b/gui-apps/darkman/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   [email protected]
+   Michael Mair-Keimberger
+   
+   
+   WhyNotHugo/darkman
+   
+