rpms/hal-info/OLPC-3 battery-fdi.patch, NONE, 1.1 hal-info.spec, 1.25, 1.26
Daniel Drake
dsd at fedoraproject.org
Tue Sep 2 16:16:39 UTC 2008
- Previous message (by thread): rpms/hal/OLPC-3 hal-battery-poll.patch, NONE, 1.1 hal.spec, 1.158, 1.159
- Next message (by thread): rpms/player/F-9 player-2.1.1-norpath.patch, NONE, 1.1 player.spec, 1.1, 1.2 player-2.1.0rc2-norpath.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dsd
Update of /cvs/pkgs/rpms/hal-info/OLPC-3
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22306
Modified Files:
hal-info.spec
Added Files:
battery-fdi.patch
Log Message:
Add battery FDI file to disable OLPC battery polling
battery-fdi.patch:
--- NEW FILE battery-fdi.patch ---
Index: hal-info-20080607/fdi/information/10freedesktop/10-battery.fdi
===================================================================
--- /dev/null
+++ hal-info-20080607/fdi/information/10freedesktop/10-battery.fdi
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->
+
+<deviceinfo version="0.2">
+ <device>
+ <match key="info.category" string="battery">
+
+ <!-- OLPC's power management system provides charge level change notifications -->
+ <match key="info.udi" contains="olpc_battery">
+ <merge key="battery.change_notifications" type="bool">true</merge>
+ </match>
+
+ </match>
+ </device>
+</deviceinfo>
Index: hal-info-20080607/fdi/information/10freedesktop/Makefile.in
===================================================================
--- hal-info-20080607.orig/fdi/information/10freedesktop/Makefile.in
+++ hal-info-20080607/fdi/information/10freedesktop/Makefile.in
@@ -86,6 +86,7 @@ am__dist_fdi_DATA_DIST = 10-usb-card-rea
10-usb-music-players.fdi 10-usb-zip-drives.fdi \
10-camera-ptp.fdi 10-usb-pda.fdi 10-usbcsr-mice.fdi \
10-laptop-panel-hardware.fdi 10-cd-dvd-burner.fdi 10-modem.fdi \
+ 10-battery.fdi \
10-dell-rfkill-switch-wlan.fdi \
10-dell-rfkill-switch-bluetooth.fdi \
10-dell-rfkill-switch-wwan.fdi 10-sony-bluetooth-switch.fdi \
@@ -201,7 +202,7 @@ fdidir = $(datadir)/hal/fdi/information/
dist_fdi_DATA = 10-usb-card-readers.fdi 10-usb-music-players.fdi \
10-usb-zip-drives.fdi 10-camera-ptp.fdi 10-usb-pda.fdi \
10-usbcsr-mice.fdi 10-laptop-panel-hardware.fdi \
- 10-cd-dvd-burner.fdi 10-modem.fdi $(am__append_1) \
+ 10-cd-dvd-burner.fdi 10-modem.fdi 10-battery.fdi $(am__append_1) \
$(am__append_2) $(am__append_3) $(am__append_4) \
$(am__append_5) $(am__append_6) $(am__append_7) \
$(am__append_8) $(am__append_9)
Index: hal-info.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hal-info/OLPC-3/hal-info.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- hal-info.spec 7 Jun 2008 22:03:27 -0000 1.25
+++ hal-info.spec 2 Sep 2008 16:16:09 -0000 1.26
@@ -1,11 +1,12 @@
Summary: Device information files for HAL
Name: hal-info
Version: 20080607
-Release: 1%{?dist}
+Release: 1%{?dist}.1
License: AFL or GPLv2
Group: System Environment/Libraries
URL: http://www.freedesktop.org/Software/hal
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
+Patch0: battery-fdi.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
Requires: hal >= 0.5.10
@@ -17,6 +18,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%configure
@@ -35,6 +37,9 @@
%{_datadir}/hal/fdi/preprobe/10osvendor/*.fdi
%changelog
+* Tue Sep 02 2008 Daniel Drake <dsd at laptop.org> - 20080607-1.1
+- Add battery FDI file to disable OLPC battery polling
+
* Sat Jun 07 2008 Dan Williams <dcbw at redhat.com> - 20080607-1
- Update to git snapshot
- Previous message (by thread): rpms/hal/OLPC-3 hal-battery-poll.patch, NONE, 1.1 hal.spec, 1.158, 1.159
- Next message (by thread): rpms/player/F-9 player-2.1.1-norpath.patch, NONE, 1.1 player.spec, 1.1, 1.2 player-2.1.0rc2-norpath.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list