aboutsummaryrefslogtreecommitdiff
path: root/development/lepton-eda
diff options
context:
space:
mode:
authordmn <graahnul.grom@gmail.com>2020-03-28 11:44:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-28 11:44:15 +0700
commit07205918d4fbf67c8df630ac2c18ae43cb41529e (patch)
treefd2a3e43fe01b01f006e81f8f43d39c2b0309388 /development/lepton-eda
parent96301f73951324f584fc88c79d691605bc8b3dc7 (diff)
development/lepton-eda: Updated for version 1.9.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/lepton-eda')
-rw-r--r--development/lepton-eda/README16
-rw-r--r--development/lepton-eda/lepton-eda.SlackBuild16
-rw-r--r--development/lepton-eda/lepton-eda.info6
-rw-r--r--development/lepton-eda/patches/lepton-upcfg.in.patch19
4 files changed, 37 insertions, 20 deletions
diff --git a/development/lepton-eda/README b/development/lepton-eda/README
index a726edc50888..123189e69ad2 100644
--- a/development/lepton-eda/README
+++ b/development/lepton-eda/README
@@ -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.
diff --git a/development/lepton-eda/lepton-eda.SlackBuild b/development/lepton-eda/lepton-eda.SlackBuild
index adb7a22f89f8..f95612fd9e31 100644
--- a/development/lepton-eda/lepton-eda.SlackBuild
+++ b/development/lepton-eda/lepton-eda.SlackBuild
@@ -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
diff --git a/development/lepton-eda/lepton-eda.info b/development/lepton-eda/lepton-eda.info
index c5d352a1f8dc..de6f4b9fc48e 100644
--- a/development/lepton-eda/lepton-eda.info
+++ b/development/lepton-eda/lepton-eda.info
@@ -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=""
diff --git a/development/lepton-eda/patches/lepton-upcfg.in.patch b/development/lepton-eda/patches/lepton-upcfg.in.patch
new file mode 100644
index 000000000000..30b38fa685eb
--- /dev/null
+++ b/development/lepton-eda/patches/lepton-upcfg.in.patch
@@ -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