From 3156d1f482e05be7abc5873bb6768bb15b335c47 Mon Sep 17 00:00:00 2001 From: vigress8 <150687949+vigress8@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:19:35 +0400 Subject: [PATCH] upd(lix-git): `2.90` -> `2.92.0` --- packagelist | 2 +- .../.SRCINFO | 7 +-- .../libeditline-troglobit-git.pacscript} | 14 +++--- packages/lix-git/.SRCINFO | 12 +++--- packages/lix-git/lix-git.pacscript | 43 +++++++------------ srclist | 19 ++++---- 6 files changed, 46 insertions(+), 51 deletions(-) rename packages/{libeditline-troglobit => libeditline-troglobit-git}/.SRCINFO (75%) rename packages/{libeditline-troglobit/libeditline-troglobit.pacscript => libeditline-troglobit-git/libeditline-troglobit-git.pacscript} (68%) diff --git a/packagelist b/packagelist index 7070e70ace9..7747c5d5804 100644 --- a/packagelist +++ b/packagelist @@ -255,7 +255,7 @@ libcamera-git libcutefish-git libdisplay-info-git libdrm -libeditline-troglobit +libeditline-troglobit-git libfdk-aac1-deb libgc-nix libicu-deb diff --git a/packages/libeditline-troglobit/.SRCINFO b/packages/libeditline-troglobit-git/.SRCINFO similarity index 75% rename from packages/libeditline-troglobit/.SRCINFO rename to packages/libeditline-troglobit-git/.SRCINFO index 55659f3adb9..0516c5987f5 100644 --- a/packages/libeditline-troglobit/.SRCINFO +++ b/packages/libeditline-troglobit-git/.SRCINFO @@ -1,4 +1,5 @@ -pkgbase = libeditline-troglobit +pkgbase = libeditline-troglobit-git + gives = libeditline-troglobit pkgver = 1.17.1 pkgdesc = A readline() replacement for UNIX without termcap (ncurses) url = https://troglobit.com/projects/editline/ @@ -7,6 +8,6 @@ pkgbase = libeditline-troglobit license = custom:permissive maintainer = vigress8 repology = project: editline-troglobit - source = libeditline-troglobit::https://github.com/troglobit/editline.git#tag=1.17.1 + source = libeditline-troglobit::https://github.com/troglobit/editline.git -pkgname = libeditline-troglobit +pkgname = libeditline-troglobit-git diff --git a/packages/libeditline-troglobit/libeditline-troglobit.pacscript b/packages/libeditline-troglobit-git/libeditline-troglobit-git.pacscript similarity index 68% rename from packages/libeditline-troglobit/libeditline-troglobit.pacscript rename to packages/libeditline-troglobit-git/libeditline-troglobit-git.pacscript index afff0c0de39..b2a142a275f 100644 --- a/packages/libeditline-troglobit/libeditline-troglobit.pacscript +++ b/packages/libeditline-troglobit-git/libeditline-troglobit-git.pacscript @@ -1,5 +1,5 @@ -pkgname='libeditline-troglobit' -_pkgname='editline' +pkgname='libeditline-troglobit-git' +gives='libeditline-troglobit' pkgver='1.17.1' pkgdesc='A readline() replacement for UNIX without termcap (ncurses)' url='https://troglobit.com/projects/editline/' @@ -7,26 +7,26 @@ license=('custom:permissive') makedepends=('automake' 'libtool') maintainer=('vigress8 ') repology=('project: editline-troglobit') -source=("${pkgname}::https://github.com/troglobit/editline.git#tag=${pkgver}") +source=("${gives}::https://github.com/troglobit/editline.git") build() { - cd "${pkgname}" + cd "${gives}" ./autogen.sh ./configure --prefix=/usr make -j"${NCPU}" } package() { - cd "${pkgname}" + cd "${gives}" make DESTDIR="${pkgdir}" install # avoid libedit conflict mv "${pkgdir}"/usr/share/man/man3/editline{,-troglobit}.3 # license - install -Dm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${gives}" # additional documentation install -dm644 "${pkgdir}/usr/share/doc" - cp -r docs "${_}/${pkgname}" + cp -r docs "${_}/${gives}" } diff --git a/packages/lix-git/.SRCINFO b/packages/lix-git/.SRCINFO index bd4dddf1a66..16f0b4da316 100644 --- a/packages/lix-git/.SRCINFO +++ b/packages/lix-git/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = lix-git gives = lix - pkgver = 2.90 + pkgver = 2.92.0 pkgdesc = A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth url = https://lix.systems depends = busybox-static @@ -19,12 +19,10 @@ pkgbase = lix-git depends = libssl3t64 | libssl3 depends = perl depends = xz-utils - makedepends = bison makedepends = busybox-static makedepends = cargo makedepends = cmake makedepends = doxygen - makedepends = flex makedepends = graphviz makedepends = libarchive-dev makedepends = libboost-container-dev @@ -42,13 +40,17 @@ pkgbase = lix-git makedepends = libtoml11-dev makedepends = lowdown makedepends = lsof - makedepends = meson + makedepends = meson>=1.4.0 makedepends = ninja-build makedepends = nlohmann-json3-dev makedepends = pkg-config makedepends = python3 + makedepends = tao-pegtl-dev + checkdepends = libgmock-dev + checkdepends = libgtest-dev + checkdepends = librapidcheck-dev pacdeps = coreutils-single - pacdeps = libeditline-troglobit + pacdeps = libeditline-troglobit-git pacdeps = libgc-nix pacdeps = mdbook pacdeps = mdbook-linkcheck diff --git a/packages/lix-git/lix-git.pacscript b/packages/lix-git/lix-git.pacscript index 5d6bf1e6e46..ad87d34514c 100644 --- a/packages/lix-git/lix-git.pacscript +++ b/packages/lix-git/lix-git.pacscript @@ -1,6 +1,6 @@ pkgname='lix-git' gives='lix' -pkgver='2.90' +pkgver='2.92.0' pkgdesc='A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth' url='https://lix.systems' source=('lix::https://github.com/lix-project/lix.git') @@ -10,12 +10,10 @@ conflicts=('lix' 'nix-bin' 'nix-setup-systemd') external_connection='true' makedepends_amd64=('libcpuid-dev') makedepends=( - 'bison' 'busybox-static' 'cargo' 'cmake' 'doxygen' - 'flex' 'graphviz' 'libarchive-dev' 'libboost-container-dev' @@ -33,11 +31,12 @@ makedepends=( 'libtoml11-dev' 'lowdown' 'lsof' - 'meson' + 'meson>=1.4.0' 'ninja-build' 'nlohmann-json3-dev' 'pkg-config' 'python3' + 'tao-pegtl-dev' ) depends_amd64=('libcpuid16') depends=( @@ -58,14 +57,14 @@ depends=( 'perl' 'xz-utils' ) -#checkdepends=( -# 'libgmock-dev' -# 'libgtest-dev' -# 'librapidcheck-dev' -#) +checkdepends=( + 'libgmock-dev' + 'libgtest-dev' + 'librapidcheck-dev' +) pacdeps=( 'coreutils-single' - 'libeditline-troglobit' + 'libeditline-troglobit-git' 'libgc-nix' 'mdbook' 'mdbook-linkcheck' @@ -73,20 +72,11 @@ pacdeps=( prepare() { cd lix - sed -i '1c #!/usr/bin/env bash' \ - doc/manual/process-includes.sh \ - doc/manual/render-manpage.sh \ - tests/functional/install-darwin.sh - env -C lix-doc CARGO_HOME=crates \ - cargo fetch --locked + cargo fetch --locked } build() { cd lix - env -C lix-doc CARGO_HOME=crates \ - cargo build -j"${NCPU}" --release --offline - export LIBRARY_PATH=${PWD}/lix-doc/target/release - local mesonflags=( -Db_lto=true -Denable-docs=true @@ -97,18 +87,17 @@ build() { -Dstate-dir=/nix/var -Dstore-dir=/nix/store -Dsysconfdir=/etc - #-Dtests-brief=true ) meson setup build "${mesonflags[@]}" - ninja -j"${NCPU}" -C build + meson compile -C build } -#check() { -# cd lix -# ninja test -j"${NCPU}" -C build -#} +check() { + cd lix + meson test -C build +} package() { cd lix - DESTDIR="${pkgdir}" ninja install -C build + DESTDIR="${pkgdir}" meson install -C build } diff --git a/srclist b/srclist index d3e26f1e3ef..24a7126be60 100644 --- a/srclist +++ b/srclist @@ -5100,7 +5100,8 @@ pkgbase = libdrm pkgname = libdrm --- -pkgbase = libeditline-troglobit +pkgbase = libeditline-troglobit-git + gives = libeditline-troglobit pkgver = 1.17.1 pkgdesc = A readline() replacement for UNIX without termcap (ncurses) url = https://troglobit.com/projects/editline/ @@ -5109,9 +5110,9 @@ pkgbase = libeditline-troglobit license = custom:permissive maintainer = vigress8 repology = project: editline-troglobit - source = libeditline-troglobit::https://github.com/troglobit/editline.git#tag=1.17.1 + source = libeditline-troglobit::https://github.com/troglobit/editline.git -pkgname = libeditline-troglobit +pkgname = libeditline-troglobit-git --- pkgbase = libfdk-aac1-deb gives = libfdk-aac1 @@ -5622,7 +5623,7 @@ pkgname = linux-wifi-hotspot-deb --- pkgbase = lix-git gives = lix - pkgver = 2.90 + pkgver = 2.92.0 pkgdesc = A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth url = https://lix.systems depends = busybox-static @@ -5641,12 +5642,10 @@ pkgbase = lix-git depends = libssl3t64 | libssl3 depends = perl depends = xz-utils - makedepends = bison makedepends = busybox-static makedepends = cargo makedepends = cmake makedepends = doxygen - makedepends = flex makedepends = graphviz makedepends = libarchive-dev makedepends = libboost-container-dev @@ -5664,13 +5663,17 @@ pkgbase = lix-git makedepends = libtoml11-dev makedepends = lowdown makedepends = lsof - makedepends = meson + makedepends = meson>=1.4.0 makedepends = ninja-build makedepends = nlohmann-json3-dev makedepends = pkg-config makedepends = python3 + makedepends = tao-pegtl-dev + checkdepends = libgmock-dev + checkdepends = libgtest-dev + checkdepends = librapidcheck-dev pacdeps = coreutils-single - pacdeps = libeditline-troglobit + pacdeps = libeditline-troglobit-git pacdeps = libgc-nix pacdeps = mdbook pacdeps = mdbook-linkcheck