Bug#219714: xfree86: FTBFS on i386: lnx_io.c: structure has no member named `rate'

2003-11-08 Thread Blars Blarson
Package: xfree86
Severity: serious
Tags: sid
Justification: no longer builds from source

Complete build log avilable on request.

gcc -c -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs 
-Wundef   -fno-merge-constants 
-I../../../../../../programs/Xserver/hw/xfree86/common 
-I../../../../../../programs/Xserver/hw/xfree86/os-support -I. 
-I../../../../../../programs/Xserver/include
-I../../../../../../exports/include/X11 -I../../../../../../include/extensions 
-I../../../../../../programs/Xserver/hw/xfree86/os-support/shared  
-I../../../../../.. -I../../../../../../exports/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 
-DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  
-DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA 
-DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension  
-DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  
-DFUNCPROTO=15 -DNARROWPROTO   -DHAS_MTRR_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC   
lnx_io.c
In file included from 
../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h:747,
 from lnx_io.c:35:
../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:259: 
warning: redundant redeclaration of `xf86MakeNewMapping' in same scope
../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:143: 
warning: previous declaration of `xf86MakeNewMapping'
../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:260: 
warning: redundant redeclaration of `xf86InitVidMem' in same scope
../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:144: 
warning: previous declaration of `xf86InitVidMem'
lnx_io.c: In function `KDKBDREP_ioctl_ok':
lnx_io.c:83: error: structure has no member named `rate'
lnx_io.c:91: error: structure has no member named `rate'
lnx_io.c:93: error: structure has no member named `rate'
lnx_io.c:94: error: structure has no member named `rate'
lnx_io.c:95: error: structure has no member named `rate'
make[8]: *** [lnx_io.o] Error 1
make[8]: Leaving directory 
`/home/blarson/src2/xfree86-4.2.1/build-tree/xc/programs/Xserver/hw/xfree86/os-support/linux'
make[7]: *** [linux] Error 2


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux quaff 2.4.22q14 #1 Thu Nov 6 19:04:04 PST 2003 i686
Locale: LANG=C, LC_CTYPE=C





Bug#219714: xfree86: FTBFS on i386: lnx_io.c: structure has no member named `rate'

2003-11-08 Thread Daniel Stone
On Sat, Nov 08, 2003 at 12:39:49AM -0800, Blars Blarson wrote:
 gcc -c -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes 
 -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls 
 -Wnested-externs -Wundef   -fno-merge-constants 
 -I../../../../../../programs/Xserver/hw/xfree86/common 
 -I../../../../../../programs/Xserver/hw/xfree86/os-support -I. 
 -I../../../../../../programs/Xserver/include
 -I../../../../../../exports/include/X11 
 -I../../../../../../include/extensions 
 -I../../../../../../programs/Xserver/hw/xfree86/os-support/shared  
 -I../../../../../.. -I../../../../../../exports/include   -Dlinux -D__i386__ 
 -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
 -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 
 -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  
 -DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA 
 -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension  
 -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  
 -DFUNCPROTO=15 -DNARROWPROTO   -DHAS_MTRR_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC 
   lnx_io.c
 In file included from 
 ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h:747,
  from lnx_io.c:35:
 ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:259: 
 warning: redundant redeclaration of `xf86MakeNewMapping' in same scope
 ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:143: 
 warning: previous declaration of `xf86MakeNewMapping'
 ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:260: 
 warning: redundant redeclaration of `xf86InitVidMem' in same scope
 ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:144: 
 warning: previous declaration of `xf86InitVidMem'
 lnx_io.c: In function `KDKBDREP_ioctl_ok':
 lnx_io.c:83: error: structure has no member named `rate'
 lnx_io.c:91: error: structure has no member named `rate'
 lnx_io.c:93: error: structure has no member named `rate'
 lnx_io.c:94: error: structure has no member named `rate'
 lnx_io.c:95: error: structure has no member named `rate'
 make[8]: *** [lnx_io.o] Error 1
 make[8]: Leaving directory 
 `/home/blarson/src2/xfree86-4.2.1/build-tree/xc/programs/Xserver/hw/xfree86/os-support/linux'
 make[7]: *** [linux] Error 2

What kernel version are you running? Specifically, what kernel headers
is XFree86 finding?

-- 
Daniel Stone  [EMAIL PROTECTED]
The programs are documented fully by _The Rise and Fall of a Fooish Bar_,
available by the Info system. -- debian/manpage.sgml.ex, dh_make template


pgpm985IDUYPI.pgp
Description: PGP signature


Bug#219714: xfree86: FTBFS on i386: lnx_io.c: structure has no member named `rate'

2003-11-08 Thread Michel Dänzer
On Sat, 2003-11-08 at 10:38, Daniel Stone wrote:
 On Sat, Nov 08, 2003 at 12:39:49AM -0800, Blars Blarson wrote:
  gcc -c -g -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes 
  -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls 
  -Wnested-externs -Wundef   -fno-merge-constants 
  -I../../../../../../programs/Xserver/hw/xfree86/common 
  -I../../../../../../programs/Xserver/hw/xfree86/os-support -I. 
  -I../../../../../../programs/Xserver/include
  -I../../../../../../exports/include/X11 
  -I../../../../../../include/extensions 
  -I../../../../../../programs/Xserver/hw/xfree86/os-support/shared  
  -I../../../../../.. -I../../../../../../exports/include   -Dlinux 
  -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
  -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX 
  -DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV 
  -DPANORAMIX  -DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV 
  -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server 
  -DXF86VIDMODE -DXvMCExtension  -DSMART_SCHEDULE -DBUILDDEBUG 
  -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO   
  -DHAS_MTRR_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC   lnx_io.c
  In file included from 
  ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h:747,
   from lnx_io.c:35:
  ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:259: 
  warning: redundant redeclaration of `xf86MakeNewMapping' in same scope
  ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:143: 
  warning: previous declaration of `xf86MakeNewMapping'
  ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:260: 
  warning: redundant redeclaration of `xf86InitVidMem' in same scope
  ../../../../../../programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h:144: 
  warning: previous declaration of `xf86InitVidMem'
  lnx_io.c: In function `KDKBDREP_ioctl_ok':
  lnx_io.c:83: error: structure has no member named `rate'
  lnx_io.c:91: error: structure has no member named `rate'
  lnx_io.c:93: error: structure has no member named `rate'
  lnx_io.c:94: error: structure has no member named `rate'
  lnx_io.c:95: error: structure has no member named `rate'
  make[8]: *** [lnx_io.o] Error 1
  make[8]: Leaving directory 
  `/home/blarson/src2/xfree86-4.2.1/build-tree/xc/programs/Xserver/hw/xfree86/os-support/linux'
  make[7]: *** [linux] Error 2
 
 What kernel version are you running? Specifically, what kernel headers
 is XFree86 finding?

The new linux-kernel-headers. I tend to consider this incompatible
change a bug in them, however current XFree86 CVS works around it, this
patch is all that should be needed.


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Software libre enthusiast|   http://svcs.affero.net/rm.php?r=daenzer
Index: programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c
===
RCS file: /home/x-cvs/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c,v
retrieving revision 3.24
retrieving revision 3.25
diff -p -u -r3.24 -r3.25
--- programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c	20 Oct 2002 21:45:27 -	3.24
+++ programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c	19 Aug 2003 17:32:34 -	3.25
@@ -67,6 +67,7 @@ xf86GetKbdLeds()
  * from util-linux-2.9t package */
 
 #include linux/kd.h
+#include linux/version.h
 #ifdef __sparc__
 #include asm/param.h
 #include asm/kbio.h


Bug#219714: xfree86: FTBFS on i386: lnx_io.c: structure has no member named `rate'

2003-11-08 Thread Blars Blarson
On Sat, Nov 08, 2003 at 08:38:04PM +1100, Daniel Stone wrote:
 What kernel version are you running? Specifically, what kernel headers
 is XFree86 finding?

kernel-headers-2.4.22-1 2.4.22-3
kernel-headers-2.4.22-1-686 2.4.22-3
linux-kernel-headers2.5.999-test7-bk-8

All current sid versions as of about 11 hours ago.

I'm running a self-compiled 2.4.22 kernel.  (Debian package with my
.config, i2c, alsa-drivers, lirc-modules, and lm-sensors.)

-- 
Blars Blarson   [EMAIL PROTECTED]
http://www.blars.org/blars.html
With Microsoft, failure is not an option.  It is a standard feature.




[PATCH] xlibmesa-drm-src: divert original kernel modules out of the way

