Bug#629366: gdm3: hurd-i386 FTBFS fix
Samuel Thibault
sthibault at debian.org
Sun Jun 5 21:59:52 UTC 2011
Package: gdm3
Version: 2.30.5-10
Severity: important
Tags: patch
Hello,
Here is a patch to fix gdm3 FTBFS on hurd-i386.
Samuel
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gdm3 depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii aterm [x-terminal-emul 1.0.1-7+b1 Afterstep XVT - a VT102 emulator f
ii cdebconf [debconf-2.0] 0.153+squeeze2 Debian Configuration Management Sy
ii debconf [debconf-2.0] 1.5.39 Debian configuration management sy
ii eterm [x-terminal-emul 0.9.5-2 Enlightened Terminal Emulator
ii fvwm [x-window-manager 1:2.5.30.ds-1 F(?) Virtual Window Manager
ii gconf2 2.28.1-6 GNOME configuration database syste
ii gnome-session [x-sessi 2.30.2-3 The GNOME Session Manager - GNOME
ii gnome-session-bin 2.30.2-3 The GNOME Session Manager - Minima
ii gnome-terminal [x-term 2.30.2-1 The GNOME terminal emulator applic
ii konsole [x-terminal-em 4:4.4.5-3 X terminal emulator
ii kterm [x-terminal-emul 6.2.0-46 Multi-lingual terminal emulator fo
ii libart-2.0-2 2.3.21-1 Library of functions for 2D graphi
ii libatk1.0-0 2.0.0-1 The ATK accessibility toolkit
ii libattr1 1:2.4.44-3 Extended attribute shared library
ii libaudit0 1.7.13-1+b2 Dynamic library for security audit
ii libbonobo2-0 2.24.3-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.24.3-1 The Bonobo UI library
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libcairo2 1.10.2-6 The Cairo 2D vector graphics libra
ii libcanberra-gtk0 0.24-1 Gtk+ helper for playing widget eve
ii libcanberra0 0.24-1 a simple abstract interface for pl
ii libdbus-1-3 1.4.8-3 simple interprocess messaging syst
ii libdbus-glib-1-2 0.92-1 simple interprocess messaging syst
ii libfontconfig1 2.8.0-2.2 generic font configuration library
ii libfreetype6 2.4.4-1 FreeType 2 font engine, shared lib
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libgdk-pixbuf2.0-0 2.23.3-3 GDK Pixbuf library
ii libglib2.0-0 2.28.6-1 The GLib library of C routines
ii libgnome2-0 2.30.0-1 The GNOME library - runtime files
ii libgnomecanvas2-0 2.30.1-1 A powerful object-oriented display
ii libgtk2.0-0 2.24.4-3 The GTK+ graphical user interface
ii liborbit2 1:2.14.18-0.1 libraries for ORBit2 - a CORBA ORB
ii libpam-modules 1.1.2-3 Pluggable Authentication Modules f
ii libpam-runtime 1.1.2-3 Runtime support for the PAM librar
ii libpam0g 1.1.2-3 Pluggable Authentication Modules l
ii libpanel-applet2-0 2.30.2-4 library for GNOME Panel applets
ii libpango1.0-0 1.28.3-6 Layout and rendering of internatio
ii libpolkit-gobject-1-0 0.101-4 PolicyKit Authorization API
ii libpolkit-gtk-1-0 0.101-2 PolicyKit GTK+ API
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii librsvg2-common 2.32.1-1 SAX-based renderer library for SVG
ii libselinux1 2.0.98-1+b1 SELinux runtime shared libraries
ii libupower-glib1 0.9.10-1 abstraction for power management -
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii libx11-6 2:1.4.3-1 X11 client-side library
ii libxau6 1:1.0.6-1 X11 authorisation library
ii libxdmcp6 1:1.1.0-1 X11 Display Manager Control Protoc
ii libxklavier16 5.0-2 X Keyboard Extension high-level AP
ii libxml2 2.7.8.dfsg-2+b1 GNOME XML library
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii metacity [x-window-man 1:2.30.1-3 lightweight GTK+ window manager
ii mlterm [x-terminal-emu 3.0.3-1 MultiLingual TERMinal
ii policykit-1-gnome 0.101-2 GNOME authentication agent for Pol
ii pterm [x-terminal-emul 0.60+2011-05-09-1 PuTTY terminal emulator
ii rxvt [x-terminal-emula 1:2.6.4-14 VT102 terminal emulator for the X
ii rxvt-ml [x-terminal-em 1:2.6.4-14 multi-lingual VT102 terminal emula
ii rxvt-unicode [x-termin 9.11-1 RXVT-like terminal emulator with U
ii upower 0.9.10-1 abstraction for power management
ii wterm [x-terminal-emul 6.2.9-8.1 lightweight terminal emulator for
ii xterm [x-terminal-emul 269-1 X terminal emulator
Versions of packages gdm3 recommends:
pn at-spi <none> (no description available)
ii desktop-base 6.0.6 common files for the Debian Deskto
ii gnome-icon-theme 2.30.3-2 GNOME Desktop icon theme
ii gnome-power-manager 2.32.0-2 power management tool for the GNOM
ii gnome-settings-daemon 2.30.2-3 daemon handling the GNOME session
ii x11-xkb-utils 7.6+2 X11 XKB utilities
ii xnest 2:1.10.1-2 Nested X server
ii xserver-xephyr 2:1.10.1-2 nested X server
ii xserver-xorg 1:7.6+6 the X.Org X server
ii zenity 2.30.0-1 Display graphical dialog boxes fro
Versions of packages gdm3 suggests:
ii gnome-mag 1:0.16.1-2 a screen magnifier for the GNOME d
ii gnome-orca 2.30.2-2 Scriptable screen reader
ii gok 2.30.0-1 GNOME Onscreen Keyboard
ii libpam-gnome-keyring 3.0.0-3 PAM module to unlock the GNOME key
ii metacity 1:2.30.1-3 lightweight GTK+ window manager
-- debconf information excluded
-------------- next part --------------
--- daemon/gdm-server.c.original 2011-06-05 15:43:19.000000000 +0000
+++ daemon/gdm-server.c 2011-06-05 15:54:11.000000000 +0000
@@ -721,11 +721,14 @@
return next;
}
+#elif defined __GNU__
+#define GDM_USE_HURD_VT
#else /* __linux__ */
#error Platform not supported
#endif
+#ifndef GDM_USE_HURD_VT
static gchar *
gdm_get_vt_device (int vtno)
{
@@ -771,6 +774,7 @@
first_vt = 1;
return first_vt;
}
+#endif /* GDM_USE_HURD_VT */
#if defined (GDM_USE_SYS_VT)
@@ -877,6 +881,14 @@
return vtno;
}
+#elif defined (GDM_USE_HURD_VT)
+
+static int
+get_free_vt (void)
+{
+ return -1;
+}
+
#endif
static char *
More information about the pkg-gnome-maintainers
mailing list