From: | "Jim Ramsay (lack)" <lack@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: rox.eclass |
Date: | Fri, 31 Oct 2008 13:02:34 |
Message-Id: | E1Kvte4-0002j3-1C@stork.gentoo.org |
1 | lack 08/10/31 13:02:32 |
2 | |
3 | Modified: rox.eclass |
4 | Log: |
5 | Updated .DirIcon file type detection to match new output I'm getting from a |
6 | recent upgrade of 'file'. |
7 | |
8 | Revision Changes Path |
9 | 1.30 eclass/rox.eclass |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/rox.eclass?rev=1.30&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/rox.eclass?rev=1.30&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/rox.eclass?r1=1.29&r2=1.30 |
14 | |
15 | Index: rox.eclass |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v |
18 | retrieving revision 1.29 |
19 | retrieving revision 1.30 |
20 | diff -u -r1.29 -r1.30 |
21 | --- rox.eclass 4 Jun 2008 13:12:23 -0000 1.29 |
22 | +++ rox.eclass 31 Oct 2008 13:02:31 -0000 1.30 |
23 | @@ -1,6 +1,6 @@ |
24 | # Copyright 1999-2004 Gentoo Foundation |
25 | # Distributed under the terms of the GNU General Public License v2 |
26 | -# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.29 2008/06/04 13:12:23 lack Exp $ |
27 | +# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.30 2008/10/31 13:02:31 lack Exp $ |
28 | |
29 | # ROX eclass Version 3 |
30 | |
31 | @@ -200,10 +200,11 @@ |
32 | local APPDIRICON=${APPNAME}/.DirIcon |
33 | local APPICON |
34 | case "$(file -b ${APPDIRICON})" in |
35 | - "PNG image data"*) |
36 | + "PNG image"*) |
37 | APPICON=${WRAPPERNAME}.png |
38 | ;; |
39 | - "XML 1.0 document text"*) |
40 | + "XML 1.0 document text"* | \ |
41 | + "SVG Scalable Vector Graphics image"*) |
42 | APPICON=${WRAPPERNAME}.svg |
43 | ;; |
44 | "X pixmap image text"*) |