rpms/gnome-lirc-properties/devel .cvsignore, 1.4, 1.5 glp-fedora-support.patch, 1.4, 1.5 gnome-lirc-properties.spec, 1.21, 1.22 sources, 1.4, 1.5 glp-dont-use-fluendo-remotes.patch, 1.1, NONE glp-remove-snapstream.patch, 1.1, NONE new-dbus-auth.patch, 1.1, NONE
Bastien Nocera
hadess at fedoraproject.org
Tue Sep 15 09:46:50 UTC 2009
- Previous message (by thread): rpms/man-pages-cs/devel man-pages-0.18.20090209-inst.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 man-pages-cs.spec, 1.24, 1.25 sources, 1.10, 1.11
- Next message (by thread): rpms/netcf/devel netcf-0.1.0-fix-initialization-of-libxslt.patch, NONE, 1.1 netcf.spec, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: hadess
Update of /cvs/pkgs/rpms/gnome-lirc-properties/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9257
Modified Files:
.cvsignore glp-fedora-support.patch gnome-lirc-properties.spec
sources
Removed Files:
glp-dont-use-fluendo-remotes.patch glp-remove-snapstream.patch
new-dbus-auth.patch
Log Message:
* Tue Sep 15 2009 Bastien Nocera <bnocera at redhat.com> 0.4.0-1
- Update to 0.4.0
- Port to polkit 1.0
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-lirc-properties/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- .cvsignore 27 Oct 2008 17:32:33 -0000 1.4
+++ .cvsignore 15 Sep 2009 09:46:49 -0000 1.5
@@ -1 +1 @@
-gnome-lirc-properties-0.3.1.tar.gz
+gnome-lirc-properties-0.4.0.tar.gz
glp-fedora-support.patch:
backend.py | 49 ++++++++++++++++++++----------------------
config.py.in | 2 -
ui/RemoteControlProperties.py | 4 +--
3 files changed, 27 insertions(+), 28 deletions(-)
Index: glp-fedora-support.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-lirc-properties/devel/glp-fedora-support.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- glp-fedora-support.patch 27 Oct 2008 17:32:34 -0000 1.4
+++ glp-fedora-support.patch 15 Sep 2009 09:46:49 -0000 1.5
@@ -1,54 +1,8 @@
-Index: gnome_lirc_properties/config.py.in
-===================================================================
---- gnome_lirc_properties/config.py.in (revision 44)
-+++ gnome_lirc_properties/config.py.in (working copy)
-@@ -12,7 +12,7 @@
-
- LIRC_CONFDIR = '@with_lirc_confdir@'
-
--LIRC_HARDWARE_CONF = path.join(LIRC_CONFDIR, 'hardware.conf')
-+LIRC_HARDWARE_CONF = path.join('@sysconfdir@', 'sysconfig', 'lirc')
- LIRC_REMOTE_CONF = path.join(LIRC_CONFDIR, 'lircd.conf.gnome')
- LIRC_DAEMON_CONF = path.join(LIRC_CONFDIR, 'lircd.conf')
-
-Index: gnome_lirc_properties/ui/RemoteControlProperties.py
-===================================================================
---- gnome_lirc_properties/ui/RemoteControlProperties.py (revision 44)
-+++ gnome_lirc_properties/ui/RemoteControlProperties.py (working copy)
-@@ -297,13 +297,13 @@
- #
- # NOTE: Ubuntu's lirc script doesn't distinguish between remote and
- # receiver settings in "hardware.conf", whereas we have to. For that
-- # reason the device node's name is stored in REMOTE_DEVICE, instead
-+ # reason the device node's name is stored in LIRC_DEVICE, instead
- # of RECEIVER_DEVICE.
- #
- self.selected_receiver = (
- settings.get('RECEIVER_VENDOR'),
- settings.get('RECEIVER_MODEL'),
-- settings.get('REMOTE_DEVICE'),
-+ settings.get('LIRC_DEVICE'),
- )
-
- # Try to select configured remote vendor:
-Index: data/gnome-lirc-properties.desktop.in.in
-===================================================================
---- data/gnome-lirc-properties.desktop.in.in (revision 44)
-+++ data/gnome-lirc-properties.desktop.in.in (working copy)
-@@ -7,7 +7,7 @@
- Exec=@prefix@/bin/gnome-lirc-properties
- Icon=gnome-lirc-properties
- StartupNotify=true
--Categories=GNOME;GTK;Settings;HardwareSettings;System;
-+Categories=GNOME;GTK;Settings;HardwareSettings;
- X-GNOME-Bugzilla-Bugzilla=GNOME
- X-GNOME-Bugzilla-Product=gnome-lirc-properties
- X-GNOME-Bugzilla-Component=general
-Index: gnome_lirc_properties/backend.py
-===================================================================
---- gnome_lirc_properties/backend.py (revision 76)
-+++ gnome_lirc_properties/backend.py (working copy)
-@@ -494,8 +494,8 @@
+diff --git a/gnome_lirc_properties/backend.py b/gnome_lirc_properties/backend.py
+index 881b7df..1bff4c1 100644
+--- a/gnome_lirc_properties/backend.py
++++ b/gnome_lirc_properties/backend.py
+@@ -494,8 +494,8 @@ class BackendService(PolicyKitService):
# The "REMOTE_" prefix is made optional, since it only was introduced
# with lirc 0.8.3~pre1-0ubuntu4 of Hardy Heron.
@@ -59,15 +13,14 @@ Index: gnome_lirc_properties/backend.py
__re_start_lircd = re.compile(r'^\s*START_LIRCD=')
def __init__(self, connection=None, path='/'):
-@@ -593,40 +593,37 @@
- print >> output, ('%s"%s"' % (match.group(0), ShellQuote.shellquote(value)))
+@@ -599,22 +599,23 @@ class BackendService(PolicyKitService):
+ print >> output, ('%s"%s"' % (match.group(0), ShellQuote.shellquote(value)))
continue
- # Deal with the START_LIRCD line:
-+ output.write(line)
-
+-
- match = self.__re_start_lircd.match(line)
-+ # Check whether we need to enable or disable lircd
++ output.write(line)
- if match:
- # pychecker says "Using a conditional statement with a constant value (true)",
@@ -76,6 +29,10 @@ Index: gnome_lirc_properties/backend.py
- # below ('condition and true_value or false_value') is the recommended aquivalent.
- value = (start_lircd is None) and 'true' or start_lircd
- start_lircd = None
++ # Check whether we need to enable or disable lircd
+
+- print >> output, (match.group(0) + ShellQuote.shellquote(value))
+- continue
+ # pychecker says "Using a conditional statement with a constant value (true)",
+ # which is ridicilous, considering Python 2.4 doesn't have conditional statements
+ # yet (PEP 308, aka. 'true_value if condition else false_value') and the expression
@@ -83,8 +40,7 @@ Index: gnome_lirc_properties/backend.py
+ value = (start_lircd is None) and 'true' or start_lircd
+ start_lircd = None
-- print >> output, (match.group(0) + ShellQuote.shellquote(value))
-- continue
+- output.write(line)
+ if 'true' == value:
+ args = '/sbin/chkconfig', 'lirc', 'on'
+ os.spawnv(os.P_WAIT, args[0], args)
@@ -92,11 +48,9 @@ Index: gnome_lirc_properties/backend.py
+ args = '/sbin/chkconfig', 'lirc', 'off'
+ os.spawnv(os.P_WAIT, args[0], args)
-- output.write(line)
--
# Write out any values that were not already in the file,
# and therefore just replaced:
-
+@@ -622,17 +623,13 @@ class BackendService(PolicyKitService):
if remote_values:
print >> output, '\n# Remote settings required by gnome-lirc-properties'
for key, value in remote_values.items():
@@ -115,7 +69,7 @@ Index: gnome_lirc_properties/backend.py
# Replace old file with new contents:
os.unlink(oldfile)
-@@ -647,10 +644,10 @@
+@@ -653,10 +650,10 @@ class BackendService(PolicyKitService):
self._check_permission(sender)
remote_values = {
@@ -129,7 +83,7 @@ Index: gnome_lirc_properties/backend.py
'LIRCD_CONF': '',
}
-@@ -773,10 +770,12 @@
+@@ -779,10 +776,12 @@ class BackendService(PolicyKitService):
raise AccessDeniedException
if 'enable' == action:
@@ -144,3 +98,36 @@ Index: gnome_lirc_properties/backend.py
else:
args = '/etc/init.d/lirc', action
+diff --git a/gnome_lirc_properties/config.py.in b/gnome_lirc_properties/config.py.in
+index 69b232c..68b435c 100644
+--- a/gnome_lirc_properties/config.py.in
++++ b/gnome_lirc_properties/config.py.in
+@@ -12,7 +12,7 @@ PACKAGE_DIR = path.join('@prefix@', 'share', '@PACKAGE@')
+
+ LIRC_CONFDIR = '@with_lirc_confdir@'
+
+-LIRC_HARDWARE_CONF = path.join(LIRC_CONFDIR, 'hardware.conf')
++LIRC_HARDWARE_CONF = path.join('@sysconfdir@', 'sysconfig', 'lirc')
+ LIRC_REMOTE_CONF = path.join(LIRC_CONFDIR, 'lircd.conf.gnome')
+ LIRC_DAEMON_CONF = path.join(LIRC_CONFDIR, 'lircd.conf')
+
+diff --git a/gnome_lirc_properties/ui/RemoteControlProperties.py b/gnome_lirc_properties/ui/RemoteControlProperties.py
+index e65af35..f6e3fd4 100644
+--- a/gnome_lirc_properties/ui/RemoteControlProperties.py
++++ b/gnome_lirc_properties/ui/RemoteControlProperties.py
+@@ -296,13 +296,13 @@ class RemoteControlProperties(object):
+ #
+ # NOTE: Ubuntu's lirc script doesn't distinguish between remote and
+ # receiver settings in "hardware.conf", whereas we have to. For that
+- # reason the device node's name is stored in REMOTE_DEVICE, instead
++ # reason the device node's name is stored in LIRC_DEVICE, instead
+ # of RECEIVER_DEVICE.
+ #
+ self.selected_receiver = (
+ settings.get('RECEIVER_VENDOR'),
+ settings.get('RECEIVER_MODEL'),
+- settings.get('REMOTE_DEVICE'),
++ settings.get('LIRC_DEVICE'),
+ )
+
+ # Try to select configured remote vendor:
Index: gnome-lirc-properties.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-lirc-properties/devel/gnome-lirc-properties.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- gnome-lirc-properties.spec 11 Aug 2009 21:42:33 -0000 1.21
+++ gnome-lirc-properties.spec 15 Sep 2009 09:46:50 -0000 1.22
@@ -1,13 +1,12 @@
-%define _default_patch_fuzz 2
-%define polkit_minver 0.8-3
-%define lirc_ver 0.8.4-2
+%define polkit_minver 0.95-0.git20090913.2
+%define lirc_ver 0.8.6-1
# Python sitelib macro trick from http://fedoraproject.org/wiki/PackagingDrafts/Python
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: gnome-lirc-properties
-Version: 0.3.1
-Release: 6%{?dist}
+Version: 0.4.0
+Release: 1%{?dist}
Summary: Infrared Remote Controls setup tool
Group: User Interface/X Hardware Support
@@ -15,32 +14,24 @@ License: GPLv2+
URL: http://svn.gnome.org/svn/gnome-lirc-properties/trunk
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-lirc-properties/0.3/%{name}-%{version}.tar.gz
# http://bugzilla.gnome.org/show_bug.cgi?id=530359 and blockers
-# http://bugzilla.gnome.org/show_bug.cgi?id=540897
-# and We have the patches in a 0.8.3 version in Fedora
Patch0: glp-fedora-support.patch
-# http://bugzilla.gnome.org/show_bug.cgi?id=556585
-Patch1: glp-dont-use-fluendo-remotes.patch
-# https://bugzilla.redhat.com/show_bug.cgi?id=467340
-# http://bugzilla.gnome.org/show_bug.cgi?id=557429
-Patch2: glp-remove-snapstream.patch
-# http://bugzilla.gnome.org/show_bug.cgi?id=563853
-Patch3: new-dbus-auth.patch
-# http://git.gnome.org/cgit/gnome-lirc-properties/commit/?id=1f4673de56facbefbed6adb9465c358fbe93b0bc
-Patch4: fix-default-config-name-quoting.patch
+# https://bugzilla.gnome.org/show_bug.cgi?id=594899
+Patch1: 0001-Port-to-PolicyKit-1.0.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-Requires: python >= 2.3
-Requires: PolicyKit >= %{polkit_minver}
+Requires: python >= 2.5
+Requires: polkit >= %{polkit_minver}
Requires: pygtk2
Requires: lirc >= %{lirc_ver} lirc-remotes >= %{lirc_ver}
BuildRequires: intltool
BuildRequires: python-devel >= 2.3
-BuildRequires: PolicyKit-gnome-devel >= %{polkit_minver} gtk2-devel
+BuildRequires: polkit-devel >= %{polkit_minver} gtk2-devel
BuildRequires: gnome-doc-utils
BuildRequires: lirc >= %{lirc_ver} lirc-remotes >= %{lirc_ver}
BuildRequires: desktop-file-utils
+BuildRequires: automake autoconf
BuildArch: noarch
@@ -50,14 +41,13 @@ the LIRC framework.
%prep
%setup -q
-%patch0 -p0 -b .fedora
-%patch1 -p0 -b .no-fluendo-remotes
-%patch2 -p0
-%patch3 -p1
-%patch4 -p1
+%patch0 -p1 -b .fedora
+%patch1 -p1 -b .polkit1
+
+autoreconf
%build
-%configure --disable-conf-check --with-lirc-confdir=%{_sysconfdir} --with-remotes-database=%{_datadir}/lirc-remotes/
+%configure --disable-conf-check --with-lirc-confdir=%{_sysconfdir}/lirc --with-remotes-database=%{_datadir}/lirc-remotes/
make
@@ -105,6 +95,10 @@ fi
%{_datadir}/%{name}/
%changelog
+* Tue Sep 15 2009 Bastien Nocera <bnocera at redhat.com> 0.4.0-1
+- Update to 0.4.0
+- Port to polkit 1.0
+
* Tue Aug 11 2009 Bastien Nocera <bnocera at redhat.com> 0.3.1-6
- Fix source URL
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-lirc-properties/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources 27 Oct 2008 17:32:34 -0000 1.4
+++ sources 15 Sep 2009 09:46:50 -0000 1.5
@@ -1 +1 @@
-6bb73e97ec08969c27d59cf578bc349f gnome-lirc-properties-0.3.1.tar.gz
+672a58a3d80fa0573527381db5dd14f9 gnome-lirc-properties-0.4.0.tar.gz
--- glp-dont-use-fluendo-remotes.patch DELETED ---
--- glp-remove-snapstream.patch DELETED ---
--- new-dbus-auth.patch DELETED ---
- Previous message (by thread): rpms/man-pages-cs/devel man-pages-0.18.20090209-inst.patch, NONE, 1.1 .cvsignore, 1.10, 1.11 man-pages-cs.spec, 1.24, 1.25 sources, 1.10, 1.11
- Next message (by thread): rpms/netcf/devel netcf-0.1.0-fix-initialization-of-libxslt.patch, NONE, 1.1 netcf.spec, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list