X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Mon, 4 Jan 2016 17:57:54 +0100 (CET) From: Roland Lutz To: geda-user AT delorie DOT com Subject: Re: [geda-user] should we broaden scope of libgeda In-Reply-To: <20160102205101.327B9809D79C@turkos.aspodata.se> Message-ID: References: <20160102091556 DOT BBC6D809D79B AT turkos DOT aspodata DOT se> <20160102190222 DOT 63BE6809D79B AT turkos DOT aspodata DOT se> <20160102205101 DOT 327B9809D79C AT turkos DOT aspodata DOT se> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII 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 Precedence: bulk On Sat, 2 Jan 2016, karl AT aspodata DOT se wrote: > Roland Lutz: >> On Sat, 2 Jan 2016, karl AT aspodata DOT se wrote: >>> and move xorn to a more finished state, as far as scripting is >>> conserned ? >> >> Yes, that's the idea. > > Ok, I'm in. But I have to fix my dev box first, a week or so. :) As far as gEDA/gaf is concerned, the logical next step would be to have gschem use the Xorn data structures and storage library. However, this would mean that either the libgeda dependencies would have to be untangled first, or libgedacairo and the other programs using libgeda (gaf, gattrib, gnetlist, gsymcheck, utils/gschlas, contrib/sarlacc_schem) would have to be ported to Xorn in the same process which would make things significantly more complicated. My approach so far has been to port the other programs to Xorn first. I've already done this with the most complex program, gnetlist, and started porting libgedacairo and gattrib. However, there are some unexpeced problems: * having a Guile API seems to be important for some users, but Guile doesn't seem to provide Python bindings * libgedacairo implements overbar text in a way that isn't compatible with the Python bindings for Pango * gattrib uses a GTK spreadsheet widget which isn't supported any more, and there doesn't seem to be a functionally equivalent alternative Therefore, it might be necessary to split the libgeda code and keep an unmodified version around for some time. This way, gschem and libgeda could be refactored together without having to worry about breaking the other programs.