Re: [Gimp-developer] New Splash for 2.4
On Sep 27 Filipe Soares Dilly ([EMAIL PROTECTED]) wrote: Hi; My name is Filipe Dilly and I'm a digital artist and teacher that uses GIMP for the main image manipulation and painting for about two years. I'm looking for some kind of Splash Screen Contest for the GIMP 2.4. I already did my entry and licensed in CC 3.0: http://filsd.deviantart.com/art/GIMP-2-4-Splash-65909210 . Good thing it wasn't for GIMP 1.4! ;^) SL -- Steve Lipa [EMAIL PROTECTED] gpg fingerprint = 8B68 77D7 9E09 9991 C97E 25FF 6A12 D2B9 EC7D 66C1 ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] plug-in observations/questions
On Apr 06 Sven Neumann ([EMAIL PROTECTED]) wrote: Hi, Steve Lipa [EMAIL PROTECTED] writes: First, the gimp-plugin-template is set up to use a static gimp-help.xml file that always points to a web address: ?xml version=1.0? gimp-help xmlns:template=http://developer.gimp.org/plug-in-template/help; help-item template:id=plug-in-template ref=index.html / /gimp-help This is a misunderstanding. The URL given there is just a unique identifier of the XML namespace declaration for template:. There doesn't need to be any page pointed to by this URL. Please read up on XML namespaces if you want to understand this better or just ask again here. I have posted detailed explanations of the help system earlier on this list. Perhaps we should pull these out of the archives and put them online on developer.gimp.org. Sven: Trust me, I have tried to figure this out by reading through the old archives but I haven't been able to find anything that applies. This problem is exacerbated by the fact that the gimp-devel search engine gives me nothing by error messages about not being able to find a .htaccess file or some such, so it is hard to search effectively. I have found by trial and error that if I don't have this xmlns:etc line pointing to the directory that the documentation is in, the help system simply does not work for me. The approach I am using is the only one that I have been able to get to work. I think most plug-ins will be like mine, in that they will have built-in documentation, so it might make sense for the gimp-plugin-template to have an example of how to do it right. Failing that, I was hoping to do my plug-in right so people could use it as an example. The other plug-ins I've looked at so far simply have not been any help. The latter won't work if GIMP is not installed in the same prefix and I don't understand your problem with the first approach. You cannot simply install GIMP plug-ins somewhere, they need to go into the GIMP plug-in dir which is determined from the gimp-2.0.pc file. What is probably missing here is the addition of $(DESTDIR). I will consider to add that. Sven In the good old days, users could install plug-ins in ~/.gimp-x.x/plug-ins. Up until very recently, gimp-plugin-template (effectively) put plug-ins in ${prefix}/lib/gimp/2.0/plug-ins. The latest CVS version doesn't. But if you say $(GIMP_LIBDIR) will put them in the right place then that's good enough for me! -- Steve Lipa [EMAIL PROTECTED] gpg fingerprint = 8B68 77D7 9E09 9991 C97E 25FF 6A12 D2B9 EC7D 66C1 ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] plug-in observations/questions
On Apr 06 Sven Neumann ([EMAIL PROTECTED]) wrote: The example in the gimp-plugin-template is correct, works and it shows how to install html files distributed with the plug-in. I don't understand why you messed the template up so badly when all you had to do was replacing template with the name of your plug-in and providing a unique URL to identify the help domain registered by your plug-in. OK. Sorry about that. I think what happened was that early on I got my call to gimp_plugin_help_register out of sync with what was in the gimp-help.xml file. That, combined with ignorance, superstition, and hubris led me down the wrong path. Thanks for straightening me out! Steve -- Steve Lipa [EMAIL PROTECTED] gpg fingerprint = 8B68 77D7 9E09 9991 C97E 25FF 6A12 D2B9 EC7D 66C1 ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
[Gimp-developer] plug-in observations/questions
GIMP developers: Congratulations on 2.0, it is extremely nice. I have a couple of observations/questions regarding plug-in updates and would appreciate any feedback you might be willing to share. First, the gimp-plugin-template is set up to use a static gimp-help.xml file that always points to a web address: ?xml version=1.0? gimp-help xmlns:template=http://developer.gimp.org/plug-in-template/help; help-item template:id=plug-in-template ref=index.html / /gimp-help In general a plug-in may not have a static web site to point to, which complicates gimp-help.xml, which must then change at install time. My solution is to supply a temporary file gimp-help.tmp: ?xml version=1.0? gimp-help xmlns:p2m=file:TMPDIR/help help-item p2m:id=file_ample_save ref=file_ample_save.html / help-item p2m:id=file_cif_save ref=file_cif_save.html / help-item p2m:id=file_magic_save ref=file_magic_save.html / help-item p2m:id=file_skill_save ref=file_skill_save.html / help-item p2m:id=file_skill43_save ref=file_skill43_save.html / /gimp-help and modify this at install time by adding the following two lines to .configure.in: GIMPHELPXML=$prefix/share/plugin_name sed -e s#TMPDIR#$GIMPHELPXML#g ./help/en/gimp-help.tmp ./help/en/gimp-help.xml This works for me but I have not released my plug-in update to the wild yet. Does this approach make sense or does anyone have a suggestion for improving it? Recent changes in gimp-plugin-template have changed some things. First, in the file Makefile.am in the src directory, the idea of a PLUGIN_DIR seems to have gone away and the gimp-plugin-template puts the binary in: bindir = $(GIMP_LIBDIR)/plug-ins This destination seems (at least in my case) to be controlled by the contents of my gimp-2.0.pc file and the prefix in that file overrides any --prefix specification that I use when installing the plug-in. It seems to me that for general plug-in users who might not be allowed to write to the system gimplibdir the following makes more sense, and it works for me: bindir = $(prefix)/lib/gimp/2.0/plug-ins Can anyone let me know which of these is better and why? Also, some craziness with Makefile.in.in has rendered the whole gettext system unworkable for me. Since I don't have any translations I just ripped out the po directory and the gettext stuff from .configure.in. Is that crazy? It seems to work fine without it. Thanks in advance for any feedback and for your work on the GIMP. Steve -- Steve Lipa [EMAIL PROTECTED] gpg fingerprint = 8B68 77D7 9E09 9991 C97E 25FF 6A12 D2B9 EC7D 66C1 ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
[Gimp-developer] plug-in update questions
Hello GIMP developers: I am in the process of updating my plug-in (p2m-plugin) to work with GIMP 1.3. My GIMP is based on the gimp-1.3.23.tar.bz2 tarball. Getting the plug-in to work with 1.3 has been fairly straightforward, but I was hoping to get your advice on a couple of topics: 1) My plug-in converts images into integrated circuit or printed circuit board layouts. (You might use it to put your company logo on a chip.) Thus it registers file save handlers. On the other hand, it does not make sense to try to convert layouts to images, so there are no corresponding file load handlers. However, after using my plugin to save logo.jpg as logo.cif, for example, the File/Open Recent menu will include an entry for logo.cif. Is there anything my save handler can do to dissuade GIMP from adding logo.cif to this list? 2) I haven't quite figured out how the help system works. I think I have all of the software installed correctly, including the CVS version of gtkhtml2 and all of the stuff mentioned in devel-docs/README.gtkdoc. When I hit the F1 button, the GIMP Help Browser appears but so does a GIMP Message informing me that my gimp-help.xml file is missing. I am further confused by the fact that gimp-plugin-template-1.3.2 installs PREFIX/share/gimp-plugin-template/help/C/gimp-plugin-template.html while the RGB-mixer plug-in (which seems to be based on the gimp-plugin-template) installs its help as PREFIX/share/gimp/1.3/help/C/filters/RGB-mixer.html I notice that the RGB-mixer plug-in has a GTK_STOCK_HELP button in its dialog but none of the standard plug-ins seem to. Is there any particular reason that I should either include or not include a GTK_STOCK_HELP button? Also, I cannot type anything into what appears to be a URL entry area in the GIMP Help Browser. Is this possibly because I have installed something wrong? Could someone please provide a simplified overview of how the help system works and maybe point me towards what I need to read to figure out how to test my plug-in's help pages? I am mainly interested in knowing if I need to provide xml files (I don't know anything about xml but will learn if I have to...) or if I can get away with html, where they really need to be installed, and how to tell the GIMP where to find them. Thanks very much for any help you can offer, and for your work on the GIMP. 1.3.23 is very nice. Steve -- Steve Lipa [EMAIL PROTECTED] gpg fingerprint = 8B68 77D7 9E09 9991 C97E 25FF 6A12 D2B9 EC7D 66C1 ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Re: Film Gimp and GIMP
On Nov 28 Carol Spears ([EMAIL PROTECTED]) wrote: $1k would not be enough to by the beer for the people who develop The GIMP (if i can at least add correctly). If any GIMP developers come to visit Research Triangle Park (Central North Carolina, USA) please drop me an email. I'd be happy to buy you a beer. Steve -- Steve Lipa [EMAIL PROTECTED] gpg fingerprint = 8B68 77D7 9E09 9991 C97E 25FF 6A12 D2B9 EC7D 66C1 ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer