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.ebuild
Date: Sun, 02 Nov 2008 07:14:45
Message-Id: E1KwXAZ-0008KP-Mg@stork.gentoo.org
1 grozin 08/11/02 07:14:43
2
3 Modified: ChangeLog
4 Added: texmacs-1.0.7.ebuild
5 Log:
6 Version bump, a new experimental Qt port added with USE=qt4
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-tuxonice i686)
8
9 Revision Changes Path
10 1.67 app-office/texmacs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 3 Sep 2008 21:26:23 -0000 1.66
23 +++ ChangeLog 2 Nov 2008 07:14:43 -0000 1.67
24 @@ -1,6 +1,15 @@
25 # ChangeLog for app-office/texmacs
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.66 2008/09/03 21:26:23 opfer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.67 2008/11/02 07:14:43 grozin Exp $
29 +
30 +*texmacs-1.0.7 (02 Nov 2008)
31 +
32 + 02 Nov 2008; Andrey Grozin <grozin@g.o>
33 + -files/texmacs-1.0.6-gcc-4.1.patch,
34 + -files/texmacs-1.0.6-maxima-5.9.3.patch,
35 + +files/texmacs-1.0.7-autotroll.patch, +files/texmacs-1.0.7-strip.patch,
36 + +texmacs-1.0.7.ebuild:
37 + Version bump, a new experimental Qt port added with USE=qt4
38
39 03 Sep 2008; Christian Faulhammer <opfer@g.o>
40 -texmacs-1.0.6-r1.ebuild:
41
42
43
44 1.1 app-office/texmacs/texmacs-1.0.7.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/texmacs-1.0.7.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/texmacs-1.0.7.ebuild?rev=1.1&content-type=text/plain
48
49 Index: texmacs-1.0.7.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.ebuild,v 1.1 2008/11/02 07:14:43 grozin Exp $
54 EAPI=1
55 inherit autotools
56 MY_P=${P/tex/TeX}-src
57 DESCRIPTION="Wysiwyg text processor with high-quality maths"
58
59 SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/targz/${MY_P}.tar.gz
60 ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-600dpi-fonts.tar.gz"
61
62 HOMEPAGE="http://www.texmacs.org/"
63 LICENSE="GPL-2"
64 SLOT="0"
65 IUSE="imlib jpeg netpbm -qt4 svg spell"
66 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
67
68 RDEPEND="virtual/latex-base
69 virtual/ghostscript
70 >=dev-scheme/guile-1.4
71 media-libs/freetype
72 x11-libs/libXext
73 qt4? ( x11-libs/qt-gui:4 )
74 imlib? ( media-libs/imlib2 )
75 jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) )
76 svg? ( || ( media-gfx/inkscape gnome-base/librsvg ) )
77 netpbm? ( media-libs/netpbm )
78 spell? ( || ( >=app-text/ispell-3.2 >=app-text/aspell-0.5 ) )"
79
80 DEPEND="${RDEPEND}
81 x11-proto/xproto"
82
83 S="${WORKDIR}/${MY_P}"
84
85 pkg_setup() {
86 if use qt4; then
87 ewarn "Qt port is highly experimental"
88 ewarn "If you want a stable TeXmacs, emerge with USE=-qt4"
89 fi
90 }
91
92 src_unpack() {
93 unpack ${A}
94 cd "${S}"
95
96 # macx-g++ -> linux-g++
97 epatch "${FILESDIR}"/${P}-autotroll.patch
98
99 # don't strip
100 epatch "${FILESDIR}"/${P}-strip.patch
101
102 eautoreconf
103 }
104
105
106 src_compile() {
107 econf $(use_with imlib imlib2) \
108 --enable-optimize="${CXXFLAGS}" \
109 $(use_enable qt4 qt)
110 emake || die "emake failed"
111 }
112
113 src_install() {
114 emake DESTDIR="${D}" install || die "emake install failed"
115 dodoc TODO || die "dodoc failed"
116 domenu "${FILESDIR}"/TeXmacs.desktop || die "domenu failed"
117
118 # now install the fonts
119 insinto /usr/share/texmf
120 doins -r "${WORKDIR}/fonts" || die "installing fonts failed"
121 }