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

Bug#343828: xbase-clients: [xrdb] please allow use of xrdb parameters



Package: xbase-clients
Version: 6.8.2.dfsg.1-11
Severity: wishlist

As of http://www.gnome.org/~lcolitti/gnome-startup/analysis/, I wanted
to try using mcpp instead of GNU cpp, but
/etc/X11/Xsession.d/30x11-common_xresources did not ease modifications
for it, so I wrote a tiny patch (here for using parameter "-cpp mcpp" of
course, but should be generic and clean enough for whatever other
usage).

Hope you can get this included anytime soon.

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

Versions of packages xbase-clients depends on:
ii  cpp                      4:4.0.2-2       The GNU C preprocessor (cpp)
ii  libc6                    2.3.5-8.1       GNU C Library: Shared libraries an
ii  libdmx1                  6.8.2.dfsg.1-11 Distributed Multihead X client lib
ii  libdps1                  6.8.2.dfsg.1-11 Display PostScript (DPS) client li
ii  libexpat1                1.95.8-3        XML parsing C library - runtime li
ii  libfontconfig1           2.3.2-1.1       generic font configuration library
ii  libfreetype6             2.1.10-1        FreeType 2 font engine, shared lib
ii  libfs6                   6.8.2.dfsg.1-11 X Font Server library
ii  libglu1-xorg [libglu1]   6.8.2.dfsg.1-11 Mesa OpenGL utility library [X.Org
ii  libice6                  6.8.2.dfsg.1-11 Inter-Client Exchange library
ii  libncurses5              5.5-1           Shared libraries for terminal hand
ii  libpng12-0               1.2.8rel-5      PNG library - runtime
ii  libsm6                   6.8.2.dfsg.1-11 X Window System Session Management
ii  libxau6                  6.8.2.dfsg.1-11 X Authentication library
ii  libxaw8                  6.8.2.dfsg.1-11 X Athena widget set library
ii  libxcursor1              1.1.3-1         X cursor management library
ii  libxext6                 6.8.2.dfsg.1-11 X Window System miscellaneous exte
ii  libxft2                  2.1.7-1         FreeType-based font drawing librar
ii  libxi6                   6.8.2.dfsg.1-11 X Window System Input extension li
ii  libxinerama1             6.8.2.dfsg.1-11 X Window System multi-head display
ii  libxkbfile1              6.8.2.dfsg.1-11 X Keyboard Extension file parsing 
ii  libxkbui1                6.8.2.dfsg.1-11 X Keyboard Extension user interfac
ii  libxmu6                  6.8.2.dfsg.1-11 X Window System miscellaneous util
ii  libxmuu1                 6.8.2.dfsg.1-11 lightweight X Window System miscel
ii  libxp6                   6.8.2.dfsg.1-11 X Window System printing extension
ii  libxpm4                  6.8.2.dfsg.1-11 X pixmap library
ii  libxrandr2               6.8.2.dfsg.1-11 X Window System Resize, Rotate and
ii  libxrender1              1:0.9.0-2       X Rendering Extension client libra
ii  libxss1                  6.8.2.dfsg.1-11 X Screen Saver client-side library
ii  libxt6                   6.8.2.dfsg.1-11 X Toolkit Intrinsics
ii  libxtrap6                6.8.2.dfsg.1-11 X Window System protocol-trapping 
ii  libxtst6                 6.8.2.dfsg.1-11 X Window System event recording an
ii  libxv1                   6.8.2.dfsg.1-11 X Window System video extension li
ii  libxxf86dga1             6.8.2.dfsg.1-11 X Direct Graphics Access extension
ii  libxxf86misc1            6.8.2.dfsg.1-11 X miscellaneous extensions library
ii  libxxf86vm1              6.8.2.dfsg.1-11 X Video Mode selection library
ii  xlibmesa-gl [libgl1]     6.8.2.dfsg.1-11 Mesa 3D graphics library [X.Org]
ii  xlibs                    6.8.2.dfsg.1-11 X Window System client libraries m
ii  xlibs-data               6.8.2.dfsg.1-11 X Window System client data
ii  zlib1g                   1:1.2.3-8       compression library - runtime

xbase-clients recommends no packages.

-- no debconf information
--- 30x11-common_xresources.orig	2005-12-18 01:12:16.000000000 +0100
+++ 30x11-common_xresources	2005-12-18 01:10:52.000000000 +0100
@@ -5,18 +5,19 @@
 # If xrdb (from xbase-clients) is installed, merge system-wide X resources.
 # Then merge the user's X resources, if the options file is so configured.
 if which xrdb >/dev/null 2>&1; then
+  XRDB_OPTS="-cpp mcpp"
   if [ -d "$SYSRESOURCES" ]; then
     RESOURCEFILES=$(run-parts --list $SYSRESOURCES)
     if [ -n "$RESOURCEFILES" ]; then
       for RESOURCEFILE in $RESOURCEFILES; do
-        xrdb -merge $RESOURCEFILE
+        xrdb $XRDB_OPTS -merge $RESOURCEFILE
       done
     fi
   fi
 
   if grep -qs ^allow-user-resources "$OPTIONFILE"; then
     if [ -f "$USRRESOURCES" ]; then
-      xrdb -merge $USRRESOURCES
+      xrdb $XRDB_OPTS -merge $USRRESOURCES
     fi
   fi
 else

Reply to: