Hi!
I've just prepared a NMU that drops the faulty .service, as proposed.
There's no replacement yet, but window managers that implement some
sort of session persistency will autostart redshift just fine; others
might need manual start.

If full autostart is wanted, it should be implemented using XDG instead.
I'm not doing that yet, doing just the minimal change for Bullseye.


The NMU is in DELAYED/2, please shout/cancel if anything.  Debdiff attached.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ We domesticated dogs 36000 years ago; together we chased
⣾⠁⢠⠒⠀⣿⡁ animals, hung out and licked or scratched our private parts.
⢿⡄⠘⠷⠚⠋⠀ Cats domesticated us 9500 years ago, and immediately we got
⠈⠳⣄⠀⠀⠀⠀ agriculture, towns then cities.     -- whitroth on /.
diff -Nru redshift-1.12/debian/changelog redshift-1.12/debian/changelog
--- redshift-1.12/debian/changelog      2021-04-21 13:34:47.000000000 +0200
+++ redshift-1.12/debian/changelog      2021-06-23 14:55:39.000000000 +0200
@@ -1,3 +1,11 @@
+redshift (1.12-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop broken systemd-based startup, without a replacement for now.
+    Closes: #892275
+
+ -- Adam Borowski <kilob...@angband.pl>  Wed, 23 Jun 2021 14:55:39 +0200
+
 redshift (1.12-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru redshift-1.12/debian/redshift-gtk.install 
redshift-1.12/debian/redshift-gtk.install
--- redshift-1.12/debian/redshift-gtk.install   2020-12-12 17:43:43.000000000 
+0100
+++ redshift-1.12/debian/redshift-gtk.install   2021-06-23 14:53:25.000000000 
+0200
@@ -1,6 +1,5 @@
 usr/bin/redshift-gtk
 usr/lib/python*
-usr/lib/systemd/user/redshift-gtk.service
 usr/share/applications/redshift-gtk.desktop
 usr/share/icons
 usr/share/metainfo/redshift-gtk.metainfo.xml
diff -Nru redshift-1.12/debian/redshift.install 
redshift-1.12/debian/redshift.install
--- redshift-1.12/debian/redshift.install       2020-12-12 17:43:43.000000000 
+0100
+++ redshift-1.12/debian/redshift.install       2021-06-23 14:53:15.000000000 
+0200
@@ -1,6 +1,5 @@
 etc/apparmor.d/usr.bin.redshift
 usr/bin/redshift
-usr/lib/systemd/user/redshift.service
 usr/share/applications/redshift.desktop
 usr/share/locale
 usr/share/man/man1/redshift.1
diff -Nru redshift-1.12/debian/rules redshift-1.12/debian/rules
--- redshift-1.12/debian/rules  2021-04-21 13:34:44.000000000 +0200
+++ redshift-1.12/debian/rules  2021-06-23 14:54:20.000000000 +0200
@@ -12,7 +12,6 @@
 override_dh_auto_configure:
        intltoolize --force
        dh_auto_configure -- \
-               --with-systemduserunitdir=/usr/lib/systemd/user/ \
                --enable-randr --enable-vidmode \
                --enable-geoclue2 --disable-geoclue \
                --enable-ubuntu --enable-apparmor

Reply via email to