Hi,

This bug is open for a very long time (more than 1 year and a half), and
a simple patch is attached to fix the problem. Could you please have a
look? I haven't heared from you, except when playing ping-pong with the
severity of this bug.

Cheers,
Aurelien


On Thu, Nov 30, 2006 at 12:24:05PM +0100, Petr Salinger wrote:
> retitle 313008 gdm: FTBFS on non-linux architectures (due to unconditional 
> usage of selinux)
> severity 313008 important
> found 313008 2.16.1-1
> thanks
> 
> Please, could you include attached simple patch to allow
> building of gdm also on hurd and GNU/kFreeBSD ?
> 
> Thanks in advance
> 
>                       Petr
> 
> 

> diff -u gdm-2.16.1/debian/control gdm-2.16.1/debian/control
> --- gdm-2.16.1/debian/control
> +++ gdm-2.16.1/debian/control
> @@ -2,7 +2,7 @@
>  Section: gnome
>  Priority: optional
>  Maintainer: Ryan Murray <[EMAIL PROTECTED]>
> -Build-Depends: libpam0g-dev, libgnomeui-dev, librsvg2-dev, libglade2-dev, 
> libwrap0-dev, debhelper, gettext, intltool, scrollkeeper, libselinux1-dev 
> [!hurd-i386], libattr1-dev, libxau-dev, libxt-dev, libxdmcp-dev, 
> libxinerama-dev, libdmx-dev, gnome-doc-utils, sharutils
> +Build-Depends: libpam0g-dev, libgnomeui-dev, librsvg2-dev, libglade2-dev, 
> libwrap0-dev, debhelper, gettext, intltool, scrollkeeper, libselinux1-dev 
> [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libattr1-dev, libxau-dev, 
> libxt-dev, libxdmcp-dev, libxinerama-dev, libdmx-dev, gnome-doc-utils, 
> sharutils
>  Standards-Version: 3.7.2
>  
>  Package: gdm
> diff -u gdm-2.16.1/debian/rules gdm-2.16.1/debian/rules
> --- gdm-2.16.1/debian/rules
> +++ gdm-2.16.1/debian/rules
> @@ -8,10 +8,18 @@
>  # This is the debhelper compatability version to use.
>  export DH_COMPAT=4
>  
> +DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
> +
> +ifeq (linux,$(DEB_HOST_ARCH_OS))
> +     SELINUX_CONFIGURE = --with-selinux
> +else
> +     SELINUX_CONFIGURE = --without-selinux
> +endif
> +
>  configure: configure-stamp
>  configure-stamp:
>       dh_testdir
> -     ./configure --disable-dependency-tracking --with-tags= --prefix=/usr 
> --libexecdir=\$${prefix}/lib --mandir=\$${prefix}/share/man 
> --infodir=\$${prefix}/share/info --sysconfdir=/etc 
> --libexecdir=\$${prefix}/lib/gdm --localstatedir=/var/lib --with-selinux 
> --with-custom-conf=/etc/gdm/gdm.conf
> +     ./configure --disable-dependency-tracking --with-tags= --prefix=/usr 
> --libexecdir=\$${prefix}/lib --mandir=\$${prefix}/share/man 
> --infodir=\$${prefix}/share/info --sysconfdir=/etc 
> --libexecdir=\$${prefix}/lib/gdm --localstatedir=/var/lib 
> $(SELINUX_CONFIGURE) --with-custom-conf=/etc/gdm/gdm.conf
>       touch configure-stamp
>  
>  build: configure-stamp build-stamp


-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to