3 Commits

Author SHA1 Message Date
e7dac7f6f8 Add mini.nvim
All checks were successful
Main workflow / build (pull_request) Successful in 12s
Main workflow / build (push) Successful in 12s
2025-08-02 13:35:34 +02:00
e304f4e0bb Add main repository
Some checks failed
Main workflow / build (pull_request) Failing after 7s
2025-08-02 13:33:45 +02:00
7703c9294a Add CI
Some checks failed
Main workflow / build (pull_request) Failing after 7s
2025-08-02 13:32:13 +02:00
45 changed files with 77 additions and 2076 deletions

View File

@@ -5,12 +5,12 @@ on:
pull_request: pull_request:
push: push:
branches: branches:
- v3.22 - main
env: env:
BASE_URL: https://git.mug.lv/api/packages/mug/alpine BASE_URL: https://git.mug.lv/api/packages/mug/alpine
PACKAGER: Galen Abell <galen@galenabell.com> PACKAGER: Galen Abell <galen@galenabell.com>
RELEASE: "v3.22" RELEASE: '3.22'
REPOSITORY: main REPOSITORY: main
jobs: jobs:
@@ -18,22 +18,22 @@ jobs:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
timeout-minutes: 30 timeout-minutes: 30
container: container:
image: alpine:3.22 image: alpine:${{ env.RELEASE }}
steps: steps:
- name: Install dependencies - name: Install dependencies
run: apk add abuild bash curl doas git jq lua-aports nodejs run: apk add abuild bash curl doas git lua-aports nodejs
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v6 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Setup abuild - name: Setup abuild
run: | run: |
cat <<EOF | tee /etc/apk/repositories cat <<EOF | tee /etc/apk/repositories
$BASE_URL/$RELEASE/$REPOSITORY $BASE_URL/v$RELEASE/$REPOSITORY
https://dl-cdn.alpinelinux.org/alpine/$RELEASE/main https://dl-cdn.alpinelinux.org/alpine/v$RELEASE/main
https://dl-cdn.alpinelinux.org/alpine/$RELEASE/community https://dl-cdn.alpinelinux.org/alpine/v$RELEASE/community
EOF EOF
curl -sJO --output-dir /etc/apk/keys "$BASE_URL/key" curl -sJO --output-dir /etc/apk/keys "$BASE_URL/key"
apk update || true apk update || true
@@ -48,26 +48,28 @@ jobs:
id: changed id: changed
shell: bash shell: bash
run: | run: |
packages="$(git diff \ if [ "$GITHUB_EVENT_NAME" = 'push' ]; then
aports="$(git show \
--pretty= \
--name-only \ --name-only \
--diff-filter=ACMR \ --diff-filter=ACMR \
--relative="$REPOSITORY" \ --relative="$REPOSITORY" \
"$BASE_REF"...HEAD -- '*/APKBUILD' | HEAD -- '*/APKBUILD' | xargs -rn1 dirname)"
xargs -rn1 dirname | else
xargs -r ap builddirs -d "$(pwd)/$REPOSITORY" | aports="$(git diff \
xargs -rn1 basename)" --name-only \
echo 'packages<<EOF' >>"$GITHUB_OUTPUT" --diff-filter=ACMR \
echo "$packages" >>"$GITHUB_OUTPUT" --relative="$REPOSITORY" \
echo 'EOF' >>"$GITHUB_OUTPUT" origin/main...HEAD -- '*/APKBUILD' | xargs -rn1 dirname)"
echo "$packages" fi
env: packages="$(ap builddirs -d "$(pwd)/$REPOSITORY" "$aports" 2>/dev/null | xargs -rn1 basename)"
BASE_REF: ${{ github.event_name == 'push' && github.event.before || format('origin/{0}', github.base_ref) }} echo "packages=$packages" | tee -a "$GITHUB_OUTPUT"
- name: Build packages - name: Build packages
if: ${{ steps.changed.outputs.packages != '' }} if: ${{ steps.changed.outputs.packages != '' }}
run: | run: |
echo "$CHANGED_PACKAGES" | while read -r package; do for package in $CHANGED_PACKAGES; do
(cd "$REPOSITORY/$package" && abuild -Frc) (cd "$REPOSITORY/$package" && abuild -Fr)
done done
env: env:
CHANGED_PACKAGES: ${{ steps.changed.outputs.packages }} CHANGED_PACKAGES: ${{ steps.changed.outputs.packages }}
@@ -77,50 +79,14 @@ jobs:
shell: bash shell: bash
run: | run: |
find "$HOME/packages" -type f -name '*.apk' | while read -r pkg; do find "$HOME/packages" -type f -name '*.apk' | while read -r pkg; do
name="$(tar Oxzvf "$pkg" .PKGINFO 2>/dev/null | grep ^pkgname | cut -d= -f2 | xargs)" curl --user "$USER:$PASSWORD" \
arch="$(tar Oxzvf "$pkg" .PKGINFO 2>/dev/null | grep ^arch | cut -d= -f2 | xargs)"
echo "deleting $name"
curl --silent --user "$USER:$PASSWORD" \
--fail-with-body \ --fail-with-body \
-X DELETE \ -X DELETE \
"$BASE_URL/$RELEASE/$REPOSITORY/$arch/$(basename "$pkg")" || echo 'package does not already exist' "$BASE_URL/$RELEASE/$REPOSITORY/$(uname -m)/$(basename "$pkg")" || echo 'package does not already exist'
echo "uploading $name" curl --user "$USER:$PASSWORD" \
curl --silent --user "$USER:$PASSWORD" \
--fail-with-body \ --fail-with-body \
--upload-file "$pkg" \ --upload-file "$pkg" \
"$BASE_URL/$RELEASE/$REPOSITORY" "$BASE_URL/$RELEASE/$REPOSITORY"
echo "linking $name"
curl --silent --user "$USER:$PASSWORD" \
--fail-with-body \
-X POST \
"$GITHUB_API_URL/packages/$USER/alpine/$name/-/link/aports" || echo 'package is already linked'
done
env:
PASSWORD: ${{ secrets.PACKAGES_TOKEN }}
USER: ${{ github.repository_owner }}
- name: Cleanup deleted packages
if: ${{ github.event_name == 'push' }}
shell: bash
run: |
apk list --from=none --repository="$BASE_URL/$RELEASE/$REPOSITORY" |
cut -d' ' -f3 |
tr -d '{}' |
sort -u |
while read -r pkg; do
if [ -z "$(ap builddirs -d "$(pwd)/$REPOSITORY" "$pkg" 2>/dev/null)" ]; then
apk list --from=none --repository="$BASE_URL/$RELEASE/$REPOSITORY" "$pkg" |
cut -d' ' -f1-2 |
while read -r pkg; do
filename="$(echo "$pkg" | cut -d' ' -f1)"
arch="$(echo "$pkg" | cut -d' ' -f2)"
echo "deleting $filename ($arch)"
curl --silent --user "$USER:$PASSWORD" \
--fail-with-body \
-X DELETE \
"$BASE_URL/$RELEASE/$REPOSITORY/$arch/$filename"
done
fi
done done
env: env:
PASSWORD: ${{ secrets.PACKAGES_TOKEN }} PASSWORD: ${{ secrets.PACKAGES_TOKEN }}

View File

@@ -1,18 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"regexManagers": [
{
"fileMatch": ["APKBUILD$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)( packageName=(?<packageName>.*?))?( registryUrl=(?<registryUrl>.*?))?\npkgname=(?<depName>.*?)\npkgver=(?<currentValue>.*?)\n",
"# renovate: datasource=(?<datasource>.*?)( packageName=(?<packageName>.*?))?( registryUrl=(?<registryUrl>.*?))?\npkgname=(?<depName>.*?)\n_pkgsha=(?<currentValue>.*?)\n",
],
"extractVersionTemplate": "^v?(?<version>.*)$",
},
],
"postUpgradeTasks": {
"commands": ["apkbuild-checksum {{{packageFile}}}"],
"fileFilters": ["**/APKBUILD"],
},
}

View File

@@ -1,33 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=Canop/bacon
pkgname=bacon
pkgver=3.20.3
pkgrel=0
pkgdesc="Background code checker"
url="https://github.com/Canop/bacon"
arch="all"
license="AGPL-3.0-only"
makedepends="cargo cargo-auditable"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/Canop/bacon/archive/refs/tags/v$pkgver.tar.gz"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --release
}
package() {
install -Dm755 target/release/bacon "$pkgdir/usr/bin/bacon"
}
sha512sums="
deb16a259d740abe6a9e5764c95ff4d91fb3f2ea7beaf88a6744ce37f125b74f780f3136bae8a8e843c07a260091795f684137cd609503c37e55c0796bc50033 bacon-3.20.3.tar.gz
"

View File

@@ -1,37 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=npm
pkgname=bash-language-server
pkgver=5.6.0
pkgrel=0
pkgdesc="A language server for Bash"
url="https://github.com/bash-lsp/bash-language-server"
arch="noarch"
license="MIT"
depends="nodejs"
makedepends="npm pnpm"
options="net !check" # tests fail
source="$pkgname-$pkgver.tar.gz::https://github.com/bash-lsp/bash-language-server/archive/refs/tags/server-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-server-$pkgver"
build() {
pnpm install --frozen-lockfile
pnpm run compile
}
package() {
cd server/ || exit 1
install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/node_modules/"$pkgname"
chmod +x out/cli.js
ln -sf ../lib/node_modules/"$pkgname"/out/cli.js \
"$pkgdir"/usr/bin/"$pkgname"
rm -r node_modules
npm install --omit=dev
cp -r node_modules/ out/ package.json parser.info tree-sitter-bash.wasm \
"$pkgdir"/usr/lib/node_modules/"$pkgname"
}
sha512sums="
0c99d34ca0e92a4e5719e8c8ca99faad5effe5d6d45f72cdaa05f70df521cf0830e3f81acf700d172496afa721881c2f1df4faf280e897809ce55757d5039796 bash-language-server-5.6.0.tar.gz
"

