www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/02/13/09:03:06

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=robspanton.com; h=
content-type:date:from:in-reply-to:message-id:mime-version
:references:reply-to:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp;
bh=B67O1H3ZCGPFuiw+KD4uwCQvnwc=; b=cSM1kDHvxua9yNxyXP69AJ+KQudC
KZ/KcRER0XbMNI78bUTN5P2oh2g2fswrXBtg1DcImvwnI7yg2cfkFmftrMDnksqa
S1kAviyo/ibNZ9kNBiQv9Jgtt5PC3/HGaWAwdPtqMdL8DQr9okJ9nJNIVhueAPId
wbyLoMGoOP0Yrc4=
X-Original-DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
messagingengine.com; h=content-type:date:from:in-reply-to
:message-id:mime-version:references:reply-to:subject:to
:x-sasl-enc:x-sasl-enc; s=smtpout; bh=B67O1H3ZCGPFuiw+KD4uwCQvnw
c=; b=IjPgVGDqckiPr3ns++gdwcXhA8UodlrebYb9rwnWBKQPMMrMda/pOCgo+Q
foOETUrL5F9aa73B8zFJs2+1lI8wsi+9fCKf149DouBvuCdQiV/h3DYJm/+cZgoU
yEmN2on1pVcoQ2GnF8OrSgtagVgZYvAEjWHeSMZnksQe8P6rI=
X-Sasl-enc: G+CBqiEqatcFwPsYKQ2tDQsAXla1dTq+/PcyR9ExkeNr 1455372132
Message-ID: <1455372126.5312.7.camel@robspanton.com>
Subject: Re: [geda-user] [PATCH] Elements Window
From: "Rob Spanton (rob AT robspanton DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Date: Sat, 13 Feb 2016 14:02:06 +0000
In-Reply-To: <56BE40DA.7020500@xs4all.nl>
References: <1455231503 DOT 28583 DOT 17 DOT camel AT robspanton DOT com>
<1455234590 DOT 2726 DOT 11 DOT camel AT robspanton DOT com>
<CAC4O8c_G+zhY4HjGSXZ4wBeHKohc51DfFUPHwkNX8OdCErid-g AT mail DOT gmail DOT com>
<1455239739 DOT 2726 DOT 13 DOT camel AT robspanton DOT com>
<1455240917 DOT 2726 DOT 14 DOT camel AT robspanton DOT com> <56BE40DA DOT 7020500 AT xs4all DOT nl>
X-Mailer: Evolution 3.18.4 (3.18.4-1.fc23)
Mime-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--=-DbpyP7rsADpc4fED93cm
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hey Bert,=C2=A0

I wrote:
> You can find the patches I sent in the 'for-master/elementwin' branch
> of my clone of pcb

Bert Timmerman wrote:
> I pulled your branch and tried to build pcb to evaluate.
>=C2=A0
> It barfs on "g_object_class_install_properties" and=C2=A0
> "g_object_notify_by_pspec", both GObject-2.26 functions.

Ah, rats!

> As pcb still has a minimum version for Gtk of 2.18.? (released September=
=C2=A0
> 2009 ... March 2010) we happen to be a bit behind current development.

So it's GObject that's old on your system (Gtk might be too, but it's
not complaining about that).=C2=A0=C2=A0What platform are you building on?

There are two ways of solving it that I can see:

=C2=A01) Increase the version number of GLib required by pcb.=C2=A0=C2=A0(A=
dd a check
=C2=A0=C2=A0=C2=A0=C2=A0into the autotools stuff for this.)

=C2=A02) Rewrite to support older glib version.=C2=A0=C2=A0This can be comb=
ined with
=C2=A0=C2=A0=C2=A0=C2=A0the use of the GLIB_VERSION_MAX_ALLOWED [1] #define=
 to ensure that
=C2=A0=C2=A0=C2=A0=C2=A0it doesn't use any newer features.

Obviously option 1 would result it in it not building on your system
Bert.=C2=A0=C2=A0However, this is quite an old version of GLib, and stickin=
g to it
will prevent things like updates to Gtk 3 (which I have started having a
look into).

I've tried to determine what versions of glib the various distros are
currently shipping:

=C2=A0* Fedora 21: 2.42.2
=C2=A0* Fedora 22: 2.44.1
=C2=A0* Fedora 23: 2.46.2=C2=A0=C2=A0<--- What I'm using
=C2=A0* Ubuntu 12.04 LTS: 2.32.1
=C2=A0* Ubuntu 14.04 LTS: 2.40.0
=C2=A0* Debian Jessie: 2.42.1
=C2=A0* Debian Wheezy (Obsolete): 2.33.12

So as far as I can tell, there aren't really any current (or recently
current!) platforms that don't have GObject 2.26...=C2=A0=C2=A0I'm quite
interested to hear what you're running Bert!

> For the moment I pushed into "home/bert/element_window" and will have to
> look into if both issues can be solved.

I'm happy to help out with that.

Cheers,

Rob

[1] https://developer.gnome.org/glib/stable/glib-Version-Information.html#G=
LIB-V
ERSION-MAX-ALLOWED:CAPS
--=-DbpyP7rsADpc4fED93cm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJWvzdeAAoJELnJXuxeMxdud5kP/08aEjiU6zkdXWdngrth7+vN
43wXcHtw62ASTxk3/Ylat4/SdgDxNY181HYU/8aDWjmUZR90e6TAGC19PYNRwXag
8dm0fzqJLNms5n//DYbpbU5dwz7s07MDk0t04M/SkKIPdQqHgA5XzdLXEo6sbjgW
xfBJz3jC0CVZg1OszI8bR2Xevm2/CBHiagVbz7hRmo2yCNWyHM54AAerWeLwqCk7
EiX4HnW4yd5adH1xkYx0AmWrpxxBAbWryNsZ9I7iOuczfi94Bt91F7F12fC0FARV
BdbeATLWQi95X5RVZcy/3YbPbPYZ1iCDNMR+BFG+A0SsDwkSA7Xl2nDYIp5czSvX
MYgbQo+sARV5tis8VQv+5/I3l6hp4Va0VV33N/jJuh49Mp3ulTdOQ5q92v5e+lYb
pzI6v1SObwN+8bSoiQiB2291mnuLYl2P4wbt2iGZU4kV48vk8xbfeuPDNazALYoj
DH8aT69pqItxDohvGBHLqRHBAq7uSPvo4gH/D5r8KXpzU16n+U9vfBdUpbDNbizv
pwggDWo4FyUMq7EOetincEbwPfqXR1gnt8SG8FKocWmBb+ytTqfZAQ6dMkTPKaPB
B87Huk1drU8qNlJZ7myEC2Mj1JpqaTnGxh3lLnWz881+Can+B2SDKQLSo5h9+/7N
Jv1NeL0UawBdqlwRDjTY
=Gxvs
-----END PGP SIGNATURE-----

--=-DbpyP7rsADpc4fED93cm--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019