From: Ryan Hill <dirtyepic@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: [RFC] New eclass for x11 packages
Date: Thu, 18 Feb 2010 19:22:17 -0600 [thread overview]
Message-ID: <20100218192217.4634d04c@gentoo.org> (raw)
In-Reply-To: 4B7DC046.7010001@gentoo.org
[-- Attachment #1: Type: text/plain, Size: 2414 bytes --]
On Thu, 18 Feb 2010 23:33:42 +0100
Tomáš Chvátal <scarabeus@gentoo.org> wrote:
> Hi,
> we prepared new eclass for x11 packages that should be used as
> replacement for x-modular.eclass.
>
> After long discussion with others on irc we choose to name it as
> xorg-2.eclass.
>
> Whats new/changed:
> Fonts handling slightly rewritten to be done as written in specs (or i
> hope i did so :]).
It'd be nice to move all of the fonts stuff to font.eclass. Right now we
have two similar-but-not-quite font systems that tend to do the same thing
but drift apart sometimes in incompatible ways.
But I know I don't have time to do it and it seems to work well enough right now, so
meh. ;)
>>> [[ ${PN} == util-macros ]] || DEPEND+=" >=x11-misc/util-macros-1.3.0"
>>> [[ ${PN} == font-util ]] || DEPEND+=" >=media-fonts/font-util-1.1.1-r1"
>>
>> Do non-fonts really need font-util there? Looks like that sets up a nice
>> circular dependency.
>The same dep is in x-modular eclass. I spoted it in some fonts packages
>as required so i left it there.
>Good work/idea would be if someone doublecheck that one :]
Hmm, I don't see it in x-modular. It shouldn't be required for non-fonts
unless something in git needs it for some wacky reason.
remove_font_metadata() {
if [[ ${FONT_DIR} != Speedo && ${FONT_DIR} != CID ]]; then
einfo "Removing font metadata"
rm -rf "${ED}"/usr/share/fonts/${FONT_DIR}/fonts.{scale,dir,cache-1}
fi
}
Sorry, I forgot I was going to follow up on this.. FONT_DIR is a
space-separated list of directories. The only example of a font with
multiple directories I know of is font-misc-ethiopic. In that case, the
command run here would be:
rm -rf /usr/share/fonts/TTF OTF/fonts.{scale,dir,cache-1}
:/
cleanup_fonts(), create_fonts_scale(), and create_fonts_dir() are similarly
broken with multiple directories.
create_fonts_scale() {
if [[ ${DIR} != Speedo && ${DIR} != CID ]]; then
I think you mean ${FONT_DIR} here.
Honestly, you might consider dropping TTF from font-misc-ethiopic and only
install the OTF version. It would simplify things greatly.
--
fonts, by design, by neglect
gcc-porting, for a fact or just for effect
wxwidgets @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-02-19 1:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-18 22:33 [gentoo-dev] [RFC] New eclass for x11 packages Tomáš Chvátal
2010-02-18 22:39 ` Jeremy Olexa
2010-02-18 23:04 ` Tomáš Chvátal
2010-02-18 23:06 ` Tomáš Chvátal
2010-02-18 23:11 ` David Leverton
2010-02-18 23:16 ` Tomáš Chvátal
2010-02-18 23:20 ` Tomáš Chvátal
2010-02-18 23:22 ` David Leverton
2010-02-19 1:22 ` Ryan Hill [this message]
2010-02-24 20:54 ` [gentoo-dev] " Tomáš Chvátal
2010-02-22 10:50 ` [gentoo-dev] " Michael Haubenwallner
2010-02-22 14:20 ` Tomáš Chvátal
2010-02-22 15:50 ` Michael Haubenwallner
2010-02-22 15:57 ` Tomáš Chvátal
2010-02-27 12:18 ` Tomáš Chvátal
2010-03-01 8:58 ` Michael Haubenwallner
2010-03-01 10:38 ` Samuli Suominen
2010-03-07 10:52 ` Rémi Cardona
2010-03-10 14:13 ` Tomáš Chvátal
2010-03-10 19:40 ` Dawid Węgliński
2010-03-10 19:42 ` Tomáš Chvátal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100218192217.4634d04c@gentoo.org \
--to=dirtyepic@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox