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

Bug#215588: marked as done (xdvi does not honor XAPPLRESDIR)



Your message dated Fri, 23 Apr 2004 09:32:14 -0400
with message-id <E1BH0ms-0002hy-00@newraff.debian.org>
and subject line Bug#215588: fixed in tetex-bin 2.0.2-13
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; 13 Oct 2003 15:23:03 +0000
>From gildea@stop.mail-abuse.org Mon Oct 13 10:22:54 2003
Return-path: <gildea@stop.mail-abuse.org>
Received: from sgildea.best.vwh.net [192.220.99.1] 
	by master.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1A94X6-0004CL-00; Mon, 13 Oct 2003 10:22:52 -0500
Received: (qmail 31032 invoked by uid 25345); 13 Oct 2003 15:22:51 -0000
Received: from unknown (HELO sgildea.best.vwh.net) ([192.220.99.1]) (envelope-sender <gildea@stop.mail-abuse.org>)
          by 192.220.99.1 (qmail-ldap-1.03) with SMTP
          for <submit@bugs.debian.org>; 13 Oct 2003 15:22:51 -0000
From: Stephen Gildea <gildea@stop.mail-abuse.org>
To: submit@bugs.debian.org
Subject: xdvi does not honor XAPPLRESDIR
X-Mailer: mh-e 6.0; nmh 1.0.4; Emacs 20.4
Date: Mon, 13 Oct 2003 11:22:51 -0400
Message-Id: <E1A94X6-0004CL-00@master.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-7.9 required=4.0
	tests=HAS_PACKAGE,PATCH_UNIFIED_DIFF
	autolearn=ham version=2.53-bugs.debian.org_2003_10_13
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_13 (1.174.2.15-2003-03-30-exp)

Package: tetex-bin
Version: 2.0.2-4.3
Tags: patch

The xdvi program fails to honor my XAPPLRESDIR envvar.  This is because
the wrapper script /usr/bin/xdvi co-opts it for its own use.  I want my
XAPPLRESDIR to work.  XAPPLRESDIR is for user customizations, and
applications should not be setting it themselves.

Looking at the script, I see that it claims that clobbering XAPPLRESDIR
provides X11R3 compatibility.  A laudable goal, except that it also
breaks R4, R5, and R6.  The teTeX author has a choice to make whether it
is more important to support R3 or newer X11 releases.  However, Debian
includes X11R6, so Debian xdvi should support R6.  The included patch
fixes this compatibility.

As long as we are fixing the X environment variables, my patch also
adds %D to the case where XFILESEARCHPATH is unset.  This probably
doesn't matter (probably only xdvi will be run in the environment being
created), but it is technically correct.  %D substitutes the
implementation's default value and is an R6 feature.


--- texk/xdvik/xdvi-pl	2003-08-31 22:53:03.000000000 -0400
+++ xdvi-pl	2003-10-09 05:24:58.000000000 -0400
@@ -23,8 +23,12 @@
 # consistency.  This has been rewritten in Perl so that we can mangle
 # the arguments to handled gzipped dvi files, which not have errors if
 # there are spaces in some arguments.
 
+# Stephen Gildea writes:
+# Debian distributes X11R6, therefore this script should not clobber
+# XAPPLRESDIR, which is for user customizations.
+
 use strict;
 use FileHandle;
 use File::Basename;
 use File::Spec;
@@ -44,17 +48,12 @@
 if ("$xdviappfile" ne '') {
     $xdviappdir=dirname($xdviappfile);
     $xdviapppath="$xdviappdir/%N";
 
-    # For R3, we have to set XAPPLRESDIR.
-    $ENV{'XAPPLRESDIR'}=$xdviappdir;
-
-    # For R4 or later, we have to set XFILESEARCHPATH, since XAPPLRESDIR might
-    # be ignored (if XUSERFILESEARCHPATH is set)
     if (exists $ENV{'XFILESEARCHPATH'}) {
 	$ENV{'XFILESEARCHPATH'} = "$xdviapppath:$ENV{'XFILESEARCHPATH'}";
     } else {
-	$ENV{'XFILESEARCHPATH'} = $xdviapppath;
+	$ENV{'XFILESEARCHPATH'} = "$xdviapppath:%D";
     }
 }
 
 my $status;

