Re: [Gimp-developer] a GEGL integration strategy

2005-03-07 Thread Robert Ögren
Hi everybody,

On Tue, 14 Dec 2004, Øyvind Kolås wrote:

 The suggestion of starting the integration process of GEGL into gimp
 with the paint tools came up on irc today.

 I have put some thought into the order such a conversion might happen in,

   blend
   pencil
...
 The order lists what I think is increasing level of complexity in usage
 of gegl for the tasks, such a multipurpose gegl tool can probably be
 implemented and coexist with the rest of the tools while the migration
 happens.

Please forgive me if this question is too basic, but I don't understand in
which way the paint tools are going to be implemented as GEGL ops.  Will
each stroke be a separate node in the graph, or will several strokes
be accumulated into one node? Or am I completely misunderstanding things
here? What will the graph look like after a stroke with the pencil tool?

What happens when you save an image into xcf2 (or whatever it will be)? Is
there a point where parts of the graph are flattened, or will all
manipulations that have ever been done to the image be replayed when the
image is loaded again?

(I have looked through the GEGL API docs and the GGGL pages so I think I
understand the graph and operation stuff, it's the integration with GIMP
I'm interested to hear more about.)

Thanks in advance
Robert
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] CVS HEAD dependency on glib-2.6 / gtk+-2.6

2005-02-08 Thread Robert Ögren
On Mon, 7 Feb 2005, Hal V. Engel wrote:

 So I did some more looking around on my system and it turned out that I
 had 2 versions of pango installed in 2 locations (1.6 in /usr/local/lib
 and 1.8 in /opt/gnome/lib).  So I cleaned this up. I also checked
 everything else related to GTK and GIMP to make sure that I had no
 duplicates before moving on.

Did you also check that there were no files named for example
libgdk-x11-2.0.so* in /usr/local/lib  or anywhere else on the system
except for /opt/gnome/lib?
(that file is a part of GTK+)

 I then un-installed (just to make sure) and built GLIB, Pango, ATK and
 GTK.  There were no apparent problems during the build process.  But
 now when I try to run GIMP I get the following error message:

 gimp: error while loading shared
 libraries: /opt/gnome/lib/libgtk-x11-2.0.so.0: undefined
 symbol:gdk_threads_lock

 I get the same error message when I try to run Firefox and GKrellM.
 This is the same error message I was getting after I installed the GTK
 2.4 RPMs.  I tested GIMP after building each library and it was fine
 until GTK was installed.  I can get these running again by backing out
 GTK to the version that shipped with my distro.

 I did a search of the gtk-list, gtk-app-devel-list and gtk-devel-list
 and there was a thread on this error message on the gtk-list.  But it
 was a dead end as there was no solution to the problem posted in the
 thread.  Any ideas about what might be causing this?

To me that sounds like it's picking up a 2.2 version of libgdk which
didn't have that symbol. You could try running:

ldd /path/to/gimp-2.0

to see which shared libraries it depends on. If it seems to pick up
libgdk or libgtk from any other directory than /opt/gnome/lib (if that's
where you installed GTK+), then you have a problem. You could also check
the result of  ldd /opt/gnome/lib/libgtk-x11-2.0.so.0

You can run

objdump -T  /opt/gnome/lib/libgdk-x11-2.0.so.0 | grep lock

to make sure that the gdk_threads_lock symbol indeed exists in the
libgdk you built. It should be listed in the output from grep.

Hope this helps
Robert
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] CVS HEAD dependency on glib-2.6 / gtk+-2.6

2005-02-08 Thread Robert Ögren
On Tue, 8 Feb 2005, Hal V. Engel wrote:

 On Tuesday 08 February 2005 13:15, Robert Ögren wrote:
 snip
  Did you also check that there were no files named for example
  libgdk-x11-2.0.so* in /usr/local/lib  or anywhere else on the system
  except for /opt/gnome/lib?
  (that file is a part of GTK+)

 Yes I did exactly that.  I did the same for glib, pango and atk.  But I
 did not try the same for gdk since this is not listed as a dependency
 for GTK.

Actually, it is not a dependency. GDK is a part of GTK+ that more or less
abstracts the low-level interaction with the windowing system (X11, Win32
etc). So, installing GTK+ installs several library files, for example
libgdk_pixbuf, libgdk and libgtk. In the same way, GLib consists of
libglib, libgmodule, libgobject and libgthread; Pango has libraries like
libpango, libpangoft2, libpangox, libpangoxft, libpangowin32 etc etc. And
in addition some other stuff like configuration files and header files
gets installed as well.

If you encounter any more problems you might want to take another look in
/usr/local to see if there is more old stuff there. (But don't delete
files randomly ;) )

 The result is full of joy as GIMP and Firefox now run with out errors.

 Thanks for all the help.  I will now be able to follow the development
 of GIMP and can hopefully help guide the implementation of color
 management.

I'm glad to hear that!

Robert
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] CVS HEAD dependency on glib-2.6 / gtk+-2.6

2005-02-06 Thread Robert Ögren
On Sun, 6 Feb 2005, Michael Schumacher wrote:

 Nathan Summers wrote:

  For a long time the policy was that we used the most recent devel
  branch release.  When did that change?  CVS HEAD is a little too
  fast-moving, but I don't have a problem with using the latest devel
  version, and I don't remember anyone else having a problem with it,
  either.

 I'd hate to have to build my own GTK+ - it is absolutely
 non-straight-forward on Win32, rather forth-back-forth-back...

I don't find it much more complicated than building GIMP once the build
environment is set up properly (though that can be a bit complicated).
What might be needed are better instructions for doing that.

Here's a rather good step in that direction:
http://mail.gnome.org/archives/gtk-devel-list/2005-January/msg00091.html


Robert
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer