[Debian-tex-commits] SVN lmodern commit + diffs: r4990 - lmodern/trunk/debian

Norbert Preining preining at alioth.debian.org
Sun Dec 25 00:20:38 UTC 2011


Author: preining
Date: 2011-12-25 00:20:37 +0000 (Sun, 25 Dec 2011)
New Revision: 4990

Added:
   lmodern/trunk/debian/lmodern.postinst
Modified:
   lmodern/trunk/debian/TODO
   lmodern/trunk/debian/changelog
   lmodern/trunk/debian/control
   lmodern/trunk/debian/lmodern.README.Debian
   lmodern/trunk/debian/lmodern.postrm
   lmodern/trunk/debian/lmodern.preinst
   lmodern/trunk/debian/rules
Log:
NMU from Christian Perrier, transition away from defoma


Modified: lmodern/trunk/debian/TODO
===================================================================
--- lmodern/trunk/debian/TODO	2011-12-19 13:30:17 UTC (rev 4989)
+++ lmodern/trunk/debian/TODO	2011-12-25 00:20:37 UTC (rev 4990)
@@ -1,2 +1 @@
-* Register the OpenType fonts with defoma or Fontconfig?
 * Split the OpenType fonts (7 MB out of 44 MB) in an otf-lmodern package?

Modified: lmodern/trunk/debian/changelog
===================================================================
--- lmodern/trunk/debian/changelog	2011-12-19 13:30:17 UTC (rev 4989)
+++ lmodern/trunk/debian/changelog	2011-12-25 00:20:37 UTC (rev 4990)
@@ -1,3 +1,10 @@
+lmodern (2.004.1-3.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Transition away from defoma. Closes: #649831
+
+ -- Christian Perrier <bubulle at debian.org>  Sat, 17 Dec 2011 19:05:45 +0100
+
 lmodern (2.004.1-3) unstable; urgency=low
 
   * upload to unstable

Modified: lmodern/trunk/debian/control
===================================================================
--- lmodern/trunk/debian/control	2011-12-19 13:30:17 UTC (rev 4989)
+++ lmodern/trunk/debian/control	2011-12-25 00:20:37 UTC (rev 4990)
@@ -4,7 +4,7 @@
 Maintainer: Debian TeX maintainers <debian-tex-maint at lists.debian.org>
 Uploaders: Julian Gilbey <jdg at debian.org>, C.M. Connelly <cmc at debian.org>, Atsuhito KOHDA <kohda at debian.org>, Frank Küster <frank at debian.org>, Florent Rougon <frn at debian.org>, Norbert Preining <preining at debian.org>
 Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: defoma (>= 0.7.0), tex-common (>= 1.18)
+Build-Depends-Indep: tex-common (>= 1.18)
 Standards-Version: 3.8.3
 Vcs-Svn: svn://svn.debian.org/svn/debian-tex/lmodern/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/debian-tex/lmodern/trunk/
@@ -13,7 +13,7 @@
 Package: lmodern
 Section: fonts
 Architecture: all
-Depends: defoma (>= 0.5.0), ${misc:Depends}
+Depends: ${misc:Depends}
 Conflicts: lm, lmodern-x11, context (<= 2008.10.31-1)
 Replaces: lm, lmodern-x11
 Description: scalable PostScript and OpenType fonts based on Computer Modern

Modified: lmodern/trunk/debian/lmodern.README.Debian
===================================================================
--- lmodern/trunk/debian/lmodern.README.Debian	2011-12-19 13:30:17 UTC (rev 4989)
+++ lmodern/trunk/debian/lmodern.README.Debian	2011-12-25 00:20:37 UTC (rev 4990)
@@ -8,23 +8,11 @@
   - the TeX typesetting system (TeX, LaTeX, pdfTeX, pdfLaTeX, xdvi,
     Dvips, etc.);
 
-  - defoma (this is a generic framework available in Debian whose
-    purpose is to help the packages that use fonts find the fonts
-    installed by the packages that provide fonts. defoma-registered
-    fonts are also classified by family, weight, etc. so that defoma can
-    perform font substitution whenever it is necessary); Fontconfig and
-    Ghostscript are two noteworthy applications that take advantage of
-    defoma-registered fonts in Debian;
+  - desktop environments;
 
   - the core X11 fonts system[1], for use by any X application.
 
 
-How to use the Latin Modern fonts with defoma-aware applications?
------------------------------------------------------------------
-
-You have nothing particular to do. This package already did the job.
-
-
 How to use the Latin Modern fonts with X11?
 -------------------------------------------
 

Added: lmodern/trunk/debian/lmodern.postinst
===================================================================
--- lmodern/trunk/debian/lmodern.postinst	                        (rev 0)
+++ lmodern/trunk/debian/lmodern.postinst	2011-12-25 00:20:37 UTC (rev 4990)
@@ -0,0 +1,11 @@
+#! /bin/sh -e
+
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/lmodern.hints 2.004.1-3.1 -- "$@"
+fi
+
+
+#DEBHELPER#
+
+exit 0

Modified: lmodern/trunk/debian/lmodern.postrm
===================================================================
--- lmodern/trunk/debian/lmodern.postrm	2011-12-19 13:30:17 UTC (rev 4989)
+++ lmodern/trunk/debian/lmodern.postrm	2011-12-25 00:20:37 UTC (rev 4990)
@@ -55,6 +55,11 @@
         ;;
 esac
 
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/lmodern.hints 2.004.1-3.1 -- "$@"
+fi
+
+
 #DEBHELPER#
 
 exit 0

Modified: lmodern/trunk/debian/lmodern.preinst
===================================================================
--- lmodern/trunk/debian/lmodern.preinst	2011-12-19 13:30:17 UTC (rev 4989)
+++ lmodern/trunk/debian/lmodern.preinst	2011-12-25 00:20:37 UTC (rev 4990)
@@ -241,6 +241,18 @@
     ;;
 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
+	fi
+fi
+
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/lmodern.hints 2.004.1-3.1 -- "$@"
+fi
+
+
 #DEBHELPER#
 
 exit 0

Modified: lmodern/trunk/debian/rules
===================================================================
--- lmodern/trunk/debian/rules	2011-12-19 13:30:17 UTC (rev 4989)
+++ lmodern/trunk/debian/rules	2011-12-25 00:20:37 UTC (rev 4990)
@@ -223,8 +223,6 @@
 
 	dh_link
 
-	dh_installdefoma
-
 	dh_installdocs debian/NEWS.Debian
 
 	$(INSTALL_FILE) debian/font-substitution/* \




More information about the Debian-tex-commits mailing list