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.19.ebuild
Date: Thu, 28 Mar 2013 13:41:20
Message-Id: 20130328134115.844E02171D@flycatcher.gentoo.org
1 grozin 13/03/28 13:41:15
2
3 Modified: ChangeLog
4 Added: texmacs-1.0.7.19.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha170/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
9
10 Revision Changes Path
11 1.108 app-office/texmacs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/ChangeLog?rev=1.108&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/ChangeLog?rev=1.108&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/ChangeLog?r1=1.107&r2=1.108
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v
20 retrieving revision 1.107
21 retrieving revision 1.108
22 diff -u -r1.107 -r1.108
23 --- ChangeLog 23 Mar 2013 10:01:03 -0000 1.107
24 +++ ChangeLog 28 Mar 2013 13:41:15 -0000 1.108
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-office/texmacs
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.107 2013/03/23 10:01:03 grozin Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.108 2013/03/28 13:41:15 grozin Exp $
30 +
31 +*texmacs-1.0.7.19 (28 Mar 2013)
32 +
33 + 28 Mar 2013; Andrey Grozin <grozin@g.o> +texmacs-1.0.7.19.ebuild:
34 + Version bump
35
36 *texmacs-1.0.7.18 (23 Mar 2013)
37
38
39
40
41 1.1 app-office/texmacs/texmacs-1.0.7.19.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/texmacs-1.0.7.19.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texmacs/texmacs-1.0.7.19.ebuild?rev=1.1&content-type=text/plain
45
46 Index: texmacs-1.0.7.19.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.19.ebuild,v 1.1 2013/03/28 13:41:15 grozin Exp $
51
52 EAPI=4
53
54 inherit autotools eutils fdo-mime gnome2-utils
55
56 MY_P=${P/tex/TeX}-src
57
58 DESCRIPTION="Wysiwyg text processor with high-quality maths"
59 HOMEPAGE="http://www.texmacs.org/"
60 # Due to some changes at ftp.texmacs.org, files can no longer be fetched by wget,
61 # only by wget --no-passive-ftp
62 #SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz"
63 SRC_URI="http://dev.gentoo.org/~grozin/${MY_P}.tar.gz"
64
65 LICENSE="GPL-3"
66 SLOT="0"
67 IUSE="imlib jpeg netpbm qt4 svg spell"
68 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
69
70 RDEPEND="dev-scheme/guile[deprecated]
71 virtual/latex-base
72 app-text/ghostscript-gpl
73 media-libs/freetype
74 x11-libs/libXext
75 x11-apps/xmodmap
76 qt4? ( dev-qt/qtgui:4 )
77 imlib? ( media-libs/imlib2 )
78 jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) )
79 svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) )
80 netpbm? ( media-libs/netpbm )
81 spell? ( app-text/aspell )"
82 DEPEND="${RDEPEND}
83 x11-proto/xproto"
84
85 S="${WORKDIR}/${MY_P}"
86
87 src_prepare() {
88 # respect LDFLAGS, bug #338459
89 epatch "${FILESDIR}"/${PN}-plugins.patch
90
91 # dont update mime and desktop databases and icon cache
92 epatch "${FILESDIR}"/${PN}-updates.patch
93
94 eautoreconf
95 }
96
97 src_configure() {
98 econf \
99 $(use_with imlib imlib2) \
100 --enable-optimize="${CXXFLAGS}" \
101 $(use_enable qt4 qt)
102 }
103
104 src_install() {
105 default
106 domenu "${FILESDIR}"/TeXmacs.desktop
107 }
108
109 pkg_postinst() {
110 fdo-mime_desktop_database_update
111 fdo-mime_mime_database_update
112 gnome2_icon_cache_update
113 }
114
115 pkg_postrm() {
116 fdo-mime_desktop_database_update
117 fdo-mime_mime_database_update
118 gnome2_icon_cache_update
119 }