Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/spice: ChangeLog spice-0.7.1.ebuild
Date: Wed, 05 Jan 2011 15:03:49
Message-Id: 20110105150340.2851520051@flycatcher.gentoo.org
1 dev-zero 11/01/05 15:03:40
2
3 Modified: ChangeLog spice-0.7.1.ebuild
4 Log:
5 Added files for schema/protocol instead of cat'ting them in the ebuild.
6
7 (Portage version: 2.1.9.26/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 app-emulation/spice/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 29 Dec 2010 09:30:52 -0000 1.5
23 +++ ChangeLog 5 Jan 2011 15:03:39 -0000 1.6
24 @@ -1,6 +1,10 @@
25 # ChangeLog for app-emulation/spice
26 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v 1.5 2010/12/29 09:30:52 dev-zero Exp $
28 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v 1.6 2011/01/05 15:03:39 dev-zero Exp $
30 +
31 + 05 Jan 2011; Tiziano Müller <dev-zero@g.o> spice-0.7.1.ebuild,
32 + +files/spice.protocol, +files/spice.schemas:
33 + Added files for schema/protocol instead of cat'ting them in the ebuild.
34
35 *spice-0.7.1 (29 Dec 2010)
36
37
38
39
40 1.3 app-emulation/spice/spice-0.7.1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/spice-0.7.1.ebuild?rev=1.3&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/spice-0.7.1.ebuild?rev=1.3&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/spice-0.7.1.ebuild?r1=1.2&r2=1.3
45
46 Index: spice-0.7.1.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.7.1.ebuild,v
49 retrieving revision 1.2
50 retrieving revision 1.3
51 diff -u -r1.2 -r1.3
52 --- spice-0.7.1.ebuild 5 Jan 2011 13:14:18 -0000 1.2
53 +++ spice-0.7.1.ebuild 5 Jan 2011 15:03:39 -0000 1.3
54 @@ -1,10 +1,10 @@
55 # Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.7.1.ebuild,v 1.2 2011/01/05 13:14:18 dev-zero Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.7.1.ebuild,v 1.3 2011/01/05 15:03:39 dev-zero Exp $
59
60 EAPI=3
61
62 -inherit autotools eutils
63 +inherit autotools eutils gnome2-utils
64
65 DESCRIPTION="SPICE server and client."
66 HOMEPAGE="http://spice-space.org/"
67 @@ -13,7 +13,7 @@
68 LICENSE="LGPL-2.1"
69 SLOT="0"
70 KEYWORDS="~amd64"
71 -IUSE="+gui kde static-libs uri"
72 +IUSE="gnome +gui kde static-libs uri"
73
74 RDEPEND=">=app-emulation/spice-protocol-0.7.0
75 >=x11-libs/pixman-0.17.7
76 @@ -28,7 +28,8 @@
77 virtual/jpeg
78 sys-libs/zlib
79 gui? ( =dev-games/cegui-0.6* )
80 - uri? ( dev-libs/uriparser )"
81 + uri? ( dev-libs/uriparser
82 + gnome? ( gnome-base/gconf ) )"
83 DEPEND="dev-util/pkgconfig
84 ${RDEPEND}"
85
86 @@ -54,33 +55,25 @@
87 dodoc NEWS TODO
88 use static-libs || rm "${D}"/usr/lib*/*.la
89
90 - if use uri && use kde ; then
91 - dodir /usr/share/kde4/services
92 - cat > "${D}/usr/share/kde4/services/spice.protocol" << EOF
93 -[Protocol]
94 -exec=/usr/bin/spicec --uri "%u"
95 -protocol=spice
96 -input=none
97 -output=none
98 -helper=true
99 -listing=
100 -reading=false
101 -writing=false
102 -makedir=false
103 -deleting=false
104 -EOF
105 - fi
106 -}
107 -
108 -pkg_postinst() {
109 if use uri ; then
110 - elog "You enabled uri-handler support in spice. Therefore you"
111 - elog "might want your browser / deskop environment to handle"
112 - elog "spice uri's using spicec. To enable this, run:"
113 - elog " gconftool-2 -s /desktop/gnome/url-handlers/spice/command '/usr/bin/spicec --uri "%s"' --type String"
114 - elog " gconftool-2 -s /desktop/gnome/url-handlers/spice/enabled --type Boolean true"
115 + if use gnome ; then
116 + insinto /etc/gconf/schemas
117 + doins ${FILESDIR}/spice.schemas
118 + fi
119 if use kde ; then
120 - elog "For KDE the protocol could be registered automatically."
121 + insinto /usr/share/kde4/services
122 + doins "${FILESDIR}/spice.protocol"
123 fi
124 fi
125 }
126 +
127 +pkg_preinst() {
128 + use uri && use gnome && gnome2_gconf_savelist
129 +}
130 +pkg_postinst() {
131 + use uri && use gnome && gnome2_gconf_install
132 +}
133 +
134 +pkg_prerm() {
135 + use uri && use gnome && gnome2_gconf_uninstall
136 +}