[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#469299: marked as done (xserver-xorg: sparc driver detection puts description in Driver field)



Your message dated Sat, 02 Aug 2008 21:32:07 +0000
with message-id <E1KPOhr-0006bd-S3@ries.debian.org>
and subject line Bug#469299: fixed in xorg 1:7.3+15
has caused the Debian Bug report #469299,
regarding xserver-xorg: sparc driver detection puts description in Driver field
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
469299: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469299
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xserver-xorg
Version: 1:7.3+10
Severity: normal
Tags: patch

xserver-xorg's postinst script generate xorg.conf with things like:

Section "Device"
	Identifier	"Configured Video Device"
	Driver		"Sun Creator3D framebuffer or similar (SUNW,501-3129) XFree86 sunffb"
EndSection

I can fix this by removing the following from xserver-xorg's postinst:

--- xserver-xorg.postinst	2008-03-04 14:38:58.000000000 +0100
+++ xserver-xorg.postinst.patched	2008-03-04 15:17:35.000000000 +0100
@@ -1001,6 +1001,7 @@
 NCARDS=0
 NSERVERS=0
 NDRIVERS=0
+DRIVERS_LIST=
 MULTIHEAD=
 
 # get machine architecture
@@ -1425,7 +1426,6 @@
   if which $DISCOVER_PROG > /dev/null 2>&1; then
     DISCOVERED_VIDEO=$($DISCOVER_FUNC)
     MULTIHEAD=$(echo "$DISCOVERED_VIDEO" | wc -l)
-    DISCOVERED_VIDEO=$(echo "$DISCOVERED_VIDEO" | head -n 1)
     if [ -n "$DISCOVERED_VIDEO" ]; then
       NCARDS=$(echo "$DISCOVERED_VIDEO" | wc -l)
       SERVERS=$(echo "$DISCOVERED_VIDEO" | awk 'BEGIN { FS="\t" } {print $2}' | grep -v unknown | sort | uniq)
@@ -1435,10 +1435,14 @@
       DRIVERS=$(echo "$DISCOVERED_VIDEO" | awk 'BEGIN { FS="\t" } {print $NF}' | grep -v unknown | sort | uniq)
       if [ -n "$DRIVERS" ]; then
         NDRIVERS=$(echo "$DRIVERS" | wc -l)
+	DRIVERS_LIST=$(echo "$DRIVERS" | awk 'BEGIN {ORS="";FS="\t"} {if(NR > 1){print last ","};last=$0} END {print last}')
       fi
       if [ $MULTIHEAD -gt 1 ]; then
         MULTIHEAD=yes
       fi
+      DISCOVERED_VIDEO=$(echo "$DRIVERS" | head -n 1)
+    else
+      DISCOVERED_VIDEO=""
     fi
   else
     DISCOVERED_VIDEO=""
@@ -1446,7 +1450,7 @@
 else
   DISCOVERED_VIDEO=""
 fi
-db_subst xserver-xorg/config/device/driver choices "$DISCOVERED_VIDEO"
+db_subst xserver-xorg/config/device/driver choices "$DRIVERS_LIST"
 auto_answer db_input low xserver-xorg/config/device/driver "$DISCOVERED_VIDEO"
 
 if [ -n "$FIRSTINST" ] || [ -n "$RECONFIGURE" ]; then

Hochachtungsvoll,
	Bernhard R. Link
--- xserver-xorg.postinst	2008-03-04 14:38:58.000000000 +0100
+++ xserver-xorg.postinst.patched	2008-03-04 15:17:35.000000000 +0100
@@ -1001,6 +1001,7 @@
 NCARDS=0
 NSERVERS=0
 NDRIVERS=0
+DRIVERS_LIST=
 MULTIHEAD=
 
 # get machine architecture
@@ -1425,7 +1426,6 @@
   if which $DISCOVER_PROG > /dev/null 2>&1; then
     DISCOVERED_VIDEO=$($DISCOVER_FUNC)
     MULTIHEAD=$(echo "$DISCOVERED_VIDEO" | wc -l)
-    DISCOVERED_VIDEO=$(echo "$DISCOVERED_VIDEO" | head -n 1)
     if [ -n "$DISCOVERED_VIDEO" ]; then
       NCARDS=$(echo "$DISCOVERED_VIDEO" | wc -l)
       SERVERS=$(echo "$DISCOVERED_VIDEO" | awk 'BEGIN { FS="\t" } {print $2}' | grep -v unknown | sort | uniq)
@@ -1435,10 +1435,14 @@
       DRIVERS=$(echo "$DISCOVERED_VIDEO" | awk 'BEGIN { FS="\t" } {print $NF}' | grep -v unknown | sort | uniq)
       if [ -n "$DRIVERS" ]; then
         NDRIVERS=$(echo "$DRIVERS" | wc -l)
+	DRIVERS_LIST=$(echo "$DRIVERS" | awk 'BEGIN {ORS="";FS="\t"} {if(NR > 1){print last ","};last=$0} END {print last}')
       fi
       if [ $MULTIHEAD -gt 1 ]; then
         MULTIHEAD=yes
       fi
+      DISCOVERED_VIDEO=$(echo "$DRIVERS" | head -n 1)
+    else
+      DISCOVERED_VIDEO=""
     fi
   else
     DISCOVERED_VIDEO=""
@@ -1446,7 +1450,7 @@
 else
   DISCOVERED_VIDEO=""
 fi
-db_subst xserver-xorg/config/device/driver choices "$DISCOVERED_VIDEO"
+db_subst xserver-xorg/config/device/driver choices "$DRIVERS_LIST"
 auto_answer db_input low xserver-xorg/config/device/driver "$DISCOVERED_VIDEO"
 
 if [ -n "$FIRSTINST" ] || [ -n "$RECONFIGURE" ]; then

--- End Message ---
--- Begin Message ---
Source: xorg
Source-Version: 1:7.3+15

We believe that the bug you reported is fixed in the latest version of
xorg, which is due to be installed in the Debian FTP archive:

libglu1-xorg-dev_7.3+15_all.deb
  to pool/main/x/xorg/libglu1-xorg-dev_7.3+15_all.deb
libglu1-xorg_7.3+15_all.deb
  to pool/main/x/xorg/libglu1-xorg_7.3+15_all.deb
x11-common_7.3+15_all.deb
  to pool/main/x/xorg/x11-common_7.3+15_all.deb
xbase-clients_7.3+15_all.deb
  to pool/main/x/xorg/xbase-clients_7.3+15_all.deb
xlibmesa-gl-dev_7.3+15_all.deb
  to pool/main/x/xorg/xlibmesa-gl-dev_7.3+15_all.deb
xlibmesa-gl_7.3+15_all.deb
  to pool/main/x/xorg/xlibmesa-gl_7.3+15_all.deb
xlibmesa-glu_7.3+15_all.deb
  to pool/main/x/xorg/xlibmesa-glu_7.3+15_all.deb
xorg-dev_7.3+15_all.deb
  to pool/main/x/xorg/xorg-dev_7.3+15_all.deb
xorg_7.3+15.dsc
  to pool/main/x/xorg/xorg_7.3+15.dsc
xorg_7.3+15.tar.gz
  to pool/main/x/xorg/xorg_7.3+15.tar.gz
xorg_7.3+15_i386.deb
  to pool/main/x/xorg/xorg_7.3+15_i386.deb
xserver-xorg-input-all_7.3+15_i386.deb
  to pool/main/x/xorg/xserver-xorg-input-all_7.3+15_i386.deb
xserver-xorg-video-all_7.3+15_i386.deb
  to pool/main/x/xorg/xserver-xorg-video-all_7.3+15_i386.deb
xserver-xorg_7.3+15_i386.deb
  to pool/main/x/xorg/xserver-xorg_7.3+15_i386.deb
xutils_7.3+15_all.deb
  to pool/main/x/xorg/xutils_7.3+15_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 469299@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated xorg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 02 Aug 2008 23:13:25 +0200
Source: xorg
Binary: x11-common xserver-xorg xserver-xorg-video-all xserver-xorg-input-all xorg xorg-dev xlibmesa-gl xlibmesa-gl-dev xlibmesa-glu libglu1-xorg libglu1-xorg-dev xbase-clients xutils
Architecture: source all i386
Version: 1:7.3+15
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 libglu1-xorg - transitional package for Debian etch
 libglu1-xorg-dev - transitional package for Debian etch
 x11-common - X Window System (X.Org) infrastructure
 xbase-clients - miscellaneous X clients - metapackage
 xlibmesa-gl - transitional package for Debian etch
 xlibmesa-gl-dev - transitional package for Debian etch
 xlibmesa-glu - transitional package for Debian etch
 xorg       - X.Org X Window System
 xorg-dev   - the X.Org X Window System development libraries
 xserver-xorg - the X.Org X server
 xserver-xorg-input-all - the X.Org X server -- input driver metapackage
 xserver-xorg-video-all - the X.Org X server -- output driver metapackage
 xutils     - X Window System utility programs metapackage
Closes: 355923 469299 491323 491519 492097
Changes: 
 xorg (1:7.3+15) unstable; urgency=low
 .
   [ Debconf translations]
   * Finnish. Closes: #491323
   * Korean. Closes: #491519
   * Gujarati. Closes: #492097
 .
   [ Julien Cristau ]
   * If the TMPDIR environment variable is set, preserve it across the
     invocation of ssh-agent (closes: #355923).  Thanks, Sam Morris!
   * On sparc, don't put the driver description in the Driver field, using
     patch from Bernhard R. Link (closes: #469299).
Checksums-Sha1: 
 9c8a854a0ff03659cf477a79e773d13c55272c21 1081 xorg_7.3+15.dsc
 73e6d87c70fbe7a4700797dc830542afce4cc736 913143 xorg_7.3+15.tar.gz
 9a95c3e8629a4f91c21093453e5937b8356b5c7e 343292 x11-common_7.3+15_all.deb
 de570178d49862a6925be7ad503e590bee8cc72e 27044 xorg-dev_7.3+15_all.deb
 27550802215fe6043e5d2d4c231b08887c15c172 26580 xlibmesa-gl_7.3+15_all.deb
 b51528bd9ea313d14c5a3d8ea8971e5a778f2b9a 26588 xlibmesa-gl-dev_7.3+15_all.deb
 4cc5d6f34a93413c4b9cfa84508523ceabe44419 26580 xlibmesa-glu_7.3+15_all.deb
 0f3b56d1efe2f841223a7eedc69fb967d969c2c8 26572 libglu1-xorg_7.3+15_all.deb
 8114b2bb47d3438d5d358e277d3bb33a1a4f860e 26584 libglu1-xorg-dev_7.3+15_all.deb
 1ecd7c2b077da099134e6a23f633c5165d81e1c8 26812 xbase-clients_7.3+15_all.deb
 0f642de6260e0e5a89e08a6ece4f91aa3cef2918 35824 xutils_7.3+15_all.deb
 e1bae93fe9a8ab90f3dbf07c7a403fc4ce4a581d 217750 xserver-xorg_7.3+15_i386.deb
 996b6e0c6d0805768d23eda8913f837914f4fb9b 26826 xserver-xorg-video-all_7.3+15_i386.deb
 6b2f0c34c8753372ef00c553fa6155216b7834a3 26652 xserver-xorg-input-all_7.3+15_i386.deb
 62276065d1f4158623ae6dcd7a2d332c0b7b0efa 26884 xorg_7.3+15_i386.deb
Checksums-Sha256: 
 8d811e5c97ca79c9f6ae8b39b7de42dc4f99d8c44569af3f340b2d6d1a9134f2 1081 xorg_7.3+15.dsc
 e49b7b0a60db9a485b7189935b627abf8e0932a15eca2c88fc1d4ca42a4f7ed2 913143 xorg_7.3+15.tar.gz
 bbcbdf93319861213adfda9f5b9d20686606ef3ad1430a29191587c56b926edc 343292 x11-common_7.3+15_all.deb
 203c69352b35e6457ac22e7660c1f92e6a9a12a0f2a5e860903a7414f45859fa 27044 xorg-dev_7.3+15_all.deb
 519e08d744587e5911366aec5ec0a30f2e7da40a7cc99417a871a94bff8db418 26580 xlibmesa-gl_7.3+15_all.deb
 36a883dd2615bab7e396222d92629afbb7ae6f2064f8fcf1cbe1b26570137813 26588 xlibmesa-gl-dev_7.3+15_all.deb
 69873b994a52a2b46ed041eeb573b11eae03e0ff632690304cdb2578ff7649ca 26580 xlibmesa-glu_7.3+15_all.deb
 fe8ed85490e4bb4b5544b0cade9c2895b289418dd77a8e8e40be7e081c9bf2bb 26572 libglu1-xorg_7.3+15_all.deb
 8f3439713cf714a10a60a5b779369c69d90abbab6db9074c910b948023d431f9 26584 libglu1-xorg-dev_7.3+15_all.deb
 e85783b27f0429d18034d8ca28c9b35b5b9e210307f7f10853f58dbcbf0c3e53 26812 xbase-clients_7.3+15_all.deb
 598066910b6f2d0a29b63b668d3c155348f25b3fed7b217fcc25760634453e8f 35824 xutils_7.3+15_all.deb
 3f8e19654375d8fd793c8e2e145de7912df45a54f2357ffa409a6cdb838508ce 217750 xserver-xorg_7.3+15_i386.deb
 e2a4c08eddc7b2ccae4ff41f31c10a905004d04f0c125c5a05fc3e305983e4b6 26826 xserver-xorg-video-all_7.3+15_i386.deb
 9743be8fd5abae4c7c0ae3880cfd7f57a5e2bd251ed7d900867d2aca4ce0b701 26652 xserver-xorg-input-all_7.3+15_i386.deb
 6623216a04036c6197ff1d0948df38be403ee6850b21f204c08cbe18c767081c 26884 xorg_7.3+15_i386.deb
Files: 
 7106c1256f2b7da72f665279a5eb3c64 1081 x11 optional xorg_7.3+15.dsc
 ba2face32e17f0b97b255285dd290746 913143 x11 optional xorg_7.3+15.tar.gz
 7c70912ef8fee63ef6653becc92d1059 343292 x11 optional x11-common_7.3+15_all.deb
 4455c54b6d41884469ec3c5de04c9483 27044 x11 optional xorg-dev_7.3+15_all.deb
 7a2513afe662fd055b7a50eab2cb30b9 26580 libs optional xlibmesa-gl_7.3+15_all.deb
 c935d399e398ffd905b3d4b5da4a0066 26588 libdevel optional xlibmesa-gl-dev_7.3+15_all.deb
 1c983bf271b5648860076db3fa5875e5 26580 libdevel optional xlibmesa-glu_7.3+15_all.deb
 a13dbb4c735234ec658890b0bf23098d 26572 libs optional libglu1-xorg_7.3+15_all.deb
 0db30d1e1b664b7159ebd45a8d51c7a1 26584 libdevel optional libglu1-xorg-dev_7.3+15_all.deb
 c0825a8b2c05b97232accc0e42b67170 26812 x11 optional xbase-clients_7.3+15_all.deb
 3b59a2ffbc0a58e167d32726d7b7c52f 35824 x11 optional xutils_7.3+15_all.deb
 bb5ee8539e7aca08c8ea3d4656490f60 217750 x11 optional xserver-xorg_7.3+15_i386.deb
 a74b1a45e424fb61945ab36068428d60 26826 x11 optional xserver-xorg-video-all_7.3+15_i386.deb
 4ac2903beeafbcc20c740ab9c12e521a 26652 x11 optional xserver-xorg-input-all_7.3+15_i386.deb
 21f16ee1a39eec314c5c1766ef86e5ee 26884 x11 optional xorg_7.3+15_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiUz5IACgkQmEvTgKxfcAyLzgCdH5oEPy46tk7VPW/hZ2xVuXtP
owwAmQG+31D+3riCXgP9vK5uEAEcUlYz
=j9Pe
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: