Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2012 03:57:02 +0100
From:      Alberto Villa <avilla@freebsd.org>
To:        freebsd-desktop@freebsd.org
Cc:        rflynn@acsalaska.net, desktop@freebsd.org
Subject:   Re: What about improving the desktop ports consistency: task 1, the fonts
Message-ID:  <201202280357.05198.avilla@freebsd.org>
In-Reply-To: <201201201004.36979.avilla@freebsd.org>
References:  <20120120065141.GM4729@azathoth.lan> <201201201004.36979.avilla@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@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"

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iJwEAAECAAYFAk9MQoEACgkQ3xiC6kQ1Cov3GwP/dra5Xs08Xx4ycRzMBr6UIJFM
UzrtSxG15a6Ry2tpG1DwP+Up/JlzZazS69tVq3GkIpZmNGo/pXIFyRVuZwBxJMJY
BjWRYacUE3oXOYTTpdgMxKhSgHzj8JyTZM4zuSPHMqsQx5hmvSQl9ko5ZzF49Tfj
7ijyjodxRD1LFRVX+D8=
=FB+e
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202280357.05198.avilla>