Re: building a library using gtk+

2006-05-17 Thread Rick Jones
So I try to build a library. libglpp.a: $(OBJ3) GLPPmain.o #g++ -shared $(OPT) $(DEBUG) $(OBJ3) GLPPmain.o -o glpp.so `pkg-config --libs gtk+-2.0` $(LIBS) -lftgl ar r libglpp.a $(OBJ3) GLPPmain.o The first line did not work, and I'm hoping someone can give me the right set of command

Re: building a library using gtk+

2006-05-17 Thread John Cupitt
On 5/16/06, Dov Kruger [EMAIL PROTECTED] wrote: If I run pkg-config and capture the output, this is what it puts out: -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 So I want to

Re: building a library using gtk+

2006-05-17 Thread Rick Jones
I handle this by making my own .pc file for my library. It's fairly easy to get your configure script to generate one and install it correctly, but I could post an example if you like. One you have a mylibrary.pc installed, your users can compile and link with: g++ main.cpp `pkg-config

Re: building a library using gtk+

2006-05-17 Thread John Cupitt
On 5/17/06, Rick Jones [EMAIL PROTECTED] wrote: I handle this by making my own .pc file for my library. It's fairly easy to get your configure script to generate one and install it correctly, but I could post an example if you like. One you have a mylibrary.pc installed, your users can

Gtk+ / DirectFb / Pango performance

2006-05-17 Thread Clif Swiggett
Hi All - I'm hoping I can get some guidance here. I'm cross compiling Gtk+ (latest CVS) to an ARM9 board. DirectFB performance is great - I can fill the screen with text using DirectFB font rendering and it appears instantaneous to a user. However, Gtk / pango font rendering is incredibly slow.

Re: building a library using gtk+

2006-05-17 Thread Rick Jones
John Cupitt wrote: On 5/17/06, Rick Jones [EMAIL PROTECTED] wrote: I handle this by making my own .pc file for my library. It's fairly easy to get your configure script to generate one and install it correctly, but I could post an example if you like. One you have a mylibrary.pc

Re: building a library using gtk+

2006-05-17 Thread Dov Kruger
Since originally posting this question, I've used the linker to try to create a dll. ar just assembles a number of .o files, I don't believe it resolves any symbols which is useless to me. So, I did ld -dll -o libglpp $(OBJ3) GLPPmain.o -L/opt/lib -lftgl -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0

Re: building a library using gtk+

2006-05-17 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/17/2006 11:06 AM, Dov Kruger wrote: Since originally posting this question, I've used the linker to try to create a dll. ar just assembles a number of .o files, I don't believe it resolves any symbols which is useless to me. So, I did ld

GTK 1.3 Windows problems *after a while*

2006-05-17 Thread Philippe Morange
Hi,I don't know if this will ring a bell, but I certainly hope so.Looking through archives, I haven't been able to find an answer to this...Using GTK 1.3.0 under Windows, I use the application, and after a long time of using it, it will eventually (but not always) begin to behave badly, icons will

Re: #80127 Rubberbanding issues

2006-05-17 Thread Kristian Rietveld
On Tue, May 16, 2006 at 05:37:06PM +0100, Ross Burton wrote: On Tue, 2006-05-16 at 12:25 -0400, Matthias Clasen wrote: II. The rectangle color is currently hardcoded to black, since that looks best with the default theme. Picking a shade of one of the theme colors for the