Bug#420403: mesa: FTBFS on hurd-i386
Package: mesa
Version: 6.5.2-4
Severity: important
Tags: patch
Usertags: hurd
Hi,
mesa currently FTBFS on hurd-i386 because it is not DRI-capable. Here is
a working patch.
Samuel
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-xen
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
--
Samuel Thibault <samuel.thibault@ens-lyon.org>
> No manual is ever necessary.
May I politely interject here: BULLSHIT. That's the biggest Apple lie of all!
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)
--- mesa-6.5.2/debian/rules 2007-04-21 21:31:29.000000000 +0000
+++ mesa-6.5.2/debian/rules 2007-04-21 22:39:25.000000000 +0000
@@ -112,6 +112,7 @@
dh_builddeb -i
# Build architecture-dependent files here.
+binary-arch: DH_OPTIONS += -s
binary-arch: build install
dh_testdir
dh_testroot
--- mesa-6.5.2/configs/debian-dri-hurd-i386 1970-01-01 00:00:00.000000000 +0000
+++ mesa-6.5.2/configs/debian-dri-hurd-i386 2007-04-22 00:21:01.000000000 +0000
@@ -0,0 +1,9 @@
+# Configuration for building the DRI drivers on the build architecture.
+
+include $(TOP)/configs/linux-indirect
+include $(TOP)/configs/debian-indirect-default
+
+CONFIG_NAME = debian-dri-hurd-i386
+
+# vim: ft=make
+
--- mesa-6.5.2/configs/debian-indirect-default 1970-01-01 00:00:00.000000000 +0000
+++ mesa-6.5.2/configs/debian-indirect-default 2007-04-22 01:10:05.000000000 +0000
@@ -0,0 +1,9 @@
+# Configuration defaults for building GLX-enabled libGL.
+
+include $(TOP)/configs/debian-dri-default
+
+CONFIG_NAME = debian-indirect-default
+
+SRC_DIRS = glx/x11 progs
+DRIVER_DIRS =
+DRI_DIRS =
--- mesa-6.5.2/debian/control 2007-04-22 03:51:00.000000000 +0000
+++ mesa-6.5.2/debian/control 2007-04-22 03:36:37.000000000 +0000
@@ -99,7 +99,7 @@
Package: libgl1-mesa-glx
Section: libs
-Architecture: any
+Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
Depends: ${shlibs:Depends}
Conflicts: libgl1, libgl1-mesa-dri (<< 6.4.0)
Replaces: libgl1, libgl1-mesa-dri (<< 6.4.0)
@@ -118,7 +118,7 @@
Package: libgl1-mesa-glx-dbg
Section: libdevel
Priority: extra
-Architecture: any
+Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
Depends: libgl1-mesa-glx (= ${binary:Version})
Description: A free implementation of the OpenGL API -- GLX runtime -- debugging symbols
This version of Mesa provides GLX and DRI capabilities: it is capable of
@@ -158,7 +158,7 @@
Package: libgl1-mesa-dri
Section: libs
Priority: optional
-Architecture: any
+Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
Depends: ${shlibs:Depends}, libgl1-mesa-glx (= ${binary:Version})
Suggests: libglide3
Conflicts: xlibmesa-dri (<< 1:7.0.0)
@@ -179,7 +179,7 @@
Package: libgl1-mesa-dri-dbg
Section: libdevel
Priority: extra
-Architecture: any
+Architecture: alpha amd64 arm armeb armel hppa i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc
Depends: libgl1-mesa-dri (= ${binary:Version})
Description: A free implementation of the OpenGL API -- DRI modules -- debugging symbols
This version of Mesa provides GLX and DRI capabilities: it is capable of
Reply to: