1 |
ssuominen 11/11/26 18:10:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libindicate-0.6.1-r300.ebuild |
5 |
libindicate-0.6.1-r201.ebuild |
6 |
Log: |
7 |
Provide GTK+-3.0 version in SLOT="3" |
8 |
|
9 |
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.25 dev-libs/libindicate/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/ChangeLog?rev=1.25&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/ChangeLog?rev=1.25&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/ChangeLog?r1=1.24&r2=1.25 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v |
21 |
retrieving revision 1.24 |
22 |
retrieving revision 1.25 |
23 |
diff -u -r1.24 -r1.25 |
24 |
--- ChangeLog 20 Nov 2011 12:19:28 -0000 1.24 |
25 |
+++ ChangeLog 26 Nov 2011 18:10:45 -0000 1.25 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for dev-libs/libindicate |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.24 2011/11/20 12:19:28 ssuominen Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.25 2011/11/26 18:10:45 ssuominen Exp $ |
31 |
+ |
32 |
+*libindicate-0.6.1-r300 (26 Nov 2011) |
33 |
+*libindicate-0.6.1-r201 (26 Nov 2011) |
34 |
+ |
35 |
+ 26 Nov 2011; Samuli Suominen <ssuominen@g.o> |
36 |
+ +libindicate-0.6.1-r201.ebuild, +libindicate-0.6.1-r300.ebuild: |
37 |
+ Provide GTK+-3.0 version in SLOT="3" |
38 |
|
39 |
20 Nov 2011; Samuli Suominen <ssuominen@g.o> metadata.xml: |
40 |
Maintained by both ayatana and kde. |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-libs/libindicate/libindicate-0.6.1-r300.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r300.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r300.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: libindicate-0.6.1-r300.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r300.ebuild,v 1.1 2011/11/26 18:10:45 ssuominen Exp $ |
54 |
|
55 |
EAPI=4 |
56 |
inherit autotools eutils |
57 |
|
58 |
PV_vala_version=0.14 |
59 |
|
60 |
DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize" |
61 |
HOMEPAGE="http://launchpad.net/libindicate" |
62 |
SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" |
63 |
|
64 |
LICENSE="LGPL-2.1 LGPL-3" |
65 |
SLOT="3" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="+introspection" |
68 |
|
69 |
RDEPEND=">=dev-libs/dbus-glib-0.76 |
70 |
>=dev-libs/glib-2.18:2 |
71 |
>=dev-libs/libdbusmenu-0.3.97[introspection?] |
72 |
dev-libs/libxml2:2 |
73 |
x11-libs/gtk+:3 |
74 |
introspection? ( dev-libs/gobject-introspection )" |
75 |
DEPEND="${RDEPEND} |
76 |
gnome-base/gnome-common |
77 |
app-text/gnome-doc-utils |
78 |
dev-util/gtk-doc-am |
79 |
dev-util/pkgconfig |
80 |
dev-lang/vala:${PV_vala_version}[vapigen] |
81 |
!<${CATEGORY}/${PN}-0.6.1-r201" |
82 |
|
83 |
RESTRICT="test" # for -no-mono.patch |
84 |
|
85 |
DOCS=( AUTHORS ChangeLog ) |
86 |
|
87 |
src_prepare() { |
88 |
epatch "${FILESDIR}"/${P}-no-mono.patch |
89 |
|
90 |
sed -i -e 's:-Werror::' {examples,libindicate,libindicate-gtk}/Makefile.{am,in} || die |
91 |
|
92 |
# for slotted dev-lang/vala |
93 |
sed -i -e "s:vapigen:vapigen-${PV_vala_version}:" configure.ac || die |
94 |
|
95 |
eautoreconf |
96 |
} |
97 |
|
98 |
src_configure() { |
99 |
# note: --disable-python to avoid automagic gtk+-2.0 usage |
100 |
econf \ |
101 |
--docdir=/usr/share/doc/${PF} \ |
102 |
--disable-static \ |
103 |
$(use_enable introspection) \ |
104 |
--disable-python \ |
105 |
--with-gtk=3 \ |
106 |
--with-html-dir=/usr/share/doc/${PF} |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
default |
111 |
find "${ED}"usr -name '*.la' -exec rm -f {} + |
112 |
} |
113 |
|
114 |
|
115 |
|
116 |
1.1 dev-libs/libindicate/libindicate-0.6.1-r201.ebuild |
117 |
|
118 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r201.ebuild?rev=1.1&view=markup |
119 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r201.ebuild?rev=1.1&content-type=text/plain |
120 |
|
121 |
Index: libindicate-0.6.1-r201.ebuild |
122 |
=================================================================== |
123 |
# Copyright 1999-2011 Gentoo Foundation |
124 |
# Distributed under the terms of the GNU General Public License v2 |
125 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-0.6.1-r201.ebuild,v 1.1 2011/11/26 18:10:45 ssuominen Exp $ |
126 |
|
127 |
EAPI=4 |
128 |
|
129 |
PYTHON_DEPEND="2:2.7" |
130 |
|
131 |
inherit autotools eutils python |
132 |
|
133 |
PV_vala_version=0.14 |
134 |
|
135 |
DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize" |
136 |
HOMEPAGE="http://launchpad.net/libindicate" |
137 |
SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" |
138 |
|
139 |
LICENSE="LGPL-2.1 LGPL-3" |
140 |
SLOT="0" |
141 |
KEYWORDS="~amd64 ~x86" |
142 |
IUSE="+introspection" |
143 |
|
144 |
# note: pull in SLOT="3" to install headers and libs (see rm -rf in src_install) |
145 |
RDEPEND=">=dev-libs/dbus-glib-0.76 |
146 |
>=dev-libs/glib-2.18:2 |
147 |
>=dev-libs/libdbusmenu-0.3.97[introspection?] |
148 |
dev-libs/libxml2:2 |
149 |
dev-python/pygtk:2 |
150 |
>=x11-libs/gtk+-2.12:2 |
151 |
${CATEGORY}/${PN}:3 |
152 |
introspection? ( dev-libs/gobject-introspection )" |
153 |
DEPEND="${RDEPEND} |
154 |
gnome-base/gnome-common |
155 |
app-text/gnome-doc-utils |
156 |
dev-util/gtk-doc-am |
157 |
dev-util/pkgconfig |
158 |
dev-lang/vala:${PV_vala_version}[vapigen] |
159 |
!<${CATEGORY}/${PN}-0.6.1-r201" |
160 |
|
161 |
RESTRICT="test" # for -no-mono.patch |
162 |
|
163 |
pkg_setup() { |
164 |
python_set_active_version 2 |
165 |
python_pkg_setup |
166 |
} |
167 |
|
168 |
src_prepare() { |
169 |
epatch "${FILESDIR}"/${P}-no-mono.patch |
170 |
|
171 |
sed -i -e 's:-Werror::' {examples,libindicate,libindicate-gtk}/Makefile.{am,in} || die |
172 |
|
173 |
# for slotted dev-lang/vala |
174 |
sed -i -e "s:vapigen:vapigen-${PV_vala_version}:" configure.ac || die |
175 |
|
176 |
eautoreconf |
177 |
|
178 |
rm -f py-compile |
179 |
ln -s $(type -P true) py-compile |
180 |
} |
181 |
|
182 |
src_configure() { |
183 |
econf \ |
184 |
--disable-static \ |
185 |
$(use_enable introspection) \ |
186 |
--with-gtk=2 |
187 |
} |
188 |
|
189 |
src_install() { |
190 |
emake DESTDIR="${D}" install |
191 |
find "${ED}"usr -name '*.la' -exec rm -f {} + |
192 |
|
193 |
# note: purposely not installing documentation and colliding files to |
194 |
# support SLOT="3" |
195 |
rm -rf \ |
196 |
"${ED}"usr/include/${PN}-0.6/${PN}* \ |
197 |
"${ED}"usr/share/doc \ |
198 |
"${ED}"usr/share/gir-1.0/Indicate-0.6.gir \ |
199 |
"${ED}"usr/share/gtk-doc \ |
200 |
"${ED}"usr/share/vala/vapi/Indicate-0.6.vapi \ |
201 |
"${ED}"usr/lib*/girepository-1.0/Indicate-0.6.typelib \ |
202 |
"${ED}"usr/lib*/${PN}.so* \ |
203 |
"${ED}"usr/lib*/pkgconfig/indicate-0.6.pc |
204 |
} |
205 |
|
206 |
pkg_postinst() { |
207 |
python_mod_optimize indicate |
208 |
} |
209 |
|
210 |
pkg_postrm() { |
211 |
python_mod_cleanup indicate |
212 |
} |