From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6275B139083 for ; Fri, 22 Dec 2017 11:06:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4C15E0F45; Fri, 22 Dec 2017 11:06:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A405AE0F45 for ; Fri, 22 Dec 2017 11:06:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 783BD341301 for ; Fri, 22 Dec 2017 11:06:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06A4CAE8A for ; Fri, 22 Dec 2017 11:06:02 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1513940719.0f23f207913e174c77b1ea46586662e0a6340f40.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/texmacs/, app-office/texmacs/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/texmacs/Manifest app-office/texmacs/files/texmacs-1.99.6-math_util.patch app-office/texmacs/texmacs-1.99.6.ebuild X-VCS-Directories: app-office/texmacs/ app-office/texmacs/files/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 0f23f207913e174c77b1ea46586662e0a6340f40 X-VCS-Branch: master Date: Fri, 22 Dec 2017 11:06:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 42032a4d-82b0-4aa2-80a9-f2181fa89f36 X-Archives-Hash: 5d12e55b5564ec8e57c963d9876bab7b commit: 0f23f207913e174c77b1ea46586662e0a6340f40 Author: Andrey Grozin gentoo org> AuthorDate: Fri Dec 22 11:03:12 2017 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Fri Dec 22 11:05:19 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f23f207 app-office/texmacs: bump to 1.99.6 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-office/texmacs/Manifest | 1 + .../texmacs/files/texmacs-1.99.6-math_util.patch | 15 ++++ app-office/texmacs/texmacs-1.99.6.ebuild | 79 ++++++++++++++++++++++ 3 files changed, 95 insertions(+) diff --git a/app-office/texmacs/Manifest b/app-office/texmacs/Manifest index 9c4d4d20bc4..9305bd7c55f 100644 --- a/app-office/texmacs/Manifest +++ b/app-office/texmacs/Manifest @@ -1,2 +1,3 @@ DIST TeXmacs-1.99.2-src.tar.gz 18957858 BLAKE2B e109f012158d3382d26c52db2695df3d15fcbf45b85437e4bde0854a52762c6fd3ac630408d3e1e6cd29cb121def3bd6ce217464fc638c99fa120718ab7b7a5e SHA512 e9d2dd0aab2e66470c4ae860e13b6fad2cc07913f14f7bca042c703d4d8b4a62fafafa711b81a0d8f8c125a3641b8bb5f38cd3adac74ec18895671423aa60be9 DIST TeXmacs-1.99.5-src.tar.gz 25014543 BLAKE2B 22c6f876015e6641959cded32dae93eda7e1c153f82c2fb60c026c9243c6e35d4b29df42c265a947e64a07cb72de6436e066713b200e3ec66bd4f1f274473807 SHA512 a7d846fd8823e486cf724bfcbe04ae877dd64995d6131af59b49427a1178e36b52b9fcd9109783b9ae1e39c988ae9ed497b1540dce29645ebf2c4301ca7357a8 +DIST TeXmacs-1.99.6-src.tar.gz 25081652 BLAKE2B 08d0a141ff1b8ab59def50c636d917f9290488031d6f7f4343be4a04af44d8994dc791eb23a2a2b71b7a853a3a90482313062fbfc045cf585afdf8f1f8d2a5f3 SHA512 2e262037654493075cc4a3d47b93de08c3ad2d6f10ce5fe814a8046b38d327c5dd88c1575dff7e2145f1541f9765dc50ec5abcd63146090eea98ab5db9d103ee diff --git a/app-office/texmacs/files/texmacs-1.99.6-math_util.patch b/app-office/texmacs/files/texmacs-1.99.6-math_util.patch new file mode 100644 index 00000000000..006c92c2be3 --- /dev/null +++ b/app-office/texmacs/files/texmacs-1.99.6-math_util.patch @@ -0,0 +1,15 @@ +diff -r -U2 TeXmacs-1.99.6-src.orig/src/Graphics/Types/math_util.hpp TeXmacs-1.99.6-src/src/Graphics/Types/math_util.hpp +--- TeXmacs-1.99.6-src.orig/src/Graphics/Types/math_util.hpp 2017-12-22 03:27:43.000000000 +0700 ++++ TeXmacs-1.99.6-src/src/Graphics/Types/math_util.hpp 2017-12-22 16:44:35.052378917 +0700 +@@ -24,11 +24,4 @@ + inline int sign (double x) { return x>0?1:x<0?-1:0; } + inline bool fnull (double x, double approx) { return norm(x) <= approx; } +-#ifndef __SUNPRO_CC +-inline double pow (double x, int n) { +- double r= 1.0; +- while (n > 0) { r *= x; n--; } +- return r; } +-#endif +- + + #endif // defined MATH_UTIL_H diff --git a/app-office/texmacs/texmacs-1.99.6.ebuild b/app-office/texmacs/texmacs-1.99.6.ebuild new file mode 100644 index 00000000000..bd65c285bdb --- /dev/null +++ b/app-office/texmacs/texmacs-1.99.6.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools xdg-utils gnome2-utils qmake-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 svg spell" +KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + app-text/ghostscript-gpl +