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

Re: Bug#269828: tetex-base: Provide script to purge old map files



> We would be grateful if you could comment on the files I attach.
>

Here's two patches (I hope I didn't change any meanings!)

--- templates.tetex-bin	2004-09-07 01:44:45.000000000 +0100
+++ templates.tetex-bin.modified	2004-09-07 02:37:44.000000000 +0100
@@ -3,45 +3,47 @@
 Default: true
 _Description: Use update-fmtutil to automatically generate fmtutil.cnf?
  The file fmtutil.cnf is the central configuration file for TeX engines.
- Automatic generation is recommended to make the setup work with other TeX
- related packages.  
+ Automatic generation is recommended to make the setup work with other
+ TeX-related packages.
  .
- To customize your setup, you should not edit fmtutil.cnf directly but
- instead modify the files in /etc/texmf/fmt.d/. The generated fmtutil.cnf
- will then be placed under /var/lib/texmf/web2c.
- .
- Don't accept this if you want to keep using an existing fmtutil.cnf. 
- Then you have to modify /etc/texmf/fmtutil.cnf manually.
- REMARK: Installation of some TeX-related packages will fail in this case.
+ After accepting this option, you should not edit fmtutil.cnf directly but
+ instead modify the files in /etc/texmf/fmt.d/ and run
+ update-fmtutil.  The generated fmtutil.cnf will then be placed under
+ /var/lib/texmf/web2c/.
+ .
+ If you need to keep an existing fmtutil.cnf then you may refuse this
+ option and maintain /etc/texmf/fmtutil.cnf manually.  However,
+ installation of some TeX-related packages will fail unless you accept
+ this option.
 
 Template: tetex-bin/upd_map
 Type: boolean
 Default: true
 _Description: Use update-updmap to automatically generate updmap.cfg?
- The file updmap.cfg is the central configuration file for the fonts
+ The file updmap.cfg is the central configuration file for the font
  system of TeX.  Automatic generation is recommended to make the setup work
- with font packages of TeX.
+ with TeX font packages.
  .
- To customize your setup, you should not edit updmap.cfg directly but
- instead modify the files in /etc/texmf/updmap.d/. The generated updmap.cfg
- will be placed under /var/lib/texmf/web2c.
- .
- Don't accept this if you want to keep using an existing updmap.cfg. Then you
- should modify /etc/texmf/updmap.cfg manually. 
- REMARK: Automatic installation of TeX fonts will fail in this case.
+ After accepting this option, you should not edit updmap.cfg directly but
+ instead modify the files in /etc/texmf/updmap.d/ and run update-updmap.
+ The generated updmap.cfg will be placed under /var/lib/texmf/web2c.
+ .
+ If you need to keep an existing updmap.cfg then you may refuse this
+ option and maintain /etc/texmf/updmap.cfg manually.  However,
+ installation of TeX fonts will fail unless you accept this option.
 
 Template: tetex-bin/lsr-perms
 Type: boolean
 Default: true
 _Description: Use debconf to manage permissions of ls-R files?
- A lot of font files have to be generated before they can be used by
- teTeX's display and printing programs, like xdvi, dvips etc. Those
- files are stored in /var/cache/fonts, so that they do not need to be
- regenerated every time. ls-R files tell the system which files are
- stored yet, and where.
+ Many font files must to be generated before they can be used by
+ teTeX's display and printing programs (xdvi, dvips etc.).  These
+ files are stored in /var/cache/fonts so they do not need to be
+ regenerated every time.  ls-R files tell the system which files are
+ stored, and where.
  .
  Accepting this option will allow you to easily manage the permissions of
- those ls-R files using debconf. Otherwise you will have to manually
+ these ls-R files using debconf.  Otherwise you will have to manually
  ensure that they get useful but safe permissions.
 
 Template: tetex-bin/groupname
@@ -58,7 +60,7 @@
 Default: true
 _Description: Allow group members to modify ls-R files?
  Accepting this option will allow members of the owning group to modify the
- ls-R files. Almost everybody should accept this option!
+ ls-R files.  Almost everybody should accept this option!
 
 Template: tetex-bin/userperm
 Type: boolean
@@ -70,20 +72,21 @@
 
 Template: tetex-bin/cnf_name
 Type: note
-_Description: Name change of files in /etc/texmf/texmf.d/
- texmf.cnf has previously been generated by update-texmf from all files
- in /etc/texmf/texmf.d/. Now update-texmf is changed and only reads
+_Description: Files in /etc/texmf/texmf.d/ must be renamed.
+ texmf.cnf was previously generated by update-texmf from files
+ in /etc/texmf/texmf.d/.  Now update-texmf only reads
  files with extension '.cnf'
  .
- So if you had any private file in /etc/texmf/texmf.d/, then you should add
- '.cnf' to its name; for example, 22mymacro => 22mymacro.cnf
+ If you added any private file(s) to /etc/texmf/texmf.d/, you should add
+ '.cnf' to their name (e.g., 22mymacro becomes 22mymacro.cnf) and run
+ update-texmf.
 
 Template: tetex-bin/oldcfg
 Type: boolean
 Default: true
-_Description: Remove old and harmful file /etc/X11/Xresources/tetex-base?
+_Description: Remove old (and harmful) file /etc/X11/Xresources/tetex-base?
  An old version of tetex-bin installed /etc/X11/Xresources/tetex-base,