---------------------------------------
Received: (at 215588-close) by bugs.debian.org; 23 Apr 2004 13:38:21 +0000
>From katie@ftp-master.debian.org Fri Apr 23 06:38:21 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BH0sm-0004bE-00; Fri, 23 Apr 2004 06:38:21 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BH0ms-0002hy-00; Fri, 23 Apr 2004 09:32:14 -0400
From: =?utf-8?q?Frank_K=C3=BCster?= <frank@debian.org>
To: 215588-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#215588: fixed in tetex-bin 2.0.2-13
Message-Id: <E1BH0ms-0002hy-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 23 Apr 2004 09:32:14 -0400
Delivered-To: 215588-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 6

Source: tetex-bin
Source-Version: 2.0.2-13

We believe that the bug you reported is fixed in the latest version of
tetex-bin, which is due to be installed in the Debian FTP archive:

libkpathsea-dev_2.0.2-13_i386.deb
  to pool/main/t/tetex-bin/libkpathsea-dev_2.0.2-13_i386.deb
libkpathsea3_2.0.2-13_i386.deb
  to pool/main/t/tetex-bin/libkpathsea3_2.0.2-13_i386.deb
tetex-bin_2.0.2-13.diff.gz
  to pool/main/t/tetex-bin/tetex-bin_2.0.2-13.diff.gz
tetex-bin_2.0.2-13.dsc
  to pool/main/t/tetex-bin/tetex-bin_2.0.2-13.dsc
tetex-bin_2.0.2-13_i386.deb
  to pool/main/t/tetex-bin/tetex-bin_2.0.2-13_i386.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 215588@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Küster <frank@debian.org> (supplier of updated tetex-bin 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: Thu, 22 Apr 2004 17:56:45 +0200
Source: tetex-bin
Binary: libkpathsea3 tetex-bin libkpathsea-dev
Architecture: source i386
Version: 2.0.2-13
Distribution: unstable
Urgency: medium
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Changed-By: Frank Küster <frank@debian.org>
Description: 
 libkpathsea-dev - path search library for teTeX (devel part)
 libkpathsea3 - path search library for teTeX (runtime part)
 tetex-bin  - The teTeX binary files
Closes: 173872 183517 191254 200261 200264 215588 243672
Changes: 
 tetex-bin (2.0.2-13) unstable; urgency=medium
 .
   * xdvi now does no longer overwrite the XAPPLRESDIR variable, thanks to
     Stephen Gildea <gildea@stop.mail-abuse.org>  (closes: #215588) [frank]
   * 2.0.2-11 failed to properly purge ucf's memory of texmf.cnf. This is
     now done in preinst if the file doesn't exist, but is registered to
     ucf (closes: #243672) [frank]
   * tetex-bin now declares "Replaces:" and "Provides: texdoctk". Together
     with a corresponding move of files from tetex-extra to tetex-base,
     this (closes: #200264) [frank]
   * epstopdf can now handle output files with spaces in the filenames
     (closes: #183517), and it's manpage correctly describes the --filter
     and --outfile options (closes: #191254), thanks to Johannes Martin
     <jmartin@notamusica.com>, ernst.kloppenburg@de.bosch.com and Hilmar
     Preusse <hille42@web.de> [frank]
   * Removed "Conflicts" for dvipdfm: This package is in part replaced by
     tetex-base, and the conflict caused tetex-bin to be removed upon
     dist-upgrade (closes: #200261) [frank]
   * texdoctk now gives a clear error message when the perl-tk package is
     missing, and tetex-bin now only Recommends perl-tk. Thanks again to
     Hilmar. (closes: #173872) [frank]
Files: 
 721a658fb7dd1b29aac9a5efadcf66c3 1049 tex optional tetex-bin_2.0.2-13.dsc
 a3d35e47f76f65a79eef60707dea9841 94219 tex optional tetex-bin_2.0.2-13.diff.gz
 14d01670ab3653b013b4485ab80cb500 3903164 tex optional tetex-bin_2.0.2-13_i386.deb
 a415c37bf8cd566acf6c0b21b7201a7c 54224 libs optional libkpathsea3_2.0.2-13_i386.deb
 c868a26eb5b998c49ae8ef6565110d73 66226 libdevel optional libkpathsea-dev_2.0.2-13_i386.deb

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

iD8DBQFAiQ2G+xs9YyJS+hoRAiGYAKCfIni0aODjV+n/jqJw+0wAvY77qgCaAuZO
Psy103aBnmMkUkDJBiQ/B0w=
=UagD
-----END PGP SIGNATURE-----



Reply to: