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