[Debian-tex-commits] SVN tex-common commit + diffs: r5381 - in tex-common/trunk: debian scripts

Norbert Preining preining at alioth.debian.org
Fri Apr 13 00:01:32 UTC 2012


Author: preining
Date: 2012-04-13 00:01:30 +0000 (Fri, 13 Apr 2012)
New Revision: 5381

Modified:
   tex-common/trunk/debian/NEWS
   tex-common/trunk/debian/changelog
   tex-common/trunk/scripts/update-fmtlang
Log:
tex-common:
* update NEWS to include a paragraph for users
* add a warning if one of the update-* fails due to missing checkfile,
  that the package has to be reinstalled with --force-confmiss


Modified: tex-common/trunk/debian/NEWS
===================================================================
--- tex-common/trunk/debian/NEWS	2012-04-11 00:36:02 UTC (rev 5380)
+++ tex-common/trunk/debian/NEWS	2012-04-13 00:01:30 UTC (rev 5381)
@@ -2,6 +2,21 @@
 
   * updmap file handling changed
 
+    For users:
+    If you are using PostScript fonts that are not packaged for 
+    Debian, some changes have been done: updmap now reads *all*
+    updmap.cfg files it finds. That means, the easiest way to
+    activate local fonts (in TEXMFLOCAL) by putting the respective
+    map lines into /usr/local/share/texmf/web2c/updmap.cfg, and 
+    call updmap-sys once (as root). If you have fonts in your
+    home directory you want to activate, paralleling the above
+    you put the respective map line into $HOME/texmf/web2c/updmap.cfg
+    and call updmap (as user). But be reminded that you have to
+    do that everytime system fonts have changed (there is no 
+    automatic syncronization between user specific and system wide
+    updmap(-sys) generated files).
+
+    For developers:
     Since version 3 of tex-common, which conincides and requires
     TeX Live 2011 and upward, updmap now behaves differently then
     before: It reads *all* available updmap.cfg files. That means
@@ -14,7 +29,7 @@
     but with warnings. Please rebuild these packages with a newer
     tex-common.
 
- -- Norbert Preining <preining at debian.org>  Wed, 11 Apr 2012 08:52:50 +0900
+ -- Norbert Preining <preining at debian.org>  Thu, 12 Apr 2012 07:53:27 +0900
 
 tex-common (1.8) unstable; urgency=low
 

Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2012-04-11 00:36:02 UTC (rev 5380)
+++ tex-common/trunk/debian/changelog	2012-04-13 00:01:30 UTC (rev 5381)
@@ -1,3 +1,12 @@
+tex-common (3.8) unstable; urgency=low
+
+  * UNRELEASED
+  * update NEWS to include a paragraph for users
+  * add a warning if one of the update-* fails due to missing checkfile,
+    that the package has to be reinstalled with --force-confmiss
+
+ -- Norbert Preining <preining at debian.org>  Fri, 13 Apr 2012 08:59:58 +0900
+
 tex-common (3.7) unstable; urgency=low
 
   * do not create /etc/texmf/language.d, and try to remove it in postinst

Modified: tex-common/trunk/scripts/update-fmtlang
===================================================================
--- tex-common/trunk/scripts/update-fmtlang	2012-04-11 00:36:02 UTC (rev 5380)
+++ tex-common/trunk/scripts/update-fmtlang	2012-04-13 00:01:30 UTC (rev 5381)
@@ -462,6 +462,16 @@
 
     if ! [ -r "$CHECKFILE" ] ; then
         echo "$progname: cannot read $CHECKFILE" >&2
+        echo "$progname: if it was removed by accident, it has to be reinstalled with" >&2
+        # the following command does not work due to a IMNSHO stupid 
+        # apt* behaviour, it seems that Apt first wants to configure the
+        # broken package, but that will not work, so it breaks.
+        # Instead it should *first* unpack and reinstall new conffiles,
+        # and then try to configure ... so what, let everyone feel the pain!
+        # echo "$progname:   apt-get install --reinstall -o DPkg::Options::=\"--force-confmiss\" tex-common" >&2
+        echo "$progname:   t=\$(mktemp -d); cd "\$t"; apt-get download tex-common ; dpkg -i --force-confmiss tex-common*.deb" >&2
+        # this is what I want to ship out to the terminal, though ...
+        # echo "$progname: (sorry, but due to Apt stupidity there is no simple way to do that!)" >&2
         exit 1
     fi
 




More information about the Debian-tex-commits mailing list