pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update project IceStorm to the latest version.



Module Name:	pkgsrc-wip
Committed By:	Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost>
Pushed By:	lloyd
Date:		Sat Oct 29 14:09:36 2022 +1300
Changeset:	27cb85c1f39babf9c3f1b4aabec41a4f36228486

Modified Files:
	icestorm-git/Makefile
	icestorm-git/PLIST
	icestorm-git/distinfo
Added Files:
	icestorm-git/patches/patch-icetime_iceutil.cc

Log Message:
Update project IceStorm to the latest version.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=27cb85c1f39babf9c3f1b4aabec41a4f36228486

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 icestorm-git/Makefile                         | 20 +++++++++++---------
 icestorm-git/PLIST                            | 13 +++++++++++++
 icestorm-git/distinfo                         |  7 ++++---
 icestorm-git/patches/patch-icetime_iceutil.cc | 15 +++++++++++++++
 4 files changed, 43 insertions(+), 12 deletions(-)

diffs:
diff --git a/icestorm-git/Makefile b/icestorm-git/Makefile
index 5c3cd491b2..130b0916a2 100644
--- a/icestorm-git/Makefile
+++ b/icestorm-git/Makefile
@@ -1,13 +1,13 @@
 # $NetBSD$
 
-PKGNAME=	icestorm-1.0
+PKGNAME=	icestorm-0
 DISTNAME=	icestorm
 CATEGORIES=	cross
-MASTER_SITES=	${MASTER_SITE_GITHUB:=cliffordwolf/}
-GITHUB_TAG=	ce4e1bcfd8c791fe3fb6f991fbfaed309bc1f5ad
+MASTER_SITES=	${MASTER_SITE_GITHUB:=YosysHQ/}
+GITHUB_TAG=	a545498d6fd0a28a006976293917115037d4628c
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/cliffordwolf/
+HOMEPAGE=	http://bygone.clairexen.net/icestorm/
 COMMENT=	Project IceStorm
 LICENSE=	mit
 
@@ -18,11 +18,13 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 
 WRKSRC=			${WRKDIR}/icestorm-${GITHUB_TAG}
 
-SUBST_CLASSES+=		python
-SUBST_MESSAGE.python=	Fixing non-shellbang references to python3.
-SUBST_STAGE.python=	pre-configure
-SUBST_SED.python=	-e 's,python3,${PYTHONBIN},g'
-SUBST_FILES.python=	icebox/Makefile icefuzz/Makefile icetime/Makefile
+BUILD_MAKE_FLAGS+=	PYTHON3=${PYTHONBIN}
+
+# SUBST_CLASSES+=		python
+# SUBST_MESSAGE.python=	Fixing non-shellbang references to python3.
+# SUBST_STAGE.python=	pre-configure
+# SUBST_SED.python=	-e 's,python3,${PYTHONBIN},g'
+# SUBST_FILES.python=	config.mk
 
 REPLACE_INTERPRETER+=		usrbinenv
 REPLACE.usrbinenv.old=		'/usr/bin/env\ python3'
diff --git a/icestorm-git/PLIST b/icestorm-git/PLIST
index 3a0d96e8e2..f1ef7c7cc8 100644
--- a/icestorm-git/PLIST
+++ b/icestorm-git/PLIST
@@ -1,9 +1,11 @@
 @comment $NetBSD$
 bin/icebox.py
+bin/icebox_asc2hlc
 bin/icebox_chipdb
 bin/icebox_colbuf
 bin/icebox_diff
 bin/icebox_explain
+bin/icebox_hlc2asc
 bin/icebox_html
 bin/icebox_maps
 bin/icebox_stat
@@ -17,4 +19,15 @@ bin/iceprog
 bin/icetime
 bin/iceunpack
 share/icebox/chipdb-1k.txt
+share/icebox/chipdb-384.txt
+share/icebox/chipdb-5k.txt
 share/icebox/chipdb-8k.txt
+share/icebox/chipdb-lm4k.txt
+share/icebox/chipdb-u4k.txt
+share/icebox/timings_hx1k.txt
+share/icebox/timings_hx8k.txt
+share/icebox/timings_lp1k.txt
+share/icebox/timings_lp384.txt
+share/icebox/timings_lp8k.txt
+share/icebox/timings_u4k.txt
+share/icebox/timings_up5k.txt
diff --git a/icestorm-git/distinfo b/icestorm-git/distinfo
index 62378f779b..b0e486b500 100644
--- a/icestorm-git/distinfo
+++ b/icestorm-git/distinfo
@@ -1,5 +1,6 @@
 $NetBSD$
 
-RMD160 (icestorm-ce4e1bcfd8c791fe3fb6f991fbfaed309bc1f5ad.tar.gz) = 858fd88dd7cb2e35f5ffb55f6f2401a634700b2b
-SHA512 (icestorm-ce4e1bcfd8c791fe3fb6f991fbfaed309bc1f5ad.tar.gz) = c177a20a081ee613242e6bfea0d37a1637c32c00dc687045eb077eabb839372d588d6b60dbe780fffb48c43cbb3981488902257e59a9ff227d16da9b99f8d5cd
-Size (icestorm-ce4e1bcfd8c791fe3fb6f991fbfaed309bc1f5ad.tar.gz) = 428655 bytes
+BLAKE2s (icestorm-a545498d6fd0a28a006976293917115037d4628c.tar.gz) = 89e6ec1bddf34a13826c1996e79f4909cbb5ed3c1aeda5047dddf8a0937c39ca
+SHA512 (icestorm-a545498d6fd0a28a006976293917115037d4628c.tar.gz) = a21bf07ae30e2e9fb5993e6a97e158fc32034c6742b79fa579bdb67e724598d790e8f88962289886c19806741ec5f1e05c35ec65feed9aadbae828675cbb4e71
+Size (icestorm-a545498d6fd0a28a006976293917115037d4628c.tar.gz) = 946556 bytes
+SHA1 (patch-icetime_iceutil.cc) = f2486b60d98cc556fe3f5ee8a59b214a9415eedc
diff --git a/icestorm-git/patches/patch-icetime_iceutil.cc b/icestorm-git/patches/patch-icetime_iceutil.cc
new file mode 100644
index 0000000000..b48b4fe733
--- /dev/null
+++ b/icestorm-git/patches/patch-icetime_iceutil.cc
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Tell iceutil that it should use /proc on NetBSD.
+
+--- icetime/iceutil.cc.orig	2022-09-15 10:37:29.000000000 +0000
++++ icetime/iceutil.cc
+@@ -38,7 +38,7 @@
+ 
+ #include <limits.h>
+ 
+-#if defined(__linux__) || defined(__CYGWIN__)
++#if defined(__linux__) || defined(__CYGWIN__) || defined(__NetBSD__)
+ std::string proc_self_dirname()
+ {
+ 	char path[PATH_MAX];


Home | Main Index | Thread Index | Old Index