Re: [pygtk] problem with ong image

2000-08-13 Thread Torsten Landschoff

On Wed, Aug 09, 2000 at 10:35:12AM +0800, James Henstridge wrote:

 Sorry about that.  Here is what I meant to type:
 
 You should be able to fix the problem by using libtool-1.3b to compile
 imlib, and modify its makefiles to link libgdk_imlib.la against the image
 loading modules.  You need libtool-1.3b, as it allows linking one libtool
 library against another.

You know I can't use programs not in Debian for building since we want to 
stay self-contained? Anyway, there must be another solution but I currently
can't build Gnome based packages anyway since I have Helixcode's Gnome 
installed and I can't be sure if the results would be working on plain
Debian :(

Thanks

Torsten

-- 
Torsten Landschoff   Bluehorn@IRC   [EMAIL PROTECTED]
   Debian Developer and Quality Assurance Committee Member

 PGP signature


Re: [pygtk] problem with ong image

2000-08-08 Thread James Henstridge

On Tue, 8 Aug 2000, Torsten Landschoff wrote:

 On Wed, Aug 02, 2000 at 09:45:37AM +0800, James Henstridge wrote:
  
  This problem can be fixed by either modifying the python executable or the
  imlib build process.  You either need to modify imlib so that the image
  loading modules link against libgdk_imlib.so, or modify python so that it
  loads shared libraries with the RTLD_GLOBAL flag (Red Hat makes the second
  change).
 
 Ah, thanks. I did not dig deeper but according to your note this is the same 
 problem as with using GTK+ themes with python-gtk. The latter was fixed
 in the .debs but I am not sure why this problem reappears with the 
 image libraries.
 
 Greetings
 
 Torsten
 
 

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



Re: [pygtk] problem with ong image

2000-08-08 Thread James Henstridge

On Tue, 8 Aug 2000, Torsten Landschoff wrote:

 On Wed, Aug 02, 2000 at 09:45:37AM +0800, James Henstridge wrote:
  
  This problem can be fixed by either modifying the python executable or the
  imlib build process.  You either need to modify imlib so that the image
  loading modules link against libgdk_imlib.so, or modify python so that it
  loads shared libraries with the RTLD_GLOBAL flag (Red Hat makes the second
  change).
 
 Ah, thanks. I did not dig deeper but according to your note this is the same 
 problem as with using GTK+ themes with python-gtk. The latter was fixed
 in the .debs but I am not sure why this problem reappears with the 
 image libraries.

Sorry about that.  Here is what I meant to type:

You should be able to fix the problem by using libtool-1.3b to compile
imlib, and modify its makefiles to link libgdk_imlib.la against the image
loading modules.  You need libtool-1.3b, as it allows linking one libtool
library against another.

 
 Greetings
 
 Torsten
 
 

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



[pygtk] problem with ong image

2000-08-01 Thread YuRiX

hy guys, sorry for my english ... it's orrible  i know 
anyway, this is my first message to this list so i don't know if anybody
has had my problems, in this case sorry !
ok here you are the problems : i can't load png images from my small 
python program using gdk_imlib, and also the view.py example can't do
that.

what did i wrong ?
i have installed  helix gnome on my sweet debian and i get this with 
imlib-config

yurix@gufo:~$ imlib-config --version
1.9.8.1

yurix@gufo:~$ imlib-config --libs
-L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib
-lSM -lICE -lXext -lX11

yurix@gufo:~$ imlib-config --cflags 
-I/usr/X11R6/include

yurix@gufo:~$ imlib-config --libs-gdk
-L/usr/lib -lgdk_imlib -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm

yurix@gufo:~$ imlib-config --cflags-gdk
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include

okay,that's all ! good nigth !
--
E-Mail: YuRiX [EMAIL PROTECTED]
Date: 01-Aug-2000
Time: 22:38:32

This message was sent by XFMail
--

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



Re: [pygtk] problem with ong image

2000-08-01 Thread Torsten Landschoff

On Tue, Aug 01, 2000 at 10:47:35PM +0200, YuRiX wrote:
 hy guys, sorry for my english ... it's orrible  i know 

No problem, but another thing bothers me: As you are using Debian you
should report this bug to the Debian BTS using reportbug for example
or by mail to [EMAIL PROTECTED] 

There is no reason to bother the pygtk developers as long as you don't
know if this problem is Debian specific. 

 ok here you are the problems : i can't load png images from my small 
 python program using gdk_imlib, and also the view.py example can't do
 that.
 
 what did i wrong ?
 i have installed  helix gnome on my sweet debian and i get this with 
 imlib-config

Yep, I have the same problem with helix gnome packages as well. When I 
have the standard gnome packages installed the example works...

Seems like the person at helix code should work this out or we should
merge helix and fix it in Debian...

HTH

Torsten (python-gdk-imlib maintainer)

-- 
Torsten Landschoff   Bluehorn@IRC   [EMAIL PROTECTED]
   Debian Developer and Quality Assurance Committee Member

 PGP signature


Re: [pygtk] problem with ong image

2000-08-01 Thread James Henstridge

On Wed, 2 Aug 2000, Torsten Landschoff wrote:

 On Tue, Aug 01, 2000 at 10:47:35PM +0200, YuRiX wrote:
  hy guys, sorry for my english ... it's orrible  i know 
 
 No problem, but another thing bothers me: As you are using Debian you
 should report this bug to the Debian BTS using reportbug for example
 or by mail to [EMAIL PROTECTED] 
 
 There is no reason to bother the pygtk developers as long as you don't
 know if this problem is Debian specific. 
 
  ok here you are the problems : i can't load png images from my small 
  python program using gdk_imlib, and also the view.py example can't do
  that.
  
  what did i wrong ?
  i have installed  helix gnome on my sweet debian and i get this with 
  imlib-config
 
 Yep, I have the same problem with helix gnome packages as well. When I 
 have the standard gnome packages installed the example works...
 
 Seems like the person at helix code should work this out or we should
 merge helix and fix it in Debian...

This problem can be fixed by either modifying the python executable or the
imlib build process.  You either need to modify imlib so that the image
loading modules link against libgdk_imlib.so, or modify python so that it
loads shared libraries with the RTLD_GLOBAL flag (Red Hat makes the second
change).

Libtool-1.3b (the 1.4 beta) makes the first option quite easy, but doesn't
support all the platforms in the latest 1.3.x release.

 
 HTH
 
 Torsten (python-gdk-imlib maintainer)
 
 

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk