[packages/kde4-kdelibs] - rel 2; recognize mouse/keyboard battery
arekm
arekm at pld-linux.org
Tue Mar 26 20:20:30 CET 2013
commit 241effd1692edd5777f59979f68775c33dac6140
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Mar 26 20:19:57 2013 +0100
- rel 2; recognize mouse/keyboard battery
kde4-kdelibs-mouse-keyboard-upower.patch | 11 +++++++++++
kde4-kdelibs.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/kde4-kdelibs.spec b/kde4-kdelibs.spec
index 44976a5..075832e 100644
--- a/kde4-kdelibs.spec
+++ b/kde4-kdelibs.spec
@@ -17,7 +17,7 @@ Summary(ru.UTF-8): K Desktop Environment - Библиотеки
Summary(uk.UTF-8): K Desktop Environment - Бібліотеки
Name: kde4-kdelibs
Version: 4.10.1
-Release: 1
+Release: 2
License: LGPL
Group: X11/Libraries
Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
@@ -29,6 +29,7 @@ Patch1: %{name}-cacert.patch
Patch2: %{name}-findlzmafix.patch
Patch3: %{name}-aboutPLD.patch
Patch4: %{name}-devicemanager_remove.patch
+Patch5: %{name}-mouse-keyboard-upower.patch
URL: http://www.kde.org/
BuildRequires: OpenEXR-devel >= 1.2.2
BuildRequires: Qt3Support-devel >= %{qtver}
@@ -240,6 +241,7 @@ KDE.
%patch2 -p0
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%if "%{pld_release}" == "ti"
sed -i -e 's#PLDLINUX_VERSION#PLD/Titanium#g' kio/kio/kprotocolmanager.cpp
diff --git a/kde4-kdelibs-mouse-keyboard-upower.patch b/kde4-kdelibs-mouse-keyboard-upower.patch
new file mode 100644
index 0000000..1c535f2
--- /dev/null
+++ b/kde4-kdelibs-mouse-keyboard-upower.patch
@@ -0,0 +1,11 @@
+--- x/solid/solid/backends/upower/upowerdevice.cpp 2013-03-01 07:26:14.555774261 +0100
++++ x/solid/solid/backends/upower/upowerdevice.cpp 2013-03-26 20:13:35.925180209 +0100
+@@ -83,7 +83,7 @@
+ case Solid::DeviceInterface::GenericInterface:
+ return true;
+ case Solid::DeviceInterface::Battery:
+- return (uptype == 2 || uptype == 3);
++ return (uptype == 2 || uptype == 3 || uptype == 5 || uptype == 6);
+ case Solid::DeviceInterface::AcAdapter:
+ return (uptype == 1);
+ default:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdelibs.git/commitdiff/241effd1692edd5777f59979f68775c33dac6140
More information about the pld-cvs-commit
mailing list