From a66fce758b982ebae42cf55b91a148498ba24fc5 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Wed, 4 Mar 2026 08:14:43 +0100 Subject: gnu: xschem: Update and improve package. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/electronics.scm (xschem)[source]: Update url. [inputs]: Add libjpeg-turbo. [arguments]<#:phases>: Delete ’setenv; restore and customize ’configure. [home-page]: Update. Change-Id: I4262e40e9fb61e8413d39466351fcc75b0131631 --- gnu/packages/electronics.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index d2688a2a0d..d1c1f4090a 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -3525,7 +3525,7 @@ and components. The following simulation kernels are supported: (origin (method git-fetch) (uri (git-reference - (url "https://github.com/StefanSchippers/xschem") + (url "https://codeberg.org/stef_xschem/xschem/") (commit version))) (file-name (git-file-name name version)) (sha256 @@ -3537,17 +3537,17 @@ and components. The following simulation kernels are supported: tk libxpm cairo + libjpeg-turbo libxrender - libxcb)) ; Last 3 are optional, but good to have. + libxcb)) ; Last 4 are optional, but good to have. (build-system gnu-build-system) (arguments (list #:tests? #f #:phases #~(modify-phases %standard-phases - (delete 'configure) - (add-before 'build 'setenv - (lambda* (#:key outputs #:allow-other-keys) + (replace 'configure + (lambda _ (setenv "CC" #$(cc-for-target)) (invoke "./configure" (string-append "--prefix=" #$output))))))) (synopsis "Hierarchical schematic editor") @@ -3555,7 +3555,7 @@ and components. The following simulation kernels are supported: "Xschem is an X11 schematic editor written in C and focused on hierarchical and parametric design. It can generate VHDL, Verilog or Spice netlists from the drawn schematic, allowing the simulation of the circuit.") - (home-page "https://xschem.sourceforge.io/stefan/index.html") + (home-page "http://repo.hu/projects/xschem/xschem_man/xschem_man.html/") (license license:gpl2+))) (define-public route-rnd -- cgit v1.3