Bug#362492: Bug #362492: xfs: Config file location has changed - postinstall and documentation fails to note this

2006-04-29 Thread Andreas Metzler
On 2006-04-13 Mike Brodbelt <[EMAIL PROTECTED]> wrote:
> Package: xfs
> Version: 1:1.0.1-4
> Severity: normal

> With previous versions of xfs, the config file used by default was
> /etc/X11/fs/config, however the newly packaged version now defaults to
> using /usr/lib/X11/fs/config.
[...]

Hello,
Afaict this easily fixable, either by patch.1 which requires
re-running automake or by patch.2 which simply hardcodes the path.
cu andreas

-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.(c) Jasper Ffforde
diff -Nur xfs-1.0.1.orig/Makefile.am xfs-1.0.1/Makefile.am
--- xfs-1.0.1.orig/Makefile.am  2006-03-06 01:13:54.0 +
+++ xfs-1.0.1/Makefile.am   2006-04-29 16:03:07.0 +
@@ -19,7 +19,7 @@
 #  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 #  PERFORMANCE OF THIS SOFTWARE.
 
-configdir = $(libdir)/X11/fs
+configdir = $(sysconfdir)/X11/fs
 
 bin_PROGRAMS = xfs
 
diff -Nur xfs-1.0.1.orig/debian/rules xfs-1.0.1/debian/rules
--- xfs-1.0.1.orig/debian/rules 2006-04-29 15:53:16.0 +
+++ xfs-1.0.1/debian/rules  2006-04-29 16:03:21.0 +
@@ -43,7 +43,8 @@
mkdir obj-$(DEB_BUILD_GNU_TYPE)
cd obj-$(DEB_BUILD_GNU_TYPE) && \
../configure --prefix=/usr --mandir=\$${prefix}/share/man \
---infodir=\$${prefix}/share/info $(confflags) \
+--infodir=\$${prefix}/share/info \
+--sysconfdir=/etc $(confflags) \
 CFLAGS="$(CFLAGS)" 
cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
 
diff -Nur xfs-1.0.1.orig/difs/main.c xfs-1.0.1/difs/main.c
--- xfs-1.0.1.orig/difs/main.c  2006-03-06 01:13:54.0 +
+++ xfs-1.0.1/difs/main.c   2006-04-29 16:07:41.0 +
@@ -69,9 +69,7 @@
 
 Cache   serverCache;
 
-#ifndef DEFAULT_CONFIG_FILE
-#define DEFAULT_CONFIG_FILE "/usr/lib/X11/fs/config"
-#endif
+#define DEFAULT_CONFIG_FILE "/etc/X11/fs/config"
 
 #defineSERVER_CACHE_SIZE   1   /* for random server cacheables 
*/
 


Bug#362492: xfs: Config file location has changed - postinstall and documentation fails to note this

2006-04-13 Thread Mike Brodbelt
Package: xfs
Version: 1:1.0.1-4
Severity: normal


With previous versions of xfs, the config file used by default was
/etc/X11/fs/config, however the newly packaged version now defaults to
using /usr/lib/X11/fs/config. The README.Debian file still refers to
/etc/X11/fs/config as the configuration file, and installing the current
package results in a situation where the pre-existing configuration
information in /etc/X11/fs/config is silently ignored, and replaced with
the new package's default configuration. It would be nice if the
postinst script offered to migrate settings from a pre-existing
/etc/X11/fs/config file into the new config location.


-- 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.15.1
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages xfs depends on:
ii  libc6 2.3.6-6GNU C Library: Shared libraries
ii  libfs62:1.0.0-2  X11 Font Services library
ii  libxfont1 1:1.0.0-3  X11 font rasterisation library

xfs recommends no packages.

-- no debconf information


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