2003-11-08 Thread Flavio Stanchina
I'm experimenting with XFree86 4.3.0-0pre1v4 and I installed the 
xlibmesa-drm-src package to get OpenGL working on my Radeon. There's one 
problem though: dpkg complains loudly because the new DRM modules would 
overwrite the old kernel modules, so either one rebuilds his kernel 
without old DRM modules or he has to --force installation.


This patch solves the problem by diverting the old modules out of the 
way, to a directory called /lib/modules/$(KVERS)_diversions. It works 
for me, but it's really just a quick hack: for example, I preprocess the 
preinst and postrm scripts with sed instead of m4 because I know nothing 
about m4 and I couldn't get it to work. I hope the idea is fine though.


--
Ciao,
Flavio Stanchina
Trento - Italy

diff -urN xlibmesa-drm.orig/debian/changelog.m4 xlibmesa-drm/debian/changelog.m4
--- xlibmesa-drm.orig/debian/changelog.m4   2003-07-31 10:24:21.0 
+0200
+++ xlibmesa-drm/debian/changelog.m42003-11-06 21:53:01.0 +0100
@@ -1,6 +1,7 @@
 xlibmesa-drm-module-KVERS (4.3.0-0pre1v1+KDREV) unstable; urgency=low
 
   * Built from xlibmesa-drm-src.
+- Patched to divert original kernel modules out of the way.
 
  -- KMAINT KEMAIL  DEBDATE
 
diff -urN xlibmesa-drm.orig/debian/control.m4 xlibmesa-drm/debian/control.m4
--- xlibmesa-drm.orig/debian/control.m4 2003-07-31 10:24:21.0 +0200
+++ xlibmesa-drm/debian/control.m4  2003-11-06 22:00:46.0 +0100
@@ -1,3 +1,4 @@
+Source: xlibmesa-drm-module-KVERS
 Section: graphics
 Priority: extra
 Maintainer: KMAINT KEMAIL
