pkgsrc-WIP-changes archive

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

icestorm_update: Update devel/icestorm to version 0.0.20250603 nextpnr-ice40_update: Update devel/nextpnr-ice40 to version 0.8 nextpnr_update: Update devel/nextpnr to version 0.8



Module Name:	pkgsrc-wip
Committed By:	adr <adr%sdf.org@localhost>
Pushed By:	adr
Date:		Sun Aug 31 20:37:15 2025 +0100
Changeset:	72697c9aae28f57c03a8069d355c3b7abb272928

Modified Files:
	Makefile
Added Files:
	icestorm_update/COMMIT_MSG
	icestorm_update/DESCR
	icestorm_update/Makefile
	icestorm_update/PLIST
	icestorm_update/distinfo
	icestorm_update/patches/patch-icebox_Makefile
	nextpnr-ice40_update/COMMIT_MSG
	nextpnr-ice40_update/DESCR
	nextpnr-ice40_update/Makefile
	nextpnr-ice40_update/PLIST
	nextpnr_update/COMMIT_MSG
	nextpnr_update/distinfo
	nextpnr_update/nextpnr.mk
	nextpnr_update/patches/patch-CMakeLists.txt

Log Message:
icestorm_update: Update devel/icestorm to version 0.0.20250603
nextpnr-ice40_update: Update devel/nextpnr-ice40 to version 0.8
nextpnr_update: Update devel/nextpnr to version 0.8

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

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

diffstat:
 Makefile                                      |  3 +++
 icestorm_update/COMMIT_MSG                    |  1 +
 icestorm_update/DESCR                         |  2 ++
 icestorm_update/Makefile                      | 34 ++++++++++++++++++++++++++
 icestorm_update/PLIST                         | 33 +++++++++++++++++++++++++
 icestorm_update/distinfo                      |  6 +++++
 icestorm_update/patches/patch-icebox_Makefile | 22 +++++++++++++++++
 nextpnr-ice40_update/COMMIT_MSG               |  1 +
 nextpnr-ice40_update/DESCR                    |  4 +++
 nextpnr-ice40_update/Makefile                 | 10 ++++++++
 nextpnr-ice40_update/PLIST                    |  2 ++
 nextpnr_update/COMMIT_MSG                     |  3 +++
 nextpnr_update/distinfo                       |  6 +++++
 nextpnr_update/nextpnr.mk                     | 35 +++++++++++++++++++++++++++
 nextpnr_update/patches/patch-CMakeLists.txt   | 23 ++++++++++++++++++
 15 files changed, 185 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7f7e5be76b..1c2a0fa0b1 100644
--- a/Makefile
+++ b/Makefile
@@ -1716,6 +1716,7 @@ SUBDIR+=	icecat
 SUBDIR+=	ices
 SUBDIR+=	ices-vorbis
 SUBDIR+=	icestorm-git
+SUBDIR+=	icestorm_update
 SUBDIR+=	icmpchat
 SUBDIR+=	ics2txt
 SUBDIR+=	id3
@@ -2608,6 +2609,8 @@ SUBDIR+=	newsboat237
 SUBDIR+=	newt
 SUBDIR+=	nextpnr
 SUBDIR+=	nextpnr-himbaechel
+SUBDIR+=	nextpnr-ice40_update
+SUBDIR+=	nextpnr_update
 SUBDIR+=	nfcapdu
 SUBDIR+=	nfstrace
 SUBDIR+=	ng-spice-dev
diff --git a/icestorm_update/COMMIT_MSG b/icestorm_update/COMMIT_MSG
new file mode 100644
index 0000000000..4562cc2603
--- /dev/null
+++ b/icestorm_update/COMMIT_MSG
@@ -0,0 +1 @@
+devel/icestorm: Update icestorm to version 0.0.20250603
diff --git a/icestorm_update/DESCR b/icestorm_update/DESCR
new file mode 100644
index 0000000000..7a475482a2
--- /dev/null
+++ b/icestorm_update/DESCR
@@ -0,0 +1,2 @@
+Project IceStorm - Lattice iCE40 FPGAs Bitstream Documentation and tools
+(Reverse Engineered)
diff --git a/icestorm_update/Makefile b/icestorm_update/Makefile
new file mode 100644
index 0000000000..cd82599a03
--- /dev/null
+++ b/icestorm_update/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.3 2024/03/02 23:07:59 thorpej Exp $
+
+# There are no release tags for icestorm
+ICESTORM_VERSION=	0.0.20250603
+
+DISTNAME=	icestorm-${ICESTORM_VERSION}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=YosysHQ/}
+GITHUB_TAG=	f31c39cc2eadd0ab7f29f34becba1348ae9f8721
+
+MAINTAINER=	thorpej%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/YosysHQ/icestorm
+COMMENT=	Lattice iCE40 FPGAs Bitstream Documentation and tools
+LICENSE=	isc
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	gmake
+.if ${OPSYS} == "Darwin"
+# The -i option on Darwin sed(1) behaves differently, and textproc/nbsed
+# (which gets substituted for the system sed(1) for other reasons) doesn't
+# support the -i option.  See also patches/patch-icebox_Makefile.
+USE_TOOLS+=	gsed
+.endif
+
+REPLACE_PYTHON+=	icebox/*.py
+
+INSTALLATION_DIRS=	bin share
+
+.include "../../devel/libftdi/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/icestorm_update/PLIST b/icestorm_update/PLIST
new file mode 100644
index 0000000000..baf890e73d
--- /dev/null
+++ b/icestorm_update/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 2024/02/28 06:02:38 thorpej Exp $
+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
+bin/icebox_vlog
+bin/iceboxdb.py
+bin/icebram
+bin/icemulti
+bin/icepack
+bin/icepll
+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_update/distinfo b/icestorm_update/distinfo
new file mode 100644
index 0000000000..d4768b0e1b
--- /dev/null
+++ b/icestorm_update/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2024/03/02 23:07:59 thorpej Exp $
+
+BLAKE2s (icestorm-0.0.20250603-f31c39cc2eadd0ab7f29f34becba1348ae9f8721.tar.gz) = 4172e2f5ead590d262e699dce2372aba8454f9dddef6c762422f0302def221d9
+SHA512 (icestorm-0.0.20250603-f31c39cc2eadd0ab7f29f34becba1348ae9f8721.tar.gz) = 6c7d5f2a4b1f0f24dd97a0ad2f1a6b06431ed449258077f6ce376dd614340a07dce5b100a40611bd38cb91981f5046f38dccafed1999e93e3a02d3200cc39296
+Size (icestorm-0.0.20250603-f31c39cc2eadd0ab7f29f34becba1348ae9f8721.tar.gz) = 3975359 bytes
+SHA1 (patch-icebox_Makefile) = 2b99d8c0e780c3b22a0697bfbd9e5b0259e0839d
diff --git a/icestorm_update/patches/patch-icebox_Makefile b/icestorm_update/patches/patch-icebox_Makefile
new file mode 100644
index 0000000000..3338594d44
--- /dev/null
+++ b/icestorm_update/patches/patch-icebox_Makefile
@@ -0,0 +1,22 @@
+$NetBSD: patch-icebox_Makefile,v 1.1 2024/02/29 02:03:20 thorpej Exp $
+
+Disable special case for Darwin sed(1); the package Makefile forces
+the use of GNU sed(1) on Darwin.
+
+--- icebox/Makefile.orig	2024-02-28 20:06:15
++++ icebox/Makefile	2024-02-28 18:31:57
+@@ -1,10 +1,10 @@
+ include ../config.mk
+ 
+-ifneq ($(shell uname -s),Darwin)
++#ifneq ($(shell uname -s),Darwin)
+   SED_I = sed -i
+-else
+-  SED_I = sed -i ''
+-endif
++#else
++#  SED_I = sed -i ''
++#endif
+ 
+ all: chipdb-384.txt chipdb-1k.txt chipdb-8k.txt chipdb-5k.txt chipdb-lm4k.txt chipdb-u4k.txt
+ 
diff --git a/nextpnr-ice40_update/COMMIT_MSG b/nextpnr-ice40_update/COMMIT_MSG
new file mode 100644
index 0000000000..2213b72748
--- /dev/null
+++ b/nextpnr-ice40_update/COMMIT_MSG
@@ -0,0 +1 @@
+devel/nextpnr-ice40: Update nextpnr-ice40 to version 0.8
diff --git a/nextpnr-ice40_update/DESCR b/nextpnr-ice40_update/DESCR
new file mode 100644
index 0000000000..70cd53bf74
--- /dev/null
+++ b/nextpnr-ice40_update/DESCR
@@ -0,0 +1,4 @@
+nextpnr is a portable FPGA place and route tool.  nextpnr aims to be a vendor
+neutral, timing driven, FOSS FPGA place and route tool.
+
+This is the package for the Lattice iCE40 family of FPGAs.
diff --git a/nextpnr-ice40_update/Makefile b/nextpnr-ice40_update/Makefile
new file mode 100644
index 0000000000..7683e56f73
--- /dev/null
+++ b/nextpnr-ice40_update/Makefile
@@ -0,0 +1,10 @@
+# $NetBSD$
+
+COMMENT=	Portable FPGA place and route tool for Lattice iCE40 devices
+
+NEXTPNR_TARGET=		ice40
+NEXTPNR_TARGET_ARGS=	-DICESTORM_INSTALL_PREFIX=${PREFIX}
+
+DEPENDS+=		icestorm>=0.0.20250603:../../devel/icestorm
+
+.include "../../devel/nextpnr/nextpnr.mk"
diff --git a/nextpnr-ice40_update/PLIST b/nextpnr-ice40_update/PLIST
new file mode 100644
index 0000000000..dfa53632f7
--- /dev/null
+++ b/nextpnr-ice40_update/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2024/02/28 06:31:58 thorpej Exp $
+bin/nextpnr-ice40
diff --git a/nextpnr_update/COMMIT_MSG b/nextpnr_update/COMMIT_MSG
new file mode 100644
index 0000000000..9b8df9e723
--- /dev/null
+++ b/nextpnr_update/COMMIT_MSG
@@ -0,0 +1,3 @@
+devel/nextpnr: Update nextpnr to version 0.8
+
+Gowin and other devices have now stable status.
diff --git a/nextpnr_update/distinfo b/nextpnr_update/distinfo
new file mode 100644
index 0000000000..8ebcba03d8
--- /dev/null
+++ b/nextpnr_update/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (nextpnr-0.8.tar.gz) = 67f2dee34a021bd76cc2ce630e9658a7e053a1b32a4b1d4329700d3e2ef04b1c
+SHA512 (nextpnr-0.8.tar.gz) = 6a05b6a8c8d378dc2309fbbaf96b49601472e8f56056774f936cbe353fa40c2a560642dbaff96af807469ff328f27d75630538f805a39122a94410405974fa48
+Size (nextpnr-0.8.tar.gz) = 4665005 bytes
+SHA1 (patch-CMakeLists.txt) = 0a6f86a0ab37de741c5498d8dfc5d381a501f917
diff --git a/nextpnr_update/nextpnr.mk b/nextpnr_update/nextpnr.mk
new file mode 100644
index 0000000000..361cc51f75
--- /dev/null
+++ b/nextpnr_update/nextpnr.mk
@@ -0,0 +1,35 @@
+# $NetBSD: nextpnr.mk,v 1.6 2024/10/14 06:45:39 wiz Exp $
+
+NEXTPNR_VERSION=0.8
+DISTNAME=	nextpnr-${NEXTPNR_VERSION}
+PKGNAME=	nextpnr-${NEXTPNR_TARGET}-${NEXTPNR_VERSION}
+.if defined(HIMBAECHEL_UARCH)
+PKGNAME=	PKGNAME-${HIMBAECHEL_UARCH}
+.endif
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=YosysHQ/}
+GITHUB_PROJECT=	nextpnr
+GITHUB_TAG=	${DISTNAME}
+WRKSRC=		${WRKDIR}/nextpnr-${DISTNAME}
+
+MAINTAINER?=	thorpej%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/YosysHQ/nextpnr
+COMMENT?=	A portable FPGA place and route tool
+LICENSE=	isc
+
+DISTINFO_FILE?=	${.CURDIR}/../../devel/nextpnr/distinfo
+PATCHDIR?=	${.CURDIR}/../../devel/nextpnr/patches
+
+USE_LANGUAGES=	c c++
+
+CMAKE_CONFIGURE_ARGS+=	-DCURRENT_GIT_VERSION=${NEXTPNR_VERSION}
+CMAKE_CONFIGURE_ARGS+=	-DARCH=${NEXTPNR_TARGET}
+.if defined(NEXTPNR_TARGET_ARGS)
+CMAKE_CONFIGURE_ARGS+=	${NEXTPNR_TARGET_ARGS}
+.endif
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../math/eigen3/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nextpnr_update/patches/patch-CMakeLists.txt b/nextpnr_update/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..74adcea316
--- /dev/null
+++ b/nextpnr_update/patches/patch-CMakeLists.txt
@@ -0,0 +1,23 @@
+$NetBSD$
+
+the tests directory is empty in the realease.
+
+--- CMakeLists.txt.orig	2025-08-31 16:09:11.547173344 +0000
++++ CMakeLists.txt
+@@ -239,8 +239,6 @@ add_subdirectory(frontend)
+ add_subdirectory(json)
+ add_subdirectory(rust)
+ 
+-add_subdirectory(tests/gui)
+-
+ add_custom_target(nextpnr-all-bba)
+ 
+ function(add_nextpnr_architecture target)
+@@ -368,6 +366,7 @@ function(add_nextpnr_architecture target
+ 
+         target_link_libraries(nextpnr-${target}-test PRIVATE gtest_main nextpnr-${target}-core)
+         if (BUILD_GUI)
++            add_subdirectory(tests/gui)
+             target_link_libraries(nextpnr-${target}-test PRIVATE nextpnr-${target}-gui)
+             target_link_libraries(nextpnr-${target}-test PRIVATE nextpnr_test_gui)
+         endif()


Home | Main Index | Thread Index | Old Index