1 |
pacho 12/02/25 12:31:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pavuk-0.9.36_pre20120215-r1.ebuild |
5 |
Log: |
6 |
Fixes underlinking, bug #405337 by Attila Tóth; fixes a segfault in the GTK+2 interface on amd64, bug #262504#c40. Thanks to Richard Grenville for the fixes. |
7 |
|
8 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.38 net-misc/pavuk/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/pavuk/ChangeLog?rev=1.38&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/pavuk/ChangeLog?rev=1.38&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/pavuk/ChangeLog?r1=1.37&r2=1.38 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/pavuk/ChangeLog,v |
20 |
retrieving revision 1.37 |
21 |
retrieving revision 1.38 |
22 |
diff -u -r1.37 -r1.38 |
23 |
--- ChangeLog 19 Feb 2012 13:20:37 -0000 1.37 |
24 |
+++ ChangeLog 25 Feb 2012 12:31:13 -0000 1.38 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for net-misc/pavuk |
27 |
# Copyright 2002-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/pavuk/ChangeLog,v 1.37 2012/02/19 13:20:37 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pavuk/ChangeLog,v 1.38 2012/02/25 12:31:13 pacho Exp $ |
30 |
+ |
31 |
+*pavuk-0.9.36_pre20120215-r1 (25 Feb 2012) |
32 |
+ |
33 |
+ 25 Feb 2012; Pacho Ramos <pacho@g.o> |
34 |
+ +files/pavuk-0.9.36_pre20120215-fix-gtkmulticol-segfault.patch, |
35 |
+ +files/pavuk-0.9.36_pre20120215-fix-underlinking.patch, |
36 |
+ +pavuk-0.9.36_pre20120215-r1.ebuild: |
37 |
+ Fixes underlinking, bug #405337 by Attila Tóth; fixes a segfault in the GTK+2 |
38 |
+ interface on amd64, bug #262504#c40. Thanks to Richard Grenville for the |
39 |
+ fixes. |
40 |
|
41 |
19 Feb 2012; Pacho Ramos <pacho@g.o> |
42 |
+files/pavuk-0.9.36_pre20120215-pcre-fix.patch, |
43 |
|
44 |
|
45 |
|
46 |
1.1 net-misc/pavuk/pavuk-0.9.36_pre20120215-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/pavuk/pavuk-0.9.36_pre20120215-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/pavuk/pavuk-0.9.36_pre20120215-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: pavuk-0.9.36_pre20120215-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/pavuk/pavuk-0.9.36_pre20120215-r1.ebuild,v 1.1 2012/02/25 12:31:13 pacho Exp $ |
56 |
|
57 |
EAPI=4 |
58 |
|
59 |
S="${WORKDIR}/${PN}" |
60 |
|
61 |
inherit eutils autotools-utils |
62 |
|
63 |
DESCRIPTION="Web spider and website mirroring tool" |
64 |
HOMEPAGE="http://www.pavuk.org/" |
65 |
SRC_URI="http://dev.gentoo.org/~pacho/maintainer-needed/${P}.tar.xz" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
70 |
IUSE="debug gtk hammer ipv6 nls pcre profile ssl" |
71 |
|
72 |
RDEPEND="virtual/libintl |
73 |
gtk? ( x11-libs/gtk+:2 ) |
74 |
pcre? ( dev-libs/libpcre ) |
75 |
ssl? ( dev-libs/openssl )" |
76 |
|
77 |
DEPEND="${RDEPEND} |
78 |
>=sys-apps/sed-4 |
79 |
sys-devel/gettext" |
80 |
|
81 |
AUTOTOOLS_AUTORECONF=1 |
82 |
AUTOTOOLS_IN_SOURCE_BUILD=1 |
83 |
|
84 |
PATCHES=( |
85 |
# Fixes a bug in re.c for PCRE support |
86 |
"${FILESDIR}/${P}-pcre-fix.patch" |
87 |
|
88 |
# Fixes underlinking, bug #405337 |
89 |
"${FILESDIR}/${P}-fix-underlinking.patch" |
90 |
|
91 |
# Fixes a segfault in the GTK+2 interface on amd64, bug #262504#c40 |
92 |
"${FILESDIR}/${P}-fix-gtkmulticol-segfault.patch" |
93 |
) |
94 |
|
95 |
DOCS=( README CREDITS NEWS AUTHORS BUGS TODO MAILINGLIST wget-pavuk.HOWTO |
96 |
ChangeLog wget-pavuk.HOWTO pavuk_authinfo.sample pavukrc.sample |
97 |
) |
98 |
|
99 |
src_prepare() { |
100 |
# Fixes a bug in Makefile.am that causes aclocal to fail |
101 |
sed -i 's/^\(ACLOCAL_AMFLAGS[[:space:]]*=[[:space:]]*-I[[:space:]]*\)\$(top_srcdir)\//\1/' "${S}/Makefile.am" || die |
102 |
|
103 |
# Fixes a bug in configure.in that breaks non-debug builds |
104 |
sed -i 's/\([[:space:]]C\(PP\)*FLAGS=`\)/true; # \1/' "${S}/configure.in" || die |
105 |
|
106 |
# Fix for building with ~dev-lang/spidermonkey-1.8.5 |
107 |
# sed -i 's/mozjs/mozjs185/g' "${S}/configure.in" || die |
108 |
|
109 |
autotools-utils_src_prepare |
110 |
} |
111 |
|
112 |
src_configure() { |
113 |
local regex="auto" |
114 |
use pcre && regex="pcre" |
115 |
|
116 |
local myeconfargs=( |
117 |
--enable-threads |
118 |
--enable-socks |
119 |
--enable-utf-8 |
120 |
--disable-js |
121 |
"--with-regex=${regex}" |
122 |
$(use_enable gtk) |
123 |
$(use_enable gtk gtk2) |
124 |
$(use_enable gtk gnome) |
125 |
$(use_with gtk x) |
126 |
$(use_enable debug debugging) |
127 |
$(use_enable debug debug-build) |
128 |
# $(use_enable debug debug-features) |
129 |
$(use_enable ssl) |
130 |
$(use_enable nls) |
131 |
$(use_enable ipv6) |
132 |
# $(use_enable javascript js) |
133 |
$(use_enable profile profiling) |
134 |
) |
135 |
|
136 |
# JavaScript bindings: Broken! |
137 |
# ============================ |
138 |
# Currently could pass configure phase with ~dev-lang/spidermonkey-1.8.5 |
139 |
# yet apparently incompatible with recent versions of spidermonkey |
140 |
|
141 |
# if use javascript; then |
142 |
# local jspkg='mozjs185' |
143 |
# local jsinclude=$(pkg-config --cflags "$jspkg") |
144 |
# local jslibs='/dev/null '$(pkg-config --libs-only-l "$jspkg") |
145 |
# myeconfargs+=( |
146 |
# "--with-js-include=${jsinclude}" |
147 |
# "--with-js-libraries=${jslibs}" |
148 |
# ) |
149 |
# fi |
150 |
|
151 |
autotools-utils_src_configure |
152 |
} |
153 |
|
154 |
src_install() { |
155 |
if use gtk; then |
156 |
newicon src/pavuk_logo.xpm pavuk.xpm |
157 |
domenu pavuk.desktop |
158 |
fi |
159 |
|
160 |
doman "${S}/doc/pavuk.1" |
161 |
|
162 |
autotools-utils_src_install |
163 |
} |