Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/global: ChangeLog global-5.9.2-r1.ebuild global-5.9.2.ebuild
Date: Thu, 02 Sep 2010 17:12:29
Message-Id: 20100902171225.8B9A820051@flycatcher.gentoo.org
1 jer 10/09/02 17:12:25
2
3 Modified: ChangeLog
4 Added: global-5.9.2-r1.ebuild
5 Removed: global-5.9.2.ebuild
6 Log:
7 Fix bad patch after upstream review.
8
9 (Portage version: 2.2_rc72/cvs/Linux i686)
10
11 Revision Changes Path
12 1.66 dev-util/global/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/ChangeLog?rev=1.66&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/ChangeLog?rev=1.66&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/ChangeLog?r1=1.65&r2=1.66
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v
21 retrieving revision 1.65
22 retrieving revision 1.66
23 diff -u -r1.65 -r1.66
24 --- ChangeLog 1 Sep 2010 15:02:03 -0000 1.65
25 +++ ChangeLog 2 Sep 2010 17:12:25 -0000 1.66
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-util/global
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.65 2010/09/01 15:02:03 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.66 2010/09/02 17:12:25 jer Exp $
31 +
32 +*global-5.9.2-r1 (02 Sep 2010)
33 +
34 + 02 Sep 2010; Jeroen Roovers <jer@g.o> -global-5.9.2.ebuild,
35 + +global-5.9.2-r1.ebuild, files/global-5.9.2-localstatedir.patch:
36 + Fix bad patch after upstream review.
37
38 01 Sep 2010; Jeroen Roovers <jer@g.o> -global-5.8.2.ebuild,
39 global-5.9.1.ebuild, global-5.9.2.ebuild:
40
41
42
43 1.1 dev-util/global/global-5.9.2-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/global-5.9.2-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/global-5.9.2-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: global-5.9.2-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-util/global/global-5.9.2-r1.ebuild,v 1.1 2010/09/02 17:12:25 jer Exp $
53
54 EAPI="3"
55
56 inherit autotools elisp-common
57
58 DESCRIPTION="GNU Global is a tag system to find the locations of a specified object in various sources."
59 HOMEPAGE="http://www.gnu.org/software/global/global.html"
60 SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz"
61 LICENSE="GPL-3"
62
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
65 IUSE="doc vim emacs"
66
67 RDEPEND="vim? ( || ( app-editors/vim app-editors/gvim ) )
68 emacs? ( virtual/emacs )"
69 DEPEND="${DEPEND}
70 doc? ( app-text/texi2html sys-apps/texinfo )"
71
72 SITEFILE="50gtags-gentoo.el"
73
74 src_prepare() {
75 epatch "${FILESDIR}"/${P}-localstatedir.patch
76 eautoreconf
77 }
78
79 src_compile() {
80 if use doc; then
81 texi2pdf -q -o doc/global.pdf doc/global.texi
82 texi2html -o doc/global.html doc/global.texi
83 fi
84
85 if use emacs; then
86 elisp-compile *.el || die "elisp-compile failed"
87 fi
88
89 emake || die "emake failed"
90 }
91
92 src_install() {
93 emake DESTDIR="${D}" install || die "emake install failed"
94
95 if use doc; then
96 dohtml doc/global.html
97 [[ -f doc/global.pdf ]] && dodoc doc/global.pdf
98 fi
99
100 dodoc AUTHORS FAQ NEWS README THANKS
101
102 insinto /etc
103 doins gtags.conf
104
105 if use vim; then
106 insinto /usr/share/vim/vimfiles/plugin
107 doins gtags.vim
108 fi
109
110 if use emacs; then
111 elisp-install ${PN} *.{el,elc} || die
112 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
113 fi
114 }
115
116 pkg_postinst() {
117 use emacs && elisp-site-regen
118 }
119
120 pkg_postrm() {
121 use emacs && elisp-site-regen
122 }