diff -urN xlibmesa-drm.orig/debian/postrm.in xlibmesa-drm/debian/postrm.in
--- xlibmesa-drm.orig/debian/postrm.in  1970-01-01 01:00:00.0 +0100
+++ xlibmesa-drm/debian/postrm.in   2003-11-08 16:57:45.0 +0100
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+set -e
+
+PACKAGE='[EMAIL PROTECTED]@'
+MODULES='gamma.o i810.o i830.o mga.o r128.o radeon.o tdfx.o'
+MODULE_DIR='/lib/modules/@KVERS@/kernel/drivers/char/drm'
+DIVERT_DIR='/lib/modules/@[EMAIL PROTECTED]'
+
+case $1 in
+remove)
+   for module in $MODULES; do
+   dpkg-divert --remove --package $PACKAGE \
+   --divert $DIVERT_DIR/$module \
+   --rename $MODULE_DIR/$module
+   done
+
+   if [ -d $DIVERT_DIR ]; then
+   rmdir $DIVERT_DIR || true
+   fi
+;;
+
+purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+;;
+
+*)
+echo postrm called with unknown argument \`$1' 2
+exit 0
+;;
+esac
+
+#DEBHELPER#
+
diff -urN xlibmesa-drm.orig/debian/preinst.in xlibmesa-drm/debian/preinst.in
--- xlibmesa-drm.orig/debian/preinst.in 1970-01-01 01:00:00.0 +0100
+++ xlibmesa-drm/debian/preinst.in  2003-11-08 16:57:45.0 +0100
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+set -e
+
+PACKAGE='[EMAIL PROTECTED]@'
+MODULES='gamma.o i810.o i830.o mga.o r128.o radeon.o tdfx.o'
+MODULE_DIR='/lib/modules/@KVERS@/kernel/drivers/char/drm'
+DIVERT_DIR='/lib/modules/@[EMAIL PROTECTED]'
+
+case $1 in
+install)
+   if [ ! -d $DIVERT_DIR ]; then
+   mkdir -p $DIVERT_DIR || true
+   fi
+
+   for module in $MODULES; do
+   dpkg-divert --add --package $PACKAGE \
+   --divert $DIVERT_DIR/$module \
+   --rename $MODULE_DIR/$module
+   done
+;;
+
+upgrade)
+;;
+
+abort-upgrade)
+;;
+
+*)
+echo preinst called with unknown argument \`$1' 2
+exit 0
+;;
+esac
+
+#DEBHELPER#
+
diff -urN xlibmesa-drm.orig/debian/rules xlibmesa-drm/debian/rules
--- xlibmesa-drm.orig/debian/rules  2003-07-31 10:24:21.0 +0200
+++ xlibmesa-drm/debian/rules   2003-11-08 17:05:01.0 +0100
@@ -10,6 +10,12 @@
 M4 = m4
 M4DEFINES = -DKVERS=$(KVERS) -DKSRC=$(KSRC) -DKEMAIL=$(KEMAIL) 
-DKMAINT=$(KMAINT) -DKDREV=$(KDREV) -DDEBDATE=$(shell date -R)
 
+%: %.m4
+   $(M4) $(M4DEFINES) $  $@
+
+%: %.in
+   sed -e 's/@KVERS@/$(KVERS)/g' $  $@
+
 # We are called from make-kpkg through one of the targets kdist,
 # kdist_configure, kdist_changes or kdist_image
 # When called from make-kpkg we have available:
@@ -22,7 +28,7 @@
 MODULE_DIR = debian/tmp/lib/modules/$(KVERS)/kernel/drivers/char/drm/
 
 configure: configure-stamp
-configure-stamp: debian/control debian/changelog
+configure-stamp: debian/control debian/changelog debian/preinst debian/postrm
touch $@
 
 build: build-stamp
@@ -60,11 +66,11 @@
 
 kdist_clean: clean
 
-debian/control: debian/control.m4
-   $(M4) $(M4DEFINES) debian/control.m4  $@
+debian/control   : debian/control.m4
+debian/changelog : debian/changelog.m4
 
-debian/changelog: debian/changelog.m4
-   $(M4) $(M4DEFINES) debian/changelog.m4  $@
+debian/preinst   : debian/preinst.in
+debian/postrm: debian/postrm.in
 
 .PHONY: build install configure
 


Re: [PATCH] xlibmesa-drm-src: divert original kernel modules out of the way

2003-11-08 Thread Flavio Stanchina

Flavio Stanchina wrote:

--- xlibmesa-drm.orig/debian/control.m4 2003-07-31 10:24:21.0 +0200
+++ xlibmesa-drm/debian/control.m4  2003-11-06 22:00:46.0 +0100
@@ -1,3 +1,4 @@
+Source: xlibmesa-drm-module-KVERS
 Section: graphics
 Priority: extra
 Maintainer: KMAINT KEMAIL


P.S. I had to add this Source: line to the control file, otherwise the 
package wouldn't build. I'm not sure if it's really needed or if it's me 
who was doing something wrong.


--
Ciao,
Flavio Stanchina
Trento - Italy




Bug#187218: xserver-xfree86: Wrong update of system

2003-11-08 Thread Leonardo Boselli
Package: xserver-xfree86
Version: 4.2.1-12.1
Severity: normal
Followup-For: Bug #187218

[this report, in part, apply also to woody and sid using 4.2.1-13]
After upgrading i do not longer have access to port 6000, that is, I cannot
act, even after giving xhost + , access on xcommand -display localhost:0 .
It looks some update rewrite some configuration file.
[sarge specific]
update propsed to rewrite XF86config-4 but did not took default from
previous file, so giving default to all question did nopt worked [i just
grap previous config and did worked, except for the 6000 port ...]
[the same thingdone the day befor on sid worked ... althoughth whith a
different video chipset] 


-- Package-specific info:
00:08.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:08.0 Class 0300: 1002:4752 (rev 27)


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dipolo 2.4.20-3-686 #1 Sat Jun 7 22:34:55 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages xserver-xfree86 depends on:
ii  debconf   1.3.15 Debian configuration management sy
ii  libc6 2.3.2-9GNU C Library: Shared libraries an
ii  xserver-common4.2.1-12.1 files and utilities common to all 
ii  zlib1g1:1.1.4-16 compression library - runtime

-- debconf information:
* xserver-xfree86/config/device/identifier: Generic Video Card
  xserver-xfree86/config/monitor/screen-size: 17 inches (430 mm)
* xserver-xfree86/config/device/use_fbdev: false
* xserver-xfree86/config/monitor/selection-method: Medium
  xserver-xfree86/config/doublequote_in_string_error: 
  shared/default-x-server: xserver-xfree86
* xserver-xfree86/config/inputdevice/mouse/emulate3buttons: true
* xserver-xfree86/config/device/bus_id: 
* xserver-xfree86/config/inputdevice/keyboard/layout: us
  xserver-xfree86/config/monitor/horiz-sync: 30-68
* xserver-xfree86/config/monitor/identifier: KDS:e605
  shared/no_known_x-server: 
* xserver-xfree86/autodetect_mouse: false
* xserver-xfree86/config/device/video_ram: 
* xserver-xfree86/config/monitor/mode-list: 1152x864 @ 75Hz
* xserver-xfree86/config/monitor/lcd: false
  xserver-xfree86/config/inputdevice/keyboard/internal: 
  xserver-xfree86/clobber_XF86Config-4: 
* xserver-xfree86/config/inputdevice/keyboard/rules: xfree86
  xserver-xfree86/multiple_possible_x-drivers: 
* xserver-xfree86/config/inputdevice/keyboard/model: pc105
* xserver-xfree86/config/write_dri_section: true
* xserver-xfree86/config/device/driver: mga
  xserver-xfree86/config/monitor/vert-refresh: 50-85
* xserver-xfree86/config/display/default_depth: 8
* xserver-xfree86/config/inputdevice/mouse/zaxismapping: true
* xserver-xfree86/config/display/modes: 1152x864, 1024x768, 800x600, 640x480
  xserver-xfree86/config/inputdevice/mouse/retry_detection: 
  xserver-xfree86/config/device/bus_id_error: 
* xserver-xfree86/config/modules: GLcore, bitmap, dbe, ddc, dri, extmod, 
freetype, glx, int10, record, speedo, type1, vbe
* xserver-xfree86/config/inputdevice/keyboard/options: 
  xserver-xfree86/config/nonnumeric_string_error: 
* xserver-xfree86/config/inputdevice/mouse/protocol: PS/2
  shared/multiple_possible_x-servers: 
  xserver-xfree86/config/null_string_error: 
  xserver-xfree86/config/monitor/range_input_error: 
  xserver-xfree86/autodetect_video_card: true
* xserver-xfree86/config/inputdevice/keyboard/variant: 
* xserver-xfree86/config/inputdevice/mouse/port: /dev/gpmdata
* xserver-xfree86/config/write_files_section: true
* xserver-xfree86/autodetect_monitor: true





Re: [PATCH] xlibmesa-drm-src: divert original kernel modules out of the way

2003-11-08 Thread Michel Dänzer
On Sat, 2003-11-08 at 18:07, Flavio Stanchina wrote:
 I'm experimenting with XFree86 4.3.0-0pre1v4 and I installed the 
 xlibmesa-drm-src package to get OpenGL working on my Radeon. There's one 
 problem though: dpkg complains loudly because the new DRM modules would 
 overwrite the old kernel modules, so either one rebuilds his kernel 
 without old DRM modules or he has to --force installation.

xlibmesa-drm-src no longer exists, the last version was 4.3.0-0pre1v1.
That being said...

 This patch solves the problem by diverting the old modules out of the 
 way, to a directory called /lib/modules/$(KVERS)_diversions. It works 
 for me, but it's really just a quick hack: for example, I preprocess the 
 preinst and postrm scripts with sed instead of m4 because I know nothing 
 about m4 and I couldn't get it to work. I hope the idea is fine though.

I'm afraid not, because the list of modules varies between
architectures. My current drm-trunk-module-src generates dpkg-divert
calls only for the actually available modules.


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Software libre enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Bug#187218: xserver-xfree86: Wrong update of system

2003-11-08 Thread Michel Dänzer
On Sat, 2003-11-08 at 18:29, Leonardo Boselli wrote:
 
 After upgrading i do not longer have access to port 6000, that is, I cannot
 act, even after giving xhost + , access on xcommand -display localhost:0 .

Curious, why do you use localhost:0 (which results in a TCP connection)
instead of just :0 (which results in a UNIX socket connection, which
should be more efficient)?


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Software libre enthusiast|   http://svcs.affero.net/rm.php?r=daenzer




Permissions

2003-11-08 Thread Rainer Dorsch
Hello,

I am wondering, why the permissions for /usr/X11R6/bin have to be like this

topsi:/usr/X11R6# ls -l
total 20
drwx--2 root root 8192 Nov  8 20:12 bin
drwxr-xr-x3 root root 4096 Nov  8 16:18 include
drwxr-xr-x4 root root 4096 Nov  8 19:08 lib
drwxr-xr-x6 root root 4096 Nov  8 16:27 man
topsi:/usr/X11R6#

or is that just a bug?

I installed today sarge and then upgraded to sid.

Thanks,
Rainer

-- 
Rainer Dorsch
Alzentalstr. 28
D-71083 Herrenberg
07032-919495
Icq: 32550367



Re: Bug#219163: ITP: synaptic-touchpad -- Synaptics TouchPad driver for XFree86

2003-11-08 Thread Branden Robinson
On Thu, Nov 06, 2003 at 08:04:21PM +0100, Mattia Dongili wrote:
 On Thu, Nov 06, 2003 at 01:23:09PM -0500, Branden Robinson wrote:
  Er, actually, last I heard, the author was still looking into
  relicensing it in a manner consistent with XFree86's requirements.
  (They don't accept GPLed code.)
 
 that's what he told me too. He also said he is still unable to contact
 every single contributor to confirm the license change.

Bummer.

  It may be a good idea to go ahead and package it, though I am not sure
  you have picked the best name for it.
 
 hummm... I know... It took me a while to choose it :) Any suggestion?
 synaptic-touchpad-driver?
 synaptic-driver?

What's the module name?  synaptic?

If so, I recommend:

xfree86-driver-synaptic

Please be sure to mention in the package description that this is a
driver module *for* the XFree86 X server, not a driver module *from* the
XFree86 Project, Inc.

   and btw, (I'm still in the NM queue) how do I remove the ITP bug? do I
   just need to close it?
  
  If you abandon the package, change it to an RFP.  If you package it,
  close the bug in the changelog of the initial release.
 
 I'll package it. I'm a bit unsure about XFree configuration after
 installation. I'll simply provide a sample configuration and big fat
 README.Debian

Okay.  Thanks for working on this!

-- 
G. Branden Robinson| It just seems to me that you are
Debian GNU/Linux   | willfully entering an arse-kicking
[EMAIL PROTECTED] | contest with a monstrous entity
http://people.debian.org/~branden/ | that has sixteen legs and no arse.


signature.asc
Description: Digital signature


You blocked my email

2003-11-08 Thread Lionel Brewer
celebrate swell duke

LOW-COST [EMAIL PROTECTED]

Now you can get generic [EMAIL PROTECTED] for as low as $2.50 per dose,
with a FR|EE physician's consultation and discrete shipment to the
privacy of your home or office.

Costs over 60% less than Brand Name
FR|EE Doctor Consultation
FR|EE Shipp|ing
Private delivery to your home
100% M|oney Back G|uarantee

FUL|L RE|FUND IF NOT DELIGHTED!

Please Visit The Site Below For More Information
http://www.5r5g.com/xm/

uywdw e nacpzl hhoodmizufen zsf

ljz
zcvcugs  jcaivcif
rn

bgm
o
  qyz evnywqbg 


Bug#219551: Unicode xterms should do some kind of substitution for missing characters

2003-11-08 Thread Eduard Bloch
#include hallo.h
* Cameron Patrick [Fri, Nov 07 2003, 05:31:12PM]:
 Package: xterm
 Version: 4.3.0-0pre1v4
 
 Many TrueType fonts don't have both a hyphen (0x2010) and a minus sign
 (0x2212); however, groff (and thus man pages) differentiates between the
 two in UTF-8 locales.  This results in lots of man pages displaying ugly
 boxes where hyphens should be in a uxterm, but displaying fine on a
 'normal' xterm where there is no distinction between the two characters.

That's not a problem with the certain terminal emulator, that is a
problem with groff syntax not understood by many authors. Xterm works
just fine as UTF-8 terminal as well as mlterm/pterm/konsole/gnome-terminal
but the manpages simply specify the wrong char.

It was promised that groff will recode hyphen to minus sign in some
future version (maybe as an option) to work around broken manpages.

MfG,
Eduard.




monstrous arse [Re: Bug#219163: ITP: synaptic-touchpad -- Synaptics TouchPad driver for XFree86]

2003-11-08 Thread Tom
On Sat, Nov 08, 2003 at 02:52:09PM -0500, Branden Robinson wrote:
 G. Branden Robinson| It just seems to me that you are
 Debian GNU/Linux   | willfully entering an arse-kicking
 [EMAIL PROTECTED] | contest with a monstrous entity
 http://people.debian.org/~branden/ | that has sixteen legs and no arse.

Okay, googling for monstrous entity and sixteen legs shows that this 
quote is a .SIG that has been passed around a few times, but I can't 
find the original quote or any context to explain it.

Is Debian the monstrous entity or the wilful enterer?  Am I the arse?
grin



Bug#218630: x-terminal-emulator manpage should point to xterm(1x)

2003-11-08 Thread Jeff King
Package: xterm
Version: 4.2.1-13
Severity: minor
Followup-For: Bug #218630

The original xterm manpage can still be accessed as man 1x xterm. The
uxterm page should at the very least mention xterm(1x) and not
xterm(1).  Though even that might be confusing for a user who hasn't
used man extensively, it at least resolves the problem where xterm(1)
literally points you back to xterm(1).

-Peff





Re: Bug#219163: ITP: synaptic-touchpad -- Synaptics TouchPad driver for XFree86

2003-11-08 Thread Daniel Stone
On Sat, Nov 08, 2003 at 02:52:09PM -0500, Branden Robinson wrote:
 On Thu, Nov 06, 2003 at 08:04:21PM +0100, Mattia Dongili wrote:
  On Thu, Nov 06, 2003 at 01:23:09PM -0500, Branden Robinson wrote:
   Er, actually, last I heard, the author was still looking into
   relicensing it in a manner consistent with XFree86's requirements.
   (They don't accept GPLed code.)
  
  that's what he told me too. He also said he is still unable to contact
  every single contributor to confirm the license change.
 
 Bummer.

There is one unreachable person; IIRC, he was a reasonably major
contributor.

  hummm... I know... It took me a while to choose it :) Any suggestion?
  synaptic-touchpad-driver?
  synaptic-driver?
 
 What's the module name?  synaptic?

synaptics.

 If so, I recommend:
 
 xfree86-driver-synaptic
 
 Please be sure to mention in the package description that this is a
 driver module *for* the XFree86 X server, not a driver module *from* the
 XFree86 Project, Inc.

I was thinking about xfree86-driver-synaptics, or
xfree86-driver-input-synaptics, but the last one is too unnecessarily
longwinded. (I was going to package this as an XSF project, post-exams).

  I'll package it. I'm a bit unsure about XFree configuration after
  installation. I'll simply provide a sample configuration and big fat
  README.Debian

The synaptics README has sample configurations in it.

-- 
Daniel Stone  [EMAIL PROTECTED]
The programs are documented fully by _The Rise and Fall of a Fooish Bar_,
available by the Info system. -- debian/manpage.sgml.ex, dh_make template


pgpz6RSY1ou6Z.pgp
Description: PGP signature


Bug#187218: xserver-xfree86: Wrong update of system

2003-11-08 Thread Daniel Stone
On Sat, Nov 08, 2003 at 06:29:13PM +0100, Leonardo Boselli wrote:
 [this report, in part, apply also to woody and sid using 4.2.1-13]
 After upgrading i do not longer have access to port 6000, that is, I cannot
 act, even after giving xhost + , access on xcommand -display localhost:0 .
 It looks some update rewrite some configuration file.
 [sarge specific]
 update propsed to rewrite XF86config-4 but did not took default from
 previous file, so giving default to all question did nopt worked [i just
 grap previous config and did worked, except for the 6000 port ...]
 [the same thingdone the day befor on sid worked ... althoughth whith a
 different video chipset] 

The answer to the question you asked is that X is now called with
-nolisten tcp (I believe there is a Debconf note about this); Michel
answered your real question, however.

-- 
Daniel Stone  [EMAIL PROTECTED]
The programs are documented fully by _The Rise and Fall of a Fooish Bar_,
available by the Info system. -- debian/manpage.sgml.ex, dh_make template


pgpt4WqHi5DCl.pgp
Description: PGP signature


[4.3.0-0pre1v4] Server crashes - repeatable

2003-11-08 Thread Karl M. Hegbloom
XEmacs 21, latest version from unstable, with gnuplot-mode; turn XEmacs
toolbars off from the options menu, turn balloon-help mode on (M-x
customize-apropos, balloon), but don't turn off the gnuplot toolbar;
leave it at it's default configuration.  Open a file and set it to
gnuplot-mode, then write in a command for gnuplot and highlight it.  Fly
the mouse pointer over the region toolbar button, and the X server
crashes, every time, right when the balloon-help window posts.  I am
using the latest sawfish from unstable also.

I do not know how to find the crash.  If you teach me how to do that I
will be able to provide more information in the future when things like
this occur.  How can I observe which program / library the crash occurs
in?  Any HOWTO out there I should know about or someone should write?







Bug#198344: marked as done (xserver-xfree86: [nv] GeForce2 MX not supported in XFree86 4.1.0)

2003-11-08 Thread Debian Bug Tracking System
Your message dated Sat, 8 Nov 2003 20:53:11 -0500
with message-id [EMAIL PROTECTED]
and subject line Bug#198344: xserver-xfree86: nvidia+kernel 2.6.0-test7+debian 
unstable
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--
Received: (at submit) by bugs.debian.org; 21 Jun 2003 22:34:17 +
From [EMAIL PROTECTED] Sat Jun 21 17:34:16 2003
Return-path: [EMAIL PROTECTED]
Received: from rwcrmhc53.comcast.net (rwcrmhc13.attbi.com) [204.127.198.39] 
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 19Tqw4-0002z9-00; Sat, 21 Jun 2003 17:34:16 -0500
Received: from gamer (12-206-121-245.client.attbi.com[12.206.121.245](untrusted 
sender))
  by attbi.com (rwcrmhc13) with SMTP
  id 2003062122341501500aldbfe; Sat, 21 Jun 2003 22:34:15 +
From: mpbuss1 [EMAIL PROTECTED]
To: XFree86@XFree86.Org,
[EMAIL PROTECTED]
Subject: Package: xfree86-common
Date: Sat, 21 Jun 2003 15:34:33 -0700
Message-ID: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-4.4 required=4.0
tests=HAS_PACKAGE,MAILTO_TO_SPAM_ADDR
version=2.53-bugs.debian.org_2003_06_18
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_18 
(1.174.2.15-2003-03-30-exp)

Package: xfree86-common

Any help to resolve this issue, much appreciated.

Thank you ...  Mike

bug reports:

I'm running a Asus A7N266 board with a nVidia Force 420 chipset and a
GeForce2 MX GPU.

bud:/# startx

warning: process set to nice value 0 instead of -10 as requested

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.17 i686 [ELF]
Module Loader present
(==) Log file: /var/log/XFree86.0.log, Time: Sat Jun 21 15:07:26 2003
(==) Using config file: /etc/X11/XF86Config-4
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Sony G400
(**) |   |--Device nv Gforce-2
(**) |--Input Device Generic Keyboard
(**) XKB: rules: xfree86
(**) XKB: model: pc104
(**) XKB: layout: us
(**) |--Input Device Configured Mouse
(**) |--Input Device Generic Mouse
(WW) The directory /usr/lib/X11/fonts/cyrillic does not exist.
Entry deleted from font path.
(**) FontPath set to
unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr
/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/S
peedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi
(==) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(--) using VT number 7

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.1.0.1, module version = 0.1.0
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor=The XFree86 Project
compiled for 4.1.0.1, module version = 0.1.0
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(--) PCI:*(2:0:0) NVidia unknown chipset (0x01a0) rev 177, Mem @
0xe400/24, 0xe800/27, BIOS @ 0xe7ff/16
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor=The XFree86 Project
compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor=The XFree86 Project
compiled for 4.1.0.1, 

Bug#219551: Unicode xterms should do some kind of substitution for missing characters

2003-11-08 Thread Cameron Patrick
On Sat, Nov 08, 2003 at 09:03:49PM +0100, Eduard Bloch wrote:

|  Many TrueType fonts don't have both a hyphen (0x2010) and a minus sign
|  (0x2212); however, groff (and thus man pages) differentiates between the
|  two in UTF-8 locales.  This results in lots of man pages displaying ugly
|  boxes where hyphens should be in a uxterm, but displaying fine on a
|  'normal' xterm where there is no distinction between the two characters.
| 
| That's not a problem with the certain terminal emulator, that is a
| problem with groff syntax not understood by many authors. Xterm works
| just fine as UTF-8 terminal as well as mlterm/pterm/konsole/gnome-terminal
| but the manpages simply specify the wrong char.

That may be so, but gnome-terminal /does/ cope with this situation by
displaying replacing the hyphen with a minus sign when the font doesn't
contain the former.  Konsole and xterm do not.  xterm is my preferred
terminal emulator and it would be nice to see it cope gracefully with
incomplete fonts---and after all, I would imagine that in the majority
of fonts there exists some Unicode character which is missing and
another similar character which could be substituted for it.

| It was promised that groff will recode hyphen to minus sign in some
| future version (maybe as an option) to work around broken manpages.

That would be a workaround for this particular case - which is admittedly
the only that I've noticed.

Cheers,

Cameron.