Hello community, here is the log from the commit of package redshift for openSUSE:Factory checked in at 2015-02-22 17:26:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2014-11-26 10:34:00.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.redshift.new/redshift.changes 2015-02-22 17:26:57.000000000 +0100 @@ -1,0 +2,23 @@ +Fri Feb 20 22:30:41 UTC 2015 - mimi.vx@gmail.com + +- spec-cleaned spec file +- use geoclue2 instead geoclue +- Update to 1.10 + * Fix #80: Add Geoclue2 location provider. + * Add hooks for user actions on period switch. + * Be less verbose when color values/period did not change. + * Add config setting to set gamma separately for day/night. + * Add support for custom transition start and end elevation (Mattias Andrée). + * redshift-gtk: Show errors from child process in a dialog. + * Fix #95: Add AppData file for package managers. + * Fix #41: Do not jump to 0 % or 100 % when changing direction of transition (Mattias Andrée). + * redshift-gtk: Relay USR1 signal to redshift process. + * redshift-gtk: Notify desktop about startup completion. + * Fix: systemd unit files were built from the wrong source. + * Fix #90: Print N/S and E/W in the location (Mattias Andrée). + * Fix #112: redshift-gtk: Do not buffer lines from child indefinitely. + * Fix #105: Limit decimals in displayed location to two. + * Update dependencies listed in HACKING.md (emilf, Kees Hink). + * Fix: Make desktop file translatable. + +------------------------------------------------------------------- Old: ---- v1.9.1.tar.gz New: ---- redshift-1.10.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ redshift.spec ++++++ --- /var/tmp/diff_new_pack.kNWCiB/_old 2015-02-22 17:26:57.000000000 +0100 +++ /var/tmp/diff_new_pack.kNWCiB/_new 2015-02-22 17:26:57.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package redshift # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,30 +17,31 @@ Name: redshift -Version: 1.9.1 +Version: 1.10 Release: 0 Summary: Adjusts the color temperature of your screen License: GPL-3.0 Group: System/X11/Utilities Url: http://jonls.dk/redshift/ +Source: http://launchpad.net/redshift/trunk/v%{version}/+download/%{name}-%{version}.tar.xz BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes BuildRequires: gettext-tools BuildRequires: hicolor-icon-theme -BuildRequires: python3-devel +BuildRequires: intltool BuildRequires: update-desktop-files BuildRequires: pkgconfig(gconf-2.0) -BuildRequires: pkgconfig(geoclue) +BuildRequires: pkgconfig(geoclue-2.0) +BuildRequires: pkgconfig(python3) +BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xxf86vm) Requires: python3-xdg BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: https://github.com/jonls/redshift/archive/v%{version}.tar.gz - -%{py_requires} +%py_requires %description Redshift adjusts the color temperature of your screen according to your surroundings. @@ -58,17 +59,22 @@ %setup -q %build -./bootstrap +#./bootstrap # disable systemd unit installation, not really sure how that's expected to work -%configure --enable-gui --enable-geoclue --enable-randr --enable-vidmode \ +%configure --enable-gui --disable-geoclue --enable-geoclue2 --enable-randr --enable-vidmode \ --with-systemduserunitdir=no -make +make %{?_smp_mflags} %install -%{?make_install} %{!?make_install:%makeinstall} +%{?make_install} %{!?make_install:make DESTDIR=%{buildroot} install %{?_smp_mflags}} %fdupes %{buildroot}%{python3_sitelib} %suse_update_desktop_file redshift-gtk GTK X-SuSE-DesktopUtility + +%if 0%{?suse_version} == 1310 +rm %{buildroot}%{_datadir}/appdata/redshift-gtk.appdata.xml +%endif + %find_lang %{name} %post gtk @@ -80,16 +86,19 @@ %icon_theme_cache_postun %files gtk -f %{name}.lang -%defattr(-,root,root) +%defattr(-,root,root,-) %{_bindir}/redshift-gtk %{python3_sitelib}/redshift_gtk %{_datadir}/applications/redshift-gtk.desktop %{_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 +%if 0%{?suse_version} > 1310 +%{_datadir}/appdata/redshift-gtk.appdata.xml +%endif %files -%defattr(-,root,root) +%defattr(-,root,root,-) %{_bindir}/redshift %{_mandir}/man1/redshift.1.gz -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org