View File

@@ -1,35 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=box-cli
pkgver=0_git20251123
_pkgsha=29d08f257968d12d53f4248575b2b2ac8c7b1e03
pkgrel=1
pkgdesc="Transparent development environments."
url="https://codeberg.org/galen/box-cli"
arch="all"
license="MIT"
makedepends="cargo cargo-auditable"
options="net"
source="$pkgname-$_pkgsha.tar.gz::https://codeberg.org/galen/box-cli/archive/$_pkgsha.tar.gz"
builddir="$srcdir/$pkgname"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test
}
package() {
install -Dm755 target/release/box "$pkgdir/usr/bin/box"
}
sha512sums="
a336d9779cbe625c403eb106b41f5263ba1e32e533c32d9f03098f939a0df56ccec3ace528170a396a4ea790df3c0a8ba554dfdd1bf9275d88d707aab3ddcc32 box-cli-29d08f257968d12d53f4248575b2b2ac8c7b1e03.tar.gz
"

View File

@@ -1,26 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=browserpass/browserpass-extension
pkgname=browserpass-extension-firefox
pkgver=3.11.0
pkgrel=0
pkgdesc="Browser extension for pass (Firefox extension)"
url="https://github.com/browserpass/browserpass-extension"
arch="noarch"
license="ISC"
makedepends="yarn zip"
options="!check net" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/browserpass/browserpass-extension/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/browserpass-extension-$pkgver"
build() {
# Force non-parallel execution; it seems the Makefile isn't defined correctly to allow this.
make -j1 firefox
(cd firefox && zip -r ../browserpass-firefox.zip *)
}
package() {
install -Dm644 browserpass-firefox.zip "$pkgdir/usr/lib/firefox/browser/extensions/browserpass@maximbaz.com.xpi"
}
sha512sums="
ea07ac924f8779656d2f827c4726475d2c1831d258513da3a29a2a24f65130c5b57ba331a97989e9ce70c1a5cb3843690e8eb48239a4eedc2dccec7dec7c07ca browserpass-extension-firefox-3.11.0.tar.gz
"

View File

@@ -1,36 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=cargo-generate/cargo-generate
pkgname=cargo-generate
pkgver=0.23.5
pkgrel=0
pkgdesc="Use pre-existing git repositories as templates"
url="https://github.com/cargo-generate/cargo-generate"
license="MIT OR Apache-2.0"
arch="all"
options="net"
makedepends="cargo cargo-auditable libgit2-dev openssl-dev"
source="https://github.com/cargo-generate/cargo-generate/archive/v$pkgver/cargo-generate-$pkgver.tar.gz"
export LIBGIT2_NO_VENDOR=1 # use system libgit2
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release --no-default-features
}
check() {
cargo test --frozen --lib --no-default-features
}
package() {
install -Dm755 target/release/$pkgname -t "$pkgdir"/usr/bin/
}
sha512sums="
7524d847464f85a1da877188140bfee2a10f43613646fd42aed37735b70e2e841bf2d4d688d31a7745a9938a712e310a792f5f1385693706eaf508823301cd98 cargo-generate-0.23.5.tar.gz
"

View File

@@ -1,25 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=clevis-extra-pins
pkgver=0_git20241007
_gitrev=6a2093f0988debcc6574f52561f39fd25c17635a
pkgrel=0
pkgdesc="Additional pins for Clevis binding framework"
url="https://github.com/anatol/clevis.go"
license="GPL-3.0-or-later"
arch="noarch"
depends="bash clevis"
source="https://github.com/anatol/clevis.go/archive/$_gitrev/clevis-extra-pins-$pkgver.tar.gz"
builddir="$srcdir/clevis.go-$_gitrev"
options="!check" # no test suite for bash scripts
package() {
install -Dm755 \
clevis-decrypt-yubikey \
clevis-encrypt-yubikey \
clevis-encrypt-remote \
-t "$pkgdir"/usr/bin/
}
sha512sums="
aeeee5d83dbace9393dce1b0dc313e289825c670e162f00508393bda84f62309f0b469ee6ce56cdb26d61fdbcf35f5c2e2d2be5ba5566af4cbf3351bb598dc5e clevis-extra-pins-0_git20241007.tar.gz
"

View File

@@ -1,45 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=latchset/clevis
pkgname=clevis
pkgver=21
pkgrel=0
pkgdesc="Pluggable framework for automated decryption"
url="https://github.com/latchset/clevis"
license="GPL-3.0-or-later WITH OpenSSL-Exception"
arch="all"
depends="bash cryptsetup jose libpwquality"
makedepends="
asciidoc
bash-completion-dev
cmd:pcscd
cmd:pkcs11-tool
curl
meson
tpm2-tools
cryptsetup-dev
jansson-dev
jose-dev
audit-dev
udisks2-dev
luksmeta-dev
"
subpackages="
$pkgname-dbg
$pkgname-doc
$pkgname-bash-completion
"
source="https://github.com/latchset/clevis/archive/v$pkgver/clevis-$pkgver.tar.gz"
options="!check"
build() {
abuild-meson . output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
f069969a45195679cc5e521ed0b4ec2199d774aab59ec1d60533a3e9af70468aa2c75dfc695e9d48a255828971a3cf199388c92ffa999faadfc16d7c80eb9fde clevis-21.tar.gz
"

View File

@@ -1,32 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=GoogleCloudPlatform/cloud-sql-proxy
pkgname=cloud-sql-proxy
pkgver=2.20.0
pkgrel=0
pkgdesc="Authentication proxy for Google Cloud SQL"
url="https://github.com/GoogleCloudPlatform/cloud-sql-proxy"
arch="all"
license="Apache-2.0"
makedepends="go"
options="chmod-clean net !check" # tests hang
source="$pkgname-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/cloud-sql-proxy/archive/refs/tags/v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -ldflags="-buildid="
}
check() {
go test -v -short ./...
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
b33a281589ae1eb2ddc35f8c21e7165e593ce2addabaa6a2c8a2c463e1774496409c65cea080c097440d7f7a8b1c1caeedb565016f4344b9a1fe1b53459d4a9b cloud-sql-proxy-2.20.0.tar.gz
"

View File

@@ -1,43 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=celenityy/Dove
pkgname=dove
pkgver=2025.11.27.1
_phoenix_pkgver=2025.11.27.1
pkgrel=0
pkgdesc="Privacy & security configurations for Thunderbird"
url="https://codeberg.org/celenity/Dove"
arch="noarch"
license="GPL-3.0-or-later"
makedepends="bash curl jq python3 py3-lxml wget zip"
options="!check net" # no tests
source="
$pkgname-$pkgver.tar.gz::https://codeberg.org/celenity/Dove/archive/$pkgver.tar.gz
phoenix-$_phoenix_pkgver.tar.gz::https://codeberg.org/celenity/Phoenix/archive/$_phoenix_pkgver.tar.gz
"
builddir="$srcdir/dove"
build() {
rm ./archives/*.zip
phoenix_dir="$srcdir/phoenix" ./build/build.sh
mkdir -p ./output
unzip ./archives/dove-linux.zip -d ./output
}
package() {
rm ./output/COPYING.txt ./output/README.md
install -d "$pkgdir"
mv ./output/etc "$pkgdir"
install -d "$pkgdir/etc/thunderbird/dove" "$pkgdir/usr/lib/thunderbird"
mv ./output/assets "$pkgdir/etc/thunderbird/dove"
mv ./output/defaults "$pkgdir/etc/thunderbird"
mv ./output/dove.cfg "$pkgdir/usr/lib/thunderbird"
mv ./output/policies "$pkgdir/etc/thunderbird"
rmdir ./output
}
sha512sums="
b58bee44527f5d3772fdf96eee63f899af8d8b138f5c1ca2b2647ae67011c00192b860cf9ede30b7ce185c3470f48569b4fae4a3ff4e0fef243d8399904402cf dove-2025.11.27.1.tar.gz
cb3787298acf80efe5c5369a15106643f3c3f460bec35f8fb8f904a75f99cfa0df66f1aaccbf6e27347858359e556cd56d56740f5345553745555bd6ca6a5ad3 phoenix-2025.11.27.1.tar.gz
"

View File

@@ -1,35 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=gmenu
pkgver=0_git20250426
_pkgsha=b40e47a4e78ec501f9ca60526dd2b29f2221f0d1
pkgrel=0
pkgdesc="Efficient dynamic menu for Wayland"
url="https://codeberg.org/galen/wmenu"
arch="all"
license="MIT"
makedepends="
meson
libxkbcommon-dev
pango-dev
scdoc
wayland-dev
wayland-protocols
"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$_pkgsha.tar.gz::https://codeberg.org/galen/wmenu/archive/$_pkgsha.tar.gz"
builddir="$srcdir/wmenu"
build() {
abuild-meson \
. output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
444f9f7d8ff4a4a72af5f55233729bb5d626493ee46a58f595cc6451cde2c37d01fa0b835762a9fd86577d97c3f63fd46e2e436a30647de2792af56d7bde9349 gmenu-b40e47a4e78ec501f9ca60526dd2b29f2221f0d1.tar.gz
"

View File

@@ -1,29 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=nametake/golangci-lint-langserver
pkgname=golangci-lint-langserver
pkgver=0.0.11
pkgrel=2
pkgdesc="golangci-lint language server"
url="https://github.com/nametake/golangci-lint-langserver"
arch="all"
license="MIT"
depends="golangci-lint"
makedepends="go"
options="chmod-clean net !check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/nametake/golangci-lint-langserver/archive/refs/tags/v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -ldflags="-buildid="
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
b9de220a70ce95eb4f18e26dc78157d2341ecb96eb553de6a2870e2d06077009f7007166061bded5a3d03e244a2b2f49447ead7ec7ed8cd95814920c7a116dcf golangci-lint-langserver-0.0.11.tar.gz
"

View File

@@ -1,35 +0,0 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=guess-indent.nvim
pkgver=0_git20250325
_pkgsha=84a4987ff36798c2fc1169cbaff67960aed9776f
pkgrel=0
pkgdesc="Automatic indentation style detection for Neovim"
url="https://github.com/NMAC427/guess-indent.nvim"
arch="noarch"
license="MIT"
subpackages="$pkgname-doc"
makedepends="neovim"
options="!check"
source="$pkgname-$_pkgsha.tar.gz::https://github.com/NMAC427/guess-indent.nvim/archive/$_pkgsha.tar.gz"
builddir="$srcdir/$pkgname-$_pkgsha"
build() {
nvim -u NONE -i NONE -e --headless -c "helptags doc" -c quit
}
package() {
local plgdir="$pkgdir"/usr/share/nvim/site/pack/dist/opt/$pkgname
install -d "$plgdir"
cp -ra lua doc "$plgdir"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
doc() {
default_doc
amove usr/share/nvim/site/pack/dist/opt/$pkgname/doc
}
sha512sums="
f32a6b38951e969896104d87a493c501f02479706ca6ea7d06dc65edb77f3813b6ce4ff1bbfe9cea541f79b1903578e9ca7b7e947cab4b92ce66c9530f1f20ec guess-indent.nvim-84a4987ff36798c2fc1169cbaff67960aed9776f.tar.gz
"

View File

@@ -1,65 +0,0 @@
# Maintainer: Mariam Jamal <mariam@mariamjamal.de>
# renovate: datasource=github-tags packageName=haskell/haskell-language-server
pkgname=haskell-language-server
pkgver=2.9.0.0
pkgrel=0
pkgdesc="Official Haskell Language Server implementation"
url="https://github.com/haskell/haskell-language-server"
arch="x86_64 aarch64" # limited by ghc
license="Apache-2.0"
makedepends="ghc cabal zlib-dev"
source="https://hackage.haskell.org/package/haskell-language-server-$pkgver/haskell-language-server-$pkgver.tar.gz
cabal.project.freeze"
options="!check" # Tests fail
export CABAL_DIR="$srcdir/cabal"
export PATH="$PATH:/usr/lib/llvm15/bin"
cabal_update() {
cd $builddir
rm cabal.project.freeze
cabal v2-update
(
cabal v2-freeze \
--shadow-installed-packages \
--disable-benchmarks \
--flags "-dynamic"
mv cabal.project.freeze "$startdir/"
)
}
prepare() {
default_prepare
ln -sf "$srcdir/cabal.project.freeze" \
"$builddir/cabal.project.freeze"
cabal v2-update
cabal v2-build \
--only-download \
--disable-benchmarks \
--flags "-dynamic"
}
check() {
cabal test
}
build() {
cabal v2-build haskell-language-server:exes \
--jobs=${JOBS:-1} \
--prefix=/usr \
--disable-benchmarks \
--flags "-dynamic" \
--enable-relocatable
}
package() {
for exe in haskell-language-server haskell-language-server-wrapper; do
install -Dm755 "$(cabal list-bin $exe)" "$pkgdir"/usr/bin/$exe
done
}
sha512sums="
ecf5a5d895eff1e8d383c4b6870d91b094f2d77b4b695caadb97935a280a558fea0d133935edb0811edeb60a4e5bc646a0290181002c86675f4c1d1ca335b5ab haskell-language-server-2.9.0.0.tar.gz
0b49931fecadb3591cd2591daea96a85dc13c556b2ed791a162ae045d563b06efe182a6b99fde892faa4fcb47a2142b2517deff394a3409a4c286881ac3df488 cabal.project.freeze
"

View File

@@ -1,372 +0,0 @@
active-repositories: hackage.haskell.org:merge
constraints: any.Cabal ==3.10.2.0,
any.Cabal-syntax ==3.10.2.0,
any.Diff ==0.5,
any.Glob ==0.10.2,
any.HsYAML ==0.2.1.4,
HsYAML -exe,
any.HsYAML-aeson ==0.2.0.1,
HsYAML-aeson -exe,
any.ListLike ==4.7.8.2,
any.MemoTrie ==0.6.11,
MemoTrie -examples,
any.MonadRandom ==0.6,
any.OneTuple ==0.4.2,
any.Only ==0.1,
any.QuickCheck ==2.15.0.1,
QuickCheck -old-random +templatehaskell,
any.StateVar ==1.2.2,
any.adjunctions ==4.4.2,
any.aeson ==2.2.3.0,
aeson +ordered-keymap,
any.aeson-pretty ==0.8.10,
aeson-pretty -lib-only,
any.alex ==3.5.1.0,
any.algebraic-graphs ==0.7,
any.ansi-terminal ==1.0.2,
ansi-terminal -example,
any.ansi-terminal-types ==0.11.5,
any.ansi-wl-pprint ==0.6.9,
ansi-wl-pprint -example,
any.apply-refact ==0.14.0.0,
any.array ==0.5.6.0,
any.assoc ==1.1.1,
assoc -tagged,
any.async ==2.2.5,
async -bench,
any.attoparsec ==0.14.4,
attoparsec -developer,
any.attoparsec-aeson ==2.2.2.0,
any.base ==4.19.1.0,
any.base-compat ==0.14.0,
any.base-orphans ==0.9.2,
any.base16-bytestring ==1.0.2.0,
any.base64 ==1.0,
any.bifunctors ==5.6.2,
bifunctors +tagged,
any.binary ==0.8.9.1,
any.bitvec ==1.1.5.0,
bitvec +simd,
any.blaze-builder ==0.4.2.3,
any.blaze-html ==0.9.2.0,
any.blaze-markup ==0.8.3.0,
any.blaze-textual ==0.2.3.1,
blaze-textual -developer -integer-simple +native,
any.boring ==0.2.2,
boring +tagged,
any.bytestring ==0.12.1.0,
any.cabal-doctest ==1.0.10,
any.call-stack ==0.4.0,
any.case-insensitive ==1.2.1.0,
any.cereal ==0.5.8.3,
cereal -bytestring-builder,
any.character-ps ==0.1,
any.charset ==0.3.10,
any.clay ==0.15.0,
any.clock ==0.8.4,
clock -llvm,
any.cmdargs ==0.10.22,
cmdargs +quotation -testprog,
any.co-log-core ==0.3.2.2,
any.colour ==2.3.6,
any.colourista ==0.1.0.2,
any.commutative-semigroups ==0.2.0.1,
any.comonad ==5.0.8,
comonad +containers +distributive +indexed-traversable,
any.conduit ==1.3.6,
any.conduit-extra ==1.3.6,
any.conduit-parse ==0.2.1.1,
conduit-parse -enable-hlint-test,
any.constraints ==0.14.2,
any.constraints-extras ==0.4.0.1,
constraints-extras +build-readme,
any.containers ==0.6.8,
any.contravariant ==1.5.5,
contravariant +semigroups +statevar +tagged,
any.cpphs ==1.20.9.1,
cpphs -old-locale,
any.cryptohash-sha1 ==0.11.101.0,
any.data-default ==0.7.1.1,
any.data-default-class ==0.1.2.0,
any.data-default-instances-containers ==0.0.1,
any.data-default-instances-dlist ==0.0.1,
any.data-default-instances-old-locale ==0.0.1,
any.data-fix ==0.3.4,
any.deepseq ==1.5.0.0,
any.deferred-folds ==0.9.18.6,
any.dependent-map ==0.4.0.0,
any.dependent-sum ==0.7.2.0,
any.deriving-aeson ==0.2.9,
any.dir-traverse ==0.2.3.0,
any.direct-sqlite ==2.3.29,
direct-sqlite +dbstat +fulltextsearch +haveusleep +json1 -mathfunctions -systemlib +urifilenames,
any.directory ==1.3.8.1,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
any.dlist ==1.0,
dlist -werror,
any.enummapset ==0.7.3.0,
enummapset -debug,
any.exceptions ==0.10.7,
any.extensions ==0.1.0.1,
extensions +executable,
any.extra ==1.7.16,
any.fail ==4.9.0.0,
any.file-embed ==0.0.16.0,
any.filemanip ==0.3.6.3,
any.filepath ==1.4.200.1,
any.filepattern ==0.1.3,
any.filtrable ==0.1.6.0,
filtrable +containers,
any.fingertree ==0.1.5.0,
any.floskell ==0.11.1,
any.fmlist ==0.9.4,
any.focus ==1.0.3.2,
any.foldl ==1.4.17,
any.fourmolu ==0.15.0.0,
fourmolu -dev +internal-bundle-fixities,
any.free ==5.2,
any.fuzzy ==0.1.1.0,
any.generic-arbitrary ==1.0.1,
any.generic-deriving ==1.14.5,
generic-deriving +base-4-9,
any.generic-lens ==2.2.2.0,
any.generic-lens-core ==2.2.1.0,
any.generically ==0.1.1,
any.ghc ==9.8.2,
any.ghc-bignum ==1.3,
any.ghc-boot ==9.8.2,
any.ghc-boot-th ==9.8.2,
any.ghc-exactprint ==1.8.0.0,
ghc-exactprint -dev -roundtrip,
any.ghc-heap ==9.8.2,
any.ghc-lib-parser ==9.8.2.20240223,
ghc-lib-parser +threaded-rts,
any.ghc-lib-parser-ex ==9.8.0.2,
ghc-lib-parser-ex -auto -no-ghc-lib,
any.ghc-paths ==0.1.0.12,
any.ghc-prim ==0.11.0,
any.ghc-trace-events ==0.1.2.9,
any.ghci ==9.8.2,
any.ghcide ==2.9.0.0,
ghcide +executable -pedantic +test-exe,
any.githash ==0.1.7.0,
any.gitrev ==1.3.1,
any.haddock-library ==1.11.0,
any.happy ==2.0.2,
any.happy-lib ==2.0.2,
any.hashable ==1.4.7.0,
hashable -arch-native +integer-gmp -random-initial-seed,
haskell-language-server +alternatenumberformat +cabal +cabalfmt +cabalgild +callhierarchy +changetypesignature +class +coderange -dynamic +eval +explicitfields +explicitfixity +floskell +fourmolu +gadt +ghc-lib +hlint -ignore-plugins-ghc-bounds +importlens -isolatecabalfmttests -isolatecabalgildtests +modulename +notes +ormolu +overloadedrecorddot -pedantic +pragmas +qualifyimportednames +refactor +rename +retrie +semantictokens +splice +stan +stylishhaskell,
any.haskell-src-exts ==1.23.1,
any.heaps ==0.4,
any.hie-bios ==0.14.0,
any.hie-compat ==0.3.1.2,
any.hiedb ==0.6.0.1,
any.hlint ==3.8,
hlint +ghc-lib +gpl -hsyaml +threaded,
any.hls-graph ==2.9.0.0,
hls-graph -embed-files -pedantic -stm-stats,
any.hls-plugin-api ==2.9.0.0,
hls-plugin-api -pedantic +use-fingertree,
any.hls-test-utils ==2.9.0.0,
hls-test-utils -pedantic,
any.hpc ==0.7.0.0,
any.hsc2hs ==0.68.10,
hsc2hs -in-ghc-tree,
any.hscolour ==1.25,
any.hw-fingertree ==0.1.1.0,
any.hw-prim ==0.6.3.2,
hw-prim -bounds-checking-enabled,
any.implicit-hie ==0.1.4.0,
implicit-hie +executable,
any.indexed-profunctors ==0.1.1.1,
any.indexed-traversable ==0.1.4,
any.indexed-traversable-instances ==0.1.2,
any.integer-conversion ==0.1.1,
any.integer-gmp ==1.1,
any.integer-logarithms ==1.0.3.1,
integer-logarithms -check-bounds +integer-gmp,
any.invariant ==0.6.3,
any.js-dgtable ==0.5.2,
any.js-flot ==0.8.3,
any.js-jquery ==3.3.1,
any.kan-extensions ==5.2.6,
any.lens ==5.3.2,
lens -benchmark-uniplate -dump-splices +inlining -j +test-hunit +test-properties +test-templates +trustworthy,
any.lens-aeson ==1.2.3,
any.libyaml ==0.1.4,
libyaml -no-unicode -system-libyaml,
any.libyaml-clib ==0.2.5,
any.list-t ==1.0.5.7,
any.logict ==0.8.1.0,
any.lsp ==2.7.0.0,
lsp -demo,
any.lsp-test ==0.17.1.0,
any.lsp-types ==2.3.0.0,
lsp-types -force-ospath,
any.lucid ==2.11.20230408,
any.megaparsec ==9.6.1,
megaparsec -dev,
any.microaeson ==0.1.0.2,
any.mmap ==0.5.9,
mmap -mmaptest,
any.mmorph ==1.2.0,
any.mod ==0.2.0.1,
mod +semirings +vector,
any.monad-control ==1.0.3.1,
any.monad-dijkstra ==0.1.1.5,
any.mono-traversable ==1.0.20.0,
any.monoid-subclasses ==1.2.5.1,
any.mtl ==2.3.1,
any.neat-interpolation ==0.5.1.4,
any.network ==3.2.4.0,
network -devel,
any.network-uri ==2.6.4.2,
any.newtype-generics ==0.6.2,
any.old-locale ==1.0.0.7,
any.old-time ==1.1.0.4,
any.opentelemetry ==0.8.0,
any.optparse-applicative ==0.17.1.0,
optparse-applicative +process,
any.optparse-simple ==0.1.1.4,
optparse-simple -build-example,
any.ordered-containers ==0.2.4,
any.ormolu ==0.7.4.0,
ormolu -dev +internal-bundle-fixities,
any.os-string ==2.0.6,
any.parallel ==3.2.2.0,
any.parsec ==3.1.17.0,
any.parser-combinators ==1.3.0,
parser-combinators -dev,
any.parsers ==0.12.11,
parsers +attoparsec +binary +parsec,
any.polyparse ==1.13,
any.pretty ==1.1.3.6,
any.pretty-simple ==4.1.2.0,
pretty-simple -buildexample +buildexe,
any.prettyprinter ==1.7.1,
prettyprinter -buildreadme +text,
any.prettyprinter-ansi-terminal ==1.1.3,
any.primes ==0.2.1.0,
any.primitive ==0.9.0.0,
any.primitive-extras ==0.10.2,
any.primitive-unlifted ==2.1.0.0,
any.process ==1.6.18.0,
any.process-extras ==0.7.4,
any.profunctors ==5.6.2,
any.psqueues ==0.2.8.0,
any.quickcheck-instances ==0.3.31,
any.random ==1.2.1.2,
any.random-shuffle ==0.0.4,
any.refact ==0.3.0.2,
any.reflection ==2.1.8,
reflection -slow +template-haskell,
any.regex ==1.1.0.2,
any.regex-applicative ==0.3.4,
any.regex-base ==0.94.0.2,
any.regex-pcre-builtin ==0.95.2.3.8.44,
any.regex-tdfa ==1.3.2.2,
regex-tdfa +doctest -force-o2,
any.relude ==1.2.1.0,
any.resourcet ==1.3.0,
any.retrie ==1.2.3,
retrie +buildexecutable,
any.row-types ==1.0.1.2,
any.rts ==1.0.2,
any.safe ==0.3.21,
any.safe-exceptions ==0.1.7.4,
any.scientific ==0.3.8.0,
scientific -integer-simple,
any.selective ==0.7.0.1,
any.semaphore-compat ==1.0.0,
any.semialign ==1.3.1,
semialign +semigroupoids,
any.semigroupoids ==6.0.1,
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers,
any.semigroups ==0.20,
semigroups +binary +bytestring -bytestring-builder +containers +deepseq +hashable +tagged +template-haskell +text +transformers +unordered-containers,
any.semirings ==0.7,
semirings +containers +unordered-containers,
any.shake ==0.19.8,
shake -cloud -embed-files -portable +threaded,
any.slist ==0.2.1.0,
any.some ==1.0.6,
some +newtype-unsafe,
any.sorted-list ==0.2.2.0,
any.split ==0.2.5,
any.splitmix ==0.1.0.5,
splitmix -optimised-mixer,
any.sqlite-simple ==0.4.19.0,
any.stan ==0.1.3.0,
any.stm ==2.5.2.1,
any.stm-containers ==1.2.1,
any.stm-hamt ==1.2.1,
any.streaming-commons ==0.2.2.6,
streaming-commons -use-bytestring-builder,
any.strict ==0.5.1,
any.stylish-haskell ==0.14.6.0,
stylish-haskell +ghc-lib,
any.syb ==0.7.2.4,
any.tagged ==0.8.8,
tagged +deepseq +transformers,
any.tasty ==1.5,
tasty +unix,
any.tasty-expected-failure ==0.12.3,
any.tasty-golden ==2.3.5,
tasty-golden -build-example,
any.tasty-hunit ==0.10.2,
any.tasty-quickcheck ==0.11,
any.tasty-rerun ==1.1.19,
any.template-haskell ==2.21.0.0,
any.temporary ==1.3,
any.terminal-size ==0.3.4,
any.text ==2.1.1,
any.text-iso8601 ==0.1.1,
any.text-rope ==0.2,
text-rope -debug,
any.text-short ==0.1.6,
text-short -asserts,
any.th-abstraction ==0.7.0.0,
any.th-compat ==0.1.5,
any.th-env ==0.1.1,
any.these ==1.2.1,
any.time ==1.12.2,
any.time-compat ==1.9.7,
any.time-locale-compat ==0.1.1.5,
time-locale-compat -old-locale,
any.tomland ==1.3.3.3,
tomland -build-play-tomland -build-readme,
any.transformers ==0.6.1.0,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.2,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.trial ==0.0.0.0,
any.trial-optparse-applicative ==0.0.0.0,
any.trial-tomland ==0.0.0.0,
any.typed-process ==0.2.12.0,
any.unbounded-delays ==0.1.1.1,
any.uniplate ==1.6.13,
any.unix ==2.8.4.0,
any.unix-compat ==0.7.2,
any.unliftio ==0.2.25.0,
any.unliftio-core ==0.2.1.0,
any.unordered-containers ==0.2.20,
unordered-containers -debug,
any.utf8-string ==1.0.2,
any.uuid-types ==1.0.6,
any.validation-selective ==0.2.0.0,
any.vector ==0.13.1.0,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.vector-algorithms ==0.9.0.2,
vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks,
any.vector-stream ==0.1.0.1,
any.void ==0.7.3,
void -safe,
any.witherable ==0.5,
any.yaml ==0.11.11.2,
yaml +no-examples +no-exe,
any.zlib ==0.7.1.0,
zlib -bundled-c-zlib +non-blocking-ffi +pkg-config
index-state: hackage.haskell.org 2024-10-08T09:36:39Z

View File

@@ -1,42 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=MaxVerevkin/i3bar-river
pkgname=i3bar-river
pkgver=1.1.0
pkgrel=3
pkgdesc="Port of i3bar for wlroots-based compositors"
url="https://github.com/MaxVerevkin/i3bar-river"
arch="all"
license="GPL-3.0-only"
makedepends="
cairo-dev
cargo
cargo-auditable
glib-dev
pango-dev
"
options="net" # cargo crates
source="
https://github.com/MaxVerevkin/i3bar-river/archive/v$pkgver/i3bar-river-$pkgver.tar.gz
"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --frozen
}
package() {
install -Dm755 target/release/i3bar-river -t "$pkgdir"/usr/bin/
}
sha512sums="
eb27c3618e2c7fff4a9bbc74ae85fabac18b3ab72dc649389aa1ce01b264975fb10680cf873e31d103e497b2702cdab83fc8f33c1d0e913bbc594f36cc9bae07 i3bar-river-1.1.0.tar.gz
"

View File

@@ -1,31 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=ingot
pkgver=0_git20251003
_pkgsha=260f33828276ea213bf09c73fd5eaa8b5647f381
pkgrel=0
pkgdesc="Reliable status bar generator for Sway"
url="https://codeberg.org/galen/ingot"
arch="all"
license="MIT"
makedepends="cargo cargo-auditable pulseaudio-dev"
options="!check net"
source="$pkgname-$_pkgsha.tar.gz::https://codeberg.org/galen/ingot/archive/$_pkgsha.tar.gz"
builddir="$srcdir/$pkgname"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
package() {
install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
}
sha512sums="
cdeeafa283b1fb6fe322e61bea1def38a31b89b6e1cf6e23b739779693df1ad5bd48407cd3f2998d7add4fa13b276c71ea8ec26a79061f8aa0602f28fef2a6ea ingot-260f33828276ea213bf09c73fd5eaa8b5647f381.tar.gz
"

View File

@@ -1,28 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=sh0rez/kubectl-neat-diff
pkgname=kubectl-neat-diff
pkgver=0.2.0
pkgrel=2
pkgdesc="De-clutter your kubectl diff output using kubectl-neat"
url="https://github.com/sh0rez/kubectl-neat-diff"
arch="all"
license="Apache-2.0"
makedepends="go"
options="chmod-clean net !check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/sh0rez/kubectl-neat-diff/archive/refs/tags/v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -ldflags="-buildid="
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
93d39baef6dcc16d5c684bbf2aa57228d37c995641f742d2b5462797ccfb88daf04bb97ccd60c88d164e700c56db7d323ed1c4d0aae528ea5ef962899329dac8 kubectl-neat-diff-0.2.0.tar.gz
"

View File

@@ -1,43 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=latchset/luksmeta
pkgname=luksmeta
pkgver=9
pkgrel=1
pkgdesc="Library for storing metadata in the LUKSv1 header"
url="https://github.com/latchset/luksmeta"
license="LGPL-2.0-or-later"
arch="all"
makedepends="autoconf automake libtool asciidoc cryptsetup-dev"
checkdepends="bash cryptsetup"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/latchset/luksmeta/archive/v$pkgver/luksmeta-$pkgver.tar.gz
force-creation-of-luks1-containers-in-tests.patch
relax-content-tests-in-test-suite.patch
musl.patch
"
prepare() {
default_prepare
autoreconf -fi
}
build() {
./configure --prefix=/usr
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
874331988fe2648d4924779b348f190ed5c6e4d71da4ad027f176e3f8dcbc78fc26e9f9b8402a97437db5b884db31b72598afc70e025cd8533168a5986417a76 luksmeta-9.tar.gz
a97a000c8bd952fb5a6569ef111bdef5acd56d75bd6bc1f3be3b44113ec6d313400961d018ebe442aa214ac6e8aba41bcce838cb5e34cacd3f84d012910ae729 force-creation-of-luks1-containers-in-tests.patch
6821e042fcc182dbb7c534a2108d486600c87d3c30fa02491cf6cb47867de85bab6f1fdb13c701bab53a794a9d5559e78dc5a9e53cc169d8792e754dee927741 relax-content-tests-in-test-suite.patch
aec3e5b91464a71e33ca7e53c51924cf99b5a7048923bf253c88587d607d763c6671c2fa89c21c0447020368487270dd31f65a40477d277880a9f12d6569431e musl.patch
"

View File

@@ -1,26 +0,0 @@
Patch-Source: https://github.com/latchset/luksmeta/pull/10
From af81262c0f6e6b37e5c6b520d0fca3a9f9b6c1fc Mon Sep 17 00:00:00 2001
From: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date: Sat, 28 Sep 2019 13:24:11 +0200
Subject: [PATCH] Force creation of LUKS1 containers in test suite
Cryptsetup defaults to LUKS2 since version 2.1, make sure to create
LUKS1 containers instead by using the "--type luks1" argument.
---
test-luksmeta | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test-luksmeta b/test-luksmeta
index fd17ead..f1e8b2e 100755
--- a/test-luksmeta
+++ b/test-luksmeta
@@ -11,7 +11,7 @@ function onexit() {
trap 'onexit' EXIT
truncate -s 4M $tmp
-echo -n foo | cryptsetup luksFormat $tmp -
+echo -n foo | cryptsetup luksFormat --type luks1 $tmp -
! ./luksmeta test -d $tmp

View File

@@ -1,175 +0,0 @@
The tests use glibc's error.h, which musl libc does not implement.
Use err.h instead.
--- a/test-lm-big.c
+++ b/test-lm-big.c
@@ -19,7 +19,7 @@
#include "test.h"
#include <errno.h>
-#include <error.h>
+#include <err.h>
#include <stdlib.h>
#include <string.h>
@@ -107,7 +107,7 @@ main(int argc, char *argv[])
/* Set the data. */
r = luksmeta_save(cd, CRYPT_ANY_SLOT, UUID, DATA, sizeof(DATA));
if (r < 0)
- error(EXIT_FAILURE, -r, "luksmeta_save()");
+ err(EXIT_FAILURE, "luksmeta_save()");
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
--- a/test-lm-init.c
+++ b/test-lm-init.c
@@ -22,7 +22,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
-#include <error.h>
+#include <err.h>
#include <stdio.h>
#include <stdlib.h>
@@ -89,11 +89,11 @@ main(int argc, char *argv[])
/* Test to make sure that data corruption is picked up correctly. */
fd = open(filename, O_RDWR | O_SYNC);
if (fd < 0)
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
if (lseek(fd, offset + 16, SEEK_SET) == -1)
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
if (write(fd, &(char) { 17 }, 1) != 1)
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
close(fd);
assert(luksmeta_save(cd, 2, UUID, UUID, sizeof(UUID)) == -EINVAL);
assert(luksmeta_load(cd, 2, uuid, data, sizeof(data)) == -EINVAL);
--- a/test-lm-one.c
+++ b/test-lm-one.c
@@ -18,7 +18,7 @@
*/
#include "test.h"
-#include <error.h>
+#include <err.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
@@ -44,7 +44,7 @@ main(int argc, char *argv[])
r = luksmeta_save(cd, CRYPT_ANY_SLOT, UUID, UUID, sizeof(UUID));
if (r < 0)
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
/* Test the layout state. */
assert(test_layout((range_t[]) {
--- a/test-lm-two.c
+++ b/test-lm-two.c
@@ -18,7 +18,7 @@
*/
#include "test.h"
-#include <error.h>
+#include <err.h>
#include <stdlib.h>
#include <string.h>
@@ -49,7 +49,7 @@ main(int argc, char *argv[])
/* Add one metadata. */
r = luksmeta_save(cd, 0, UUID0, UUID0, sizeof(UUID0));
if (r < 0)
- error(EXIT_FAILURE, -r, "luksmeta_save()");
+ err(EXIT_FAILURE, "luksmeta_save()");
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
@@ -66,7 +66,7 @@ main(int argc, char *argv[])
/* Add a second metadata. */
r = luksmeta_save(cd, 1, UUID1, UUID1, sizeof(UUID1));
if (r < 0)
- error(EXIT_FAILURE, -r, "luksmeta_save()");
+ err(EXIT_FAILURE, "luksmeta_save()");
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
--- a/test.c
+++ b/test.c
@@ -18,7 +18,7 @@
*/
#include <assert.h>
-#include <error.h>
+#include <err.h>
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>
@@ -105,7 +105,7 @@ test_hole(struct crypt_device *cd, uint32_t *offset, uint32_t *length)
payload_offset = crypt_get_data_offset(cd) * 512;
if (payload_offset < ALIGN(1, true))
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
for (int slot = 0; slot < crypt_keyslot_max(CRYPT_LUKS1); slot++) {
uint64_t off = 0;
@@ -113,7 +113,7 @@ test_hole(struct crypt_device *cd, uint32_t *offset, uint32_t *length)
r = crypt_keyslot_area(cd, slot, &off, &len);
if (r < 0)
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
if (off + len > keyarea_end)
keyarea_end = off + len;
@@ -132,23 +132,23 @@ test_format(void)
fd = mkstemp(filename);
if (fd < 0)
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
/* Create a 4MB sparse file. */
if (lseek(fd, 4194303, SEEK_SET) == -1)
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
if (write(fd, "", 1) != 1)
- error(EXIT_FAILURE, errno, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
close(fd);
r = crypt_init(&cd, filename);
if (r < 0)
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
r = crypt_format(cd, CRYPT_LUKS1, "aes", "xts-plain64",
NULL, NULL, 32, NULL);
if (r < 0)
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
return cd;
}
@@ -161,15 +161,15 @@ test_init(void)
r = crypt_init(&cd, filename);
if (r < 0)
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
r = crypt_load(cd, CRYPT_LUKS1, NULL);
if (r < 0)
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
r = luksmeta_init(cd);
if (r < 0)
- error(EXIT_FAILURE, -r, "%s:%d", __FILE__, __LINE__);
+ err(EXIT_FAILURE, "%s:%d", __FILE__, __LINE__);
return cd;
}

View File

@@ -1,150 +0,0 @@
Patch-Source: https://github.com/latchset/luksmeta/pull/7
From 9c550e0675f9fa8fe58c996660c61eca11b424d1 Mon Sep 17 00:00:00 2001
From: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date: Mon, 10 Dec 2018 14:25:33 +0100
Subject: [PATCH] Relax content tests in test suite
Starting with version 2.0.5, cryptsetup wipes the full LUKS header
and fills unused sections with random data, this was introduced
in commit
commit c2bce3e93ecee41f661b589ee28f112eb538259e
Author: Milan Broz <gmazyland@gmail.com>
Date: Sun Oct 14 13:11:50 2018 +0200
Wipe full header areas (including unused) during LUKS format.
While this is the right thing to do, it breaks luksmeta tests. So
relax them.
Bug-Debian: https://bugs.debian.org/915256
Resolves: https://github.com/latchset/luksmeta/issues/6
---
test-lm-assumptions.c | 3 ++-
test-lm-big.c | 4 ++--
test-lm-init.c | 4 ++--
test-lm-one.c | 4 ++--
test-lm-two.c | 8 ++++----
5 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/test-lm-assumptions.c b/test-lm-assumptions.c
index d9ff20b..b4f293f 100644
--- a/test-lm-assumptions.c
+++ b/test-lm-assumptions.c
@@ -28,7 +28,8 @@ main(int argc, char *argv[])
/* Test the layout state. */
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- END(1024), /* Rest of the file */
+ { 1024, 3072, true }, /* Keyslot Area */
+ { 0, 0 },
}));
unlink(filename);
diff --git a/test-lm-big.c b/test-lm-big.c
index 6098e59..eb94d3b 100644
--- a/test-lm-big.c
+++ b/test-lm-big.c
@@ -111,7 +111,7 @@ main(int argc, char *argv[])
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
{ offset, 4096 }, /* luksmeta header */
{ offset + 4096, 4096 }, /* luksmeta slot 0 */
{ offset + 8192, 4096 }, /* luksmeta slot 0 (cont) */
@@ -127,7 +127,7 @@ main(int argc, char *argv[])
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
{ offset, 4096 }, /* luksmeta header */
END(offset + 4096), /* Rest of the file */
}));
diff --git a/test-lm-init.c b/test-lm-init.c
index 2a6cb45..b16d597 100644
--- a/test-lm-init.c
+++ b/test-lm-init.c
@@ -57,7 +57,7 @@ main(int argc, char *argv[])
/* Test the layout state. */
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
{ offset, 4096 }, /* luksmeta header */
END(offset + 4096), /* Rest of the file */
}));
@@ -106,7 +106,7 @@ main(int argc, char *argv[])
assert(luksmeta_test(cd) == -ENOENT);
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
END(offset), /* Rest of the file */
}));
diff --git a/test-lm-one.c b/test-lm-one.c
index 8deb70a..18613e0 100644
--- a/test-lm-one.c
+++ b/test-lm-one.c
@@ -49,7 +49,7 @@ main(int argc, char *argv[])
/* Test the layout state. */
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
{ offset, 4096 }, /* luksmeta header */
{ offset + 4096, 4096 }, /* luksmeta slot 0 */
END(offset + 8192), /* Rest of the file */
@@ -68,7 +68,7 @@ main(int argc, char *argv[])
/* Test the layout state. */
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
{ offset, 4096 }, /* luksmeta header */
END(offset + 4096), /* Rest of the file */
}));
diff --git a/test-lm-two.c b/test-lm-two.c
index 78fea5b..9f0b1c5 100644
--- a/test-lm-two.c
+++ b/test-lm-two.c
@@ -53,7 +53,7 @@ main(int argc, char *argv[])
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
{ offset, 4096 }, /* luksmeta header */
{ offset + 4096, 4096 }, /* luksmeta slot 0 */
END(offset + 8192), /* Rest of the file */
@@ -70,7 +70,7 @@ main(int argc, char *argv[])
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
{ offset, 4096 }, /* luksmeta header */
{ offset + 4096, 4096 }, /* luksmeta slot 0 */
{ offset + 8192, 4096 }, /* luksmeta slot 1 */
@@ -88,7 +88,7 @@ main(int argc, char *argv[])
assert(luksmeta_wipe(cd, 0, UUID0) == 0);
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
{ offset, 4096 }, /* luksmeta header */
{ offset + 4096, 4096, true }, /* luksmeta slot 0 */
{ offset + 8192, 4096 }, /* luksmeta slot 1 */
@@ -99,7 +99,7 @@ main(int argc, char *argv[])
assert(luksmeta_wipe(cd, 1, UUID1) == 0);
assert(test_layout((range_t[]) {
{ 0, 1024 }, /* LUKS header */
- { 1024, offset - 1024, true }, /* Keyslot Area */
+ { 1024, 3072, true }, /* Keyslot Area */
{ offset, 4096 }, /* luksmeta header */
END(offset + 4096), /* Rest of the file */
}));

