Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Switch to libcpupower usage. (Closes: #930783).
· 8a80121f
Frédéric Bonnard
authored
Jun 20, 2019
and
Mike Gabriel
committed
Aug 09, 2019
8a80121f
upload to unstable (debian/1.22.1-2)
· a29578af
Mike Gabriel
authored
Aug 09, 2019
a29578af
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
a29578af
mate-applets (1.22.1-2) unstable; urgency=medium
[ Frédéric Bonnard ]
* Switch to libcpupower usage. (Closes: #930783).
-- Mike Gabriel <sunweaver@debian.org> Fri, 09 Aug 2019 10:56:01 +0200
mate-applets (1.22.1-1) unstable; urgency=medium
[ Martin Wimpress ]
...
...
debian/control
View file @
a29578af
...
...
@@ -13,7 +13,7 @@ Build-Depends: cdbs,
dh-exec,
dpkg-dev (>= 1.16.1.1),
intltool,
libcpu
freq
-dev,
libcpu
power
-dev,
libdbus-1-dev,
libdbus-glib-1-dev,
libglib2.0-dev,
...
...
debian/patches/1000-fix-build-on-linux-4.7-or-newer.patch
deleted
100644 → 0
View file @
51d52f52
Description: Fix building on systems with Linux >= 4.7
Author: Martin Wimpress <code@flexion.org>
diff -rupN a/cpufreq/src/cpufreq-monitor-libcpufreq.c b/cpufreq/src/cpufreq-monitor-libcpufreq.c
--- a/cpufreq/src/cpufreq-monitor-libcpufreq.c
+++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c
@@ -111,11 +111,7 @@
cpufreq_monitor_libcpufreq_run (CPUFreqM
/* Check whether it failed because
* cpu is not online.
*/
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0)
if (!cpufreq_cpu_exists (cpu)) {
-#else
- if (cpupower_is_cpu_online (cpu)) {
-#endif
g_object_set (G_OBJECT (monitor), "online", FALSE, NULL);
return TRUE;
}
debian/patches/series
deleted
100644 → 0
View file @
51d52f52
1000-fix-build-on-linux-4.7-or-newer.patch
debian/rules
View file @
a29578af
...
...
@@ -23,7 +23,7 @@ DEB_CONFIGURE_EXTRA_FLAGS += \
--libexecdir=/usr/lib/mate-applets \
--localstatedir=/var \
--disable-static \
--with-cpufreq-lib=cpu
freq
--with-cpufreq-lib=cpu
power
common-install-indep:: remove-cruft
common-install-arch:: remove-cruft
...
...