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

Bug#225004: tetex-extra: Type1 fonts should be in a separate package



Hilmar Preusse <hille42@web.de> schrieb:

> On 11.02.04 Frank Küster (frank@kuesterei.ch) wrote:
>> Hilmar Preusse <hille42@web.de> schrieb:
>
> Hi all,
>
>> Well, it would be nice to have a small changelog.Debian for the new
>> packages with no information that's boring to non-TeX-users.  The
>> problem with this is that bugs can only be closed with _one_
>> changelog file, and we would have to duplicate the entries that
>> refer to xfonts-tetex and tetex-extra-fonts.
>> 
> debian/changelog is for the source package so it can be used to close
> bugs. I propose to create an own changelog for xfonts-type1, mention
> the closed bug there and thats it.

If you're willing to do this, o.k. It'll be some more work, but probably
it's worth it, for the sake of our users.

>> I would suggest to install the standard source changelog. Look at this
>> "diff" (in fact it's hand-crafted):
>> 
>> # Install upstream changelog.
>> -	dh_installchangelogs texmf/ChangeLog -p tetex-base
>> +	dh_installchangelogs texmf/ChangeLog -p tetex-base -p tetex-extra-fonts
>> 
> I think the upstream changelog is definitely not needed in
> tetex-extra-fonts.

I mainly meant that to install changelog.Debian, but you're probably
right. And I think there won't be many upstream changes in the future,
if at all.

> Does tetex-extra provides tetex-nonfree? 

Yes:

~$ grep -A6 "Package: tetex-extra$" src/Packages/tetex/tetex-base-2.0.2/debian/control | grep Provides 
Provides: tetex-nonfree, pb-diagram, tetex-eurosym, texdoctk

I guess that was for the potato-->woody transition.

>> Alternatively, we could include all fonts currently shipped with
>> tetex-extra. However, the font files in tetex-extra take
>> 152Mbyte[1] instead of 5.8Mbyte in tetex-extra-fonts.
>> 
> Noooo. Don't do that! Who else really want that fonts?
> How do we call our xfonts interface then? xfonts-tetex-extra? And
> later create an xfonts-tetex-base, when we've split of the
> Type1-fonts of tetex-base?

You'd better forget my idea...

> dh_link don't like directory as link name. So I have to paste the
> name of each file behind usr/X11R6/lib/X11/fonts/Type1/. Does anybody
> has a quick solution for that (beside cat tetex-extra-fonts.files
> |cut -d / -f 8)?

sed -e 's#^\(.*/\)\([^/]*\)$#\1\2 usr/X11R6/lib/X11/fonts/Type1\2#g' \
  debian/tetex-extra-fonts.files \
  >> debian/tetex-extra-fonts.links

(Both * match greedy, but because there may not be a / in the second
pair of parentheses, the first matches everything but the base filename,
and \2 is only the basename.

>> You could do it with
>> 
>> ln -s `cat debian/tetex-extra-fonts.files|sed s#^usr/#../../../../../#g` debian/tetex-base/usr/X11R6/lib/X11/fonts/Type1/
>> 
> Well, I don't really expect it to happen, but what if the number of
> ../ changes?

Then we'd have to change it, anyway. But I guess it's much easier to
change the path to the X11 fonts directory, as it's written above in the
sed replacement, and the tetex path somewhere else where the files are
installed (or rather, this will probably have been done by upstream),
than to rethink the number of ../. So I'd suggest to use dh_link.

Regards, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: