Mail Archives: geda-user/2017/02/14/18:30:37
--=-=-=
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 -