Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package darkman for openSUSE:Factory checked 
in at 2026-09-17 16:59:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/darkman (Old)
 and      /work/SRC/openSUSE:Factory/.darkman.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "darkman"

Thu Sep 17 16:59:47 2026 rev:2 rq:1378512 version:2.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/darkman/darkman.changes  2025-04-14 
12:56:33.671660636 +0200
+++ /work/SRC/openSUSE:Factory/.darkman.new.383539/darkman.changes      
2026-09-17 16:59:49.911152507 +0200
@@ -1,0 +2,24 @@
+Wed Sep 16 20:31:52 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 2.3.1:
+  * Socket API on $XDG_RUNTIME_DIR/darkman/control.sock;
+    custom D-Bus control API is deprecated
+  * New "darkman watch" command and --verbose flag
+  * Unified scripts in $XDG_DATA_DIRS/darkman/; legacy
+    dark-mode.d/light-mode.d still work until v3
+  * Run transition scripts concurrently
+  * Configuration errors are fatal; empty or missing
+    config files are allowed
+  * Structured log levels; log the loaded config path
+  * Drop rxhash (cached state is invalidated once)
+  * Man pages shipped as mdoc, plus darkman.conf(5)
+  * Fix detection of the executable bit on scripts
+- Drop 0001-fix-dependencies.patch: upstream go.mod is
+  already Go 1.21 and tidy
+- Install bash/zsh/fish completions, darkman.desktop and
+  example scripts; drop the darkmanctl symlink (removed
+  upstream in 2.0.0)
+- Re-derive License from vendored Go modules:
+  Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
+
+-------------------------------------------------------------------

Old:
----
  0001-fix-dependencies.patch
  darkman-v2.0.1.tar.bz2

New:
----
  darkman-v2.3.1.tar.bz2

----------(Old B)----------
  Old:  * Fix detection of the executable bit on scripts
- Drop 0001-fix-dependencies.patch: upstream go.mod is
  already Go 1.21 and tidy
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ darkman.spec ++++++
--- /var/tmp/diff_new_pack.61eYtr/_old  2026-09-17 16:59:50.712186075 +0200
+++ /var/tmp/diff_new_pack.61eYtr/_new  2026-09-17 16:59:50.715186200 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package darkman
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2026 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -14,19 +14,25 @@
 
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
+
+
 Name:           darkman
-Version:        2.0.1
+Version:        2.3.1
 Release:        0
 Summary:        Framework for dark-mode and light-mode transitions
-License:        ISC
-Group:          Productivity/Other
+# Legal-Review-Notice: ISC is upstream. Vendored modules add Apache-2.0
+# (cobra, mousetrap, astral), BSD-2-Clause (godbus), BSD-3-Clause (pflag)
+# and MIT (go-yaml, tint). No copyleft in vendor.tar.zst.
+License:        Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
 URL:            https://gitlab.com/whynothugo/darkman
 Source:         
https://gitlab.com/WhyNotHugo/darkman/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
 Source1:        vendor.tar.zst
-Patch0:         0001-fix-dependencies.patch
-BuildRequires:  golang-packaging
+BuildRequires:  c_compiler
+BuildRequires:  desktop-file-utils
+BuildRequires:  golang(API) >= 1.21
+BuildRequires:  pkgconfig
 BuildRequires:  zstd
-BuildRequires:  scdoc
+BuildRequires:  pkgconfig(systemd)
 
 %description
 darkman is a tool that allows automating transitioning to dark mode
@@ -35,22 +41,25 @@
 
 %prep
 %autosetup -p1 -a1 -n %{name}-v%{version}
+# rpm requires a real interpreter in the shebang, not /usr/bin/env.
+sed -i 's|^#!%{_bindir}/env sh$|#!/bin/sh|' examples/*.sh
 
 %build
 go build \
    -mod=vendor \
    -buildmode=pie \
    -ldflags "-X main.Version=%{version}" ./cmd/darkman
-
-scdoc < darkman.1.scd > darkman.1
+./darkman completion bash > darkman.bash
+./darkman completion zsh > _darkman
+./darkman completion fish > darkman.fish
 
 %install
 install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name}
-ln -s %{name} %{buildroot}%{_bindir}/%{name}ctl
 
 install -Dm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+install -Dm 0644 %{name}.conf.5 %{buildroot}%{_mandir}/man5/%{name}.conf.5
 
-install -Dm 0644 %{name}.service 
%{buildroot}%{_prefix}/lib/systemd/user/darkman.service
+install -Dm 0644 contrib/darkman.service 
%{buildroot}%{_userunitdir}/darkman.service
 
 install -Dm644 contrib/dbus/nl.whynothugo.darkman.service \
   %{buildroot}%{_datadir}/dbus-1/services/nl.whynothugo.darkman.service
@@ -61,14 +70,40 @@
 install -Dm644 contrib/portal/darkman.portal \
   %{buildroot}%{_datadir}/xdg-desktop-portal/portals/darkman.portal
 
+desktop-file-install \
+  --dir=%{buildroot}%{_datadir}/applications \
+  --set-icon=preferences-desktop-display \
+  --add-category=DesktopSettings \
+  darkman.desktop
+
+install -Dm644 darkman.bash 
%{buildroot}%{_datadir}/bash-completion/completions/darkman
+install -Dm644 _darkman %{buildroot}%{_datadir}/zsh/site-functions/_darkman
+install -Dm644 darkman.fish 
%{buildroot}%{_datadir}/fish/vendor_completions.d/darkman.fish
+
+install -d %{buildroot}%{_datadir}/darkman/examples
+install -m 0755 examples/*.sh %{buildroot}%{_datadir}/darkman/examples/
+
+%check
+go test -mod=vendor ./...
 
 %files
 %license LICENCE
-%doc README.md
+%doc README.md CHANGELOG.md
 %{_bindir}/%{name}
-%{_bindir}/%{name}ctl
 %{_mandir}/man1/%{name}.1%{?ext_man}
-%{_prefix}/lib/systemd/user/darkman.service
+%{_mandir}/man5/%{name}.conf.5%{?ext_man}
+%{_userunitdir}/darkman.service
+%{_datadir}/applications/darkman.desktop
+%{_datadir}/bash-completion/completions/darkman
+%dir %{_datadir}/zsh
+%dir %{_datadir}/zsh/site-functions
+%{_datadir}/zsh/site-functions/_darkman
+%dir %{_datadir}/fish
+%dir %{_datadir}/fish/vendor_completions.d
+%{_datadir}/fish/vendor_completions.d/darkman.fish
+%dir %{_datadir}/darkman
+%dir %{_datadir}/darkman/examples
+%{_datadir}/darkman/examples/*
 
 %dir %{_datadir}/dbus-1
 %dir %{_datadir}/dbus-1/services

++++++ darkman-v2.0.1.tar.bz2 -> darkman-v2.3.1.tar.bz2 ++++++
++++ 3794 lines of diff (skipped)

++++++ vendor.tar.zst ++++++
++++ 31473 lines of diff (skipped)

Reply via email to