gdk-pixbuf and gir

2012-02-10 Thread Patrick Welche
I'm not sure which list to post this too... When compiling gdk-pixbuf 2.24.1 with gobject-introspection 1.30.0, python 2.6.7 has the following problem: libtool: link: gcc -std=gnu99 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -I/usr/pkgsrc/graphics/gdk-pixbuf2/work.x86_64/.buildlink/include -Wall -Wl,-

Re: gdk-pixbuf and gir

2012-02-10 Thread Patrick Welche
On Fri, Feb 10, 2012 at 04:37:36PM +, Patrick Welche wrote: > I'm not sure which list to post this too... > > When compiling gdk-pixbuf 2.24.1 with gobject-introspection 1.30.0, > python 2.6.7 has the following problem: ... > OSError: [Errno 2] No such file or

Re: Glib linking error: undefined reference to ...

2012-02-20 Thread Patrick Welche
On Fri, Feb 17, 2012 at 12:20:22AM +0100, Christian Arnold wrote: > glibTest.c:24: undefined reference to `g_timer_new' > glibTest.c:32: undefined reference to `g_random_double' > glibTest.c:36: undefined reference to `g_timer_stop' > glibTest.c:55: undefined reference to `g_str_hash' > ... > > I

Re: Having problems installing ATK, getting configure error regarding glib

2012-08-24 Thread Patrick Welche
On Fri, Aug 24, 2012 at 11:47:37PM +0530, ajinkya jayawant wrote: > PKG_CONFIG_PATH="/home/jink/gtkin/lib/pkgconfig" What does the Version line in /home/jink/gtkin/lib/pkgconfig/glib-2.0.pc say? Are there any other glib-2.0.pc files around with other version numbers? Cheers, Patrick (going back

Re: Having problems installing ATK, getting configure error regarding glib

2012-08-24 Thread Patrick Welche
On Sat, Aug 25, 2012 at 12:19:53AM +0530, ajinkya jayawant wrote: > @patrick.line says Version: 2.32.4.no there are no other files similar to > glib-2.0.pc.but i am sure there is another version installed somewhere in > system folders.but it shouldnt make a difference as long as i am giving > libra

Re: Glib Install Error

2012-08-28 Thread Patrick Welche
On Tue, Aug 28, 2012 at 08:36:58AM +0800, zhang.hen...@zte.com.cn wrote: > My name is Jeff. When i install glib of the version 2.32.4, i got the > following error notice in blue font- ... > /usr/bin/env: python2.5: No such file or directory Do you have python installed? If so, you may wish to se

Re: glib compile problem

2013-03-01 Thread Patrick Welche
On Thu, Feb 28, 2013 at 10:45:22PM -0800, Sergei Steshenko wrote: > >   GEN      test.gresource > > test.gresource.xml: Error on line 6 char 1: Failed to execute child process > > "" (No such file or directory). > > Any ideas where to look for the problem? > > I don't know where the missing file

Re: Problem compiling glib

2013-04-04 Thread Patrick Welche
On Wed, Apr 03, 2013 at 06:19:10PM -0400, Chris Fisichella wrote: > /usr/bin/xmllint: symbol lookup error: > /usr/local/lib/libreadline.so.6: undefined symbol: PC Does "xmllint --help" work? (Guess: you have an xmllint from a distribution, linked against a libreadline from a distribution. Somehow

Re: Problem compiling glib

2013-04-04 Thread Patrick Welche
On Thu, Apr 04, 2013 at 11:04:02AM -0700, Sergei Steshenko wrote: > Interestingly enough my self-built 'xmllint' which is a part of libxml2-2.9.0 > doesn't at all show dependency on 'readline': Indeed - my xmllint also doesn't depend on readline. I looked on an ubuntu system and found that there

Re: Problem compiling glib

2013-04-05 Thread Patrick Welche
On Fri, Apr 05, 2013 at 07:49:24AM -0400, Chris Fisichella wrote: > Thanks for the debugging help. I noticed how Sergei has libraries in other > places besides /usr/local. Did "xmllint --help" work? > I am not familiar -rpath you mentioned earlier. Where can I find > information about that? On

Re: Installing GTK+ 3.8.0

2013-09-13 Thread Patrick Welche
On Fri, Sep 13, 2013 at 05:28:14PM +0100, Patrick Welche wrote: > On Fri, Sep 13, 2013 at 12:25:34PM -0400, Mack J. Jenkins wrote: > > The following is returned. > > > > [root@yws14 ~]# > > PKG_CONFIG_PATH=/usr/local/packages/glib/2.34.0/lib/pkgconfig pkg-config

Re: Installing GTK+ 3.8.0

2013-09-13 Thread Patrick Welche
On Fri, Sep 13, 2013 at 11:56:44AM -0400, Mack J. Jenkins wrote: > I do know what it was installed, and I assigned the PKG_CONFIG_PATH variable, > and it still does not install. > > I tried to install this way, > > PKG_CONFIG_PATH=/usr/local/packages/glib/2.34.0/lib/pkgconfig/ ./configure >

Re: Installing GTK+ 3.8.0

2013-09-13 Thread Patrick Welche
On Fri, Sep 13, 2013 at 12:19:09PM -0400, Mack J. Jenkins wrote: > Yes, in this section I am trying to build ATK, only because GTK tells me I > have to have it, in order to build GTK. But yes, the install fails and it > says it can not find glib-2.0.pc. Just to test, what does this say: PKG_

Re: Installing GTK+ 3.8.0

2013-09-13 Thread Patrick Welche
On Fri, Sep 13, 2013 at 12:25:34PM -0400, Mack J. Jenkins wrote: > The following is returned. > > [root@yws14 ~]# PKG_CONFIG_PATH=/usr/local/packages/glib/2.34.0/lib/pkgconfig > pkg-config --modversion glib-2.0 > 2.34.0 and your original? PKG_CONFIG_PATH=/usr/local/packages/glib/2.34.0/lib/pkgc

Re: Installing GTK+ 3.8.0

2013-09-13 Thread Patrick Welche
On Wed, Sep 11, 2013 at 04:36:50PM -0400, Mack J. Jenkins wrote: > I have tried a few different ways to assign glib-2.0.pc to the variable > PKG_CONFIG_PATH, but it continues to fail. Is there some trick I am missing > out on since I am new to ATK and GTK+? Do you know where glib-2.0.pc was p

svg icons

2013-11-10 Thread Patrick Welche
I'm trying to debug why svg icons are not displayed on my system. gtk_icon_theme_list_icons() does list gnome theme png icons, but no svg icons. (Is this a useful function to use to debug this?) Big assumption: I don't need to render svg icons, because I have libpixbufloader-svg.so and an svg ent

Re: Stock items (button images / menu images etc)

2014-01-06 Thread Patrick Welche
On Mon, Jan 06, 2014 at 03:11:46PM +, John Emmas wrote: > Is the source code for gtk-update-icon-cache.exe available anywhere? Maybe > I could get some clues about the problem if I could read the source code. It is essentially in this file: https://git.gnome.org/browse/gtk+/tree/gtk/update

gdk_pixbuf_marshal link problem

2006-07-18 Thread Patrick Welche
With CVS glib and gtk+, gcc 4.1.2 20060628 prerelease, binutils 2.16.1, libtool: link: gcc -DG_DISABLE_DEPRECATED -g -O2 -Wall -Wl,-R/usr/local/lib -o .libs/gdk-pixbuf-csource gdk-pixbuf-csource.o -L/usr/local/lib ./.libs/libgdk_pixbuf-2.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/lib

glib & gtk-doc

2003-05-31 Thread Patrick Welche
Given the excellent documentation on line, is it really necessary to *require* gtk-doc to build glib from CVS? gtk-doc in turn requires docbook, jade, libxslt, libxml (and perl). I really don't see why I *have* to install docbook and jade just to build glib, would making this optional be considered

Re: glib & gtk-doc

2003-06-04 Thread Patrick Welche
On Fri, May 30, 2003 at 05:50:30PM -0400, Owen Taylor wrote: > On Thu, 2003-05-29 at 14:35, Patrick Welche wrote: > > Given the excellent documentation on line, is it really necessary > > to *require* gtk-doc to build glib from CVS? gtk-doc in turn requires > > docbook, jade,

glib m4 patch for new aclocal

2003-10-08 Thread Patrick Welche
As new aclocal will multiply process .m4 files, the macro names in AC_DEFUN should be quoted (otherwise they get substituted with the definition on the second pass), so please apply the enclosed trivial patch. BTW trying a build with todays cvs I get: gcc -shared .libs/garray.o .libs/gasyncqueue

2.16 vs 2.18 difference

2010-01-27 Thread Patrick Welche
I am trying to track down https://bugzilla.gnome.org/show_bug.cgi?id=607775 and it is beginning to look like a regression in gtk 2.16 -> 2.18, but it I am finding it hard to put my finger on what changed. Basically, if you start dasher on a gtk 2.18 + cairo system, the GtkDrawingArea is the defaul

Re: 2.16 vs 2.18 difference

2010-01-27 Thread Patrick Welche
On Wed, Jan 27, 2010 at 04:09:51PM +0100, Mario Kemper wrote: > Am Mittwoch, den 27.01.2010, 14:36 + schrieb Patrick Welche: > > I am trying to track down > > https://bugzilla.gnome.org/show_bug.cgi?id=607775 > > and it is beginning to look like a regression in gtk 2.1

Re: 2.16 vs 2.18 difference

2010-01-27 Thread Patrick Welche
On Wed, Jan 27, 2010 at 04:02:30PM +0100, David Ne??as wrote: > On Wed, Jan 27, 2010 at 02:36:43PM +0000, Patrick Welche wrote: > > I am trying to track down https://bugzilla.gnome.org/show_bug.cgi?id=607775 > > and it is beginning to look like a regression in gtk 2.16 -> 2.1

GtkAllocation accessor

2010-06-01 Thread Patrick Welche
Currently, gtk_widget_get_allocation is defined as: void gtk_widget_get_allocation (GtkWidget *widget, GtkAllocation *allocation) { g_return_if_fail (GTK_IS_WIDGET (widget)); g_return_if_fail (allocation != NULL); *allocation = widget->allocation; } To use i

Re: GtkAllocation accessor

2010-06-01 Thread Patrick Welche
On Tue, Jun 01, 2010 at 04:21:40PM +0200, Tadej Borov??ak wrote: > You don't need to free a because it's allocated on a stack. OK! > This is how a code snippet looks now: > > GtkAllocation a; > gtk_widget_get_allocation (w, &a); > do_some_calc (a.width, a.height); > > and this is how it would l

Re: GtkAllocation accessor

2010-06-02 Thread Patrick Welche
OK, I shouldn't have mentioned memory. Trying again. Why was void gtk_widget_get_allocation(GtkWidget *widget, GtkAllocation *allocation) chosen, rather than GtkAllocation *gtk_widget_get_allocation(GtkWidget *widget) ? Cheers, Patrick ___ gtk-

Re: GtkAllocation accessor

2010-06-02 Thread Patrick Welche
On Wed, Jun 02, 2010 at 01:31:30PM +0100, Emmanuele Bassi wrote: > On Wed, 2010-06-02 at 12:17 +0100, Patrick Welche wrote: > > OK, I shouldn't have mentioned memory. Trying again. > > > > Why was > > > > void gtk_widget_get_allocation(GtkWidget *

Re: GtkAllocation accessor

2010-06-02 Thread Patrick Welche
On Wed, Jun 02, 2010 at 02:47:26PM +0200, Tadej Borov??ak wrote: > Hi. > > > No it doesn't, which is why GtkAllocation is causing the problem with > > GSEAL_ENABLE, viz: > > > >  GdkWindow *gtk_widget_get_window(GtkWidget *widget); > > > > not > > > >  void gtk_widget_get_window(GtkWidget *widget,

Re: GtkAllocation accessor

2010-06-02 Thread Patrick Welche
On Wed, Jun 02, 2010 at 03:01:18PM +0200, Tadej Borov??ak wrote: > Hi. > > > OK - you did see my constructor example, no? It would be cleaner the other > > way, wouldn't it? > > I'm not a GTK+ developer and cannot speak for them, but having > consistent API is far more important to me than having s

Re: GtkAllocation accessor

2010-06-02 Thread Patrick Welche
On Wed, Jun 02, 2010 at 03:23:21PM +0200, Tadej Borov??ak wrote: > Hello. > > > #if GTK_CHECK_VERSION (2,18,0) > > static GtkAllocation *dasher_get_widget_allocation(GtkWidget *w) > > { > >        GtkAllocation a; > > > >        gtk_widget_get_allocation(w, &a); > > > >        return &a; > > } > >

Re: GtkAllocation accessor

2010-06-02 Thread Patrick Welche
On Wed, Jun 02, 2010 at 02:45:56PM +0100, Emmanuele Bassi wrote: > because if you get a pointer to an internal data structure you're > allowing people to use it. using const would also not work because of > the (lax) semantics of const in C. it would, in essence, allow you to > poke around with int

Re: Makefile for GTK2 programs?

2010-08-18 Thread Patrick Welche
On Wed, Aug 18, 2010 at 10:26:45AM +0300, Juhana Sadeharju wrote: > I have now the following in Makefile. Very messy. It does not work; > I get errors: undefined reference to `gtk_text_view_new' and the like. When does the error happen? If it is at run time, you may want to add -Wl,-R/home/juhana/

