next: rename to nyxt and bump to version 2.0.0

This commit is contained in:
Alexander Egorenkov 2020-09-08 20:08:21 +02:00 committed by Piotr
parent 52b4a5bbb5
commit 9bd2879227
4 changed files with 34 additions and 69 deletions

1
srcpkgs/next Symbolic link
View File

@ -0,0 +1 @@
nyxt

View File

@ -1,31 +0,0 @@
commit 8350ff933c37faa15101662516d8614a9c301a36
Author: Pierre Neidhardt <mail@ambrevar.xyz>
Date: Thu Mar 5 16:43:55 2020 +0100
Work around Guix compilation error of define-key.
Error happens in search-buffer's search-over-buffers which calls define-key.
; in: DEFUN SEARCH-OVER-BUFFERS => DEFINE-KEY "C-s"
; (NEXT:DEFINE-KEY "C-s"
; #'(LAMBDA () (NEXT::UPDATE-SELECTION-HIGHLIGHT-HINT :FOLLOW T :SCROLL T))
; :KEYMAP NEXT::KEYMAP)
;
; caught WARNING:
; The first argument of type (SIMPLE-ARRAY CHARACTER (3)) cannot be used as a keyword.
Maybe the type is wrong. But our define-key lambdalist is weird anyways.
diff --git a/source/keymap.lisp b/source/keymap.lisp
index bbcb9d21..e29bdf3a 100644
--- source/keymap.lisp
+++ source/keymap.lisp
@@ -144,7 +144,7 @@
(setf (key-chord-stack *browser*) nil))
(t (setf (key-chord-stack *browser*) nil))))))
-(declaim (ftype (function (&rest t &key (:scheme list) (:keymap keymap) &allow-other-keys)) define-key))
+;; (declaim (ftype (function (&rest t &key (:scheme list) (:keymap keymap) &allow-other-keys)) define-key)) ; TODO: This fails with Guix.
@export
(defun define-key (&rest key-command-pairs
&key keymap

View File

@ -1,38 +0,0 @@
# Template file for 'next'
pkgname=next
version=1.5.0
revision=2
wrksrc=nyxt-${version}
build_style=gnu-makefile
hostmakedepends="sbcl curl pkg-config"
makedepends="webkit2gtk-devel libfixposix-devel openssl-devel"
depends="dbus sqlite xclip libfixposix-devel openssl-devel"
short_desc="Keyboard-oriented, extensible web-browser"
maintainer="0x0f0f0f <sudo-woodo3@protonmail.com>"
license="BSD-3-Clause"
homepage="https://next.atlas.engineer/"
# we need this commit to fix non-x86 builds
# it is the only commit on top of 0.53 release
# remove the whole vendoring thing when 0.54 is out
# this will probably be the next time we update this...
_ironclad_rev=f215e183e7fe0b66da009c07d70e6f738ea1da03
distfiles="https://github.com/atlas-engineer/nyxt/archive/${version}.tar.gz
https://github.com/sharplispers/ironclad/archive/${_ironclad_rev}.tar.gz"
checksum="bfd1e2e6f43385b8dc07d4860da6ef99d9e94aba4c688eddd05930c5a2e36637
988ccefa88b47f97dc8fb52a475a444c0b1bc45fdca64009140d41d397980ca6"
nostrip=yes
nopie=yes
nocross="https://travis-ci.org/void-linux/void-packages/builds/590346382"
post_extract() {
mkdir ${wrksrc}/vendor
mv ../ironclad-* ${wrksrc}/vendor/ironclad
}
pre_install() {
export CL_SOURCE_REGISTRY=${wrksrc}/vendor/ironclad
}
post_install() {
vlicense LICENSE
}

33
srcpkgs/nyxt/template Normal file
View File

@ -0,0 +1,33 @@
# Template file for 'nyxt'
pkgname=nyxt
version=2.0.0
revision=1
wrksrc=nyxt
build_style=gnu-makefile
make_build_target=all
hostmakedepends="sbcl curl pkg-config git"
makedepends="webkit2gtk-devel libfixposix-devel openssl-devel libgirepository-devel"
depends="dbus sqlite xclip webkit2gtk-devel libgirepository-devel"
short_desc="Keyboard-oriented, extensible web-browser"
maintainer="0x0f0f0f <sudo-woodo3@protonmail.com>"
license="BSD-3-Clause"
homepage="https://nyxt.atlas.engineer/"
distfiles="https://nyxt.atlas.engineer/static/release/nyxt-linux-${version}.tar.gz"
checksum=71154bc6ef88f176f3f7783e1c0ecc191b6dcdd996e1c67f2bbc417b651e0355
# Disable check because ASDF/USER::PROVE is not installed
make_check=no
nostrip=yes
nopie=yes
nocross="Cross-compilation fails due to package iolib/syscalls setting incorrect compiler flags"
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense licenses/ASSET-LICENSE
vlicense licenses/SOURCE-LICENSE
}
next_package() {
depends="nyxt"
short_desc+=" (transitional dummy package)"
build_style=meta
}