Package: brltty-udeb
Version: 4.0-4
Severity: critical
Tags: patch
Justification: breaks the whole system

Hello,

The debian installer doesn't build any more due to brltty-udeb having
X11 enabled.  That is due to upstream renaming --without-x into
--disable-x, the attached patch fixes it.  jcristau suggested to make a
build-time check, a very simple way for now would be:

grep Depends: debian/brltty-udeb/DEBIAN/control | grep -q '^Depends: libc6-udeb 
([^)]*)$'

A more advanced way could be to use a perl regexp to check that all
dependencies are suffixed with -udeb.

Samuel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29 (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

-- 
Samuel Thibault <samuel.thiba...@fnac.net>
"...[Linux's] capacity to talk via any medium except smoke signals."
(By Dr. Greg Wettstein, Roger Maris Cancer Center)
--- debian/rules.bak    2009-05-19 22:06:19.000000000 +0200
+++ debian/rules        2009-05-19 22:06:28.000000000 +0200
@@ -34,10 +34,10 @@
 
 UDEB_CFLAGS=-Os -fomit-frame-pointer
 UDEB_DISABLE=speech-support pcm-support midi-support fm-support 
contracted-braille \
-       api pm-configfile gpm iconv icu
+       api pm-configfile gpm iconv icu x
 UDEB_CONFIGURE_OPTIONS=--with-braille-driver=-vr,all \
        --with-braille-device=usb: --with-screen-driver=-as,-sc,all \
-       --without-init-path --without-x --without-curses \
+       --without-init-path --without-curses \
        $(patsubst %,--disable-%,$(UDEB_DISABLE))
 UDEB_FILENAME=$(PACKAGE)-udeb_$(VERSION)_$(DEB_HOST_ARCH).udeb
 PRIORITY=$(shell grep '^Package: brltty-udeb' debian/control -A 10 | grep 
^Priority: | cut -d ' ' -f 2)

Reply via email to