What about improving the desktop ports consistency: task 1, the fonts

Alberto Villa avilla at freebsd.org
Tue Feb 28 03:27:43 UTC 2012


I'm making a port for a font, so I'm stepping into this.

On Friday 20 January 2012 10:04:34 Alberto Villa wrote:
> On Friday 20 January 2012 07:51:41 Baptiste Daroussin wrote:
> > I have seen that some ports use INSTALLS_* from bsd.xorg.mk, some
> 
> others do
> 
> > the mkfontscale first and directly package the fonts.scale fonts.* stuff
> > in the package.

When not using XORG_CAT=font and INSTALLS_TTF=yes, ports just mimic 
that behaviour, with some deviations (like installing fonts.scale and 
fonts.dirs files) which appear not to be optimal. I will try converting some 
ports to bsd.xorg.mk magic and see what changes.

> > (do we still need that FontPath thing?, if no then the
> > pkg-message asking people to fill it should be dropped)
> 
> I think we do, but will try and report.

I'm currently running KDE with stock FontPath's, and I can use my port-
installed fonts. Seems like fontconfig takes care of this. Thus, there's no 
pkg-message in my port.
I wonder, though, if there's still software not using fontconfig: I guess 
that, in that case, FontPath might be required.

> > If you are not willing to write the page, I'll do, but I need someone
> > describing me how things are working together in the font world.
> 
> Unfortunately I don't know this kind of stuff. If no one here does, we
> might call for help in x11@ (eadler?)...

I had a discussion with melflynn in #bsdports which brought to the 
conclusion that the magic is already there, and it should be used. I will test 
it, and if it works fine, I can try writing a prototype of the page. It 
shouldn't take too much time.

By the way, I'm including him in the thread. Keep him CCed as he's not 
subscribed (currently). melflynn: did I say something wrong?
-- 
Alberto Villa, FreeBSD committer <avilla at FreeBSD.org>
http://people.FreeBSD.org/~avilla

Murder is always a mistake -- one should never do anything one cannot
talk about after dinner.
		-- Oscar Wilde, "The Picture of Dorian Gray"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-desktop/attachments/20120228/52fe1cd8/attachment-0001.pgp


More information about the freebsd-desktop mailing list