Package: tex-common
Version: 6.15
Tags: patch

A while ago, debhelper added a new way of enabling addons. Instead of
writing "dh $@ --with tex", one can now add dh-sequence-tex to
Build-Depends to achieve the same effect if dh-sequence-tex is provided
by somthing. Doing so has two major advantages:
 * Instead of mentioning the tex addon twice (once via B-D: tex-common
   and once via --with tex), one can enable it in one place.
 * The dependency can be conditionalized using the usual mechanisms
   including Build-Depends-Indep (very relevant here) and build
   profiles.

The one missing piece to make this work is adding the provides. If
possible, I recommend doing an upload with this change now, because the
risk of breaking something is very low and having this change in
bullseye will make backporting of packages that rely on the provides
easier. I'm not sure whether the freeze policy allows including the
change at this point in time. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru tex-common-6.15/debian/changelog 
tex-common-6.15+nmu1/debian/changelog
--- tex-common-6.15/debian/changelog    2020-06-08 10:31:14.000000000 +0200
+++ tex-common-6.15+nmu1/debian/changelog       2021-02-12 14:04:08.000000000 
+0100
@@ -1,3 +1,10 @@
+tex-common (6.15+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Provide dh-sequence-tex. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 12 Feb 2021 14:04:08 +0100
+
 tex-common (6.15) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --minimal -Nru tex-common-6.15/debian/control 
tex-common-6.15+nmu1/debian/control
--- tex-common-6.15/debian/control      2020-06-08 10:31:14.000000000 +0200
+++ tex-common-6.15+nmu1/debian/control 2021-02-12 14:04:06.000000000 +0100
@@ -19,6 +19,7 @@
 Replaces: tetex-base (<= 3.0-10), dvipdfmx
 Conflicts: tetex-base (<< 2007), texlive-common (<< 2009), context (<= 
2011.05.18.20110627-1)
 Breaks: texlive-common (<< 2010), tipa (<= 2:1.3-15), itrans (<= 5.3-10), 
gregoriotex (<= 2.0-1.1), cm-super (<< 0.3.4-12), cm-super-minimal (<< 
0.3.4-12), latex-cjk-chinese-arphic-bkai00mp (<= 1.21+nmu1), 
latex-cjk-japanese-wadalab (<= 0.20050817-15), latex-fonts-sipa-arundina (<= 
0.2.0-1), latex-fonts-thai-tlwg (<= 1:0.5.0-1), lmodern (<= 2.004.1-3.1), 
ko.tex-base (<= 0.1.0+20071012-1), ko.tex-extra (<= 0.1.0+20071012-1), 
latex-cjk-chinese-arphic-bsmi00lp (<= 1.21+nmu1), 
latex-cjk-chinese-arphic-gbsn00lp (<= 1.21+nmu1), 
latex-cjk-chinese-arphic-gkai00mp (<= 1.21+nmu1), latex-cjk-thai (<= 
4.8.2+git20111216-1), latex-cjk-chinese (<< 4.8.2+git20111216-2), 
latex-sanskrit (<= 2.2-8), musixtex (<= 1:0.115-2), scalable-cyrfonts-tex (<= 
4.15), tex-gyre (<= 2.004.1-2.1), jadetex (<= 3.13-12), luatex (<< 0.70.1), 
texlive-lang-arab (<< 2012), context-doc-nonfree (<= 2012.06.27-1), alqalam (<= 
0.2-5), thailatex (<< 2013), texlive-binaries (<< 2015), texlive-base (<< 2015)
+Provides: dh-sequence-tex
 Description: common infrastructure for building and installing TeX
  This package contains a number of scripts and common configuration
  files that are needed to install a TeX System.

Reply via email to