[Pkg-fonts-devel] Bug#762054: d-i.debian.org: investigate ttf-* vs. fonts-* for udebs?
Cyril Brulebois
kibi at debian.org
Fri Jul 10 02:07:47 UTC 2015
(tl;dr: at the bottom)
Cyril Brulebois <kibi at debian.org> (2014-09-18):
> I don't think it matters much (except for consistency), but there
> was some request already for us to evaluate RMs after packaging got
> changed (which I failed to do properly by the way) so it might make
> sense to try and get that done, once and for all.
A quick git grep in debian-installer.git seems to return only those:
build/pkg-lists/gtk-common:ttf-freefont-udeb
build/pkg-lists/gtk-common:ttf-cjk-compact-udeb
build/pkg-lists/gtk-common:ttf-dejavu-udeb
ttf-cjk-compact-udeb is under our control.
There's also this hit in cdebconf-terminal:
Depends: cdebconf-gtk-udeb, ttf-dejavu-mono-udeb, ${shlibs:Depends}, ${misc:Depends}
https://packages.debian.org/unstable/ttf-freefont says ttf-freefont is a
transitional package, pulling fonts-freefont-ttf from src:fonts-freefont.
That source package builds fonts-freefont-udeb which might be used to
replace ttf-freefont-udeb? The file lists seem to suggest this wouldn't
be too crazy, and we would get a few bug fixes/improvements, if dates
can be trusted as references:
(sid-amd64-devel)kibi at wodi:/tmp$ dpkg --contents fonts-freefont-udeb_20120503-4_all.udeb|sort -k 6
drwxr-xr-x root/root 0 2014-02-08 08:01 ./
drwxr-xr-x root/root 0 2014-02-08 08:01 ./etc/
drwxr-xr-x root/root 0 2014-02-08 08:01 ./etc/X11/
-rw-r--r-- root/root 205 2013-08-02 23:31 ./etc/X11/XftConfig
drwxr-xr-x root/root 0 2014-02-08 08:01 ./usr/
drwxr-xr-x root/root 0 2014-02-08 08:01 ./usr/share/
drwxr-xr-x root/root 0 2014-02-08 08:01 ./usr/share/fonts/
drwxr-xr-x root/root 0 2014-02-08 08:01 ./usr/share/fonts/truetype/
drwxr-xr-x root/root 0 2014-02-08 08:01 ./usr/share/fonts/truetype/freefont/
-rw-r--r-- root/root 149056 2014-02-08 08:01 ./usr/share/fonts/truetype/freefont/FreeSansBold.ttf
-rw-r--r-- root/root 222048 2014-02-08 08:01 ./usr/share/fonts/truetype/freefont/FreeSansOblique.ttf
-rw-r--r-- root/root 544272 2014-02-08 08:01 ./usr/share/fonts/truetype/freefont/FreeSans.ttf
(sid-amd64-devel)kibi at wodi:/tmp$ dpkg --contents ttf-freefont-udeb_20100919-1_all.udeb|sort -k 6
drwxr-xr-x root/root 0 2011-02-08 08:24 ./
drwxr-xr-x root/root 0 2011-02-08 08:24 ./etc/
drwxr-xr-x root/root 0 2011-02-08 08:24 ./etc/X11/
-rw-r--r-- root/root 205 2011-02-07 22:25 ./etc/X11/XftConfig
drwxr-xr-x root/root 0 2011-02-08 08:24 ./usr/
drwxr-xr-x root/root 0 2011-02-08 08:24 ./usr/share/
drwxr-xr-x root/root 0 2011-02-08 08:24 ./usr/share/fonts/
drwxr-xr-x root/root 0 2011-02-08 08:24 ./usr/share/fonts/truetype/
drwxr-xr-x root/root 0 2011-02-08 08:24 ./usr/share/fonts/truetype/freefont/
-rw-r--r-- root/root 103828 2011-02-08 08:24 ./usr/share/fonts/truetype/freefont/FreeSansBold.ttf
-rw-r--r-- root/root 219736 2011-02-08 08:24 ./usr/share/fonts/truetype/freefont/FreeSansOblique.ttf
-rw-r--r-- root/root 333884 2011-02-08 08:24 ./usr/share/fonts/truetype/freefont/FreeSans.ttf
The same might go for ttf-dejavu-udeb and ttf-dejavu-mono-udeb, compared
to fonts-dejavu-udeb and fonts-dejavu-mono-udeb.
This seems to be confirmed for the non-mono variants:
(sid-amd64-devel)kibi at wodi:/tmp/1$ debdiff ttf-dejavu-udeb_2.33-3_all.udeb fonts-dejavu-udeb_2.35-1_all.udeb
[The following lists of changes regard files as different if they have
different names, permissions or owners.]
Files in second .deb but not in first
-------------------------------------
-rw-r--r-- root/root /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf
-rw-r--r-- root/root /usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf
Files in first .deb but not in second
-------------------------------------
-rw-r--r-- root/root /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
-rw-r--r-- root/root /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
Control files: lines which differ (wdiff format)
------------------------------------------------
Installed-Size: [-504-] {+544+}
Package: [-ttf-dejavu-udeb-] {+fonts-dejavu-udeb+}
Source: [-ttf-dejavu-] {+fonts-dejavu+}
Version: [-2.33-3-] {+2.35-1+}
But also for the mono variants:
(sid-amd64-devel)kibi at wodi:/tmp/2$ debdiff ttf-dejavu-mono-udeb_2.33-3_all.udeb fonts-dejavu-mono-udeb_2.35-1_all.udeb
[The following lists of changes regard files as different if they have
different names, permissions or owners.]
Files in second .deb but not in first
-------------------------------------
-rw-r--r-- root/root /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
Files in first .deb but not in second
-------------------------------------
-rw-r--r-- root/root /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
Control files: lines which differ (wdiff format)
------------------------------------------------
Installed-Size: [-155-] {+156+}
Package: [-ttf-dejavu-mono-udeb-] {+fonts-dejavu-mono-udeb+}
Source: [-ttf-dejavu-] {+fonts-dejavu+}
Version: [-2.33-3-] {+2.35-1+}
One should note the file differences come from the ttf-dejavu vs. dejavu
directory.
tl;dr: Based on the investigation above, I'd be tempted to:
1. Replace ttf-* occurrences with fonts-* ones for everything except
ttf-cjk-compact, since all bits seem to already be in place.
fonts-dejavu and fonts-freefont maintainers, do you concur?
This would post-alpha 1.
2. Rename ttf-cjk-compact* to fonts-cjk-compact* later if we really
want to get consistency. There's no potential improvement to gain
here, compared to the situation for the previously mentioned packages.
Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20150710/0aa9c5a6/attachment.sig>
More information about the Pkg-fonts-devel
mailing list