View File

@@ -3,30 +3,26 @@
# renovate: datasource=github-tags packageName=echasnovski/mini.nvim # renovate: datasource=github-tags packageName=echasnovski/mini.nvim
pkgname=mini.nvim pkgname=mini.nvim
pkgver=0.16.0 pkgver=0.16.0
pkgrel=1 pkgrel=0
pkgdesc="Library of 35+ independent Lua modules improving overall Neovim experience with minimal effort" pkgdesc="Library of 35+ independent Lua modules improving overall Neovim experience with minimal effort"
url="https://github.com/echasnovski/mini.nvim" url="https://github.com/echasnovski/mini.nvim"
arch="noarch" arch="noarch"
license="MIT" license="MIT"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
makedepends="neovim" install="$pkgname-doc.post-install $pkgname-doc.post-upgrade"
options="!check" options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/echasnovski/mini.nvim/archive/refs/tags/v$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/echasnovski/mini.nvim/archive/refs/tags/v$pkgver.tar.gz"
build() {
nvim -u NONE -i NONE -e --headless -c "helptags doc" -c quit
}
package() { package() {
local plgdir="$pkgdir"/usr/share/nvim/site/pack/dist/opt/$pkgname install -dm755 "$pkgdir"/usr/share/nvim/site
install -d "$plgdir" cp -ra doc lua "$pkgdir"/usr/share/nvim/site
cp -ra lua doc "$plgdir"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
} }
doc() { doc() {
default_doc default_doc
amove usr/share/nvim/site/pack/dist/opt/$pkgname/doc amove usr/share/nvim/site/doc
} }
sha512sums=" sha512sums="

View File

@@ -0,0 +1,3 @@
#!/bin/sh
/usr/bin/nvim -u NONE -esX "+helptags /usr/share/nvim/site/doc" +q

View File

@@ -0,0 +1,3 @@
#!/bin/sh
/usr/bin/nvim -u NONE -esX "+helptags /usr/share/nvim/site/doc" +q

View File

@@ -1,65 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=niri
pkgver=25.08
pkgrel=1
pkgdesc="A scrollable-tiling Wayland compositor"
url="https://github.com/YaLTeR/niri"
arch="x86_64 ppc64le aarch64"
license="GPL-3.0-only"
makedepends="
cargo
cargo-auditable
clang-libclang
clang-libs
eudev-dev
glib-dev
libdisplay-info-dev
libinput-dev
libseat-dev
libxkbcommon-dev
mesa-dev
pango-dev
pipewire-dev
rust
"
subpackages="
$pkgname-portalsconf
"
source="$pkgname-$pkgver.tar.gz::https://github.com/YaLTeR/niri/archive/refs/tags/v$pkgver.tar.gz
niri-session.patch
"
options="net" # rust crates
build() {
cargo auditable build \
--release \
--no-default-features \
--features dbus,xdp-gnome-screencast
}
check() {
ulimit -n 4096 # Fails otherwise due to lack of file descriptors
cargo test \
--release \
--no-default-features \
--features dbus,xdp-gnome-screencast
}
package() {
install -Dm755 target/release/niri -t "$pkgdir"/usr/bin/
install -Dm644 resources/niri.desktop -t "$pkgdir"/usr/share/wayland-sessions/
install -Dm644 resources/niri-portals.conf -t "$pkgdir"/usr/share/xdg-desktop-portal/
}
portalsconf() {
pkgdesc="xdg-desktop-portal configuration of compatible portals for Niri"
install_if="$pkgname=$pkgver-r$pkgrel"
depends="xdg-desktop-portal xdg-desktop-portal-gnome"
amove usr/share/xdg-desktop-portal/niri-portals.conf
}
sha512sums="
d8a10bb726d2e79f695544130cc9f55b1ac0f76dd9a9fb1cafb16cd7934b29a4fecf88656a3bc46ab6140aef7d2c58ed87f3ba43dfe8882df50de997283f2292 niri-25.08.tar.gz
f488ed2f316e96902c737a1104c425f2281349d519825c02a39205957ee65607730a69b4857d5a5803f43b74180ab4efef7fcb4eb8bfb75e042d09a3e22d1dff niri-session.patch
"

View File

@@ -1,16 +0,0 @@
niri-session is a wrapper over systemctl/dinitctl to start a user service;
it doesn't have a proper fallback ( instead, just prints a message to stdout ),
so instead we can just launch niri directly to guarantee display managers can launch it
diff --git a/resources/niri.desktop b/resources/niri.desktop
index 5470fe7..0164374 100644
--- a/resources/niri.desktop
+++ b/resources/niri.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=Niri
Comment=A scrollable-tiling Wayland compositor
-Exec=niri-session
+Exec=niri --session
Type=Application
DesktopNames=niri

View File

@@ -1,34 +0,0 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=neovim/nvim-lspconfig
pkgname=nvim-lspconfig
pkgver=2.5.0
pkgrel=2
pkgdesc="quickstart configurations for the neovim LSP client"
url="https://github.com/neovim/nvim-lspconfig"
arch="noarch"
license="Apache-2.0"
subpackages="$pkgname-doc"
makedepends="neovim"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/neovim/nvim-lspconfig/archive/v$pkgver/nvim-lspconfig-$pkgver.tar.gz"
build() {
nvim -u NONE -i NONE -e --headless -c "helptags doc" -c quit
}
package() {
local plgdir="$pkgdir"/usr/share/nvim/site/pack/dist/opt/$pkgname
install -d "$plgdir"
cp -ra lsp lua plugin "$plgdir"
install -Dm644 doc/*.txt -t "$plgdir"/doc
}
doc() {
default_doc
amove usr/share/nvim/site/pack/dist/opt/$pkgname/doc
}
sha512sums="
b620cf9cdf778dffb8302334a472dda2dec430e33cc67f2eb0363f263fdd626ddb42fb68207611cffdcb1e3b9e9fa58b3ae2b56b75d182f391d089aa3477301f nvim-lspconfig-2.5.0.tar.gz
"

View File

@@ -1,35 +0,0 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=nvim-treesitter-textobjects
pkgver=0_git20240404
_pkgsha=f5183cea0fda26126e22e789382c208e7b1120f4
pkgrel=1
pkgdesc="Syntax aware text-objects, select, move, swap, and peek support"
url="https://github.com/nvim-treesitter/nvim-treesitter-textobjects"
arch="noarch"
license="Apache-2.0"
subpackages="$pkgname-doc"
makedepends="neovim"
options="!check"
source="$pkgname-$_pkgsha.tar.gz::https://github.com/nvim-treesitter/nvim-treesitter-textobjects/archive/$_pkgsha.tar.gz"
builddir="$srcdir/$pkgname-$_pkgsha"
build() {
nvim -u NONE -i NONE -e --headless -c "helptags doc" -c quit
}
package() {
local plgdir="$pkgdir"/usr/share/nvim/site/pack/dist/opt/$pkgname
install -d "$plgdir"
cp -ra autoload doc lua plugin queries "$plgdir"
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}
doc() {
default_doc
amove usr/share/nvim/site/pack/dist/opt/$pkgname/doc
}
sha512sums="
b0eeae2b087fd5b2cf38f0481ec49d420f04f7eb3fee7cc32846d6649ac3c33b078b833fd3b4fabcb4b80dacddbcffb324a3b97ec161a744364cf39fc5b500dd nvim-treesitter-textobjects-f5183cea0fda26126e22e789382c208e7b1120f4.tar.gz
"

View File

@@ -1,36 +0,0 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=nvim-treesitter
pkgver=0_git20250524
_pkgsha=42fc28ba918343ebfd5565147a42a26580579482
pkgrel=2
pkgdesc="Nvim Treesitter configurations and abstraction layer"
url="https://github.com/nvim-treesitter/nvim-treesitter"
arch="noarch"
license="Apache-2.0"
subpackages="$pkgname-doc"
makedepends="neovim"
options="!check"
source="$pkgname-$_pkgsha.tar.gz::https://github.com/nvim-treesitter/nvim-treesitter/archive/$_pkgsha.tar.gz"
builddir="$srcdir/$pkgname-$_pkgsha"
build() {
nvim -u NONE -i NONE -e --headless -c "helptags doc" -c quit
}
package() {
local plgdir="$pkgdir"/usr/share/nvim/site/pack/dist/opt/$pkgname
install -d "$plgdir"
cp -ra lua autoload doc plugin queries lockfile.json \
"$plgdir"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
doc() {
default_doc
amove usr/share/nvim/site/pack/dist/opt/$pkgname/doc
}
sha512sums="
4933ba9d4fa5285cc5cd88f97a0a7729956e58dda8be69f4ba8986025585f834f7ec67315b627b36da06d99ec5dbebbf607308dd83e246bf29a650b99796b951 nvim-treesitter-42fc28ba918343ebfd5565147a42a26580579482.tar.gz
"

View File

@@ -1,43 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=celenityy/Phoenix
pkgname=phoenix
pkgver=2025.11.27.1
pkgrel=0
pkgdesc="Privacy & security configurations for Firefox"
url="https://codeberg.org/celenity/Phoenix"
arch="noarch"
license="GPL-3.0-or-later"
makedepends="bash jq python3 zip"
options="!check" # no tests
source="$pkgname-$pkgver.tar.gz::https://codeberg.org/celenity/Phoenix/archive/$pkgver.tar.gz"
builddir="$srcdir/phoenix"
build() {
rm ./archives/*.zip
PHOENIX_LINUX_ONLY=true ./build/build.sh
mkdir -p ./output
unzip ./archives/phoenix-linux.zip -d ./output
}
package() {
rm ./output/COPYING.txt ./output/README.md
install -d "$pkgdir"
mv ./output/etc "$pkgdir"
install -d "$pkgdir/etc/firefox/phoenix" "$pkgdir/usr/lib/firefox"
mv ./output/assets "$pkgdir/etc/firefox/phoenix"
mv ./output/configs "$pkgdir/etc/firefox/phoenix"
mv ./output/defaults "$pkgdir/etc/firefox"
mv ./output/phoenix.cfg "$pkgdir/usr/lib/firefox"
mv ./output/policies "$pkgdir/etc/firefox"
mv ./output/userjs "$pkgdir/etc/firefox/phoenix"
if ! rmdir ./output; then
ls -la output
exit 1
fi
}
sha512sums="
cb3787298acf80efe5c5369a15106643f3c3f460bec35f8fb8f904a75f99cfa0df66f1aaccbf6e27347858359e556cd56d56740f5345553745555bd6ca6a5ad3 phoenix-2025.11.27.1.tar.gz
"

View File

@@ -1,24 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=einaregilsson/Redirector
pkgname=redirector-firefox
pkgver=3.5.2
pkgrel=0
pkgdesc="Browser extension to redirect URLs based on patterns (Firefox extension)"
url="https://github.com/einaregilsson/Redirector"
arch="noarch"
license="MIT"
makedepends="zip"
options="!check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/einaregilsson/Redirector/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/Redirector-$pkgver"
build() {
zip -r redirector-firefox.zip css images js LICENSE manifest.json *.html
}
package() {
install -Dm644 redirector-firefox.zip "$pkgdir/usr/lib/firefox/browser/extensions/redirector@einaregilsson.com.xpi"
}
sha512sums="
caecc14ac52e4c68b394be20ab562ad9046165e72f98b524f65d6ca5f090fbfd1339d963f551f968aebe1edd2d4ec50176a6b6c66bde3e323fb627f729f5a319 redirector-firefox-3.5.2.tar.gz
"

View File

@@ -1,32 +0,0 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=rmview
pkgver=0_git20240526
_pkgsha=d171b657e40a50bfe38dfd90cd0d861cf61de60e
pkgrel=0
pkgdesc="A live viewer for reMarkable written in PyQt5"
url="https://github.com/bordaigorl/rmview"
arch="noarch"
license="GPL-3.0-only"
depends="py3-jwt py3-openssl py3-paramiko py3-qt5 py3-twisted"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
subpackages="$pkgname-pyc"
options="!check"
source="
$pkgname-$_pkgsha.tar.gz::https://github.com/bordaigorl/rmview/archive/$_pkgsha.tar.gz
jwt.patch
"
builddir="$srcdir/$pkgname-$_pkgsha"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
1f67ae24fe7384e666589dda8612cb8e371faee4b2f5d3df12f2b09c6beb286fe96d353e531a0bcc8378e312eee8f9662dffaf159c8c2e90766b256dba3222f0 rmview-d171b657e40a50bfe38dfd90cd0d861cf61de60e.tar.gz
73ca68b04deb6aa3e024767b4b84a86fb0f7c2d6c62a4100704b375c491593250bf25830a6414bbb72958d866fd803c94e94d6c77d83000709bbdfb7a3466353 jwt.patch
"

View File

@@ -1,13 +0,0 @@
diff --git c/src/rmview/screenstream/screenshare.py i/src/rmview/screenstream/screenshare.py
index 199bfa0..cd7509b 100644
--- c/src/rmview/screenstream/screenshare.py
+++ i/src/rmview/screenstream/screenshare.py
@@ -129,7 +129,7 @@ class ScreenShareStream(QRunnable):
#Hack to run the vnc with the challenge
def runVnc(self, timestamp):
if not self.factory:
- userId = self.get_userid()
+ userId = ''
challenge = self.computeChallenge(userId, timestamp)
log.info(f"Challenge: {challenge.hex()}, connecting to vnc")
self.startVncClient(challenge)

View File

@@ -1,31 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=jtheoof/swappy
pkgname=swappy
pkgver=1.8.0
pkgrel=0
pkgdesc="Snapshot editing tool for Wayland"
url="https://github.com/jtheoof/swappy"
license="MIT"
arch="all"
options="!check" # no test suite
depends="font-awesome-free"
makedepends="meson cairo-dev pango-dev gtk+3.0-dev libnotify-dev scdoc"
subpackages="$pkgname-doc $pkgname-lang"
source="
https://github.com/jtheoof/swappy/archive/v$pkgver/swappy-$pkgver.tar.gz
revert-git-check.patch
"
build() {
abuild-meson . output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
e139ab3de544fe7008c00822ac66bb86f8ff8fabadef8aed8b445a1c8389bc0297d1be045bcd368b66533a9bef23ad4735302eaf5428334cc6723991fb3e32fd swappy-1.8.0.tar.gz
8e80dc138efce4867f3dac62122fb484467ebe36d6e803d03102e0266a6ff7061ad659d3b954fb08485c51aefcc18ceb052c1bdc95b9781f49fdc3f2166ac7b3 revert-git-check.patch
"

View File

@@ -1,15 +0,0 @@
diff --git i/meson.build w/meson.build
index 908325c..9d20154 100644
--- i/meson.build
+++ w/meson.build
@@ -14,8 +14,8 @@ project(
version = '"@0@"'.format(meson.project_version())
git = find_program('git', native: true, required: false)
if git.found()
- git_commit = run_command([git, 'rev-parse', '--short', 'HEAD'], check:true)
- git_branch = run_command([git, 'rev-parse', '--abbrev-ref', 'HEAD'], check:true)
+ git_commit = run_command([git, 'rev-parse', '--short', 'HEAD'], check:false)
+ git_branch = run_command([git, 'rev-parse', '--abbrev-ref', 'HEAD'], check:false)
if git_commit.returncode() == 0 and git_branch.returncode() == 0
version = '"@0@-@1@ (" __DATE__ ", branch \'@2@\')"'.format(
meson.project_version(),

View File

@@ -1,33 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=mitsuhiko/systemfd
pkgname=systemfd
pkgver=0.4.6
pkgrel=0
pkgdesc="Auto-reloading dev tool with socket activation"
url="https://github.com/mitsuhiko/systemfd"
arch="all"
license="Apache-2.0"
makedepends="cargo cargo-auditable"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/mitsuhiko/systemfd/archive/refs/tags/$pkgver.tar.gz"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --release
}
package() {
install -Dm755 target/release/systemfd "$pkgdir/usr/bin/systemfd"
}
sha512sums="
9ae48781ee39cc2097421e7bfadcf6c3a3aefb4df0a3da0ac5c84fc495b598d86cb940a38427d4fb20f4ae51cfa74923b4cf2f0f79ccae238a4f3ed46b4bc7e0 systemfd-0.4.6.tar.gz
"

View File

@@ -1,49 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=siderolabs/talos
pkgname=talosctl
pkgver=1.11.5
pkgrel=1
pkgdesc="Kubernetes Linux distribution"
url="https://talos.dev"
arch="all"
license="MPL-2.0"
makedepends="go"
options="net"
subpackages="
$pkgname-bash-completion
$pkgname-zsh-completion
$pkgname-fish-completion
"
source="talos-$pkgver.tar.gz::https://github.com/siderolabs/talos/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/talos-$pkgver"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -v ./cmd/talosctl
for shell in bash fish zsh; do
./talosctl completion $shell >talosctl.$shell
done
}
check() {
go test ./cmd/talosctl/...
}
package() {
install -Dm755 talosctl -t "$pkgdir"/usr/bin
install -Dm644 talosctl.bash \
"$pkgdir"/usr/share/bash-completion/completions/talosctl
install -Dm644 talosctl.zsh \
"$pkgdir"/usr/share/zsh/site-functions/_talosctl
install -Dm644 talosctl.fish \
"$pkgdir"/usr/share/fish/vendor_completions.d/talosctl.fish
}
sha512sums="
08bd179324851d585c81107476a2ad927376099f6b9b3b3787b248295e9b0c8b430fb14f56f60d00a2b03b46324150ca65be08dc7e06e597f77b5e600b0dd034 talos-1.11.5.tar.gz
"

View File

@@ -1,35 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=anatol/tang.go
pkgname=tangctl
pkgver=0_git20230725
_pkgsha=dcc6e9494f1429ca94cfce692b0ff41e48679fc0
pkgrel=2
pkgdesc="Tool implementing server-side ECMR exchange functionality (Tang server)"
url="https://github.com/anatol/tang.go"
license="BSD-3-Clause"
arch="all"
makedepends="go"
options="!check net"
source="https://github.com/anatol/tang.go/archive/$_pkgsha.tar.gz
tang-location.patch
"
builddir="$srcdir/tang.go-$_pkgsha"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
export GOPATH="$srcdir"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build ./cmd/tangctl
}
package() {
install -Dm755 tangctl -t "$pkgdir"/usr/bin/
}
sha512sums="
7db56de898ceff64f737671b3bf7238894e63f0ae3fa4da93e7bc969fc89d2c6795f9328cced4ccaf11a7dbb61faf2d58b7b134aae94e5d7877cfcf6d2f45692 dcc6e9494f1429ca94cfce692b0ff41e48679fc0.tar.gz
22d1dac2321c9e2fe7c1e5559d3976f759941d9aef27e8c0fc7858e311243635560d235c228ad846f58743e7d3c76737ce8bec3c844a4f567a8604b279961dd4 tang-location.patch
"

View File

@@ -1,12 +0,0 @@
--- a/native_server.go
+++ b/native_server.go
@@ -30,8 +30,7 @@ func NewNativeServer(keysDir string, port int) (*NativeServer, error) {
// different OS use different tang server binary location
tangLocations := []string{
- "/usr/lib/",
- "/usr/lib/x86_64-linux-gnu/",
+ "/usr/libexec/",
}
var tangdPath string

View File

@@ -1,28 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=hashicorp/terraform-ls
pkgname=terraform-ls
pkgver=0.38.3
pkgrel=1
pkgdesc="Terraform Language Server"
url="https://github.com/hashicorp/terraform-ls"
arch="all"
license="MPL-2.0"
makedepends="go"
options="chmod-clean net !check" # tests fail
source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/terraform-ls/archive/refs/tags/v$pkgver.tar.gz"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -ldflags="-buildid="
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
ccc4a56208c8c47204f43c8e405360adbe383dabde16dba49a2a81081ac05c71c2ffc2d0fa9d511764c17ab775515384d47fa63a16fcc74447c4bead93cd76df terraform-ls-0.38.3.tar.gz
"

View File

@@ -1,37 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=transmission-remote-gtk/transmission-remote-gtk
pkgname=transmission-remote-gtk
pkgver=1.6.0
pkgrel=0
pkgdesc="GTK client for remote management of the Transmission BitTorrent client"
url="https://github.com/transmission-remote-gtk/transmission-remote-gtk"
arch="all"
license="GPL-2.0-or-later"
makedepends="
appstream-glib-dev
geoip-dev
gtk+3.0-dev
json-glib-dev
libayatana-appindicator-dev
libsoup3-dev
meson
perl
"
options="!check" # no tests
source="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/$pkgver/transmission-remote-gtk-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
build() {
abuild-meson \
-Db_lto=true \
. output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
351079d91cc5b33c7955103cbc28d1010bf3d18668689ff5b690ff2214d9e44cdd9f841ebe207260d31c332650d6ae05a0d9ceb7696861c8be5beeae4d0a08d5 transmission-remote-gtk-1.6.0.tar.xz
"

View File

@@ -1,33 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=xwayland-satellite
pkgver=0.7
pkgrel=0
pkgdesc="Xwayland manager for Wayland"
url="https://github.com/Supreeeme/xwayland-satellite"
arch="all"
license="MPL-2.0"
makedepends="cargo cargo-auditable libxcb-dev xwayland-dev xcb-util-cursor-dev clang-libclang"
source="https://github.com/Supreeeme/xwayland-satellite/archive/v$pkgver/xwayland-satellite-$pkgver.tar.gz"
options="net"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
check() {
cargo test --frozen --lib --bins
}
package() {
install -Dm755 target/release/xwayland-satellite -t "$pkgdir"/usr/bin
}
sha512sums="
7f090573faf9f6675981bbc5474e2761ef1c1b758aa9182cd46301cf88be689b631d21156ac6508a2f90edb866fc65022d4019b4cf6121f189cdadaf70a524ab xwayland-satellite-0.7.tar.gz
"

View File

@@ -1,35 +0,0 @@
# Maintainer: Galen Abell <galen@galenabell.com>
# renovate: datasource=github-tags packageName=redhat-developer/yaml-language-server
pkgname=yaml-language-server
pkgver=1.19.2
pkgrel=1
pkgdesc="Language Server for YAML files"
url="https://github.com/redhat-developer/yaml-language-server"
arch="noarch"
license="MIT"
depends="nodejs"
makedepends="npm"
options="net"
source="$pkgname-$pkgver.tar.gz::https://github.com/redhat-developer/yaml-language-server/archive/refs/tags/$pkgver.tar.gz"
build() {
npm install
npm run compile
}
check() {
npm test
}
package() {
npm prune --omit=dev
install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/node_modules/"$pkgname"
cp -r bin/ l10n/ node_modules/ out/ package.json \
"$pkgdir"/usr/lib/node_modules/"$pkgname"
ln -sf ../lib/node_modules/"$pkgname"/bin/"$pkgname" \
"$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
64f488fc78e4738836e3ad8bb16a3c3e68a5240a8536fa287c0195d5c198d9c6df8a656995a16e36f5f52f095c1f23ad3341f54fdf57761d5b9770b3c3598a1c yaml-language-server-1.19.2.tar.gz
"