Package: xserver-xorg-video-openchrome Version: 1:0.2.904+svn1050-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, currently, xserver-xorg-video-openchrome does not build on GNU/Hurd. The problem is that libdrm is considered an hard requirement (by the buildsystem and the Debian packaging), while it is only if the DRI support is enabled (and indeed there seems to be only libdrm usage in the DRI-related code). Attached there are patches to fix this: - no-libdrm.diff: do not check for libdrm among the base Xorg packages; libdrm will be searched later as mandatory requirement if the DRI support is enabled - debian.diff: disable the libdrm-dev build dependency on Hurd architectures Thanks, -- Pino
--- a/configure.ac +++ b/configure.ac @@ -70,7 +70,7 @@ XORG_DRIVER_CHECK_EXT(XF86DRI, xextproto XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto) # Checks for pkg-config packages -PKG_CHECK_MODULES(XORG, [xorg-server xproto fontsproto libdrm $REQUIRED_MODULES]) +PKG_CHECK_MODULES(XORG, [xorg-server xproto fontsproto $REQUIRED_MODULES]) PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1], HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available]), HAVE_XEXTPROTO_71="no")
--- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Build-Depends: x11proto-xf86dri-dev, x11proto-video-dev, x11proto-gl-dev, - libdrm-dev (>> 2.0), + libdrm-dev (>> 2.0) [!hurd-any], libx11-dev, libgl1-mesa-dev | libgl1-dev, libxvmc-dev, HAVE_XEXTPROTO_71="no")