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

Re: lenny release goals and the tetex->texlive transition



On Don, 14 Dez 2006, Frank Küster wrote:
> > Yup. This probably means doing some NMU, as there are packages with bugs
> > open since some time and no reaction, although there have been new
> > versions on a regular basis (ipe, I even prepared a new source package,
> > texmacs, ..)
> 
> Hm, I'm not sure we can NMU packages targetted at etch.  It's not a RC
> bug to not support TeXlive.  Maybe we should instead provide empty
> "tetex" packages prepared with equivs for etch users, somewhere on
> tug.org?

Can be done, easily.

> I think in tetex it just means to pass --enable-shared to configure, and
> maybe some tweaks in the install targets.   I don't think it would be
> hard with texlive.  But still, a separate package has its merits.

Might be, never tried.

> > Hmm, of course it needs better description, but I think the README
> > already describes quite good how to make a source package.
> 
> No, not really - I always need to do trial-and-error if the last
> tpm2deb.pl invocation is no longer in the bash history.  The needed
> options are not documented (I think it's --master and --oldsource), and

Hmm, ever taken a look into README ;-)

-----------------------
5) How to build the source packages
===================================
..
If you build a package with debian revision > 1, ie you do not generate
a new orig.tar.gz file, than you have to have the .orig.tar.gz somewhere,
lets say in $OLD.

If you build a package with debian revision <= 1, ie you wnat to generate
a new orig.tar.gz file, than you have to have the TeX live 2005 Master
tree somewhere, lets say in $MASTER.

If you want to build a single source package, say texlive-base, call
        perl tpm2deb.pl make-deb-source                 \
                --oldsource=$OLD --master=$MASTER       \
                texlive-base
        
If you want to build *all* source packages (as defined in tpm2deb.cfg), then
        perl tpm2deb.pl make-deb-source                 \
                --oldsource=$OLD --master=$MASTER       \
                all

--------------------------

This seems rather clear. I will add a comment that IF you do NOT build
new orig.tar.gz, and you have
	./old	the orig.tar.gz
then it is enough to call
	perl tpm2deb.pl make-deb-source texlive-bin
which seems quite reasonable.


I added to the TOP of the README the following:
----------------------------------------------------
QUICK HOWTO TO BUILD A SOURCE PACKAGE

. Do NOT create a new .orig.tar.gz, ie only make a new Debian revision,
  or read the whole text
. Put the .orig.tar.gz into ./old/
. edit whatever you have to change, don't forget to change 
  ./addons-per-source/$sourcepackage.changelog (it is the debian changelog
  and defines the version number!)
. call
        perl ./tpm2deb.pl make-deb-source $sourcepackage
  where $sourcepackage is one of texlive-{bin,base,extra,doc,lang} or 'all'

After this you should have a normal Debian source package
----------------------------------------------------

> the targets aren't described clearly, too (what is the make_deb target
> for?  It simply does nothing IIRC).

rules.in:
...
	perl debian/tpm2deb.pl --nosource --master=. make-deb $(PACKAGES)

It does something, namely all the installation work, maintainer scripts
etc. It is *the workhorse* of the script!!!

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SITTINGBOURNE (n.)
One of those conversions where both people are waiting for the other
one to shut up so they can get on with their bit.
			--- Douglas Adams, The Meaning of Liff



Reply to: