diff options
author | Cayetano Santos <csantosb@inventati.org> | 2025-08-01 21:04:37 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-08-01 21:48:59 +0200 |
commit | 0902c70eef5ffb618cc2ea418eefebf7633545da (patch) | |
tree | 927d7e23736db0ed83a495f8efc4c2a461b21ad0 /gnu | |
parent | ed042737f96fd76e572d2eee6f1d30ac7d4228e0 (diff) |
gnu: lepton-eda: Remove dependency on geda tools.
* gnu/packages/engineering.scm (lepton-eda)[inherit]: Remove.
[build-system]: Set to gnu-build-system.
[arguments]<#:configure-flags>: Remove pcb references; add
--enable-guild and --enable-contrib.
[native-inputs]: Copy list from gead-gaf.
[inputs]: Remove m4 and pcb.
[synopsys, license]: Add them.
Change-Id: I0e1f01534d1eea1acc2f4b7cd6eac92f462ab834
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/engineering.scm | 70 |
1 files changed, 37 insertions, 33 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 2390a06ab0..fb7f0f7d06 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -427,39 +427,39 @@ utilities.") (license license:gpl2+))) (define-public lepton-eda - ;; This is a fork of gEDA/gaf started in late 2016. One of its goal is to - ;; keep and to extend Guile support. (package - (inherit geda-gaf) (name "lepton-eda") (version "1.9.18-20220529") - (home-page "https://github.com/lepton-eda/lepton-eda") (source (origin (method git-fetch) (uri (git-reference - (url home-page) - (commit version))) + (url "https://github.com/lepton-eda/lepton-eda/") + (commit version))) (sha256 (base32 "06plrcab3s2rpyf0qv2gzc1yp33627xi8105niasgixckk6glnc2")) (file-name (git-file-name name version)))) + (build-system gnu-build-system) (arguments (list #:configure-flags - #~(let ((pcb #$(this-package-input "pcb"))) - ;; When running "make", the POT files are built with the build time as - ;; their "POT-Creation-Date". Later on, "make" notices that .pot - ;; files were updated and goes on to run "msgmerge"; as a result, the - ;; non-deterministic POT-Creation-Date finds its way into .po files, - ;; and then in .gmo files. To avoid that, simply make sure 'msgmerge' - ;; never runs. See <https://bugs.debian.org/792687>. - (list "ac_cv_path_MSGMERGE=true" "--with-gtk3" - (string-append "--with-pcb-datadir=" pcb - "/share") - (string-append "--with-pcb-lib-path=" pcb - "/share/pcb/pcblib-newlib:" - pcb "/share/pcb/newlib") - "CFLAGS=-fcommon")) + #~(list + ;; When running "make", the POT files are built with the build time as + ;; their "POT-Creation-Date". Later on, "make" notices that .pot + ;; files were updated and goes on to run "msgmerge"; as a result, the + ;; non-deterministic POT-Creation-Date finds its way into .po files, + ;; and then in .gmo files. To avoid that, simply make sure 'msgmerge' + ;; never runs. See <https://bugs.debian.org/792687>. + "ac_cv_path_MSGMERGE=true" + ;; FIXME: pcb package is broken at this point; it might be replaced + ;; by pcb-rnd or use pcb again when fixed. + ;; (string-append "--with-pcb-datadir=" pcb "/share") + ;; (string-append "--with-pcb-lib-path=" pcb + ;; "/share/pcb/pcblib-newlib:" pcb "/share/pcb/newlib") + "--with-gtk3" + "CFLAGS=-fcommon" + "--enable-guild" + "--enable-contrib") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-tests @@ -540,24 +540,27 @@ utilities.") (unsetenv "LD_LIBRARY_PATH") (invoke "make" "precompile")))))) (native-inputs - (modify-inputs (package-native-inputs geda-gaf) - (prepend autoconf - automake - desktop-file-utils - libtool - gettext-minimal - texinfo - groff - which))) + (list autoconf + automake + desktop-file-utils + flex + gettext-minimal + groff + gawk + libtool + pkg-config + m4 + perl + texinfo)) (inputs (list glib gtk+ gtksheet guile-3.0 guile-readline - shared-mime-info - m4 - pcb)) + shared-mime-info)) + (home-page "https://lepton-eda.github.io/") + (synopsis "GPL Electronic Design Automation") (description "Lepton EDA ia an @dfn{electronic design automation} (EDA) tool set forked from gEDA/gaf in late 2016. EDA tools are used for electrical circuit @@ -565,7 +568,8 @@ design, schematic capture, simulation, prototyping, and production. Lepton EDA includes tools for schematic capture, attribute management, bill of materials (BOM) generation, netlisting into over 20 netlist formats, analog and digital simulation, and printed circuit board (PCB) layout, and many other -features."))) +features.") + (license license:gpl2+))) (define-public pcb (package |