delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/02/14/18:30:37

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
From: geda AT psjt DOT org (Stephan =?utf-8?Q?B=C3=B6ttcher?=)
To: "Svenn Are Bjerkem \(svenn.bjerkem\@googlemail.com\) \[via geda-user\@delorie.com\]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] New gEDA/gaf features
References: <alpine DOT DEB DOT 2 DOT 11 DOT 1702141710390 DOT 14019 AT nimbus>
<s6nefz0a72x DOT fsf AT blaulicht DOT dmz DOT brux>
<CAGde_xNi3Yt3fDz=uGiR2M740eObKsJ9fyzZRPmk-MsQ2z20jQ AT mail DOT gmail DOT com>
<s6ny3x88krq DOT fsf AT blaulicht DOT dmz DOT brux>
Date: Wed, 15 Feb 2017 00:29:26 +0100
In-Reply-To: <s6ny3x88krq.fsf@blaulicht.dmz.brux> ("Stephan \=\?utf-8\?Q\?B\?\=
\=\?utf-8\?Q\?\=C3\=B6ttcher\=22's\?\=
message of "Tue, 14 Feb 2017 23:34:01 +0100")
Message-ID: <s6n37fg8i7d.fsf@blaulicht.dmz.brux>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
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

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

geda AT psjt DOT org (Stephan B=C3=B6ttcher) writes:

>>> Maybe I am confused, please help me understand.
>>>
>>> When I pull and build git://git.geda-project.org/geda-gaf, I will now
>>> get gschem and gnetlist from Roland, with the new xorn/python machinery
>>> underneath?
>>
>> You will get gschem the way it is currently handled by Roland.
>
> It looks like the old gnetlist is still in there, my patches apply
> cleanly.  And I get:
>
> $ gnetlist
> *** The new netlister frontend has been disabled during configuration. ***
> *** If you want to use the lecagy frontend instead, you can select it  ***
> *** by adding (set! use-legacy-frontend #t) to your gnetlistrc file.   ***

./configure --disable-update-xdg-database --disable-xorn

With these changes it works


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=11d73fe8b0163e2.patch

diff --git a/gnetlist/src/gnetlist.c b/gnetlist/src/gnetlist.c
index 2541f1e1a..44a27d595 100644
--- a/gnetlist/src/gnetlist.c
+++ b/gnetlist/src/gnetlist.c
@@ -195,26 +195,19 @@ void main_prog(void *closure, int argc, char *argv[])
     scm_c_define ("use-legacy-frontend", SCM_BOOL_F);
     g_rc_parse (pr_current, argv[0], "gnetlistrc", rc_filename);
 
+#ifdef HAVE_XORN
     /* Unless `use-legacy-frontend' has been set to #t in the configuration,
        switch to the refactored netlister frontend. */
     if (scm_is_false (scm_variable_ref (
                         scm_c_lookup ("use-legacy-frontend")))) {
-#ifdef HAVE_XORN
       const char *path = BINDIR "/gnetlist2";
       errno = 0;
       execv (path, argv);
       fprintf (stderr, _(
                  "ERROR: Can't pass control to the gnetlist2 executable: %s\n"
                  "[%s]\n"), strerror (errno), path);
-#else
-      fprintf (stderr, _(
-"*** The new netlister frontend has been disabled during configuration. ***\n"
-"*** If you want to use the lecagy frontend instead, you can select it  ***\n"
-"*** by adding (set! use-legacy-frontend #t) to your gnetlistrc file.   ***\n"
-                 ));
-#endif
-      exit (1);
     }
+#endif
 
     /* immediately setup user params */
     i_vars_init_gnetlist_defaults ();
diff --git a/libgeda/lib/system-gafrc b/libgeda/lib/system-gafrc
index 8e5a1a79e..de6fe8c59 100644
--- a/libgeda/lib/system-gafrc
+++ b/libgeda/lib/system-gafrc
@@ -108,7 +108,7 @@
 ; dark background. The dark background is the original look.
 ;
 ;(load (build-path geda-rc-path "print-colormap-darkbg")) ; dark background
-(primitive-load (build-path geda-rc-path "print-colormap-lightbg")) ; light background
+;(primitive-load (build-path geda-rc-path "print-colormap-lightbg")) ; light background
 
 
 ;;;; Process configuration script directory

--=-=-=
Content-Type: text/plain


(My "fork" ist located at git://git.psjt.org/geda-gaf branch parameter_911440.)

-- 
Stephan

--=-=-=--

- Raw text -


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