diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
| commit | dda948891d3731927b821ce31f9d9a2d03ba20c5 (patch) | |
| tree | 99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-tex/tth | |
| parent | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff) | |
| download | baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip | |
Adding metadata
Diffstat (limited to 'dev-tex/tth')
| -rw-r--r-- | dev-tex/tth/Manifest | 1 | ||||
| -rw-r--r-- | dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch | 19 | ||||
| -rw-r--r-- | dev-tex/tth/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-tex/tth/tth-4.16.ebuild | 40 |
4 files changed, 72 insertions, 0 deletions
diff --git a/dev-tex/tth/Manifest b/dev-tex/tth/Manifest new file mode 100644 index 000000000000..88ed3604ffa9 --- /dev/null +++ b/dev-tex/tth/Manifest @@ -0,0 +1 @@ +DIST tth_4.16.tgz 337901 BLAKE2B ace16726eec5539e81fbafc356c74ed1cc773457100e509cbb5b92fb8bf29bc82655e7d60c6b7ef0bb8e8e4b741c5613bb48e37b8c878757a6354ba1aa0d9267 SHA512 f4c8cc7a268fe8f235ace42a7345cd91efee90103d30b4c24f493982662c51b3d07f4beb2427e177f50e7615d68e1a26055bf3e287c401a9db81a25e614d9281 diff --git a/dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch b/dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch new file mode 100644 index 000000000000..52dc9a2d21f2 --- /dev/null +++ b/dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch @@ -0,0 +1,19 @@ +From 70244cb4546e6114e08b7bdcf8459daddc9bca8b Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Fri, 7 Oct 2022 18:33:03 +0100 +Subject: [PATCH] Fix build with Clang 16 + +--- a/tthsplit.c ++++ b/tthsplit.c +@@ -6,9 +6,8 @@ Copyright 1997 I.H.Hutchinson. + #define LINELEN 256 + #include <stdio.h> + #include <string.h> +-main(argc,argv) +-int argc; +-char *argv[]; ++#include <stdlib.h> ++int main(int argc, char *argv[]) + { + int slen; + char *ch,*ch2; diff --git a/dev-tex/tth/metadata.xml b/dev-tex/tth/metadata.xml new file mode 100644 index 000000000000..2c32b235b146 --- /dev/null +++ b/dev-tex/tth/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> + </maintainer> + <upstream> + <changelog>http://hutchinson.belmont.ma.us/tth/CHANGES</changelog> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-tex/tth/tth-4.16.ebuild b/dev-tex/tth/tth-4.16.ebuild new file mode 100644 index 000000000000..956c04c359bf --- /dev/null +++ b/dev-tex/tth/tth-4.16.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Translate TEX into HTML" +HOMEPAGE="http://hutchinson.belmont.ma.us/tth/" +# https://downloads.sourceforge.net/${PN}/${PN}${PV}.tar.gz +SRC_URI="http://hutchinson.belmont.ma.us/tth/tth-noncom/${PN}_${PV}.tgz" +S="${WORKDIR}"/${PN}_C + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86" + +RDEPEND=" + app-text/ghostscript-gpl + media-libs/netpbm +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.16-Fix-build-with-Clang-16.patch +) + +src_compile() { + # Upstream support a wide variety of obsolete platforms and + # are still active, so no point in patching these, bug #874744. + # http://hutchinson.belmont.ma.us/tth/platform.html + append-flags -std=gnu89 -Wno-strict-prototypes + + emake tth tthsplit +} + +src_install() { + dobin tth latex2gif ps2gif ps2png tthsplit + dodoc CHANGES + doman tth.1 +} |
