development/lepton-eda: Updated for version 1.9.10.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
dmn 2020-03-28 11:44:15 +07:00 committed by Willy Sudiarto Raharjo
parent 96301f7395
commit 07205918d4
4 changed files with 37 additions and 20 deletions

View file

@ -1,12 +1,8 @@
Lepton EDA (Lepton Electronic Design Automation)
The Lepton EDA suite provides schematic capture, netlisting, bill
of materials generation, and many other features. It was forked
from the gEDA/gaf suite in late 2016.
The file format for schematics remains the same, and Lepton EDA
can be used as a drop-in replacement for geda-gaf, though parallel
installation is also supported (all programs have been renamed).
Many bugs have been fixed and new features added. It's in active
development and well supported.
Lepton EDA is a suite of free software tools for designing
electronics. It provides schematic capture, netlisting into
over 30 netlist formats, and many other features.
It was forked from the gEDA/gaf suite in late 2016 by most
of its active developers at that time.
It's in active development and well supported.

View file

@ -2,7 +2,7 @@
# Slackware build script for lepton-eda
# Copyright 2019 dmn <graahnul.grom@gmail.com>, Russia
# Copyright 2019-2020 dmn <graahnul.grom@gmail.com>, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lepton-eda
VERSION=${VERSION:-1.9.9}
VERSION=${VERSION:-1.9.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,6 +69,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# apply patches:
#
for p in $CWD/patches/*
do
patch --verbose -p1 < $p
done
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -82,11 +89,6 @@ CXXFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--build=$ARCH-slackware-linux
# gschemdoc.scm file must be regenerated by make to substitute
# the @docdir@ (set by the --docdir configure option):
#
rm -vf schematic/scheme/gschem/gschemdoc.scm
make
make install DESTDIR=$PKG

View file

@ -1,8 +1,8 @@
PRGNAM="lepton-eda"
VERSION="1.9.9"
VERSION="1.9.10"
HOMEPAGE="https://github.com/lepton-eda/lepton-eda"
DOWNLOAD="https://github.com/lepton-eda/lepton-eda/releases/download/1.9.9-20191003/lepton-eda-1.9.9.tar.gz"
MD5SUM="0f3dd85a7bae65e77f94f0591123b192"
DOWNLOAD="https://github.com/lepton-eda/lepton-eda/releases/download/1.9.10-20200319/lepton-eda-1.9.10.tar.gz"
MD5SUM="50a3c953552f8493337d46caade57270"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -0,0 +1,19 @@
diff --git a/utils/scripts/lepton-upcfg.in b/utils/scripts/lepton-upcfg.in
index 8d9b45943..601ae188d 100644
--- a/utils/scripts/lepton-upcfg.in
+++ b/utils/scripts/lepton-upcfg.in
@@ -219,7 +219,13 @@ Lepton EDA homepage: <~a>
)
- ( upcfg-log "ii: upgrading config in [~a]...~%" (config-file-path cfg-id) )
+ ( upcfg-log
+ "ii: upgrading config in [~a]...~%"
+ ( if cfg-id
+ ( config-file-path cfg-id ) ; if
+ ( list-ref files 0 ) ; else
+ )
+ )
( if ( null? files )
( or (config-upgrade cfg-id #:copy copy #:overwrite overwrite) (failure) ) ; if