Re: Can't find XK_Num_Lock when trying to compile gtk+3.0.10

2011-06-23 Thread Patrick Welche
On Thu, Jun 23, 2011 at 08:52:49AM -0400, twu...@goodyear.com wrote: > I am on SuSE 10.1 and believe I have all the prerequisite packages > installed, yet I get: > > CC gdkkeys-x11.lo > gdkkeys-x11.c: In function 'get_xkb': > gdkkeys-x11.c:235: error: 'XK_Num_Lock' undeclared (first use in

Re: Can't find XK_Num_Lock when trying to compile gtk+3.0.10

2011-06-23 Thread Patrick Welche
a new note to the list > > thanks again! > > tom > > > > > > From: Patrick Welche > To: twu...@goodyear.com > Cc: gtk-list@gnome.org > Date: 06/23/2011 09:17 AM > Subject:Re: Can't find XK_Num_Lock when trying to compile

Re: gtk+-3.0.10: undefined reference to `XCompositeReleaseOverlayWindow'

2011-06-23 Thread Patrick Welche
On Thu, Jun 23, 2011 at 10:10:28AM -0400, twu...@goodyear.com wrote: > I looked at the configure output and there was nothing good or bad > relating to composite. > > here is the line from "ldd .libs/libgdk-3.so" > > libXcomposite.so.1 => /usr/X11R6/lib64/libXcomposite.so.1 > (0x2ba

Re: gtk+-3.0.10: undefined reference to `XCompositeReleaseOverlayWindow'

2011-06-23 Thread Patrick Welche
On Thu, Jun 23, 2011 at 11:00:17AM -0400, twu...@goodyear.com wrote: > I reconfigured with --disable-xcomposite > and got MUCH further in the compile, but now hit: > > CCLD gtk-query-immodules-3.0 > ./.libs/libgtk-3.so: undefined reference to `pango_cairo_show_glyph_item' Same sort of lark: p

Re: gtk+-3.0.10: undefined reference to `XCompositeReleaseOverlayWindow'

2011-06-27 Thread Patrick Welche
On Fri, Jun 24, 2011 at 10:25:04AM +0100, Emmanuele Bassi wrote: > On 2011-06-23 at 18:53, Patrick Welche wrote: > > On Thu, Jun 23, 2011 at 11:00:17AM -0400, twu...@goodyear.com wrote: > > > I reconfigured with --disable-xcomposite > > > and got MUCH further

combo box trouble

2011-12-01 Thread Patrick Welche
I have been staring at my code for too long - I must be missing something very obvious! Attached is what I hope is a minimal example with: - a quit button - a populated combo box - a not populated combo box The quit button works in that when you press it, the application stops. This tests that si

Re: Building gtk+-3.2.3 on natty

2012-01-03 Thread Patrick Welche
On Sun, Jan 01, 2012 at 05:59:18PM -0800, john beritz wrote: > Could someone please tell me how to build gtk+-3.2.3 on Ubuntu natty > (classic no-effects) I've been trying to do this for a week ! First I > Please, Please help me!! I don't see errors in your message - what went wrong? Cheers, Pa

Re: Building gtk+-3.2.3 on natty

2012-01-06 Thread Patrick Welche
On Wed, Jan 04, 2012 at 09:58:23PM -0800, john beritz wrote: > gdkwindow-x11.c: In function '_gdk_x11_moveresize_handle_event': > gdkwindow-x11.c:4301:9: error: 'XIEvent' undeclared (first use in this > function) ... It seems that there is an inconsistency between #defines: n XThe part in gdkwin

Re: GLib Installation Issues

2012-01-24 Thread Patrick Welche
On Tue, Jan 17, 2012 at 11:36:14PM +, Jon Pisani wrote: > I am trying to install Ettercap 0.7.4 on my Backtrack 5 R1 box. One of the > dependencies is glib 2.0.0 or greater. I successfully installed it with no > errors, but when I go to install other dependencies that require glib, I get > t