Update to xschem-3.0.0 from Hannu Vuolasaho (Maintainer).

This commit is contained in:
benoit 2021-11-10 08:47:50 +00:00
parent 5432004b48
commit 6e21a35426
5 changed files with 1826 additions and 88 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.4 2019/09/26 14:55:22 sthen Exp $
# $OpenBSD: Makefile,v 1.5 2021/11/10 08:47:50 benoit Exp $
COMMENT = hierarchical schematic capture program
DISTNAME = xschem-2.9.2
DISTNAME = xschem-3.0.0
CATEGORIES = cad
@ -33,7 +33,8 @@ CONFIGURE_ARGS = --cflags/libs/script/tcl="${CFLAGS} -I${MODTCL_INCDIR}" \
--ldflags/libs/script/tcl="-L${LOCALBASE}/lib" \
--cflags/libs/script/tk="${CFLAGS} -I${MODTK_INCDIR}" \
--prefix="${LOCALBASE}" \
/arg/tk-version=${MODTK_VERSION}
/arg/tk-version=${MODTK_VERSION} \
--xschem-lib-path="${LOCALBASE}/share/xschem/xschem_library/devices:${LOCALBASE}/share/xschem/xschem_library/gschem_import/"
FAKE_FLAGS = MANDIR="${DESTDIR}${PREFIX}/man" \
XEXAMPLESDIR="${DESTDIR}${PREFIX}/share/examples/xschem"

View File

@ -1,2 +1,2 @@
SHA256 (xschem-2.9.2.tar.gz) = CruN0gAFNqGT5Q7I5dDCx/APxFa5NBwRNWj59vo+BYU=
SIZE (xschem-2.9.2.tar.gz) = 3751442
SHA256 (xschem-3.0.0.tar.gz) = S3GrVf2NxrclPi+U2mPmeMa+CcnmpFNRSqiMOZWV4qM=
SIZE (xschem-3.0.0.tar.gz) = 10723489

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2021/11/10 08:47:50 benoit Exp $
rawtovcd shouldn't go to shared dir. Its place is in bin/
Index: src/Makefile.in
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -13,7 +13,7 @@ put /local/install_shares {
keys.help xschem.help xschem.tcl break.awk convert_to_verilog2001.awk
flatten.awk flatten_tedax.awk flatten_savenodes.awk make_sym.awk make_sym_lcc.awk symgen.awk order_labels.awk
sort_labels.awk spice.awk tedax.awk verilog.awk vhdl.awk hspice_backannotate.tcl add_custom_menu.tcl
- change_index.tcl resources.tcl xschemrc ngspice_backannotate.tcl rawtovcd gschemtoxschem.awk
+ change_index.tcl resources.tcl xschemrc ngspice_backannotate.tcl gschemtoxschem.awk
}
# generate a list of objects from the list of source files

View File

