Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/source-highlight: ChangeLog source-highlight-3.1.6.ebuild
Date: Sat, 26 May 2012 07:55:01
Message-Id: 20120526075445.193CC2004B@flycatcher.gentoo.org
1 dev-zero 12/05/26 07:54:45
2
3 Modified: ChangeLog
4 Added: source-highlight-3.1.6.ebuild
5 Log:
6 Version bump (bug #300540), solves bug #316083 (failing tests) and bug #352005 (broken test with boost-1.45) as well.
7
8 (Portage version: 2.1.10.56/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.45 dev-util/source-highlight/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/ChangeLog?rev=1.45&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/ChangeLog?rev=1.45&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/ChangeLog?r1=1.44&r2=1.45
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/source-highlight/ChangeLog,v
20 retrieving revision 1.44
21 retrieving revision 1.45
22 diff -u -r1.44 -r1.45
23 --- ChangeLog 10 Apr 2011 03:07:43 -0000 1.44
24 +++ ChangeLog 26 May 2012 07:54:45 -0000 1.45
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-util/source-highlight
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/ChangeLog,v 1.44 2011/04/10 03:07:43 abcd Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/ChangeLog,v 1.45 2012/05/26 07:54:45 dev-zero Exp $
31 +
32 +*source-highlight-3.1.6 (25 May 2012)
33 +
34 + 25 May 2012; Tiziano Müller <dev-zero@g.o>
35 + +source-highlight-3.1.6.ebuild:
36 + Version bump (bug #300540), solves bug #316083 (failing tests) and bug
37 + #352005 (broken test with boost-1.45) as well.
38
39 10 Apr 2011; Jonathan Callen <abcd@g.o> source-highlight-3.1.ebuild:
40 Add prefix support, bump EAPI to 3, add prefix keywords
41
42
43
44 1.1 dev-util/source-highlight/source-highlight-3.1.6.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/source-highlight-3.1.6.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/source-highlight-3.1.6.ebuild?rev=1.1&content-type=text/plain
48
49 Index: source-highlight-3.1.6.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/source-highlight-3.1.6.ebuild,v 1.1 2012/05/26 07:54:45 dev-zero Exp $
54
55 EAPI="4"
56
57 inherit bash-completion-r1 versionator
58
59 DESCRIPTION="Generate highlighted source code as an (x)html document"
60 HOMEPAGE="http://www.gnu.org/software/src-highlite/source-highlight.html"
61 SRC_URI="mirror://gnu/src-highlite/${P}.tar.gz"
62 LICENSE="GPL-3"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
64 SLOT="0"
65 IUSE="bash-completion doc static-libs"
66
67 DEPEND=">=dev-libs/boost-1.49.0
68 dev-util/ctags"
69 RDEPEND="${DEPEND}"
70
71 src_configure() {
72 BOOST_PKG="$(best_version ">=dev-libs/boost-1.35.0-r5")"
73 BOOST_VER="$(replace_all_version_separators _ $(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}"))"
74
75 sed -i \
76 -e "s|ac_boost_path_tmp/include|ac_boost_path_tmp/include/boost-${BOOST_VER}|" \
77 configure || die "sed failed"
78
79 econf \
80 --with-boost-regex="boost_regex-mt-${BOOST_VER}" \
81 --without-bash-completion \
82 $(use_enable static-libs static)
83 }
84
85 src_install () {
86 DOCS="AUTHORS ChangeLog CREDITS NEWS README THANKS TODO.txt"
87 default
88
89 use static-libs || rm -rf "${D}"/usr/lib*/*.la
90
91 use bash-completion && dobashcompletion completion/source-highlight
92
93 # That's not how we want it
94 rm -fr "${ED}/usr/share"/{aclocal,doc}
95 use doc && dohtml -A java doc/*.{html,css,java}
96 }
97
98 src_test() {
99 export LD_LIBRARY_PATH="${S}/lib/srchilite/.libs/"
100 default
101 }