pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   thorpej
Date:           Wed Feb 28 06:02:39 UTC 2024

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/icestorm: DESCR Makefile PLIST distinfo
        pkgsrc/devel/icestorm/patches: patch-icetime_iceutil.cc

Log Message:
Add a package for Project IceStorm - documentation and tools for the
Lattice iCE40 FPGA family.


To generate a diff of this commit:
cvs rdiff -u -r1.4185 -r1.4186 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/icestorm/DESCR \
    pkgsrc/devel/icestorm/Makefile pkgsrc/devel/icestorm/PLIST \
    pkgsrc/devel/icestorm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/icestorm/patches/patch-icetime_iceutil.cc

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4185 pkgsrc/devel/Makefile:1.4186
--- pkgsrc/devel/Makefile:1.4185        Mon Feb 26 19:18:36 2024
+++ pkgsrc/devel/Makefile       Wed Feb 28 06:02:38 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4185 2024/02/26 19:18:36 pin Exp $
+# $NetBSD: Makefile,v 1.4186 2024/02/28 06:02:38 thorpej Exp $
 #
 
 COMMENT=       Development utilities
@@ -799,6 +799,7 @@ SUBDIR+=    hugs-HUnit
 SUBDIR+=       hugs-unix
 SUBDIR+=       hyperscan
 SUBDIR+=       iaito
+SUBDIR+=       icestorm
 SUBDIR+=       idiff
 SUBDIR+=       idutils
 SUBDIR+=       imake

Added files:

Index: pkgsrc/devel/icestorm/DESCR
diff -u /dev/null pkgsrc/devel/icestorm/DESCR:1.1
--- /dev/null   Wed Feb 28 06:02:39 2024
+++ pkgsrc/devel/icestorm/DESCR Wed Feb 28 06:02:38 2024
@@ -0,0 +1,2 @@
+Project IceStorm - Lattice iCE40 FPGAs Bitstream Documentation and tools
+(Reverse Engineered)
Index: pkgsrc/devel/icestorm/Makefile
diff -u /dev/null pkgsrc/devel/icestorm/Makefile:1.1
--- /dev/null   Wed Feb 28 06:02:39 2024
+++ pkgsrc/devel/icestorm/Makefile      Wed Feb 28 06:02:38 2024
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2024/02/28 06:02:38 thorpej Exp $
+
+# There are no release tags for icestorm
+ICESTORM_VERSION=0.0.20240227
+
+DISTNAME=      icestorm-${ICESTORM_VERSION}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=YosysHQ/}
+GITHUB_TAG=    1a40ae75d4eebee9cce73a2c4d634fd42ed0110f
+
+MAINTAINER=    thorpej%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/YosysHQ/icestorm
+COMMENT=       Lattice iCE40 FPGAs Bitstream Documentation and tools
+LICENSE=       isc
+
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake
+
+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"
Index: pkgsrc/devel/icestorm/PLIST
diff -u /dev/null pkgsrc/devel/icestorm/PLIST:1.1
--- /dev/null   Wed Feb 28 06:02:39 2024
+++ pkgsrc/devel/icestorm/PLIST Wed Feb 28 06:02:38 2024
@@ -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
Index: pkgsrc/devel/icestorm/distinfo
diff -u /dev/null pkgsrc/devel/icestorm/distinfo:1.1
--- /dev/null   Wed Feb 28 06:02:39 2024
+++ pkgsrc/devel/icestorm/distinfo      Wed Feb 28 06:02:38 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/02/28 06:02:38 thorpej Exp $
+
+BLAKE2s (icestorm-0.0.20240227-1a40ae75d4eebee9cce73a2c4d634fd42ed0110f.tar.gz) = 511978571885ce362c39616dfb1fcccd5a1df31562b8cbb925547f15d5853cce
+SHA512 (icestorm-0.0.20240227-1a40ae75d4eebee9cce73a2c4d634fd42ed0110f.tar.gz) = 
f0bfbc0af651a5d1cc45ecc4ce6cb9f6a8fdf4797f17b2af7e70278f0786b8d063503606cbf624aee558a3e32a3dc7c595694ac335ce7b52bfece9b18b5543da
+Size (icestorm-0.0.20240227-1a40ae75d4eebee9cce73a2c4d634fd42ed0110f.tar.gz) = 948430 bytes
+SHA1 (patch-icetime_iceutil.cc) = d5cd83337808631b148f64d9c2ac6157c0b4d823

Index: pkgsrc/devel/icestorm/patches/patch-icetime_iceutil.cc
diff -u /dev/null pkgsrc/devel/icestorm/patches/patch-icetime_iceutil.cc:1.1
--- /dev/null   Wed Feb 28 06:02:39 2024
+++ pkgsrc/devel/icestorm/patches/patch-icetime_iceutil.cc      Wed Feb 28 06:02:39 2024
@@ -0,0 +1,24 @@
+$NetBSD: patch-icetime_iceutil.cc,v 1.1 2024/02/28 06:02:39 thorpej Exp $
+
+On NetBSD, also use KERN_PROC_PATHNAME to get the path to the executable.
+
+--- icetime/iceutil.cc.orig    2024-02-27 14:44:02.760248201 +0000
++++ icetime/iceutil.cc 2024-02-27 14:45:11.872738091 +0000
+@@ -32,7 +32,7 @@
+ #  include <unistd.h>
+ #endif
+ 
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #  include <sys/sysctl.h>
+ #endif
+ 
+@@ -51,7 +51,7 @@ std::string proc_self_dirname()
+               buflen--;
+       return std::string(path, buflen);
+ }
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__NetBSD__)
+ std::string proc_self_dirname()
+ {
+       int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1};



Home | Main Index | Thread Index | Old Index