r51477 - in /desktop/unstable/gnome-applets/debian: changelog control control.in rules

mitya57 at users.alioth.debian.org mitya57 at users.alioth.debian.org
Mon Oct 17 10:37:51 UTC 2016


Author: mitya57
Date: Mon Oct 17 10:37:45 2016
New Revision: 51477

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=51477
Log:
* Set --with-cpufreq-lib=cpupower when building on Linux.
* Build-depend on libcpupower1 to work around #840852.

Modified:
    desktop/unstable/gnome-applets/debian/changelog
    desktop/unstable/gnome-applets/debian/control
    desktop/unstable/gnome-applets/debian/control.in
    desktop/unstable/gnome-applets/debian/rules

Modified: desktop/unstable/gnome-applets/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-applets/debian/changelog?rev=51477&op=diff
==============================================================================
--- desktop/unstable/gnome-applets/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gnome-applets/debian/changelog	[utf-8] Mon Oct 17 10:37:45 2016
@@ -1,3 +1,10 @@
+gnome-applets (3.22.0-2) UNRELEASED; urgency=medium
+
+  * Set --with-cpufreq-lib=cpupower when building on Linux.
+  * Build-depend on libcpupower1 to work around #840852.
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Mon, 17 Oct 2016 13:35:23 +0300
+
 gnome-applets (3.22.0-1) experimental; urgency=medium
 
   * New upstream release.

Modified: desktop/unstable/gnome-applets/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-applets/debian/control?rev=51477&op=diff
==============================================================================
--- desktop/unstable/gnome-applets/debian/control	[utf-8] (original)
+++ desktop/unstable/gnome-applets/debian/control	[utf-8] Mon Oct 17 10:37:45 2016
@@ -17,6 +17,7 @@
                gnome-settings-daemon-dev,
                intltool (>= 0.35.0),
                libcpufreq-dev,
+               libcpupower1 [linux-any],
                libdbus-1-dev (>= 1.1.2),
                libdbus-glib-1-dev (>= 0.74),
                libglib2.0-dev (>= 2.44.0),

Modified: desktop/unstable/gnome-applets/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-applets/debian/control.in?rev=51477&op=diff
==============================================================================
--- desktop/unstable/gnome-applets/debian/control.in	[utf-8] (original)
+++ desktop/unstable/gnome-applets/debian/control.in	[utf-8] Mon Oct 17 10:37:45 2016
@@ -13,6 +13,7 @@
                gnome-settings-daemon-dev,
                intltool (>= 0.35.0),
                libcpufreq-dev,
+               libcpupower1 [linux-any],
                libdbus-1-dev (>= 1.1.2),
                libdbus-glib-1-dev (>= 0.74),
                libglib2.0-dev (>= 2.44.0),

Modified: desktop/unstable/gnome-applets/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-applets/debian/rules?rev=51477&op=diff
==============================================================================
--- desktop/unstable/gnome-applets/debian/rules	[utf-8] (original)
+++ desktop/unstable/gnome-applets/debian/rules	[utf-8] Mon Oct 17 10:37:45 2016
@@ -1,12 +1,18 @@
 #!/usr/bin/make -f
 
 export DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+cpufreq_arg =
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+	cpufreq_arg = --with-cpufreq-lib=cpupower
+endif
 
 %:
 	dh $@ --with autoreconf,gnome
 
 override_dh_auto_configure:
-	dh_auto_configure -- --libdir=$$\{prefix}/lib \
+	dh_auto_configure -- --libdir=$$\{prefix}/lib $(cpufreq_arg) \
 	--enable-ipv6 \
 	--enable-suid=no
 




More information about the pkg-gnome-commits mailing list