Re: [Gimp-developer] new layer modes patch posted

2010-08-15 Thread Rupert Weber
I posted an amended version of the layermode patch, which is the one 
that changes the enums (not the libgimp one).

I'm sorry, looking back at the messages I left on bugzilla, it was 
extremely unclear which patch is which -- thus starting the confusion.

Hopefully someone will be able to successfully wade through that mess...

BTW -- is there any way to edit existing messages on bugzilla? I didn't 
find anything.

Rupert
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] new layer modes patch posted

2010-08-15 Thread Rupert Weber
On 08/15/2010 08:14 AM, David Gowers wrote:

> (which, while being auto-generated, also change infrequently enough
> that they *are* version-controlled),
> have not been included.

Ha, and I went out of my way to keep them out of the patch... ;o)

> I suggest merging these changes with the patch to libgimp, since that
> is the one that introduces the new enums.

Actually, it's the layer mode patch. The libgimp patch only introduces 
the new conversion functions, not the enums.

> I'll attach the amended patch to bug #325564.

Thanks
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] new layer modes patch posted

2010-08-14 Thread David Gowers
On Sun, Aug 15, 2010 at 3:22 AM, Rupert Weber  wrote:
> I posted a new version (v3) of the layer modes patch (split in two) to
>        http://bugzilla.gnome.org/show_bug.cgi?id=325564
>
> The libgimp functions and the layer mode stuff are each in a separate
> patch now.
>
> [The message I wrote there is misleading. "along with the other v3
> patch" was just supposed to mean that it accompanies the first patch.
> There is no third patch missing.]

Works quite well (and fast!) IMO. Infinitely better than the old modes :)

I noticed when I tried to pull the latest changes from GIT HEAD, that
the automatically-generated changes to :

app/base/base-enums.c
libgimp/gimpenums.h
tools/pdbgen/enums.pl

(which, while being auto-generated, also change infrequently enough
that they *are* version-controlled),
have not been included. That means, after applying the 2 (or 3)
patches and rebuilding GIMP, these outstanding changes prevent you
from pulling the latest changes.

I suggest merging these changes with the patch to libgimp, since that
is the one that introduces the new enums.
Actually, I can do that..
But you might still want to know how..

1. Create a commit containing the missing changes
2. Use 'git format-patch' to generate a patch from it
3. Rewind to just before your first patch ('git reset --hard ')
4. Apply the libgimp patch, then the patch created in step 2
5. 'git rebase -i ' to rewrite part of your local history
(where  is the hash of the commit immediately before the
libgimp commit)
6. change the line  relating to the commit created in step 1, to say
'squash' instead of 'edit', save, and exit.
7. 'git format-patch HEAD~..HEAD'. This will output the amended libgimp patch.

I'll attach the amended patch to bug #325564.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] new layer modes patch posted

2010-08-14 Thread Rupert Weber
I posted a new version (v3) of the layer modes patch (split in two) to
http://bugzilla.gnome.org/show_bug.cgi?id=325564

The libgimp functions and the layer mode stuff are each in a separate 
patch now.

[The message I wrote there is misleading. "along with the other v3 
patch" was just supposed to mean that it accompanies the first patch. 
There is no third patch missing.]


Additionally, I also posted a patch for the Decompose plug-in to
http://bugzilla.gnome.org/show_bug.cgi?id=626944

(that one builds on top of the libgimp patch)



Regards

Rupert
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer