Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/midori: ChangeLog midori-9999.ebuild midori-0.2.8.ebuild
Date: Wed, 29 Sep 2010 02:40:39
Message-Id: 20100929024030.06EB820054@flycatcher.gentoo.org
1 ssuominen 10/09/29 02:40:30
2
3 Modified: ChangeLog midori-9999.ebuild
4 Added: midori-0.2.8.ebuild
5 Log:
6 Version bump with missing dev-lang/vala depend wrt #336643 by Agostino Sarubbo and pax-mark -m for hardened wrt #338561 by René Neumann.
7
8 (Portage version: 2.2_rc87/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.37 www-client/midori/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?rev=1.37&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?rev=1.37&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/ChangeLog?r1=1.36&r2=1.37
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v
20 retrieving revision 1.36
21 retrieving revision 1.37
22 diff -u -r1.36 -r1.37
23 --- ChangeLog 6 Sep 2010 21:07:20 -0000 1.36
24 +++ ChangeLog 29 Sep 2010 02:40:29 -0000 1.37
25 @@ -1,6 +1,13 @@
26 # ChangeLog for www-client/midori
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.36 2010/09/06 21:07:20 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.37 2010/09/29 02:40:29 ssuominen Exp $
30 +
31 +*midori-0.2.8 (29 Sep 2010)
32 +
33 + 29 Sep 2010; Samuli Suominen <ssuominen@g.o> +midori-0.2.8.ebuild,
34 + midori-9999.ebuild:
35 + Version bump with missing dev-lang/vala depend wrt #336643 by Agostino
36 + Sarubbo and pax-mark -m for hardened wrt #338561 by René Neumann.
37
38 06 Sep 2010; Samuli Suominen <ssuominen@g.o> midori-0.2.7.ebuild,
39 midori-9999.ebuild:
40
41
42
43 1.19 www-client/midori/midori-9999.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-9999.ebuild?rev=1.19&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-9999.ebuild?rev=1.19&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-9999.ebuild?r1=1.18&r2=1.19
48
49 Index: midori-9999.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/www-client/midori/midori-9999.ebuild,v
52 retrieving revision 1.18
53 retrieving revision 1.19
54 diff -u -r1.18 -r1.19
55 --- midori-9999.ebuild 6 Sep 2010 21:07:20 -0000 1.18
56 +++ midori-9999.ebuild 29 Sep 2010 02:40:29 -0000 1.19
57 @@ -1,12 +1,12 @@
58 # Copyright 1999-2010 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/www-client/midori/midori-9999.ebuild,v 1.18 2010/09/06 21:07:20 ssuominen Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/www-client/midori/midori-9999.ebuild,v 1.19 2010/09/29 02:40:29 ssuominen Exp $
62
63 EAPI=2
64
65 PYTHON_DEPEND="2:2.6"
66
67 -inherit eutils multilib python xfconf git
68 +inherit pax-utils eutils multilib python xfconf git
69
70 DESCRIPTION="A lightweight web browser based on WebKitGTK+"
71 HOMEPAGE="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
72 @@ -27,7 +27,8 @@
73 >=x11-libs/gtk+-2.10:2
74 gnome? ( net-libs/libsoup[gnome] )
75 idn? ( net-dns/libidn )
76 - unique? ( dev-libs/libunique )"
77 + unique? ( dev-libs/libunique )
78 + vala? ( dev-lang/vala:0 )"
79 DEPEND="${RDEPEND}
80 dev-util/intltool
81 dev-util/pkgconfig
82 @@ -57,10 +58,10 @@
83 $(use_enable html userdocs) \
84 $(use_enable idn libidn) \
85 $(use_enable libnotify) \
86 - $(use_enable nls nls) \
87 + $(use_enable nls) \
88 $(use_enable unique) \
89 $(use_enable vala) \
90 - configure || die "configure failed"
91 + configure || die
92 }
93
94 src_compile() {
95 @@ -73,12 +74,14 @@
96 jobs="${j#-j}"; done; echo ${jobs} ) )
97 if [[ "${jobs}" != "" ]]; then NUMJOBS="-j"${jobs}; fi;
98
99 - ./waf build ${NUMJOBS} || die "build failed"
100 + ./waf build ${NUMJOBS} || die
101 }
102
103 src_install() {
104 - DESTDIR=${D} ./waf install || die "install failed"
105 - dodoc AUTHORS ChangeLog INSTALL TODO || die "dodoc failed"
106 + DESTDIR=${D} ./waf install || die
107 + dodoc AUTHORS ChangeLog INSTALL TODO || die
108 +
109 + pax-mark -m "${D}"/usr/bin/midori #338561
110 }
111
112 pkg_postinst() {
113
114
115
116 1.1 www-client/midori/midori-0.2.8.ebuild
117
118 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-0.2.8.ebuild?rev=1.1&view=markup
119 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/midori-0.2.8.ebuild?rev=1.1&content-type=text/plain
120
121 Index: midori-0.2.8.ebuild
122 ===================================================================
123 # Copyright 1999-2010 Gentoo Foundation
124 # Distributed under the terms of the GNU General Public License v2
125 # $Header: /var/cvsroot/gentoo-x86/www-client/midori/midori-0.2.8.ebuild,v 1.1 2010/09/29 02:40:29 ssuominen Exp $
126
127 EAPI=2
128
129 PYTHON_DEPEND="2:2.6"
130
131 inherit pax-utils eutils multilib python xfconf
132
133 DESCRIPTION="A lightweight web browser based on WebKitGTK+"
134 HOMEPAGE="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
135 SRC_URI="mirror://xfce/src/apps/${PN}/0.2/${P}.tar.bz2"
136
137 LICENSE="LGPL-2"
138 SLOT="0"
139 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
140 IUSE="doc gnome +html idn libnotify nls +unique vala"
141
142 RDEPEND="libnotify? ( x11-libs/libnotify )
143 >=net-libs/libsoup-2.25.2
144 >=net-libs/webkit-gtk-1.1.1
145 >=dev-db/sqlite-3.0
146 dev-libs/libxml2
147 >=x11-libs/gtk+-2.10:2
148 gnome? ( net-libs/libsoup[gnome] )
149 idn? ( net-dns/libidn )
150 unique? ( dev-libs/libunique )
151 vala? ( dev-lang/vala:0 )"
152 DEPEND="${RDEPEND}
153 dev-util/intltool
154 dev-util/pkgconfig
155 doc? ( dev-util/gtk-doc )
156 html? ( dev-python/docutils )
157 nls? ( sys-devel/gettext )"
158
159 pkg_setup() {
160 python_set_active_version 2
161 }
162
163 src_prepare() {
164 # moving docs to version-specific directory
165 sed -i -e "s:\${DOCDIR}/${PN}:\${DOCDIR}/${PF}/:g" wscript || die
166 sed -i -e "s:/${PN}/user/midori.html:/${PF}/user/midori.html:g" midori/midori-browser.c || die
167 }
168
169 src_configure() {
170 strip-linguas -i po
171
172 CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" ./waf \
173 --prefix="/usr/" \
174 --libdir="/usr/$(get_libdir)" \
175 --disable-docs \
176 --enable-addons \
177 $(use_enable doc apidocs) \
178 $(use_enable html userdocs) \
179 $(use_enable idn libidn) \
180 $(use_enable libnotify) \
181 $(use_enable nls) \
182 $(use_enable unique) \
183 $(use_enable vala) \
184 configure || die
185 }
186
187 src_compile() {
188 # This is from dev-libs/boost, keep it synced
189 jobs=$( echo " ${MAKEOPTS} " | \
190 sed -e 's/ --jobs[= ]/ -j /g' \
191 -e 's/ -j \([1-9][0-9]*\)/ -j\1/g' \
192 -e 's/ -j\>/ -j1/g' | \
193 ( while read -d ' ' j ; do if [[ "${j#-j}" = "$j" ]]; then continue; fi;
194 jobs="${j#-j}"; done; echo ${jobs} ) )
195 if [[ "${jobs}" != "" ]]; then NUMJOBS="-j"${jobs}; fi;
196
197 ./waf build ${NUMJOBS} || die
198 }
199
200 src_install() {
201 DESTDIR=${D} ./waf install || die
202 dodoc AUTHORS ChangeLog INSTALL TODO || die
203
204 pax-mark -m "${D}"/usr/bin/midori #338561
205 }
206
207 pkg_postinst() {
208 xfconf_pkg_postinst
209 ewarn "Midori tends to crash due to bugs in WebKit."
210 ewarn "Report bugs at http://www.twotoasts.de/bugs"
211 }