Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, lack@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in rox-base/rox: ChangeLog rox-2.7-r2.ebuild
Date: Thu, 20 Dec 2007 06:10:23
Message-Id: 20071220060721.GP24034@supernova
1 On 15:05 Mon 17 Dec , Jim Ramsay (lack) wrote:
2 > lack 07/12/17 15:05:57
3 >
4 > Modified: ChangeLog
5 > Added: rox-2.7-r2.ebuild
6 > Log:
7 > Started using EAPI=1 and IUSE defaults. Also added new 'video' flag to IUSE (bug 202333)
8 > (Portage version: 2.1.3.19)
9
10 > 1.1 rox-base/rox/rox-2.7-r2.ebuild
11 >
12 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild?rev=1.1&view=markup
13 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild?rev=1.1&content-type=text/plain
14
15 > IUSE="+svg +video"
16
17 svg already defaults on for all the desktop profiles, so I'm not really
18 sure what that's gaining you.
19
20 > RDEPEND=">=x11-libs/gtk+-2.4
21 > >=dev-libs/glib-2.2
22 > >=dev-libs/libxml2-2.4.23
23 > >=x11-misc/shared-mime-info-0.14
24 > svg? ( gnome-base/librsvg )
25 > !ppc? ( rox-base/mime-editor
26 > rox-base/thumbs
27 > video? ( rox-extra/videothumbnail ) )"
28
29 PPC users aren't supposed to get this stuff? If not, is it even a real
30 dependency?
31
32 > src_compile() {
33 >
34 > cd ${APPNAME}
35 >
36 > # Most rox self-compiles have a 'read' call to wait for the user to
37 > # press return if the compile fails.
38 > # Find and remove this:
39 > sed -i.bak -e 's/\<read WAIT\>/#read/' AppRun
40 >
41 > ./AppRun --compile || die "make failed"
42 > (cd src; make clean) > /dev/null
43 > # don't need these directories anymore
44 > if [ -n "${KEEP_SRC}" ]; then
45 > (cd src; make clean) > /dev/null
46
47 Subshells are icky.
48
49 > else
50 > rm -rf src
51 > fi
52 > rm -fr build
53 >
54 > # Restore the original AppRun
55 > mv AppRun.bak AppRun
56 > }
57 >
58 > # new streamlined install
59 >
60 > src_install() {
61 > doman rox.1
62 >
63 > dodir ${APPDIR}
64 > cp -r ${APPNAME}/ "${D}/${APPDIR}"
65 >
66 > # add documentation to be proper
67 > ( cd ${APPNAME}/Help
68 > dodoc Changes README README-es TODO
69 > )
70
71 Icky.
72
73 > chmod 0755 "${D}/usr/bin/${WRAPPERNAME}"
74 > chmod 0755 "${D}/usr/bin/${WRAPPERNAME}uri"
75
76 fperms?
77
78 > make_desktop_entry ${WRAPPERNAME} ${APPNAME} ${APPNAME}.png "System;Utility;Core;ROX"
79
80 Thought I saw something about desktop entries dropping the suffix for
81 the icon, but I don't recall the details.
82
83 Thanks,
84 Donnie
85 --
86 gentoo-dev@g.o mailing list

Replies