From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-text/mathtex/Manifest | 1 + app-text/mathtex/mathtex-1.04.ebuild | 47 ++++++++++++++++++++++++++++++++++++ app-text/mathtex/metadata.xml | 17 +++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 app-text/mathtex/Manifest create mode 100644 app-text/mathtex/mathtex-1.04.ebuild create mode 100644 app-text/mathtex/metadata.xml (limited to 'app-text/mathtex') diff --git a/app-text/mathtex/Manifest b/app-text/mathtex/Manifest new file mode 100644 index 000000000000..4dd4efaf67c8 --- /dev/null +++ b/app-text/mathtex/Manifest @@ -0,0 +1 @@ +DIST mathtex-1.04.zip 148443 SHA256 f3bd3dc0491f37eb5de8bcd40b04cb11cd84581d2f16a6a2f61fc79622dd6adf SHA512 4b299a6dc503a01d6be3182ad982e38c0b6d926f09a09bd5169f8ad2c947c020ad532b15146379b4bc2158cfceec4cb4a0b7bf902423e0a8ad9b0b0190a99601 WHIRLPOOL 4c67b17a5d761e612ec12f372244665b0c41aea9066bb970bb263477a18407f76ef43786be50f41d645019165126219c39b22e6c67b2d2c60b70dc0b535040e2 diff --git a/app-text/mathtex/mathtex-1.04.ebuild b/app-text/mathtex/mathtex-1.04.ebuild new file mode 100644 index 000000000000..a1ff4bb0fd33 --- /dev/null +++ b/app-text/mathtex/mathtex-1.04.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="MathTeX lets you easily embed LaTeX math in your own html pages, blogs, wikis, etc" +HOMEPAGE="http://www.forkosh.com/mathtex.html" +SRC_URI="mirror://gentoo/${P}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="png" + +RDEPEND="app-text/dvipng + virtual/latex-base" +DEPEND="" + +S=${WORKDIR} + +einfo_run_command() { + einfo "${@}" + ${@} || die +} + +src_compile() { + einfo_run_command $(tc-getCC) \ + ${CFLAGS} ${LDFLAGS} \ + -DLATEX=\"/usr/bin/latex\" \ + -DDVIPNG=\"/usr/bin/dvipng\" \ + $(use png && echo "-DPNG") \ + mathtex.c -o mathtex +} + +src_install() { + dobin mathtex + dodoc README + dohtml mathtex.html +} + +pkg_postinst() { + elog "To use mathtex in your web-pages, just link /usr/bin/mathtex" + elog "to your cgi-bin subdirectory!" +} diff --git a/app-text/mathtex/metadata.xml b/app-text/mathtex/metadata.xml new file mode 100644 index 000000000000..0722c89f1d72 --- /dev/null +++ b/app-text/mathtex/metadata.xml @@ -0,0 +1,17 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + + Generate png images by default instead of gif + + MathTeX parses a LaTeX math expression and immediately emits + the corresponding gif (or png) image. It can be used as cgi program to embed + LaTeX math in your own html pages, blogs, wikis, etc. Just place an html img + tag in your document wherever you want to see the corresponding LaTeX + expression. Take a look at homepage for examples. + + -- cgit v1.2.3-65-gdbad