Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/gtypist: ChangeLog gtypist-2.9.1.ebuild
Date: Thu, 01 Dec 2011 17:59:23
Message-Id: 20111201175912.74EB520034@flycatcher.gentoo.org
1 darkside 11/12/01 17:59:12
2
3 Modified: ChangeLog
4 Added: gtypist-2.9.1.ebuild
5 Log:
6 very, very minor upstream version bump including UTF-8 fixes, bug 392555
7
8 (Portage version: 2.1.10.36/cvs/Linux i686)
9
10 Revision Changes Path
11 1.31 app-misc/gtypist/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 30 Sep 2011 15:48:11 -0000 1.30
24 +++ ChangeLog 1 Dec 2011 17:59:12 -0000 1.31
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-misc/gtypist
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v 1.30 2011/09/30 15:48:11 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/ChangeLog,v 1.31 2011/12/01 17:59:12 darkside Exp $
30 +
31 +*gtypist-2.9.1 (01 Dec 2011)
32 +
33 + 01 Dec 2011; Jeremy Olexa <darkside@g.o> +gtypist-2.9.1.ebuild:
34 + very, very minor upstream version bump including UTF-8 fixes, bug 392555
35
36 30 Sep 2011; Jeremy Olexa <darkside@g.o> -gtypist-2.8.5.ebuild,
37 gtypist-2.8.5-r1.ebuild:
38
39
40
41 1.1 app-misc/gtypist/gtypist-2.9.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/gtypist-2.9.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/gtypist/gtypist-2.9.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gtypist-2.9.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-misc/gtypist/gtypist-2.9.1.ebuild,v 1.1 2011/12/01 17:59:12 darkside Exp $
51
52 EAPI=4
53
54 inherit eutils elisp-common
55
56 DESCRIPTION="Universal typing tutor"
57 HOMEPAGE="http://www.gnu.org/software/gtypist/"
58 SRC_URI="mirror://gnu/gtypist/${P}.tar.xz
59 http://colemak.com/pub/learn/colemak.typ"
60
61 LICENSE="GPL-2 public-domain"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
64 IUSE="nls emacs xemacs"
65
66 DEPEND=">=sys-libs/ncurses-5.2
67 emacs? ( virtual/emacs )
68 xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )"
69
70 RDEPEND="${DEPEND}"
71
72 SITEFILE=50${PN}-gentoo.el
73
74 src_unpack() {
75 unpack ${P}.tar.xz
76 }
77
78 src_prepare() {
79 epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
80 }
81
82 src_configure() {
83 local lispdir=""
84 if use emacs; then
85 lispdir="${SITELISP}/${PN}"
86 einfo "Configuring to build with GNU Emacs support"
87 elif use xemacs; then
88 lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
89 einfo "Configuring to build with XEmacs support"
90 fi
91
92 econf $(use_enable nls) \
93 EMACS=$(usev emacs || usev xemacs || echo no) \
94 --with-lispdir="${lispdir}"
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" install
99 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
100
101 insinto /usr/share/gtypist
102 doins "${DISTDIR}"/colemak.typ
103
104 if use emacs; then
105 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
106 fi
107 }
108
109 pkg_postinst() {
110 use emacs && elisp-site-regen
111 }
112
113 pkg_postrm() {
114 use emacs && elisp-site-regen
115 }