On Mon, Aug 27, 2007 at 08:52:22PM +0530, Kumar Appaiah wrote:
I figured that I could get rid of the block in the build process by
reducing the minumum threshold for translation and ensuring that
po4a-* is called at all places with -k; a patch is attached to get
here. But I then run into some issues with apt-howto.ks.sgml.
Hi.
I'm attaching a fix for this bug. The po4a-updatepo doesn't have a -k
option so this doesn't helps to solve the problem. The original error
message says that the apt-howto.de.sgml wasn't created because 39.8%
of it was translated and that this isn't enough. My patch changes the
lower limit to 39% and updates the build dependencies. The
apt-howto.ko.pdf wasn't created because the texlive (the TeX system is
now provided by texlive) doesn't have all needed files. So it closes
the bug#435010. I don't used the proposed patch for it because I think
it will make the package depends on a excessive number of packages
indirectly (the TeX system is huge) and some more transitions happened
since then (gs* to ghostscript for example).
My patch also declares three Build-Conflict-Indep that the patch for
#435010 doesn't do. I verified here that the package doesn't build
when they are installed but I don't verified what happens when only
their dependencies and recommends are installed. The missing ones
aren't directly used anyway: the conflicts are made with transitional
packages. The bug#435010 doesn't quote any other field or file, so I
understand that the bug was requesting an update on the
build-dependencies to ACK transitions. So I did. I also removed some
build dependencies. The build system don't cried and the
dpkg-genbuilddeps don't detected that they are used. I'm not merging
both bugs because the requests are different. My patch makes the
package built on newer systems (with texlive) and don't build on older
ones (with tetex) but I think this is the expected behaviour. I also
want to inform that the ./debian/rules clean target is buggy and
doesn't clear the tree properly. There is a dependency on
(/bin/sh-)bash, too. This patch doesn't solve any of them.
rollingbits
--
,-. rollingbits -- [EMAIL PROTECTED], [EMAIL PROTECTED]
\`' [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
` Get my public GPG key in http://rollingbits.tripod.com/mykey.html
diff -urN apt-howto-2.0.2.orig/debian/control apt-howto-2.0.2/debian/control
--- apt-howto-2.0.2.orig/debian/control 2007-11-03 23:01:16.0 -0200
+++ apt-howto-2.0.2/debian/control 2007-11-03 21:58:57.0 -0200
@@ -1,9 +1,10 @@
Source: apt-howto
Section: doc
+Build-Conflicts-Indep: tetex-base, tetex-bin, tetex-extra
Priority: optional
Maintainer: Gustavo Noronha Silva [EMAIL PROTECTED]
Uploaders: Osamu Aoki [EMAIL PROTECTED], Debian-BR Team Maintainers [EMAIL PROTECTED], Eduardo Marcel Macan [EMAIL PROTECTED], Goedson Teixeira Paixao [EMAIL PROTECTED], Guilherme de S. Pastore [EMAIL PROTECTED], Gustavo Franco [EMAIL PROTECTED], Marcio Roberto Teixeira [EMAIL PROTECTED], Otavio Salvador [EMAIL PROTECTED], Tiago Bortoletto Vaz [EMAIL PROTECTED]
-Build-Depends-Indep: debhelper ( 3.0.0), debiandoc-sgml(= 1.1.86), tetex-bin, tetex-extra, w3m (= 0.3) | w3m-ssl (= 0.3) | w3mmee (= 0.3), cjk-latex, freetype1-tools, tfm-arphic-bsmi00lp, tfm-arphic-bkai00mp, tfm-arphic-gbsn00lp, tfm-arphic-gkai00mp, hbf-jfs56, hbf-cns40-b5, hbf-kanji48, gs, cjk-latex, hlatex, hlatex-fonts-base, po4a
+Build-Depends-Indep: debhelper ( 3.0.0), debiandoc-sgml(= 1.1.86), latex-ucs, texlive-latex-extra, texlive-fonts-recommended, texlive-latex-recommended, texlive-lang-cyrillic, texlive-lang-french, texlive-lang-german, texlive-lang-greek, texlive-lang-italian, texlive-lang-other, texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish, w3m (= 0.3) | w3m-ssl (= 0.3) | w3mmee (= 0.3), latex-cjk-common, ghostscript-x, ko.tex, po4a, context, texlive-lang-latin
Standards-Version: 3.6.2
Package: apt-howto
diff -urN apt-howto-2.0.2.orig/debian/control.in apt-howto-2.0.2/debian/control.in
--- apt-howto-2.0.2.orig/debian/control.in 2007-11-03 23:01:16.0 -0200
+++ apt-howto-2.0.2/debian/control.in 2007-11-03 22:13:02.0 -0200
@@ -1,9 +1,10 @@
Source: apt-howto
Section: doc
+Build-Conflicts-Indep: tetex-base, tetex-bin, tetex-extra
Priority: optional
Maintainer: Gustavo Noronha Silva [EMAIL PROTECTED]
Uploaders: Osamu Aoki [EMAIL PROTECTED], @DEBIAN_BR_TEAM@
-Build-Depends-Indep: debhelper ( 3.0.0), debiandoc-sgml(= 1.1.86), tetex-bin, tetex-extra, w3m (= 0.3) | w3m-ssl (= 0.3) | w3mmee (= 0.3), cjk-latex, freetype1-tools, tfm-arphic-bsmi00lp, tfm-arphic-bkai00mp, tfm-arphic-gbsn00lp, tfm-arphic-gkai00mp, hbf-jfs56, hbf-cns40-b5, hbf-kanji48, gs, cjk-latex, hlatex, hlatex-fonts-base, po4a
+Build-Depends-Indep: debhelper ( 3.0.0), debiandoc-sgml(= 1.1.86), latex-ucs, texlive-latex-extra, texlive-fonts-recommended, texlive-latex-recommended, texlive-lang-cyrillic, texlive-lang-french, texlive-lang-german,