Hello,

Samuel Thibault, le ven. 03 nov. 2023 10:40:50 +0100, a ecrit:
> Daniel Schepler, le mer. 26 juil. 2017 14:47:57 -0700, a ecrit:
> > It would be great if the next upload could update Build-Depends to
> > indicate which are not necessary for the stage1 build profile.  That
> > would make it easier to do automated bootstrapping.  My guess would
> > be:
> > 
> > Build-Depends: debhelper (>> 7.0.0), dh-buildinfo, xmlto <!stage1>,
> > poppler-utils <!stage1>, openjade <!stage1>, jadetex <!stage1>,
> > docbook-dsssl <!stage1>, dh-autoreconf
> 
> I can confirm that this works and considerably helps with bootstrapping
> new ports, could you please consider adding it?

Since the package hasn't seen any update for a long time, I have
uploaded the attached NMU to DELAYED/10.

Samuel
diff -u opensp-1.5.2/debian/changelog opensp-1.5.2/debian/changelog
--- opensp-1.5.2/debian/changelog
+++ opensp-1.5.2/debian/changelog
@@ -1,3 +1,11 @@
+opensp (1.5.2-13.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * control, rules: Add pkg.opensp.bootstrap build profile that avoids various
+    dependencies and thus breaks dependencies loops. (Closes: #869835).
+
+ -- Samuel Thibault <sthiba...@debian.org>  Sun, 12 Nov 2023 00:53:15 +0100
+
 opensp (1.5.2-13) unstable; urgency=medium
 
   * Revert NMU accidentally removed in last version.
diff -u opensp-1.5.2/debian/control opensp-1.5.2/debian/control
--- opensp-1.5.2/debian/control
+++ opensp-1.5.2/debian/control
@@ -3,7 +3,12 @@
 Priority: optional
 Maintainer: Neil Roeth <n...@debian.org>
 Standards-Version: 3.9.5.0
-Build-Depends: debhelper (>> 7.0.0), dh-buildinfo, xmlto, poppler-utils, 
openjade, jadetex, docbook-dsssl, dh-autoreconf
+Build-Depends: debhelper (>> 7.0.0), dh-buildinfo, dh-autoreconf,
+ xmlto <!pkg.opensp.bootstrap>,
+ poppler-utils <!pkg.opensp.bootstrap>,
+ openjade <!pkg.opensp.bootstrap>,
+ jadetex <!pkg.opensp.bootstrap>,
+ docbook-dsssl <!pkg.opensp.bootstrap>
 
 Package: opensp
 Architecture: any
diff -u opensp-1.5.2/debian/rules opensp-1.5.2/debian/rules
--- opensp-1.5.2/debian/rules
+++ opensp-1.5.2/debian/rules
@@ -48,7 +48,7 @@
 export CXXFLAGS
 export LDFLAGS
 
-ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
+ifeq (,$(findstring pkg.opensp.bootstrap,$(DEB_BUILD_PROFILES)))
 enable_doc_build := --enable-full-doc-build
 else
 enable_doc_build := --disable-doc-build
@@ -175,7 +175,7 @@
        ( sed -e 's/unicode.sd/unicode.decl/' catalog > catalog.tmp && \
        mv -f catalog.tmp catalog ) && \
        chmod +x gensyntax.pl
-ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
+ifeq (,$(findstring pkg.opensp.bootstrap,$(DEB_BUILD_PROFILES)))
        # Ugly fix for man page generation error
        sed 's~\.HP.*\[\\fIsysid\\fR\.\.\.\]~[\\fIsysid\\fR...]~' 
$(DESTDIR)/usr/share/man/man1/onsgmls.1 > 
$(DESTDIR)/usr/share/man/man1/onsgmls.1.tmp && mv 
$(DESTDIR)/usr/share/man/man1/onsgmls.1.tmp 
$(DESTDIR)/usr/share/man/man1/onsgmls.1
 else

Reply via email to