Your message dated Sat, 16 May 2015 11:31:27 +0000
with message-id <e1ytajt-0003wn...@franck.debian.org>
and subject line Bug#785113: fixed in xfce4-session 4.12.1-3
has caused the Debian Bug report #785113,
regarding xfce4-session: FTBFS on hurd-i386 and a dependency bug for Linux and 
Hurd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
785113: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785113
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: xfce4-session
Version: 4.12.1-2
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd, linux

Hello,

Currently xfce4-session fails to build from source due to
UP_BACKEND_SUSPEND_COMMAND and UP_BACKEND_HIBERNATE_COMMAND not being
defined. The attached patch hurd.patch fixes that by defining GNU in
configure.ac check for that value in xfsm-shutdown-helper/main.c.

Additionally, a build-dependency of pm-utils is added to debian/control
to make sure that the pm-suspend and pm-hibernate binaries are
available. pm-utils should also be a dependency for GNU/Linux.

Additionally the package fails to build twice in a row both for both
GNU/Linux and GNU/Hurd. The second build fails with:

make[4]: Entering directory 
'/home/srs/Hurd/DEBs/linux_DEBs/xfce4-session/xfce4-session-4.12.1/xfce4-session'
make[4]: *** No rule to make target 'xfsm-marshal.c', needed by 
'xfce4_session-xfsm-marshal.o'.  Stop.
make[4]: Leaving directory 
'/home/srs/Hurd/DEBs/linux_DEBs/xfce4-session/xfce4-session-4.12.1/xfce4-session'
Makefile:554: recipe for target 'all' failed

For this no patch has been developed yet. The problem seen to be
related to xdt-autogen versus plain usage of autoreconf. The generated
Makefiles the second time comments out the target for e.g.
xfsm-marshal.c.

autoreconf fails due to that some constructs in configure.ac are different
when using xdt-autogen.

Thanks!

Index: xfce4-session-4.12.1/configure.ac
===================================================================
--- xfce4-session-4.12.1.orig/configure.ac
+++ xfce4-session-4.12.1/configure.ac
@@ -35,7 +35,7 @@ AC_PROG_MAKE_SET()
 dnl Initialize automake
 AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar no-dist-gzip])
 AC_CONFIG_HEADERS([config.h])
-AM_MAINTAINER_MODE()
+AM_MAINTAINER_MODE([enable])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 dnl Set helper path prefix
@@ -182,7 +182,7 @@ fi
 dnl Compile time default choice of backend
 AC_ARG_WITH([backend],
 	    AS_HELP_STRING([--with-backend=<option>],
-			   [Default backend to use linux, freebsd, openbsd]))
+			   [Default backend to use linux, freebsd, openbsd, gnu]))
 # default to a sane option
 AC_CANONICAL_HOST
 if test x$with_backend = x; then
@@ -190,7 +190,8 @@ if test x$with_backend = x; then
 		[*-linux*],   [with_backend=linux],
 		[*-*freebsd*], [with_backend=freebsd],
 		[*-*dragonfly*], [with_backend=freebsd],
-		[*-openbsd*], [with_backend=openbsd])
+		[*-openbsd*], [with_backend=openbsd],
+		[*-gnu*], [with_backend=gnu])
 fi
 AC_DEFINE_UNQUOTED(BACKEND, "$with_backend", [backend])
 AC_SUBST(BACKEND, "$with_backend")
@@ -204,6 +205,10 @@ fi
 if test x$with_backend = xopenbsd; then
     AC_DEFINE(BACKEND_TYPE_OPENBSD, 1, [OpenBSD suspend/hibernate backend])
 fi
+if test x$with_backend = xgnu; then
+    AC_DEFINE(BACKEND_TYPE_GNU, 1, [GNU/Hurd suspend/hibernate backend])
+fi
+AM_CONDITIONAL([HAVE_POLKIT], [test x$with_backend = xgnu])
 
 dnl check for location Xfce glade files were installed to
 XFCE_GLADE_CATALOG_PATH="`pkg-config --variable glade_catalogdir libxfce4ui-1`"
Index: xfce4-session-4.12.1/xfsm-shutdown-helper/main.c
===================================================================
--- xfce4-session-4.12.1.orig/xfsm-shutdown-helper/main.c
+++ xfce4-session-4.12.1/xfsm-shutdown-helper/main.c
@@ -83,7 +83,7 @@
 #define UP_BACKEND_SUSPEND_COMMAND "/usr/sbin/acpiconf -s 3"
 #define UP_BACKEND_HIBERNATE_COMMAND "/usr/sbin/acpiconf -s 4"
 #endif
-#if BACKEND_TYPE_LINUX
+#if defined(BACKEND_TYPE_LINUX) || defined(BACKEND_TYPE_GNU)
 #define UP_BACKEND_SUSPEND_COMMAND "/usr/sbin/pm-suspend"
 #define UP_BACKEND_HIBERNATE_COMMAND "/usr/sbin/pm-hibernate"
 #endif
--- a/debian/control	2015-03-16 18:02:04.000000000 +0100
+++ b/debian/control	2015-05-12 14:39:50.000000000 +0200
@@ -8,7 +8,7 @@
  libxfce4ui-1-dev (>= 4.12.1), libwnck-dev, x11-xserver-utils,
  libxfconf-0-dev (>= 4.10), libglade2-dev, intltool (>= 0.31),
  dpkg-dev (>= 1.16.1), libpolkit-gobject-1-dev, xfce4-dev-tools, libtool,
- dh-autoreconf
+ dh-autoreconf, pm-utils [linux-any hurd-any]
 Standards-Version: 3.9.6
 Homepage: http://www.xfce.org/
 Vcs-Svn: svn://anonscm.debian.org/pkg-xfce/desktop/trunk/xfce4-session/

--- End Message ---
--- Begin Message ---
Source: xfce4-session
Source-Version: 4.12.1-3

We believe that the bug you reported is fixed in the latest version of
xfce4-session, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 785...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yves-Alexis Perez <cor...@debian.org> (supplier of updated xfce4-session 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 16 May 2015 10:26:48 +0200
Source: xfce4-session
Binary: xfce4-session xfce4-session-dbg
Architecture: source amd64
Version: 4.12.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>
Changed-By: Yves-Alexis Perez <cor...@debian.org>
Description:
 xfce4-session - Xfce4 Session Manager
 xfce4-session-dbg - Xfce4 Session Manager (debug symbols)
Closes: 785113
Changes:
 xfce4-session (4.12.1-3) unstable; urgency=medium
 .
   * debian/rules:
     - use linux suspend/hibernate backend for Linux and Hurd, freebsd one for
     kFreeBSD.                                                   closes: #785113
   * debian/control:
     - add suggests on pm-utils, used when logind is not available and
     xfce4-session has to rely on its own helper.
Checksums-Sha1:
 0a892f2581b304e5968118c6f0befa805213bbb5 2039 xfce4-session_4.12.1-3.dsc
 6bb822f9cfb9ef215d3a6fe13150a519ed8fce9c 16704 
xfce4-session_4.12.1-3.debian.tar.xz
 1c4d08e0447cd678e6ed593767031797fdccb3e1 747404 
xfce4-session_4.12.1-3_amd64.deb
 671bc2819f14d55bd7141a952731b9345ce0619e 547052 
xfce4-session-dbg_4.12.1-3_amd64.deb
Checksums-Sha256:
 c958781c5e41dce3fac00885ca7c738178d7ba8a0878995ee8f83d67266c48cf 2039 
xfce4-session_4.12.1-3.dsc
 aba518f02ae58d63c9c765d1f2b8a80e86493055f87da5d95f5cc87560657ec7 16704 
xfce4-session_4.12.1-3.debian.tar.xz
 70501ba20d4397d83683a85f133e1554c37df95ef42f5502a4556be70fb1baeb 747404 
xfce4-session_4.12.1-3_amd64.deb
 c08eaaeae8437e25bfe9aedbf22ca3015fc69b77fe61ccd365088c92b8d91c9f 547052 
xfce4-session-dbg_4.12.1-3_amd64.deb
Files:
 eaa3b2b635c180fe556a58cdc51edb39 2039 xfce optional xfce4-session_4.12.1-3.dsc
 697580fd17c4c8ba139d761dd96e9756 16704 xfce optional 
xfce4-session_4.12.1-3.debian.tar.xz
 623b00a5e1af33e51fd244b4d4bdd897 747404 xfce optional 
xfce4-session_4.12.1-3_amd64.deb
 6bbdcfb26fec6e82d1972cfdb20d363d 547052 debug extra 
xfce4-session-dbg_4.12.1-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCgAGBQJVVwByAAoJEG3bU/KmdcClogAH/2HGJ17CUPmboQY7cyuhTjg5
v43V3ZBw5g2ZrId8dNs3HEgBQfXc8v38VrfRfPdZRWPZEZDMKvLcErRHFEEkQTMe
z1Vx+NNAn5zib33MZ416w/OF5+wjmhqSwE5uYqRv+9f0Bb2ckKr8OtN+3GQGegUA
m4IQZZhLMCCO+SWOa5BtFzITVTJgT69LI+Lv9rQxn5fPFxdqxpZTEJoeMW9fbG3j
gGNnf6Q8kpHdzjeUvFZqti0P6OzbfCWKpSXTn8rHibsYklz5RTu9Jg2sCM6ueqIM
pQfC08E4niPVsL7tAy+2ULt4580Irx3nLuJupM3YVVWhoheJH8p674KTmV5mIHQ=
=L5Ia
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
Pkg-xfce-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

Reply via email to