Re: TinyX & Gtk

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

 



On Tue, Oct 21, 2003 at 06:56:10PM -0400, Owen Taylor wrote:
> Shouldn't need any. TinyX is just X.

Yes you are right, but, please, let me try to explain myself
better. :)

If I compile a simple application against normal X target I get:

   giometti@zaigor:/home/develop/gtk/gtktinyX/gtk+-2.2.4/examples/helloworld$ make
   gcc helloworld.c -o helloworld -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags --libs`
   giometti@zaigor:/home/develop/gtk/gtktinyX/gtk+-2.2.4/examples/helloworld$ ldd helloworld
	   libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x40028000)
	   libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x40233000)
	   libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x40296000)
	   libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x402ac000)
	   libm.so.6 => /lib/libm.so.6 (0x402bd000)
	   libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x402e0000)
	   libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x40301000)
	   libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4030e000)
	   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40340000)
	   libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40370000)
	   libdl.so.2 => /lib/libdl.so.2 (0x40374000)
	   libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40378000)
	   libc.so.6 => /lib/libc.so.6 (0x403dc000)
	   libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4050a000)
	   libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40512000)
	   libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40520000)
	   libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40531000)
	   libz.so.1 => /usr/lib/libz.so.1 (0x405f9000)
	   libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40608000)
	   libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4060f000)
	   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40636000)
	   /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
	   libexpat.so.1 => /usr/lib/libexpat.so.1 (0x406a0000)

So I need the specific X libraries:

	   libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4050a000)
	   libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40512000)
	   libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40520000)
	   libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40531000)
	   libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40608000)

but if I look into tinyX dirs I get:

   giometti@zaigor:/home/develop/tinyX/build/tinyX$ find . -name 'lib*'
   ./usr/X11R6/lib
   ./usr/X11R6/lib/libXau.a
   ./usr/X11R6/lib/libXdmcp.a

So my question was about how I can get that the GTK doesn't use the
above X libraries or how to get from the tinyX build process the X
libraries needed by the GTK.

I hope I explain better my problem... excuse me for my english! :)

Thanks,

Rodolfo



_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux