* Re: [PR PATCH] [Updated] New package: tth-4.15
2021-08-28 22:54 [PR PATCH] New package: tth-4.15 mtboehlke
@ 2021-08-29 0:08 ` mtboehlke
2021-10-04 0:49 ` mtboehlke
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mtboehlke @ 2021-08-29 0:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]
There is an updated pull request by mtboehlke against master on the void-packages repository
https://github.com/mtboehlke/void-packages tth
https://github.com/void-linux/void-packages/pull/32740
New package: tth-4.15
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
TtH is a standalone TeX to HTML translator that directly translates equations, rather than converting them to images. It requires external programs only when trying to handle embedded graphics (e.g. postscript figures), or if you are using the picture environment, in which case you will need to have `latex` and `dvips` available, presumably from texlive.
A patch file from https://github.com/void-linux/void-packages/pull/32740.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tth-32740.patch --]
[-- Type: text/x-diff, Size: 1108 bytes --]
From 5dbd1940710c188b42364ce85e3f5e724d8b18ef Mon Sep 17 00:00:00 2001
From: Mat Boehlke <mtboehlke@gmail.com>
Date: Fri, 27 Aug 2021 14:17:53 -0500
Subject: [PATCH] New package: tth-4.15
---
srcpkgs/tth/template | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 srcpkgs/tth/template
diff --git a/srcpkgs/tth/template b/srcpkgs/tth/template
new file mode 100644
index 000000000000..6aec4ccd5cd8
--- /dev/null
+++ b/srcpkgs/tth/template
@@ -0,0 +1,23 @@
+# Template file for 'tth'
+pkgname=tth
+version=4.15
+revision=1
+wrksrc="tth_C"
+depends="ghostscript netpbm"
+short_desc="TeX to HTML translator"
+maintainer="Matt Boehlke <mtboehlke@gmail.com>"
+license="custom:TtH"
+homepage="http://hutchinson.belmont.ma.us/tth"
+distfiles="${homepage}/tth-noncom/tth_C.tgz"
+checksum=83c1f39fbf3377fb43e3d01d042302fa91f8758aa9acc10e22fe8af140f0126c
+
+do_build() {
+ ${CC} -o tth ${CPPFLAGS} ${CFLAGS} tth.c ${LDFLAGS}
+}
+
+do_install() {
+ vlicense license.txt LICENSE
+ vdoc tth_manual.html
+ vman tth.1
+ install -t "${DESTDIR}/usr/bin" -Dm755 tth ps2png ps2gif latex2gif
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: tth-4.15
2021-08-28 22:54 [PR PATCH] New package: tth-4.15 mtboehlke
2021-08-29 0:08 ` [PR PATCH] [Updated] " mtboehlke
@ 2021-10-04 0:49 ` mtboehlke
2021-10-04 0:49 ` [PR PATCH] [Closed]: " mtboehlke
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mtboehlke @ 2021-10-04 0:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
New comment by mtboehlke on void-packages repository
https://github.com/void-linux/void-packages/pull/32740#issuecomment-933064245
Comment:
I am closing this PR for now, as it's not particularly high quality for a new package. Tth is freely licensed, but not completely open source software: only the lex'd output is released. Tth doesn't produce particularly modern HTML.
If anyone wants it, it's pretty straightforward to build yourself. Just hit it with gcc.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: New package: tth-4.15
2021-08-28 22:54 [PR PATCH] New package: tth-4.15 mtboehlke
2021-08-29 0:08 ` [PR PATCH] [Updated] " mtboehlke
2021-10-04 0:49 ` mtboehlke
@ 2021-10-04 0:49 ` mtboehlke
2021-10-04 0:49 ` mtboehlke
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mtboehlke @ 2021-10-04 0:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1752 bytes --]
There's a closed pull request on the void-packages repository
New package: tth-4.15
https://github.com/void-linux/void-packages/pull/32740
Description:
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
[TtH](http://hutchinson.belmont.ma.us/tth) is a standalone TeX to HTML translator that directly translates equations, rather than converting them to images. It requires external programs only when trying to handle embedded graphics (e.g. postscript figures), or if you are using the picture environment, in which case you will need to have `latex` and `dvips` available, presumably from texlive.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: tth-4.15
2021-08-28 22:54 [PR PATCH] New package: tth-4.15 mtboehlke
` (2 preceding siblings ...)
2021-10-04 0:49 ` [PR PATCH] [Closed]: " mtboehlke
@ 2021-10-04 0:49 ` mtboehlke
2021-10-04 0:50 ` mtboehlke
2021-10-04 0:50 ` mtboehlke
5 siblings, 0 replies; 7+ messages in thread
From: mtboehlke @ 2021-10-04 0:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
New comment by mtboehlke on void-packages repository
https://github.com/void-linux/void-packages/pull/32740#issuecomment-933064245
Comment:
I am closing this PR for now, as on second thought, it's not particularly high quality for a new package. Tth is freely licensed, but not completely open source software: only the lex'd output is released. Tth doesn't produce particularly modern HTML.
If anyone wants it, it's pretty straightforward to build yourself. Just hit it with gcc.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: tth-4.15
2021-08-28 22:54 [PR PATCH] New package: tth-4.15 mtboehlke
` (3 preceding siblings ...)
2021-10-04 0:49 ` mtboehlke
@ 2021-10-04 0:50 ` mtboehlke
2021-10-04 0:50 ` mtboehlke
5 siblings, 0 replies; 7+ messages in thread
From: mtboehlke @ 2021-10-04 0:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
New comment by mtboehlke on void-packages repository
https://github.com/void-linux/void-packages/pull/32740#issuecomment-933064245
Comment:
I am closing this PR for now, as on second thought, it's not particularly high quality for a new package. Tth is freely licensed, but not completely open source software: only the lex'd output is released. Tth doesn't produce particularly modern HTML either.
If anyone wants it, it's pretty straightforward to build yourself. Just hit it with gcc.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: tth-4.15
2021-08-28 22:54 [PR PATCH] New package: tth-4.15 mtboehlke
` (4 preceding siblings ...)
2021-10-04 0:50 ` mtboehlke
@ 2021-10-04 0:50 ` mtboehlke
5 siblings, 0 replies; 7+ messages in thread
From: mtboehlke @ 2021-10-04 0:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
New comment by mtboehlke on void-packages repository
https://github.com/void-linux/void-packages/pull/32740#issuecomment-933064245
Comment:
I am closing this PR for now, as on second thought, it's not particularly high quality for a new package. Tth is freely licensed, but not completely open source software: only the lex'd output is released. Tth doesn't produce particularly modern HTML either.
If anyone wants it, it's pretty straightforward to build yourself. Just hit it with gcc or your favorite C compiler.
^ permalink raw reply [flat|nested] 7+ messages in thread