Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28989 - Guash for the GIMP
Summary: Guash for the GIMP
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-17 09:25 UTC by chris strom
Modified: 2005-05-15 14:37 UTC (History)
2 users (show)

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


Attachments
Guash ebuild (guash-2.3.0.ebuild,779 bytes, text/plain)
2003-09-17 09:29 UTC, chris strom
Details
Guash ebuild (guash-2.3.0.ebuild,906 bytes, text/plain)
2003-09-17 14:40 UTC, chris strom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chris strom 2003-09-17 09:25:51 UTC
I don't know how people function with the Gimp without the Guash plug-in.  I
know I can't.  I'll attach an ebuild that I've created for it.
Comment 1 chris strom 2003-09-17 09:29:30 UTC
Created attachment 17894 [details]
Guash ebuild

Couple of weird things about this ebuild.  The registry.gimp.org site requires
query params appended to the source file.  I work around this with a
src_compile function.  Couldn't find any other examples of this in portage. 
Also, there's no configure script in the source, so the ebuild does
compile/install manually using gimptool (part of the Gimp).
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-17 13:11:07 UTC
chris, please attach a proper ebuild with the header information (Specifically the copyright information). Also, is it really necessary to rename the tarball?
Comment 3 chris strom 2003-09-17 14:40:25 UTC
Created attachment 17921 [details]
Guash ebuild

Here it is with the header.  I thought that got added automatically, sorry.

I grepped through all of the SRC_URIs in portage, but couldn't find any others
that have to handle query string params.  Renaming the source was the only way
that I could get the unpack to work (got errors when unpacking the query
stringed source).  

I'm new to gentoo & ebuilds so it's entirely possible that there's another way
to handle this situation that I'm not aware of.
Comment 4 foser (RETIRED) gentoo-dev 2003-09-20 03:00:22 UTC
doesn't guash have a version, an ebuild should be versioned. And i don't like the fact much that a script has to fetch the plugin, aren't they all dumped in an ftp dir somewhere ?

anyway, i'm not sure about adding gimp plugins, we might open the floodgates.
Comment 5 chris strom 2003-09-20 17:59:53 UTC
The ebuild does use the standard SRC_URI mechanism for downloading the source.  It just has to rename it after downloading it because of the query parameter.  If there is an FTP repository, I have not been able to find it.  I suppose I could contact the site maintainer...

The ebuild could also use the RESTRICT=fetch mechanism, requiring the user to manually insert the source into distfiles.  I was just being cute with the mv thing.

This ebuild is for 2.3.0 - it's named guash-2.3.0.ebuild on my system.

As I'm not a gentoo developer, I can't speak as to what the policy for gimp plug-ins should be.  I can point out that you've already got at least one in portage - gimp-freetype ;)
Comment 6 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-15 14:37:11 UTC
No developer took this ebuild under their wing, so closing. If someone wants to maintain it, feel free to re-open/assign.