pkgsrc-WIP-changes archive

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

superhtml: add incomplete package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Sep 16 11:44:13 2024 +0200
Changeset:	378573f604e4b233c16e039667e7b6ded7a44159

Modified Files:
	Makefile
Added Files:
	superhtml/DESCR
	superhtml/Makefile
	superhtml/PLIST
	superhtml/TODO
	superhtml/distinfo

Log Message:
superhtml: add incomplete package

Fails to build because of '-Dpie'.

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

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

diffstat:
 Makefile           |  1 +
 superhtml/DESCR    |  7 +++++++
 superhtml/Makefile | 19 +++++++++++++++++++
 superhtml/PLIST    |  4 ++++
 superhtml/TODO     | 24 ++++++++++++++++++++++++
 superhtml/distinfo |  5 +++++
 6 files changed, 60 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 389c8006a5..a8db8cb798 100644
--- a/Makefile
+++ b/Makefile
@@ -1455,6 +1455,7 @@ SUBDIR+=	streamlink
 SUBDIR+=	stringtie
 SUBDIR+=	subsync
 SUBDIR+=	sulley
+SUBDIR+=	superhtml
 SUBDIR+=	surf-git
 SUBDIR+=	suscan
 SUBDIR+=	suse121_32_libbz2
diff --git a/superhtml/DESCR b/superhtml/DESCR
new file mode 100644
index 0000000000..22a2642caa
--- /dev/null
+++ b/superhtml/DESCR
@@ -0,0 +1,7 @@
+HTML Language Server and Templating Language Library
+
+The Super CLI Tool offers syntax checking and autoformatting features
+for HTML files.
+
+The tool can be used either directly (for example by running it on
+save), or through a LSP client implementation.
diff --git a/superhtml/Makefile b/superhtml/Makefile
new file mode 100644
index 0000000000..a1aa4cc09c
--- /dev/null
+++ b/superhtml/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	superhtml-0.5.0
+CATEGORIES=	devel www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=kristoff-it/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/kristoff-it/superhtml/
+COMMENT=	HTML Language Server (LSP)
+LICENSE=	mit
+
+# Temporary required, a zig build system parser is being written.
+ALLOW_NETWORK_ACCESS=	yes
+
+PKGCONFIG_OVERRIDE+=	tree-sitter-superhtml/bindings/c/tree-sitter-html.pc.in
+
+.include "../../lang/zig/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/superhtml/PLIST b/superhtml/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/superhtml/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/superhtml/TODO b/superhtml/TODO
new file mode 100644
index 0000000000..4d3059c8d4
--- /dev/null
+++ b/superhtml/TODO
@@ -0,0 +1,24 @@
+- downloads lots of stuff during build
+- Fails build with:
+
+ ===> Building for superhtml-0.5.0
+cd /scratch/wip/superhtml/work/superhtml-0.5.0 && /usr/bin/env USETOOLS=no ZIG_GLOBAL_CACHE_DIR=/scratch/wip/superhtml/work/zig-global-cache ZIG_LOCAL_CACHE_DIR=/scratch/wip/superhtml/work/zig-local-cache CC=gcc CF
+LAGS=-O2\ -g\ -fstack-clash-protection CPPFLAGS=-g CXX=c++ CXXFLAGS=-O2\ -g\ -fstack-clash-protection COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGE
+S=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -Wl,-znow\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/scratch/wip/superhtml/work/.cwrapper/bin:/scratch/wip/superhtml/work/.buildlink/bin:/scratch/wi
+p/superhtml/work/.gcc/bin:/scratch/wip/superhtml/work/.tools/bin:/usr/pkg/bin:/home/wiz/bin:/usr/local/bin:/usr/X11R7/bin:/bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/local/sbin:/usr
+/games:/archive/foreign/localsrc/security/advisories:/sbin:/usr/sbin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/scratch/wip/superhtml/work/.home
+CWRAPPERS_CONFIG_DIR=/scratch/wip/superhtml/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_P
+ROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INST
+ALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pb
+ulk\ -g\ builder\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install
+\ -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ builder\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/b
+in/install\ -c\ -o\ pbulk\ -g\ builder\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ builder\ -m\ 775 INSTALL_INFO= MAKEINFO=/scratch/wip/superhtml/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL
+=/scratch/wip/superhtml/work/.tools/bin/itstool GDBUS_CODEGEN=/scratch/wip/superhtml/work/.tools/bin/gdbus-codegen PKG_CONFIG=/scratch/wip/superhtml/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/scratch/wip/superht
+ml/work/.buildlink/lib/pkgconfig:/scratch/wip/superhtml/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/wip/superhtml/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/scratch/wip/superhtml/work/.
+cwrapper/config zig build --release=safe -Dcpu=baseline  -Dpie=true --prefix /scratch/wip/superhtml/work/.destdir/usr/pkg
+error: invalid option: -Dpie
+  access the help menu with 'zig build -h'
+error: the following build command failed with exit code 1:
+/scratch/wip/superhtml/work/zig-local-cache/o/294682f81b1213fd563e01e1bcc6806d/build /usr/pkg/bin/zig /scratch/wip/superhtml/work/superhtml-0.5.0 /scratch/wip/superhtml/work/zig-local-cache /scratch/wip/superhtml/w
+ork/zig-global-cache --seed 0xbe35caaf -Z79edcce74921f8f4 --release=safe -Dcpu=baseline -Dpie=true --prefix /scratch/wip/superhtml/work/.destdir/usr/pkg
+*** Error code 1
diff --git a/superhtml/distinfo b/superhtml/distinfo
new file mode 100644
index 0000000000..4d5fa8c05d
--- /dev/null
+++ b/superhtml/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (superhtml-0.5.0.tar.gz) = 1d501c2a2b997230762d256c7eb459ec2a4faf8265256cb3829104c8a54234a1
+SHA512 (superhtml-0.5.0.tar.gz) = a90b612f558b3cee751fb51ee1d6adb93846a6711e154bd569f1688e5022ae52bec0d2ecca4586196fba4f95c6bfaab2f6af686284bc3525d6fcceb619ee9f73
+Size (superhtml-0.5.0.tar.gz) = 2234423 bytes


Home | Main Index | Thread Index | Old Index