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

Bug#323262: marked as done (dexconf: Please add support for preseeding fontserver config)



Your message dated Mon, 15 Jan 2007 01:02:04 +0000
with message-id <E1H6GEe-0001VR-FA@ries.debian.org>
and subject line Bug#323262: fixed in xorg 1:7.1.0-11
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)

--- Begin Message ---
Package: xserver-common, xserver-xfree86, xserver-xorg
Version: 6.8.2.dfsg.1-5
Severity: wishlist
Tags: patch

When booting a thin client, there is a need to configure the font
server automatically at boot time.  To make this happen, we preseed
the configuration at boot time, and call dexconf to generate a new
configuration.

One of the values we want to set this way is the URL to the font
server on the thin client network.  This is at present not possible do
to in dexconf.  Please add a hidden debconf question to make it
possible to specify the font server URL.

This patch should make it possible.  There are two changes needed to
make this happen:

 - Use the debconf value of this template to add an extra FontPath if
   it is present.

 - Add new template $TEMPLATE_BASE/config/fontpath/fontserver to each
   server package (xserver-xorg and xserver-xfree86).  This template
   should be identical for all packages implementing this feature.

--- /usr/src/chroot-sid/usr/bin/dexconf 2005-08-10 11:14:39.000000000 +0200
+++ /tmp/dexconf.new    2005-08-15 20:41:53.579316901 +0200
@@ -247,10 +247,21 @@

 fetch $TEMPLATE_BASE/config/write_files_section
 if [ "$RET" = "true" ]; then
+  db_get $TEMPLATE_BASE/config/fontpath/fontserver
+  if [ -n "$RET" ] ; then
+    FONTSERVER="$RET"
+  else
+    FONTSERVER=""
+  fi
   exec 4>"$DEXCONFTMPDIR/Files"
   cat >&4 <<SECTION
 Section "Files"
        FontPath        "unix/:7100"                    # local font server
+SECTION
+  if [ -n "$FONTSERVER" ] ; then
+      echo "   FontPath        \"$FONTSERVER\"" >&4
+  fi
+  cat >&4 <<SECTION
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"


Here is a proposed debconf template for this variable:

  Template: xserver-xorg/config/fontpath/fontserver
  Type: string
  Description: Extra fontpath URL
   This is an internal (hidden) debconf question.  It should not be
   translated.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xserver-common depends on:
ii  debconf [debconf-2.0]     1.4.57         Debian configuration management sy
ii  libc6                     2.3.5-3        GNU C Library: Shared libraries an
ii  x11-common                6.8.2.dfsg.1-5 X Window System (X.Org) infrastruc

xserver-common recommends no packages.

-- debconf information:
  xserver-common/xwrapper/nice_value/error:
  xserver-common/xwrapper/allowed_users: Console Users Only
  xserver-common/xwrapper/actual_allowed_users: console
  xserver-common/xwrapper/nice_value: -10


--- End Message ---
--- Begin Message ---
Source: xorg
Source-Version: 1:7.1.0-11

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.1.0-11_all.deb
  to pool/main/x/xorg/libglu1-xorg-dev_7.1.0-11_all.deb
libglu1-xorg_7.1.0-11_all.deb
  to pool/main/x/xorg/libglu1-xorg_7.1.0-11_all.deb
x-window-system-core_7.1.0-11_all.deb
  to pool/main/x/xorg/x-window-system-core_7.1.0-11_all.deb
x-window-system_7.1.0-11_all.deb
  to pool/main/x/xorg/x-window-system_7.1.0-11_all.deb
x11-common_7.1.0-11_i386.deb
  to pool/main/x/xorg/x11-common_7.1.0-11_i386.deb
xlibmesa-dri_7.1.0-11_all.deb
  to pool/main/x/xorg/xlibmesa-dri_7.1.0-11_all.deb
xlibmesa-gl-dev_7.1.0-11_all.deb
  to pool/main/x/xorg/xlibmesa-gl-dev_7.1.0-11_all.deb
xlibmesa-gl_7.1.0-11_all.deb
  to pool/main/x/xorg/xlibmesa-gl_7.1.0-11_all.deb
xlibmesa-glu_7.1.0-11_all.deb
  to pool/main/x/xorg/xlibmesa-glu_7.1.0-11_all.deb
xlibs-data_7.1.0-11_all.deb
  to pool/main/x/xorg/xlibs-data_7.1.0-11_all.deb
xlibs-static-dev_7.1.0-11_all.deb
  to pool/main/x/xorg/xlibs-static-dev_7.1.0-11_all.deb
xorg-dev_7.1.0-11_all.deb
  to pool/main/x/xorg/xorg-dev_7.1.0-11_all.deb
xorg_7.1.0-11.dsc
  to pool/main/x/xorg/xorg_7.1.0-11.dsc
xorg_7.1.0-11.tar.gz
  to pool/main/x/xorg/xorg_7.1.0-11.tar.gz
xorg_7.1.0-11_all.deb
  to pool/main/x/xorg/xorg_7.1.0-11_all.deb
xserver-xfree86_7.1.0-11_all.deb
  to pool/main/x/xorg/xserver-xfree86_7.1.0-11_all.deb
xserver-xorg-input-all_7.1.0-11_i386.deb
  to pool/main/x/xorg/xserver-xorg-input-all_7.1.0-11_i386.deb
xserver-xorg-video-all_7.1.0-11_i386.deb
  to pool/main/x/xorg/xserver-xorg-video-all_7.1.0-11_i386.deb
xserver-xorg_7.1.0-11_all.deb
  to pool/main/x/xorg/xserver-xorg_7.1.0-11_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 323262@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <julien.cristau@ens-lyon.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.7
Date: Mon, 15 Jan 2007 00:15:33 +0100
Source: xorg
Binary: x-window-system xlibs-static-dev xlibmesa-dri xserver-xorg-video-all xserver-xorg xorg-dev xserver-xorg-input-all libglu1-xorg-dev xlibmesa-glu xlibmesa-gl x11-common xserver-xfree86 xlibmesa-gl-dev x-window-system-core libglu1-xorg xlibs-data xorg
Architecture: source all i386
Version: 1:7.1.0-11
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <julien.cristau@ens-lyon.org>
Description: 
 libglu1-xorg - transitional package for Debian etch
 libglu1-xorg-dev - transitional package for Debian etch
 x-window-system - transitional package for Debian etch
 x-window-system-core - transitional package for Debian etch
 x11-common - X Window System (X.Org) infrastructure
 xlibmesa-dri - transitional package for Debian etch
 xlibmesa-gl - transitional package for Debian etch
 xlibmesa-gl-dev - transitional package for Debian etch
 xlibmesa-glu - transitional package for Debian etch
 xlibs-data - transitional package for X11 client data
 xlibs-static-dev - transitional metapackage
 xorg       - X.Org X Window System
 xorg-dev   - the X.Org X Window System development libraries
 xserver-xfree86 - transitional package for moving from XFree86 to X.Org
 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
Closes: 323262 406306
Changes: 
 xorg (1:7.1.0-11) unstable; urgency=medium
 .
   [ Julien Cristau ]
   * Added Tamil debconf translation (closes: #406306).
 .
   [ David Nusinow ]
   * Permit pre-seeding for font server in dexconf. This adds a new hidden
     template that does not need to be translated. Thanks Petter Reinholdtsen
     for the original report and patch, and Damyan Ivanov for noticing the
     regression. Closes: #323262
Files: 
 d2036ba4f94795ba3cf4ac22f02c159d 967 x11 optional xorg_7.1.0-11.dsc
 6d711d45c009ba86874fa5acf0d488be 1019532 x11 optional xorg_7.1.0-11.tar.gz
 f90a4bd834a2387acadcb9309e2b1aed 442544 x11 optional xserver-xorg_7.1.0-11_all.deb
 674c765addfcfc44674ae6536adc719c 17610 x11 optional xserver-xfree86_7.1.0-11_all.deb
 198cc26ba046e28134768662c15598c3 17906 x11 optional xorg_7.1.0-11_all.deb
 467c43a3e5ca15fe16a489cc3f6fa248 18096 x11 optional xorg-dev_7.1.0-11_all.deb
 5310f9bc41a7eadb7106f2411b27eb44 17656 libs optional xlibs-data_7.1.0-11_all.deb
 bf4e025a389ffdad6a3ac539cf0c5f8c 17770 libs optional xlibs-static-dev_7.1.0-11_all.deb
 e581f81b800ddbde951d83830ab2bed7 17632 libs optional xlibmesa-dri_7.1.0-11_all.deb
 f04912799d46ee408d31dfd8582f54a8 17632 libs optional xlibmesa-gl_7.1.0-11_all.deb
 74ce1e5beb347316f2dbe0e88812967e 17646 libdevel optional xlibmesa-gl-dev_7.1.0-11_all.deb
 eb8907c6b4bd9fce36c9c68f409135f4 17636 libdevel optional xlibmesa-glu_7.1.0-11_all.deb
 9db08c6c988b207221d81e4ed6eaa7cd 17628 libs optional libglu1-xorg_7.1.0-11_all.deb
 1d52770645a0fc2c626be03f2a585bf3 17640 libdevel optional libglu1-xorg-dev_7.1.0-11_all.deb
 19c2beeb598aff8fff6290b1f0b4927a 17680 x11 optional x-window-system_7.1.0-11_all.deb
 8a451bd6bdf7692a0f3270336d842e6c 17690 x11 optional x-window-system-core_7.1.0-11_all.deb
 04069e7afcbcb4f767df36022e17bd35 339366 x11 optional x11-common_7.1.0-11_i386.deb
 3e35c6c5264f17dd370d33ffe0f38d43 17840 x11 optional xserver-xorg-video-all_7.1.0-11_i386.deb
 507eb1976301c08d7e32405bcb0f5676 17706 x11 optional xserver-xorg-input-all_7.1.0-11_i386.deb

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

iD8DBQFFqs99mEvTgKxfcAwRAm9QAJ4zhcX/o1yhO0gmyQZCB8etuCnzBgCdFKx1
78qw12ji4IsM75S/h3qN+lo=
=6/mB
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: