[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#427169: tetex-base - update-updmap: cannot read /etc/texmf/updmap.d/00updmap.cfg



Hi Frank,

On Die, 05 Jun 2007, Frank Küster wrote:
> I had rather leave out dh_installtex for all metapackages.  Since
> rules.in is created with tpm2deb.cfg data in memory, this shouldn't be
> terribly hard.

I was just now implementing this, but now I have a question: We are
putting stuff into rules.in via the
	PACKAGES=<:=$binpackages:>
line, and $binpackages is initialized from all the packages build from
the respective source package.

Here we could also put only those packages which ship real stuff, ie we
could leave out all the "addpackages" from tpm2deb.cfg.

But we have to analyze what this would mean, further down:
clean: unpatch
        for i in $(PACKAGES) ; do \
          rm -f debian/$$i.{README.Debian,links,links.generated} ; \
          rm -f debian/$$i.{postinst,postrm,preinst,prerm} ; \
          rm -f debian/$$i.{maps,languages,formats} ; \
        done


and in the install target (meta lines)
# this must be called for *all* packages
        perl debian/tpm2deb-bin.pl --nosource $(PACKAGES)

        for i in $(PACKAGES) ; do \
# we put some stuff into texlive-common via merge-dist-tree
	  "call merge-dist-tree if present"
# unnecessary for all the meta packages
	  "generate license file"
# unnecessary for all the meta packages
	  "remove tpm dir"
# unnecessary for all the meta packages
	  "install lintian override file"
# would make sense to do?
	  "install bug.script and .control"
# maybe useful for texlive-common which ships some docs
	  "call create-doc-links"
# texlive-common.links.dist is there ...
	  "add links.dist to the links file"
# ??? probably useless
	  "create debian/$i.README.Debian from general and package specific"
        done

So the most things are useless, what about:
- change rules.in to have
	PACKAGES=<:=$binpackages:>
	METAPACKAGES=<:=$metapackages:>
- call tpm2deb-bin.pl with $(PACKAGES) $(METAPACKAGES)
- call the long for only for $(PACKAGES)
- call merge-dist-tree, bug.*, links.dist, README for $(METAPACKAGES)
- add -N $i for all $(METAPACKAGES) to the dh_installtex call


Comments?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>        Vienna University of Technology
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
DUNBOYNE (n.)
The moment of realisation that the train you have just patiently
watched pulling out of the station was the one you were meant to be
on.
			--- Douglas Adams, The Meaning of Liff



Reply to: