Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/texmacs/
Date: Sat, 29 Jun 2019 06:04:40
Message-Id: 1561788228.b562e4860f1b2db7420f1ea9b0dc447bbbfd55e0.grozin@gentoo
1 commit: b562e4860f1b2db7420f1ea9b0dc447bbbfd55e0
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 29 06:03:48 2019 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 29 06:03:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b562e486
7
8 app-office/texmacs: bump to 1.99.10
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.16
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 app-office/texmacs/Manifest | 1 +
14 app-office/texmacs/texmacs-1.99.10.ebuild | 72 +++++++++++++++++++++++++++++++
15 2 files changed, 73 insertions(+)
16
17 diff --git a/app-office/texmacs/Manifest b/app-office/texmacs/Manifest
18 index 41721d8cca2..66b61740d06 100644
19 --- a/app-office/texmacs/Manifest
20 +++ b/app-office/texmacs/Manifest
21 @@ -1,2 +1,3 @@
22 +DIST TeXmacs-1.99.10-src.tar.gz 31879944 BLAKE2B 3576d1abff1040d2b0236718a5ef5149bf0e445567408e44b85cae5d43a631acd42fa59f0973e375e347720083ee2368398a1a2cec6aa679c5f47a3952877615 SHA512 5da8e789a5f7b6b9e2846714c751173616e572b5426f2c29d7f979037b1bca1542c9e77048abf9c5b95974e7b198c2a857bfa84eeb428390b2c1088bf87984d8
23 DIST TeXmacs-1.99.6-src.tar.gz 25081652 BLAKE2B 08d0a141ff1b8ab59def50c636d917f9290488031d6f7f4343be4a04af44d8994dc791eb23a2a2b71b7a853a3a90482313062fbfc045cf585afdf8f1f8d2a5f3 SHA512 2e262037654493075cc4a3d47b93de08c3ad2d6f10ce5fe814a8046b38d327c5dd88c1575dff7e2145f1541f9765dc50ec5abcd63146090eea98ab5db9d103ee
24 DIST TeXmacs-1.99.9-src.tar.gz 30109108 BLAKE2B 182db26c645e1445780f8e153f7283eb517ec3aa8be6ce137b6c305df33657f15c3efb57198e81f8dd9e1682b3bf1c6c0ff6f3798c54bcb74aedb8b3cef67b40 SHA512 96971060536007e542cd3e1789f07bcc30ceda01cbf32cabf43e3a5e61a2ba15f604e49601d891a956732d90d224353f8dac495be05677758146206b549f9d1f
25
26 diff --git a/app-office/texmacs/texmacs-1.99.10.ebuild b/app-office/texmacs/texmacs-1.99.10.ebuild
27 new file mode 100644
28 index 00000000000..ec2993ea4b5
29 --- /dev/null
30 +++ b/app-office/texmacs/texmacs-1.99.10.ebuild
31 @@ -0,0 +1,72 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit cmake-utils xdg-utils gnome2-utils qmake-utils
38 +
39 +MY_P=${P/tex/TeX}-src
40 +
41 +DESCRIPTION="Wysiwyg text processor with high-quality maths"
42 +HOMEPAGE="http://www.texmacs.org/"
43 +SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz"
44 +
45 +LICENSE="GPL-3"
46 +SLOT="0"
47 +IUSE="debug jpeg netpbm sqlite svg spell"
48 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
49 +
50 +RDEPEND="
51 + app-text/ghostscript-gpl
52 + <dev-scheme/guile-1.9[debug?,deprecated]
53 + media-libs/freetype
54 + x11-apps/xmodmap
55 + x11-libs/libXext
56 + virtual/latex-base
57 + >=dev-qt/qtcore-5.9.1:5
58 + >=dev-qt/qtgui-5.9.1:5
59 + >=dev-qt/qtwidgets-5.9.1:5
60 + >=dev-qt/qtprintsupport-5.9.1:5
61 + sqlite? ( dev-db/sqlite )
62 + jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) )
63 + netpbm? ( media-libs/netpbm )
64 + spell? ( app-text/aspell )
65 + svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) )
66 +"
67 +DEPEND="${RDEPEND}
68 + x11-base/xorg-proto"
69 +
70 +S="${WORKDIR}/${MY_P}"
71 +
72 +PATCHES=(
73 + "${FILESDIR}"/${PN}-1.99.2-desktop.patch
74 +
75 + # remove new/delete declarations, bug 590002
76 + "${FILESDIR}"/${PN}-1.99-remove-new-declaration.patch
77 +
78 + "${FILESDIR}"/${PN}-1.99.6-math_util.patch
79 +
80 + # fix build failure on 32-bit systems, bug #652054
81 + # "${FILESDIR}"/${PN}-1.99.6-guile-size_t.patch
82 + #"${FILESDIR}"/${PN}-1.99.9-guile-remove-deprecated.patch
83 +)
84 +
85 +src_configure() {
86 + local mycmakeargs=(
87 + -DUSE_SQLITE3=$(usex sqlite 1 0)
88 + -DDEBUG_ASSERT=$(usex debug 1 0)
89 + )
90 + cmake-utils_src_configure
91 +}
92 +
93 +pkg_postinst() {
94 + xdg_desktop_database_update
95 + xdg_mimeinfo_database_update
96 + gnome2_icon_cache_update
97 +}
98 +
99 +pkg_postrm() {
100 + xdg_desktop_database_update
101 + xdg_mimeinfo_database_update
102 + gnome2_icon_cache_update
103 +}