Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] Manipulating raw
  • From: Jerome Lyles <susemail@xxxxxxxxxxxxx>
  • Date: Tue, 11 May 2004 21:33:53 -1000
  • Message-id: <200405112133.53312.susemail@xxxxxxxxxxxxx>
On Tuesday 11 May 2004 05:56 pm, Fred Miller wrote:
> On Tuesday 11 May 2004 7:46 pm, Jerome Lyles wrote:
>
> [snip]
>
> Jerome, one more time - why aren't you using Gimp 2.0, as you have it
> installed as part of 9.0 on that box? IF you use that release, which is
> much better than 1.2, I can send you dcraw which you will need to import
> RAW images, and the gimp plugin.
>
> Fred

Fred, I did upgrade to gimp2, things are better but not yet correct. Here's
some of the output from gimptool:

> gimptool --install rawphoto.c
gcc -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -Wall
-I/opt/gnome/include/gimp-2.0 -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0
-I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-o /home/adriel/.gimp-2.0/plug-ins/rawphoto rawphoto.c -L/opt/gnome/lib
-lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0
-lgimpbase-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0
rawphoto.c:27:21: gtk/gtk.h: No such file or directory
rawphoto.c:29:26: libgimp/gimp.h: No such file or directory
rawphoto.c:30:28: libgimp/gimpui.h: No such file or directory
rawphoto.c:38: warning: type defaults to `int' in declaration of `gchar'
rawphoto.c:38: error: parse error before '*' token
rawphoto.c:44: error: parse error before "load_dialog"
rawphoto.c:44: error: parse error before '*' token
rawphoto.c:44: warning: type defaults to `int' in declaration of `load_dialog'
rawphoto.c:44: warning: data definition has no type or storage class
rawphoto.c:45: error: parse error before "load_image"
rawphoto.c:45: error: parse error before '*' token

<snip>

The script doesn't find gtk.h,gimp.h and gimpui.h but two are in the system,
I'm not sure about gtk.h:
> locate gimp.h
/usr/include/libgimp/gimp.h

> locate gimpui.h
/usr/include/libgimp/gimpui.h

locate gtk.h
/opt/gnome/include/gedit-2.4/gedit/recent-files/egg-recent-view-gtk.h
/usr/lib/xemacs/21.5.16/i386-suse-linux/include/console-gtk.h
/usr/lib/xemacs/21.5.16/i386-suse-linux/include/event-gtk.h
/usr/lib/xemacs/21.5.16/i386-suse-linux/include/gccache-gtk.h
/usr/lib/xemacs/21.5.16/i386-suse-linux/include/glyphs-gtk.h
/usr/lib/xemacs/21.5.16/i386-suse-linux/include/objects-gtk.h
/usr/lib/xemacs/21.5.16/i386-suse-linux/include/scrollbar-gtk.h
/usr/lib/xemacs/21.5.16/i386-suse-linux/include/ui-gtk.h

I have dcraw loaded:
> locate dcraw
/usr/bin/dcraw

Thanks,
Jerome





< Previous Next >