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-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=12h6N6rASVxrGALgCCbrjeVi3207uV85qhfmeXjE5h4=; b=n9m1+dVCD/fU/JHA0y5io5mG5/SZVoBEif6rVdzVFBGVsnhHBXMA+rot1wBh91Xg+T qKX2QhrmKU+eNPMPp22T3wUfDqIdDm0CIF+bURkdh+rdXdVhYaIL7PrZtTEWt+Ii37na HjOcFH6Lmm3sjPorheuJmfKzxYpH2rkKnVz1hfadNwmqx57PbhvHUyJItIpDSYBJKdvj n7FZfEUXHEoUZU76eNOIHm5yVGHiB5VsQcfYzKnQsUadpQem5FIfzC0j1Ka7QN4cJixm OvSNAmL6qVu5XvM74scHbA3+OOvPoD01BZoXn6CWwp8hAbSjkBasMdFq9BOYa19pPnZy pQew== X-Received: by 10.180.37.7 with SMTP id u7mr18856896wij.79.1441022495657; Mon, 31 Aug 2015 05:01:35 -0700 (PDT) Date: Mon, 31 Aug 2015 14:01:33 +0200 From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] SQL PCB file format Message-Id: <20150831140133.2dc0456c28430ebcfb0b17b5@gmail.com> In-Reply-To: References: <20150826000523 DOT 353 DOT qmail AT stuge DOT se> <55DDD4DB DOT 2060008 AT ecosensory DOT com> <20150826153031 DOT 4620 DOT qmail AT stuge DOT se> <201508261807 DOT t7QI7sS3003191 AT envy DOT delorie DOT com> <20150826182552 DOT 22702 DOT qmail AT stuge DOT se> X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 I have not had the time myself yet to read through code but are on the same or a similar opinion. It would probably end up something like this: read through source code and find all functions or similar accessing the PCB file and put them in libpcb library file which would be become a storage library. On Mon, 31 Aug 2015 13:32:01 +0200 "Bernhard Kraft (bkraf0j9 AT gmail DOT com) [via geda-user AT delorie DOT com]" wrote: > Hi, > > I raised a similar discussion some months ago. I guess what is missing > are language bindings for the PCB and gschem file format in different > languages (Java, Python, PHP, etc.). I guess many people who "hack > together" a quick solution like I tried will go for some script > language instead of using the natively existing C bindings. > > Maybe it would be easier to create for example PHP bindings to the PCB > file format by creating a php (PECL) library or using JNI to create > Java language bindings from within the existing C code.