Bug#235702: upgrade to 4.3.0-3 fails in xfree86-common.config

2004-03-01 Thread David Schleef
Package: xfree86-common
Version: 4.3.0-3
Severity: grave
Justification: renders package unusable

I have /bin/sh -> /bin/dash.  (-> /bin/bash does not exhibit this
problem.)

condor:~/django/doupe_lab/data_viewer$ sudo apt-get install xfree86-common
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libx11-6 libxt6 xlibs-data
The following packages will be upgraded:
  libx11-6 libxt6 xfree86-common xlibs-data
4 upgraded, 0 newly installed, 0 to remove and 190 not upgraded.
71 not fully installed or removed.
Need to get 0B/2479kB of archives.
After unpacking 36.9kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Preconfiguring packages ...
/tmp/xfree86-common.config.9651: 610: Syntax error: end of file unexpected 
(expecting ")")
xfree86-common failed to preconfigure, with exit status 2
(Reading database ... 203147 files and directories currently installed.)
Preparing to replace xfree86-common 4.3.0-2 (using 
.../xfree86-common_4.3.0-3_all.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 631: Syntax error: end of file unexpected 
(expecting ")")
dpkg: error processing /var/cache/apt/archives/xfree86-common_4.3.0-3_all.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 2
/var/lib/dpkg/tmp.ci/postrm: 618: Syntax error: end of file unexpected 
(expecting ")")
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Preparing to replace xlibs-data 4.3.0-2 (using .../xlibs-data_4.3.0-3_all.deb) 
...
/var/lib/dpkg/tmp.ci/preinst: 610: Syntax error: end of file unexpected 
(expecting ")")
dpkg: error processing /var/cache/apt/archives/xlibs-data_4.3.0-3_all.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 2
/var/lib/dpkg/tmp.ci/postrm: 610: Syntax error: end of file unexpected 
(expecting ")")
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Preparing to replace libx11-6 4.3.0-2 (using .../libx11-6_4.3.0-3_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 611: Syntax error: end of file unexpected 
(expecting ")")
dpkg: error processing /var/cache/apt/archives/libx11-6_4.3.0-3_i386.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 2
/var/lib/dpkg/tmp.ci/postrm: 615: Syntax error: end of file unexpected 
(expecting ")")
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Preparing to replace libxt6 4.3.0-2 (using .../libxt6_4.3.0-3_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 611: Syntax error: end of file unexpected 
(expecting ")")
dpkg: error processing /var/cache/apt/archives/libxt6_4.3.0-3_i386.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 2
/var/lib/dpkg/tmp.ci/postrm: 615: Syntax error: end of file unexpected 
(expecting ")")
...


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.23
Locale: LANG=es_US.UTF-8, LC_CTYPE=es_US.UTF-8

Versions of packages xfree86-common depends on:
ii  debconf   1.4.11 Debian configuration management sy
ii  debianutils   2.7.2  Miscellaneous utilities specific t

-- debconf information excluded




XVideo modes YUY2 and UYVY incorrectly byteswapped on r128 PowerPC

2002-09-27 Thread David Schleef

The r128 driver correctly byte-swaps I420 XVideo data when copying
to the board, but does not for YUY2 and UYVY.  This gives cool
green-pink images, as can be seen by using the xv test program
xvtest.tar.gz at http://www.xfree86.org/~mvojkovi/.

Following is a patch to fix it, copying the code from I420 a few
lines prior.



dave...


Binärdateien xc.orig/programs/Xserver/hw/xfree86/drivers/ati/.r128_video.c.swp 
and xc/programs/Xserver/hw/xfree86/drivers/ati/.r128_video.c.swp sind 
verschieden.
diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c 
xc/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c
--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c
2002-09-26 22:22:41.0 -0700
+++ xc/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c 2002-09-26 
22:46:26.0 -0700
@@ -1014,8 +1014,23 @@
d3offset = 0;
s1offset += (top * srcPitch) + left;
nlines = ((yb + 0x) >> 16) - top;
+   {
+#if X_BYTE_ORDER == X_BIG_ENDIAN
+  unsigned char *R128MMIO = info->MMIO;
+  CARD32 config_cntl;
+
+  /* We need to disable byte swapping, or the data gets mangled */
+  config_cntl = INREG(R128_CONFIG_CNTL);
+  OUTREG(R128_CONFIG_CNTL, config_cntl &
+~(APER_0_BIG_ENDIAN_16BPP_SWAP|APER_0_BIG_ENDIAN_32BPP_SWAP));
+#endif
R128CopyData422(info, buf + s1offset, info->FB + d1offset,
srcPitch, dstPitch, nlines, npixels);
+#if X_BYTE_ORDER == X_BIG_ENDIAN
+  /* restore byte swapping */
+  OUTREG(R128_CONFIG_CNTL, config_cntl);
+#endif
+   }
break;
 }
 



XVideo modes YUY2 and UYVY incorrectly byteswapped on r128 PowerPC

2002-09-26 Thread David Schleef


The r128 driver correctly byte-swaps I420 XVideo data when copying
to the board, but does not for YUY2 and UYVY.  This gives cool
green-pink images, as can be seen by using the xv test program
xvtest.tar.gz at http://www.xfree86.org/~mvojkovi/.

Following is a patch to fix it, copying the code from I420 a few
lines prior.



dave...


Binärdateien xc.orig/programs/Xserver/hw/xfree86/drivers/ati/.r128_video.c.swp and 
xc/programs/Xserver/hw/xfree86/drivers/ati/.r128_video.c.swp sind verschieden.
diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c 
xc/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c
--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c2002-09-26 
22:22:41.0 -0700
+++ xc/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c 2002-09-26 
+22:46:26.0 -0700
@@ -1014,8 +1014,23 @@
d3offset = 0;
s1offset += (top * srcPitch) + left;
nlines = ((yb + 0x) >> 16) - top;
+   {
+#if X_BYTE_ORDER == X_BIG_ENDIAN
+  unsigned char *R128MMIO = info->MMIO;
+  CARD32 config_cntl;
+
+  /* We need to disable byte swapping, or the data gets mangled */
+  config_cntl = INREG(R128_CONFIG_CNTL);
+  OUTREG(R128_CONFIG_CNTL, config_cntl &
+~(APER_0_BIG_ENDIAN_16BPP_SWAP|APER_0_BIG_ENDIAN_32BPP_SWAP));
+#endif
R128CopyData422(info, buf + s1offset, info->FB + d1offset,
srcPitch, dstPitch, nlines, npixels);
+#if X_BYTE_ORDER == X_BIG_ENDIAN
+  /* restore byte swapping */
+  OUTREG(R128_CONFIG_CNTL, config_cntl);
+#endif
+   }
break;
 }
 


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




xserver-xfree-4.0.1pre2.RC4-1 fbdev on powerbook

2000-12-19 Thread David Schleef

After several hours of slapping myself on the forehead
and saying "Oh, duh!", I'm hoping that I can do the same
with this problem.

It seems as though I have everything configured correctly,
except when xdm starts, the display appears as if it has
no vertical hold.  Keep in mind that this is a laptop with
an LCD screen.  Are there any magic parameters that I have
to specify during configuration?  I've been running
'dpkg-reconfigure xserver-xfree86', and it otherwise seems
fine.





dave...



xserver-xfree-4.0.1pre2.RC4-1 fbdev on powerbook

2000-12-19 Thread David Schleef


After several hours of slapping myself on the forehead
and saying "Oh, duh!", I'm hoping that I can do the same
with this problem.

It seems as though I have everything configured correctly,
except when xdm starts, the display appears as if it has
no vertical hold.  Keep in mind that this is a laptop with
an LCD screen.  Are there any magic parameters that I have
to specify during configuration?  I've been running
'dpkg-reconfigure xserver-xfree86', and it otherwise seems
fine.





dave...


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