Bug#748934: fails to build from source with upower 0.99

Andreas Henriksson andreas at fatal.se
Thu May 22 11:26:27 UTC 2014


Package: mate-session-manager
Version: 1.8.1-2
User: pkg-utopia-maintainers at lists.alioth.debian.org
Usertags: upower-1.0

We're preparing to transition the new upower release
into unstable. The new version breaks the API/ABI
and will in some cases require porting.

Reverse dependencies has been build-tested and your
package failed to build.

Build log can be found at:
http://people.debian.org/~biebl/upower-1.0/

For more information see:
http://lists.freedesktop.org/archives/devkit-devel/2013-October/001519.html
http://www.hadess.net/2013/10/more-power-management-changes.html

I've attached a patch for your convenience which disables
the upower backend (and relies on the logind fallback).
This seems to be the recommended way by upstream.

-------------- next part --------------
diff -uriNp mate-session-manager-1.8.1/debian/changelog u1-mate-session-manager-1.8.1/debian/changelog
--- mate-session-manager-1.8.1/debian/changelog	2014-05-05 14:28:44.000000000 +0200
+++ u1-mate-session-manager-1.8.1/debian/changelog	2014-05-22 11:09:14.344348878 +0200
@@ -1,3 +1,15 @@
+mate-session-manager (1.8.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add --disable-upower to debian/rules
+    - the upower code only works with << 0.99
+    - this makes mate-session-manager rely on logind
+      (which was previously a fallback option after upower)
+    - kfreebsd? non suspend support for you!
+  * Drop libupower-glib-dev build-dependency and upower dependency
+
+ -- Andreas Henriksson <andreas at fatal.se>  Thu, 22 May 2014 11:02:21 +0200
+
 mate-session-manager (1.8.1-2) unstable; urgency=medium
 
   [ Mike Gabriel ]
diff -uriNp mate-session-manager-1.8.1/debian/control u1-mate-session-manager-1.8.1/debian/control
--- mate-session-manager-1.8.1/debian/control	2014-05-05 14:20:23.000000000 +0200
+++ u1-mate-session-manager-1.8.1/debian/control	2014-05-22 11:03:27.510220629 +0200
@@ -11,7 +11,6 @@ Build-Depends: debhelper (>= 9),
                intltool,
                libglib2.0-dev,
                libgtk2.0-dev,
-               libupower-glib-dev,
                libdbus-glib-1-dev,
                libstartup-notification0-dev,
                libsm-dev,
@@ -35,8 +34,7 @@ Package: mate-session-manager
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         dbus-x11,
-         upower
+         dbus-x11
 Recommends: mate-settings-daemon,
             mate-panel,
             marco,
diff -uriNp mate-session-manager-1.8.1/debian/rules u1-mate-session-manager-1.8.1/debian/rules
--- mate-session-manager-1.8.1/debian/rules	2014-04-09 00:45:27.000000000 +0200
+++ u1-mate-session-manager-1.8.1/debian/rules	2014-05-22 11:02:15.436157915 +0200
@@ -19,6 +19,7 @@ override_dh_auto_configure:
 		--localstatedir=/var/lib \
 		--libexecdir=/usr/lib \
 		--disable-introspection \
+		--disable-upower \
 		--with-gtk=2.0
 
 override_dh_strip:


More information about the pkg-mate-team mailing list