Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/swish-e: metadata.xml ChangeLog swish-e-2.4.7.ebuild
Date: Wed, 03 Jun 2009 08:32:42
Message-Id: E1MBlto-0003RV-E8@stork.gentoo.org
1 tove 09/06/03 08:32:40
2
3 Modified: metadata.xml ChangeLog
4 Added: swish-e-2.4.7.ebuild
5 Log:
6 Fixes bugs 261853 and bug 248477
7 (Portage version: 2.2_rc33/cvs/Linux i686)
8
9 Revision Changes Path
10 1.2 www-apps/swish-e/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/swish-e/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/swish-e/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/swish-e/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/swish-e/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 1 May 2005 15:33:20 -0000 1.1
23 +++ metadata.xml 3 Jun 2009 08:32:40 -0000 1.2
24 @@ -3,8 +3,6 @@
25 <pkgmetadata>
26 <herd>perl</herd>
27 <maintainer>
28 - <email>perl@g.o</email>
29 - <description>Primary Maintainer</description>
30 + <email>maintainer-needed@g.o</email>
31 </maintainer>
32 - <longdescription></longdescription>
33 </pkgmetadata>
34
35
36
37 1.15 www-apps/swish-e/ChangeLog
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/swish-e/ChangeLog?rev=1.15&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/swish-e/ChangeLog?rev=1.15&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/swish-e/ChangeLog?r1=1.14&r2=1.15
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/www-apps/swish-e/ChangeLog,v
46 retrieving revision 1.14
47 retrieving revision 1.15
48 diff -u -r1.14 -r1.15
49 --- ChangeLog 30 Mar 2009 16:21:43 -0000 1.14
50 +++ ChangeLog 3 Jun 2009 08:32:40 -0000 1.15
51 @@ -1,6 +1,13 @@
52 # ChangeLog for www-apps/swish-e
53 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/www-apps/swish-e/ChangeLog,v 1.14 2009/03/30 16:21:43 loki_val Exp $
55 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
56 +# $Header: /var/cvsroot/gentoo-x86/www-apps/swish-e/ChangeLog,v 1.15 2009/06/03 08:32:40 tove Exp $
57 +
58 +*swish-e-2.4.7 (03 Jun 2009)
59 +
60 + 03 Jun 2009; Torsten Veller <tove@g.o> +swish-e-2.4.7.ebuild,
61 + +files/perl-makefile-2.patch, metadata.xml:
62 + Version bump (#261853).
63 + Fixes #248477. Thanks to Kent Fredric.
64
65 30 Mar 2009; Peter Alfredsen <loki_val@g.o> swish-e-2.4.3.ebuild,
66 swish-e-2.4.3-r1.ebuild, swish-e-2.4.3-r2.ebuild, swish-e-2.4.4.ebuild,
67
68
69
70 1.1 www-apps/swish-e/swish-e-2.4.7.ebuild
71
72 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/swish-e/swish-e-2.4.7.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/swish-e/swish-e-2.4.7.ebuild?rev=1.1&content-type=text/plain
74
75 Index: swish-e-2.4.7.ebuild
76 ===================================================================
77 # Copyright 1999-2009 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/www-apps/swish-e/swish-e-2.4.7.ebuild,v 1.1 2009/06/03 08:32:40 tove Exp $
80
81 EAPI=2
82
83 inherit perl-module eutils
84
85 DESCRIPTION="Simple Web Indexing System for Humans - Enhanced"
86 HOMEPAGE="http://www.swish-e.org/"
87 SRC_URI="http://www.swish-e.org/distribution/${P}.tar.gz"
88
89 LICENSE="GPL-2"
90 SLOT="0"
91 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
92 IUSE="doc perl pdf mp3"
93
94 DEPEND=">=sys-libs/zlib-1.1.3
95 dev-libs/libxml2
96 pdf? ( virtual/poppler-utils )
97 perl? ( dev-perl/libwww-perl
98 dev-perl/HTML-Parser
99 dev-perl/HTML-Tagset
100 dev-perl/MIME-Types
101 dev-perl/HTML-Template
102 dev-perl/HTML-FillInForm
103 dev-perl/Template-Toolkit
104 mp3? ( dev-perl/MP3-Tag )
105 )"
106
107 PATCHES=( "${FILESDIR}/perl-makefile-2.patch" )
108
109 pkg_setup() {
110 if has_version 'www-apps/swish-e'; then
111 ewarn "Your old swish-e indexes may not be compatible with this version."
112 fi
113 }
114
115 src_configure() {
116 default
117 if use perl; then
118 cd "${S}/perl"
119 chmod u+x "${S}/swish-config"
120 myconf="SWISHBINDIR=${S} SWISHIGNOREVER SWISHSKIPTEST"
121 perl-module_src_configure
122 fi
123 }
124
125 src_compile() {
126 #emake -j1 || die "emake failed"
127 default
128 if use perl ; then
129 cd "${S}"/perl
130 perl-module_src_compile
131 fi
132 }
133
134 src_install() {
135 # dobin src/swish-e || die "dobin failed"
136 make DESTDIR="${D}" install || die
137 dodoc INSTALL README || die
138
139 if use doc; then
140 dodir /usr/share/doc/${PF}
141 cp -r html conf "${D}"/usr/share/doc/${PF} || die "cp failed"
142 fi
143
144 if use perl ; then
145 cd "${S}"/perl
146 perl-module_src_install
147 fi
148 }
149
150 pkg_postinst() {
151 einfo "If you wish to be able to index MS Word documents, "
152 einfo "emerge app-text/catdoc"
153 einfo
154 einfo "If you wish to be able to index MS Excel Spreadsheets,"
155 einfo "emerge dev-perl/SpreadSheet-ParseExcel and"
156 einfo "dev-perl/HTML-Parser"
157 }