gtk + autoconf

2008-04-06 Thread Daniel Fetchinson
Hi folks, I've written a gtk app which I'd like to distribute in source format but I don't have too much experience with autoconf and friends. I compile the program manually like this: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT myprog.o -MD -MP -MF .deps/myprog.Tpo `pkg-config --cflags gtk+-2.0` -c -o

Re: gtk + autoconf

2008-04-06 Thread Andreas Volz
Am Sat, 5 Apr 2008 13:22:25 -0700 schrieb Daniel Fetchinson: Hi folks, ... I got this by copying configure.ac from some other project. As you can see the X dependencies are there but how do I put in the right gtk flags and dependencies? Sorry if this is off topic but autoconf and friends

problem with gtk-doc

2008-04-06 Thread Tomasz Jankowski
Hi! Like in topic. Everything works great, gtk-doc builds types tree, generates descriptions for functions, structures, enumerations and properties. The only thing, which doesn't is generating descriptions for signals. There is no information about signals in output html files. I used comment

Fwd: Query regarding drawing gtk_draw_rectangle API

2008-04-06 Thread nisha jain
Hi All, I have to create a simple box filled with some color. I am using the gdk_draw_rectangle API but it takes gc graphics Context parameter. I am not able to find out proper values for gc. I saw the scribble.c program available but it is not compiling using gcc. Does some one has some

Re: gtk + autoconf

2008-04-06 Thread Rafał Mużyło
On Sat, Apr 05, 2008 at 01:22:25PM -0700, Daniel Fetchinson wrote: AC_PREREQ([2.57]) AC_INIT(myprog,[0.1], [http://mysite/],myprog) AM_INIT_AUTOMAKE([dist-bzip2]) AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) I think AC_CONFIG_HEADERS should be fine above. AC_PROG_CC AC_PROG_INSTALL

Re: gtk + autoconf

2008-04-06 Thread Claudio Saavedra
El sáb, 05-04-2008 a las 13:22 -0700, Daniel Fetchinson escribió: Hi folks, I've written a gtk app which I'd like to distribute in source format but I don't have too much experience with autoconf and friends. I compile the program manually like this: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT

Re: gtk + autoconf

2008-04-06 Thread Daniel Fetchinson
I've written a gtk app which I'd like to distribute in source format but I don't have too much experience with autoconf and friends. I compile the program manually like this: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT myprog.o -MD -MP -MF .deps/myprog.Tpo `pkg-config --cflags gtk+-2.0` -c -o