[redshift] Update to 1.7
kmilos
kmilos at fedoraproject.org
Sat Jul 9 13:49:50 UTC 2011
commit 5aa38f7cdf04128f48f39b6de10b8c4ce7e95741
Author: Miloš Komarčević <kmilos at gmail.com>
Date: Sat Jul 9 14:46:14 2011 +0100
Update to 1.7
.gitignore | 3 +--
redshift-bonobo_iid-fix.patch | 32 --------------------------------
redshift-geoclue-provider.patch | 14 ++++++++++++++
redshift.spec | 16 ++++++++++------
sources | 2 +-
5 files changed, 26 insertions(+), 41 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 25b4f83..8b622fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/redshift-1.5.tar.bz2
-/redshift-1.6.tar.bz2
+/redshift-1.7.tar.bz2
diff --git a/redshift-geoclue-provider.patch b/redshift-geoclue-provider.patch
new file mode 100644
index 0000000..0de08e3
--- /dev/null
+++ b/redshift-geoclue-provider.patch
@@ -0,0 +1,14 @@
+diff -ur redshift-1.7/src/location-geoclue.c redshift-1.7_geoclue_provider/src/location-geoclue.c
+--- redshift-1.7/src/location-geoclue.c 2011-03-27 23:13:10.000000000 +0100
++++ redshift-1.7_geoclue_provider/src/location-geoclue.c 2011-07-09 13:41:17.940812241 +0100
+@@ -32,8 +32,8 @@
+ # define _(s) s
+ #endif
+
+-#define DEFAULT_PROVIDER "org.freedesktop.Geoclue.Providers.UbuntuGeoIP"
+-#define DEFAULT_PROVIDER_PATH "/org/freedesktop/Geoclue/Providers/UbuntuGeoIP"
++#define DEFAULT_PROVIDER "org.freedesktop.Geoclue.Providers.Hostip"
++#define DEFAULT_PROVIDER_PATH "/org/freedesktop/Geoclue/Providers/Hostip"
+
+ int
+ location_geoclue_init(location_geoclue_state_t *state)
diff --git a/redshift.spec b/redshift.spec
index f6394d2..57d78ad 100644
--- a/redshift.spec
+++ b/redshift.spec
@@ -1,17 +1,17 @@
Name: redshift
-Version: 1.6
-Release: 3%{dist}
+Version: 1.7
+Release: 1%{dist}
Summary: Adjusts the color temperature of your screen according to time of day
Group: Applications/System
License: GPLv3+
URL: http://jonls.dk/redshift/
Source0: http://launchpad.net/redshift/trunk/%{version}/+download/%{name}-%{version}.tar.bz2
-# https://bugs.launchpad.net/redshift/+bug/706353
-Patch0: redshift-bonobo_iid-fix.patch
+Patch0: redshift-geoclue-provider.patch
BuildRequires: gettext
BuildRequires: libXrandr-devel
BuildRequires: libXxf86vm-devel
BuildRequires: GConf2-devel
+BuildRequires: geoclue-devel
%description
Redshift adjusts the color temperature of your screen according to your
@@ -50,8 +50,6 @@ make %{?_smp_mflags} V=1
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install INSTALL="install -p"
-make DESTDIR=%{buildroot} uninstall-ubuntu_mono_dark_iconDATA
-make DESTDIR=%{buildroot} uninstall-ubuntu_mono_light_iconDATA
%find_lang %{name}
desktop-file-validate %{buildroot}%{_datadir}/applications/gtk-redshift.desktop
@@ -81,6 +79,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/applications/gtk-redshift.desktop
%changelog
+* Sat Jul 9 2011 Milos Komarcevic <kmilos at gmail.com> - 1.7-1
+- Update to 1.7
+- Add geoclue BuildRequires
+- Change default geoclue provider from Ubuntu GeoIP to Hostip
+- Remove manual Ubuntu icons uninstall
+
* Sun Feb 28 2011 Milos Komarcevic <kmilos at gmail.com> - 1.6-3
- Fix for clock applet detection (#661145)
- Require pyxdg explicitly (#675804)
diff --git a/sources b/sources
index 29cfaf0..8e4cc83 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bd75b317b8ee492a4483e91a94f2b0c1 redshift-1.6.tar.bz2
+c56512afa292b5a94b715ed4a1841d4c redshift-1.7.tar.bz2
More information about the scm-commits
mailing list