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: source-highlight-3.1.7-r1.ebuild ChangeLog source-highlight-3.1.7.ebuild
Date: Wed, 04 Jul 2012 12:39:36
Message-Id: 20120704123920.DE4592004B@flycatcher.gentoo.org
1 dev-zero 12/07/04 12:39:20
2
3 Modified: ChangeLog
4 Added: source-highlight-3.1.7-r1.ebuild
5 Removed: source-highlight-3.1.7.ebuild
6 Log:
7 Fix bash-completion installation (bug #424753) and cleanup old bash-completion files.
8
9 (Portage version: 2.1.11/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.47 dev-util/source-highlight/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/ChangeLog?rev=1.47&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/ChangeLog?rev=1.47&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/ChangeLog?r1=1.46&r2=1.47
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/source-highlight/ChangeLog,v
21 retrieving revision 1.46
22 retrieving revision 1.47
23 diff -u -r1.46 -r1.47
24 --- ChangeLog 4 Jul 2012 09:46:37 -0000 1.46
25 +++ ChangeLog 4 Jul 2012 12:39:20 -0000 1.47
26 @@ -1,6 +1,15 @@
27 # ChangeLog for dev-util/source-highlight
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/ChangeLog,v 1.46 2012/07/04 09:46:37 dev-zero Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/ChangeLog,v 1.47 2012/07/04 12:39:20 dev-zero Exp $
31 +
32 +*source-highlight-3.1.7-r1 (04 Jul 2012)
33 +
34 + 04 Jul 2012; Tiziano Müller <dev-zero@g.o>
35 + +source-highlight-3.1.7-r1.ebuild,
36 + -files/source-highlight-2.10.bash-completion,
37 + -files/source-highlight-2.8.bash-completion, -source-highlight-3.1.7.ebuild:
38 + Fix bash-completion installation (bug #424753) and cleanup old bash-completion
39 + files.
40
41 *source-highlight-3.1.7 (04 Jul 2012)
42
43
44
45
46 1.1 dev-util/source-highlight/source-highlight-3.1.7-r1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/source-highlight-3.1.7-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/source-highlight/source-highlight-3.1.7-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: source-highlight-3.1.7-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/dev-util/source-highlight/source-highlight-3.1.7-r1.ebuild,v 1.1 2012/07/04 12:39:20 dev-zero Exp $
56
57 EAPI="4"
58
59 inherit bash-completion-r1 versionator
60
61 DESCRIPTION="Generate highlighted source code as an (x)html document"
62 HOMEPAGE="http://www.gnu.org/software/src-highlite/source-highlight.html"
63 SRC_URI="mirror://gnu/src-highlite/${P}.tar.gz"
64 LICENSE="GPL-3"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
66 SLOT="0"
67 IUSE="doc static-libs"
68
69 DEPEND=">=dev-libs/boost-1.49.0
70 dev-util/ctags"
71 RDEPEND="${DEPEND}"
72
73 src_configure() {
74 BOOST_PKG="$(best_version ">=dev-libs/boost-1.35.0-r5")"
75 BOOST_VER="$(replace_all_version_separators _ $(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}"))"
76
77 sed -i \
78 -e "s|ac_boost_path_tmp/include|ac_boost_path_tmp/include/boost-${BOOST_VER}|" \
79 configure || die "sed failed"
80
81 econf \
82 --with-boost-regex="boost_regex-mt-${BOOST_VER}" \
83 --without-bash-completion \
84 $(use_enable static-libs static)
85 }
86
87 src_install () {
88 DOCS="AUTHORS ChangeLog CREDITS NEWS README THANKS TODO.txt"
89 default
90
91 use static-libs || rm -rf "${D}"/usr/lib*/*.la
92
93 dobashcomp completion/source-highlight
94
95 # That's not how we want it
96 rm -fr "${ED}/usr/share"/{aclocal,doc}
97 use doc && dohtml -A java doc/*.{html,css,java}
98 }
99
100 src_test() {
101 export LD_LIBRARY_PATH="${S}/lib/srchilite/.libs/"
102 default
103 }