Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/ted: ted-2.22.ebuild ChangeLog
Date: Wed, 30 Jan 2013 05:26:09
Message-Id: 20130130052606.31BCD2171D@flycatcher.gentoo.org
1 patrick 13/01/30 05:26:06
2
3 Modified: ChangeLog
4 Added: ted-2.22.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.49 app-editors/ted/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ChangeLog?rev=1.49&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ChangeLog?rev=1.49&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ChangeLog?r1=1.48&r2=1.49
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v
20 retrieving revision 1.48
21 retrieving revision 1.49
22 diff -u -r1.48 -r1.49
23 --- ChangeLog 3 May 2012 18:33:03 -0000 1.48
24 +++ ChangeLog 30 Jan 2013 05:26:06 -0000 1.49
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-editors/ted
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.48 2012/05/03 18:33:03 jdhore Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.49 2013/01/30 05:26:06 patrick Exp $
31 +
32 +*ted-2.22 (30 Jan 2013)
33 +
34 + 30 Jan 2013; Patrick Lauer <patrick@g.o> +ted-2.22.ebuild:
35 + Bump
36
37 03 May 2012; Jeff Horelick <jdhore@g.o> ted-2.21.ebuild:
38 dev-util/pkgconfig -> virtual/pkgconfig
39
40
41
42 1.1 app-editors/ted/ted-2.22.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ted-2.22.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/ted/ted-2.22.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ted-2.22.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.22.ebuild,v 1.1 2013/01/30 05:26:05 patrick Exp $
52
53 EAPI=4
54 inherit eutils toolchain-funcs
55
56 DESCRIPTION="X-based rich text editor"
57 HOMEPAGE="http://www.nllgg.nl/Ted"
58 SRC_URI="ftp://ftp.nluug.nl/pub/editors/ted/${P}.src.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
63 IUSE=""
64
65 RDEPEND="x11-libs/gtk+:2
66 media-libs/tiff
67 virtual/jpeg
68 media-libs/libpng
69 x11-libs/libXpm"
70 DEPEND="${RDEPEND}
71 virtual/pkgconfig"
72
73 S=${WORKDIR}/Ted-${PV}
74
75 src_prepare() {
76 epatch "${FILESDIR}"/${PN}-2.21-make.patch
77
78 sed -i -e 's|/Ted/|/share/Ted/|' \
79 "${S}"/appFrame/appFrameConfig.h.in \
80 "${S}"/Ted/tedConfig.h.in || die
81
82 mkdir lib || die
83 }
84
85 src_configure() {
86 tc-export CC
87
88 local dir
89 for dir in appFrame appUtil bitmap docBuf ind Ted tedPackage; do
90 cd "${S}"/${dir}
91 econf --cache-file=../config.cache || die "configure in ${dir} failed"
92 done
93 }
94
95 src_compile() {
96 emake package.shared
97 }
98
99 src_install() {
100 cd tedPackage
101 RPM_BUILD_ROOT=${D} ./installTed.sh COMMON || die
102
103 dodir /usr/share
104 mv "${ED}"usr/Ted "${ED}"usr/share/Ted
105 dosym /usr/share/Ted/rtf2pdf.sh /usr/bin/rtf2pdf.sh
106 }