From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NiHYM-0002wa-97 for garchives@archives.gentoo.org; Fri, 19 Feb 2010 01:21:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51A99E0AC9; Fri, 19 Feb 2010 01:21:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4A313E0858 for ; Fri, 19 Feb 2010 01:20:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E29A21B40D5 for ; Fri, 19 Feb 2010 01:20:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.009 X-Spam-Level: X-Spam-Status: No, score=-3.009 required=5.5 tests=[AWL=-0.410, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0G8KyyCNiV6b for ; Fri, 19 Feb 2010 01:20:45 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id DE2EE67FD5 for ; Fri, 19 Feb 2010 01:20:43 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NiHXs-0006cV-V3 for gentoo-dev@gentoo.org; Fri, 19 Feb 2010 02:20:40 +0100 Received: from s0106001e378466d7.mj.shawcable.net ([70.64.210.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Feb 2010 02:20:40 +0100 Received: from dirtyepic by s0106001e378466d7.mj.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Feb 2010 02:20:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Ryan Hill Subject: [gentoo-dev] Re: [RFC] New eclass for x11 packages Date: Thu, 18 Feb 2010 19:22:17 -0600 Organization: Gentoo Message-ID: <20100218192217.4634d04c@gentoo.org> References: <4B7DC046.7010001@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/hMVKgtTOPTMv/wVw9F77I1z"; protocol="application/pgp-signature" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s0106001e378466d7.mj.shawcable.net X-Newsreader: Claws Mail 3.7.5 (GTK+ 2.18.6; x86_64-unknown-linux-gnu) Sender: news X-Archives-Salt: 0f422f06-7870-499d-a363-fbb0f417a406 X-Archives-Hash: bccc54d01b6224f78136b5980f57dc88 --Sig_/hMVKgtTOPTMv/wVw9F77I1z Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 18 Feb 2010 23:33:42 +0100 Tom=C3=A1=C5=A1 Chv=C3=A1tal wrote: > Hi, > we prepared new eclass for x11 packages that should be used as > replacement for x-modular.eclass. >=20 > After long discussion with others on irc we choose to name it as > xorg-2.eclass. >=20 > 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 righ= t now, so meh. ;) >>> [[ ${PN} =3D=3D util-macros ]] || DEPEND+=3D" >=3Dx11-misc/util-macros= -1.3.0" >>> [[ ${PN} =3D=3D font-util ]] || DEPEND+=3D" >=3Dmedia-fonts/font-util-= 1.1.1-r1" =20 >>=20 >> Do non-fonts really need font-util there? Looks like that sets up a nic= e=20 >> circular dependency. =20 >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} !=3D Speedo && ${FONT_DIR} !=3D 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} !=3D Speedo && ${DIR} !=3D CID ]]; then I think you mean ${FONT_DIR} here. =20 Honestly, you might consider dropping TTF from font-misc-ethiopic and only install the OTF version. It would simplify things greatly. --=20 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 --Sig_/hMVKgtTOPTMv/wVw9F77I1z Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkt9584ACgkQiqiDRvmkBmJzsACfTQcLjmRxvbRvRaMk3F/1uY50 EV8AnRVf9H/wQSQia3Vt090RLkEtRQkN =zkYj -----END PGP SIGNATURE----- --Sig_/hMVKgtTOPTMv/wVw9F77I1z--