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.2-r1.ebuild texmacs-1.0.7.2.ebuild ChangeLog
Date: Mon, 07 Sep 2009 11:19:10
Message-Id: E1MkcFZ-0006qI-58@stork.gentoo.org
1 grozin 09/09/07 11:19:09
2
3 Modified: texmacs-1.0.7.2.ebuild ChangeLog
4 Added: texmacs-1.0.7.2-r1.ebuild
5 Log:
6 texmacs-1.0.7.2 now does not contain the USE flag qt4, and should be stabilized soon; texmacs-1.0.7.2-r1 does contain this flag, and should remain ~arch
7 (Portage version: 2.2_rc40/cvs/Linux i686)
8
9 Revision Changes Path
10 1.2 app-office/texmacs/texmacs-1.0.7.2.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/texmacs-1.0.7.2.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/texmacs-1.0.7.2.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/texmacs-1.0.7.2.ebuild?r1=1.1&r2=1.2
15
16 Index: texmacs-1.0.7.2.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.2.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- texmacs-1.0.7.2.ebuild 19 Apr 2009 13:19:20 -0000 1.1
23 +++ texmacs-1.0.7.2.ebuild 7 Sep 2009 11:19:08 -0000 1.2
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.2.ebuild,v 1.1 2009/04/19 13:19:20 grozin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.2.ebuild,v 1.2 2009/09/07 11:19:08 grozin Exp $
29 EAPI=2
30 inherit autotools
31 MY_P=${P/tex/TeX}-src
32 @@ -12,7 +12,7 @@
33 HOMEPAGE="http://www.texmacs.org/"
34 LICENSE="GPL-3"
35 SLOT="0"
36 -IUSE="imlib jpeg netpbm -qt4 svg spell"
37 +IUSE="imlib jpeg netpbm svg spell"
38 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
39
40 RDEPEND="dev-scheme/guile[deprecated]
41 @@ -21,7 +21,6 @@
42 media-libs/freetype
43 x11-libs/libXext
44 x11-apps/xmodmap
45 - qt4? ( x11-libs/qt-gui:4 )
46 imlib? ( media-libs/imlib2 )
47 jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) )
48 svg? ( || ( media-gfx/inkscape gnome-base/librsvg ) )
49 @@ -33,13 +32,6 @@
50
51 S="${WORKDIR}/${MY_P}"
52
53 -pkg_setup() {
54 - if use qt4; then
55 - ewarn "Qt port is highly experimental"
56 - ewarn "If you want a stable TeXmacs, emerge with USE=-qt4"
57 - fi
58 -}
59 -
60 src_prepare() {
61 # don't strip
62 epatch "${FILESDIR}"/${P}-strip.patch
63 @@ -49,8 +41,7 @@
64
65 src_configure() {
66 econf $(use_with imlib imlib2) \
67 - --enable-optimize="${CXXFLAGS}" \
68 - $(use_enable qt4 qt)
69 + --enable-optimize="${CXXFLAGS}"
70 }
71
72 src_install() {
73
74
75
76 1.71 app-office/texmacs/ChangeLog
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/ChangeLog?rev=1.71&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/ChangeLog?rev=1.71&content-type=text/plain
80 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/ChangeLog?r1=1.70&r2=1.71
81
82 Index: ChangeLog
83 ===================================================================
84 RCS file: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v
85 retrieving revision 1.70
86 retrieving revision 1.71
87 diff -u -r1.70 -r1.71
88 --- ChangeLog 19 Apr 2009 13:19:20 -0000 1.70
89 +++ ChangeLog 7 Sep 2009 11:19:08 -0000 1.71
90 @@ -1,6 +1,14 @@
91 # ChangeLog for app-office/texmacs
92 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
93 -# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.70 2009/04/19 13:19:20 grozin Exp $
94 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
95 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.71 2009/09/07 11:19:08 grozin Exp $
96 +
97 +*texmacs-1.0.7.2-r1 (07 Sep 2009)
98 +
99 + 07 Sep 2009; Andrey Grozin <grozin@g.o> texmacs-1.0.7.2.ebuild,
100 + +texmacs-1.0.7.2-r1.ebuild:
101 + texmacs-1.0.7.2 now does not contain the USE flag qt4, and should be
102 + stabilized soon; texmacs-1.0.7.2-r1 does contain this flag, and should
103 + remain ~arch
104
105 *texmacs-1.0.7.2 (19 Apr 2009)
106
107
108
109
110 1.1 app-office/texmacs/texmacs-1.0.7.2-r1.ebuild
111
112 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/texmacs-1.0.7.2-r1.ebuild?rev=1.1&view=markup
113 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/texmacs/texmacs-1.0.7.2-r1.ebuild?rev=1.1&content-type=text/plain
114
115 Index: texmacs-1.0.7.2-r1.ebuild
116 ===================================================================
117 # Copyright 1999-2009 Gentoo Foundation
118 # Distributed under the terms of the GNU General Public License v2
119 # $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.2-r1.ebuild,v 1.1 2009/09/07 11:19:08 grozin Exp $
120 EAPI=2
121 inherit autotools
122 MY_P=${P/tex/TeX}-src
123 DESCRIPTION="Wysiwyg text processor with high-quality maths"
124
125 SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/targz/${MY_P}.tar.gz
126 ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-600dpi-fonts.tar.gz"
127
128 HOMEPAGE="http://www.texmacs.org/"
129 LICENSE="GPL-3"
130 SLOT="0"
131 IUSE="imlib jpeg netpbm -qt4 svg spell"
132 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
133
134 RDEPEND="dev-scheme/guile[deprecated]
135 virtual/latex-base
136 virtual/ghostscript
137 media-libs/freetype
138 x11-libs/libXext
139 x11-apps/xmodmap
140 qt4? ( x11-libs/qt-gui:4 )
141 imlib? ( media-libs/imlib2 )
142 jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) )
143 svg? ( || ( media-gfx/inkscape gnome-base/librsvg ) )
144 netpbm? ( media-libs/netpbm )
145 spell? ( || ( >=app-text/ispell-3.2 >=app-text/aspell-0.5 ) )"
146
147 DEPEND="${RDEPEND}
148 x11-proto/xproto"
149
150 S="${WORKDIR}/${MY_P}"
151
152 pkg_setup() {
153 if use qt4; then
154 ewarn "Qt port is highly experimental"
155 ewarn "If you want a stable TeXmacs, emerge with USE=-qt4"
156 fi
157 }
158
159 src_prepare() {
160 # don't strip
161 epatch "${FILESDIR}"/${P}-strip.patch
162
163 eautoreconf
164 }
165
166 src_configure() {
167 econf $(use_with imlib imlib2) \
168 --enable-optimize="${CXXFLAGS}" \
169 $(use_enable qt4 qt)
170 }
171
172 src_install() {
173 emake DESTDIR="${D}" install || die "emake install failed"
174 dodoc TODO || die "dodoc failed"
175 domenu "${FILESDIR}"/TeXmacs.desktop || die "domenu failed"
176
177 # now install the fonts
178 insinto /usr/share/texmf
179 doins -r "${WORKDIR}/fonts" || die "installing fonts failed"
180 }