diff options
author | 2011-05-24 15:19:11 +0000 | |
---|---|---|
committer | 2011-05-24 15:19:11 +0000 | |
commit | 0336f925b1c6ec9b818c3858a53b46ef253efe90 (patch) | |
tree | 10746d41309b3551e89b7f4355571c3ebe481487 /app-text | |
parent | Marking curl-7.21.4 ppc for bug 355595 (diff) | |
download | historical-0336f925b1c6ec9b818c3858a53b46ef253efe90.tar.gz historical-0336f925b1c6ec9b818c3858a53b46ef253efe90.tar.bz2 historical-0336f925b1c6ec9b818c3858a53b46ef253efe90.zip |
Version bump. Add support to generate png images by default, bug #368471 thank Alexander Sulfrian for report.
Package-Manager: portage-2.1.9.49/cvs/Linux x86_64
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/mathtex/ChangeLog | 11 | ||||
-rw-r--r-- | app-text/mathtex/Manifest | 6 | ||||
-rw-r--r-- | app-text/mathtex/mathtex-1.04.ebuild | 47 | ||||
-rw-r--r-- | app-text/mathtex/metadata.xml | 3 |
4 files changed, 63 insertions, 4 deletions
diff --git a/app-text/mathtex/ChangeLog b/app-text/mathtex/ChangeLog index 23d35bf55bf8..735cf4f261b1 100644 --- a/app-text/mathtex/ChangeLog +++ b/app-text/mathtex/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/mathtex -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/mathtex/ChangeLog,v 1.1 2009/12/21 20:34:57 pva Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/mathtex/ChangeLog,v 1.2 2011/05/24 15:19:11 pva Exp $ + +*mathtex-1.04 (24 May 2011) + + 24 May 2011; Peter Volkov <pva@gentoo.org> +mathtex-1.04.ebuild, + metadata.xml: + Version bump. Add support to generate png images by default, bug #368471 + thank Alexander Sulfrian for report. *mathtex-1.03 (21 Dec 2009) diff --git a/app-text/mathtex/Manifest b/app-text/mathtex/Manifest index 6df13ab01d2a..352f5c068b14 100644 --- a/app-text/mathtex/Manifest +++ b/app-text/mathtex/Manifest @@ -1,4 +1,6 @@ DIST mathtex-1.03.zip 143852 RMD160 e2aaf4d09fceea9d2a7e77c43738104c1f3b160d SHA1 a572d03a47183fbcbf24cfb45b7719769a77e219 SHA256 e30c19faf9682694a9ef299359c17cf7e5f5fb3bf247799a2f494d6ac0c572a1 +DIST mathtex-1.04.zip 148443 RMD160 a169a052278324084623c54b68d680f1b7f88973 SHA1 9054373c48be074da13d0fe4ffeecfc76fb6ee60 SHA256 f3bd3dc0491f37eb5de8bcd40b04cb11cd84581d2f16a6a2f61fc79622dd6adf EBUILD mathtex-1.03.ebuild 985 RMD160 d9255a4876940e92f9f6372d2daeb0833e281134 SHA1 23f98f6c69c10b8356940009bb92d2d05978a5b4 SHA256 13ac569f1edb4278aa2a6ec0203ba221c6cd9bde0aed34ce368e23b5e8a8102d -MISC ChangeLog 439 RMD160 58f37c5d0855fd045d4931e70c233d00cba73fbe SHA1 fb3e12bc2c00be8832756e3945c48b8322d3c81c SHA256 84bdb02967c09d5807742fe7971bd9d24202a69f9642b0a34b63cb777a9e3640 -MISC metadata.xml 623 RMD160 aacf780faa294748f249e37260931289c9673559 SHA1 345566cfda2e4b8f80519f75e1398f52f676dc39 SHA256 5de81bd142e6c96f5e5d86b04fb8df2f0a4c6b17f668199c3c037d274f06258d +EBUILD mathtex-1.04.ebuild 1005 RMD160 f6ac2f516156f99e22f2c4f7a9db76fc747da174 SHA1 34b0103638f0371fc99153ab68563da9a2d77878 SHA256 6987d2b472558b1185f87f1bcf460778adc2dd1bd75430fc6c13edd8fe021d6a +MISC ChangeLog 666 RMD160 cc2351407c0901112561d22c6086cc542cf0c355 SHA1 c9fbc53585a9a4a4ecd67fc53c5f8c7946152856 SHA256 1007e76194fda48fabe1621c3eb9394c13407a617b6f8143f14b9ed3b2f2692a +MISC metadata.xml 706 RMD160 b3fd805ff6782df1b817b4f5d066bdd2f3f93a6d SHA1 a886c2d6f185174fa7544de21d866371507b2d6b SHA256 d1887dccfc6685232b28394799ea9aa1fc44f9ba73eb93b3de65e6a862e63d98 diff --git a/app-text/mathtex/mathtex-1.04.ebuild b/app-text/mathtex/mathtex-1.04.ebuild new file mode 100644 index 000000000000..9b39684c6cc5 --- /dev/null +++ b/app-text/mathtex/mathtex-1.04.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/mathtex/mathtex-1.04.ebuild,v 1.1 2011/05/24 15:19:11 pva Exp $ + +EAPI="4" + +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 index ab1c52d05973..789145ed0aa9 100644 --- a/app-text/mathtex/metadata.xml +++ b/app-text/mathtex/metadata.xml @@ -6,6 +6,9 @@ <email>pva@gentoo.org</email> <name>Peter Volkov</name> </maintainer> +<use> +<flag name='png'>Generate png images by default instead of gif</flag> +</use> <longdescription> 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 |