diff options
author | David Seifert <soap@gentoo.org> | 2016-07-31 13:24:58 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-07-31 13:31:44 +0200 |
commit | 180d5057ebee300fce12244ba80815b6dd37759d (patch) | |
tree | d017a24c786a4d9abcfcc3e962e0255d70b661cc /app-office | |
parent | package.mask: mask for removal (diff) | |
download | gentoo-180d5057ebee300fce12244ba80815b6dd37759d.tar.gz gentoo-180d5057ebee300fce12244ba80815b6dd37759d.tar.bz2 gentoo-180d5057ebee300fce12244ba80815b6dd37759d.zip |
app-office/texmacs: version bump
Gentoo-bug: 590002
* EAPI=6
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/texmacs/Manifest | 1 | ||||
-rw-r--r-- | app-office/texmacs/files/texmacs-1.99-remove-new-declaration.patch | 19 | ||||
-rw-r--r-- | app-office/texmacs/texmacs-1.99.5.ebuild | 81 |
3 files changed, 101 insertions, 0 deletions
diff --git a/app-office/texmacs/Manifest b/app-office/texmacs/Manifest index bc94a62dc1f3..172d8cd7ee44 100644 --- a/app-office/texmacs/Manifest +++ b/app-office/texmacs/Manifest @@ -1,3 +1,4 @@ DIST TeXmacs-1.0.7.21-src.tar.gz 18712991 SHA256 0c945611cd057c4af5f7c2232d19b8129caeef0289fa43a53bab1dabb2d603d2 SHA512 7a825297b84c34aa7b097026932a99bcaf7bdddeb44ad7d141cae1b03893e2472241f4cf73f3798dfebd9b226f94bc0ef665d5defb1b133d897e0ba3c8213fee WHIRLPOOL 8d12788ac4458e3b5085d1e11e3c5b1a92de1027fed3652bc232f395e2e77bddd141d4607690990c8a8ad29624f151557bcd9b20847b95d2c164e9772c103976 DIST TeXmacs-1.99.1-src.tar.gz 19048884 SHA256 7e8425d65b1a02f270eaa021389cb9c3f627c9064cc986bd1ec7f66e0681b2ac SHA512 4b599e020aafa5b0e832d5e4ca9d1fe2013f1880b32f4ddc63e42582ed553d1e6a8ac9a5b2189db040e7bbaef3faffae5c8f79da3657cb2356ba0700f85f7840 WHIRLPOOL 5457169699cbc4ccded02f0a3ee369910ade70f902f1a41d9c43349acb940022afdb08611681e0b20da66a09b507aaa648c147d4a57d9a7e8d12bb53795b7003 DIST TeXmacs-1.99.2-src.tar.gz 18957858 SHA256 da017f0d5c927adc33952a6efd773165f63e1eaa509f627857f145434e7a8850 SHA512 e9d2dd0aab2e66470c4ae860e13b6fad2cc07913f14f7bca042c703d4d8b4a62fafafa711b81a0d8f8c125a3641b8bb5f38cd3adac74ec18895671423aa60be9 WHIRLPOOL b0ace20c3df61461f5fcad172b9a3acc69c43800ee600718ba20866452a938f3a5f7d61d33bb4e9f4e67f0666486f6e71387c78fd49d2ff7fb703f4baaf6a326 +DIST TeXmacs-1.99.5-src.tar.gz 25014543 SHA256 f1929f35ee6e4301667433ed2f64de7660a08066e864fcb6fffbc031f667b3a6 SHA512 a7d846fd8823e486cf724bfcbe04ae877dd64995d6131af59b49427a1178e36b52b9fcd9109783b9ae1e39c988ae9ed497b1540dce29645ebf2c4301ca7357a8 WHIRLPOOL 13809c4cbfbcc7dbdb3c84917e00f407484095cbf16863fcc9d92fa0833c6dd5d2cafb25d1f2ac9bc1cc5131aea1f273be4b2a8ff47c33014e1b1d53c4f5ec5e diff --git a/app-office/texmacs/files/texmacs-1.99-remove-new-declaration.patch b/app-office/texmacs/files/texmacs-1.99-remove-new-declaration.patch new file mode 100644 index 000000000000..45b08226f652 --- /dev/null +++ b/app-office/texmacs/files/texmacs-1.99-remove-new-declaration.patch @@ -0,0 +1,19 @@ +Remove new/delete declarations, which cause problems with recent GCC versions: +* /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/new:135:41: error: declaration of ‘void operator delete [](void*) throw ()’ has a different exception specifier + +See also: https://bugs.gentoo.org/show_bug.cgi?id=590002 + +--- TeXmacs-1.99.5-src/src/System/Misc/fast_alloc.hpp ++++ TeXmacs-1.99.5-src/src/System/Misc/fast_alloc.hpp +@@ -384,11 +384,6 @@ + void operator delete (register void* ptr) throw(); + void* operator new[] (register size_t s) throw(std::bad_alloc); + void operator delete[] (register void* ptr) throw(); +-#else +-void* operator new (register size_t s); +-void operator delete (register void* ptr); +-void* operator new[] (register size_t s); +-void operator delete[] (register void* ptr); + #endif + #endif // not defined NO_FAST_ALLOC + diff --git a/app-office/texmacs/texmacs-1.99.5.ebuild b/app-office/texmacs/texmacs-1.99.5.ebuild new file mode 100644 index 000000000000..23bfeca99854 --- /dev/null +++ b/app-office/texmacs/texmacs-1.99.5.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools fdo-mime gnome2-utils + +MY_P=${P/tex/TeX}-src + +DESCRIPTION="Wysiwyg text processor with high-quality maths" +HOMEPAGE="http://www.texmacs.org/" +SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +IUSE="imlib jpeg netpbm pdf qt4 svg spell" +KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux" + +RDEPEND=" + app-text/ghostscript-gpl + dev-scheme/guile:12[deprecated] + media-libs/freetype + x11-apps/xmodmap + x11-libs/libXext + virtual/latex-base + imlib? ( media-libs/imlib2 ) + jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) ) + netpbm? ( media-libs/netpbm ) + qt4? ( dev-qt/qtgui:4 ) + spell? ( app-text/aspell ) + svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) ) +" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + # respect LDFLAGS, bug #338459 + "${FILESDIR}"/${PN}-plugins-1.patch + + # dont update mime and desktop databases and icon cache + "${FILESDIR}"/${PN}-updates.patch + + "${FILESDIR}"/${PN}-1.99.2-desktop.patch + + # remove new/delete declarations, bug 590002 + "${FILESDIR}"/${PN}-1.99-remove-new-declaration.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + + eautoreconf + + # delete files that contain binary + # headers only used on OS X + rm src/{Plugins/Ghostscript/._ghostscript.cpp,System/Misc/._sys_utils.cpp} || die +} + +src_configure() { + econf \ + --enable-optimize="${CXXFLAGS}" \ + $(use_with imlib imlib2) \ + $(use_enable pdf pdf-renderer) +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} |