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
Created attachment 78004 [details] first try ebuild now this is the first ebuild try for this package :P its media-gfx/ale
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
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."
Created attachment 78013 [details] ale docs the mentioned docs
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
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.
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.
Created attachment 79225 [details] 4th try ebuild - doc fixed you were right - the docs didnt get installed. fixed that now.
- S="${WORKDIR}"/"${P}" is the default and therefore superfluous
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
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.
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.
I can confirm that the ebuild for 0.8.6 is completely functional, and was useful to me.
Created attachment 121879 [details] media-gfx/ale-0.8.8.1.ebuild
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.
Hah, thanks for the fix. That was pretty dumb of me ;)
Can bump this ebuild to 0.8.11.1. Tested on ~amd64.
Created attachment 205206 [details] New version available Stable version 0.8.11.2
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?
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.