Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70442 - new ebuild for tth
Summary: new ebuild for tth
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-11-08 02:48 UTC by Niels Laukens
Modified: 2007-03-13 22:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tth-3.64.ebuild (tth-3.64.ebuild,412 bytes, text/plain)
2004-11-08 02:50 UTC, Niels Laukens
Details
new version and changed beginner-mistakes (tth-3.66.ebuild,514 bytes, text/plain)
2005-02-12 03:46 UTC, Niels Laukens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niels Laukens 2004-11-08 02:48:10 UTC
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 Niels Laukens 2004-11-08 02:50:44 UTC
Created attachment 43523 [details]
tth-3.64.ebuild

There is NO version checking!!!
I tested it for 3.64
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-09 09:57:50 UTC
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 Niels Laukens 2004-11-24 09:59:41 UTC
ok, just to let you know that I will (try to) update this, but am currently "out of spare time"
Comment 4 Niels Laukens 2005-02-12 03:46:56 UTC
Created attachment 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 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-12 06:25:51 UTC
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 Niels Laukens 2005-02-12 06:55:46 UTC
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 Horace Ip 2005-02-24 12:52:09 UTC
utilities: ps2gif ps2png latex2gif should be installed as well...

add dobin tth ps2gif ps2png latex2gif as well ?
Comment 8 JZd 2006-09-15 11:14:09 UTC
ttd works on AMD64, please consider augmenting its KEYWORDS with ~amd64.
Comment 9 davide.angelocola 2007-03-13 22:43:30 UTC
(In reply to comment #8)
> ttd works on AMD64, please consider augmenting its KEYWORDS with ~amd64.
I confirm