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

2014-05-30 Thread Stefano Karapetsas

On 2014-05-22 13:26, Andreas Henriksson wrote:

Package: mate-session-manager
Version: 1.8.1-2
User: pkg-utopia-maintain...@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.



Mike, Vangelis,
we need to build mate-session-manager with --disable-upower to fix build 
with upower-0.99.


Stefano

___
pkg-mate-team mailing list
pkg-mate-t...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mate-team


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2014-05-22 Thread Andreas Henriksson
Package: mate-session-manager
Version: 1.8.1-2
User: pkg-utopia-maintain...@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.

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.0 
+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   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.0 
+0200
+++ u1-mate-session-manager-1.8.1/debian/control2014-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.0 
+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: