Porting Gnome1 apps to Gnome 2 using Garnome



I'm a bit confused regarding the development environment setup.
I have Gnome1 (mandrake 8.2) with all the dev packages. I've been developing BitLeaf as a Gnome1 app and It's time to port. The thing is,
1. I'm using gnome-config to get the cflags and the libs stuff for building, I would probably have to move to pkg-config right?

2. When I do pkg-config --cflags gnome for example, I get
-DNEED_GNOMESUPPORT_H -I/usr/include/gnome-1.0 -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include

That's all gnome 1 stuff,, even though I'm runnig pkgconfig from the garnome directory.

Also, what's the correct way to install garnome in /usr like gnome1 (or where ever gnome1 is installed). Do I just make the build prefix /usr (currently I build garnome in /opt).

Thx
-  - -- ----  ----------------------------------------- --- -- -   -
Ahmad Baitalmal
BitBuilder
web: http://www.bitbuilder.com
-  - -- ----  -------------------------------------------------------------- --- -- -   -


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]