Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120199 - media-gfx/ale (new ebuild)
Summary: media-gfx/ale (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-01-24 09:39 UTC by Dario Ernst
Modified: 2010-09-26 18:05 UTC (History)
3 users (show)

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


Attachments
first try ebuild (ale-0.8.3.ebuild,895 bytes, text/plain)
2006-01-24 09:40 UTC, Dario Ernst
Details
2nd try ebuild (ale-0.8.3.ebuild,985 bytes, text/plain)
2006-01-24 10:39 UTC, Dario Ernst
Details
ale docs (ale-0.8.3-docs.tar.bz2,13.74 KB, application/octet-stream)
2006-01-24 10:39 UTC, Dario Ernst
Details
3nd try ebuild (ale-0.8.3.ebuild,979 bytes, text/plain)
2006-02-03 09:00 UTC, Dario Ernst
Details
4th try ebuild - doc fixed (ale-0.8.3.ebuild,974 bytes, text/plain)
2006-02-08 05:46 UTC, Dario Ernst
Details
5th try ebuild ($S was useless) (ale-0.8.3.ebuild,952 bytes, text/plain)
2006-02-12 12:38 UTC, Dario Ernst
Details
media-gfx/ale-0.8.5.ebuild (ale-0.8.5.ebuild,1.08 KB, text/plain)
2007-01-20 06:22 UTC, Daniel Lin
Details
media-gfx/ale-0.8.6.ebuild (ale-0.8.6.ebuild,1.08 KB, text/plain)
2007-03-04 06:23 UTC, Daniel Lin
Details
media-gfx/ale-0.8.8.1.ebuild (ale-0.8.8.1.ebuild,1.08 KB, text/plain)
2007-06-13 04:10 UTC, Tarmo Tänav
Details
New version available (ale-0.8.11.2.ebuild,1.16 KB, text/plain)
2009-09-25 13:01 UTC, nando.sm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dario Ernst 2006-01-24 09:39:30 UTC
ale, the Anti-Lamenessing Engine is a image manipulation tool which can do really great things rescueing unsharp images or images taken with a faulty lens. it can also render high quality images from a few low quality images. i think this should be included in gentoo, so i tried writing my 2nd ebuild :P
Comment 1 Dario Ernst 2006-01-24 09:40:15 UTC
Created attachment 78004 [details]
first try ebuild

now this is the first ebuild try for this package :P its media-gfx/ale
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2006-01-24 09:58:14 UTC
Hi,

There are some things you may want to fix in your ebuild.

In /usr/portage you will find a file called skel.ebuild. If you were to declare variables in the order they appear (DESCRIPTION, HOMEPAGE, SRC_URI), it would make it more organized.

You do not have to cd into "${WORKDIR}/${P}", that's the default behavior.
In src_install(), dobin ale should be enough.

Have you tested this in ppc?
http://dev.gentoo.org/~ciaranm/docs/mw-faq/keywords.txt

Also, don't forget to install documentation if any is available.
http://dev.gentoo.org/~ciaranm/docs/mw-faq/docfiles.txt

Cheers,
Marcelo
Comment 3 Dario Ernst 2006-01-24 10:39:01 UTC
Created attachment 78012 [details]
2nd try ebuild

i adapted marcelos tips - thanks alot - looks a bit cleaner now (and probably is). and yes i tested it on my ppc7445 ibook and it compiled fine. also i added a tarball with the html docs (next attachment), and installed those.

concerning the html docs ... its okay to distribute those. quote:
"Copyright 2003, 2004, 2005 David Hilvert

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved."
Comment 4 Dario Ernst 2006-01-24 10:39:33 UTC
Created attachment 78013 [details]
ale docs

the mentioned docs
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2006-02-02 14:05:56 UTC
Ok, more stuff to fix:

You might want to use ${P} instead of ale-0.8.3.
http://dev.gentoo.org/~ciaranm/docs/mw-faq/hardcoded.txt

ALE is GPL-2, not GPL-1 (License).

Why did you define DC? You're not using it anywhere, as far as I can tell.

Variables like ${S} and ${WORKDIR} should be under quotes:
http://dev.gentoo.org/~ciaranm/docs/mw-faq/quoting.txt

Also, where did that documentation come from? Did you mirror ALE's on-line manual? (Nothing against it, just want to be sure :-).

Cheers and thanks for your work,
Marcelo
Comment 6 Dario Ernst 2006-02-03 09:00:53 UTC
Created attachment 78809 [details]
3nd try ebuild

thanks for the tips! applied them :P

concerning the docs - yes they are mirrored from the page. but as to see in the footer its okay to include it as long as we do not modify it.
Comment 7 Marcelo Goes (RETIRED) gentoo-dev 2006-02-03 10:23:17 UTC
Ok, looks good.
Have you tested that dohtml -r command locally?
It's not installing for me, and for the life of me I can't figure out why.
Comment 8 Dario Ernst 2006-02-08 05:46:12 UTC
Created attachment 79225 [details]
4th try ebuild - doc fixed

you were right - the docs didnt get installed. fixed that now.
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-12 12:25:35 UTC
- S="${WORKDIR}"/"${P}" is the default and therefore superfluous
Comment 10 Dario Ernst 2006-02-12 12:38:40 UTC
Created attachment 79601 [details]
5th try ebuild ($S was useless)

hm - youre right. this is another thing i have overlooked :( sorry. somehow i only found that its 'common' to name that variable $S but not that its done by default.

thanks anyway :P
Comment 11 Daniel Lin 2007-01-20 06:22:29 UTC
Created attachment 107502 [details]
media-gfx/ale-0.8.5.ebuild

I updated the ebuild for 0.8.5, which is autotooled and bundles (unbuilt) documentation.  It isn't getting built quite correctly, though, and I'm not sure why.
Comment 12 Daniel Lin 2007-03-04 06:23:16 UTC
Created attachment 112019 [details]
media-gfx/ale-0.8.6.ebuild

Oops.  I'd been using this for a while but forgot to update the bug.

Here's 0.8.6.  The full documentation is built now.
Comment 13 Ben Schwartz 2007-03-24 03:07:15 UTC
I can confirm that the ebuild for 0.8.6 is completely functional, and was useful to me.
Comment 14 Tarmo Tänav 2007-06-13 04:10:12 UTC
Created attachment 121879 [details]
media-gfx/ale-0.8.8.1.ebuild
Comment 15 Tarmo Tänav 2007-06-13 04:11:18 UTC
I've bumped the ebuild to 0.8.8.1 and fixed a bug with compilation always failing with "emake chunk failed" if the "doc" use flag was disabled.
Comment 16 Daniel Lin 2007-06-15 14:46:51 UTC
Hah, thanks for the fix.  That was pretty dumb of me ;)
Comment 17 Tim Cera 2009-03-29 22:57:39 UTC
Can bump this ebuild to 0.8.11.1.  Tested on ~amd64.
Comment 18 nando.sm 2009-09-25 13:01:11 UTC
Created attachment 205206 [details]
New version available

Stable version 0.8.11.2
Comment 19 nando.sm 2009-09-25 13:03:47 UTC
Comment on attachment 205206 [details]
New version available

There is no threads use flag... although it is in the configuration. What is need to be done?
Comment 20 Kristian Niemi 2010-09-26 18:05:41 UTC
Trying out the ebuild, but emerge fails with a segfault.

Running amd64 (with some ~amd64 thrown in as well).

build.log : http://pastie.org/1182799
emerge --info : http://pastie.org/1182803

Any help would be appreciated.