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 1RkO3e-0003uc-AF for garchives@archives.gentoo.org; Mon, 09 Jan 2012 22:51:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1961821C15F; Mon, 9 Jan 2012 22:50:56 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) by pigeon.gentoo.org (Postfix) with ESMTP id F033121C097 for ; Mon, 9 Jan 2012 22:49:17 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAN5tC0/O+JyV/2dsb2JhbABDrFOBBoFyAQEEAVYoCws0EhQlN4d6tmKDfYR6gjdjBIg5hHt2hl2FYYglhFI X-IronPort-AV: E=Sophos;i="4.71,482,1320642000"; d="scan'208";a="155921420" Received: from 206-248-156-149.dsl.teksavvy.com (HELO waltdnes.org) ([206.248.156.149]) by ironport2-out.teksavvy.com with SMTP; 09 Jan 2012 17:49:16 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Mon, 09 Jan 2012 17:48:29 -0500 From: "Walter Dnes" Date: Mon, 9 Jan 2012 17:48:29 -0500 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: xpdf - missing fonts Message-ID: <20120109224829.GB4373@waltdnes.org> References: <4F0459A6.6000302@binarywings.net> <20120104155122.GA3683@syscon7.inet> <20120105085939.GB2064@Gee-Mi-Ni.epfl.ch> <20120105173628.GD23765@syscon7.inet> <20120106164821.GF3378@syscon7.inet> <20120107034004.GA3452@syscon7.inet> <20120109003135.GB19323@waltdnes.org> <20120109175028.GA7818@syscon7.inet> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <20120109175028.GA7818@syscon7.inet> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 1bbf580f-68e3-46d6-800e-1708ce2051b1 X-Archives-Hash: cb95e54057406f4bde192a573a675e9a --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 09, 2012 at 10:50:28AM -0700, Joseph wrote > I think you are correct on this one. I'll try to modify your system. > What is the easiest way to re-emerge all the fonts on the system or > list the one that are installed? > > I've manually installed some of the fonts that I have on my other > system and it partially solved the problem. I've attached a bash script to list all files, including those pulled in as dependancies of xorg-server. It also sets up another bash script to do the actual emerge. Here's how it works... * It creates a bash script "ef" (emerge fonts) * First put in the "#!/bin/bash" * Add "emerge -1 " to the file. *NOTE* The "-n" option prevents the normal linefeed * "emerge -pv --depclean" lists (amongst other things) all installed packages. This includes both stuff in world, and stuff that is pulled in as a dependancy * "grep media-fonts" filters the listing down to the "media-fonts" group, including various font utilities. * "sort -u" filters out duplicate lines * 'grep -v "pulled in by"' gets rid of the "pulled in by" lines. * The "sed" command puts an "=" sign in front of each package name, to make it a valid emerge parameter * the "tr" command converts linefeeds to spaces. The string of packagenames is appended to "emerge -1 " in the file "ef" * last, but not least, the file "ef" is set executable. You can look at it before launching it. -- Walter Dnes --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=listfonts #!/bin/bash echo "#!/bin/bash" > ef echo -n "emerge -1 " >> ef emerge -pv --depclean | \ grep media-fonts | \ sort -u | \ grep -v "pulled in by" | \ sed "s/ /=/" |\ tr '\n' ' ' >> ef chmod 744 ef --wRRV7LY7NUeQGEoC--