[SCM] Debian packaging of lmodern) branch, master, updated. upstream/2.004.2-11-g70ccbe5
The following commit has been merged in the master branch:
commit 2937c5967f6e2deaa3cb3ee9df03d508067a28b2
Author: Norbert Preining <preining@debian.org>
Date: Wed Oct 10 10:35:03 2012 +0900
work on splitting the lmodern opentype fonts of the main package
diff --git a/debian/65-lmodern.conf b/debian/65-fonts-lmodern.conf
similarity index 100%
rename from debian/65-lmodern.conf
rename to debian/65-fonts-lmodern.conf
diff --git a/debian/NEWS.Debian b/debian/NEWS.Debian
deleted file mode 100644
index 02a283e..0000000
--- a/debian/NEWS.Debian
+++ /dev/null
@@ -1,15 +0,0 @@
-lmodern (0.99.3-1) unstable; urgency=low
-
- * The designers of the Latin Modern fonts have changed the names of
- several font metric files. The LaTeX support for these fonts has been
- updated accordingly. However, these name changes break the ConTeXt
- support in teTeX 3 for these fonts. In addition, DVI files created
- with a previous version of the fonts no longer work (or will give
- checksum mismatch warnings). Please recreate DVI files!
-
- As a temporary work around, this version of the lmodern package installs
- links and an additonal font map file, reenabling the former names of
- font metric files. Please note that these links will be removed for
- the next stable release after etch.
-
- -- Norbert Preining <preining@logic.at> Mon, 6 Feb 2006 17:59:59 +0100
diff --git a/debian/TODO b/debian/TODO
deleted file mode 100644
index c95a7ca..0000000
--- a/debian/TODO
+++ /dev/null
@@ -1 +0,0 @@
-* Split the OpenType fonts (7 MB out of 44 MB) in an otf-lmodern package?
diff --git a/debian/changelog b/debian/changelog
index 42aba5e..6d633a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,14 @@
lmodern (2.004.2-2~1) UNRELEASED; urgency=low
+ * split OTF fonts into a separate package fonts-lmodern
+ (Closes: #689580, #689581)
* don't mention defoma in description anymore (Closes: #685120)
* install a fontconfig file that makes the opentype fonts available
and disables the type 1 fonts for fontconfig
(Closes: #687940, #645841)
+ * clean out cruft in the maintainer scripts
- -- Norbert Preining <preining@debian.org> Tue, 25 Sep 2012 13:29:33 +0900
+ -- Norbert Preining <preining@debian.org> Wed, 10 Oct 2012 10:33:56 +0900
lmodern (2.004.2-1) unstable; urgency=low
diff --git a/debian/compat.links b/debian/compat.links
deleted file mode 100644
index daf2e8d..0000000
--- a/debian/compat.links
+++ /dev/null
@@ -1,58 +0,0 @@
-usr/share/texmf/fonts/enc/dvips/lm/lm-ec.enc usr/share/texmf/fonts/enc/dvips/lm/cork-lm.enc
-usr/share/texmf/fonts/tfm/public/lm/ec-lmb10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmb10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbo10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbo10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbx10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbx10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbx12.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbx12.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbx5.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbx5.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbx6.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbx6.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbx7.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbx7.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbx8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbx8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbx9.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbx9.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbxi10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbxi10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmbxo10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmbxo10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmcsc10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmcsc10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmcsco10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmcsco10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmr10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmr10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmr12.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmr12.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmr17.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmr17.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmr5.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmr5.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmr6.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmr6.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmr7.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmr7.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmr8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmr8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmr9.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmr9.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmri10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmri10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmri12.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmri12.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmri7.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmri7.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmri8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmri8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmri9.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmri9.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmro10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmro10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmro12.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmro12.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmro8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmro8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmro9.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmro9.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmss10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmss10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmss12.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmss12.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmss17.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmss17.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmss8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmss8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmss9.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmss9.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmssbo10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmssbo10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmssbx10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmssbx10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmssdc10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmssdc10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmssdo10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmssdo10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmsso10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmsso10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmsso12.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmsso12.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmsso17.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmsso17.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmsso8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmsso8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmsso9.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmsso9.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmssq8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmssq8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmssqbo8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmssqbo8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmssqbx8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmssqbx8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmssqo8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmssqo8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmtcsc10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmtcsc10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmtt10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmtt10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmtt12.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmtt12.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmtt8.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmtt8.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmtt9.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmtt9.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmtti10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmtti10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmtto10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmtto10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmvtt10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmvtt10.tfm
-usr/share/texmf/fonts/tfm/public/lm/ec-lmvtto10.tfm usr/share/texmf/fonts/tfm/public/lm/cork-lmvtto10.tfm
diff --git a/debian/control b/debian/control
index 341b8fc..f9f20cd 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Package: lmodern
Section: fonts
Architecture: all
Pre-Depends: ${misc:Pre-Depends}
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, fonts-lmodern (= ${source:Version})
Conflicts: lm, lmodern-x11, context (<= 2008.10.31-1)
Replaces: lm, lmodern-x11
Description: scalable PostScript and OpenType fonts based on Computer Modern
@@ -23,6 +23,27 @@ Description: scalable PostScript and OpenType fonts based on Computer Modern
based on the PostScript Type 1 version of the Computer Modern fonts
and contain many additional characters (mostly accented ones).
.
+ This package provides TeX support and Type1 (PostScript) fonts. If only
+ the OpenType fonts are needed, please see the package fonts-lmodern.
+ .
+ See the description for fonts-lmodern package for more information.
+
+Package: fonts-lmodern
+Section: fonts
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}
+Replaces: lmodern (<= 2.004.2-1)
+Breaks: lmodern (<= 2.004.2-1)
+Description: OpenType fonts based on Computer Modern
+ The Latin Modern fonts, also known as "lm fonts", are a set of
+ scalable fonts in PostScript Type 1 and OpenType formats. They are
+ based on the PostScript Type 1 version of the Computer Modern fonts
+ and contain many additional characters (mostly accented ones).
+ .
+ This package provides the OpenType variant of these fonts. For support
+ for TeX and Type 1 (PostScript) fonts, see the lmodern package.
+ .
The Latin Modern fonts were generated using MetaType1, a program
based on MetaPost for generating PostScript Type 1 fonts
(ftp://bop.eps.gda.pl/pub/metatype1/). Their size is reasonable and
@@ -31,7 +52,3 @@ Description: scalable PostScript and OpenType fonts based on Computer Modern
that have no equivalent in this package; additionally, there are
character sets that are supported by cm-super and not by the Latin
Modern fonts).
- .
- The fonts are setup for use with the TeX typesetting system, as well
- as core X11 fonts system and Fontconfig, which makes it possible
- to use them in any X application.
diff --git a/debian/font-substitution/README b/debian/font-substitution/README
deleted file mode 100644
index 721fe43..0000000
--- a/debian/font-substitution/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Note for experienced users
---------------------------
-
-The Latin Modern fonts can be used as a substitution for CM, CS, PL, and VN as
-mentioned in the README file. Several map files and encoding files (the ones
-with '-rep-' in their name) have been prepared for this purpose and can be
-found in <TEXMFMAIN>/fonts/map/dvips/lm and <TEXMFMAIN>/fonts/enc/dvips/lm.
-
-To make use of these map files, you should place the appropriate .cfg file(s)
-from this directory into /etc/texmf/updmap.d/. Don't forget to run
-update-updmap, mktexlsr and updmap-sys afterwards.
diff --git a/debian/font-substitution/lmodern-cm.cfg b/debian/font-substitution/lmodern-cm.cfg
deleted file mode 100644
index ea10c72..0000000
--- a/debian/font-substitution/lmodern-cm.cfg
+++ /dev/null
@@ -1,7 +0,0 @@
-# Don't delete the following pseudo-comment unless you know what you are doing.
-# -_- DebPkgProvidedMaps -_-
-#
-# (more details in update-updmap(1))
-#
-MixedMap lm-rep-cmtest-interpolated.map
-MixedMap lm-rep-cmtext.map
diff --git a/debian/font-substitution/lmodern-cs.cfg b/debian/font-substitution/lmodern-cs.cfg
deleted file mode 100644
index c09bde4..0000000
--- a/debian/font-substitution/lmodern-cs.cfg
+++ /dev/null
@@ -1,6 +0,0 @@
-# Don't delete the following pseudo-comment unless you know what you are doing.
-# -_- DebPkgProvidedMaps -_-
-#
-# (more details in update-updmap(1))
-#
-MixedMap lm-rep-cstext.map
diff --git a/debian/font-substitution/lmodern-pl.cfg b/debian/font-substitution/lmodern-pl.cfg
deleted file mode 100644
index d6fdcfa..0000000
--- a/debian/font-substitution/lmodern-pl.cfg
+++ /dev/null
@@ -1,6 +0,0 @@
-# Don't delete the following pseudo-comment unless you know what you are doing.
-# -_- DebPkgProvidedMaps -_-
-#
-# (more details in update-updmap(1))
-#
-MixedMap lm-rep-pltext.map
diff --git a/debian/font-substitution/lmodern-vn.cfg b/debian/font-substitution/lmodern-vn.cfg
deleted file mode 100644
index aab4107..0000000
--- a/debian/font-substitution/lmodern-vn.cfg
+++ /dev/null
@@ -1,6 +0,0 @@
-# Don't delete the following pseudo-comment unless you know what you are doing.
-# -_- DebPkgProvidedMaps -_-
-#
-# (more details in update-updmap(1))
-#
-MixedMap lm-rep-vntext.map
diff --git a/debian/fonts-lmodern.install b/debian/fonts-lmodern.install
new file mode 100644
index 0000000..807192e
--- /dev/null
+++ b/debian/fonts-lmodern.install
@@ -0,0 +1,3 @@
+fonts/opentype/public/lm/*.otf usr/share/texmf/fonts/opentype/public/lm
+doc/fonts/lm/* usr/share/doc/texmf/fonts/lm
+debian/65-fonts-lmodern.conf etc/fonts/conf.avail
diff --git a/debian/fonts-lmodern.links b/debian/fonts-lmodern.links
new file mode 100644
index 0000000..e74cf54
--- /dev/null
+++ b/debian/fonts-lmodern.links
@@ -0,0 +1,5 @@
+usr/share/doc/texmf/fonts/lm/README-Latin-Modern.TXT usr/share/doc/fonts-lmodern/README
+usr/share/doc/texmf/fonts/lm/MANIFEST-Latin-Modern.TXT usr/share/doc/fonts-lmodern/MANIFEST.txt
+usr/share/doc/texmf/fonts/lm/lm-hist.txt usr/share/doc/fonts-lmodern/lm-hist.txt
+usr/share/doc/texmf/fonts/lm/lm-info.pdf usr/share/doc/fonts-lmodern/lm-info.pdf
+etc/fonts/conf.avail/65-fonts-lmodern.conf etc/fonts/conf.d/65-fonts-lmodern.conf
diff --git a/debian/fonts-lmodern.lintian-overrides b/debian/fonts-lmodern.lintian-overrides
new file mode 100644
index 0000000..1e3d23f
--- /dev/null
+++ b/debian/fonts-lmodern.lintian-overrides
@@ -0,0 +1 @@
+fonts-lmodern binary: extra-license-file usr/share/doc/texmf/fonts/lm/GUST-FONT-LICENSE.TXT
diff --git a/debian/lm.fontconfig b/debian/lm.fontconfig
deleted file mode 100644
index 0ba31fa..0000000
--- a/debian/lm.fontconfig
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
-<fontconfig>
- <match target="font" >
- <test qual="any" name="family">
- <string>LMMathExtension10</string>
- <string>LMMathItalic10</string>
- <string>LMMathItalic12</string>
- <string>LMMathItalic5</string>
- <string>LMMathItalic6</string>
- <string>LMMathItalic7</string>
- <string>LMMathItalic8</string>
- <string>LMMathItalic9</string>
- <string>LMMathSymbols10</string>
- <string>LMMathSymbols5</string>
- <string>LMMathSymbols6</string>
- <string>LMMathSymbols7</string>
- <string>LMMathSymbols8</string>
- <string>LMMathSymbols9</string>
- <string>LMMono10</string>
- <string>LMMono12</string>
- <string>LMMono8</string>
- <string>LMMono9</string>
- <string>LMMonoCaps10</string>
- <string>LMMonoLt10</string>
- <string>LMMonoLtCond10</string>
- <string>LMMonoProp10</string>
- <string>LMMonoPropLt10</string>
- <string>LMMonoSlant10</string>
- <string>LMRoman10</string>
- <string>LMRoman12</string>
- <string>LMRoman17</string>
- <string>LMRoman5</string>
- <string>LMRoman6</string>
- <string>LMRoman7</string>
- <string>LMRoman8</string>
- <string>LMRoman9</string>
- <string>LMRomanCaps10</string>
- <string>LMRomanDemi10</string>
- <string>LMRomanDunh10</string>
- <string>LMRomanSlant10</string>
- <string>LMRomanSlant12</string>
- <string>LMRomanSlant17</string>
- <string>LMRomanSlant8</string>
- <string>LMRomanSlant9</string>
- <string>LMRomanUnsl10</string>
- <string>LMSans10</string>
- <string>LMSans12</string>
- <string>LMSans17</string>
- <string>LMSans8</string>
- <string>LMSans9</string>
- <string>LMSansDemiCond10</string>
- <string>LMSansQuot8</string>
- </test>
- <edit name="autohint" mode="assign"><bool>true</bool></edit>
- </match>
-</fontconfig>
-
diff --git a/debian/lmodern.README.Debian b/debian/lmodern.README.Debian
index 3f1862e..8a894a4 100644
--- a/debian/lmodern.README.Debian
+++ b/debian/lmodern.README.Debian
@@ -8,9 +8,21 @@ This package makes the Latin Modern fonts available to:
- the TeX typesetting system (TeX, LaTeX, pdfTeX, pdfLaTeX, xdvi,
Dvips, etc.);
- - desktop environments;
+ - the core X11 fonts system[1], for use by any X application;
- - the core X11 fonts system[1], for use by any X application.
+ - for desktop environments using fontconfig the OpenType variant of
+ these fonts are activated by the fonts-lmodern package.
+
+
+Contents
+=========
+* How to use the Latin Modern fonts with X11?
+* How to use the Latin Modern fonts with LaTeX-based engines[1]?
+* How to use the Latin Modern fonts with TeX?
+* How to use the Latin Modern fonts as replacement for CM, CS, PL, and VN?
+* How to deal with old DVI files
+* The PFM files are not included
+* If you have a /etc/texmf/updmap.d/10lmodern.bak file
How to use the Latin Modern fonts with X11?
@@ -84,6 +96,39 @@ easily as with the LaTeX packages 'inputenc' and 'fontenc'. For instance,
things such as \'e will probably not do what you would like.
+How to use the Latin Modern fonts as replacement for CM, CS, PL, and VN?
+------------------------------------------------------------------------
+The Latin Modern fonts can be used as a substitution for CM, CS, PL, and VN as
+mentioned in the README file. Several map files and encoding files (the ones
+with '-rep-' in their name) have been prepared for this purpose and can be
+found in <TEXMFMAIN>/fonts/map/dvips/lm and <TEXMFMAIN>/fonts/enc/dvips/lm.
+
+To make use of these map files, add (create if necessary) lines to
+/etc/texmf/web2c/updmap.cfg as follows:
+For CM:
+ MixedMap lm-rep-cmtest-interpolated.map
+ MixedMap lm-rep-cmtext.map
+For CS:
+ MixedMap lm-rep-cstext.map
+For PL:
+ MixedMap lm-rep-pltext.map
+For VN:
+ MixedMap lm-rep-vntext.map
+After that run updmap-sys as root.
+
+
+How to deal with old DVI files
+------------------------------
+If you have old DVI files using the names of pre version 1 release of
+lmodern, you have two options: The best is to rebuild the DVI files so that
+new names are used. If this is not possible, you can activate the map file
+cork-lm.map by calling
+ updmap-sys --enable Map cork-lm.map
+as root, or adding (creating if necessary) a line
+ Map cork-lm.map
+in /etc/texmf/web2c/updmap.cfg and calling updmap-sys as root.
+
+
The PFM files are not included
------------------------------
@@ -117,3 +162,4 @@ at all.
-- Florent Rougon <frn@debian.org>, Sun Mar 25 12:52:11 2007
+ -- Norbert Preining <preining@debian.org>, Wed Oct 10 10:18:32 JST 2012
diff --git a/debian/lmodern.cfg.in b/debian/lmodern.cfg.in
deleted file mode 100644
index 2757b51..0000000
--- a/debian/lmodern.cfg.in
+++ /dev/null
@@ -1,34 +0,0 @@
-# Don't delete the following pseudo-comment unless you know what you are doing.
-# -_- DebPkgProvidedMaps -_-
-# This file will *not* be included in updmap.cfg if the lmodern package is
-# removed. Please read update-updmap(1) for details.
-#
-# This file is part of the set of files used to (indirectly) generate the
-# final map files such as psfonts_{t1,pk}.map, {pdftex,dvipdfm}_{,n}dl14.map,
-# ps2pk.map, builtin35.map and download35.map under /var/lib/texmf/fonts/map/
-# (with psfonts.map being a symbolic link to one of psfonts_{t1,pk}.map,
-# pdftex.map a symbolic link to one of pdftex_{,n}dl14.map and dvipdfm.map a
-# symbolic link to one of dvipdfm_{,n}dl14.map, the choice depending on your
-# updmap configuration, which you can customize by altering the files in
-# /etc/texmf/updmap.d/ and running update-updmap).
-#
-# You should *not* modify the aforementioned final map files under
-# /var/lib/texmf/fonts/map/ directly, for they are automatically generated by
-# updmap-sys(1). Instead, you should read update-updmap(1), updmap-sys(1) and
-# if you actually need to make changes to the aforementioned final map files,
-# you should make the changes in /etc/texmf/updmap.d/, use update-updmap to
-# regenerate /var/lib/texmf/web2c/updmap.cfg and finally updmap-sys to
-# regenerate the final map files.
-#
-# Reading /etc/texmf/updmap.d/00updmap.cfg can also help understand how all
-# this works.
-#
-#
-# Declare the basic Latin Modern map files for use by the updmap-sys(1)
-# machinery.
-@LMODERN_BASIC_MAP_DECLARATIONS@
-#
-# This map file can be enabled for compatibility with old DVI files, but the
-# better thing to do instead of using this workaround is to rebuild these
-# files with new LM fonts so that they use up-to-date font names.
-# Map cork-lm.map
diff --git a/debian/lmodern.install b/debian/lmodern.install
new file mode 100644
index 0000000..cec9706
--- /dev/null
+++ b/debian/lmodern.install
@@ -0,0 +1,12 @@
+fonts/type1/public/lm/*.pfb usr/share/texmf/fonts/type1/public/lm
+fonts/afm/public/lm/*.afm usr/share/texmf/fonts/afm/public/lm
+fonts/tfm/public/lm/*.tfm usr/share/texmf/fonts/tfm/public/lm
+fonts/enc/dvips/lm/*.enc usr/share/texmf/fonts/enc/dvips/lm
+fonts/map/dvips/lm/*.map usr/share/texmf/fonts/map/dvips/lm
+# install cork-lm.map which helps xdvi/dvips/etc for old dvi files
+# with old file names. This file is not disabled by default
+# in lmodern.cfg.
+debian/cork-lm.map usr/share/texmf/fonts/map/dvips/lm
+tex/latex/lm/*.fd tex/latex/lm/*.sty usr/share/texmf/tex/latex/lm
+debian/lmodern.scale etc/X11/fonts/Type1
+
diff --git a/debian/lmodern.links.in b/debian/lmodern.links.in
new file mode 100644
index 0000000..f7086b4
--- /dev/null
+++ b/debian/lmodern.links.in
@@ -0,0 +1,4 @@
+usr/share/doc/texmf/fonts/lm/README-Latin-Modern.TXT usr/share/doc/lmodern/README
+usr/share/doc/texmf/fonts/lm/MANIFEST-Latin-Modern.TXT usr/share/doc/lmodern/MANIFEST.txt
+usr/share/doc/texmf/fonts/lm/lm-hist.txt usr/share/doc/lmodern/lm-hist.txt
+usr/share/doc/texmf/fonts/lm/lm-info.pdf usr/share/doc/lmodern/lm-info.pdf
diff --git a/debian/lmodern.lintian-overrides b/debian/lmodern.lintian-overrides
deleted file mode 100644
index dcef7ac..0000000
--- a/debian/lmodern.lintian-overrides
+++ /dev/null
@@ -1,5 +0,0 @@
-# There is no need to depend on ucf: if present (and we are upgrading from
-# lmodern experimental versions 0.92-{4,5,6}), we call it to purge the
-# now-unused data; otherwise, there is nothing to purge anymore.
-lmodern binary: maintainer-script-needs-depends-on-ucf preinst
-lmodern binary: extra-license-file usr/share/doc/texmf/fonts/lm/GUST-FONT-LICENSE.txt
diff --git a/debian/lmodern.postrm b/debian/lmodern.postrm
deleted file mode 100644
index d5055dc..0000000
--- a/debian/lmodern.postrm
+++ /dev/null
@@ -1,60 +0,0 @@
-#! /bin/sh -e
-
-PACKAGE=lmodern
-
-CONFIG_FILE_BASE_NAME=10lmodern.cfg
-CONFIG_FILE="/etc/texmf/updmap.d/$CONFIG_FILE_BASE_NAME"
-
-# Stuff from the old (teTeX 2 times) updmap scheme
-OLD_STATE_DIR="/var/lib/$PACKAGE"
-SAVED_CONFIG_FILE="$OLD_STATE_DIR/${CONFIG_FILE_BASE_NAME}.saved"
-NO_CONFIG_FILE="$OLD_STATE_DIR/admin-wants-no-lmodern.cfg"
-
-case "$1" in
- remove|disappear)
- # People who installed lmodern 0.92-7 in the same apt run that was
- # doing the teTeX 2 to teTeX 3 upgrade may have this file lying around
- # (see bug #334658). However, the file should have been deleted when
- # upgrading to the first version that is >= 0.92-10. I am just making
- # really, really sure that we don't pollute the user's system.
- rm -f /etc/texmf/dvips/lm.map.dpkg-new
- ;;
-
- purge)
- # Supposing updmap.cfg & Co are clean (which I think is a reasonable
- # assumption), we don't need to call try_to_update_fontmaps().
- # Calling it on remove _and_ on purge just for hypothetical users
- # who would break their config before purging this package seems to
- # be more annoying than useful (it takes a lot of time).
- ;;
-
- abort-upgrade|abort-install)
- # If there was a previous version, and it dates back to the teTeX 2
- # times
- if [ $# -eq 2 ] && dpkg --compare-versions "$2" le 0.92-7; then
- [ ! -d "$OLD_STATE_DIR" ] && mkdir --mode=755 "$OLD_STATE_DIR"
-
- # If the package was previously removed-but-not-purged (i.e.,
- # 'preinst install <old-version>' was interrupted)
- if [ "$1" = abort-install ]; then
- if [ -f "$CONFIG_FILE" ] && [ ! -f "$NO_CONFIG_FILE" ]; then
- mv "$CONFIG_FILE" "$SAVED_CONFIG_FILE"
- fi
-
- [ -f "$NO_CONFIG_FILE" ] && rm -f "$CONFIG_FILE"
- fi
- fi
- ;;
-
- upgrade|failed-upgrade)
- ;;
-
- *)
- echo "postrm called with unknown argument '$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/lmodern.preinst b/debian/lmodern.preinst
index 6598af3..550a04a 100644
--- a/debian/lmodern.preinst
+++ b/debian/lmodern.preinst
@@ -1,246 +1,5 @@
#! /bin/sh -e
-PACKAGE=lmodern
-
-CONFIG_FILE_BASE_NAME=10lmodern.cfg
-CONFIG_FILE="/etc/texmf/updmap.d/$CONFIG_FILE_BASE_NAME"
-TEMP_CONFIG_FILE="$OLD_STATE_DIR/${CONFIG_FILE_BASE_NAME}.tmp"
-
-# Stuff from the old (teTeX 2 times) updmap scheme
-OLD_STATE_DIR="/var/lib/$PACKAGE"
-SAVED_CONFIG_FILE="$OLD_STATE_DIR/${CONFIG_FILE_BASE_NAME}.saved"
-NO_CONFIG_FILE="$OLD_STATE_DIR/admin-wants-no-lmodern.cfg"
-
-
-# Function to call when upgrading from experimental versions 0.92-{4,5,6}
-remove_stuff_from_experimental_versions()
-{
- # If ucf is not installed anymore, the data to purge was already
- # removed (along with ucf), in which case there is no problem not
- # running 'ucf --purge'.
- [ -x /usr/bin/ucf ] && ucf --purge "$CONFIG_FILE"
-
- rm -f "$OLD_STATE_DIR/ucf_should_not_recreate_the_config_file"
-
- CONFIG_FILE_CRUFT_DIR="$OLD_STATE_DIR/config-file-cruft"
- CONFIG_FILE_CRUFT_SUFFIXES='~ % .bak .dpkg-tmp .dpkg-new .dpkg-old
- .dpkg-dist'
- for suffix in $CONFIG_FILE_CRUFT_SUFFIXES; do
- rm -f "$CONFIG_FILE_CRUFT_DIR/$CONFIG_FILE_BASE_NAME$suffix"
- done
- [ -d "$CONFIG_FILE_CRUFT_DIR" ] && rmdir "$CONFIG_FILE_CRUFT_DIR"
-
- return 0
-}
-
-# Transition from the (update-)updmap scheme in use with teTeX 2
-transition_from_old_updmap_scheme()
-{
- # At the end of this block, we should have a $CONFIG_FILE.
- if ! [ -f "$CONFIG_FILE" ]; then
- if [ -f "$SAVED_CONFIG_FILE" ]; then
- # The package was simply removed.
- mv "$SAVED_CONFIG_FILE" "$CONFIG_FILE"
- else
- # The user had intentionally deleted $CONFIG_FILE. Create an empty
- # one with the magic comment.
- # The temporary file trick allows the script to be idempotent
- # because rename(2) is guaranteed to be atomic by POSIX.
- cat > "$TEMP_CONFIG_FILE" <<EndOfEmptyConfigFile
-# Don't delete the following pseudo-comment unless you know what you are doing.
-# -_- DebPkgProvidedMaps -_-
-# This file will *not* be included in updmap.cfg if the lmodern package is
-# removed. Please read update-updmap(1) for details.
-EndOfEmptyConfigFile
- mv "$TEMP_CONFIG_FILE" "$CONFIG_FILE"
- fi
- fi
-
- # We have a $CONFIG_FILE, therefore it is safe to remove these files now.
- rm -f "$SAVED_CONFIG_FILE" "$NO_CONFIG_FILE"
- # The directory should be empty by now.
- [ -d "$OLD_STATE_DIR" ] && rmdir "$OLD_STATE_DIR"
-
- # If the CONFIG_FILE is unchanged, remove it.
- if [ -f "$CONFIG_FILE" ]; then
- cnfmdsum=$(md5sum "$CONFIG_FILE" | cut -d ' ' -f 1)
- if [ "$cnfmdsum" = "77e2ae35bcc1153c4303487472d2bd17" ]; then
- # We can remove the file as it hasn't been changed.
- echo "Removing old, unchanged (pseudo-)conffile $CONFIG_FILE"
- rm -f "$CONFIG_FILE"
- else
- # The file was changed.
- # If it does not contain a magic header, we add it.
- if ! grep -q '^# -_- DebPkgProvidedMaps -_-' "$CONFIG_FILE"; then
- cat > "$TEMP_CONFIG_FILE" <<EndOfEmptyConfigFile
-# Don't delete the following pseudo-comment unless you know what you are doing.
-# -_- DebPkgProvidedMaps -_-
-# This file will *not* be included in updmap.cfg if the lmodern package is
-# removed. Please read update-updmap(1) for details.
-EndOfEmptyConfigFile
- cat "$CONFIG_FILE" >> "$TEMP_CONFIG_FILE"
- mv "$TEMP_CONFIG_FILE" "$CONFIG_FILE"
- fi
- fi
- fi
-
- return 0
-}
-
-# Retrieve the MD5 sum of a conffile from the dpkg database.
-#
-# $1 -- package name
-# $2 -- full (absolute) path to the conffile; this path will be matched
-# against the output of:
-#
-# dpkg-query -W -f='${Conffiles}' <package>
-#
-dpkg_md5sum()
-{
- package="$1"
- conffile="$2"
-
- sum=$(dpkg-query -W -f='${Conffiles}' "$package" \
- | grep -F " $conffile " | cut -d ' ' -f 3)
-
- if [ -n "$sum" ]; then
- echo "$sum"
- res=0
- else
- echo "Conffile '$conffile' not found in package '$package'" >&2
- res=1
- fi
-
- return $res
-}
-
-move_very_old_map_file_away ()
-{
- oldfile=/etc/texmf/dvips/lm.map
- if ! [ -r $oldfile ] ; then
- return 0
- fi
- originalmd5sum=$(dpkg_md5sum lmodern "$oldfile") || exit 1
- installedmd5sum=$(md5sum "$oldfile" | cut -d ' ' -f 1)
- if [ "$originalmd5sum" = "$installedmd5sum" ] ; then
- echo "Removing obsolete, unchanged conffile $oldfile"
- rm $oldfile
- else
- mkdir -p /etc/texmf/fonts/map/dvips/lm/
- mv $oldfile /etc/texmf/fonts/map/dvips/lm/lm.map.preinst-bak
- echo "
-Warning: you appear to have modified $oldfile, but its location
-is now obsolete. As this is an upgrade from a very old version, your
-file has been saved in /etc/texmf/fonts/map/dvips/lm/lm.map.preinst-bak,
-and can be safely deleted. If you want to adapt the lmodern map file,
-please make a copy of /usr/share/texmf/fonts/map/dvips/lm/lm.map
-and put it into /etc/texmf/fonts/map/dvips/lm/lm.map." >&2
- fi
-
- return 0
-}
-
-config_move ()
-{
- mode="$1"
- package="$2"
- oldfile="$3"
- newloc="$4"
-
- originalmd5sum=$(dpkg_md5sum "$package" "$oldfile") || exit 1
-
- if ! [ -e "$oldfile" ] ; then
- return 0
- fi
- oldloc=$(dirname "$oldfile")
- installedmd5sum=$(md5sum "$oldfile" | cut -d ' ' -f 1)
-
- # Take care of $oldfile
- if [ "$originalmd5sum" = "$installedmd5sum" ] ; then
- echo "Removing obsolete, unchanged conffile $oldfile"
- rm "$oldfile"
- else
- if [ -z "$newloc" ] ; then
- echo "Conffile $oldfile was changed, leaving it at the same place"
- else
- echo "Conffile $oldfile was changed, moving it to new location" \
- "$newloc"
- mkdir -p "$newloc"
- mv "$oldfile" "$newloc"
- fi
- fi
-
- # Optionally remove the $oldloc directory (depending on $mode)
- case "$mode" in
- remove_dir)
- test -d "$oldloc" && \
- rmdir --ignore-fail-on-non-empty "$oldloc" || true
- ;;
- keep_dir)
- ;;
- *)
- echo "Wrong usage of config_move(): \$1 = '$mode'" >&2
- exit 1
- ;;
- esac
-
- return 0
-}
-
-
-# If we are upgrading (in the large sense, including the case where the package
-# was previously removed-but-not-purged)...
-if [ $# -eq 2 ] && ( [ "$1" = "install" ] || [ "$1" = "upgrade" ] ); then
- # ... from a version tailored for the old update-updmap (where $CONFIG_FILE
- # wasn't allowed to be a conffile)
- if dpkg --compare-versions "$2" le 0.92-7; then
- transition_from_old_updmap_scheme
- move_very_old_map_file_away
- fi
- # ... from an experimental version that used ucf
- # [ Presumably, very few people installed these versions; they weren't
- # even uploaded to experimental. At some point, we can assume that all
- # these people have upgraded lmodern since then, and remove this code. ]
- if dpkg --compare-versions "$2" ge 0.92-4 \
- && dpkg --compare-versions "$2" lt 0.92-7; then
- remove_stuff_from_experimental_versions
- fi
-
- # If we are upgrading from a version v such as 0.92-7 < v < 0.99.3-1, then
- # lm.map is still in /etc/texmf/map/dvips/lm/.
- if dpkg --compare-versions "$2" gt 0.92-7 \
- && dpkg --compare-versions "$2" lt 0.99.3-1; then
- config_move remove_dir lmodern /etc/texmf/map/dvips/lm/lm.map \
- /etc/texmf/fonts/map/dvips/lm
- fi
-
- # People who installed lmodern 0.92-7 in the same apt run that was doing
- # the teTeX 2 to teTeX 3 upgrade may have this file lying around (see bug
- # #334658).
- rm -f /etc/texmf/dvips/lm.map.dpkg-new
-
- # lmodern 0.99.3-3 moved lmodern.scale to /etc/X11/fonts/X11R7/Type1/
- # because that was required by X.org, but the latter quickly reverted to
- # the old location /etc/X11/fonts/Type1; so, let's move
- # /etc/X11/fonts/X11R7/Type1/lmodern.scale back to /etc/X11/fonts/Type1 if
- # upgrading from 0.99.3-3.
- if [ "$2" = 0.99.3-3 ]; then
- config_move keep_dir lmodern \
- /etc/X11/fonts/X11R7/Type1/lmodern.scale /etc/X11/fonts/Type1
- fi
-
-fi
-
-case "$1" in
- install|upgrade|abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument '$1'" >&2
- exit 1
- ;;
-esac
-
if dpkg --compare-versions "$2" lt 2.004.1-3.1; then
if [ -x "which defoma-font 2>/dev/null" ]; then
defoma-font purge /etc/defoma/hints/lmodern.hints
diff --git a/debian/rules b/debian/rules
index df8038c..1b2f67d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,9 @@
#! /usr/bin/make -f
PKG := lmodern
+PKGFONTS := fonts-lmodern
PKG_INSTALL_DIR := debian/$(PKG)
+PKGFONTS_INSTALL_DIR := debian/$(PKGFONTS)
INSTALL := install
INSTALL_FILE := $(INSTALL) -p -o root -g root -m 644
@@ -96,7 +98,7 @@ clean:
rm -f build-indep-stamp \
"debian/$(PKG).scale.tmp" "debian/$(PKG).scale" \
"debian/$(PKG).fontlist-x11" "debian/$(PKG).links" \
- debian/copyright debian/lmodern.cfg
+ debian/copyright
dh_clean
binary-indep: build-indep
@@ -109,45 +111,7 @@ binary-indep: build-indep
# a dh_link (actually, Perl) process for every symbolic link in this
# package. So, $(PKG).links starts as an empty file and (target, link)
# pairs will be added to it in the relevant places.
- : > "debian/$(PKG).links"
-
- # Add the set of backward compatibility links
- # This should be removed for etch+1
- cat "debian/compat.links" >> "debian/$(PKG).links"
-
- dh_installdirs \
- usr/share/texmf/fonts/type1/public/lm \
- usr/share/texmf/fonts/opentype/public/lm \
- usr/share/texmf/fonts/afm/public/lm \
- usr/share/texmf/fonts/tfm/public/lm \
- usr/share/texmf/fonts/enc/dvips/lm \
- usr/share/texmf/fonts/map/dvips/lm \
- usr/share/texmf/tex/latex/lm \
- usr/share/doc/texmf/fonts/lm \
- usr/share/doc/$(PKG)/font-substitution \
- etc/X11/fonts/Type1 \
- etc/fonts/conf.avail \
- usr/share/fonts/X11/Type1 \
- usr/share/lintian/overrides
-
- # Note: we won't install the PFM files because we already have the
- # AFM files which are preferred in general.
-
- # Install all the PFB files in the right place for TeX and friends
- $(INSTALL_FILE) fonts/type1/public/lm/*.pfb \
- "$(PKG_INSTALL_DIR)/usr/share/texmf/fonts/type1/public/lm"
-
- # Install all the OpenType files in the right place for TeX and friends
- $(INSTALL_FILE) fonts/opentype/public/lm/*.otf \
- "$(PKG_INSTALL_DIR)/usr/share/texmf/fonts/opentype/public/lm"
-
- # Install all the AFM files in the right place for TeX and friends
- for file in fonts/afm/public/lm/*.afm; do \
- DEST_FILE="$(PKG_INSTALL_DIR)/usr/share/texmf/$$file" \
- && cp "$$file" "$$DEST_FILE" \
- && chown root:root "$$DEST_FILE" \
- && chmod 644 "$$DEST_FILE"; \
- done
+ cat "debian/lmodern.links.in" > "debian/$(PKG).links"
# Setup symlinks so that X can see the AFM and PFB files as well.
# Note: we use debian/$(PKG).fontlist-x11 because we are not making
@@ -158,88 +122,17 @@ binary-indep: build-indep
sed -nf debian/sed_scripts/gen-x-fonts-links-list \
"debian/$(PKG).fontlist-x11" >> "debian/$(PKG).links"
- $(INSTALL_FILE) "debian/65-$(PKG).conf" \
- "$(PKG_INSTALL_DIR)/etc/fonts/conf.avail"
-
- $(INSTALL_FILE) "debian/$(PKG).scale" \
- "$(PKG_INSTALL_DIR)/etc/X11/fonts/Type1"
+ dh_install
dh_installxfonts
- $(INSTALL_FILE) fonts/tfm/public/lm/*.tfm \
- "$(PKG_INSTALL_DIR)/usr/share/texmf/fonts/tfm/public/lm"
-
- $(INSTALL_FILE) fonts/enc/dvips/lm/*.enc \
- "$(PKG_INSTALL_DIR)/usr/share/texmf/fonts/enc/dvips/lm"
-
- # Install the specific map files because the monolithic lm.map is
- # incomplete in LM 1.00.
- find fonts/map/dvips/lm \
- \( -name "*.map" -not -name lm.map -not -name "lm-rep-*.map" \) \
- -print0 | xargs -0r $(INSTALL_FILE) \
- -t "$(PKG_INSTALL_DIR)/usr/share/texmf/fonts/map/dvips/lm"
-
- # Declare these map files in lmodern.cfg
- { sed -nf debian/sed_scripts/extract-start \
- "debian/lmodern.cfg.in" && \
- find fonts/map/dvips/lm \
- \( -name "*.map" -not -name lm.map -not -name "lm-rep-*.map" \) \
- -print | while read f; do echo "Map $$(basename "$$f")"; done \
- | sort && \
- sed -nf debian/sed_scripts/extract-end \
- "debian/lmodern.cfg.in"; \
- } > "debian/lmodern.cfg"
-
- # Also install the map files for replacement fonts for CS, CM, PL and
- # VN.
- $(INSTALL_FILE) fonts/map/dvips/lm/lm-rep-*.map \
- "$(PKG_INSTALL_DIR)/usr/share/texmf/fonts/map/dvips/lm"
-
- # install cork-lm.map which helps xdvi/dvips/etc for old dvi files
- # with old file names. This file is not disabled by default
- # in lmodern.cfg.
- $(INSTALL_FILE) debian/cork-lm.map \
- "$(PKG_INSTALL_DIR)/usr/share/texmf/fonts/map/dvips/lm"
-
- for file in tex/latex/lm/*.fd tex/latex/lm/*.sty; do \
- $(INSTALL_FILE) "$$file" \
- "$(PKG_INSTALL_DIR)/usr/share/texmf/tex/latex/lm"; \
- done
-
- for file in doc/fonts/lm/*; do \
- $(INSTALL_FILE) "$$file" \
- "$(PKG_INSTALL_DIR)/usr/share/doc/texmf/fonts/lm"; \
- done
-
- # Symlink the useful documentation files from
- # /usr/share/doc/texmf/fonts/lm/ to /usr/share/doc/lmodern/.
- { echo "usr/share/doc/texmf/fonts/lm/README-Latin-Modern.TXT" \
- "usr/share/doc/lmodern/README"; \
- echo "usr/share/doc/texmf/fonts/lm/MANIFEST-Latin-Modern.TXT" \
- "usr/share/doc/lmodern/MANIFEST.txt"; \
- echo "usr/share/doc/texmf/fonts/lm/lm-hist.txt" \
- "usr/share/doc/lmodern/lm-hist.txt"; \
- echo "usr/share/doc/texmf/fonts/lm/lm-info.pdf" \
- "usr/share/doc/lmodern/lm-info.pdf"; \
- } >> "debian/$(PKG).links"
-
# Install the standard conffile for update-updmap
- dh_installtex --priority=10 mapfile=debian/lmodern.cfg
-
- dh_link \
- etc/fonts/conf.avail/65-$(PKG).conf \
- etc/fonts/conf.d/65-$(PKG).conf
-
-
- dh_installdocs debian/NEWS.Debian
-
- $(INSTALL_FILE) debian/font-substitution/* \
- "$(PKG_INSTALL_DIR)/usr/share/doc/$(PKG)/font-substitution"
+ dh_installtex map=Map,lm.map
+ dh_installtex -p $(PKGFONTS)
+ dh_link
+ dh_installdocs
dh_installchangelogs
-
- $(INSTALL_FILE) debian/$(PKG).lintian-overrides \
- "$(PKG_INSTALL_DIR)/usr/share/lintian/overrides/$(PKG)"
-
+ dh_lintian
dh_compress -X.pdf
dh_fixperms
dh_installdeb
diff --git a/debian/sed_scripts/extract-end b/debian/sed_scripts/extract-end
deleted file mode 100644
index 3e06fc5..0000000
--- a/debian/sed_scripts/extract-end
+++ /dev/null
@@ -1,4 +0,0 @@
-/^@LMODERN_BASIC_MAP_DECLARATIONS@$/,${
-/^@LMODERN_BASIC_MAP_DECLARATIONS@$/d
-p
-}
diff --git a/debian/sed_scripts/extract-start b/debian/sed_scripts/extract-start
deleted file mode 100644
index 4c9c529..0000000
--- a/debian/sed_scripts/extract-start
+++ /dev/null
@@ -1,4 +0,0 @@
-1,/^@LMODERN_BASIC_MAP_DECLARATIONS@$/{
-/^@LMODERN_BASIC_MAP_DECLARATIONS@$/d
-p
-}
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..adc24e7
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1 @@
+lmodern source: no-debian-copyright
--
Debian packaging of lmodern)
Reply to: