Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/uzbl: uzbl-2010.01.05.ebuild ChangeLog uzbl-2009.12.22.ebuild
Date: Tue, 05 Jan 2010 20:36:02
Message-Id: E1NSG8G-0005PU-3K@stork.gentoo.org
1 wired 10/01/05 20:36:00
2
3 Modified: ChangeLog
4 Added: uzbl-2010.01.05.ebuild
5 Removed: uzbl-2009.12.22.ebuild
6 Log:
7 version bump, fixes security issue with javascript. for more details read http://www.uzbl.org/news.php?id=22
8 (Portage version: 2.2_rc61/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.17 www-client/uzbl/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/uzbl/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 23 Dec 2009 10:45:26 -0000 1.16
24 +++ ChangeLog 5 Jan 2010 20:35:59 -0000 1.17
25 @@ -1,6 +1,13 @@
26 # ChangeLog for www-client/uzbl
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/ChangeLog,v 1.16 2009/12/23 10:45:26 wired Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/ChangeLog,v 1.17 2010/01/05 20:35:59 wired Exp $
31 +
32 +*uzbl-2010.01.05 (05 Jan 2010)
33 +
34 + 05 Jan 2010; Alex Alexander <wired@g.o> -uzbl-2009.12.22.ebuild,
35 + +uzbl-2010.01.05.ebuild:
36 + version bump, fixes security issue with javascript. for more details read
37 + http://www.uzbl.org/news.php?id=22
38
39 *uzbl-2009.12.22 (23 Dec 2009)
40
41
42
43
44 1.1 www-client/uzbl/uzbl-2010.01.05.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/uzbl-2010.01.05.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/uzbl/uzbl-2010.01.05.ebuild?rev=1.1&content-type=text/plain
48
49 Index: uzbl-2010.01.05.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/www-client/uzbl/uzbl-2010.01.05.ebuild,v 1.1 2010/01/05 20:35:59 wired Exp $
54
55 EAPI="2"
56
57 inherit base
58
59 DESCRIPTION="A keyboard controlled (modal vim-like bindings, or with modifierkeys) browser based on Webkit."
60 HOMEPAGE="http://www.uzbl.org"
61 SRC_URI="http://github.com/Dieterbe/${PN}/tarball/${PV} -> ${P}.tar.gz"
62
63 LICENSE="LGPL-2.1 MPL-1.1"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="+browser helpers +tabbed"
67
68 COMMON_DEPEND="
69 >=dev-libs/icu-4.0.1
70 >=net-libs/libsoup-2.24
71 >=net-libs/webkit-gtk-1.1.15
72 >=x11-libs/gtk+-2.14
73 "
74
75 DEPEND="
76 >=dev-util/pkgconfig-0.19
77 ${COMMON_DEPEND}
78 "
79
80 RDEPEND="
81 ${COMMON_DEPEND}
82 x11-misc/xdg-utils
83 browser? (
84 x11-misc/xclip
85 )
86 helpers? (
87 dev-lang/perl
88 dev-perl/gtk2-perl
89 dev-python/pygtk
90 dev-python/pygobject
91 gnome-extra/zenity
92 net-misc/socat
93 x11-libs/pango
94 x11-misc/dmenu
95 x11-misc/xclip
96 )
97 "
98
99 pkg_setup() {
100 if ! use helpers; then
101 elog "uzbl's extra scripts use various optional applications:"
102 elog
103 elog " dev-lang/perl"
104 elog " dev-perl/gtk2-perl"
105 elog " dev-python/pygtk"
106 elog " dev-python/pygobject"
107 elog " gnome-extra/zenity"
108 elog " net-misc/socat"
109 elog " x11-libs/pango"
110 elog " x11-misc/dmenu"
111 elog " x11-misc/xclip"
112 elog
113 elog "Make sure you emerge the ones you need manually."
114 elog "You may also activate the *helpers* USE flag to"
115 elog "install all of them automatically."
116 else
117 einfo "You have enabled the *helpers* USE flag that installs"
118 einfo "various optional applications used by uzbl's extra scripts."
119 fi
120
121 if use tabbed && ! use browser; then
122 ewarn
123 ewarn "You enabled the *tabbed* USE flag but not *browser*."
124 ewarn "*tabbed* depends on *browser*, so it will be disabled."
125 ewarn
126 ebeep 3
127 fi
128 }
129
130 src_prepare() {
131 cd "${WORKDIR}"/Dieterbe-uzbl-*
132 S=$(pwd)
133
134 # patch Makefile to make it more sane
135 epatch "${FILESDIR}"/"${PN}"-makefile-cleanup.patch
136
137 # adjust path in default config file to /usr/share
138 sed -i "s:/usr/local/share/uzbl:/usr/share/uzbl:g" \
139 examples/config/uzbl/config ||
140 die "config path sed failed"
141 }
142
143 src_compile() {
144 emake || die "compile failed"
145 }
146
147 src_install() {
148 local targets="install-uzbl-core"
149 use browser && targets="${targets} install-uzbl-browser"
150 use browser && use tabbed && targets="${targets} install-uzbl-tabbed"
151
152 emake DESTDIR="${D}" PREFIX="/usr" ${targets} || die "Installation failed"
153
154 # Install the docs in /usr/share/doc.
155 dodoc AUTHORS README docs/* || die "docs install failed"
156 }