[packages/redshift] up to 1.12

atler atler at pld-linux.org
Tue May 22 19:53:47 CEST 2018


commit 7e8dc93f05371282ee8dd58735b5860772a6b224
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 22 19:50:30 2018 +0200

    up to 1.12
    
    - geoclue provider dropped (geoclue2 used exclusively now)
    - updated BRs

 redshift-geoclue-provider.patch | 14 --------------
 redshift.spec                   | 20 ++++++++------------
 2 files changed, 8 insertions(+), 26 deletions(-)
---
diff --git a/redshift.spec b/redshift.spec
index 97283a4..1b9ba9d 100644
--- a/redshift.spec
+++ b/redshift.spec
@@ -1,31 +1,27 @@
 Summary:	Adjusts the color temperature of your screen according to time of day
 Name:		redshift
-Version:	1.11
-Release:	2
+Version:	1.12
+Release:	1
 License:	GPL v3+
 Group:		Applications/System
 Source0:	https://github.com/jonls/redshift/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5:	a31d768b0348c5202e58612855a9027e
-# Remove Ubuntu specific geoclue provider
-Patch0:		%{name}-geoclue-provider.patch
-# https://bugs.launchpad.net/redshift/+bug/888661
-# http://bazaar.launchpad.net/~jonls/redshift/trunk/revision/165
+# Source0-md5:	5d04f2413dacdf3434cb86f373842462
 URL:		http://jonls.dk/redshift/
-BuildRequires:	GConf2-devel
 BuildRequires:	autoconf >= 2.69
 BuildRequires:	automake
 BuildRequires:	desktop-file-utils
-BuildRequires:	geoclue-devel
 BuildRequires:	gettext-tools >= 0.17
 BuildRequires:	glib2-devel >= 1:2.26
 BuildRequires:	intltool >= 0.50
 BuildRequires:	libdrm-devel
+BuildRequires:	libtool
 BuildRequires:	libxcb-devel
 BuildRequires:	pkgconfig
 BuildRequires:	python3 >= 3.2
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:	sed >= 4.0
+BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xorg-lib-libXxf86vm-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -56,7 +52,6 @@ temperature adjustment program.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %{__sed} -i -e '1s,^#!.*python3,#!%{__python3},' src/redshift-gtk/redshift-gtk.in
 
@@ -75,7 +70,8 @@ temperature adjustment program.
 	--enable-geoclue2 \
 	--enable-gui \
 	--enable-randr \
-	--enable-vidmode
+	--enable-vidmode \
+	--with-systemduserunitdir=%{systemduserunitdir}
 %{__make}
 
 %install
@@ -100,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc DESIGN HACKING NEWS README README-colorramp redshift.conf.sample
+%doc CONTRIBUTING.md DESIGN NEWS README README-colorramp redshift.conf.sample
 %attr(755,root,root) %{_bindir}/redshift
 %{_mandir}/man1/redshift.1*
 
diff --git a/redshift-geoclue-provider.patch b/redshift-geoclue-provider.patch
deleted file mode 100644
index 0de08e3..0000000
--- a/redshift-geoclue-provider.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/redshift.git/commitdiff/7e8dc93f05371282ee8dd58735b5860772a6b224



More information about the pld-cvs-commit mailing list