Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/texmacs: ChangeLog texmacs-1.0.7.5.ebuild
Date: Wed, 28 Jul 2010 06:50:36
Message-Id: 20100728065031.187EC2CE15@corvid.gentoo.org
1 grozin 10/07/28 06:50:30
2
3 Modified: ChangeLog
4 Added: texmacs-1.0.7.5.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.82 app-office/texmacs/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/ChangeLog?rev=1.82&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/ChangeLog?rev=1.82&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/ChangeLog?r1=1.81&r2=1.82
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v
19 retrieving revision 1.81
20 retrieving revision 1.82
21 diff -u -r1.81 -r1.82
22 --- ChangeLog 13 Apr 2010 14:03:44 -0000 1.81
23 +++ ChangeLog 28 Jul 2010 06:50:30 -0000 1.82
24 @@ -1,6 +1,13 @@
25 # ChangeLog for app-office/texmacs
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.81 2010/04/13 14:03:44 grozin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.82 2010/07/28 06:50:30 grozin Exp $
29 +
30 +*texmacs-1.0.7.5 (28 Jul 2010)
31 +
32 + 28 Jul 2010; Andrey Grozin <grozin@g.o>
33 + -files/texmacs-1.0.7.3-strip.patch, +texmacs-1.0.7.5.ebuild,
34 + +files/texmacs-1.0.7.5-strip.patch:
35 + Version bump
36
37 *texmacs-1.0.7.4 (13 Apr 2010)
38
39
40
41
42 1.1 app-office/texmacs/texmacs-1.0.7.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/texmacs-1.0.7.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/texmacs-1.0.7.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: texmacs-1.0.7.5.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.5.ebuild,v 1.1 2010/07/28 06:50:30 grozin Exp $
52 EAPI=2
53 inherit autotools
54 MY_P=${P/tex/TeX}-src
55 DESCRIPTION="Wysiwyg text processor with high-quality maths"
56
57 SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/targz/${MY_P}.tar.gz
58 ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-600dpi-fonts.tar.gz"
59
60 HOMEPAGE="http://www.texmacs.org/"
61 LICENSE="GPL-3"
62 SLOT="0"
63 IUSE="imlib jpeg netpbm -qt4 svg spell"
64 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
65
66 RDEPEND="dev-scheme/guile[deprecated]
67 virtual/latex-base
68 app-text/ghostscript-gpl
69 media-libs/freetype
70 x11-libs/libXext
71 x11-apps/xmodmap
72 qt4? ( x11-libs/qt-gui:4 )
73 imlib? ( media-libs/imlib2 )
74 jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) )
75 svg? ( || ( media-gfx/inkscape gnome-base/librsvg ) )
76 netpbm? ( media-libs/netpbm )
77 spell? ( || ( >=app-text/ispell-3.2 >=app-text/aspell-0.5 ) )"
78
79 DEPEND="${RDEPEND}
80 x11-proto/xproto"
81
82 S="${WORKDIR}/${MY_P}"
83
84 pkg_setup() {
85 if use qt4; then
86 ewarn "Qt port is highly experimental"
87 ewarn "If you want a stable TeXmacs, emerge with USE=-qt4"
88 fi
89 }
90
91 src_prepare() {
92 # don't strip
93 epatch "${FILESDIR}"/${P}-strip.patch
94
95 eautoreconf
96 }
97
98 src_configure() {
99 econf $(use_with imlib imlib2) \
100 --enable-optimize="${CXXFLAGS}" \
101 $(use_enable qt4 qt)
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" install || die "emake install failed"
106 dodoc TODO || die "dodoc failed"
107 domenu "${FILESDIR}"/TeXmacs.desktop || die "domenu failed"
108
109 # now install the fonts
110 insinto /usr/share/texmf
111 doins -r "${WORKDIR}/fonts" || die "installing fonts failed"
112 }