Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/cedet: ChangeLog cedet-1.0.1.ebuild
Date: Wed, 11 Jan 2012 18:17:30
Message-Id: 20120111181719.85B6B2004B@flycatcher.gentoo.org
1 ulm 12/01/11 18:17:19
2
3 Modified: ChangeLog
4 Added: cedet-1.0.1.ebuild
5 Log:
6 Version bump, security fix release from upstream.
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.67 app-emacs/cedet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 10 Jan 2012 07:14:11 -0000 1.66
24 +++ ChangeLog 11 Jan 2012 18:17:19 -0000 1.67
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-emacs/cedet
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v 1.66 2012/01/10 07:14:11 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/ChangeLog,v 1.67 2012/01/11 18:17:19 ulm Exp $
30 +
31 +*cedet-1.0.1 (11 Jan 2012)
32 +
33 + 11 Jan 2012; Ulrich Müller <ulm@g.o> +cedet-1.0.1.ebuild:
34 + Version bump, security fix release from upstream.
35
36 09 Jan 2012; Agostino Sarubbo <ago@g.o> cedet-1.0-r1.ebuild:
37 Stable for AMD64, wrt security bug #398227
38
39
40
41 1.1 app-emacs/cedet/cedet-1.0.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/cedet-1.0.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/cedet/cedet-1.0.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cedet-1.0.1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/cedet-1.0.1.ebuild,v 1.1 2012/01/11 18:17:19 ulm Exp $
51
52 EAPI=4
53 NEED_EMACS=22
54
55 inherit elisp
56
57 MY_P=${P/_}
58 DESCRIPTION="CEDET: Collection of Emacs Development Environment Tools"
59 HOMEPAGE="http://cedet.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/cedet/${MY_P}.tar.gz"
61
62 LICENSE="GPL-2 FDL-1.2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris"
65 IUSE=""
66
67 S="${WORKDIR}/${MY_P}"
68 SITEFILE="50${PN}-gentoo.el"
69 EMACSFLAGS="${EMACSFLAGS} -L ${S}/eieio -L ${S}/semantic -L ${S}/srecode \
70 -L ${S}/ede -L ${S}/speedbar -L ${S}/cogre"
71
72 src_compile() {
73 emake -j1 \
74 EMACS="${EMACS}" \
75 EMACSFLAGS="${EMACSFLAGS}"
76 }
77
78 src_test() {
79 emake -j1 \
80 EMACS="${EMACS}" \
81 EMACSFLAGS="${EMACSFLAGS}" \
82 utest
83 }
84
85 src_install() {
86 local target file dir
87 find . -type d -name tests -prune -o -type f -print | while read target
88 do
89 file=${target##*/}
90 dir=${target%/*}; dir=${dir#./}
91 case "${file}" in
92 *~ | Makefile | *.texi | *-script | PRERELEASE_CHECKLIST \
93 | Project.ede | USING_CEDET_FROM_CVS | grammar-fw-ov.txt)
94 ;;
95 ChangeLog | README | AUTHORS | *NEWS | INSTALL \
96 | renamelist.txt | semanticdb.sh)
97 docinto "${dir}"
98 dodoc "${target}" ;;
99 *.el | *.by | *.wy)
100 # install grammar sources along with the elisp files, since
101 # the location where semantic expects them is not configurable
102 insinto "${SITELISP}/${PN}/${dir}"
103 doins "${target}" ;;
104 *.elc)
105 # we are in a subshell, so collecting in a variable won't work
106 echo "${target}" >>"${T}/elc-list.txt" ;;
107 *.srt | *.xpm)
108 insinto "${SITEETC}/${PN}/${dir}"
109 doins "${target}" ;;
110 *.info* | grammar-fw-ov.png)
111 doinfo "${target}" ;;
112 *)
113 die "Unrecognised file ${target}" ;;
114 esac
115 done
116
117 # make sure that the compiled elisp files have a later time stamp than
118 # the corresponding sources, in order to suppress warnings at run time
119 while read target; do
120 dir=${target%/*}; dir=${dir#./}
121 insinto "${SITELISP}/${PN}/${dir}"
122 doins "${target}"
123 done <"${T}/elc-list.txt"
124
125 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
126 }