@ -1,26 +1,94 @@
$OpenBSD: patch-xschem_library_Makefile,v 1.2 2019/02/12 17:17:24 kn Exp $
$OpenBSD: patch-xschem_library_Makefile,v 1.3 2021/11/10 08:47:50 benoit Exp $
Put examples into right place
Put examples into right place and gschem imported symbols available
Index: xschem_library/Makefile
--- xschem_library/Makefile.orig
+++ xschem_library/Makefile
@@ -5,13 +5,13 @@ all:
@@ -5,47 +5,49 @@ all:
include ../Makefile.conf
install: FORCE
- $(SCCBOX) mkdir -p $(system_library_dir) $(XDOCDIR)/examples $(XDOCDIR)/pcb
+ $(SCCBOX) mkdir -p $(system_library_dir) $(XEXAMPLESDIR)/pcb
$(SCCBOX) install -f -d devices/*.sym $(system_library_dir)
$(SCCBOX) install -f -d devices/*.sch $(system_library_dir)
- $(SCCBOX) install -f -d examples/*.sym $(XDOCDIR)/examples
- $(SCCBOX) install -f -d examples/*.sch $(XDOCDIR)/examples
- $(SCCBOX) install -f -d pcb/*.sym $(XDOCDIR)/pcb
- $(SCCBOX) install -f -d pcb/*.sch $(XDOCDIR)/pcb
+ $(SCCBOX) install -f -d examples/*.sym $(XEXAMPLESDIR)
+ $(SCCBOX) install -f -d examples/*.sch $(XEXAMPLESDIR)
+ $(SCCBOX) install -f -d pcb/*.sym $(XEXAMPLESDIR)/pcb
+ $(SCCBOX) install -f -d pcb/*.sch $(XEXAMPLESDIR)/pcb
- $(SCCBOX) mkdir -p "$(system_library_dir)" "$(XDOCDIR)"/examples "$(XDOCDIR)"/pcb
- $(SCCBOX) mkdir -p "$(XDOCDIR)"/logic "$(XDOCDIR)"/xTAG "$(XDOCDIR)"/binto7seg
- $(SCCBOX) mkdir -p "$(XDOCDIR)"/symgen "$(XDOCDIR)"/ngspice "$(XDOCDIR)"/rulz-r8c33
- $(SCCBOX) mkdir -p "$(XDOCDIR)"/rom8k "$(XDOCDIR)"/gschem_import/sym
+ $(SCCBOX) mkdir -p "$(system_library_dir)"
+ $(SCCBOX) mkdir -p "$(system_library_dir)"/../gschem_import
+ $(SCCBOX) mkdir -p "$(XEXAMPLESDIR)"/examples "$(XEXAMPLESDIR)"/pcb
+ $(SCCBOX) mkdir -p "$(XEXAMPLESDIR)"/logic "$(XEXAMPLESDIR)"/xTAG "$(XEXAMPLESDIR)"/binto7seg
+ $(SCCBOX) mkdir -p "$(XEXAMPLESDIR)"/symgen "$(XEXAMPLESDIR)"/ngspice "$(XEXAMPLESDIR)"/rulz-r8c33
+ $(SCCBOX) mkdir -p "$(XEXAMPLESDIR)"/rom8k "$(XEXAMPLESDIR)"/gschem_import/sym
$(SCCBOX) install -f -d devices/*.sym "$(system_library_dir)"
$(SCCBOX) install -f -d devices/*.sch "$(system_library_dir)"
- $(SCCBOX) install -f -d examples/*.sym "$(XDOCDIR)"/examples
- $(SCCBOX) install -f -d examples/*.sch "$(XDOCDIR)"/examples
- $(SCCBOX) install -f -d examples/stimuli.* "$(XDOCDIR)"/examples
- $(SCCBOX) install -f -d binto7seg/*.sym "$(XDOCDIR)"/binto7seg
- $(SCCBOX) install -f -d binto7seg/*.sch "$(XDOCDIR)"/binto7seg
- $(SCCBOX) install -f -d xTAG/*.sym* "$(XDOCDIR)"/xTAG
- $(SCCBOX) install -f -d xTAG/*.sch "$(XDOCDIR)"/xTAG
- $(SCCBOX) install -f -d logic/*.sym "$(XDOCDIR)"/logic
- $(SCCBOX) install -f -d logic/*.sch "$(XDOCDIR)"/logic
- $(SCCBOX) install -f -d logic/stimuli.* "$(XDOCDIR)"/logic
- $(SCCBOX) install -f -d rulz-r8c33/*.sch "$(XDOCDIR)"/rulz-r8c33
- $(SCCBOX) install -f -d rulz-r8c33/*.sym* "$(XDOCDIR)"/rulz-r8c33
- $(SCCBOX) install -f -d pcb/*.sch "$(XDOCDIR)"/pcb
- $(SCCBOX) install -f -d pcb/*.sym "$(XDOCDIR)"/pcb
- $(SCCBOX) install -f -d ngspice/*.sym "$(XDOCDIR)"/ngspice
- $(SCCBOX) install -f -d ngspice/*.sch "$(XDOCDIR)"/ngspice
- $(SCCBOX) install -f -d ngspice/stimuli.* "$(XDOCDIR)"/ngspice
- $(SCCBOX) install -f -d rom8k/*.sym "$(XDOCDIR)"/rom8k
- $(SCCBOX) install -f -d rom8k/*.sch "$(XDOCDIR)"/rom8k
- $(SCCBOX) install -f -d xschem_simulator/*.sym "$(XDOCDIR)"/xschem_simulator
- $(SCCBOX) install -f -d xschem_simulator/*.sch "$(XDOCDIR)"/xschem_simulator
- $(SCCBOX) install -f -d rom8k/stimuli.* "$(XDOCDIR)"/rom8k
- $(SCCBOX) install -f -d symgen/*.sym* "$(XDOCDIR)"/symgen
- $(SCCBOX) install -f -d gschem_import/*.sym "$(XDOCDIR)"/gschem_import
- $(SCCBOX) install -f -d gschem_import/*.sch "$(XDOCDIR)"/gschem_import
- $(SCCBOX) install -f -d gschem_import/sym/*.sym "$(XDOCDIR)"/gschem_import/sym
+ $(SCCBOX) install -f -d examples/*.sym "$(XEXAMPLESDIR)"/examples
+ $(SCCBOX) install -f -d examples/*.sch "$(XEXAMPLESDIR)"/examples
+ $(SCCBOX) install -f -d examples/stimuli.* "$(XEXAMPLESDIR)"/examples
+ $(SCCBOX) install -f -d binto7seg/*.sym "$(XEXAMPLESDIR)"/binto7seg
+ $(SCCBOX) install -f -d binto7seg/*.sch "$(XEXAMPLESDIR)"/binto7seg
+ $(SCCBOX) install -f -d xTAG/*.sym* "$(XEXAMPLESDIR)"/xTAG
+ $(SCCBOX) install -f -d xTAG/*.sch "$(XEXAMPLESDIR)"/xTAG
+ $(SCCBOX) install -f -d logic/*.sym "$(XEXAMPLESDIR)"/logic
+ $(SCCBOX) install -f -d logic/*.sch "$(XEXAMPLESDIR)"/logic
+ $(SCCBOX) install -f -d logic/stimuli.* "$(XEXAMPLESDIR)"/logic
+ $(SCCBOX) install -f -d rulz-r8c33/*.sch "$(XEXAMPLESDIR)"/rulz-r8c33
+ $(SCCBOX) install -f -d rulz-r8c33/*.sym* "$(XEXAMPLESDIR)"/rulz-r8c33
+ $(SCCBOX) install -f -d pcb/*.sch "$(XEXAMPLESDIR)"/pcb
+ $(SCCBOX) install -f -d pcb/*.sym "$(XEXAMPLESDIR)"/pcb
+ $(SCCBOX) install -f -d ngspice/*.sym "$(XEXAMPLESDIR)"/ngspice
+ $(SCCBOX) install -f -d ngspice/*.sch "$(XEXAMPLESDIR)"/ngspice
+ $(SCCBOX) install -f -d ngspice/stimuli.* "$(XEXAMPLESDIR)"/ngspice
+ $(SCCBOX) install -f -d rom8k/*.sym "$(XEXAMPLESDIR)"/rom8k
+ $(SCCBOX) install -f -d rom8k/*.sch "$(XEXAMPLESDIR)"/rom8k
+ $(SCCBOX) install -f -d xschem_simulator/*.sym "$(XEXAMPLESDIR)"/xschem_simulator
+ $(SCCBOX) install -f -d xschem_simulator/*.sch "$(XEXAMPLESDIR)"/xschem_simulator
+ $(SCCBOX) install -f -d rom8k/stimuli.* "$(XEXAMPLESDIR)"/rom8k
+ $(SCCBOX) install -f -d symgen/*.sym* "$(XEXAMPLESDIR)"/symgen
+ $(SCCBOX) install -f -d gschem_import/*.sym "$(XEXAMPLESDIR)"/gschem_import
+ $(SCCBOX) install -f -d gschem_import/*.sch "$(XEXAMPLESDIR)"/gschem_import
+ $(SCCBOX) install -f -d gschem_import/sym/*.sym "$(system_library_dir)"/../gschem_import
uninstall: FORCE
$(SCCBOX) rm -f $(system_library_dir)/* $(XDOCDIR)/examples/* $(XDOCDIR)/pcb/*
- $(SCCBOX) rm -f "$(system_library_dir)"/* "$(XDOCDIR)"/examples/* "$(XDOCDIR)"/pcb/* \
- "$(XDOCDIR)"/ngspice/* "$(XDOCDIR)"/symgen/* "$(XDOCDIR)"/logic/* "$(XDOCDIR)"/xTAG/* \
- "$(XDOCDIR)"/rom8k/* "$(XDOCDIR)"/xschem_simulator/ "$(XDOCDIR)"/binto7seg/* "$(XDOCDIR)"/rulz-r8c33/* \
- "$(XDOCDIR)"/gschem_import/*.sym \
- "$(XDOCDIR)"/gschem_import/*.sch \
- "$(XDOCDIR)"/gschem_import/sym/*.sym \
- "$(XDOCDIR)"/gschem_import/sym
+ $(SCCBOX) rm -f "$(system_library_dir)"/* "$(XEXAMPLESDIR)"/examples/* "$(XEXAMPLESDIR)"/pcb/* \
+ "$(XEXAMPLESDIR)"/ngspice/* "$(XEXAMPLESDIR)"/symgen/* "$(XEXAMPLESDIR)"/logic/* "$(XEXAMPLESDIR)"/xTAG/* \
+ "$(XEXAMPLESDIR)"/rom8k/* "$(XEXAMPLESDIR)"/xschem_simulator/ "$(XEXAMPLESDIR)"/binto7seg/* "$(XEXAMPLESDIR)"/rulz-r8c33/* \
+ "$(XEXAMPLESDIR)"/gschem_import/*.sym \
+ "$(XEXAMPLESDIR)"/gschem_import/*.sch \
+ "$(XEXAMPLESDIR)"/gschem_import/sym/*.sym \
+ "$(XEXAMPLESDIR)"/gschem_import/sym
clean:
distclean:

File diff suppressed because it is too large Load Diff