From 07205918d4fbf67c8df630ac2c18ae43cb41529e Mon Sep 17 00:00:00 2001 From: dmn Date: Sat, 28 Mar 2020 11:44:15 +0700 Subject: development/lepton-eda: Updated for version 1.9.10. Signed-off-by: Willy Sudiarto Raharjo --- development/lepton-eda/README | 16 ++++++---------- development/lepton-eda/lepton-eda.SlackBuild | 16 +++++++++------- development/lepton-eda/lepton-eda.info | 6 +++--- development/lepton-eda/patches/lepton-upcfg.in.patch | 19 +++++++++++++++++++ 4 files changed, 37 insertions(+), 20 deletions(-) create mode 100644 development/lepton-eda/patches/lepton-upcfg.in.patch (limited to 'development/lepton-eda') diff --git a/development/lepton-eda/README b/development/lepton-eda/README index a726edc508..123189e69a 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 adb7a22f89..f95612fd9e 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 , Russia +# Copyright 2019-2020 dmn , 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 c5d352a1f8..de6f4b9fc4 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 0000000000..30b38fa685 --- /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 -- cgit v1.2.3