- but it is now not used and even harmful if it exists. It is
+ but it is now unused and it is even harmful for it to exist.  It is
  strongly recommended to let the installation script remove this file
  right now!
  .
@@ -93,13 +96,13 @@
 Type: boolean
 Default: false
 _Description: Manage language.dat with debconf?
- The language.dat file, which contains the information which hyphenation
- patterns will be available, can be handled by debconf.
+ The language.dat file, which determines which hyphenation
+ patterns are enabled, can be handled by debconf.
  .
  If you do not choose this, one pattern set for each supported
  language will be enabled (two for german, with old and new
- orthography). You can choose debconf management if you want to
- exclude some patterns and get smaller (La)TeX format files. Manual
+ orthography).  You can choose debconf management if you want to
+ exclude some patterns and get smaller (La)TeX format files.  Manual
  editing is still possible, and your changes will be preserved.
 
 Template: tetex-bin/hyphen
@@ -110,30 +113,29 @@
  If you want to load extra hyphenation pattern(s) please select them
  from the list.
  .
- If you want to change hyphenation pattern(s) to load afterwards, you can
- do so with "dpkg-reconfigure tetex-bin" and select any hyphenation pattern
- you like. Manual editing is still possible, and your changes will be
- preserved.
+ If you want to change hyphenation pattern(s) afterwards, you may
+ do so with "dpkg-reconfigure tetex-bin". Manual editing is still
+ possible, and your changes will be preserved.
 
 Template: tetex-bin/fmtutil-failed
 Type: note
-_Description: TeX format generation failed
+_Description: TeX format generation failed.
  The generation of some of the format files needed to run TeX, LaTeX
- etc. has failed. You will not be able to run those programs until
+ etc. has failed. You will not be able to run these programs until
  this is fixed. 
  .
- One frequent cause for such a failure is that a new version needs
- changed configuration files, but you did not accept the maintainers'
- version of a file you manually changed.
+ The most frequent cause for such a failure is that a new version of
+ tetex-bin changed configuration files, but you did not accept the
+ maintainers' version of a file you manually changed.
  .
- If you report a bug, please include the output of fmtutil, stored in 
- ${fmtutil_tempfile}
+ If you report this as a bug, please include the output of fmtutil,
+ stored in ${fmtutil_tempfile}
 
 Template: tetex-bin/updmap-failed
 Type: note
-_Description: Generation of TeX font information failed
+_Description: Generation of TeX font information failed.
  The generation of the font map files by the updmap script
- failed. Therefore, TeX, LaTeX etc. will have problems finding the
+ failed.  Therefore, TeX, LaTeX etc. will have problems finding the
  font files they need.
  .
  If you report this as a bug, please include the output of updmap,
--- templates.tetex-base	2004-09-07 01:44:41.000000000 +0100
+++ templates.tetex-base.modified	2004-09-07 02:15:16.000000000 +0100
@@ -1,14 +1,14 @@
 Template: tetex-base/oldupdm
 Type: note
-_Description: Remove old updmap?
+_Description: Old updmap found.
  tetex-base has found /etc/texmf/dvips/updmap from a previous version of
  tetex-base. You seem to have modified this script.
  .
- This script is no longer included in current tetex-base and should not be
+ This script is no longer included in tetex-base and should not be
  used. It will be renamed to updmap.postinst-old.
  .
- Changes like the ones you made to this script should now be made to files
- in /etc/texmf/updmap.d/, see the manpage for update-updmap.
+ Changes previously made to this script should now be made
+ to files in /etc/texmf/updmap.d/, see the manpage for update-updmap.
 
 Template: tetex-base/olddat
 Type: boolean
@@ -19,28 +19,28 @@
  in /etc/texdoctk/, and they were used only in a teTeX beta version.
  .
  If you think you have modified any of them, then you may refuse this option
- and preserve them. But, for almost 99% of you, it is strongly recommended
+ and preserve them. However, almost 99% of people will accept the opportunity
  to remove these files right now!
 
 Template: tetex-base/fmtutil-failed
 Type: note
-_Description: TeX format generation failed
+_Description: TeX format generation failed.
  The generation of some of the format files needed to run TeX, LaTeX
- etc. has failed. You will not be able to run those programs until
+ etc. has failed. You will not be able to run these programs until
  this is fixed. 
  .
- One frequent cause for such a failure is that a new version needs
- changed configuration files, but you did not accept the maintainers'
- version of a file you manually changed.
+ The most frequent cause for such a failure is that a new version of
+ tetex-base changed configuration files, but you did not accept
+ the maintainers' version of a file you manually changed.
  .
- If you report a bug, please include the output of fmtutil, stored in 
+ If you report this as a bug, please include the output of fmtutil, stored in 
  ${fmtutil_tempfile}
 
 Template: tetex-base/updmap-failed
 Type: note
-_Description: generation of TeX font information failed
+_Description: Generation of TeX font information failed.
  The generation of the font map files by the updmap script
- failed. Therefore, TeX, LaTeX etc. will have problems finding the
+ failed.  Therefore, TeX, LaTeX etc. will have problems finding the
  font files they need.
  .
  If you report this as a bug, please include the output of updmap,

Reply to: