Bug 70442 - new ebuild for tth
Bug#: 70442 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: text-markup@gentoo.org Reported By: nielchiano@skynet.be
Component: Ebuilds
URL: 
Summary: new ebuild for tth
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2004-11-08 02:48 0000
Description:   Opened: 2004-11-08 02:48 0000
TTH is a tool that converts (La)TeX documents to HTML.
This is a VERY BAD ebuild, but it works and does the job.
It's my first ebuild I wrote, so there will be TONS of beginner-mistakes in it!

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Installing tth by hand isn't difficult at all (just 1 gcc command to issue), but
I decided to write an ebuild for it anyway, since I like it better when things
are cleanly managed by portage.

use at your own risk (as always)

------- Comment #1 From Niels Laukens 2004-11-08 02:50:44 0000 -------
Created an attachment (id=43523) [details]
ebuild for tth

There is NO version checking!!!
I tested it for 3.64

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2004-11-09 09:57:50 0000 -------
Hi, thanks for using and playing with Gentoo :)

Feel free and relax to write your first ebuild.
It looks nice and tidy though you created it for 
the first time. 

However, there are several mistakes you need
to change. First, it doesn't contain ebuild header
(see the top of /usr/portage/skel.ebuild). It is
required for every ebuild to go into our CVS.
Second, DEPEND="virtual/glibc" should be
DEPEND="virtual/libc" (we changed the name
convention). Also, if DEPEND == RDEPEND,
you shouldn't write RDEPEND. See "DEPEND
and RDEPEND" in Gentoo Developers Handbook
(http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=3&chap=1).
Lastly, LICENSE could be "free-noncomm"
as license.txt says:
"You may freely use this software for non-commercial purposes."
(then you need to add "dodoc license.txt" in turn)

There are several other things I'd like
to add, but that'd be too much for the
first ebuild lesson ;) 

Please rewrite your ebuild following the
instruction above, and attach it here
when you're done. Thanks in advance.

------- Comment #3 From Niels Laukens 2004-11-24 09:59:41 0000 -------
ok, just to let you know that I will (try to) update this, but am currently
"out of spare time"

------- Comment #4 From Niels Laukens 2005-02-12 03:46:56 0000 -------
Created an attachment (id=51046) [details]
new version and changed beginner-mistakes

Ok, low-spare-time-condition solved (exams are over)...

They updated the version, so I changed the ebuild to reflect that.

I also corrected the mentioned beginner-mistakes. anything more I need to
change?

------- Comment #5 From Mamoru KOMACHI (RETIRED) 2005-02-12 06:25:51 0000 -------
LICENCE should be LICENSE, but that's not big deal.
(I corrected it anyway) It compiles and runs flawlessly ;)
I made several changes to your ebuild and commit it. 
If you have any question about the changes I made, 
feel free to ask. (please post comments to this bug)
Thanks for your contribution.

------- Comment #6 From Niels Laukens 2005-02-12 06:55:46 0000 -------
Does that mean that the file will be availible on the gentoo-file-servers? or
will it be downloaded from the author's site?

because you can only download the latest version from the author, so if a new
version get's released it will break the digest, etc.

------- Comment #7 From Horace Ip 2005-02-24 12:52:09 0000 -------
utilities: ps2gif ps2png latex2gif should be installed as well...

add dobin tth ps2gif ps2png latex2gif as well ?

------- Comment #8 From JZd 2006-09-15 11:14:09 0000 -------
ttd works on AMD64, please consider augmenting its KEYWORDS with ~amd64.

------- Comment #9 From davide.angelocola@tiscali.it 2007-03-13 22:43:30 0000 -------
(In reply to comment #8)
> ttd works on AMD64, please consider augmenting its KEYWORDS with ~amd64.
I confirm