Hello community, here is the log from the commit of package redshift for openSUSE:Factory checked in at 2016-01-21 23:44:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/redshift (Old) and /work/SRC/openSUSE:Factory/.redshift.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "redshift" Changes: -------- --- /work/SRC/openSUSE:Factory/redshift/redshift.changes 2016-01-17 09:23:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.redshift.new/redshift.changes 2016-01-22 01:10:11.000000000 +0100 @@ -1,0 +2,11 @@ +Tue Jan 19 16:19:58 UTC 2016 - zaitor@opensuse.org + +- Add pkgconfig(libdrm) BuildRequires: Build support for DRM + adjustement method. +- Change --with-systemduserunitdir=no to + --with-systemduserunitdir=%{_userunitdir} and package the + produced service files. Users can do systemctl enable/disable + --user redshift.service or redshift-gtk.service depending on what + package they install/want. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ redshift.spec ++++++ --- /var/tmp/diff_new_pack.5rhqrh/_old 2016-01-22 01:10:13.000000000 +0100 +++ /var/tmp/diff_new_pack.5rhqrh/_new 2016-01-22 01:10:13.000000000 +0100 @@ -33,6 +33,7 @@ BuildRequires: update-desktop-files BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(geoclue-2.0) +BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(x11) @@ -60,10 +61,8 @@ %setup -q %build -#./bootstrap -# disable systemd unit installation, not really sure how that's expected to work %configure --enable-gui --disable-geoclue --enable-geoclue2 --enable-randr --enable-vidmode \ - --with-systemduserunitdir=no + --with-systemduserunitdir=%{_userunitdir} make %{?_smp_mflags} %install @@ -93,6 +92,7 @@ %{_datadir}/icons/hicolor/scalable/apps/redshift-status-off.svg %{_datadir}/icons/hicolor/scalable/apps/redshift-status-on.svg %{_datadir}/icons/hicolor/scalable/apps/redshift.svg +%{_userunitdir}/redshift-gtk.service %if 0%{?suse_version} > 1310 %dir %{_datadir}/appdata %{_datadir}/appdata/redshift-gtk.appdata.xml @@ -103,5 +103,6 @@ %{_bindir}/redshift %{_mandir}/man1/redshift.1.gz %{_datadir}/applications/redshift.desktop +%{_userunitdir}/redshift.service %changelog