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/org-mode: ChangeLog org-mode-7.8.02-r1.ebuild
Date: Sun, 01 Jan 2012 19:16:40
Message-Id: 20120101191630.7C1C12004C@flycatcher.gentoo.org
1 ulm 12/01/01 19:16:30
2
3 Modified: ChangeLog
4 Added: org-mode-7.8.02-r1.ebuild
5 Log:
6 Install OpenDocument style files. Fixes bug 396269.
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.137 app-emacs/org-mode/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?rev=1.137&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?rev=1.137&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/ChangeLog?r1=1.136&r2=1.137
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v
20 retrieving revision 1.136
21 retrieving revision 1.137
22 diff -u -r1.136 -r1.137
23 --- ChangeLog 25 Dec 2011 19:48:12 -0000 1.136
24 +++ ChangeLog 1 Jan 2012 19:16:30 -0000 1.137
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-emacs/org-mode
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v 1.136 2011/12/25 19:48:12 ago Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/ChangeLog,v 1.137 2012/01/01 19:16:30 ulm Exp $
31 +
32 +*org-mode-7.8.02-r1 (01 Jan 2012)
33 +
34 + 01 Jan 2012; Ulrich Mueller <ulm@g.o> +org-mode-7.8.02-r1.ebuild,
35 + +files/org-mode-7.8.02-odt-styles.patch, +files/50org-mode-gentoo-7.8.02.el:
36 + Install OpenDocument style files. Fixes bug 396269.
37
38 25 Dec 2011; Agostino Sarubbo <ago@g.o> org-mode-7.7.ebuild:
39 Stable for AMD64, wrt bug #396001
40
41
42
43 1.1 app-emacs/org-mode/org-mode-7.8.02-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/org-mode-7.8.02-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/org-mode/org-mode-7.8.02-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: org-mode-7.8.02-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/org-mode-7.8.02-r1.ebuild,v 1.1 2012/01/01 19:16:30 ulm Exp $
53
54 EAPI=4
55 NEED_EMACS=22
56
57 inherit elisp
58
59 DESCRIPTION="An Emacs mode for notes and project planning"
60 HOMEPAGE="http://www.orgmode.org/"
61 SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
62
63 LICENSE="GPL-3 FDL-1.3 contrib? ( GPL-2 MIT as-is )"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-macos"
66 IUSE="contrib"
67
68 S="${WORKDIR}/org-${PV}"
69 ELISP_PATCHES="${P}-odt-styles.patch"
70 # Remove autoload file to make sure that it is regenerated with
71 # the right Emacs version.
72 ELISP_REMOVE="lisp/org-install.el"
73 SITEFILE="50${PN}-gentoo-${PV}.el"
74
75 src_compile() {
76 default
77 }
78
79 src_install() {
80 emake \
81 prefix="${ED}/usr" \
82 lispdir="${ED}${SITELISP}/${PN}" \
83 etcdir="${ED}${SITEETC}/${PN}" \
84 infodir="${ED}/usr/share/info" \
85 install
86
87 cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}"
88
89 if use contrib; then
90 elisp-install ${PN}/contrib contrib/lisp/*org*.el || die
91 insinto /usr/share/doc/${PF}/contrib
92 doins -r contrib/README contrib/babel contrib/odt contrib/scripts
93 find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
94 -exec rm -f '{}' '+'
95 # add the contrib subdirectory to load-path
96 sed -ie 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
97 "${T}/${SITEFILE}" || die
98 fi
99
100 elisp-site-file-install "${T}/${SITEFILE}" || die
101 doinfo doc/org
102 dodoc README doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
103 }