[arch-commits] Commit in (5 files)

2022-09-07 Thread Alexander Rødseth via arch-commits
Date: Wednesday, September 7, 2022 @ 15:22:32
  Author: arodseth
Revision: 1296098

Add a network monitoring tool that uses ncurses

Added:
  monitor/
  monitor/repos/
  monitor/repos/community-x86_64/
  monitor/trunk/
  monitor/trunk/PKGBUILD

--+
 PKGBUILD |   27 +++
 1 file changed, 27 insertions(+)

Added: monitor/trunk/PKGBUILD
===
--- monitor/trunk/PKGBUILD  (rev 0)
+++ monitor/trunk/PKGBUILD  2022-09-07 15:22:32 UTC (rev 1296098)
@@ -0,0 +1,27 @@
+# Maintainer: Alexander F. Rødseth 
+
+pkgname=monitor
+pkgver=20220907
+pkgrel=1
+pkgdesc='Network forensics and sniffer tool'
+arch=(x86_64)
+url='https://github.com/jo-lund/monitor'
+license=(MIT)
+depends=(geoip ncurses)
+makedepends=(git re2c setconf)
+optdepends=("geoip-database-extra: for extra geolocation data")
+source=("git+$url#commit=311daea7ebd82819a91d25fc5a213231e30a75e8") # 
2022-09-07
+b2sums=(SKIP)
+
+build() {
+  cd $pkgname
+  ./configure --prefix /usr
+  make CFLAGS+='-Wl,-z,now'
+}
+
+package() {
+  cd $pkgname
+  setconf config.mk PREFIX="$pkgdir/usr"
+  make install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



[arch-commits] Commit in (5 files)

2022-08-31 Thread Christian Rebischke via arch-commits
Date: Wednesday, August 31, 2022 @ 19:43:50
  Author: shibumi
Revision: 1289232

archrelease: copy trunk to community-x86_64

Added:
  ko/
  ko/repos/
  ko/repos/community-x86_64/
  ko/repos/community-x86_64/PKGBUILD
(from rev 1289231, ko/trunk/PKGBUILD)
Deleted:
  ko/

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: ko/repos/community-x86_64/PKGBUILD (from rev 1289231, ko/trunk/PKGBUILD)
===
--- ko/repos/community-x86_64/PKGBUILD  (rev 0)
+++ ko/repos/community-x86_64/PKGBUILD  2022-08-31 19:43:50 UTC (rev 1289232)
@@ -0,0 +1,42 @@
+# Maintainer: Christian Rebischke 
+
+pkgname=ko
+pkgver=0.11.2
+pkgrel=2
+pkgdesc="Build and deploy Go applications on Kubernetes"
+arch=('x86_64')
+url="https://github.com/google/ko";
+license=('Apache')
+makedepends=('go' 'git')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/google/ko/archive/refs/tags/v${pkgver}.tar.gz";)
+sha512sums=('544b19bf4e4fd02cf18a5162bfc447126b55e879e1d0999aa6d0f785696bcde755ef5a7f565eeba541d7940c4bd2d636b95f0a94d6896bf5be07527cc42e')
+b2sums=('6704e07046cef9389417ca7a80d817a777160306e5e21a2f816ef7547ffec1fc36db20a3746b4bddd73c79beee7e1e155fac63d7975a764a8963b7b40d89c9ab')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  go build -ldflags="-w -s -linkmode=external" .
+  chmod +x ./ko
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  # currently disabled
+  #go test -v -x ./...
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dsm755 ./ko "${pkgdir}/usr/bin/ko"
+  mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
+  mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
+  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
+  ./ko completion > "${pkgdir}/usr/share/bash-completion/completions/ko"
+  ./ko completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_ko"
+  ./ko completion completion fish > 
"${pkgdir}/usr/share/fish/vendor_completions.d/ko.fish"
+}



[arch-commits] Commit in (5 files)

2022-08-28 Thread Felix Yan via arch-commits
Date: Sunday, August 28, 2022 @ 12:23:23
  Author: felixonmars
Revision: 1285078

addpkg: ruby-patron 0.13.3-1

Added:
  ruby-patron/
  ruby-patron/repos/
  ruby-patron/trunk/
  ruby-patron/trunk/PKGBUILD
  ruby-patron/trunk/ruby-patron-puma-5.patch

--+
 PKGBUILD |   62 +
 ruby-patron-puma-5.patch |   22 +++
 2 files changed, 84 insertions(+)

Added: ruby-patron/trunk/PKGBUILD
===
--- ruby-patron/trunk/PKGBUILD  (rev 0)
+++ ruby-patron/trunk/PKGBUILD  2022-08-28 12:23:23 UTC (rev 1285078)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+
+pkgname=ruby-patron
+pkgver=0.13.3
+pkgrel=1
+pkgdesc='Ruby HTTP client library based on libcurl'
+arch=(x86_64)
+url='https://github.com/toland/patron'
+license=(MIT)
+depends=(ruby curl)
+makedepends=(ruby-rake-compiler ruby-rack ruby-rspec ruby-puma ruby-yard)
+options=(!emptydirs)
+source=(https://github.com/toland/patron/archive/v$pkgver/$pkgname-$pkgver.tar.gz
+$pkgname-puma-5.patch)
+sha256sums=('4ae57af4ea6d0eaaa5ccdbf78f6b3a0157109a7d7d2a72c7b048a16af9ef771a'
+'85977d0082234adb7b31308c4338f870a6ae30c3f2182c81d7c1736c33c0dc25')
+
+prepare() {
+  cd patron-$pkgver
+  patch -p1 -i ../$pkgname-puma-5.patch
+  # we don't do version pinning
+  sed -r -e 's|~>|>=|g' -e 's|git ls-files -z|find . -print0|' -i 
patron.gemspec
+}
+
+build() {
+  local _gemdir="$(gem env gemdir)"
+  cd patron-$pkgver
+  rake build
+  gem install \
+--local \
+--verbose \
+--ignore-dependencies \
+--no-user-install \
+--install-dir "tmp_install/$_gemdir" \
+--bindir "tmp_install/usr/bin" \
+pkg/patron-$pkgver.gem
+  find "tmp_install/$_gemdir/gems/" \
+-type f \
+\( \
+-iname "*.o" -o \
+-iname "*.c" -o \
+-iname "*.so" -o \
+-iname "*.time" -o \
+-iname "gem.build_complete" -o \
+-iname "Makefile" \
+\) \
+-delete
+}
+
+check() {
+  local _gemdir="$(gem env gemdir)"
+  cd patron-$pkgver
+  # https://github.com/toland/patron/pull/193
+  GEM_HOME="tmp_install/$_gemdir" rake spec || echo "Tests failed"
+}
+
+package() {
+  cd patron-$pkgver
+  cp -a tmp_install/* "$pkgdir"/
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Added: ruby-patron/trunk/ruby-patron-puma-5.patch
===
--- ruby-patron/trunk/ruby-patron-puma-5.patch  (rev 0)
+++ ruby-patron/trunk/ruby-patron-puma-5.patch  2022-08-28 12:23:23 UTC (rev 
1285078)
@@ -0,0 +1,22 @@
+From 213e722fd5b7eac4b633ce0247034ae1905c39b2 Mon Sep 17 00:00:00 2001
+From: Felix Yan 
+Date: Sun, 28 Aug 2022 12:17:13 +0300
+Subject: [PATCH] Update to puma 5
+
+---
+ patron.gemspec  | 2 +-
+ spec/support/test_server.rb | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/spec/support/test_server.rb b/spec/support/test_server.rb
+index b88aa43..ef8148c 100644
+--- a/spec/support/test_server.rb
 b/spec/support/test_server.rb
+@@ -21,6 +21,6 @@ def self.start(ssl = false, port = 9001 )
+ else
+   '0.0.0.0'
+ end
+-Rack::Handler::Puma.run(APP, {:Port => port.to_i, :Verbose => true, :Host 
=> host})
++Rack::Handler::Puma.run(APP, :Port => port.to_i, :Verbose => true, :Host 
=> host)
+   end
+ end



[arch-commits] Commit in (5 files)

2022-08-05 Thread George Rawlinson via arch-commits
Date: Friday, August 5, 2022 @ 23:42:19
  Author: grawlinson
Revision: 1260356

addpkg: sws 2.13.1.0-1

Added:
  sws/
  sws/repos/
  sws/trunk/
  sws/trunk/PKGBUILD
  sws/trunk/sws.install

-+
 PKGBUILD|   73 ++
 sws.install |   10 +++
 2 files changed, 83 insertions(+)

Added: sws/trunk/PKGBUILD
===
--- sws/trunk/PKGBUILD  (rev 0)
+++ sws/trunk/PKGBUILD  2022-08-05 23:42:19 UTC (rev 1260356)
@@ -0,0 +1,73 @@
+# Maintainer: George Rawlinson 
+# Contributor: andre.menr...@posteo.de
+
+pkgname=sws
+pkgver=2.13.1.0
+pkgrel=1
+pkgdesc='A collection of features that seamlessly integrate into REAPER'
+arch=('x86_64')
+url='https://www.sws-extension.org/'
+license=('MIT')
+depends=(
+  'gcc-libs'
+  'reaper'
+  'taglib'
+)
+makedepends=(
+  'git'
+  'cmake'
+  'php'
+  'perl'
+  'gtk3'
+)
+install='sws.install'
+_commit='60104cef02f75c6ce75bb2ae3ae119e5e9221825'
+source=(
+  "git+https://github.com/reaper-oss/sws.git#commit=$_commit";
+  'github.com-justinfrankel-wdl::git+https://github.com/justinfrankel/WDL'
+  
'github.com-justinfrankel-reaper-sdk::git+https://github.com/justinfrankel/reaper-sdk'
+)
+b2sums=('SKIP'
+'SKIP'
+'SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  head -n 1 version.h.in | cut -d ' ' -f 3 | tr , .
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # prepare git submodule(s)
+  # note: vendor/taglib submodule is skipped because we use system taglib
+  git submodule init vendor/WDL vendor/reaper-sdk
+  git config submodule.vendor/WDL.url "$srcdir/github.com-justinfrankel-wdl"
+  git config submodule.vendor/reaper-sdk.url 
"$srcdir/github.com-justinfrankel-reaper-sdk"
+  git submodule update vendor/WDL vendor/reaper-sdk
+}
+
+build() {
+  cmake \
+-B build \
+-S "$pkgname" \
+-DCMAKE_BUILD_TYPE=Release \
+-DUSE_SYSTEM_TAGLIB=YES
+
+  cmake --build build
+}
+
+package() {
+  # plugin
+  install -vDm755 -t "$pkgdir/usr/lib/sws" "build/reaper_sws-$CARCH.so"
+  install -vDm644 -t "$pkgdir/usr/lib/sws" build/sws_python64.py
+
+  cd "$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md whatsnew.txt
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
+}

Added: sws/trunk/sws.install
===
--- sws/trunk/sws.install   (rev 0)
+++ sws/trunk/sws.install   2022-08-05 23:42:19 UTC (rev 1260356)
@@ -0,0 +1,10 @@
+post_install(){
+  cat <<- EOF
+
+For REAPER to pick up the plugin, it must be symlinked into REAPER's user 
directory.
+
+ln -s /usr/lib/sws/reaper_sws-x86_64.so ~/.config/REAPER/UserPlugins/
+ln -s /usr/lib/sws/sws_python64.py ~/.config/REAPER/Scripts/
+
+EOF
+}



[arch-commits] Commit in (5 files)

2022-08-04 Thread George Rawlinson via arch-commits
Date: Thursday, August 4, 2022 @ 17:54:07
  Author: grawlinson
Revision: 1260278

addpkg: reapack 1.2.4.1-1

Added:
  reapack/
  reapack/repos/
  reapack/trunk/
  reapack/trunk/PKGBUILD
  reapack/trunk/reapack.install

-+
 PKGBUILD|   75 ++
 reapack.install |9 ++
 2 files changed, 84 insertions(+)

Added: reapack/trunk/PKGBUILD
===
--- reapack/trunk/PKGBUILD  (rev 0)
+++ reapack/trunk/PKGBUILD  2022-08-04 17:54:07 UTC (rev 1260278)
@@ -0,0 +1,75 @@
+# Maintainer: George Rawlinson 
+
+pkgname=reapack
+pkgver=1.2.4.1
+pkgrel=1
+pkgdesc='Package manager for the Reaper DAW'
+arch=('x86_64')
+url='https://reapack.com'
+license=('GPL3' 'LGPL3')
+depends=(
+  'reaper'
+  'libxml2'
+  'curl'
+  'sqlite'
+)
+makedepends=(
+  'git'
+  'cmake'
+  'boost'
+  'openssl'
+  'zlib'
+  'ruby'
+  'php'
+  'catch2'
+)
+install='reapack.install'
+_commit='dcbbf2410cb50f15ba6b2ea8a79475531a9edd4b'
+source=(
+  "$pkgname::git+https://github.com/cfillion/reapack#commit=$_commit";
+  'github.com-justinfrankel-wdl::git+https://github.com/justinfrankel/WDL'
+  
'github.com-justinfrankel-reaper-sdk::git+https://github.com/justinfrankel/reaper-sdk'
+)
+b2sums=('SKIP'
+'SKIP'
+'SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # prepare git submodule(s)
+  git submodule init
+  git config submodule.vendor/WDL.url "$srcdir/github.com-justinfrankel-wdl"
+  git config submodule.vendor/reaper-sdk.url 
"$srcdir/github.com-justinfrankel-reaper-sdk"
+  git submodule update
+}
+
+build() {
+  cd "$pkgname"
+
+  cmake \
+-B build \
+-DCMAKE_BUILD_TYPE=Release
+
+  cmake --build build
+}
+
+check() {
+  make -C "$pkgname/build" test
+}
+
+package() {
+  cd "$pkgname"
+
+  # plugin
+  install -vDm755 -t "$pkgdir/usr/lib/$pkgname" 
"build/reaper_reapack-$CARCH.so"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Added: reapack/trunk/reapack.install
===
--- reapack/trunk/reapack.install   (rev 0)
+++ reapack/trunk/reapack.install   2022-08-04 17:54:07 UTC (rev 1260278)
@@ -0,0 +1,9 @@
+post_install(){
+  cat <<- EOF
+
+For REAPER to pick up the plugin, it must be symlinked into REAPER's user 
directory.
+
+ln -s /usr/lib/reapack/reaper_reapack-x86_64.so ~/.config/REAPER/UserPlugins/
+
+EOF
+}



[arch-commits] Commit in (5 files)

2022-08-02 Thread Orhun Parmaksiz via arch-commits
Date: Tuesday, August 2, 2022 @ 17:06:56
  Author: orhun
Revision: 1259848

addpkg: jumpy 0.4.3-1

Added:
  jumpy/
  jumpy/repos/
  jumpy/trunk/
  jumpy/trunk/PKGBUILD
  jumpy/trunk/jumpy.sh

--+
 PKGBUILD |   50 ++
 jumpy.sh |3 +++
 2 files changed, 53 insertions(+)

Added: jumpy/trunk/PKGBUILD
===
--- jumpy/trunk/PKGBUILD(rev 0)
+++ jumpy/trunk/PKGBUILD2022-08-02 17:06:56 UTC (rev 1259848)
@@ -0,0 +1,50 @@
+# Maintainer: Orhun Parmaksız 
+# Contributor: kleintux 
+
+pkgname=jumpy
+pkgver=0.4.3
+pkgrel=1
+pkgdesc="Tactical 2D shooter in fishy pixels style"
+arch=('x86_64')
+url="https://fishfight.org";
+license=('MIT' 'Apache')
+depends=('pkg-config' 'libx11' 'libxi' 'mesa-libgl' 'alsa-lib' 'systemd-libs' 
'libudev.so')
+makedepends=('cargo' 'systemd')
+replaces=('fishfight')
+source=(
+  
"$pkgname-$pkgver.tar.gz::https://github.com/fishfight/jumpy/archive/v$pkgver.tar.gz";
+  "$pkgname.sh"
+)
+sha512sums=('b697ece72321ca88fc0ca6732a5eee217903f6c74cd0c007b4cf045292d537a3c50800390727f3c943672e1de57169a4d017dca3ea48aa1862c34883f8bd1e39'
+
'0b0a88e4201a424b613f0ffe93eb6dac7d25d9b66207258a354e6e53a315363de9be8446633969212cc5e959120b20bfc624134ec59441346d5b71b132344f1a')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --frozen --release
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --frozen
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/lib"
+  install -Dm 755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+
+  mkdir -p "$pkgdir/opt/$pkgname"
+  cp -r "assets" "mods" "$pkgdir/opt/$pkgname/"
+  find "$pkgdir/opt/$pkgname/assets/sounds/" -type f -exec chmod 444 {} \;
+
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm 644 licenses/LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:

Added: jumpy/trunk/jumpy.sh
===
--- jumpy/trunk/jumpy.sh(rev 0)
+++ jumpy/trunk/jumpy.sh2022-08-02 17:06:56 UTC (rev 1259848)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+JUMPY_ASSETS=/opt/jumpy/assets/ JUMPY_MODS=/opt/jumpy/mods/ exec 
/usr/lib/jumpy "$@"



[arch-commits] Commit in (5 files)

2022-08-01 Thread David Runge via arch-commits
Date: Monday, August 1, 2022 @ 07:22:40
  Author: dvzrv
Revision: 1259582

Add python-pc-ble-driver-py as dependency for python-nrfutil (new dependency 
for python-pynitrokey).

Added:
  python-pc-ble-driver-py/
  python-pc-ble-driver-py/repos/
  python-pc-ble-driver-py/trunk/
  python-pc-ble-driver-py/trunk/PKGBUILD
  python-pc-ble-driver-py/trunk/python-pc-ble-driver-py-0.17.0-build_deps.patch

-+
 PKGBUILD|   41 ++
 python-pc-ble-driver-py-0.17.0-build_deps.patch |   10 +
 2 files changed, 51 insertions(+)

Added: python-pc-ble-driver-py/trunk/PKGBUILD
===
--- python-pc-ble-driver-py/trunk/PKGBUILD  (rev 0)
+++ python-pc-ble-driver-py/trunk/PKGBUILD  2022-08-01 07:22:40 UTC (rev 
1259582)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge 
+
+_name=pc-ble-driver-py
+pkgname=python-pc-ble-driver-py
+pkgver=0.17.0
+pkgrel=1
+pkgdesc="Serialization library over serial port providing bindings for 
nrf-ble-driver"
+arch=(x86_64)
+url="https://github.com/NordicSemiconductor/pc-ble-driver-py";
+license=(custom)
+depends=(gcc-libs glibc pc-ble-driver python-cryptography python-wrapt)
+makedepends=(cmake ninja python-build python-installer python-scikit-build 
python-setuptools python-wheel swig)
+# no sdist tarballs on pypi.org: 
https://github.com/NordicSemiconductor/pc-ble-driver-py/issues/185
+# 
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+source=(
+  
$_name-$pkgver.tar.gz::https://github.com/NordicSemiconductor/pc-ble-driver-py/archive/refs/tags/v$pkgver.tar.gz
+  $pkgname-0.17.0-build_deps.patch
+)
+sha256sums=('1e9ef5c1d994bc12aef0c5a325beb6845cb31a9c70c0bcb0e2639c19b6e689f5'
+'dddbdeaffeb7c4c3cbc399199157b108965f19b29c985ae4ef0f262a95865ad9')
+b2sums=('923503b0b1eebe9e39c74bb1b0a0ef9a070f6f25f51d7728df844a5c7bd9a23f454da08b7f4873f364b914e1052ccfeed3488464d8b7a05145c7a0a959c9346f'
+
'caa70040fd664546b53e7ad481b41d1e910c4cfdb00f5e9f89306c0ba6ad9823d8e520adc9a04bc607c01c316940600bb4f3444bd50c5a5e87f312895f688050')
+
+prepare() {
+  # we do not need tox, cmake or ninja as build tools
+  patch -Np1 -d $_name-$pkgver -i ../$pkgname-0.17.0-build_deps.patch
+}
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+# NOTE: tests can not be run: 
https://github.com/NordicSemiconductor/pc-ble-driver-py/issues/225
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}

Added: 
python-pc-ble-driver-py/trunk/python-pc-ble-driver-py-0.17.0-build_deps.patch
===
--- 
python-pc-ble-driver-py/trunk/python-pc-ble-driver-py-0.17.0-build_deps.patch   
(rev 0)
+++ 
python-pc-ble-driver-py/trunk/python-pc-ble-driver-py-0.17.0-build_deps.patch   
2022-08-01 07:22:40 UTC (rev 1259582)
@@ -0,0 +1,10 @@
+diff -ruN a/pyproject.toml b/pyproject.toml
+--- a/pyproject.toml   2022-07-06 15:36:11.0 +0200
 b/pyproject.toml   2022-07-31 22:43:21.367424662 +0200
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools", "wheel", "scikit-build", "cmake", "ninja", "tox"]
++requires = ["setuptools", "wheel", "scikit-build"]
+ 
+ [flake8]
+ exclude = [



[arch-commits] Commit in (5 files)

2022-06-29 Thread David Runge via arch-commits
Date: Wednesday, June 29, 2022 @ 21:53:26
  Author: dvzrv
Revision: 1241425

Add python-pdm.

Added:
  python-pdm/
  python-pdm/repos/
  python-pdm/trunk/
  python-pdm/trunk/PKGBUILD
  python-pdm/trunk/python-pdm-1.15.4-devendor.patch

--+
 PKGBUILD |   75 +
 python-pdm-1.15.4-devendor.patch |   52 +
 2 files changed, 127 insertions(+)

Added: python-pdm/trunk/PKGBUILD
===
--- python-pdm/trunk/PKGBUILD   (rev 0)
+++ python-pdm/trunk/PKGBUILD   2022-06-29 21:53:26 UTC (rev 1241425)
@@ -0,0 +1,75 @@
+# Maintainer: David Runge 
+
+_name=pdm
+pkgname=python-pdm
+# WARNING: vendored libs may change in patch level versions...
+pkgver=1.15.4
+pkgrel=1
+pkgdesc="A modern Python package manager with PEP 582 support"
+arch=(any)
+url="https://github.com/pdm-project/pdm";
+license=(MIT)
+depends=(
+  python-blinker
+  python-click
+  python-dotenv
+  python-findpython
+  python-installer
+  python-packaging
+  python-pdm-pep517
+  python-pep517
+  python-pip
+  python-platformdirs
+  python-resolvelib
+  python-shellingham
+  python-tomli
+  python-tomlkit
+  python-wheel
+)
+# packages devendored from pdm sources
+depends+=(
+  python-colorama
+  python-halo
+  python-log_symbols
+)
+makedepends=(python-build)
+checkdepends=(python-pytest python-pytest-mock python-pytest-xdist)
+optdepends=('python-keyring: for storing credentials')
+source=(
+  
https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz
+  $pkgname-1.15.4-devendor.patch
+)
+sha512sums=('35e32d6ccb2e4aa874f413e3d5f3a92c772a7ee6d7dd3f75a40ae082148cfb389585a1371e130ebdbc75ec25180d5f525177012198342e3ece354bfc799735e1'
+
'541d36828f2a11a98ba30ba521be505da7d7552097f1bedf381a4b5e9f637f7cdaf127bad0efc5851b69b5bc4abe4d569165444c27d9490df1155814123b23ea')
+b2sums=('e2c2e3437ee290aa849b1e04e51932fe58af1c77581a37a53b2885db6fc622c819688e222b2ef889192a62c2552a3f180fa3924f9c688f72ad79c5ee16180d03'
+
'929b3dc488a2479efd86dd950bc39429a363926eabbd0ad0a298d42f6bc38d165f0db62ede8bcdf6eba6d881bb4e1218f5bbca9dad779afa73fa8e883ca6949f')
+
+prepare() {
+  # devendor bundled libraries
+  patch -Np1 -d $_name-$pkgver -i ../$pkgname-1.15.4-devendor.patch
+  # remove vendor dir as we use system dependencies
+  rm -frv $_name-$pkgver/pdm/_vendor
+}
+
+build() {
+  cd $_name-$pkgver
+  export PDM_PEP517_SCM_VERSION=$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
+  cd $_name-$pkgver
+  # install to temporary location, as importlib is used
+  python -m installer --destdir=test_dir dist/*.whl
+  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+  pytest -vv -c /dev/null || echo "Failing tests because reasons: 
https://github.com/pdm-project/pdm/issues/1175";
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}

Added: python-pdm/trunk/python-pdm-1.15.4-devendor.patch
===
--- python-pdm/trunk/python-pdm-1.15.4-devendor.patch   
(rev 0)
+++ python-pdm/trunk/python-pdm-1.15.4-devendor.patch   2022-06-29 21:53:26 UTC 
(rev 1241425)
@@ -0,0 +1,52 @@
+diff -ruN a/pdm/project/core.py b/pdm/project/core.py
+--- a/pdm/project/core.py  2022-06-14 09:10:17.230656100 +0200
 b/pdm/project/core.py  2022-06-27 18:43:26.516225686 +0200
+@@ -42,7 +42,7 @@
+ if TYPE_CHECKING:
+ from resolvelib.reporters import BaseReporter
+ 
+-from pdm._vendor import halo
++import halo
+ from pdm.core import Core
+ from pdm.resolver.providers import BaseProvider
+ 
+diff -ruN a/pdm/resolver/reporters.py b/pdm/resolver/reporters.py
+--- a/pdm/resolver/reporters.py2022-06-14 09:10:17.234656300 +0200
 b/pdm/resolver/reporters.py2022-06-27 18:43:26.516225686 +0200
+@@ -10,7 +10,7 @@
+ if TYPE_CHECKING:
+ from resolvelib.resolvers import RequirementInformation, State  # type: 
ignore
+ 
+-from pdm._vendor import halo
++import halo
+ from pdm.models.candidates import Candidate
+ from pdm.models.requirements import Requirement
+ 
+diff -ruN a/pdm/termui.py b/pdm/termui.py
+--- a/pdm/termui.py2022-06-14 09:10:17.234656300 +0200
 b/pdm/termui.py2022-06-27 18:43:26.516225686 +0200
+@@ -14,8 +14,9 @@
+ import click
+ from click._compat import strip_ansi
+ 
+-from pdm._vendor import colorama, halo
+-from pdm._vendor.log_symbols.symbols import is_supported as supports_unicode
++import colorama
++import halo
++from log_symbols.symbols import is_supported as supports_unicode
+ 
+ logger = logging.getLogger(__name__)
+ 

[arch-commits] Commit in (5 files)

2022-06-27 Thread Tim Meusel via arch-commits
Date: Monday, June 27, 2022 @ 19:25:05
  Author: bastelfreak
Revision: 1239738

add ruby-metaclass package

Added:
  ruby-metaclass/
  ruby-metaclass/repos/
  ruby-metaclass/trunk/
  ruby-metaclass/trunk/PKGBUILD
  ruby-metaclass/trunk/disable-bundler.patch

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Added: ruby-metaclass/trunk/PKGBUILD
===
--- ruby-metaclass/trunk/PKGBUILD   (rev 0)
+++ ruby-metaclass/trunk/PKGBUILD   2022-06-27 19:25:05 UTC (rev 1239738)
@@ -0,0 +1,55 @@
+# Maintainer:: Tim Meusel 
+
+_gemname=metaclass
+pkgname="ruby-${_gemname}"
+pkgver=0.0.4
+pkgrel=1
+pkgdesc='Dynamic inspection of the hierarchy of method definitions on a Ruby 
object.'
+arch=('any')
+url="https://github.com/floehopper/${_gemname}";
+license=('MIT')
+depends=('ruby')
+checkdepends=('ruby-rake')
+makedepends=('ruby-minitest' 'ruby-test-unit')
+options=('!emptydirs')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha512sums=('5f41fe3db9c682ab6ab01c737c8531d2b4c2fdbc0f35f8fc9f40ce09a84ddf0d442c17caa1c3e87bb2c5e4703556c5d50fd9f72434b89e03d163db375046f0a4')
+
+prepare() {
+  cd "${_gemname}-${pkgver}"
+
+  # `git` doesn't work within src dir, because we downloaded an archive
+  sed --in-place 's|git ls-files|find|' ${_gemname}.gemspec
+  sed --in-place '/s.test_files/d' ${_gemname}.gemspec
+  sed --in-place '/s.executables/d' ${_gemname}.gemspec
+
+  # Disable bundler loading (useless dependency)
+  sed --in-place '/bundler/d' Rakefile test/test_helper.rb
+
+  # Disable deprecated gemspec option
+  sed --in-place '/s.rubyforge_project/d' ${_gemname}.gemspec
+}
+
+check() {
+  cd "${_gemname}-${pkgver}"
+  rake test
+}
+
+build() {
+  cd "${_gemname}-${pkgver}"
+  gem build ${_gemname}.gemspec
+}
+
+package() {
+  cd "${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+  install -Dm 644 README.md --target-directory 
"${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 COPYING.txt --target-directory 
"${pkgdir}/usr/share/licenses/${pkgname}"
+
+  # delete unneeded files
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem"
+  rm -rf 
"${pkgdir}/${_gemdir}/gems/${_gemname}-${pkgver}/"{test,yard-templates,gemfiles,bin,.github,.gemtest,mocha.gemspec.orig}
+}
+
+# vim: ts=2 sw=2 et:

Added: ruby-metaclass/trunk/disable-bundler.patch
===


[arch-commits] Commit in (5 files)

2022-06-19 Thread David Runge via arch-commits
Date: Sunday, June 19, 2022 @ 14:29:06
  Author: dvzrv
Revision: 1238618

Add python-coverage-conditional-plugin

Added:
  python-coverage-conditional-plugin/
  python-coverage-conditional-plugin/repos/
  python-coverage-conditional-plugin/trunk/
  python-coverage-conditional-plugin/trunk/PKGBUILD
  
python-coverage-conditional-plugin/trunk/python-coverage-conditional-plugin-0.5.0-poetry.patch

---+
 PKGBUILD  |   52 
 python-coverage-conditional-plugin-0.5.0-poetry.patch |   12 +++
 2 files changed, 64 insertions(+)

Added: python-coverage-conditional-plugin/trunk/PKGBUILD
===
--- python-coverage-conditional-plugin/trunk/PKGBUILD   
(rev 0)
+++ python-coverage-conditional-plugin/trunk/PKGBUILD   2022-06-19 14:29:06 UTC 
(rev 1238618)
@@ -0,0 +1,52 @@
+# Maintainer: David Runge 
+
+_name=coverage-conditional-plugin
+pkgname=python-coverage-conditional-plugin
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="Conditional coverage based on any rules you define"
+arch=(any)
+url="https://github.com/wemake-services/coverage-conditional-plugin";
+license=(MIT)
+depends=(python-coverage python-packaging)
+makedepends=(python-build python-installer python-poetry python-wheel)
+checkdepends=(python-pytest python-pytest-cov python-pytest-randomly)
+# no tests in sdist tarball: 
https://github.com/wemake-services/coverage-conditional-plugin/issues/153
+# 
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+source=(
+  
$_name-$pkgver.tar.gz::https://github.com/wemake-services/$_name/archive/refs/tags/$pkgver.tar.gz
+  $pkgname-0.5.0-poetry.patch
+)
+sha256sums=('930db4b1c2ef9f456b2379a78b7773db701a3915fb5b0fa205fe964914de40c4'
+'250df5cedfb0ae89744b82f6f6a0ee062501f15ad58acde6a6e294b38ef4b502')
+b2sums=('2ccbb03eeaff2c1526454c4ee134778e31b5f0b07491715bfab39d4ae8c69cc4625269d0910ebef2f2b6a6fc7ee1556352b0d14ba8395ae3e2a2b882ed90d692'
+
'79e8a786df0e36e5a9f29d54ad343d50c2aff64b2d413094082dd0d0af785b2da0168a14bddff85285a5d1b43d7240fb46d1d0742facb65befbe587b9499ef71')
+
+prepare() {
+  # fix incompatibility with PEP517: 
https://github.com/wemake-services/coverage-conditional-plugin/issues/155
+  patch -Np1 -d $_name-$pkgver -i ../$pkgname-0.5.0-poetry.patch
+}
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
+  cd $_name-$pkgver
+  # install to temporary location, as importlib is used
+  python -m installer --destdir=test_dir dist/*.whl
+  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+  # ignore integration and code style checks
+  # ignore unwanted pulling in of python-pytest-pythonpath: 
https://github.com/wemake-services/coverage-conditional-plugin/issues/154
+  # ignore broken integration test
+  pytest -vv -c /dev/null --ignore tests/test_integration.py
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}

Added: 
python-coverage-conditional-plugin/trunk/python-coverage-conditional-plugin-0.5.0-poetry.patch
===
--- 
python-coverage-conditional-plugin/trunk/python-coverage-conditional-plugin-0.5.0-poetry.patch
  (rev 0)
+++ 
python-coverage-conditional-plugin/trunk/python-coverage-conditional-plugin-0.5.0-poetry.patch
  2022-06-19 14:29:06 UTC (rev 1238618)
@@ -0,0 +1,12 @@
+diff -ruN a/pyproject.toml b/pyproject.toml
+--- a/pyproject.toml   2022-01-02 14:35:11.0 +0100
 b/pyproject.toml   2022-06-19 16:09:50.958743465 +0200
+@@ -1,6 +1,6 @@
+ [build-system]
+-requires = ["poetry>=1.0"]
+-build-backend = "poetry.masonry.api"
++requires = ["poetry-core>=1.0.0"]
++build-backend = "poetry.core.masonry.api"
+ 
+ 
+ [tool.nitpick]



[arch-commits] Commit in (5 files)

2022-06-13 Thread George Rawlinson via arch-commits
Date: Tuesday, June 14, 2022 @ 02:15:09
  Author: grawlinson
Revision: 1237837

addpkg: rustscan 2.1.0-2

Added:
  rustscan/
  rustscan/repos/
  rustscan/trunk/
  rustscan/trunk/PKGBUILD
  rustscan/trunk/update-lockfile.patch

---+
 PKGBUILD  |   57 
 update-lockfile.patch |   11 +
 2 files changed, 68 insertions(+)

Added: rustscan/trunk/PKGBUILD
===
--- rustscan/trunk/PKGBUILD (rev 0)
+++ rustscan/trunk/PKGBUILD 2022-06-14 02:15:09 UTC (rev 1237837)
@@ -0,0 +1,57 @@
+# Maintainer: George Rawlinson 
+# Contributor: Gobidev 
+# Contributor: Hao Long 
+
+pkgname=rustscan
+pkgver=2.1.0
+pkgrel=2
+pkgdesc='A modern port scanner'
+arch=('x86_64')
+url='https://github.com/rustscan/RustScan'
+license=('GPL3')
+depends=('gcc-libs' 'nmap')
+makedepends=('git' 'rust')
+checkdepends=('python')
+options=('!lto')
+_commit='075025113d849303af8366ada88da2edcd8a24c0'
+source=(
+  "$pkgname::git+$url#commit=$_commit"
+  'update-lockfile.patch'
+)
+b2sums=('SKIP'
+
'bede006174ed64bb1f2dcfb1ea4fc9e8b676af176c25299415a99e107581103c04f1ec08363bdd8106129ad694fb8f0b3be9d0e216222b57e44de5166f519b83')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # update out-of-sync lockfile
+  patch -p1 -i ../update-lockfile.patch
+
+  # download dependencies
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname"
+
+  cargo build --frozen --release --all-features
+}
+
+check() {
+  cd "$pkgname"
+
+  cargo test --frozen --all-features
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" target/release/rustscan
+}

Added: rustscan/trunk/update-lockfile.patch
===
--- rustscan/trunk/update-lockfile.patch(rev 0)
+++ rustscan/trunk/update-lockfile.patch2022-06-14 02:15:09 UTC (rev 
1237837)
@@ -0,0 +1,11 @@
+--- a/Cargo.lock
 b/Cargo.lock
+@@ -1110,7 +1110,7 @@
+ 
+ [[package]]
+ name = "rustscan"
+-version = "2.0.0"
++version = "2.1.0"
+ dependencies = [
+  "ansi_term",
+  "anyhow",



[arch-commits] Commit in (5 files)

2022-06-11 Thread David Runge via arch-commits
Date: Saturday, June 11, 2022 @ 15:25:00
  Author: dvzrv
Revision: 1233871

Add reaper.

Added:
  reaper/
  reaper/repos/
  reaper/trunk/
  reaper/trunk/PKGBUILD
  reaper/trunk/redistribution.eml

+
 PKGBUILD   |   47 +++
 redistribution.eml |  152 +++
 2 files changed, 199 insertions(+)

Added: reaper/trunk/PKGBUILD
===
--- reaper/trunk/PKGBUILD   (rev 0)
+++ reaper/trunk/PKGBUILD   2022-06-11 15:25:00 UTC (rev 1233871)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge 
+
+pkgname=reaper
+pkgver=6.60
+pkgrel=1
+pkgdesc="A complete digital audio production application for computers"
+arch=(x86_64)
+url="https://reaper.fm";
+license=(custom)
+groups=(pro-audio)
+depends=(alsa-lib libasound.so fontconfig gcc-libs hicolor-icon-theme libglvnd 
libx11 libxi)
+makedepends=(kservice xdg-utils)
+optdepends=(
+  'jack: for JACK support'
+  'pulseaudio: for PulseAudio support'
+)
+provides=(lv2-host vst-host vst3-host)
+source=(
+  https://reaper.fm/files/${pkgver::1}.x/reaper${pkgver//.}_linux_$CARCH.tar.xz
+  redistribution.eml
+)
+sha512sums=('86404edcaba803b99cdfc6bbf141dcff9e5d471a53a0075bd1089b8428a24caf35dfb901d44bd8436a2efd03e61baeb97634afc548dbf41e0f29d5ec91af4253'
+
'a2746fa0b847dbd587f24983569b01120f4706306242223c8857360219569d965df8c25c98f31d68140eb66d7458384653b5b042f7433a84957a990d8e587d92')
+b2sums=('6ad0d1245a743c028c0d07c5cfb8251cf4f1fd4de1008cb5930f022d4012b262c3809f16f962b25e35c5dd3a8bcf14c4786a1b78b55b9400909705c6a4f8acfa'
+
'ddbf47cb04ad9e9fb937b09a0ea0c88d4416ceaabc4e420750ff9303447a50a323060f018bd9f52907a1a5e4ea3ebe685eb336d1b6f4bbbc89a12e2370be8728')
+
+package() {
+  cd ${pkgname}_linux_$CARCH
+  XDG_DATA_HOME="$srcdir/xdg/" ./install-reaper.sh --install "$pkgdir/usr/lib" 
--integrate-user-desktop
+  # remove unneeded uninstallation script
+  rm -v "$pkgdir/usr/lib/${pkgname^^}/uninstall-reaper.sh"
+
+  # strip $pkgdir from XDG desktop Exec line
+  sed -e "s|$pkgdir||g" -i "$srcdir/xdg/applications/"*.desktop
+  # install only required files for XDG integration
+  install -vDm 644 "$srcdir/xdg/applications/"*.desktop -t 
"$pkgdir/usr/share/applications/"
+  install -vDm 644 "$srcdir/xdg/mime/packages/"*.xml -t 
"$pkgdir/usr/share/mime/packages/"
+  install -vDm 644 "$srcdir/xdg/icons/hicolor/256x256/apps/"*.png -t 
"$pkgdir/usr/share/icons/hicolor/256x256/apps/"
+
+  # add convenience symlink to PATH
+  install -vdm 755 "$pkgdir/usr/bin"
+  ln -sv /usr/lib/${pkgname^^}/$pkgname "$pkgdir/usr/bin/$pkgname"
+
+  # install EULA and redistribution allowance
+  install -vDm 644 "$pkgdir/usr/lib/${pkgname^^}/EULA.txt" -t 
"$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 "$srcdir/redistribution.eml" -t 
"$pkgdir/usr/share/licenses/$pkgname/"
+}

Added: reaper/trunk/redistribution.eml
===
--- reaper/trunk/redistribution.eml (rev 0)
+++ reaper/trunk/redistribution.eml 2022-06-11 15:25:00 UTC (rev 1233871)
@@ -0,0 +1,152 @@
+From jus...@cockos.com Sat Jun 11 16:26:52 2022
+Return-Path: 
+Delivered-To: dv...@archlinux.org
+Received: from mail.archlinux.org
+   by mail.archlinux.org with LMTP
+   id H0izBSympGJMRwMAK+/4rw
+   (envelope-from )
+   for ; Sat, 11 Jun 2022 14:26:52 +
+Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com 
[IPv6:2607:f8b0:4864:20::f31])
+   (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
+key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest 
SHA256)
+   (No client certificate requested)
+   by mail.archlinux.org (Postfix) with ESMTPS id 47F8110D4D1C
+   for ; Sat, 11 Jun 2022 14:26:51 + (UTC)
+Received: by mail-qv1-xf31.google.com with SMTP id t6so144016qvh.1
+for ; Sat, 11 Jun 2022 07:26:51 -0700 (PDT)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
+d=cockos.com; s=google;
+h=content-transfer-encoding:from:mime-version:subject:date:message-id
+ :references:in-reply-to:to;
+bh=dSMZilpvM6Q20QeBnfh1qF5dV6phXLW2f5SPCYtCIso=;
+b=X9R45NWArfgLGg3fl5365rhg7k685wM2R46SusDYfa+oCzJE1GyGDp7v+e8VZCymf1
+ 9TgHJyBmJpwaTRxSWNgFmhnNpwJn5Fin/jZRFzJASCHvraS1+4W//R3/C1MPcva+DEnn
+ +09E4cVSOOs/1oArQ+DfbGf0ygMOUih3PVzMw=
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
+d=1e100.net; s=20210112;
+h=x-gm-message-state:content-transfer-encoding:from:mime-version
+ :subject:date:message-id:references:in-reply-to:to;
+bh=dSMZilpvM6Q20QeBnfh1qF5dV6phXLW2f5SPCYtCIso=;
+b=L6ne0GGDn4YUluVqB5JLCeQu+dG5Sb6FWwfLDkO8Ms27c/IZWnDezBxoWCe6GW1fYa
+ Og3v4ct6wAk02G5mTp2/Ipq5U6QVHEKF+wf/c8mqTyPM7UcA33MGEFPEdXRdzsBgMKMY
+ MfmbTCGf2+V9B+/Y/rlemyCF1ois1qJjBxN3wiMbZ7KfJn7+eVab+z7EKui+

[arch-commits] Commit in (5 files)

2022-05-30 Thread George Rawlinson via arch-commits
Date: Tuesday, May 31, 2022 @ 03:28:03
  Author: grawlinson
Revision: 1216893

addpkg: nix-busybox 1.35.0-1

Added:
  nix-busybox/
  nix-busybox/repos/
  nix-busybox/trunk/
  nix-busybox/trunk/PKGBUILD
  nix-busybox/trunk/config

--+
 PKGBUILD |   42 ++
 config   | 1219 +
 2 files changed, 1261 insertions(+)

Added: nix-busybox/trunk/PKGBUILD
===
--- nix-busybox/trunk/PKGBUILD  (rev 0)
+++ nix-busybox/trunk/PKGBUILD  2022-05-31 03:28:03 UTC (rev 1216893)
@@ -0,0 +1,42 @@
+# Maintainer: George Rawlinson 
+# Contributor: Sergej Pupykin 
+# Contributor: Eli Schwartz 
+# Contributor: Jens Pranaitis 
+
+pkgname=nix-busybox
+_pkgname="${pkgname#nix-}"
+pkgver=1.35.0
+pkgrel=1
+pkgdesc='Slimmed down busybox for Nix sandbox builds'
+arch=('x86_64')
+url='https://www.busybox.net'
+license=('GPL')
+makedepends=(
+  'ncurses'
+  'musl'
+  'kernel-headers-musl'
+)
+source=(
+  "$url/download/$_pkgname-$pkgver.tar.bz2"{,.sig}
+  'config'
+)
+b2sums=('c08656bc863cd3fa8f7269032e808a30832215c36414c12f8233ab00503636ed1979541b7df42df654f1dfdfdd46fc00c8fe790bf0bed629a915b4c806c643b9'
+'SKIP'
+
'd592c063dc3f19c00795ba1dfd5241dad365b08a30494126fb3a5ef3c6d9077d885c0a2e150e7b5d9f06f483adcdeeea8df660be208373318472af9fcc52c5c7')
+validpgpkeys=('C9E9416F76E610DBD09D040F47B70C55ACC9965B') # Denis Vlasenko 

+
+build() {
+  cd "$_pkgname-$pkgver"
+
+  cp "$srcdir/config" .config
+
+  # reproducible build
+  export KCONFIG_NOTIMESTAMP=1
+  make CC=musl-gcc
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+
+  install -vDm755 -t "$pkgdir/usr/lib/nix" busybox
+}

Added: nix-busybox/trunk/config
===
--- nix-busybox/trunk/config(rev 0)
+++ nix-busybox/trunk/config2022-05-31 03:28:03 UTC (rev 1216893)
@@ -0,0 +1,1219 @@
+#
+# Automatically generated make config: don't edit
+# Busybox version: 1.35.0
+#
+CONFIG_HAVE_DOT_CONFIG=y
+
+#
+# Settings
+#
+CONFIG_DESKTOP=y
+# CONFIG_EXTRA_COMPAT is not set
+# CONFIG_FEDORA_COMPAT is not set
+CONFIG_INCLUDE_SUSv2=y
+CONFIG_LONG_OPTS=y
+CONFIG_SHOW_USAGE=y
+CONFIG_FEATURE_VERBOSE_USAGE=y
+CONFIG_FEATURE_COMPRESS_USAGE=y
+CONFIG_LFS=y
+# CONFIG_PAM is not set
+CONFIG_FEATURE_DEVPTS=y
+# CONFIG_FEATURE_UTMP is not set
+# CONFIG_FEATURE_WTMP is not set
+CONFIG_FEATURE_PIDFILE=y
+CONFIG_PID_FILE_PATH="/run"
+CONFIG_BUSYBOX=y
+# CONFIG_FEATURE_SHOW_SCRIPT is not set
+CONFIG_FEATURE_INSTALLER=y
+# CONFIG_INSTALL_NO_USR is not set
+CONFIG_FEATURE_SUID=y
+CONFIG_FEATURE_SUID_CONFIG=y
+CONFIG_FEATURE_SUID_CONFIG_QUIET=y
+# CONFIG_FEATURE_PREFER_APPLETS is not set
+CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
+# CONFIG_SELINUX is not set
+# CONFIG_FEATURE_CLEAN_UP is not set
+CONFIG_FEATURE_SYSLOG_INFO=y
+CONFIG_FEATURE_SYSLOG=y
+
+#
+# Build Options
+#
+CONFIG_STATIC=y
+# CONFIG_PIE is not set
+# CONFIG_NOMMU is not set
+# CONFIG_BUILD_LIBBUSYBOX is not set
+# CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set
+# CONFIG_FEATURE_INDIVIDUAL is not set
+# CONFIG_FEATURE_SHARED_BUSYBOX is not set
+CONFIG_CROSS_COMPILER_PREFIX=""
+CONFIG_SYSROOT=""
+CONFIG_EXTRA_CFLAGS=""
+CONFIG_EXTRA_LDFLAGS=""
+CONFIG_EXTRA_LDLIBS=""
+# CONFIG_USE_PORTABLE_CODE is not set
+CONFIG_STACK_OPTIMIZATION_386=y
+CONFIG_STATIC_LIBGCC=y
+
+#
+# Installation Options ("make install" behavior)
+#
+# CONFIG_INSTALL_APPLET_SYMLINKS is not set
+# CONFIG_INSTALL_APPLET_HARDLINKS is not set
+# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set
+CONFIG_INSTALL_APPLET_DONT=y
+# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set
+# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set
+# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set
+CONFIG_PREFIX="./_install"
+
+#
+# Debugging Options
+#
+# CONFIG_DEBUG is not set
+# CONFIG_DEBUG_PESSIMIZE is not set
+# CONFIG_DEBUG_SANITIZE is not set
+# CONFIG_UNIT_TEST is not set
+# CONFIG_WERROR is not set
+# CONFIG_WARN_SIMPLE_MSG is not set
+CONFIG_NO_DEBUG_LIB=y
+# CONFIG_DMALLOC is not set
+# CONFIG_EFENCE is not set
+
+#
+# Library Tuning
+#
+# CONFIG_FEATURE_USE_BSS_TAIL is not set
+CONFIG_FLOAT_DURATION=y
+CONFIG_FEATURE_RTMINMAX=y
+CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS=y
+CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
+# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
+# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
+CONFIG_PASSWORD_MINLEN=6
+CONFIG_MD5_SMALL=1
+CONFIG_SHA3_SMALL=0
+# CONFIG_FEATURE_NON_POSIX_CP is not set
+# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set
+CONFIG_FEATURE_USE_SENDFILE=y
+CONFIG_FEATURE_COPYBUF_KB=4
+# CONFIG_MONOTONIC_SYSCALL is not set
+CONFIG_IOCTL_HEX2STR_ERROR=y
+CONFIG_FEATURE_EDITING=y
+CONFIG_FEATURE_EDITING_MAX_LEN=1024
+CONFIG_FEATURE_EDITING_VI=y
+CONFIG_FEATURE_EDITING_HISTORY=255
+CONFIG_FEATURE_EDITING_SAVEHISTORY=y
+CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
+CONFIG_FEATURE_REVERSE_SEARCH=y
+CONFIG_FEATURE_TAB_COMPLETION=y
+CONFI

[arch-commits] Commit in (5 files)

2022-05-30 Thread Tobias Powalowski via arch-commits
Date: Monday, May 30, 2022 @ 15:38:14
  Author: tpowa
Revision: 447025

bye bye, move to a peaceful place

Deleted:
  archboot-arm/
  archboot-bootloader/
  archboot-qemu-aarch64/
  archboot/
  sbsigntools/trunk/0.9.4-fix-pe-coff-checksum.patch

--+
 0.9.4-fix-pe-coff-checksum.patch |   43 -
 1 file changed, 43 deletions(-)

Deleted: sbsigntools/trunk/0.9.4-fix-pe-coff-checksum.patch
===
--- sbsigntools/trunk/0.9.4-fix-pe-coff-checksum.patch  2022-05-30 15:35:59 UTC 
(rev 447024)
+++ sbsigntools/trunk/0.9.4-fix-pe-coff-checksum.patch  2022-05-30 15:38:14 UTC 
(rev 447025)
@@ -1,43 +0,0 @@
-From e9f13a7c4c19ed4ef12f226821bbcd2295d1af73 Mon Sep 17 00:00:00 2001
-From: Heinrich Schuchardt 
-Date: Thu, 10 Mar 2022 20:41:04 +0100
-Subject: Fix PE/COFF checksum calculation
-
-Gbp-Pq: fix_checksum_calc.patch.

- src/image.c | 6 +-
- 1 file changed, 1 insertion(+), 5 deletions(-)
-
-diff --git a/src/image.c b/src/image.c
-index 5697296..8ac79dd 100644
 a/src/image.c
-+++ b/src/image.c
-@@ -162,7 +162,6 @@ static void image_pecoff_update_checksum(struct image 
*image)
- {
-   bool is_signed = image->sigsize && image->sigbuf;
-   uint32_t checksum;
--  struct cert_table_header *cert_table = image->cert_table;
- 
-   /* We carefully only include the signature data in the checksum (and
-* in the file length) if we're outputting the signature.  Otherwise,
-@@ -180,16 +179,13 @@ static void image_pecoff_update_checksum(struct image 
*image)
-   (void *)(image->checksum + 1));
- 
-   if (is_signed) {
--  checksum = csum_bytes(checksum,
--  cert_table, sizeof(*cert_table));
--
-   checksum = csum_bytes(checksum, image->sigbuf, image->sigsize);
-   }
- 
-   checksum += image->data_size;
- 
-   if (is_signed)
--  checksum += sizeof(*cert_table) + image->sigsize;
-+  checksum += image->sigsize;
- 
-   *(image->checksum) = cpu_to_le32(checksum);
- }
--- 
-cgit v1.1
-



[arch-commits] Commit in (5 files)

2022-05-28 Thread George Rawlinson via arch-commits
Date: Sunday, May 29, 2022 @ 02:38:09
  Author: grawlinson
Revision: 1213221

addpkg: stumpwm 22.05-2

Added:
  stumpwm/
  stumpwm/repos/
  stumpwm/trunk/
  stumpwm/trunk/PKGBUILD
  stumpwm/trunk/stumpwm.desktop

-+
 PKGBUILD|   75 ++
 stumpwm.desktop |9 ++
 2 files changed, 84 insertions(+)

Added: stumpwm/trunk/PKGBUILD
===
--- stumpwm/trunk/PKGBUILD  (rev 0)
+++ stumpwm/trunk/PKGBUILD  2022-05-29 02:38:09 UTC (rev 1213221)
@@ -0,0 +1,75 @@
+# Maintainer: George Rawlinson 
+# Contributor: Dario Klingenberg 
+# Contributor: Kaare Jenssen 
+# Contributor: Julian DeMille 
+# Contributor: Alexander F Rødseth 
+# Contributor: Chris Dunder 
+# Contributor: M Rawash 
+# Contributor: olvar 
+# Contributor: Andrew Antle 
+# Contributor: joyfulgirl 
+# Contributor: Jonathan Friedman 
+# Contributor: Stefan Husmann 
+# Contributor: sidereus 
+
+pkgname=stumpwm
+pkgver=22.05
+pkgrel=2
+pkgdesc='Tiling, keyboard-driven window manager written in Common Lisp'
+arch=('x86_64')
+url='https://stumpwm.github.io/'
+license=('GPL2')
+depends=(
+  'sbcl'
+  'cl-ppcre'
+  'cl-clx'
+  'cl-alexandria'
+)
+makedepends=('git')
+optdepends=(
+  'xorg-xprop: for stumpish, the StumpWM Interactive Shell'
+  'rlwrap: command completion and history in stumpish'
+  'emacs: edit and eval stumpwm code with M-x stumpwm-mode'
+  'alsa-utils: control the volume with amixer.lisp'
+  'mpd: control mpd with mpd.lisp'
+  'surfraw: surf the internet with surfraw.lisp'
+)
+options=('!strip' '!makeflags')
+_commit='09685fcddc32befcf7a0fbe38df9b0613fc4539b'
+source=(
+  "$pkgname::git+https://github.com/stumpwm/stumpwm#commit=$_commit";
+  'stumpwm.desktop'
+)
+b2sums=('SKIP'
+
'a6bf8083d300854c4252046937e18bea935b4bd496677b8bcf0ca74c3af91f37dcd0f7ce766b23ac0b22a9fbbec40d55ca2804c8ecf46db087cc1842116d8f6c')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+build() {
+  cd "$pkgname"
+
+  autoconf
+
+  ./configure \
+--prefix=/usr \
+--with-module-dir=/usr/share/stumpwm/contrib
+
+  make
+}
+
+package() {
+  cd "$pkgname"
+
+  make destdir="$pkgdir" install
+
+  # sample configuration
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" \
+sample-stumpwmrc.lisp README.md
+
+  # desktop file
+  install -vDm644 -t "$pkgdir/usr/share/xsessions" ../stumpwm.desktop
+}

Added: stumpwm/trunk/stumpwm.desktop
===
--- stumpwm/trunk/stumpwm.desktop   (rev 0)
+++ stumpwm/trunk/stumpwm.desktop   2022-05-29 02:38:09 UTC (rev 1213221)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Stumpwm
+Comment=Tiling, keyboard driven Common Lisp window manager
+TryExec=stumpwm
+Exec=stumpwm
+Type=Application
+
+[X-Window Manager]
+SessionManaged=true



[arch-commits] Commit in (5 files)

2022-05-24 Thread George Rawlinson via arch-commits
Date: Wednesday, May 25, 2022 @ 02:54:04
  Author: grawlinson
Revision: 1210306

addpkg: cl-trivial-features 1.0.r3-1

Added:
  cl-trivial-features/
  cl-trivial-features/repos/
  cl-trivial-features/trunk/
  cl-trivial-features/trunk/PKGBUILD
  cl-trivial-features/trunk/run-tests.lisp

+
 PKGBUILD   |   49 +
 run-tests.lisp |7 +++
 2 files changed, 56 insertions(+)

Added: cl-trivial-features/trunk/PKGBUILD
===
--- cl-trivial-features/trunk/PKGBUILD  (rev 0)
+++ cl-trivial-features/trunk/PKGBUILD  2022-05-25 02:54:04 UTC (rev 1210306)
@@ -0,0 +1,49 @@
+# Maintainer: George Rawlinson 
+
+pkgname=cl-trivial-features
+_pkgname="${pkgname#cl-}"
+pkgver=1.0.r3.g35c5eeb
+pkgrel=2
+pkgdesc='Ensure consistent features across multiple Common Lisp 
implementations'
+arch=('any')
+url='https://github.com/trivial-features/trivial-features'
+license=('MIT')
+depends=('common-lisp' 'cl-asdf')
+makedepends=('git')
+checkdepends=('sbcl' 'cl-rt' 'cl-cffi' 'cl-alexandria')
+_commit='35c5eeb21a51671ffbfcb591f84498e782478a32'
+source=(
+  "$pkgname::git+$url#commit=$_commit"
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'6c7d4182131c8fea9efa23bb196200076c72b4d07caa88e01ea96a0ab9f12b8e4c20bff16fb2eec0630cb8907a274593b405a29193c7adc4bb2924a55213f4a4')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vd "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+  cp -vr \
+src tests \
+./*.{lisp,asd} \
+"$pkgdir/usr/share/common-lisp/source/$_pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYRIGHT
+}

Added: cl-trivial-features/trunk/run-tests.lisp
===
--- cl-trivial-features/trunk/run-tests.lisp(rev 0)
+++ cl-trivial-features/trunk/run-tests.lisp2022-05-25 02:54:04 UTC (rev 
1210306)
@@ -0,0 +1,7 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "trivial-features-tests")
+
+(uiop:quit (if (trivial-features-tests:run) 0 1))



[arch-commits] Commit in (5 files)

2022-05-24 Thread George Rawlinson via arch-commits
Date: Wednesday, May 25, 2022 @ 02:42:46
  Author: grawlinson
Revision: 1210302

addpkg: cl-bordeaux-threads 0.8.8-6

Added:
  cl-bordeaux-threads/
  cl-bordeaux-threads/repos/
  cl-bordeaux-threads/trunk/
  cl-bordeaux-threads/trunk/PKGBUILD
  cl-bordeaux-threads/trunk/run-tests.lisp

+
 PKGBUILD   |   54 ++
 run-tests.lisp |8 
 2 files changed, 62 insertions(+)

Added: cl-bordeaux-threads/trunk/PKGBUILD
===
--- cl-bordeaux-threads/trunk/PKGBUILD  (rev 0)
+++ cl-bordeaux-threads/trunk/PKGBUILD  2022-05-25 02:42:46 UTC (rev 1210302)
@@ -0,0 +1,54 @@
+# Maintainer: George Rawlinson 
+# Contributor: Dacoda Strack 
+
+pkgname=cl-bordeaux-threads
+_pkgname="${pkgname#cl-}"
+pkgver=0.8.8
+pkgrel=6
+pkgdesc='Portable shared-state concurrency for Common Lisp'
+arch=('any')
+url='https://sionescu.github.io/bordeaux-threads/'
+license=('MIT')
+depends=(
+  'common-lisp'
+  'cl-asdf'
+  'cl-alexandria'
+  'cl-global-vars'
+  'cl-trivial-features'
+  'cl-trivial-garbage'
+)
+makedepends=('git')
+checkdepends=('sbcl' 'cl-fiveam')
+_commit='076fe2380abbc59b06e495dc7a35aea8eb26ba3b'
+source=(
+  "$pkgname::git+https://github.com/sionescu/bordeaux-threads#commit=$_commit";
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'91273084a1ebd68bdafc7ad4904d232f07046de74684575813b25eaa145eb8b7d1c6e0a2f0a114376cbe6cc30bd59f88cffdea007d0f71d36c29288fa70f733f')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vd "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+  cp -vr src test version.sexp "$_pkgname.asd" 
"$pkgdir/usr/share/common-lisp/source/$_pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README site/*
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Added: cl-bordeaux-threads/trunk/run-tests.lisp
===
--- cl-bordeaux-threads/trunk/run-tests.lisp(rev 0)
+++ cl-bordeaux-threads/trunk/run-tests.lisp2022-05-25 02:42:46 UTC (rev 
1210302)
@@ -0,0 +1,8 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "bordeaux-threads/test")
+(asdf:load-system "fiveam")
+
+(uiop:quit (if (fiveam:run :bordeaux-threads) 0 1))



[arch-commits] Commit in (5 files)

2022-05-24 Thread George Rawlinson via arch-commits
Date: Wednesday, May 25, 2022 @ 02:38:52
  Author: grawlinson
Revision: 1210300

addpkg: cl-babel 0.5.0.r20-1

Added:
  cl-babel/
  cl-babel/repos/
  cl-babel/trunk/
  cl-babel/trunk/PKGBUILD
  cl-babel/trunk/run-tests.lisp

+
 PKGBUILD   |   52 
 run-tests.lisp |7 +++
 2 files changed, 59 insertions(+)

Added: cl-babel/trunk/PKGBUILD
===
--- cl-babel/trunk/PKGBUILD (rev 0)
+++ cl-babel/trunk/PKGBUILD 2022-05-25 02:38:52 UTC (rev 1210300)
@@ -0,0 +1,52 @@
+# Maintainer: George Rawlinson 
+
+pkgname=cl-babel
+_pkgname="${pkgname#cl-}"
+pkgver=0.5.0.r20.gf892d05
+pkgrel=2
+pkgdesc='A charset encoding/decoding library for Common Lisp'
+arch=('any')
+url='https://babel.common-lisp.dev/'
+license=('MIT')
+depends=(
+  'common-lisp'
+  'cl-asdf'
+  'cl-alexandria'
+  'cl-trivial-features'
+  'cl-trivial-gray-streams'
+)
+makedepends=('git')
+checkdepends=('sbcl' 'cl-hu-dwim-stefil')
+_commit='f892d0587c7f3a1e6c0899425921b48008c29ee3'
+source=(
+  "$pkgname::git+https://github.com/cl-babel/babel#commit=$_commit";
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'7bec12f2bb118ff91c879a854134556e4bca5a01764bdba1c04ba3d4edcb25e8f33b2c9d8c7d574e41f526f68b9219c658135126e153691f12968c114a9c622e')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vd "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+  cp -vr src tests ./*.asd "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYRIGHT
+}

Added: cl-babel/trunk/run-tests.lisp
===
--- cl-babel/trunk/run-tests.lisp   (rev 0)
+++ cl-babel/trunk/run-tests.lisp   2022-05-25 02:38:52 UTC (rev 1210300)
@@ -0,0 +1,7 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "babel-tests")
+
+(uiop:quit (if (babel-tests:run) 0 1))



[arch-commits] Commit in (5 files)

2022-05-24 Thread George Rawlinson via arch-commits
Date: Wednesday, May 25, 2022 @ 02:34:07
  Author: grawlinson
Revision: 1210298

addpkg: cl-json 0.6.0-2

Added:
  cl-json/
  cl-json/repos/
  cl-json/trunk/
  cl-json/trunk/PKGBUILD
  cl-json/trunk/run-tests.lisp

+
 PKGBUILD   |   45 +
 run-tests.lisp |8 
 2 files changed, 53 insertions(+)

Added: cl-json/trunk/PKGBUILD
===
--- cl-json/trunk/PKGBUILD  (rev 0)
+++ cl-json/trunk/PKGBUILD  2022-05-25 02:34:07 UTC (rev 1210298)
@@ -0,0 +1,45 @@
+# Maintainer: George Rawlinson 
+
+pkgname=cl-json
+pkgver=0.6.0
+pkgrel=2
+pkgdesc='JSON encoder/decoder for Common Lisp'
+arch=('any')
+url='https://cl-json.common-lisp.dev/cl-json.html'
+license=('MIT')
+depends=('common-lisp' 'cl-asdf')
+makedepends=('git')
+checkdepends=('sbcl' 'cl-fiveam')
+_commit='994dd38c94344383f39f95d75987f6dc47a0cca1'
+source=(
+  "$pkgname::git+https://github.com/sharplispers/cl-json#commit=$_commit";
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'd727167c38c4ab5f9e648ba5e2061c44928860689efaad3659837acfa627c1f40d82a0aa90ee308048207bed1ef0c115907802855db84a5ad6c7453192816c8c')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vd "$pkgdir/usr/share/common-lisp/source/$pkgname"
+  cp -vr src t "$pkgname.asd" "$pkgdir/usr/share/common-lisp/source/$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md doc/*
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Added: cl-json/trunk/run-tests.lisp
===
--- cl-json/trunk/run-tests.lisp(rev 0)
+++ cl-json/trunk/run-tests.lisp2022-05-25 02:34:07 UTC (rev 1210298)
@@ -0,0 +1,8 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "cl-json/test")
+(asdf:load-system "fiveam")
+
+(uiop:quit (if (asdf:test-system "cl-json") 0 1))



[arch-commits] Commit in (5 files)

2022-05-24 Thread George Rawlinson via arch-commits
Date: Wednesday, May 25, 2022 @ 02:31:58
  Author: grawlinson
Revision: 1210296

addpkg: cl-trivial-garbage 0.21.r8-1

Added:
  cl-trivial-garbage/
  cl-trivial-garbage/repos/
  cl-trivial-garbage/trunk/
  cl-trivial-garbage/trunk/PKGBUILD
  cl-trivial-garbage/trunk/run-tests.lisp

+
 PKGBUILD   |   52 
 run-tests.lisp |7 +++
 2 files changed, 59 insertions(+)

Added: cl-trivial-garbage/trunk/PKGBUILD
===
--- cl-trivial-garbage/trunk/PKGBUILD   (rev 0)
+++ cl-trivial-garbage/trunk/PKGBUILD   2022-05-25 02:31:58 UTC (rev 1210296)
@@ -0,0 +1,52 @@
+# Maintainer: George Rawlinson 
+
+pkgname=cl-trivial-garbage
+_pkgname="${pkgname#cl-}"
+pkgver=0.21.r8.gb3af9c0
+pkgrel=2
+pkgdesc='Portable Garbage Collection related APIs for Common Lisp'
+arch=('any')
+url='https://trivial-garbage.common-lisp.dev/'
+license=('custom:Public')
+depends=('common-lisp' 'cl-asdf')
+makedepends=('git')
+checkdepends=('sbcl' 'cl-rt')
+_commit='b3af9c0c25d4d4c271545f1420e5ea5d1c892427'
+source=(
+  
"$pkgname::git+https://github.com/trivial-garbage/trivial-garbage#commit=$_commit";
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'2b7c57c7c110effa0356d694a99942e4a27ffa38afa1be9c95a7f98e67a9fabb1696f10c174be9c57a90779111bc2b115510ee19edc594f6cd9ea4019e6e7d12')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # extract license
+  sed -n '/^It/p' README.md > LICENSE
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vDm644 -t "$pkgdir/usr/share/common-lisp/source/$_pkgname" 
./*.{lisp,asd} build.xcvb
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Added: cl-trivial-garbage/trunk/run-tests.lisp
===
--- cl-trivial-garbage/trunk/run-tests.lisp (rev 0)
+++ cl-trivial-garbage/trunk/run-tests.lisp 2022-05-25 02:31:58 UTC (rev 
1210296)
@@ -0,0 +1,7 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "trivial-garbage/tests")
+
+(uiop:quit (if (trivial-garbage-tests:run) 0 1))



[arch-commits] Commit in (5 files)

2022-05-24 Thread George Rawlinson via arch-commits
Date: Wednesday, May 25, 2022 @ 02:29:26
  Author: grawlinson
Revision: 1210294

addpkg: cl-global-vars 1.0.0.r2-1

Added:
  cl-global-vars/
  cl-global-vars/repos/
  cl-global-vars/trunk/
  cl-global-vars/trunk/PKGBUILD
  cl-global-vars/trunk/run-tests.lisp

+
 PKGBUILD   |   58 +++
 run-tests.lisp |7 ++
 2 files changed, 65 insertions(+)

Added: cl-global-vars/trunk/PKGBUILD
===
--- cl-global-vars/trunk/PKGBUILD   (rev 0)
+++ cl-global-vars/trunk/PKGBUILD   2022-05-25 02:29:26 UTC (rev 1210294)
@@ -0,0 +1,58 @@
+# Maintainer: George Rawlinson 
+
+pkgname=cl-global-vars
+_pkgname="${pkgname#cl-}"
+pkgver=1.0.0.r2.gc749f32
+pkgrel=2
+pkgdesc='Define efficient global variables in Common Lisp'
+arch=('any')
+url='https://github.com/lmj/global-vars'
+license=('MIT')
+depends=('common-lisp' 'cl-asdf')
+makedepends=('git')
+checkdepends=('sbcl')
+_commit='c749f32c9b606a1457daa47d59630708ac0c266e'
+source=(
+  "$pkgname::git+$url#commit=$_commit"
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'784af4daa68e0343cc0674adadd544bf806476810a50b316923bd49f6bdc97a2c309812d40404904c69351d8c1f395b4d3d1089f834f3ade7e4a8abdf8fba220')
+
+pkgver() {
+  cd "$pkgname"
+
+  # first known commit to receive latest version
+  local _pkgver='1.0.0'
+  local _pkgcommit='cdb24d3cc7128f23af8f80d0b4e0dbc9c2d9a625'
+
+  git tag "$_pkgver" "$_pkgcommit"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # extract license
+  sed -n '/;;; Copyright/,/;;; DEALINGS/p' global-vars.lisp | sed -e 's/^;; 
//g' > LICENSE
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vDm644 -t "$pkgdir/usr/share/common-lisp/source/$_pkgname" 
./*.{lisp,asd}
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Added: cl-global-vars/trunk/run-tests.lisp
===
--- cl-global-vars/trunk/run-tests.lisp (rev 0)
+++ cl-global-vars/trunk/run-tests.lisp 2022-05-25 02:29:26 UTC (rev 1210294)
@@ -0,0 +1,7 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "global-vars-test")
+
+(uiop:quit (if (asdf:test-system "global-vars-test") 0 1))



[arch-commits] Commit in (5 files)

2022-05-24 Thread George Rawlinson via arch-commits
Date: Wednesday, May 25, 2022 @ 00:58:35
  Author: grawlinson
Revision: 1210290

addpkg: libiconv 1.17-1

Added:
  libiconv/
  libiconv/repos/
  libiconv/trunk/
  libiconv/trunk/9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D.asc
  libiconv/trunk/PKGBUILD

--+
 9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D.asc |1 
 PKGBUILD |   50 +
 2 files changed, 51 insertions(+)

Added: libiconv/trunk/9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D.asc
===
(Binary files differ)

Index: libiconv/trunk/9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D.asc
===
--- libiconv/trunk/9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D.asc 2022-05-25 
00:45:00 UTC (rev 1210289)
+++ libiconv/trunk/9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D.asc 2022-05-25 
00:58:35 UTC (rev 1210290)

Property changes on: libiconv/trunk/9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D.asc
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: libiconv/trunk/PKGBUILD
===
--- libiconv/trunk/PKGBUILD (rev 0)
+++ libiconv/trunk/PKGBUILD 2022-05-25 00:58:35 UTC (rev 1210290)
@@ -0,0 +1,50 @@
+# Maintainer: George Rawlinson 
+# Contributor: Arthur Darcet 
+# Contributor: Techlive Zheng 
+
+pkgname=libiconv
+pkgver=1.17
+pkgrel=1
+pkgdesc='GNU charset conversion library'
+arch=('x86_64')
+url='http://www.gnu.org/software/libiconv/'
+license=('LGPL')
+depends=('glibc')
+source=("https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+options=(!libtool)
+validpgpkeys=('9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D') # Bruno Haible 

+sha512sums=('18a09de2d026da4f2d8b858517b0f26d853b21179cf4fa9a41070b2d140030ad9525637dc4f34fc7f27abca8acdc84c6751dfb1d426e78bf92af4040603ced86'
+'SKIP')
+b2sums=('1d317dd0655c680a2082c38561cdff51ac1a9181d4734a8bb1e86861dfd66f1a6c0846a90b5b88f3b38b1fa9983d9e563551f27e95a8e329896b71becceae52b'
+'SKIP')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure \
+--prefix=/usr \
+--docdir=/usr/share/doc/libiconv \
+--enable-extra-encodings
+
+  # workaround for insecure rpath
+  sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
libtool
+  sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  # move references from iconv to libiconv
+  mv -v "$pkgdir"/usr/include/{iconv.h,libiconv.h}
+  mv -v "$pkgdir"/usr/bin/{iconv,libiconv}
+  mv -v "$pkgdir"/usr/share/man/man1/{,lib}iconv.1
+  mv -v "$pkgdir"/usr/share/man/man3/{,libiconv_}iconv.3
+  mv -v "$pkgdir"/usr/share/man/man3/{,libiconv_}iconvctl.3
+  mv -v "$pkgdir"/usr/share/man/man3/{,libiconv_}iconv_open.3
+  mv -v "$pkgdir"/usr/share/man/man3/{,libiconv_}iconv_close.3
+  mv -v "$pkgdir"/usr/share/man/man3/{,libiconv_}iconv_open_into.3
+}



[arch-commits] Commit in (5 files)

2022-05-24 Thread George Rawlinson via arch-commits
Date: Tuesday, May 24, 2022 @ 21:51:03
  Author: grawlinson
Revision: 1210262

addpkg: cl-hu-dwim-stefil r257-2

Added:
  cl-hu-dwim-stefil/
  cl-hu-dwim-stefil/repos/
  cl-hu-dwim-stefil/trunk/
  cl-hu-dwim-stefil/trunk/PKGBUILD
  cl-hu-dwim-stefil/trunk/run-tests.lisp

+
 PKGBUILD   |   54 ++
 run-tests.lisp |7 +++
 2 files changed, 61 insertions(+)

Added: cl-hu-dwim-stefil/trunk/PKGBUILD
===
--- cl-hu-dwim-stefil/trunk/PKGBUILD(rev 0)
+++ cl-hu-dwim-stefil/trunk/PKGBUILD2022-05-24 21:51:03 UTC (rev 1210262)
@@ -0,0 +1,54 @@
+# Maintainer: George Rawlinson 
+
+pkgname=cl-hu-dwim-stefil
+_pkgname='hu.dwim.stefil'
+pkgver=r257.g7a17248
+pkgrel=2
+pkgdesc='A simple test framework in Common Lisp'
+arch=('any')
+url='https://github.com/hu-dwim/hu.dwim.stefil'
+license=('MIT')
+depends=('common-lisp' 'cl-asdf' 'cl-alexandria')
+makedepends=('git')
+checkdepends=('sbcl')
+_commit='7a172486ea51c5d38836e5b209d7135014506d19'
+source=(
+  "$pkgname::git+$url#commit=$_commit"
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'f2db21db5957adcdf6ecf9c015795bcd03d982d961a2ea4ff7c4e53c8086d29c4fcaaa822358c4a1e9bebf5e3698d020afb1177715ed1f521ba772861ffc9b3e')
+
+pkgver() {
+  cd "$pkgname"
+
+  printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short 
HEAD)"
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # create directories
+  install -vd \
+"$pkgdir/usr/share/common-lisp/source/$_pkgname" \
+"$pkgdir/usr/share/common-lisp/systems"
+
+  # library
+  cp -vr integration source test ./*.asd 
"$pkgdir/usr/share/common-lisp/source/$_pkgname"
+
+  pushd "$pkgdir/usr/share/common-lisp/systems"
+  ln -s "../source/$_pkgname"/*.asd .
+  popd
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENCE
+}

Added: cl-hu-dwim-stefil/trunk/run-tests.lisp
===
--- cl-hu-dwim-stefil/trunk/run-tests.lisp  (rev 0)
+++ cl-hu-dwim-stefil/trunk/run-tests.lisp  2022-05-24 21:51:03 UTC (rev 
1210262)
@@ -0,0 +1,7 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "hu.dwim.stefil/test")
+
+(uiop:quit (if (hu.dwim.stefil/test::test) 0 1))



[arch-commits] Commit in (5 files)

2022-05-22 Thread George Rawlinson via arch-commits
Date: Sunday, May 22, 2022 @ 07:23:11
  Author: grawlinson
Revision: 1209969

addpkg: cl-clx 0.7.5.r67-1

Added:
  cl-clx/
  cl-clx/repos/
  cl-clx/trunk/
  cl-clx/trunk/LICENSE
  cl-clx/trunk/PKGBUILD

--+
 LICENSE  |   94 +
 PKGBUILD |   52 +
 2 files changed, 146 insertions(+)

Added: cl-clx/trunk/LICENSE
===
--- cl-clx/trunk/LICENSE(rev 0)
+++ cl-clx/trunk/LICENSE2022-05-22 07:23:11 UTC (rev 1209969)
@@ -0,0 +1,94 @@
+The files in the package have various copyright holders.  Here is a (not
+necessarily complete) list of the copyright holders and copying conditions:
+  
+Copyright (C) 1987 Texas Instruments Incorporated.
+  
+  Permission is granted to any individual or institution to use, copy, modify,
+  and distribute this software, provided that this complete copyright and
+  permission notice is maintained, intact, in all copies and supporting
+  documentation.
+  
+  Texas Instruments Incorporated provides this software "as is" without
+  express or implied warranty.
+
+Copyright (c) 1987, 1988, 1989 Franz Inc, Berkeley, Ca.
+  
+  Permission is granted to any individual or institution to use, copy,
+  modify, and distribute this software, provided that this complete
+  copyright and permission notice is maintained, intact, in all copies and
+  supporting documentation.
+  
+  Franz Incorporated provides this software "as is" without
+  express or implied warranty.
+
+Copyright (C) 1990 Symbolics, Inc.
+  
+  Permission is granted to any individual or institution to use, copy, modify,
+  and distribute this software, provided that this complete copyright and
+  permission notice is maintained, intact, in all copies and supporting
+  documentation.
+  
+  Symbolics, Inc. provides this software "as is" without
+  express or implied warranty.
+
+Copyright (C) 1987, 1989 Massachussetts Institute of Technology 
+
+  Permission is granted to any individual or institution to use, copy,
+  modify, and distribute this software, provided that this complete
+  copyright and permission notice is maintained, intact, in all copies and
+  supporting documentation.
+ 
+  Massachussetts Institute of Technology provides this software "as is"
+  without express or implied warranty.
+ 
+Copyright 1990 Massachusetts Institute of Technology, Cambridge,
+Massachusetts.  All Rights Reserved.
+  
+  Permission to use, copy, modify, and distribute this software and its
+  documentation for any purpose and without fee is hereby granted, provided
+  that the above copyright notice appear in all copies and that both that
+  copyright notice and this permission notice appear in supporting
+  documentation, and that the name MIT not be used in advertising or
+  publicity pertaining to distribution of the software without specific,
+  written prior permission.
+
+(c) copyright 1999 by Gilbert Baumann
+
+  Permission is granted to any individual or institution to use,
+  copy, modify, and distribute this software, provided that this
+  complete copyright and permission notice is maintained, intact, in
+  all copies and supporting documentation.
+ 
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
+
+(c) copyright 2002, 2003 by Gilbert Baumann
+(c) copyright 2002 by Christian Sunesson
+ 
+  Permission is granted to any individual or institution to use,
+  copy, modify, and distribute this software, provided that this
+  complete copyright and permission notice is maintained, intact, in
+  all copies and supporting documentation.
+ 
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ 
+(c) copyright 2003 by Iban Hatchondo
+ 
+  Permission is granted to any individual or institution to use,
+  copy, modify, and distribute this software, provided that this
+  complete copyright and permission notice is maintained, intact, in
+  all copies and supporting documentation.
+ 
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+  
+cmudep.lisp:
+
+  This code was written as part of the CMU Common Lisp project at
+  Carnegie Mellon University, and has been placed in the public domain.
+  If you want to use this code or any part of CMU Common Lisp, please contact
+  Scott Fahlman or slisp-gr...@cs.cmu.edu.

Added: cl-clx/trunk/PKGBUILD
===
--- cl-clx/trunk/PKGBUILD   (rev 0)
+++ cl-clx/trunk/PKGBUILD   2022-05-22 07:23:11 UTC (rev 120

[arch-commits] Commit in (5 files)

2022-05-20 Thread George Rawlinson via arch-commits
Date: Friday, May 20, 2022 @ 21:50:07
  Author: grawlinson
Revision: 1209492

addpkg: cl-fiveam 1.4.2.r12-2

Added:
  cl-fiveam/
  cl-fiveam/repos/
  cl-fiveam/trunk/
  cl-fiveam/trunk/PKGBUILD
  cl-fiveam/trunk/run-tests.lisp

+
 PKGBUILD   |   55 +++
 run-tests.lisp |7 +++
 2 files changed, 62 insertions(+)

Added: cl-fiveam/trunk/PKGBUILD
===
--- cl-fiveam/trunk/PKGBUILD(rev 0)
+++ cl-fiveam/trunk/PKGBUILD2022-05-20 21:50:07 UTC (rev 1209492)
@@ -0,0 +1,55 @@
+# Maintainer: George Rawlinson 
+
+pkgname=cl-fiveam
+_pkgname="${pkgname#cl-}"
+pkgver=1.4.2.r12.ge11dee7
+pkgrel=2
+pkgdesc='A regression testing framework for Common Lisp'
+arch=('any')
+url='https://fiveam.common-lisp.dev'
+license=('MIT')
+depends=(
+  'cl-asdf'
+  'common-lisp'
+  'cl-alexandria'
+  'cl-asdf-flv'
+  'cl-trivial-backtrace'
+)
+makedepends=('git')
+checkdepends=('sbcl')
+_commit='e11dee752a8f59065033ef9d60641d4a2f1e8379'
+source=(
+  "$pkgname::git+https://github.com/lispci/fiveam#commit=$_commit";
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'40143c74430fb552a0cf7e9c309da2e25f0ed969c28b67206b4c60e2fd73d32cafc3e53e16fcde16326b9376aca7d5bc9cb5f472de2576c9d3958af7a93dd4f9')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vd "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+  cp -vr \
+src t \
+fiveam.asd version.sexp \
+"$pkgdir/usr/share/common-lisp/source/$_pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
+}

Added: cl-fiveam/trunk/run-tests.lisp
===
--- cl-fiveam/trunk/run-tests.lisp  (rev 0)
+++ cl-fiveam/trunk/run-tests.lisp  2022-05-20 21:50:07 UTC (rev 1209492)
@@ -0,0 +1,7 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "fiveam/test")
+
+(uiop:quit (if (asdf:test-system "fiveam") 0 1))



[arch-commits] Commit in (5 files)

2022-05-20 Thread George Rawlinson via arch-commits
Date: Friday, May 20, 2022 @ 21:41:39
  Author: grawlinson
Revision: 1209488

addpkg: cl-trivial-backtrace-1.1.0.r20-1

Added:
  cl-trivial-backtrace/
  cl-trivial-backtrace/repos/
  cl-trivial-backtrace/trunk/
  cl-trivial-backtrace/trunk/PKGBUILD
  cl-trivial-backtrace/trunk/run-tests.lisp

+
 PKGBUILD   |   51 +++
 run-tests.lisp |7 +++
 2 files changed, 58 insertions(+)

Added: cl-trivial-backtrace/trunk/PKGBUILD
===
--- cl-trivial-backtrace/trunk/PKGBUILD (rev 0)
+++ cl-trivial-backtrace/trunk/PKGBUILD 2022-05-20 21:41:39 UTC (rev 1209488)
@@ -0,0 +1,51 @@
+# Maintainer: George Rawlinson 
+
+pkgname=cl-trivial-backtrace
+_pkgname="${pkgname#cl-}"
+pkgver=1.1.0.r20.g6eb65bd
+pkgrel=1
+pkgdesc='Portable API to work with backtraces in Common Lisp'
+arch=('any')
+url='https://github.com/gwkkwg/trivial-backtrace'
+license=('MIT')
+depends=('common-lisp' 'cl-asdf')
+makedepends=('git')
+checkdepends=('sbcl' 'cl-lift')
+_commit='6eb65bde7229413040c81d42ea22f0e4c9c8cfc9'
+source=(
+  "$pkgname::git+$url#commit=$_commit"
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'c74cd6f9e7da7e0b1a89076de170f44c28b4746fca0a2bbd6489f5cd01ea8fb12a8636a3a212b71a132cc5a7856e119a1cd7679790f3d0fc341a9657cb6453c3')
+
+pkgver() {
+  cd "$pkgname"
+
+  # first known commit to receive latest version
+  local _pkgcommit='3d39b1101e6fc59ef57c0ef049f3411d6da3e878'
+  local _pkgver=1.1.0 
+  git tag "$_pkgver" "$_pkgcommit"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vd "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+  cp -vr \
+dev test \
+lift-standard.config ./*.asd \
+"$pkgdir/usr/share/common-lisp/source/$_pkgname"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
+}

Added: cl-trivial-backtrace/trunk/run-tests.lisp
===
--- cl-trivial-backtrace/trunk/run-tests.lisp   (rev 0)
+++ cl-trivial-backtrace/trunk/run-tests.lisp   2022-05-20 21:41:39 UTC (rev 
1209488)
@@ -0,0 +1,7 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "trivial-backtrace-test")
+
+(uiop:quit (if (asdf:test-system "trivial-backtrace") 0 1))



[arch-commits] Commit in (5 files)

2022-05-20 Thread George Rawlinson via arch-commits
Date: Friday, May 20, 2022 @ 09:07:39
  Author: grawlinson
Revision: 1209328

addpkg: cl-alexandria 1.4.r17-1

Added:
  cl-alexandria/
  cl-alexandria/repos/
  cl-alexandria/trunk/
  cl-alexandria/trunk/PKGBUILD
  cl-alexandria/trunk/run-tests.lisp

+
 PKGBUILD   |   55 +++
 run-tests.lisp |7 +++
 2 files changed, 62 insertions(+)

Added: cl-alexandria/trunk/PKGBUILD
===
--- cl-alexandria/trunk/PKGBUILD(rev 0)
+++ cl-alexandria/trunk/PKGBUILD2022-05-20 09:07:39 UTC (rev 1209328)
@@ -0,0 +1,55 @@
+# Maintainer: George Rawlinson 
+# Contributor: Stefan Husmann 
+
+pkgname=cl-alexandria
+_pkgname="${pkgname#cl-}"
+pkgver=1.4.r17.g2f39fbf
+pkgrel=1
+pkgdesc='A set of Common Lisp Utilities'
+arch=('any')
+url='https://alexandria.common-lisp.dev'
+license=('MIT')
+depends=('cl-asdf' 'common-lisp')
+makedepends=('git' 'sbcl' 'texlive-core')
+checkdepends=('cl-rt') # sbcl required, but it's already in makedepends
+_commit='2f39fbf34e258fcf8e1a1c0b1a3cc34e163e14b4'
+source=(
+  
"$pkgname::git+https://gitlab.common-lisp.net/alexandria/alexandria.git#commit=$_commit";
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'4cc615a6d37da2e8947be239c7e0191e3a7c6356b5c19970187d4f9110bbad82939d1cf67db7a94db4e5091d372e31d1bc71fa080e00b4f6cc6786129f8f')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+build() {
+  cd "$pkgname"
+
+  make -C doc html info
+}
+
+check() {
+  cd "$pkgname"
+
+  sbcl --script ../run-tests.lisp
+}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vd "$pkgdir/usr/share/common-lisp/source/$_pkgname"
+  cp -vr "$_pkgname.asd" alexandria-{1,2} 
"$pkgdir/usr/share/common-lisp/source/$_pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" doc/alexandria.html
+  install -vDm644  doc/alexandria.info "$pkgdir/usr/share/info/$pkgname.info"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENCE
+}

Added: cl-alexandria/trunk/run-tests.lisp
===
--- cl-alexandria/trunk/run-tests.lisp  (rev 0)
+++ cl-alexandria/trunk/run-tests.lisp  2022-05-20 09:07:39 UTC (rev 1209328)
@@ -0,0 +1,7 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "alexandria/tests")
+
+(uiop:quit (if (alexandria/tests::run-tests) 0 1))



[arch-commits] Commit in (5 files)

2022-05-20 Thread George Rawlinson via arch-commits
Date: Friday, May 20, 2022 @ 09:00:49
  Author: grawlinson
Revision: 1209322

addpkg: cl-rt 1990.12.19.r19-2

Added:
  cl-rt/
  cl-rt/repos/
  cl-rt/trunk/
  cl-rt/trunk/PKGBUILD
  cl-rt/trunk/run-tests.lisp

+
 PKGBUILD   |   61 +++
 run-tests.lisp |   10 +
 2 files changed, 71 insertions(+)

Added: cl-rt/trunk/PKGBUILD
===
--- cl-rt/trunk/PKGBUILD(rev 0)
+++ cl-rt/trunk/PKGBUILD2022-05-20 09:00:49 UTC (rev 1209322)
@@ -0,0 +1,61 @@
+# Maintainer: George Rawlinson 
+
+pkgname=cl-rt
+_pkgname="${pkgname#cl-}"
+pkgver=1990.12.19.r19.ga6a7503
+pkgrel=2
+pkgdesc='Common Lisp regression tester from MIT'
+arch=('any')
+url='http://git.kpe.io/?p=rt.git'
+license=('MIT')
+depends=('common-lisp' 'cl-asdf')
+makedepends=('git')
+#checkdepends=('sbcl')
+_commit='a6a7503a0b47953bc7579c90f02a6dba1f6e4c5a'
+source=(
+  "$pkgname::git+http://git.kpe.io/rt.git#commit=$_commit";
+  'run-tests.lisp'
+)
+b2sums=('SKIP'
+
'2a9602fe10824973ee233b4a11a4d0bce91189e324afe350fb14389e03f5b742231c98a6a0e4aea2c2bd43cd22bd91db63f6d7a41aa6c71d235f06afa8e49434')
+
+pkgver() {
+  cd "$pkgname"
+
+  # first known commit to receive latest version
+  local _pkgver=1990.12.19
+  local _pkgcommit='17ebaf0bbb7e594f0397286aac4b89ae6ebe61d3'
+
+  git tag "$_pkgver" "$_pkgcommit"
+
+  git describe --tags | sed -e 's/^v//' -e 's/-/.r/' -e 's/-/./g'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # license extraction
+  sed -n '/Copyright/,/SOFTWARE\./p' rt-doc.txt | \
+sed -e 's/|//g' -e 's/[ \t]*$//' -e 's/^[ \t]*//' \
+> LICENSE
+}
+
+# XXX 15/30 tests fail.
+#check() {
+#  cd "$pkgname"
+#
+#  sbcl --script ../run-tests.lisp
+#}
+
+package() {
+  cd "$pkgname"
+
+  # library
+  install -vDm644 -t "$pkgdir/usr/share/common-lisp/source/$_pkgname" 
./*.{lisp,asd}
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" rt-doc.txt
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Added: cl-rt/trunk/run-tests.lisp
===
--- cl-rt/trunk/run-tests.lisp  (rev 0)
+++ cl-rt/trunk/run-tests.lisp  2022-05-20 09:00:49 UTC (rev 1209322)
@@ -0,0 +1,10 @@
+(require "asdf")
+
+(push (uiop/os:getcwd) asdf:*central-registry*)
+
+(asdf:load-system "rt")
+
+(with-input-from-string (*standard-input* (format nil "\"~A/tmpfile\"" 
(uiop/os:getcwd)))
+  (load #p"rt-test.lisp"))
+
+(uiop:quit (if (do-tests) 0 1))



[arch-commits] Commit in (5 files)

2022-05-11 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, May 12, 2022 @ 00:27:32
  Author: svenstaro
Revision: 445064

Prepare nvidia-open

Added:
  nvidia-open/
  nvidia-open/repos/
  nvidia-open/trunk/
  nvidia-open/trunk/PKGBUILD
  nvidia-open/trunk/nvidia-open.install

-+
 PKGBUILD|   57 ++
 nvidia-open.install |4 +++
 2 files changed, 61 insertions(+)

Added: nvidia-open/trunk/PKGBUILD
===
--- nvidia-open/trunk/PKGBUILD  (rev 0)
+++ nvidia-open/trunk/PKGBUILD  2022-05-12 00:27:32 UTC (rev 445064)
@@ -0,0 +1,57 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgbase=nvidia-open
+pkgname=(nvidia-open nvidia-open-dkms)
+pkgver=515.43.04
+pkgrel=1
+pkgdesc="NVIDIA open kernel modules"
+arch=('x86_64')
+url="https://github.com/NVIDIA/open-gpu-kernel-modules";
+license=('GPL')
+options=('!lto')
+install=nvidia-open.install
+makedepends=('linux-headers')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${pkgver}.tar.gz";)
+sha512sums=('2a95132cfebe2dd746e2b507829618557a2518b56d8d77628df9f8073f154fab769604b0789e852e4cc6a52f3130b4b637068b0469931464019f8386db48041f')
+
+prepare() {
+  cd open-gpu-kernel-modules-${pkgver}
+  # Attempt to make this reproducible
+  sed -i "s/^HOSTNAME.*/HOSTNAME = echo archlinux"/ utils.mk
+  sed -i "s/^WHOAMI.*/WHOAMI = echo archlinux-builder"/ utils.mk
+  sed -i "s/^DATE.*/DATE = date -r version.mk"/ utils.mk
+
+  # Clean version for later copying for DKMS
+  cp -r kernel-open "$srcdir"/kernel-open
+}
+
+build() {
+  cd open-gpu-kernel-modules-${pkgver}
+  make SYSSRC="/usr/src/linux" CONDITIONAL_CFLAGS=" 
-mindirect-branch-cs-prefix "
+}
+
+package_nvidia-open() {
+  depends=('linux')
+  conflicts=('NVIDIA-MODULE')
+  provides=('NVIDIA-MODULE')
+
+  cd open-gpu-kernel-modules-${pkgver}
+  _extradir="/usr/lib/modules/$(

[arch-commits] Commit in (5 files)

2022-04-13 Thread Alexander Epaneshnikov via arch-commits
Date: Thursday, April 14, 2022 @ 06:45:28
  Author: alex19ep
Revision: 1186152

add librem needed for baresip

Added:
  librem/
  librem/repos/
  librem/trunk/
  librem/trunk/PKGBUILD
  librem/trunk/rem-flags.patch

-+
 PKGBUILD|   36 
 rem-flags.patch |   11 +++
 2 files changed, 47 insertions(+)

Added: librem/trunk/PKGBUILD
===
--- librem/trunk/PKGBUILD   (rev 0)
+++ librem/trunk/PKGBUILD   2022-04-14 06:45:28 UTC (rev 1186152)
@@ -0,0 +1,36 @@
+# Maintainer: Alexander Epaneshnikov 
+# Contributor: ny-a 
+# Contributor: Andrew Sun 
+# Contributor: Dmitrij D. Czarkoff 
+
+pkgname=librem
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="portable library for real-time audio and video processing"
+arch=('x86_64')
+url="https://github.com/baresip/rem";
+license=('BSD')
+depends=(libre.so)
+provides=(librem.so)
+replaces=('rem')
+conflicts=('rem')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/baresip/rem/archive/refs/tags/v$pkgver.tar.gz";
+"rem-flags.patch")
+sha256sums=('6fda6f2143ae2198044d9c08a0dca9c8af979413b31e010f4eed3404f72b'
+'35b9b8cf8a8c85dc34986b579b002beb78f75feec6be37dd49ef665942299b02')
+
+prepare() {
+  cd rem-${pkgver}
+  patch -Np1 -i "${srcdir}/rem-flags.patch"
+}
+
+build() {
+  cd rem-${pkgver}
+  make
+}
+
+package() {
+  cd rem-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -vDm644 docs/COPYING 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}

Added: librem/trunk/rem-flags.patch
===
--- librem/trunk/rem-flags.patch(rev 0)
+++ librem/trunk/rem-flags.patch2022-04-14 06:45:28 UTC (rev 1186152)
@@ -0,0 +1,11 @@
+--- rem-2.0.1.orig/Makefile2022-04-14 09:07:57.982573985 +0300
 rem-2.0.1/Makefile 2022-04-14 09:13:04.864262031 +0300
+@@ -142,7 +142,7 @@
+ 
+ $(SHARED): $(OBJS) librem.pc
+   @echo "  LD  $@"
+-  @$(LD) $(LFLAGS) $(SH_LFLAGS) $(OBJS) -L$(LIBRE_SO) -lre $(LIBS) -o $@
++  @$(LD) $(LDFLAGS) $(LFLAGS) $(SH_LFLAGS) $(OBJS) -L$(LIBRE_SO) -lre 
$(LIBS) -o $@
+ 
+ 
+ $(STATIC): $(OBJS) librem.pc



[arch-commits] Commit in (5 files)

2022-04-13 Thread Alexander Epaneshnikov via arch-commits
Date: Thursday, April 14, 2022 @ 06:34:39
  Author: alex19ep
Revision: 1186150

add libre needed for baresip

Added:
  libre/
  libre/repos/
  libre/trunk/
  libre/trunk/PKGBUILD
  libre/trunk/re-flags.patch

+
 PKGBUILD   |   37 +
 re-flags.patch |   11 +++
 2 files changed, 48 insertions(+)

Added: libre/trunk/PKGBUILD
===
--- libre/trunk/PKGBUILD(rev 0)
+++ libre/trunk/PKGBUILD2022-04-14 06:34:39 UTC (rev 1186150)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander Epaneshnikov 
+# Contributor: ny-a 
+# Contributor: Cristian Delgado 
+# Contributor: Andrew Sun 
+# Contributor: Dmitrij D. Czarkoff 
+
+pkgname=libre
+pkgver=2.2.2
+pkgrel=1
+pkgdesc="Portable library for real-time communications"
+arch=('x86_64')
+url="https://github.com/baresip/re";
+license=('BSD')
+depends=('openssl' 'zlib')
+replaces=('re')
+conflicts=('re')
+provides=(libre.so)
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/baresip/re/archive/v${pkgver}.tar.gz";
+"re-flags.patch")
+sha256sums=('25d66108f827507d1a08dc15d4a2a6d994e0cc2368f2faa6778b3a48c0d15f2f'
+'d269af3a87305cef303069cc1287be0b504c2bcf48160866fa05e7951d38f2f7')
+
+prepare() {
+  cd re-${pkgver}
+  patch -Np1 -i "${srcdir}/re-flags.patch"
+}
+
+build() {
+  cd re-${pkgver}
+  make RELEASE=1
+}
+
+package() {
+  cd re-${pkgver}
+  make RELEASE=1 DESTDIR="${pkgdir}" install
+  install -vDm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Added: libre/trunk/re-flags.patch
===
--- libre/trunk/re-flags.patch  (rev 0)
+++ libre/trunk/re-flags.patch  2022-04-14 06:34:39 UTC (rev 1186150)
@@ -0,0 +1,11 @@
+--- re-2.1.1.orig/Makefile 2022-03-12 15:42:35.0 +0900
 re-2.1.1/Makefile  2022-03-28 14:55:41.972025186 +0900
+@@ -87,7 +87,7 @@
+ 
+ $(SHARED): $(OBJS) libre.pc
+   @echo "  LD  $@"
+-  $(HIDE)$(LD) $(LFLAGS) $(SH_LFLAGS) $(OBJS) $(LIBS) -o $@
++  $(HIDE)$(LD) $(LDFLAGS) $(LFLAGS) $(SH_LFLAGS) $(OBJS) $(LIBS) -o $@
+ 
+ 
+ $(STATIC): $(OBJS) libre.pc



[arch-commits] Commit in (5 files)

2022-04-13 Thread George Rawlinson via arch-commits
Date: Wednesday, April 13, 2022 @ 08:58:07
  Author: grawlinson
Revision: 1186029

addpkg: pipe-rename 1.4.2-1

Added:
  pipe-rename/
  pipe-rename/repos/
  pipe-rename/trunk/
  pipe-rename/trunk/LICENSE
  pipe-rename/trunk/PKGBUILD

--+
 LICENSE  |   10 ++
 PKGBUILD |   45 +
 2 files changed, 55 insertions(+)

Added: pipe-rename/trunk/LICENSE
===
--- pipe-rename/trunk/LICENSE   (rev 0)
+++ pipe-rename/trunk/LICENSE   2022-04-13 08:58:07 UTC (rev 1186029)
@@ -0,0 +1,10 @@
+ The MIT License (MIT)
+
+Copyright © 2020 Marcus Buffett
+
+Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software and associated documentation files (the “Software”), to deal 
in the Software without restriction, including without limitation the rights to 
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the Software, and to permit persons to whom the Software is furnished to do 
so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all 
copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.
+

Added: pipe-rename/trunk/PKGBUILD
===
--- pipe-rename/trunk/PKGBUILD  (rev 0)
+++ pipe-rename/trunk/PKGBUILD  2022-04-13 08:58:07 UTC (rev 1186029)
@@ -0,0 +1,45 @@
+# Maintainer: George Rawlinson 
+
+pkgname=pipe-rename
+pkgver=1.4.2
+pkgrel=1
+pkgdesc='Rename your files using your favorite text editor'
+arch=('x86_64')
+url='https://github.com/marcusbuffett/pipe-rename'
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+options=('!lto')
+source=(
+  
"$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate";
+  'LICENSE'
+)
+sha512sums=('6079527b355a89ef31ad072c3d9a27ca2eaa60225341b466aaf38b3383c1c4706ff91d91b189884232d1462bb81fbf8193a99aae4200ae79d3a5148212e0a746'
+
'3a3dbfd7a5a8d02a3a96bb1652bd25cae21d1080b941ecd3bee3f46e98b4a2f30b4a7ecdeb1e55ec2bf8bfefbeb9500287acb964ccb7149a405ee28eebd05889')
+b2sums=('9a04121bf5aedd53c032d37fa93b1fe42b8a08a4f57f02ad0f272a2d447ba5376d6a46bf715e2703124a2a665d124defa338665ceb69d17da6ba09ffdc88a202'
+
'abec091be86ec71b15a70251d769d4177639881c28d71fb9127d86cf711514e0fe40e80edd645e97df532980baf13380433fd2b497e03b4021d49e87434a4965')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  cargo build --frozen --release
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" target/release/renamer
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$srcdir/LICENSE"
+}



[arch-commits] Commit in (5 files)

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 20:07:59
  Author: felixonmars
Revision: 1181637

addpkg: haskell-nothunks 0.1.3-1

Added:
  haskell-nothunks/
  haskell-nothunks/repos/
  haskell-nothunks/trunk/
  haskell-nothunks/trunk/PKGBUILD
  haskell-nothunks/trunk/hedgehog-1.1.1.patch

--+
 PKGBUILD |   55 +
 hedgehog-1.1.1.patch |   46 
 2 files changed, 101 insertions(+)

Added: haskell-nothunks/trunk/PKGBUILD
===
--- haskell-nothunks/trunk/PKGBUILD (rev 0)
+++ haskell-nothunks/trunk/PKGBUILD 2022-04-06 20:07:59 UTC (rev 1181637)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=nothunks
+pkgname=haskell-nothunks
+pkgver=0.1.3
+pkgrel=1
+pkgdesc="Examine values for unexpected thunks"
+url="https://github.com/input-output-hk/nothunks";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-random' 'haskell-tasty' 
'haskell-tasty-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";
+hedgehog-1.1.1.patch)
+sha256sums=('c191e9c3d86ca006bf8d85adfd936ff997759120b0fcfaf4960a56d8bd850e53'
+'d6342d09e8447b9b595587128704fe08e93ae1539244c3bd5172db5bcf8678bc')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  patch -p1 -i ../hedgehog-1.1.1.patch
+  gen-setup
+  uusi -u hedgehog -u tasty-hedgehog $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fbytestring -ftext -fvector
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Added: haskell-nothunks/trunk/hedgehog-1.1.1.patch
===
--- haskell-nothunks/trunk/hedgehog-1.1.1.patch (rev 0)
+++ haskell-nothunks/trunk/hedgehog-1.1.1.patch 2022-04-06 20:07:59 UTC (rev 
1181637)
@@ -0,0 +1,46 @@
+commit 357834dc4493cc955199d56bc69df7a66a0da367
+Author: Felix Yan 
+Date:   Wed Apr 6 22:55:57 2022 +0300
+
+Fix compatibility with hedgehog 1.1.1+
+
+diff --git a/nothunks.cabal b/nothunks.cabal
+index faa70a5..3b37089 100644
+--- a/nothunks.cabal
 b/nothunks.cabal
+@@ -72,10 +72,10 @@ test-suite nothunks-test
+ , ghc-prim
+ 
+   -- Additional dependencies
+-, hedgehog   >= 1.0 && < 1.1
++, hedgehog   >= 1.0 && < 1.2
+ , random >= 1.1 && < 1.3
+ , tasty  >= 1.3 && < 1.5
+-, tasty-hedgehog >= 1.0 && < 1.2
++, tasty-hedgehog >= 1.0 && < 1.3
+ 
+ hs-source-dirs:   test
+ default-language: Haskell2010
+diff --git a/test/Test/NoThunks/Class.hs b/test/Test/NoThunks/Class.hs
+index b1eca72..d109acd 100644
+--- a/test/Test/NoThunks/Class.hs
 b/test/Test/NoThunks/Class.hs
+@@ -1,4 +1,5 @@
+ {-# LANGUAGE BangPatterns#-}
++{-# LANGUAGE CPP #-}
+ {-# LANGUAGE DataKinds   #-}
+ {-# LANGUAGE DeriveFunctor   #-}
+ {-# LANGUAGE DeriveGeneric   #-}
+@@ -649,7 +650,11 @@ unsafeCheckNFAtomically expectedNF k = withTests 1 $ 
property $ k $ \x -> do
+ expectFailure :: Property -> Property
+ expectFailure p = withTests 1 $ property $ do
+ report <- liftIO $ displayRegion $ \r ->
+-checkNamed r EnableColor (Just "EXPECTED FAILURE") p
++checkNamed r EnableColor (Just "EXPECTED FAILURE")
++#if MIN_VERSION_hedgehog(1,1,1)
++Nothing
++#endif
++p
+ case reportStatus report of
+   Failed _ ->
+ success



[arch-commits] Commit in (5 files)

2022-04-03 Thread Felix Yan via arch-commits
Date: Monday, April 4, 2022 @ 00:58:30
  Author: felixonmars
Revision: 1181148

addpkg: deepin-image-editor 1.0.11-1

Added:
  deepin-image-editor/
  deepin-image-editor/repos/
  deepin-image-editor/trunk/
  deepin-image-editor/trunk/PKGBUILD
  deepin-image-editor/trunk/remove-broken-flags.patch

---+
 PKGBUILD  |   30 ++
 remove-broken-flags.patch |   37 +
 2 files changed, 67 insertions(+)

Added: deepin-image-editor/trunk/PKGBUILD
===
--- deepin-image-editor/trunk/PKGBUILD  (rev 0)
+++ deepin-image-editor/trunk/PKGBUILD  2022-04-04 00:58:30 UTC (rev 1181148)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan 
+
+pkgname=deepin-image-editor
+pkgver=1.0.11
+pkgrel=1
+pkgdesc='Public library for deepin-image-viewer and deepin-album'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/image-editor";
+license=('GPL3')
+depends=('dtkwidget' 'freeimage' 'opencv')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/image-editor/archive/$pkgver.tar.gz";
+remove-broken-flags.patch)
+sha512sums=('f9f60d91822d6f1f8c53397001b0699eebde692b3f285b2651fe71745d59f1073283f87d9da077a2305f7b0099d504a881f413fd677fc8d690a1e85245b9d2ea'
+
'033b26be1d5e4c5b2d4452fa1e191cd06377eb1a6ae57adfa9a2e79ead3da2433dc26301ed0cc826c3b0daffc94119b2767cf003b41beb235bcccdcdd34f7491')
+
+prepare() {
+  patch -d image-editor-$pkgver -p2 < remove-broken-flags.patch
+}
+
+build() {
+  cd image-editor-$pkgver
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr
+  ninja
+}
+
+package() {
+  cd image-editor-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}

Added: deepin-image-editor/trunk/remove-broken-flags.patch
===
--- deepin-image-editor/trunk/remove-broken-flags.patch 
(rev 0)
+++ deepin-image-editor/trunk/remove-broken-flags.patch 2022-04-04 00:58:30 UTC 
(rev 1181148)
@@ -0,0 +1,37 @@
+--- src/image-editor-1.0.11/libimagevisualresult/CMakeLists.txt.orig   
2022-04-04 03:51:14.592674102 +0300
 src/image-editor-1.0.11/libimagevisualresult/CMakeLists.txt
2022-04-04 03:51:22.224740532 +0300
+@@ -75,14 +75,3 @@
+ install(DIRECTORY ${PROJECT_SOURCE_DIR}/filter_cube
+ DESTINATION ${PREFIX}/share/libimagevisualresult
+ FILES_MATCHING PATTERN "*.dat")
+-
+-# 加速编译优化参数
+-if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mips64")
+-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -Wl,-O1 -Wl,--as-needed 
-Wl,-E -fPIE -ffunction-sections -fdata-sections -Wl,--gc-sections 
-ftree-vectorize -march=loongson3a -mhard-float -mno-micromips -mno-mips16 
-flax-vector-conversions -mloongson-ext2 -mloongson-mmi -z noexecstack")
+-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -Wl,-O1 -Wl,--as-needed -Wl,-E 
-fPIE -ffunction-sections -fdata-sections -Wl,--gc-sections -ftree-vectorize 
-march=loongson3a -mhard-float -mno-micromips -mno-mips16 
-flax-vector-conversions -mloongson-ext2 -mloongson-mmi -z noexecstack")
+-SET(CMAKE_EXE_LINKER_FLAGS  "-pie")
+-else()
+-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -Wl,-O1 -Wl,--as-needed 
-Wl,-E -fPIE -ffunction-sections -fdata-sections -Wl,--gc-sections")
+-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3  -Wl,-O1 -Wl,--as-needed -Wl,-E 
-fPIE -ffunction-sections -fdata-sections -Wl,--gc-sections")
+-SET(CMAKE_EXE_LINKER_FLAGS  "-pie")
+-endif()
+--- src/image-editor-1.0.11/libimageviewer/CMakeLists.txt.orig 2022-04-04 
03:53:23.353737464 +0300
 src/image-editor-1.0.11/libimageviewer/CMakeLists.txt  2022-04-04 
03:53:36.255837853 +0300
+@@ -109,17 +109,6 @@
+ DESTINATION ${PREFIX}/share/libimageviewer
+ FILES_MATCHING PATTERN "*.qm")
+ 
+-# 加速编译优化参数
+-if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "mips64")
+-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -Wl,-O1 -Wl,--as-needed 
-Wl,-E -fPIE -ffunction-sections -fdata-sections -Wl,--gc-sections 
-ftree-vectorize -march=loongson3a -mhard-float -mno-micromips -mno-mips16 
-flax-vector-conversions -mloongson-ext2 -mloongson-mmi -z noexecstack")
+-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -Wl,-O1 -Wl,--as-needed -Wl,-E 
-fPIE -ffunction-sections -fdata-sections -Wl,--gc-sections -ftree-vectorize 
-march=loongson3a -mhard-float -mno-micromips -mno-mips16 
-flax-vector-conversions -mloongson-ext2 -mloongson-mmi -z noexecstack")
+-SET(CMAKE_EXE_LINKER_FLAGS  "-pie")
+-else()
+-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -Wl,-O1 -Wl,--as-needed 
-Wl,-E -fPIE -ffunction-sections -fdata-sections -Wl,--gc-sections")
+-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3  -Wl,-O1 -Wl,--as-needed -Wl,-E 
-fPIE -ffunction-sections -fdata-sections -Wl,--gc-sections")
+-SET(CMAKE_EXE_LINKER_FLAGS  "-pie")
+-endif()
+-
+ if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "sw_64")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mieee"

[arch-commits] Commit in (5 files)

2022-04-02 Thread Laurent Carlier via arch-commits
Date: Saturday, April 2, 2022 @ 11:55:08
  Author: lcarlier
Revision: 1180781

initial commit

Added:
  lib32-mesa-amber/
  lib32-mesa-amber/repos/
  lib32-mesa-amber/trunk/
  lib32-mesa-amber/trunk/LICENSE
  lib32-mesa-amber/trunk/PKGBUILD

--+
 LICENSE  |   83 +
 PKGBUILD |   80 ++
 2 files changed, 163 insertions(+)

Added: lib32-mesa-amber/trunk/LICENSE
===
--- lib32-mesa-amber/trunk/LICENSE  (rev 0)
+++ lib32-mesa-amber/trunk/LICENSE  2022-04-02 11:55:08 UTC (rev 1180781)
@@ -0,0 +1,83 @@
+The Mesa 3D Graphics Library
+
+Disclaimer
+
+   Mesa is a 3-D graphics library with an API which is very similar to
+   that of [1]OpenGL.* To the extent that Mesa utilizes the OpenGL command
+   syntax or state machine, it is being used with authorization from
+   [2]Silicon Graphics, Inc.(SGI). However, the author does not possess an
+   OpenGL license from SGI, and makes no claim that Mesa is in any way a
+   compatible replacement for OpenGL or associated with SGI. Those who
+   want a licensed implementation of OpenGL should contact a licensed
+   vendor.
+
+   Please do not refer to the library as MesaGL (for legal reasons). It's
+   just Mesa or The Mesa 3-D graphics library.
+
+   * OpenGL is a trademark of [3]Silicon Graphics Incorporated.
+
+License / Copyright Information
+
+   The Mesa distribution consists of several components. Different
+   copyrights and licenses apply to different components. For example, the
+   GLX client code uses the SGI Free Software License B, and some of the
+   Mesa device drivers are copyrighted by their authors. See below for a
+   list of Mesa's main components and the license for each.
+
+   The core Mesa library is licensed according to the terms of the MIT
+   license. This allows integration with the XFree86, Xorg and DRI
+   projects.
+
+   The default Mesa license is as follows:
+
+Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+Attention, Contributors
+
+   When contributing to the Mesa project you must agree to the licensing
+   terms of the component to which you're contributing. The following
+   section lists the primary components of the Mesa distribution and their
+   respective licenses.
+
+Mesa Component Licenses
+
+Component Location   License
+--
+Main Mesa codesrc/mesa/  MIT
+
+Device driverssrc/mesa/drivers/* MIT, generally
+
+Gallium code  src/gallium/   MIT
+
+Ext headers   include/GL/glext.h Khronos
+  include/GL/glxext.h
+
+GLX client code   src/glx/   SGI Free Software License B
+
+C11 threadinclude/c11/threads*.h Boost (permissive) emulation
+
+   In general, consult the source files for license terms.
+
+References
+
+   1. https://www.opengl.org/
+   2. https://www.sgi.com/
+   3. https://www.sgi.com/

Added: lib32-mesa-amber/trunk/PKGBUILD
===
--- lib32-mesa-amber/trunk/PKGBUILD (rev 0)
+++ lib32-mesa-amber/trunk/PKGBUILD 2022-04-02 11:55:08 UTC (rev 1180781)
@@ -0,0 +1,80 @@
+# Maintainer: Laurent Carlier 
+# Maintainer: Felix Yan 
+# Contributor: Jan de Groot 
+# Contributor: Andreas Radke 
+
+pkgname=lib32-mesa-amber
+pkgdesc="classic OpenGL (non-Gallium3D) drivers (32-bit)"
+pkgver=21.3.8
+pkgrel=1
+arch=('x86_64')
+makedepends=('python-mako' 'lib32-libxml2' 'lib32-expat' 'lib32-libx11' 
'xorgproto' 'lib32-libdrm'
+ 'lib32-libxshmfence' 'lib32-libxxf86vm' 'lib32-libxdamage' 
'lib32-libvdpau'
+ 'lib32-libva' 'lib32-wayland' 'wayland-protocols' 'lib32-zstd' 
'lib32-libelf'
+ 'lib32-llvm' 'libclc

[arch-commits] Commit in (5 files)

2022-03-30 Thread Antonio Rojas via arch-commits
Date: Wednesday, March 30, 2022 @ 07:09:00
  Author: arojas
Revision: 1177756

extra2community: Moving libmusicbrainz5 from extra to community

Added:
  libmusicbrainz5/
  libmusicbrainz5/repos/
  libmusicbrainz5/trunk/
  libmusicbrainz5/trunk/16.patch
  libmusicbrainz5/trunk/PKGBUILD

--+
 16.patch |   24 
 PKGBUILD |   35 +++
 2 files changed, 59 insertions(+)

Added: libmusicbrainz5/trunk/16.patch
===
--- libmusicbrainz5/trunk/16.patch  (rev 0)
+++ libmusicbrainz5/trunk/16.patch  2022-03-30 07:09:00 UTC (rev 1177756)
@@ -0,0 +1,24 @@
+From 36262d60fe92fe7a2c9bfb40e736bfcd29a6c3bd Mon Sep 17 00:00:00 2001
+From: Abderrahim Kitouni 
+Date: Fri, 13 Apr 2018 09:56:57 +0100
+Subject: [PATCH] src/CMakelists.txt: do not use wildcards for dependencies
+
+This is discouraged by cmake's documentation and doesn't work with the ninja 
generator.
+---
+ src/CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 68c04e3..f7439d3 100644
+--- a/src/CMakeLists.txt
 b/src/CMakeLists.txt
+@@ -37,7 +37,8 @@ ADD_CUSTOM_COMMAND(
+   OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.cc 
${CMAKE_CURRENT_BINARY_DIR}/mb5_c.h 
${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_c.h
+   COMMAND make-c-interface ${CMAKE_CURRENT_SOURCE_DIR} cinterface.xml 
${CMAKE_CURRENT_BINARY_DIR} mb5_c.cc mb5_c.h
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different   
${CMAKE_CURRENT_BINARY_DIR}/mb5_c.h 
${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_c.h
+-  DEPENDS make-c-interface cinterface.xml *.inc
++  DEPENDS make-c-interface cinterface.xml c-int-medium-defines.inc 
c-int-query-source.inc c-int-source-funcs.inc
++c-int-medium-source.inc c-int-release-defines.inc 
c-int-query-defines.inc c-int-release-source.inc
+ )
+ 
+ ADD_CUSTOM_TARGET(src_gen DEPENDS mb5_c.h)

Added: libmusicbrainz5/trunk/PKGBUILD
===
--- libmusicbrainz5/trunk/PKGBUILD  (rev 0)
+++ libmusicbrainz5/trunk/PKGBUILD  2022-03-30 07:09:00 UTC (rev 1177756)
@@ -0,0 +1,35 @@
+# Maintainer: Andrea Scarpino 
+
+pkgname=libmusicbrainz5
+pkgver=5.1.0
+pkgrel=4
+pkgdesc="Library That Provides Access to the MusicBrainz Server"
+arch=('x86_64')
+url='https://musicbrainz.org/doc/libmusicbrainz'
+license=('LGPL2.1')
+depends=('neon' 'libxml2')
+makedepends=('cmake')
+source=("https://github.com/metabrainz/libmusicbrainz/releases/download/release-${pkgver}/libmusicbrainz-$pkgver.tar.gz";
+16.patch)
+sha256sums=('6749259e89bbb273f3f5ad7acdffb7c47a2cf8fcaeab4c4695484cef5f4c6b46'
+'5ad7e45b191cceca3bb71c92adb6c767ae8079bf2814354341fae829d4328ae9')
+
+prepare() {
+  cd libmusicbrainz-$pkgver
+
+  # https://github.com/metabrainz/libmusicbrainz/pull/16
+  patch -Np1 -i ../16.patch
+}
+
+build() {
+  CFLAGS+=" $CPPFLAGS"
+  CXXFLAGS+=" $CPPFLAGS"
+  cmake -Hlibmusicbrainz-$pkgver -Bbuild \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=None
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --build build --target install
+}



[arch-commits] Commit in (5 files)

2022-03-22 Thread Jonas Witschel via arch-commits
Date: Tuesday, March 22, 2022 @ 08:12:32
  Author: diabonas
Revision: 1169830

newpkg: tpm2-openssl (future dependency of tpm2-pkcs11)

This package is OpenSSL 3.0 only, so it cannot be built yet.

Added:
  tpm2-openssl/
  tpm2-openssl/repos/
  tpm2-openssl/trunk/
  tpm2-openssl/trunk/PKGBUILD
  tpm2-openssl/trunk/tpm2-openssl_check.sh

---+
 PKGBUILD  |   34 ++
 tpm2-openssl_check.sh |   11 +++
 2 files changed, 45 insertions(+)

Added: tpm2-openssl/trunk/PKGBUILD
===
--- tpm2-openssl/trunk/PKGBUILD (rev 0)
+++ tpm2-openssl/trunk/PKGBUILD 2022-03-22 08:12:32 UTC (rev 1169830)
@@ -0,0 +1,34 @@
+# Maintainer: Jonas Witschel 
+pkgname=tpm2-openssl
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='OpenSSL Provider for Trusted Platform Module 2.0 integration'
+arch=('x86_64')
+url='https://github.com/tpm2-software/tpm2-openssl'
+license=('BSD')
+depends=('openssl>=3.0' 'tpm2-tss' 'libtss2-esys.so' 'libtss2-rc.so' 
'libtss2-tctildr.so')
+checkdepends=('dbus' 'swtpm' 'tpm2-abrmd' 'tpm2-tools')
+options=('debug')
+source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc}
+'tpm2-openssl_check.sh')
+sha512sums=('7b075785b84a525b8f702cb9fbe70ce528d1e49045cd66f7fc3482d6a434cd259dc9e2be5c1ef465e13df132e5c20e3b0b07fb84388b777dee22c0cd79ca6954'
+'SKIP'
+
'08818eb11a2e4f53a6af3c7e2069b04ff5a4d135414a0f7e0dd316abffd9870432fe7f9cd02a2de2f8c99d89862933c8f4af5c76c68834849defc802511290be')
+validpgpkeys=('BB0C68611BD255F10FD1EE94B7900BECDB740A3B') # Petr Gotthard 

+
+build() {
+   cd "$pkgname-$pkgver"
+   ./configure --prefix=/usr
+   make
+}
+
+check() {
+   cd "$pkgname-$pkgver"
+   dbus-run-session "$srcdir/tpm2-openssl_check.sh"
+}
+
+package() {
+   cd "$pkgname-$pkgver"
+   make DESTDIR="$pkgdir" install
+   install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}

Added: tpm2-openssl/trunk/tpm2-openssl_check.sh
===
--- tpm2-openssl/trunk/tpm2-openssl_check.sh(rev 0)
+++ tpm2-openssl/trunk/tpm2-openssl_check.sh2022-03-22 08:12:32 UTC (rev 
1169830)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+swtpm socket --tpm2 --server port=2321 --ctrl type=tcp,port=2322 --flags 
not-need-init --tpmstate dir="$PWD" &
+tpm2-abrmd --session --tcti swtpm &
+
+export TPM2OPENSSL_TCTI="tabrmd:bus_type=session"
+export TPM2TOOLS_TCTI="$TPM2OPENSSL_TCTI"
+
+make --jobs=1 check
+
+kill $(jobs -p)


Property changes on: tpm2-openssl/trunk/tpm2-openssl_check.sh
___
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property


[arch-commits] Commit in (5 files)

2022-03-21 Thread Jonas Witschel via arch-commits
Date: Tuesday, March 22, 2022 @ 00:24:06
  Author: diabonas
Revision: 1169518

Switch build system to PEP 517 according to new Python package guidelines

Modified:
  libolm/trunk/PKGBUILD
  python-aiohttp-socks/trunk/PKGBUILD
  python-aiohttp/trunk/PKGBUILD
  python-python-pkcs11/trunk/PKGBUILD
  python-python-socks/trunk/PKGBUILD

-+
 libolm/trunk/PKGBUILD   |7 ---
 python-aiohttp-socks/trunk/PKGBUILD |   15 +++
 python-aiohttp/trunk/PKGBUILD   |6 +++---
 python-python-pkcs11/trunk/PKGBUILD |   12 +++-
 python-python-socks/trunk/PKGBUILD  |6 +++---
 5 files changed, 24 insertions(+), 22 deletions(-)

Modified: libolm/trunk/PKGBUILD
===
--- libolm/trunk/PKGBUILD   2022-03-22 00:20:33 UTC (rev 1169517)
+++ libolm/trunk/PKGBUILD   2022-03-22 00:24:06 UTC (rev 1169518)
@@ -7,7 +7,8 @@
 arch=('x86_64')
 url='https://gitlab.matrix.org/matrix-org/olm'
 license=('APACHE')
-makedepends=('git' 'cmake' 'python' 'python-cffi' 'python-future' 
'python-setuptools')
+makedepends=('git' 'cmake' 'python' 'python-build' 'python-cffi' 
'python-future'
+ 'python-installer' 'python-setuptools' 'python-wheel')
 checkdepends=('python-aspectlib' 'python-pytest' 'python-pytest-benchmark')
 options=('debug')
 source=("git+$url.git?signed#tag=$_tag")
@@ -30,7 +31,7 @@
cmake --build build
 
cd python
-   python setup.py build
+   python -m build --wheel --no-isolation
 }
 
 check() {
@@ -54,5 +55,5 @@
depends=('libolm' 'python' 'python-cffi' 'python-future' 'libolm.so')
 
cd olm/python
-   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+   python -m installer --destdir="$pkgdir" dist/*.whl
 }

Modified: python-aiohttp/trunk/PKGBUILD
===
--- python-aiohttp/trunk/PKGBUILD   2022-03-22 00:20:33 UTC (rev 1169517)
+++ python-aiohttp/trunk/PKGBUILD   2022-03-22 00:24:06 UTC (rev 1169518)
@@ -14,7 +14,7 @@
 depends=('python' 'python-chardet' 'python-multidict' 'python-async-timeout'
  'python-yarl' 'python-attrs' 'python-charset-normalizer'
  'python-aiosignal' 'python-frozenlist')
-makedepends=('cython' 'python-setuptools' 'git' 'npm')
+makedepends=('git' 'cython' 'npm' 'python-build' 'python-installer' 
'python-wheel')
 checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-mock'
   'python-pytest-timeout' 'python-async_generator' 'python-brotli'
   'python-pytest-xdist' 'python-pytest-forked' 'python-pytest-cov'
@@ -57,7 +57,7 @@
 build() {
   cd ${pkgname}
   make generate-llhttp cythonize
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -71,7 +71,7 @@
 
 package() {
   cd ${pkgname}
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }
 
 # vim: ts=2 sw=2 et:

Modified: python-aiohttp-socks/trunk/PKGBUILD
===
--- python-aiohttp-socks/trunk/PKGBUILD 2022-03-22 00:20:33 UTC (rev 1169517)
+++ python-aiohttp-socks/trunk/PKGBUILD 2022-03-22 00:24:06 UTC (rev 1169518)
@@ -8,25 +8,24 @@
 arch=('any')
 url="https://github.com/romis2012/aiohttp-socks/";
 license=('Apache')
-depends=('python-aiohttp' 'python-python-socks')
-makedepends=('git' 'python' 'python-setuptools')
+depends=('python' 'python-aiohttp' 'python-python-socks')
+makedepends=('git' 'python-build' 'python-installer' 'python-wheel')
 checkdepends=('python-flask' 'python-pytest' 'python-pytest-asyncio')
 source=("git+https://github.com/romis2012/aiohttp-socks?signed#tag=v${pkgver}";)
 sha256sums=('SKIP')
 validpgpkeys=('706A8935FED55F3BFB7C188B5EEAD7400A5D80ED') # Roman Snegirev 
(maintainer)
 
-check() {
+build() {
 cd "${pkgname//python-}"
-pytest
+python -m build --wheel --no-isolation
 }
 
-build() {
+check() {
 cd "${pkgname//python-}"
-python setup.py build
-
+pytest
 }
 
 package() {
 cd "${pkgname//python-}"
-python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+python -m installer --destdir="$pkgdir" dist/*.whl
 }

Modified: python-python-pkcs11/trunk/PKGBUILD
===
--- python-python-pkcs11/trunk/PKGBUILD 2022-03-22 00:20:33 UTC (rev 1169517)
+++ python-python-pkcs11/trunk/PKGBUILD 2022-03-22 00:24:06 UTC (rev 1169518)
@@ -8,8 +8,9 @@
 url='https://github.com/danni/python-pkcs11'
 license=('MIT')
 depends=('python' 'python-asn1crypto' 'python-cached-property')
-makedepends=('cython' 'python-setuptools' 'python-setuptools-scm')
-checkdepends=('python-cryptography' 'python-oscrypto' 'softhsm')
+makedepends=('cython' 'python-build' 'python-installer' 'python-setuptools'
+ 'python-setuptools-scm' 'python-wheel')
+checkdepend

[arch-commits] Commit in (5 files)

2022-03-20 Thread Orhun Parmaksiz via arch-commits
Date: Sunday, March 20, 2022 @ 21:18:26
  Author: orhun
Revision: 1166183

addpkg: wasm-bindgen 0.2.79-2

Added:
  wasm-bindgen/
  wasm-bindgen/repos/
  wasm-bindgen/trunk/
  wasm-bindgen/trunk/Cargo.lock
  wasm-bindgen/trunk/PKGBUILD

+
 Cargo.lock | 2940 +++
 PKGBUILD   |   48 
 2 files changed, 2988 insertions(+)

Added: wasm-bindgen/trunk/Cargo.lock
===
--- wasm-bindgen/trunk/Cargo.lock   (rev 0)
+++ wasm-bindgen/trunk/Cargo.lock   2022-03-20 21:18:26 UTC (rev 1166183)
@@ -0,0 +1,2940 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "add"
+version = "0.1.0"
+dependencies = [
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "adler32"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234"
+
+[[package]]
+name = "aho-corasick"
+version = "0.7.15"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "ansi_term"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
+dependencies = [
+ "winapi 0.3.9",
+]
+
+[[package]]
+name = "anyhow"
+version = "1.0.56"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "4361135be9122e0870de935d7c439aef945b9f9ddd4199a553b5270b49c82a27"
+
+[[package]]
+name = "arrayvec"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
+
+[[package]]
+name = "ascii"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "bbf56136a5198c7b01a49e3afcbef6cf84597273d298f54432926024107b0109"
+
+[[package]]
+name = "askama"
+version = "0.10.5"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "d298738b6e47e1034e560e5afe63aa488fea34e25ec11b855a76f0d7b8e73134"
+dependencies = [
+ "askama_derive",
+ "askama_escape",
+ "askama_shared",
+]
+
+[[package]]
+name = "askama_derive"
+version = "0.10.5"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "ca2925c4c290382f9d2fa3d1c1b6a63fa1427099721ecca4749b154cc9c25522"
+dependencies = [
+ "askama_shared",
+ "proc-macro2",
+ "syn",
+]
+
+[[package]]
+name = "askama_escape"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341"
+
+[[package]]
+name = "askama_shared"
+version = "0.11.2"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "7d6083ccb191711e9c2b80b22ee24a8381a1852914c746d4239e21d1afaf"
+dependencies = [
+ "askama_escape",
+ "humansize",
+ "nom 6.2.1",
+ "num-traits 0.2.14",
+ "percent-encoding",
+ "proc-macro2",
+ "quote",
+ "serde",
+ "syn",
+ "toml",
+]
+
+[[package]]
+name = "assert_cmd"
+version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "c98233c6673d8601ab23e77eb38f999c51100d46c5703b17288c57fddf3a1ffe"
+dependencies = [
+ "bstr",
+ "doc-comment",
+ "predicates 2.1.1",
+ "predicates-core",
+ "predicates-tree",
+ "wait-timeout",
+]
+
+[[package]]
+name = "atty"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi 0.3.9",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+
+[[package]]
+name = "base64"
+version = "0.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643"
+dependencies = [
+ "byteorder",
+ "safemem",
+]
+
+[[package]]
+name = "base64"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
+
+[[package]]
+name = "bitflags"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d"
+
+[[package]]
+name = "bitflags"
+version = "1.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+[[package]]
+name = "bitvec"
+version = "0.19.6"
+source = "registry+https://github.com/rust-lang/crates.io-

[arch-commits] Commit in (5 files)

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 14:36:04
  Author: felixonmars
Revision: 1163748

addpkg: dice 0.1.0.1-1

Added:
  dice/
  dice/repos/
  dice/trunk/
  dice/trunk/0001-Support-GHC-9.patch
  dice/trunk/PKGBUILD

--+
 0001-Support-GHC-9.patch |  225 +
 PKGBUILD |   47 +
 2 files changed, 272 insertions(+)

Added: dice/trunk/0001-Support-GHC-9.patch
===
--- dice/trunk/0001-Support-GHC-9.patch (rev 0)
+++ dice/trunk/0001-Support-GHC-9.patch 2022-03-20 14:36:04 UTC (rev 1163748)
@@ -0,0 +1,225 @@
+From 26edbdb319d61e37bf421fd5bc47c04521b3c9f0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Na=C3=AFm=20Favier?= 
+Date: Tue, 22 Feb 2022 18:25:11 +0100
+Subject: [PATCH] Support GHC 9
+
+---
+ dice.cabal  |  3 +-
+ src/Data/Random/Dice.hs | 64 +++--
+ 2 files changed, 32 insertions(+), 35 deletions(-)
+
+diff --git a/dice.cabal b/dice.cabal
+index 56d6b63..68ca236 100644
+--- a/dice.cabal
 b/dice.cabal
+@@ -28,8 +28,9 @@ source-repository head
+ Library
+   hs-source-dirs:   src
+   exposed-modules:  Data.Random.Dice
+-  build-depends:base >= 3 && < 5, random-fu, parsec, transformers
++  build-depends:base >= 3 && < 5, random-fu >= 0.3.0.0, mwc-random, 
parsec, mtl
+ 
+ Executable dice
+   hs-source-dirs:   src
++  other-modules:Data.Random.Dice
+   main-is:  Dice.hs
+diff --git a/src/Data/Random/Dice.hs b/src/Data/Random/Dice.hs
+index 8cb5a33..3a2ec8f 100644
+--- a/src/Data/Random/Dice.hs
 b/src/Data/Random/Dice.hs
+@@ -1,11 +1,13 @@
+ {-# LANGUAGE CPP #-}
++{-# LANGUAGE FlexibleContexts #-}
+ module Data.Random.Dice where
+ 
+ import Data.Random
+ import Data.Random.Distribution.Uniform (integralUniform)
++import System.Random.MWC (createSystemRandom, UniformRange)
+ 
+ import Control.Monad
+-import Control.Monad.Trans.Error
++import Control.Monad.Except
+ import Data.Functor.Identity
+ import Data.Ratio
+ import Data.List
+@@ -32,7 +34,7 @@ instance Functor Expr where
+ fmap f = foldExpr (\s x -> Const s (f x)) Plus Minus Times Divide
+ 
+ foldExpr c (+) (-) (*) (/) {-(#)-} = fold
+-where 
++where
+ fold (Const  s a) = c s a
+ fold (Plus   x y) = fold x + fold y
+ fold (Minus  x y) = fold x - fold y
+@@ -45,24 +47,16 @@ evalExprWithDiv (/) = foldExpr (const return) (liftM2 (+)) 
(liftM2 (-)) (liftM2
+ where
+ divM x y = join (liftM2 (/) x y)
+ 
+-#if __GLASGOW_HASKELL__ < 808
+-evalFractionalExpr :: (Eq a, Fractional a, Monad m) => Expr a -> m a
+-#else
+-evalFractionalExpr :: (Eq a, Fractional a, MonadFail m) => Expr a -> m a
+-#endif
++evalFractionalExpr :: (Eq a, Fractional a, MonadError String m) => Expr a -> 
m a
+ evalFractionalExpr = evalExprWithDiv divM
+ where
+-divM x 0 = fail "Divide by zero!"
++divM x 0 = throwError "Divide by zero!"
+ divM x y = return (x / y)
+ 
+-#if __GLASGOW_HASKELL__ < 808
+-evalIntegralExpr :: (Integral a, Monad m) => Expr a -> m a
+-#else
+-evalIntegralExpr :: (Integral a, MonadFail m) => Expr a -> m a
+-#endif
++evalIntegralExpr :: (Integral a, MonadError String m) => Expr a -> m a
+ evalIntegralExpr = evalExprWithDiv divM
+ where
+-divM x 0 = fail "Divide by zero!"
++divM x 0 = throwError "Divide by zero!"
+ divM x y = return (div x y)
+ 
+ 
+@@ -86,7 +80,7 @@ runExpr (Divide x y) = commute Divide x y
+ 
+ fmtIntegralExpr :: (Show a, Integral a) => Expr a -> String
+ fmtIntegralExpr (Const _ e) = show e
+-fmtIntegralExpr e = 
++fmtIntegralExpr e =
+ showParen True (fmtExprPrec showScalarConst e 0)
+ . showString " => "
+ . showError (evalIntegralExpr e)
+@@ -95,7 +89,7 @@ fmtIntegralExpr e =
+ fmtIntegralListExpr :: (Show a, Integral a) => Expr [a] -> String
+ fmtIntegralListExpr (Const _ []) = "0"
+ fmtIntegralListExpr (Const _ [e]) = show e
+-fmtIntegralListExpr e = 
++fmtIntegralListExpr e =
+ showParen True (fmtExprPrec showListConst e 0)
+ . showString " => "
+ . showError (evalIntegralExpr (fmap sum e))
+@@ -104,7 +98,7 @@ fmtIntegralListExpr e =
+ fmtSimple :: (Integral a, Show a) => Expr [a] -> String
+ fmtSimple (Const _ []) = "0"
+ fmtSimple (Const _ [e]) = show e
+-fmtSimple e = 
++fmtSimple e =
+ showParen False (fmtExprPrec showSimpleListConst e 0)
+ . showString " => "
+ . showError (evalIntegralExpr (fmap sum e))
+@@ -130,11 +124,11 @@ showSimpleListConst = showSimpleConst showsPrec
+ 
+ showSimpleRationalConst = showSimpleConst showRational
+ 
+-showError :: Show a => ErrorT String Identity a -> ShowS
++showError :: Show a => ExceptT String Identity a -> ShowS
+ showError = showErrorWith shows
+ 
+-showErrorWith f (ErrorT (Identity (Left  e))) = showString e
+-showErrorWith f (Error

[arch-commits] Commit in (5 files)

2022-03-20 Thread Laurent Carlier via arch-commits
Date: Sunday, March 20, 2022 @ 07:39:28
  Author: lcarlier
Revision: 440304

initial commit - mesa amber release 21.3.8

Added:
  mesa-amber/
  mesa-amber/repos/
  mesa-amber/trunk/
  mesa-amber/trunk/LICENSE
  mesa-amber/trunk/PKGBUILD

--+
 LICENSE  |   83 +
 PKGBUILD |   64 +++
 2 files changed, 147 insertions(+)

Added: mesa-amber/trunk/LICENSE
===
--- mesa-amber/trunk/LICENSE(rev 0)
+++ mesa-amber/trunk/LICENSE2022-03-20 07:39:28 UTC (rev 440304)
@@ -0,0 +1,83 @@
+The Mesa 3D Graphics Library
+
+Disclaimer
+
+   Mesa is a 3-D graphics library with an API which is very similar to
+   that of [1]OpenGL.* To the extent that Mesa utilizes the OpenGL command
+   syntax or state machine, it is being used with authorization from
+   [2]Silicon Graphics, Inc.(SGI). However, the author does not possess an
+   OpenGL license from SGI, and makes no claim that Mesa is in any way a
+   compatible replacement for OpenGL or associated with SGI. Those who
+   want a licensed implementation of OpenGL should contact a licensed
+   vendor.
+
+   Please do not refer to the library as MesaGL (for legal reasons). It's
+   just Mesa or The Mesa 3-D graphics library.
+
+   * OpenGL is a trademark of [3]Silicon Graphics Incorporated.
+
+License / Copyright Information
+
+   The Mesa distribution consists of several components. Different
+   copyrights and licenses apply to different components. For example, the
+   GLX client code uses the SGI Free Software License B, and some of the
+   Mesa device drivers are copyrighted by their authors. See below for a
+   list of Mesa's main components and the license for each.
+
+   The core Mesa library is licensed according to the terms of the MIT
+   license. This allows integration with the XFree86, Xorg and DRI
+   projects.
+
+   The default Mesa license is as follows:
+
+Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+Attention, Contributors
+
+   When contributing to the Mesa project you must agree to the licensing
+   terms of the component to which you're contributing. The following
+   section lists the primary components of the Mesa distribution and their
+   respective licenses.
+
+Mesa Component Licenses
+
+Component Location   License
+--
+Main Mesa codesrc/mesa/  MIT
+
+Device driverssrc/mesa/drivers/* MIT, generally
+
+Gallium code  src/gallium/   MIT
+
+Ext headers   include/GL/glext.h Khronos
+  include/GL/glxext.h
+
+GLX client code   src/glx/   SGI Free Software License B
+
+C11 threadinclude/c11/threads*.h Boost (permissive) emulation
+
+   In general, consult the source files for license terms.
+
+References
+
+   1. https://www.opengl.org/
+   2. https://www.sgi.com/
+   3. https://www.sgi.com/

Added: mesa-amber/trunk/PKGBUILD
===
--- mesa-amber/trunk/PKGBUILD   (rev 0)
+++ mesa-amber/trunk/PKGBUILD   2022-03-20 07:39:28 UTC (rev 440304)
@@ -0,0 +1,64 @@
+# Maintainer: Laurent Carlier 
+# Maintainer: Felix Yan 
+# Maintainer: Jan de Groot 
+# Contributor: Andreas Radke 
+
+pkgname=mesa-amber
+pkgdesc="classic OpenGL (non-Gallium3D) drivers"
+pkgver=21.3.8
+pkgrel=1
+arch=('x86_64')
+makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 
'libxshmfence' 'libxxf86vm'
+ 'libxdamage' 'wayland' 'wayland-protocols' 'zstd' 'elfutils'
+ 'libglvnd' 'libunwind' 'libxrandr' 'valgrind' 'cmake' 'meson')
+url="https://www.mesa3d.org/";
+license=('custom')
+source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
+LICENSE)
+s

[arch-commits] Commit in (5 files)

2022-03-19 Thread George Rawlinson via arch-commits
Date: Saturday, March 19, 2022 @ 08:32:25
  Author: grawlinson
Revision: 1160510

addpkg: bibtool 2.68-5

Added:
  bibtool/
  bibtool/repos/
  bibtool/trunk/
  bibtool/trunk/E2A609830CE167571B86EA2168BE699213A2.gpg
  bibtool/trunk/PKGBUILD

--+
 E2A609830CE167571B86EA2168BE699213A2.gpg |1 
 PKGBUILD |   37 +
 2 files changed, 38 insertions(+)

Added: bibtool/trunk/E2A609830CE167571B86EA2168BE699213A2.gpg
===
(Binary files differ)

Index: bibtool/trunk/E2A609830CE167571B86EA2168BE699213A2.gpg
===
--- bibtool/trunk/E2A609830CE167571B86EA2168BE699213A2.gpg  2022-03-19 
07:00:22 UTC (rev 1160509)
+++ bibtool/trunk/E2A609830CE167571B86EA2168BE699213A2.gpg  2022-03-19 
08:32:25 UTC (rev 1160510)

Property changes on: bibtool/trunk/E2A609830CE167571B86EA2168BE699213A2.gpg
___
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: bibtool/trunk/PKGBUILD
===
--- bibtool/trunk/PKGBUILD  (rev 0)
+++ bibtool/trunk/PKGBUILD  2022-03-19 08:32:25 UTC (rev 1160510)
@@ -0,0 +1,37 @@
+# Maintainer: George Rawlinson 
+# Contributor: Stefan Husmann 
+# Contributor: Robson Peixoto 
+
+pkgname=bibtool
+pkgver=2.68
+pkgrel=5
+pkgdesc="A tool for manipulating BibTeX files"
+arch=('x86_64')
+url="http://www.gerd-neugebauer.de/software/TeX/BibTool/en/";
+license=('GPL2')
+depends=('glibc' 'texlive-bin')
+source=("https://github.com/ge-ne/bibtool/releases/download/BibTool_${pkgver//./_}/BibTool-$pkgver.tar.gz"{,.asc})
+sha512sums=('ab71d86cb363c755388c6ce2b546b0a6863eefc48688ebe482eef9839a42ecb3d39b8c30d33cf925dd22080fea111225075e12e8bcc917728fa67b32699f0b91'
+'SKIP')
+b2sums=('d96e9c6b67994647d43c5e5fb2c206eafc04703d2c9af36fd329af583ef7daae0b3412d3e4abd6a6e9eb7ec65cd36412cddcecd7c1494358a6c8416e38cd9e91'
+'SKIP')
+validpgpkeys=('E2A609830CE167571B86EA2168BE699213A2') # Gerd Neugebauer 

+
+build() {
+  cd BibTool
+
+  autoreconf
+  ./configure --prefix=/usr
+  make 
+}
+
+package() {
+  cd BibTool
+
+  # if not done, makefile installs the binary to /usr/bin instead of 
/usr/bin/bibtool
+  install -vd "$pkgdir/usr/bin"
+  
+  # when INSTALL is not specified, makefile installs man files with 0755 
permissions
+  make INSTALLPREFIX="$pkgdir" INSTALL='install -p -m 755' install 
+  make INSTALLPREFIX="$pkgdir" INSTALL='install -p -m 644' install-man
+}



[arch-commits] Commit in (5 files)

2022-03-18 Thread Sven-Hendrik Haase via arch-commits
Date: Friday, March 18, 2022 @ 20:33:33
  Author: svenstaro
Revision: 1159105

Add vkmark

Added:
  vkmark/
  vkmark/trunk/
  vkmark/trunk/PKGBUILD
  vkmark/trunk/trunk/
  vkmark/trunk/vkmark/

--+
 PKGBUILD |   35 +++
 1 file changed, 35 insertions(+)

Added: vkmark/trunk/PKGBUILD
===
--- vkmark/trunk/PKGBUILD   (rev 0)
+++ vkmark/trunk/PKGBUILD   2022-03-18 20:33:33 UTC (rev 1159105)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase
+pkgname=vkmark
+pkgdesc='Vulkan benchmark'
+pkgver=20220318
+pkgrel=1
+url='https://github.com/vkmark/vkmark'
+arch=('x86_64')
+license=('LGPL')
+depends=('vulkan-icd-loader' 'assimp')
+makedepends=('git' 'vulkan-headers' 'meson' 'ninja' 'glm' 'wayland-protocols' 
'xorgproto' 'xcb-util-wm' 'wayland')
+optdepends=('xcb-util-wm: for X11 support'
+'wayland: for Wayland support')
+source=(git+https://github.com/vkmark/vkmark.git#commit=cf45f2f
+
https://patch-diff.githubusercontent.com/raw/vkmark/vkmark/pull/38.patch)
+sha1sums=('SKIP'
+  'f189da9cccaff8526ee1a9f03388be333d1fa434')
+
+prepare() {
+  cd vkmark
+  patch -Np1 -i "${srcdir}"/38.patch
+}
+
+build() {
+  cd vkmark
+
+  meson --prefix=/usr build
+  ninja -C build
+}
+
+package() {
+  cd vkmark
+  DESTDIR="$pkgdir" ninja -C build install
+  # rm -rf "$pkgdir"/usr/local/share/man
+}
+



[arch-commits] Commit in (5 files)

2022-03-17 Thread George Rawlinson via arch-commits
Date: Thursday, March 17, 2022 @ 08:50:54
  Author: grawlinson
Revision: 1156565

addpkg: nerdctl 0.17.1-2

Added:
  nerdctl/
  nerdctl/repos/
  nerdctl/trunk/
  nerdctl/trunk/PKGBUILD
  nerdctl/trunk/skip-failing-test.patch

-+
 PKGBUILD|   78 ++
 skip-failing-test.patch |   30 +
 2 files changed, 108 insertions(+)

Added: nerdctl/trunk/PKGBUILD
===
--- nerdctl/trunk/PKGBUILD  (rev 0)
+++ nerdctl/trunk/PKGBUILD  2022-03-17 08:50:54 UTC (rev 1156565)
@@ -0,0 +1,78 @@
+# Maintainer: George Rawlinson 
+
+pkgname=nerdctl
+pkgver=0.17.1
+pkgrel=2
+pkgdesc="Docker-compatible CLI for containerd"
+arch=('x86_64')
+url="https://github.com/containerd/nerdctl";
+license=('Apache')
+depends=('containerd')
+makedepends=('git' 'go')
+optdepends=(
+  'buildkit: to build OCI images'
+  'cni-plugins: to run OCI images'
+  'rootlesskit: for rootless mode'
+  'slirp4netns: for rootless mode'
+)
+options=('!lto')
+_commit='20233c26d26f11ca73a9a775fba87ca884ab14d2' # v0.17.1
+source=(
+  "$pkgname::git+$url.git#commit=$_commit"
+  'skip-failing-test.patch'
+)
+sha512sums=('SKIP'
+
'c168de6147edcebf31df4b2e22dc830cad62b81780d10105aada8e17347523747d413c4398bec3840f079a37177b6f9c3ca87c8f0119f4f651f7e4c6462eb8b3')
+b2sums=('SKIP'
+
'c4dd2803d0fb6ef0067ee2ec3fb34f606618e157264e03f9b607629900b11a774f484c8cb320054f90911400bb436ca65f024bf5d63f39766e5b7f19fd8814e5')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # create directory for build output
+  mkdir build
+
+  # download dependencies
+  go mod download
+
+  # skip failing unit test
+  patch -p1 -i ../skip-failing-test.patch
+}
+
+build() {
+  cd "$pkgname"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+-trimpath \
+-buildmode=pie \
+-mod=readonly \
+-modcacherw \
+-ldflags "-linkmode external -extldflags ${LDFLAGS} \
+-X github.com/containerd/nerdctl/pkg/version.Version=$pkgver \
+-X github.com/containerd/nerdctl/pkg/version.Revision=$(git rev-parse 
HEAD)" \
+-o build \
+./cmd/...
+}
+
+check() {
+  cd "$pkgname"
+
+  go test -v ./pkg/...
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" build/nerdctl
+}

Added: nerdctl/trunk/skip-failing-test.patch
===
--- nerdctl/trunk/skip-failing-test.patch   (rev 0)
+++ nerdctl/trunk/skip-failing-test.patch   2022-03-17 08:50:54 UTC (rev 
1156565)
@@ -0,0 +1,30 @@
+--- a/pkg/resolvconf/resolvconf_linux_test.go
 b/pkg/resolvconf/resolvconf_linux_test.go
+@@ -23,27 +23,6 @@ import (
+   "testing"
+ )
+ 
+-func TestGet(t *testing.T) {
+-  resolvConfUtils, err := Get()
+-  if err != nil {
+-  t.Fatal(err)
+-  }
+-  resolvConfSystem, err := os.ReadFile("/run/systemd/resolve/resolv.conf")
+-  if err != nil {
+-  t.Fatal(err)
+-  }
+-  if string(resolvConfUtils.Content) != string(resolvConfSystem) {
+-  t.Fatalf("/etc/resolv.conf and GetResolvConf have different 
content.")
+-  }
+-  hashSystem, err := hashData(bytes.NewReader(resolvConfSystem))
+-  if err != nil {
+-  t.Fatal(err)
+-  }
+-  if resolvConfUtils.Hash != hashSystem {
+-  t.Fatalf("/etc/resolv.conf and GetResolvConf have different 
hashes.")
+-  }
+-}
+-
+ func TestGetNameservers(t *testing.T) {
+   for resolv, result := range map[string][]string{`
+ nameserver 1.2.3.4



[arch-commits] Commit in (5 files)

2022-03-17 Thread George Rawlinson via arch-commits
Date: Thursday, March 17, 2022 @ 07:53:48
  Author: grawlinson
Revision: 1156559

addpkg: apptainer 1.0.1-1

Added:
  apptainer/
  apptainer/repos/
  apptainer/trunk/
  apptainer/trunk/PKGBUILD
  apptainer/trunk/tmpfiles.conf

---+
 PKGBUILD  |   96 
 tmpfiles.conf |1 
 2 files changed, 97 insertions(+)

Added: apptainer/trunk/PKGBUILD
===
--- apptainer/trunk/PKGBUILD(rev 0)
+++ apptainer/trunk/PKGBUILD2022-03-17 07:53:48 UTC (rev 1156559)
@@ -0,0 +1,96 @@
+# Maintainer: George Rawlinson 
+# Contributor: Maciej Sieczka 
+
+pkgname=apptainer
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Application containers for secure high performance computing'
+arch=('x86_64')
+url='https://apptainer.org/'
+license=('BSD' 'custom:LBNL')
+backup=(
+  'etc/apptainer/apptainer.conf'
+  'etc/apptainer/capability.json'
+  'etc/apptainer/cgroups/cgroups.toml'
+  'etc/apptainer/dmtcp-conf.yaml'
+  'etc/apptainer/ecl.toml'
+  'etc/apptainer/global-pgp-public'
+  'etc/apptainer/network/00_bridge.conflist'
+  'etc/apptainer/network/10_ptp.conflist'
+  'etc/apptainer/network/20_ipvlan.conflist'
+  'etc/apptainer/network/30_macvlan.conflist'
+  'etc/apptainer/network/40_fakeroot.conflist'
+  'etc/apptainer/nvliblist.conf'
+  'etc/apptainer/remote.yaml'
+  'etc/apptainer/rocmliblist.conf'
+  'etc/apptainer/seccomp-profiles/default.json'
+)
+depends=('squashfs-tools' 'libseccomp')
+makedepends=('git' 'go' 'cryptsetup')
+conflicts=('singularity-container')
+replaces=('singularity-container')
+options=('!lto')
+_commit='a308dd1a664a0bf01ff74b39c69d07442c7fac4f'
+source=(
+  "$pkgname::git+https://github.com/apptainer/apptainer.git#commit=$_commit";
+  'tmpfiles.conf'
+)
+sha512sums=('SKIP'
+
'5f10f162e7e48d2ca821529906a4ef692fc32cec8f61d8f03ea60361e1a204eacbeca8b6214bea0accd019c765d9c4c15300ca01c83ab3cbbdc44e82c7e4908d')
+b2sums=('SKIP'
+
'dc9bfeb268d297b8785348c83f89a68ff760de278c8f101831a930ca0b42d2052d0498d7dd8c66f48b9fef2eb3c901de082939e85b22d0a99f7db4e22744bced')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # provide version to build script
+  echo "$pkgver" > VERSION
+
+  # fix bash completion path
+  sed -e "s|/etc/bash_completion.d|/usr/share/bash-completion/completions|" \
+-e 
"s|\$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|" \
+-i  mlocal/frags/build_cli.mk
+}
+
+build() {
+  cd "$pkgname"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-mod=readonly -modcacherw"
+
+  ./mconfig \
+--prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var/lib \
+-P release-stripped \
+-v
+
+  make -C builddir
+}
+
+package() {
+  cd "$pkgname"
+
+  # binaries & man pages
+  make -C builddir DESTDIR="$pkgdir" install
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # let systemd-tmpfiles generate state directory
+  rm -rf "$pkgdir/var"
+  install -vDm644 "$srcdir/tmpfiles.conf" \
+"$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+}

Added: apptainer/trunk/tmpfiles.conf
===
--- apptainer/trunk/tmpfiles.conf   (rev 0)
+++ apptainer/trunk/tmpfiles.conf   2022-03-17 07:53:48 UTC (rev 1156559)
@@ -0,0 +1 @@
+d /var/lib/apptainer/mnt/session



[arch-commits] Commit in (5 files)

2022-03-09 Thread Leonidas Spyropoulos via arch-commits
Date: Wednesday, March 9, 2022 @ 11:42:27
  Author: artafinde
Revision: 1145660

makedumpfile: move from aur version 1.7.0

Added:
  makedumpfile/
  makedumpfile/repos/
  makedumpfile/trunk/
  makedumpfile/trunk/0001-PATCH-v2-Simplify-the-generation-of-man-pages.patch
  makedumpfile/trunk/PKGBUILD

--+
 0001-PATCH-v2-Simplify-the-generation-of-man-pages.patch |  104 +
 PKGBUILD |   41 +
 2 files changed, 145 insertions(+)

Added: 
makedumpfile/trunk/0001-PATCH-v2-Simplify-the-generation-of-man-pages.patch
===
--- makedumpfile/trunk/0001-PATCH-v2-Simplify-the-generation-of-man-pages.patch 
(rev 0)
+++ makedumpfile/trunk/0001-PATCH-v2-Simplify-the-generation-of-man-pages.patch 
2022-03-09 11:42:27 UTC (rev 1145660)
@@ -0,0 +1,104 @@
+From 2169de66ecd4504a3e69e0be0330f492f966ce5e Mon Sep 17 00:00:00 2001
+From: Leonidas Spyropoulos 
+Date: Fri, 4 Mar 2022 15:17:48 +
+Subject: [PATCH] [PATCH v2] Simplify the generation of man pages
+
+Use `sed` to simplify the man pages generation. Keep the .in files
+intact during make and generate the actual man pages with sed.
+Additionally package tools already gz the man pages during install so it
+doesn't really need to do that during make and it breaks reproducibility
+of the package due to timestamps on files.
+
+Motivation: https://reproducible-builds.org
+
+Signed-off-by: Leonidas Spyropoulos 
+Reviewed-and-tested-by: Guilherme G. Piccoli 
+Signed-off-by: Kazuhito Hagio 
+---
+ .gitignore|  2 ++
+ Makefile  | 20 +--
+ makedumpfile.8 => makedumpfile.8.in   |  2 +-
+ makedumpfile.conf.5 => makedumpfile.conf.5.in |  2 +-
+ 4 files changed, 13 insertions(+), 13 deletions(-)
+ rename makedumpfile.8 => makedumpfile.8.in (99%)
+ rename makedumpfile.conf.5 => makedumpfile.conf.5.in (99%)
+
+diff --git a/.gitignore b/.gitignore
+index 0b78a96..d6ff75f 100644
+--- a/.gitignore
 b/.gitignore
+@@ -78,3 +78,5 @@ GTAGS
+ *~
+ \#*#
+ makedumpfile
++makedumpfile.8
++makedumpfile.conf.5
+diff --git a/Makefile b/Makefile
+index 9f9fd22..f118b31 100644
+--- a/Makefile
 b/Makefile
+@@ -112,26 +112,24 @@ $(OBJ_ARCH): $(SRC_ARCH)
+ 
+ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH)
+   $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -rdynamic -o $@ $< 
$(LIBS)
+-  echo .TH MAKEDUMPFILE 8 \"$(DATE)\" \"makedumpfile v$(VERSION)\" 
\"Linux System Administrator\'s Manual\" > temp.8
+-  grep -v "^.TH MAKEDUMPFILE 8" $(VPATH)makedumpfile.8 >> temp.8
+-  mv temp.8 makedumpfile.8
+-  gzip -c ./makedumpfile.8 > ./makedumpfile.8.gz
+-  echo .TH MAKEDUMPFILE.CONF 5 \"$(DATE)\" \"makedumpfile v$(VERSION)\" 
\"Linux System Administrator\'s Manual\" > temp.5
+-  grep -v "^.TH MAKEDUMPFILE.CONF 5" $(VPATH)makedumpfile.conf.5 >> temp.5
+-  mv temp.5 makedumpfile.conf.5
+-  gzip -c ./makedumpfile.conf.5 > ./makedumpfile.conf.5.gz
++  @sed -e "s/@DATE@/$(DATE)/" \
++   -e "s/@VERSION@/$(VERSION)/" \
++   $(VPATH)makedumpfile.8.in > $(VPATH)makedumpfile.8
++  @sed -e "s/@DATE@/$(DATE)/" \
++   -e "s/@VERSION@/$(VERSION)/" \
++   $(VPATH)makedumpfile.conf.5.in > $(VPATH)makedumpfile.conf.5
+ 
+ eppic_makedumpfile.so: extension_eppic.c
+   $(CC) $(CFLAGS) $(LDFLAGS) -shared -rdynamic -o $@ extension_eppic.c 
-fPIC -leppic -ltinfo
+ 
+ clean:
+-  rm -f $(OBJ) $(OBJ_PART) $(OBJ_ARCH) makedumpfile makedumpfile.8.gz 
makedumpfile.conf.5.gz
++  rm -f $(OBJ) $(OBJ_PART) $(OBJ_ARCH) makedumpfile makedumpfile.8 
makedumpfile.conf.5
+ 
+ install:
+   install -m 755 -d ${DESTDIR}/usr/sbin ${DESTDIR}/usr/share/man/man5 
${DESTDIR}/usr/share/man/man8 ${DESTDIR}/etc
+   install -m 755 -t ${DESTDIR}/usr/sbin makedumpfile 
$(VPATH)makedumpfile-R.pl
+-  install -m 644 -t ${DESTDIR}/usr/share/man/man8 makedumpfile.8.gz
+-  install -m 644 -t ${DESTDIR}/usr/share/man/man5 makedumpfile.conf.5.gz
++  install -m 644 -t ${DESTDIR}/usr/share/man/man8 makedumpfile.8
++  install -m 644 -t ${DESTDIR}/usr/share/man/man5 makedumpfile.conf.5
+   install -m 644 -D $(VPATH)makedumpfile.conf 
${DESTDIR}/etc/makedumpfile.conf.sample
+   mkdir -p ${DESTDIR}/usr/share/makedumpfile-${VERSION}/eppic_scripts
+   install -m 644 -t 
${DESTDIR}/usr/share/makedumpfile-${VERSION}/eppic_scripts/ 
$(VPATH)eppic_scripts/*
+diff --git a/makedumpfile.8 b/makedumpfile.8.in
+similarity index 99%
+rename from makedumpfile.8
+rename to makedumpfile.8.in
+index ce8c700..d22588e 100644
+--- a/makedumpfile.8
 b/makedumpfile.8.in
+@@ -1,4 +1,4 @@
+-.TH MAKEDUMPFILE 8 "8 Nov 2021" "makedumpfile v1.7.0" "Linux System 
Administrator's Manual"
++.TH MAKEDUMPFILE 8 "@DATE@" "makedumpfile v@VERSION@" "Linux System 
Administrat

[arch-commits] Commit in (5 files)

2022-02-16 Thread Daniel M. Capella via arch-commits
Date: Wednesday, February 16, 2022 @ 23:46:54
  Author: polyzen
Revision: 1133582

Switch to python-installer from python-install

Modified:
  ansible-lint/trunk/PKGBUILD
  jedi-language-server/trunk/PKGBUILD
  python-matrix-common/trunk/PKGBUILD
  python-structlog/trunk/PKGBUILD
  qmk/trunk/PKGBUILD

-+
 ansible-lint/trunk/PKGBUILD |5 ++---
 jedi-language-server/trunk/PKGBUILD |9 +++--
 python-matrix-common/trunk/PKGBUILD |4 ++--
 python-structlog/trunk/PKGBUILD |4 ++--
 qmk/trunk/PKGBUILD  |5 ++---
 5 files changed, 11 insertions(+), 16 deletions(-)

Modified: ansible-lint/trunk/PKGBUILD
===
--- ansible-lint/trunk/PKGBUILD 2022-02-16 23:46:49 UTC (rev 1133581)
+++ ansible-lint/trunk/PKGBUILD 2022-02-16 23:46:54 UTC (rev 1133582)
@@ -11,7 +11,7 @@
 license=('MIT')
 depends=('python' 'ansible-core' 'python-ruamel-yaml' 'python-pyaml' 
'python-rich' 'python-packaging'
   'python-wcmatch' 'python-enrich' 'python-tenacity')
-makedepends=('python-build' 'python-install' 'python-wheel')
+makedepends=('python-build' 'python-installer' 'python-wheel')
 optdepends=('yamllint: check for yaml syntax mistakes'
 'ansible: check official ansible collections')
 
source=(https://github.com/ansible/ansible-lint/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
@@ -33,7 +33,6 @@
 
 package() {
   cd ${pkgname}-${pkgver}
-  python -m install --optimize=1 --destdir="${pkgdir}" dist/*.whl
-  chmod +x "${pkgdir}"/usr/bin/*
+  python -m installer --destdir="${pkgdir}" --compile-bytecode=1 dist/*.whl
   install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
 }

Modified: jedi-language-server/trunk/PKGBUILD
===
--- jedi-language-server/trunk/PKGBUILD 2022-02-16 23:46:49 UTC (rev 1133581)
+++ jedi-language-server/trunk/PKGBUILD 2022-02-16 23:46:54 UTC (rev 1133582)
@@ -8,7 +8,7 @@
 url=https://github.com/pappasam/jedi-language-server
 license=('MIT')
 depends=('python-docstring-to-markdown' 'python-jedi' 'python-pygls')
-makedepends=('python-build' 'python-install' 'python-poetry')
+makedepends=('python-build' 'python-installer' 'python-poetry')
 checkdepends=('python-jsonrpc-server' 'python-pyhamcrest' 'python-pytest')
 source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
 
b2sums=('5efe6a767316082b0e9a788ff196defde61f2302c3c30a34a32795c2e575a9049cb1e7a9de36ed61ece67e59412fe255465d9ae0916d20fdc23179c46d032fa6')
@@ -28,17 +28,14 @@
   cd $pkgname-$pkgver
   mkdir -p temp
   local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  python -m install --optimize=1 --destdir=temp dist/*.whl
+  python -m installer --destdir=temp --compile-bytecode=1 dist/*.whl
   PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" pytest 
tests
 }
 
 package() {
   cd $pkgname-$pkgver
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
 
-  # https://github.com/FFY00/python-install/pull/6
-  chmod +x "$pkgdir"/usr/bin/*
-
   # Symlink license file
   local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
   install -d "$pkgdir"/usr/share/licenses/$pkgname

Modified: python-matrix-common/trunk/PKGBUILD
===
--- python-matrix-common/trunk/PKGBUILD 2022-02-16 23:46:49 UTC (rev 1133581)
+++ python-matrix-common/trunk/PKGBUILD 2022-02-16 23:46:54 UTC (rev 1133582)
@@ -7,7 +7,7 @@
 arch=(any)
 url="https://github.com/matrix-org/matrix-python-common";
 license=('Apache')
-makedepends=('python-setuptools' 'python-build' 'python-install' 
'python-wheel')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
 checkdepends=('python-twisted' 'python-service-identity' 'python-aiounittest')
 
source=($pkgname-$pkgver.tar.gz::"https://github.com/matrix-org/matrix-python-common/archive/refs/tags/v$pkgver.tar.gz";)
 
sha512sums=('0050243ce3930962934f94fe1c990dc97ce803e79998ee7e6c7dafdf5ca4736c8c06fd4f52223b81f2ceb91a8bcf70f6488559f7935a9bd087c33a11430af8cd')
@@ -25,5 +25,5 @@
 
 package() {
cd "matrix-python-common-$pkgver"
-   python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+   python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
 }

Modified: python-structlog/trunk/PKGBUILD
===
--- python-structlog/trunk/PKGBUILD 2022-02-16 23:46:49 UTC (rev 1133581)
+++ python-structlog/trunk/PKGBUILD 2022-02-16 23:46:54 UTC (rev 1133582)
@@ -10,7 +10,7 @@
 license=('Apache')
 arch=('any')
 depends=('python')
-makedepends=('python-build' 'python-flit-core' 'python-install')
+makedepends=('python-build' 'python-flit-core' 'python-installer')
 checkdepends=('python-py

[arch-commits] Commit in (5 files)

2022-02-13 Thread Andreas Schleifer via arch-commits
Date: Sunday, February 13, 2022 @ 17:03:46
  Author: segaja
Revision: 1133066

create package ruby-puma 5.6.2-1

Added:
  ruby-puma/
  ruby-puma/repos/
  ruby-puma/trunk/
  ruby-puma/trunk/PKGBUILD
  ruby-puma/trunk/tests.patch

-+
 PKGBUILD|   77 +
 tests.patch |  322 ++
 2 files changed, 399 insertions(+)

Added: ruby-puma/trunk/PKGBUILD
===
--- ruby-puma/trunk/PKGBUILD(rev 0)
+++ ruby-puma/trunk/PKGBUILD2022-02-13 17:03:46 UTC (rev 1133066)
@@ -0,0 +1,77 @@
+# Maintainer: Andreas 'Segaja' Schleifer 
+
+_gemname='puma'
+pkgname="ruby-$_gemname"
+pkgver=5.6.2
+pkgrel=1
+pkgdesc='A Ruby/Rack web server built for concurrency'
+arch=('x86_64')
+url='https://puma.io/'
+license=('BSD-3-CLAUSE')
+options=(!emptydirs)
+depends=('ruby' 'ruby-nio4r' 'ruby-sd_notify')
+makedepends=('ruby-bundler' 'ruby-minitest' 'ruby-minitest-proveit' 
'ruby-minitest-retry' 'ruby-minitest-stub-const' 'ruby-rack' 'ruby-rake' 
'ruby-rake-compiler' 'ruby-rdoc')
+source=("https://github.com/puma/puma/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz";
+tests.patch)
+sha512sums=('e08ebb968cb139136d11cfb12f7ebef7f4cafcbf3f26cf229c063aa0e55769ba8c4bc1df1dd9e04a4969d6f423cae1a09ce87e154315c9df80d61ec56b6f96e7'
+
'1a81082dd3e8722d6da4cdbec958d8dee38ba0c89478f29e837903094d84777d6c00460612d4915399aec53b8c6534b31ae39eb71ca562b1bfb5a9b7d631bacf')
+
+prepare() {
+  cd "${_gemname}-${pkgver}"
+
+  # remove some tests and fix others
+  patch --verbose --strip=1 --input=../tests.patch
+
+  # we built based on a tar archive, not a git repo
+  sed --in-place 's/git ls-files/find/' "${_gemname}.gemspec"
+
+  # update gemspec/Gemfile to allow newer version of the deps
+  sed --in-place --regexp-extended 's|~>|>=|g' "${_gemname}.gemspec" Gemfile
+
+  # disable rubocop, we don't have that in our repos and it doesn't provide 
any benefits during building
+  sed --in-place '/rubocop/Id' Rakefile Gemfile
+
+  # disable m. Only required for debugging during development
+  sed --in-place "/'m'/d" Gemfile
+
+  # disable localhost. Only required for self-signed certificates during 
development
+  sed --in-place "/localhost/d" Gemfile
+}
+
+build() {
+  cd "${_gemname}-${pkgver}"
+
+  rake compile
+  rake build
+}
+
+check() {
+  cd "${_gemname}-${pkgver}"
+
+  # https://github.com/puma/puma/blob/master/CONTRIBUTING.md#file-limits
+  ulimit -Sn 5000
+
+  # some seeds cause random errors ( https://github.com/puma/puma/issues/2825 
) so we use a fixed seed
+  export TESTOPTS="--seed=21082"
+
+  rake test:all
+}
+
+package() {
+  cd "${_gemname}-${pkgver}"
+
+  local _gemdir="$(gem env gemdir)"
+  local _platform="$(gem env platform | cut -d':' -f2)"
+  local _extension_api_version="$(ruby -e'puts Gem.extension_api_version')"
+
+  gem install --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" 
"pkg/${_gemname}-${pkgver}.gem"
+
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem" \
+  
"${pkgdir}/${_gemdir}/gems/${_gemname}-${pkgver}/ext/puma_http11/Makefile" \
+  
"${pkgdir}/${_gemdir}/extensions/${_platform}/${_extension_api_version}/${_gemname}-${pkgver}/mkmf.log"
 \
+  
"${pkgdir}/${_gemdir}/extensions/${_platform}/${_extension_api_version}/${_gemname}-${pkgver}/gem_make.out"
 \
+  
"${pkgdir}/${_gemdir}/doc/${_gemname}-${pkgver}/ri/ext/puma_http11/page-Makefile.ri"
+
+  install -D --mode=644 LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -D --mode=644 *.md --target-directory 
"${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: ruby-puma/trunk/tests.patch
===
--- ruby-puma/trunk/tests.patch (rev 0)
+++ ruby-puma/trunk/tests.patch 2022-02-13 17:03:46 UTC (rev 1133066)
@@ -0,0 +1,322 @@
+diff --git a/test/config/ssl_self_signed_config.rb 
b/test/config/ssl_self_signed_config.rb
+deleted file mode 100644
+index d70b51d1..
+--- a/test/config/ssl_self_signed_config.rb
 /dev/null
+@@ -1,7 +0,0 @@
+-require "localhost"
+-
+-ssl_bind "0.0.0.0", 9292
+-
+-app do |env|
+-  [200, {}, ["self-signed certificate app"]]
+-end
+diff --git a/test/test_config.rb b/test/test_config.rb
+index d2ced63f..90ace92c 100644
+--- a/test/test_config.rb
 b/test/test_config.rb
+@@ -58,22 +58,6 @@ class TestConfigFile < TestConfigFileBase
+ assert_equal [200, {}, ["embedded app"]], app.call({})
+   end
+ 
+-  def test_ssl_self_signed_configuration_from_DSL
+-skip_if :jruby
+-skip_unless :ssl
+-conf = Puma::Configuration.new do |config|
+-  config.load "test/config/ssl_self_signed_config.rb"
+-end
+-
+-conf.load
+-
+-bind_configuration = conf.options.file_options[:binds].first
+-app = conf.app
+-
+-ssl_binding = "ssl://0.0.0.0:9292?cert=&key=&verify_mode=no

[arch-commits] Commit in (5 files)

2022-02-08 Thread David Runge via arch-commits
Date: Tuesday, February 8, 2022 @ 19:03:55
  Author: dvzrv
Revision: 1129341

Add python-milksnake for python-cmsis-pack-manager.

Added:
  python-milksnake/
  python-milksnake/repos/
  python-milksnake/trunk/
  python-milksnake/trunk/PKGBUILD
  python-milksnake/trunk/python-milksnake-0.1.5-distutils.patch

+
 PKGBUILD   |   53 
 python-milksnake-0.1.5-distutils.patch |  380 +++
 2 files changed, 433 insertions(+)

Added: python-milksnake/trunk/PKGBUILD
===
--- python-milksnake/trunk/PKGBUILD (rev 0)
+++ python-milksnake/trunk/PKGBUILD 2022-02-08 19:03:55 UTC (rev 1129341)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge 
+
+_name=milksnake
+pkgname=python-milksnake
+# we pin to current HEAD, because upstream is abandonware:
+# https://github.com/getsentry/milksnake/issues/28
+_commit=ef0723e41df23d8f6357570c69c1e69cb31f9e9e
+pkgver=0.1.5.r3.gef0723e
+pkgrel=1
+pkgdesc="Distribute dynamic linked libraries in Python wheels"
+arch=(any)
+url="https://github.com/getsentry/milksnake";
+license=(Apache)
+depends=(python-cffi)
+makedepends=(git python-setuptools)
+checkdepends=(cargo python-pytest python-virtualenv)
+source=(
+  "git+https://github.com/getsentry/$_name#commit=$_commit";
+  "${pkgname}-0.1.5-distutils.patch"
+)
+sha512sums=('SKIP'
+
'cee83c569881b0c30a31397b43997db6fd32518f34c871714eea0b722ebf974e550c0c40b6bfe3ab7e1dfaddee2d4fbaae31551f51d776337b38a7a26821814d')
+b2sums=('SKIP'
+
'9c4abaf5623ee3ff2fe15e0f90afe94b9e1a46cfa45d73bb3ee0abd59acd7e030cc1123a3da77f917cbd91ba96bdc278bda8223ac4c7f4c6fb249da3d369937c')
+
+pkgver() {
+  cd "$_name"
+  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+  cd "$_name"
+  # improve distutils build command: 
https://github.com/getsentry/milksnake/pull/30
+  patch -Np1 -i ../${pkgname}-0.1.5-distutils.patch
+}
+
+build() {
+  cd "$_name"
+  python setup.py build
+}
+
+check() {
+  cd "$_name"
+  export PYTHONPATH="build:$PYTHONPATH"
+  pytest -v -c /dev/null
+}
+
+package() {
+  cd "$_name"
+  python setup.py install --optimize=1 --root="$pkgdir"
+  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}

Added: python-milksnake/trunk/python-milksnake-0.1.5-distutils.patch
===
--- python-milksnake/trunk/python-milksnake-0.1.5-distutils.patch   
(rev 0)
+++ python-milksnake/trunk/python-milksnake-0.1.5-distutils.patch   
2022-02-08 19:03:55 UTC (rev 1129341)
@@ -0,0 +1,380 @@
+From f7f80752e7b2c0a343a69abb01a3c5be11fd6162 Mon Sep 17 00:00:00 2001
+From: messense 
+Date: Tue, 22 Jun 2021 13:39:45 +0800
+Subject: [PATCH 1/5] Patch distutils build command instead
+
+This removes the empty C extension trick.
+---
+ .gitignore  |  1 +
+ milksnake/setuptools_ext.py | 77 -
+ setup.py|  3 --
+ tests/conftest.py   |  8 +++-
+ tests/test_basic.py |  4 +-
+ 5 files changed, 34 insertions(+), 59 deletions(-)
+
+diff --git a/.gitignore b/.gitignore
+index 5e6e4be..b846d5f 100644
+--- a/.gitignore
 b/.gitignore
+@@ -5,3 +5,4 @@ build
+ __pycache__
+ .eggs
+ .pytest_cache
++tests/res/
+diff --git a/milksnake/setuptools_ext.py b/milksnake/setuptools_ext.py
+index 88cc549..bec6e80 100644
+--- a/milksnake/setuptools_ext.py
 b/milksnake/setuptools_ext.py
+@@ -1,19 +1,14 @@
+ import os
+ import sys
+-import uuid
+ import shutil
+-import tempfile
+ import subprocess
+ 
+ from distutils import log
+-from distutils.core import Extension
+-from distutils.ccompiler import new_compiler
+ from distutils.command.build_py import build_py
+ from distutils.command.build_ext import build_ext
+ 
+ from cffi import FFI
+ from cffi import recompiler as cffi_recompiler
+-from cffi import setuptools_ext as cffi_ste
+ 
+ try:
+ from wheel.bdist_wheel import bdist_wheel
+@@ -21,16 +16,6 @@
+ bdist_wheel = None
+ 
+ here = os.path.abspath(os.path.dirname(__file__))
+-EMPTY_C = u'''
+-void init%(mod)s(void) {}
+-void PyInit_%(mod)s(void) {}
+-'''
+-
+-BUILD_PY = u'''
+-import cffi
+-from milksnake.ffi import make_ffi
+-ffi = make_ffi(**%(kwargs)r)
+-'''
+ 
+ MODULE_PY = u'''# auto-generated file
+ __all__ = ['lib', 'ffi']
+@@ -88,24 +73,6 @@ def run(self):
+ func(base_path=base_path, inplace=False)
+ 
+ class MilksnakeBuildExt(base_build_ext):
+-def get_ext_fullpath(self, ext_name):
+-milksnake_dummy_ext = None
+-for ext in spec.dist.ext_modules:
+-if ext.name == ext_name:
+-milksnake_dummy_ext = getattr(
+-ext, 'milksnake_dummy_ext', None)
+-  

[arch-commits] Commit in (5 files)

2022-01-23 Thread David Runge via arch-commits
Date: Sunday, January 23, 2022 @ 17:36:40
  Author: dvzrv
Revision: 1113763

Add python-pdm-pep517 as dependency for python-pdm (which is required for a few 
packages in the repositories).

Added:
  python-pdm-pep517/
  python-pdm-pep517/repos/
  python-pdm-pep517/trunk/
  python-pdm-pep517/trunk/PKGBUILD
  python-pdm-pep517/trunk/python-pdm-pep517-0.10.1-devendor.patch

-+
 PKGBUILD|   53 ++
 python-pdm-pep517-0.10.1-devendor.patch |  111 ++
 2 files changed, 164 insertions(+)

Added: python-pdm-pep517/trunk/PKGBUILD
===
--- python-pdm-pep517/trunk/PKGBUILD(rev 0)
+++ python-pdm-pep517/trunk/PKGBUILD2022-01-23 17:36:40 UTC (rev 1113763)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge 
+
+_name=pdm-pep517
+pkgname=python-pdm-pep517
+pkgver=0.10.1
+pkgrel=4
+pkgdesc="A PEP 517 backend for PDM that supports PEP 621 metadata"
+arch=(any)
+url="https://github.com/pdm-project/pdm-pep517";
+license=(MIT)
+depends=(python-cerberus python-packaging python-pyparsing python-toml)
+makedepends=(python-build python-install)
+checkdepends=(git python-pytest python-setuptools)
+optdepends=(
+  'python-setuptools: for setuptools support'
+)
+source=(
+  
"https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";
+  "${pkgname}-0.10.1-devendor.patch"
+)
+sha512sums=('a02d3d3262ec62dbe44fdd66b6f08c911f1760814da275ffb9f6a6356371738cff85d3917525752e2d174ec4f00ba235ecc5c27f41af8230b2522ce9b033c31f'
+
'ac065d7ce661dec7c1f0e506539a3829f80183742178704fe71a476d72b9f48ff81083fb9c83fbf044063686bf321abdc3de830ff1d320f30c14c04cb3da7894')
+b2sums=('954338341652557b2baa1415d9274c8c7c204b3a65211b40316ec09d7b824a63038f30e620bca2d8bb38d70e68b7e4c9bd7ce06432e987923665f3a88de373a9'
+
'1b6f12f0da26ad96afd40a9cad000bba2cf191ff801e81868db861e1d3723f02644f97b4289ca89d605083cb1663590a62fe93b5e789dcd8472876b0caa14db8')
+
+prepare() {
+  cd "$_name-$pkgver"
+  # remove vendoring of python-cerberus, python-packaging, python-pyparsing 
and python-toml
+  patch -Np1 -i ../"${pkgname}-0.10.1-devendor.patch"
+  rm -frv pdm/pep517/_vendor
+}
+
+build() {
+  cd "$_name-$pkgver"
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd "$_name-$pkgver"
+
+  # set default git config for test
+  git config --global user.email "y...@example.com"
+  git config --global user.name "Your Name"
+  PYTHONPATH="build:$PYTHONPATH"
+  pytest -v
+}
+
+package() {
+  cd "$_name-$pkgver"
+  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}

Added: python-pdm-pep517/trunk/python-pdm-pep517-0.10.1-devendor.patch
===
--- python-pdm-pep517/trunk/python-pdm-pep517-0.10.1-devendor.patch 
(rev 0)
+++ python-pdm-pep517/trunk/python-pdm-pep517-0.10.1-devendor.patch 
2022-01-23 17:36:40 UTC (rev 1113763)
@@ -0,0 +1,111 @@
+diff -ruN a/pdm/pep517/metadata.py b/pdm/pep517/metadata.py
+--- a/pdm/pep517/metadata.py   2022-01-14 03:17:09.188181600 +0100
 b/pdm/pep517/metadata.py   2022-01-23 18:27:01.686617124 +0100
+@@ -17,9 +17,9 @@
+ Union,
+ )
+ 
+-from pdm.pep517._vendor import toml
+-from pdm.pep517._vendor.packaging.requirements import Requirement
+-from pdm.pep517._vendor.packaging.version import Version
++import toml
++from packaging.requirements import Requirement
++from packaging.version import Version
+ from pdm.pep517.license import license_lookup
+ from pdm.pep517.scm import get_version_from_scm
+ from pdm.pep517.utils import (
+diff -ruN a/pdm/pep517/scm.py b/pdm/pep517/scm.py
+--- a/pdm/pep517/scm.py2022-01-14 03:17:09.188181600 +0100
 b/pdm/pep517/scm.py2022-01-23 18:24:08.022566589 +0100
+@@ -11,8 +11,8 @@
+ from datetime import datetime
+ from typing import Any, Dict, Iterable, List, NamedTuple, Optional, Tuple, 
Union
+ 
+-from pdm.pep517._vendor.packaging.version import LegacyVersion, Version
+-from pdm.pep517._vendor.packaging.version import parse as parse_version
++from packaging.version import LegacyVersion, Version
++from packaging.version import parse as parse_version
+ 
+ DEFAULT_TAG_REGEX = re.compile(
+ r"^(?:[\w-]+-)?(?P[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$"
+diff -ruN a/pdm/pep517/sdist.py b/pdm/pep517/sdist.py
+--- a/pdm/pep517/sdist.py  2022-01-14 03:17:09.188181600 +0100
 b/pdm/pep517/sdist.py  2022-01-23 18:23:43.549126455 +0100
+@@ -5,7 +5,7 @@
+ from copy import copy
+ from typing import Any
+ 
+-from pdm.pep517._vendor import toml
++import toml
+ from pdm.pep517.base import Builder
+ 
+ 
+diff -ruN a/pdm/pep517/utils.py b/pdm/pep517/utils.py
+--- a/pdm/pep517/u

[arch-commits] Commit in (5 files)

2022-01-19 Thread Andreas Schleifer via arch-commits
Date: Wednesday, January 19, 2022 @ 21:30:37
  Author: segaja
Revision: 1110814

creat ruby-stringio 3.0.1-2

Added:
  ruby-stringio/
  ruby-stringio/repos/
  ruby-stringio/trunk/
  ruby-stringio/trunk/PKGBUILD
  ruby-stringio/trunk/cleanup_rakefile.patch

+
 PKGBUILD   |   58 +++
 cleanup_rakefile.patch |   77 +++
 2 files changed, 135 insertions(+)

Added: ruby-stringio/trunk/PKGBUILD
===
--- ruby-stringio/trunk/PKGBUILD(rev 0)
+++ ruby-stringio/trunk/PKGBUILD2022-01-19 21:30:37 UTC (rev 1110814)
@@ -0,0 +1,58 @@
+# Maintainer: Andreas 'Segaja' Schleifer 
+
+_gemname='stringio'
+pkgname="ruby-${_gemname}"
+pkgver=3.0.1
+pkgrel=2
+pkgdesc='Pseudo `IO` class from/to `String`.'
+arch=('any')
+url='https://github.com/ruby/stringio'
+license=('BSD' 'RUBY')
+depends=('ruby')
+makedepends=('ruby-bundler' 'ruby-rake' 'ruby-rake-compiler')
+checkdepends=('ruby-test-unit')
+options=(!emptydirs)
+source=(
+"${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+# based on 
https://github.com/ruby/stringio/commit/413071acea91ebb5eeeafe163d6d146d3b36211c
+cleanup_rakefile.patch)
+sha512sums=('7781ee20f7f3d546ee227d7366ac88731b65ea743c39280c4f3d2107d9001eef4a4d583760110817c31f4433f0a45812acd88a0b1b31b2863a8fdc3f54b19ea7'
+
'022dcd37e23d30d028bd8d81d99fff21991ebfc78aab606ba990c4bf12dd15bcc0169124bbe3bd7ad737fde35f81b03f92c31209d1fb72e85abfa515c3320220')
+
+prepare() {
+  cd "${_gemname}-${pkgver}"
+
+  patch --verbose --strip=1 --input=../cleanup_rakefile.patch
+
+  # update gemspec/Gemfile to allow newer version of the dependencies
+  sed --in-place --regexp-extended 's|~>|>=|g' "${_gemname}.gemspec"
+}
+
+build() {
+  cd "${_gemname}-${pkgver}"
+
+  rake build
+}
+
+check() {
+  cd "${_gemname}-${pkgver}"
+
+  rake test
+}
+
+package() {
+  cd "${_gemname}-${pkgver}"
+
+  local _gemdir="$(gem env gemdir)"
+  local _platform="$(gem env platform | cut -d':' -f2)"
+  local _extension_api_version="$(ruby -e'puts Gem.extension_api_version')"
+
+  gem install --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" 
"pkg/${_gemname}-${pkgver}.gem"
+
+  rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem" \
+  "${pkgdir}/${_gemdir}/gems/${_gemname}-${pkgver}/ext/stringio/Makefile" \
+  
"${pkgdir}/${_gemdir}/extensions/${_platform}/${_extension_api_version}/${_gemname}-${pkgver}/gem_make.out"
+
+  install -Dm 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 COPYING README.md --target-directory 
"${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: ruby-stringio/trunk/cleanup_rakefile.patch
===
--- ruby-stringio/trunk/cleanup_rakefile.patch  (rev 0)
+++ ruby-stringio/trunk/cleanup_rakefile.patch  2022-01-19 21:30:37 UTC (rev 
1110814)
@@ -0,0 +1,77 @@
+diff --git a/Rakefile b/Rakefile
+index 9c28f2e..296bdaf 100644
+--- a/Rakefile
 b/Rakefile
+@@ -3,63 +3,17 @@ require "rake/testtask"
+ 
+ name = "stringio"
+ 
++require 'rake/extensiontask'
++extask = Rake::ExtensionTask.new(name) do |x|
++  x.lib_dir << "/#{RUBY_VERSION}/#{x.platform}"
++end
+ Rake::TestTask.new(:test) do |t|
+-  ENV["RUBYOPT"] = "-Ilib"
+-  t.libs << "test" << "test/lib"
++  ENV["RUBYOPT"] = "-I" + [extask.lib_dir, 
"test/lib"].join(File::PATH_SEPARATOR)
++  t.libs << extask.lib_dir
++  t.libs << "test/lib"
+   t.ruby_opts << "-rhelper"
+   t.test_files = FileList["test/**/test_*.rb"]
+ end
+ 
+-task :sync_tool do
+-  require 'fileutils'
+-  FileUtils.cp "../ruby/tool/lib/core_assertions.rb", "./test/lib"
+-  FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
+-  FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
+-end
+-
+-require 'rake/extensiontask'
+-Rake::ExtensionTask.new(name)
+-
+-task :default => [:compile, :test]
+-
+-task "build" => "date_epoch"
+-task "date_epoch" do
+-  ENV["SOURCE_DATE_EPOCH"] = IO.popen(%W[git -C #{__dir__} log -1 
--format=%ct], &:read).chomp
+-end
+-
+-helper = Bundler::GemHelper.instance
+-def helper.version=(v)
+-  gemspec.version = v
+-  tag_version
+-end
+-
+-def helper.tag_version
+-  v = version.to_s
+-  src = "ext/stringio/stringio.c"
+-  File.open(File.join(__dir__, src), "r+b") do |f|
+-code = f.read
+-code.sub!(/^#define\s+STRINGIO_VERSION\s+\K".*"/) {v.dump}
+-f.rewind
+-f.write(code)
+-f.truncate(f.pos)
+-  end
+-  # system("git", "--no-pager", "-C", __dir__, "diff", "-U0", src, exception: 
true)
+-  system("git", "-C", __dir__, "commit", "-mBump version to #{version}", src, 
exception: true)
+-  super
+-end
+-
+-major, minor, teeny = helper.gemspec.version.segments
+-
+-task "bump:teeny" do
+-  helper.version = Gem::Version.new("#{major}.#{minor}.#{

[arch-commits] Commit in (5 files)

2022-01-16 Thread George Rawlinson via arch-commits
Date: Sunday, January 16, 2022 @ 08:30:09
  Author: grawlinson
Revision: 1105954

addpkg: bibutils 7.2-2

Added:
  bibutils/
  bibutils/repos/
  bibutils/trunk/
  bibutils/trunk/PKGBUILD
  bibutils/trunk/generate-man-pages.patch

--+
 PKGBUILD |   77 +
 generate-man-pages.patch |   36 +
 2 files changed, 113 insertions(+)

Added: bibutils/trunk/PKGBUILD
===
--- bibutils/trunk/PKGBUILD (rev 0)
+++ bibutils/trunk/PKGBUILD 2022-01-16 08:30:09 UTC (rev 1105954)
@@ -0,0 +1,77 @@
+# Maintainer: George Rawlinson 
+# Contributor: Dimitris Kiziridis 
+# Contributor: Sebastian Wilzbach < sebi at wilzbach dot me >
+# Contributor: Daniel Micay 
+# Contributor: Ivy Foster 
+# Contributor: Stefan Husmann 
+
+pkgname=bibutils
+pkgver=7.2
+pkgrel=2
+pkgdesc="Bibliography format interconversion"
+arch=('x86_64')
+url="http://sourceforge.net/p/bibutils/home/Bibutils";
+license=('GPL2')
+depends=('glibc')
+makedepends=('docbook-xsl' 'libxslt')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://downloads.sourceforge.net/${pkgname}/${pkgname}_${pkgver}_src.tgz";
+  'generate-man-pages.patch'
+)
+sha512sums=('6a8d1e616fee6a8aff38792cfb9d9b1797b5729d356c0e5651d713b2631ac81d2b287602026bbc4e8f52762f3b2a2d35b2da339f2387c98c2fbc99bb47c3b21e'
+
'57c8502504e085997591f9ed8238efba82ed9647942a71b09005f4a6b94a098d084c5c02d7d32ec3078b50e88a5fb499115a53daae3b44e50d038dbe7457330b')
+b2sums=('e58e740e8e68e72e7d1bd84cd45e50add17f18fabf42d737df0c4206ea085eb2368ff585136cb1f4c5c8ccc337041778f46a39381f557c0bee37fe7817d9c538'
+
'16ccdaa056836210b9a88c3293798525d48e5c0edeb6d1c376420314fad80c8f80f621c8f91aee13de17056ac0ab850c2d0963f10d130bfc6bb791f88f2a0cd0')
+
+prepare() {
+  cd "${pkgname}_${pkgver}"
+
+  # remove erroneous backslash from pkgconfig
+  sed -i -e 's:\\::g' packageconfig_start
+
+  # generate man pages for all commands
+  patch -p1 -i ../generate-man-pages.patch
+}
+
+build() {
+  cd "${pkgname}_${pkgver}"
+
+  ./configure \
+--dynamic \
+--install-dir "$pkgdir/usr/bin" \
+--install-lib "$pkgdir/usr/lib"
+
+  make DISTRO_CFLAGS="$CFLAGS" LDFLAGSIN="$LDFLAGS"
+
+  # generate man pages
+  local DBVER="$(ls -1 /usr/share/xml/docbook | grep nons | sed -e 
's/^xsl-stylesheets-//' -e 's/-nons$//')"
+  xsltproc \
+--output bibutils.1 \
+--nonet \
+"/usr/share/xml/docbook/xsl-stylesheets-$DBVER-nons/manpages/docbook.xsl" \
+bibutils.dbk
+}
+
+check() {
+  cd "${pkgname}_${pkgver}"
+  make DISTRO_CFLAGS="$CFLAGS" LDFLAGSIN="$LDFLAGS" test
+}
+
+package() {
+  cd "${pkgname}_${pkgver}"
+
+  # binaries/shared objects
+  make install
+
+  # headers
+  install -vDm644 -t "$pkgdir/usr/include/$pkgname" lib/*.h
+
+  # pkgconfig
+  install -vDm644 -t "$pkgdir/usr/lib/pkgconfig" "lib/$pkgname.pc"
+
+  # man pages
+  install -vDm644 -t "$pkgdir/usr/share/man/man1" *.1
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ChangeLog
+}

Added: bibutils/trunk/generate-man-pages.patch
===
--- bibutils/trunk/generate-man-pages.patch (rev 0)
+++ bibutils/trunk/generate-man-pages.patch 2022-01-16 08:30:09 UTC (rev 
1105954)
@@ -0,0 +1,36 @@
+--- a/bibutils.dbk
 b/bibutils.dbk
+@@ -45,12 +45,12 @@
+  &version; 
+  User Commands 
+   
+-  
+ 
+ bibutils
+   bibliography conversion utilities



[arch-commits] Commit in (5 files)

2022-01-14 Thread George Rawlinson via arch-commits
Date: Saturday, January 15, 2022 @ 07:43:05
  Author: grawlinson
Revision: 1104090

addpkg: freeorion 0.4.10.2-2

Added:
  freeorion/
  freeorion/repos/
  freeorion/trunk/
  freeorion/trunk/PKGBUILD
  freeorion/trunk/fix-version-string.patch

--+
 PKGBUILD |   62 +
 fix-version-string.patch |   21 +++
 2 files changed, 83 insertions(+)

Added: freeorion/trunk/PKGBUILD
===
--- freeorion/trunk/PKGBUILD(rev 0)
+++ freeorion/trunk/PKGBUILD2022-01-15 07:43:05 UTC (rev 1104090)
@@ -0,0 +1,62 @@
+# Maintainer: George Rawlinson 
+# Contributor: Dimitris Kiziridis 
+# Contributor: Christian Krause ("wookietreiber") 

+
+pkgname=freeorion
+pkgver=0.4.10.2
+pkgrel=2
+pkgdesc='A turn-based space empire and galactic conquest game'
+url='https://www.freeorion.org'
+arch=('x86_64')
+license=('GPL2')
+depends=(
+  'boost-libs'
+  'python'
+  'sdl2'
+  'libvorbis'
+  'glew'
+  'openal'
+  'hicolor-icon-theme'
+  'freetype2'
+)
+makedepends=(
+  'git'
+  'cmake'
+  'boost'
+)
+_commit='f663dad6379658b539bd28c95229218eb4333ef2'
+source=(
+  "$pkgname::git+https://github.com/freeorion/freeorion.git#commit=$_commit";
+  'fix-version-string.patch'
+)
+sha512sums=('SKIP'
+
'e3287063a3128f5589d44ed780ba7e3cdfb4a60bcb0aa833f9a48e51405e3f06ba11eb89b9d59313e629deaf35f78704574bf7620607b96c161037b54a63a71f')
+b2sums=('SKIP'
+
'38828f5cfd0ad3cba854c3457599a851b5d0af72ec00f742f5d828fffc1ef1a6163c771f69ce42f4c39ba2cff3b82330e16fdb89b63570d0b7f71810a257eade')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  patch \
+--directory "$pkgname" \
+--strip=1 \
+--input=../fix-version-string.patch
+
+  cmake \
+-B build \
+-S "$pkgname" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release
+}
+
+build() {
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}
+

Added: freeorion/trunk/fix-version-string.patch
===
--- freeorion/trunk/fix-version-string.patch(rev 0)
+++ freeorion/trunk/fix-version-string.patch2022-01-15 07:43:05 UTC (rev 
1104090)
@@ -0,0 +1,21 @@
+Prevent 'makepkg' showing up in version string.
+
+This is because the branch name is acquired during creation of
+the version string. The branch variable is normally empty, as
+shown by the diff below.
+
+--- a/cmake/make_versioncpp.py
 b/cmake/make_versioncpp.py
+@@ -133,11 +133,6 @@ branch = ""
+ build_no = INVALID_BUILD_NO
+
+ try:
+-branch = check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], 
universal_newlines=True).strip()
+-if (branch == "master") or (branch[:7] == "release"):
+-branch = ""
+-else:
+-branch += " "
+ commit = check_output(["git", "show", "--no-show-signature", "-s", 
"--format=%h", "--abbrev=7", "HEAD"], universal_newlines=True).strip()
+ timestamp = float(check_output(["git", "show", "--no-show-signature", 
"-s", "--format=%ct", "HEAD"], universal_newlines=True).strip())
+ build_no = 
".".join([datetime.utcfromtimestamp(timestamp).strftime("%Y-%m-%d"), commit])
+



[arch-commits] Commit in (5 files)

2022-01-12 Thread Alexander Epaneshnikov via arch-commits
Date: Wednesday, January 12, 2022 @ 18:57:14
  Author: alex19ep
Revision: 1101715

add ocrdesktop

Added:
  ocrdesktop/
  ocrdesktop/repos/
  ocrdesktop/trunk/
  ocrdesktop/trunk/PKGBUILD
  ocrdesktop/trunk/ocrdesktop.install

+
 PKGBUILD   |   21 +
 ocrdesktop.install |3 +++
 2 files changed, 24 insertions(+)

Added: ocrdesktop/trunk/PKGBUILD
===
--- ocrdesktop/trunk/PKGBUILD   (rev 0)
+++ ocrdesktop/trunk/PKGBUILD   2022-01-12 18:57:14 UTC (rev 1101715)
@@ -0,0 +1,21 @@
+# Maintainer: Alexander Epaneshnikov 
+# Contributor: Chrys 
+
+pkgname=ocrdesktop
+pkgver=3.0
+pkgrel=2
+pkgdesc="OCR the current window or desktop and make it browsable for the user"
+arch=('any')
+url="https://github.com/chrys87/ocrdesktop";
+license=('GPL3')
+depends=('libwnck3' 'python-atspi' 'python-pillow' 'python-webcolors' 
'python-scipy' 'python-pytesseract')
+install='ocrdesktop.install'
+source=("${pkgname}.tar.gz::https://github.com/chrys87/ocrdesktop/archive/refs/tags/v$pkgver.tar.gz";)
+sha512sums=('7b15be57a468afca068cd63164ef69bce0d240098513d78bfd786f7bcc72a1c5a181bc7592c9737a392a8c5a30752df2d58a85fae2f0531a6c8d3d46a41a4ca3')
+b2sums=('aa197056e8766b8c04de64c4050bd1a316da92b3405fc3d2b926d1acaacc4306df6e1f67fa1dca3fd3f7a96930f9a6fb18e9818eb51ffe85e25a3b73703e9189')
+
+package() {
+   cd ${pkgname}-${pkgver}
+   install -vDm755 ocrdesktop "$pkgdir/usr/bin/ocrdesktop"
+   install -vDm644 ocrdesktop.1.gz 
"${pkgdir}/usr/share/man/man1/ocrdesktop.1.gz"
+}

Added: ocrdesktop/trunk/ocrdesktop.install
===
--- ocrdesktop/trunk/ocrdesktop.install (rev 0)
+++ ocrdesktop/trunk/ocrdesktop.install 2022-01-12 18:57:14 UTC (rev 1101715)
@@ -0,0 +1,3 @@
+post_install() {
+   echo "you need to install tesseract-data- for working 
with this application"
+}



[arch-commits] Commit in (5 files)

2022-01-09 Thread Daniel M. Capella via arch-commits
Date: Sunday, January 9, 2022 @ 23:58:11
  Author: polyzen
Revision: 1098771

upgpkg: xandikos 0.2.8-1

Added:
  python-aiohttp-openmetrics/
  python-aiohttp-openmetrics/repos/
  python-aiohttp-openmetrics/trunk/
  python-aiohttp-openmetrics/trunk/PKGBUILD
Modified:
  xandikos/trunk/PKGBUILD

---+
 python-aiohttp-openmetrics/trunk/PKGBUILD |   27 +++
 xandikos/trunk/PKGBUILD   |   11 ++-
 2 files changed, 33 insertions(+), 5 deletions(-)

Added: python-aiohttp-openmetrics/trunk/PKGBUILD
===
--- python-aiohttp-openmetrics/trunk/PKGBUILD   (rev 0)
+++ python-aiohttp-openmetrics/trunk/PKGBUILD   2022-01-09 23:58:11 UTC (rev 
1098771)
@@ -0,0 +1,27 @@
+# Maintainer: Daniel M. Capella 
+
+_name=aiohttp-openmetrics
+pkgname=python-aiohttp-openmetrics
+pkgver=0.0.4
+pkgrel=1
+pkgdesc='OpenMetrics provider for aiohttp'
+arch=('any')
+url=https://github.com/jelmer/aiohttp-openmetrics
+license=('Apache')
+depends=('python-aiohttp' 'python-prometheus_client')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('4bc4edb292907fb68f5938e1d17c7bf59b4a1617c581ac199782a63c887a4f1d')
+b2sums=('3bc914d5d14dde8b562946e9b3212037bd48df2fba4ef0b0489e9ce4abf4b0d6f43107696b3ca93bb892b19d466202741fc4fd67b20be0b7a4e6f4c9b6f42a4e')
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et:

Modified: xandikos/trunk/PKGBUILD
===
--- xandikos/trunk/PKGBUILD 2022-01-09 23:52:51 UTC (rev 1098770)
+++ xandikos/trunk/PKGBUILD 2022-01-09 23:58:11 UTC (rev 1098771)
@@ -1,20 +1,20 @@
 # Maintainer: Daniel M. Capella 
 
 pkgname=xandikos
-pkgver=0.2.7
+pkgver=0.2.8
 pkgrel=1
 pkgdesc='Lightweight yet complete CardDAV/CalDAV server that backs onto a Git 
repository'
 arch=('any')
-url=https://www.xandikos.org/
+url=https://www.xandikos.org
 license=('GPL3')
 depends=('python-aiohttp' 'python-defusedxml' 'python-dulwich'
  'python-icalendar' 'python-jinja' 'python-multidict')
 makedepends=('python-setuptools')
-optdepends=('python-prometheus_client: for metrics with the standalone server'
+optdepends=('python-aiohttp-openmetrics: for metrics with the standalone 
server'
 'uwsgi-plugin-python: for the WSGI interface')
 
source=("https://files.pythonhosted.org/packages/source/x/xandikos/xandikos-$pkgver.tar.gz";)
-sha256sums=('e5c7d6157b9b2b044f9de4b1387504e004d0e24a62dc0a2ebcaa751c6a3f7fea')
-b2sums=('09e39f8302c60aea8785d6d344d006a071758f6831de4a7548fe71dc2db1f2dea6f301bf8e0cd21b54680fac17fab6ac8dc86ae75bf4a165d40aea0b41e4e95b')
+sha256sums=('16f174f75d0b4a766f9a41e2fe2700e5d77e77d9a9990cee3d619dc1d8aff001')
+b2sums=('9e4ac9eb668bddcf186c35e2927f079887388e42dc269d9be4999a479fe8f4bcf42b383e2d155cd5b70e0f5b2c7c08cb4d8313ee0583eca7297661a89462f82e')
 
 build() {
   cd xandikos-$pkgver
@@ -31,6 +31,7 @@
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos README.rst
   install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos/examples examples/*
+  #install -Dm644 -t "$pkgdir"/usr/share/man/man8 man/xandikos.8
 }
 
 # vim:set ts=2 sw=2 et:



[arch-commits] Commit in (5 files)

2022-01-08 Thread Pierre Schmitz via arch-commits
Date: Saturday, January 8, 2022 @ 20:59:14
  Author: pierre
Revision: 433976

Add OpenSSL 1.1 compatibility package

Added:
  openssl-1.1/
  openssl-1.1/repos/
  openssl-1.1/trunk/
  openssl-1.1/trunk/PKGBUILD
  openssl-1.1/trunk/ca-dir.patch

--+
 PKGBUILD |   77 +
 ca-dir.patch |   31 ++
 2 files changed, 108 insertions(+)

Added: openssl-1.1/trunk/PKGBUILD
===
--- openssl-1.1/trunk/PKGBUILD  (rev 0)
+++ openssl-1.1/trunk/PKGBUILD  2022-01-08 20:59:14 UTC (rev 433976)
@@ -0,0 +1,77 @@
+# Maintainer: Pierre Schmitz 
+
+pkgname=openssl-1.1
+_pkgname=openssl
+_ver=1.1.1m
+# use a pacman compatible version scheme
+pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
+pkgrel=1
+pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer 
Security'
+arch=('x86_64')
+url='https://www.openssl.org'
+license=('custom:BSD')
+depends=('glibc')
+conflicts('openssl<3')
+makedepends=('perl')
+source=("https://www.openssl.org/source/${_pkgname}-${_ver}.tar.gz"{,.asc}
+'ca-dir.patch')
+sha256sums=('f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96'
+'SKIP'
+'75aa8c2c638c8a3ebfd9fa146fc61c7ff878fc997dc6aa10d39e4b2415d669b2')
+validpgpkeys=('8657ABB260F056B1E5190839D9C4D26D0E604491'
+  '7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C')
+
+prepare() {
+   cd "$srcdir/$_pkgname-$_ver"
+
+   # set ca dir to /etc/ssl by default
+   patch -p0 -i "$srcdir/ca-dir.patch"
+}
+
+build() {
+   cd "$srcdir/$_pkgname-$_ver"
+
+   # mark stack as non-executable: http://bugs.archlinux.org/task/12434
+   ./Configure --prefix=/usr --openssldir=/etc/ssl 
--libdir=lib/openssl-1.1 \
+   shared no-ssl3-method enable-ec_nistp_64_gcc_128 linux-x86_64 \
+   "-Wa,--noexecstack ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
+
+   make depend
+   make
+}
+
+check() {
+   cd "$srcdir/$_pkgname-$_ver"
+
+   # the test fails due to missing write permissions in /etc/ssl
+   # revert this patch for make test
+   patch -p0 -R -i "$srcdir/ca-dir.patch"
+
+   make test
+
+   patch -p0 -i "$srcdir/ca-dir.patch"
+   # re-run make to re-generate CA.pl from th patched .in file.
+   make apps/CA.pl
+}
+
+package() {
+   cd "$srcdir/$_pkgname-$_ver"
+
+   make DESTDIR="$pkgdir" install_sw
+
+   # Move some files around
+   install -m755 -d "$pkgdir/usr/include/openssl-1.1"
+   mv "$pkgdir/usr/include/openssl" "$pkgdir/usr/include/openssl-1.1/"
+   mv "$pkgdir/usr/lib/openssl-1.1/libcrypto.so.1.1" "$pkgdir/usr/lib/"
+   mv "$pkgdir/usr/lib/openssl-1.1/libssl.so.1.1" "$pkgdir/usr/lib/"
+   ln -sf ../libssl.so.1.1 "$pkgdir/usr/lib/openssl-1.1/libssl.so"
+ln -sf ../libcrypto.so.1.1 "$pkgdir/usr/lib/openssl-1.1/libcrypto.so"
+   mv "$pkgdir/usr/bin/openssl" "$pkgdir/usr/bin/openssl-1.1"
+
+   # Update includedir in .pc files
+   sed -e 's|/include$|/include/openssl-1.1|' -i 
"$pkgdir"/usr/lib/openssl-1.1/pkgconfig/*.pc
+
+   rm -rf "$pkgdir"/{etc,usr/bin/c_rehash}
+
+   install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Added: openssl-1.1/trunk/ca-dir.patch
===
--- openssl-1.1/trunk/ca-dir.patch  (rev 0)
+++ openssl-1.1/trunk/ca-dir.patch  2022-01-08 20:59:14 UTC (rev 433976)
@@ -0,0 +1,31 @@
+--- apps/CA.pl.in  2019-09-10 15:13:07.0 +0200
 apps/CA.pl.in  2019-10-06 09:34:23.960864556 +0200
+@@ -33,7 +33,7 @@
+ my $PKCS12 = "$openssl pkcs12";
+ 
+ # default openssl.cnf file has setup as per the following
+-my $CATOP = "./demoCA";
++my $CATOP = "/etc/ssl";
+ my $CAKEY = "cakey.pem";
+ my $CAREQ = "careq.pem";
+ my $CACERT = "cacert.pem";
+--- apps/openssl.cnf   2019-09-10 15:13:07.0 +0200
 apps/openssl.cnf   2019-10-06 09:34:23.960864556 +0200
+@@ -42,7 +42,7 @@
+ 
+ [ CA_default ]
+ 
+-dir   = ./demoCA  # Where everything is kept
++dir   = /etc/ssl  # Where everything is kept
+ certs = $dir/certs# Where the issued certs are kept
+ crl_dir   = $dir/crl  # Where the issued crl are kept
+ database  = $dir/index.txt# database index file.
+@@ -325,7 +325,7 @@
+ [ tsa_config1 ]
+ 
+ # These are used by the TSA reply generation only.
+-dir   = ./demoCA  # TSA root directory
++dir   = /etc/ssl  # TSA root directory
+ serial= $dir/tsaserial# The current serial number 
(mandatory)
+ crypto_device = builtin   # OpenSSL engine to use for signing
+ signer_cert   = $dir/tsacert.pem  # The TSA signing certificate



[arch-commits] Commit in (5 files)

2022-01-07 Thread Tobias Powalowski via arch-commits
Date: Friday, January 7, 2022 @ 15:10:06
  Author: tpowa
Revision: 433764

'newpkg:archboot-arm'

Added:
  archboot-arm/
  archboot-arm/repos/
  archboot-arm/trunk/
  archboot-arm/trunk/PKGBUILD
  archboot-arm/trunk/archboot.install

--+
 PKGBUILD |   45 +
 archboot.install |   19 +++
 2 files changed, 64 insertions(+)

Added: archboot-arm/trunk/PKGBUILD
===
--- archboot-arm/trunk/PKGBUILD (rev 0)
+++ archboot-arm/trunk/PKGBUILD 2022-01-07 15:10:06 UTC (rev 433764)
@@ -0,0 +1,45 @@
+# Maintainer : Tobias Powalowski 
+
+pkgname=archboot-arm
+pkgver=2022.01
+pkgrel=4
+pkgdesc="Advanced, modular arch boot/install image creation utility with 
aarch64 depends"
+arch=(any)
+license=('GPL')
+url="https://wiki.archlinux.org/title/Archboot";
+depends=('mkinitcpio' 'wget' 'bash' 'coreutils' 'cryptsetup' 'dialog' 
'e2fsprogs' 'findutils' 'gawk' 'grep' 'iputils' 'jfsutils'
+ 'less' 'lvm2' 'mdadm' 'kmod' 'nano' 'ncurses' 'net-tools' 
'gnu-netcat' 'procps-ng' 'psmisc' 'reiserfsprogs' 'sed' 'snarf'
+ 'tar' 'util-linux' 'bind' 'which' 'kbd' 'wireless_tools' 'xfsprogs' 
'hdparm' 'inetutils'
+ 'openssh' 'hwdetect' 'shadow' 'bridge-utils' 'ifenslave' 'dosfstools' 
'glibc' 'linux' 'kexec-tools' 'ppp' 'rp-pppoe'
+ 'iptables-nft' 'ntfs-3g' 'pciutils' 'usbutils' 'vpnc' 'openvpn' 
'b43-fwcutter' 'wpa_supplicant' 'rsync' 'gzip' 'libarchive'
+'device-mapper' 'screen' 'elfutils' 'pam' 'cracklib' 'nfs-utils' 
'nfsidmap' 'readline' 'acl' 'attr' 'pcre' 'cpio'
+'fuse' 'libusb' 'vim' 'lzo' 'libsasl' 'libldap' 'gpm' 'libevent' 
'gcc-libs' 'sdparm' 'licenses' 'pptpclient' 
+'smbclient'  'dhcpcd' 'openssl' 'dmraid' 'linux-atm' 'netctl' 'parted' 
'tzdata' 'ntp' 'libgcrypt' 'iw' 'crda'
+'libnl' 'iproute2' 'wireless-regdb' 'dhclient' 'mtools' 'fsarchiver' 
'xz' 'libtirpc' 'rpcbind' 'testdisk'
+'wipe' 'ddrescue' 'ifplugd' 'libgssglue' 'mkinitcpio-nfs-utils' 
'gptfdisk' 'nilfs-utils' 'btrfs-progs'
+'iana-etc' 'libusb-compat' 'keyutils' 'libisoburn' 'file' 'curl'  
'smartmontools' 'dnsmasq' 'lftp'
+'openconnect' 'libxml2' 'libproxy' 'tcpdump' 'nmap' 'lua' 'gnutls' 
'nettle' 'libtasn1' 'expat' 'progsreiserfs'
+'glib2' 'freetype2' 'libssh2' 'libedit' 'talloc' 'libjpeg-turbo' 
'dmidecode' 'pth' 'gnupg' 'libksba' 'libassuan' 'pinentry'
+'gpgme' 'ldns' 'dnssec-anchors' 'hwids' 'systemd' 'archlinux-keyring' 
'haveged' 'pambase' 'traceroute' 'grub' 
+'systemd-sysvcompat' 'arch-install-scripts' 'zsh' 'gdbm' 
'grml-zsh-config' 'cpupower' 'wvdial' 'xl2tpd' 
+'usb_modeswitch' 'efibootmgr' 'f2fs-tools' 'efitools' 'efivar' 
'ethtool' 'exfatprogs' 
+'fuse3' 'flex' 'expac' 'amd-ucode' 'cdrtools' 'mktorrent' 'nvme-cli' 
'fatresize' 'iwd' 'elinks' 'lshw' 
+'sbsigntools' 'openresolv' 'mokutil')
+makedepends=('git')
+optdepends=('archboot-linux-firmware: for stripped down firmware inclusion on 
image file'
+'linux-firmware: for firmware inclusion on image file')
+source=("git+https://gitlab.archlinux.org/tpowa/archboot.git#tag=${pkgver}-${pkgrel}?signed";)
+backup=('etc/archboot/x86_64.conf'
+'etc/archboot/presets/x86_64'
+   'etc/archboot/presets/aarch64'
+   'etc/archboot/aarch64.conf'
+)
+install=archboot.install
+sha256sums=('SKIP')
+validgpgkeys=('5B7E3FB71B7F10329A1C03AB771DF6627EDF681F' # Tobias Powalowski 

+ )
+package()
+{
+  cd "$srcdir/archboot"
+  mv etc/ usr/ "$pkgdir/"
+}

Added: archboot-arm/trunk/archboot.install
===
--- archboot-arm/trunk/archboot.install (rev 0)
+++ archboot-arm/trunk/archboot.install 2022-01-07 15:10:06 UTC (rev 433764)
@@ -0,0 +1,19 @@
+# This is a default template for a post-install scriptlet.  You can
+# remove any functions you don't need (and this header).
+
+# arg 1:  the new package version
+post_install() {
+  cat << EOF
+ARCHBOOT usage:
+---
+--> https://wiki.archlinux.org/title/Archboot
+EOF
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+op=$1
+shift
+$op $*



[arch-commits] Commit in (5 files)

2022-01-01 Thread George Rawlinson via arch-commits
Date: Saturday, January 1, 2022 @ 21:24:06
  Author: grawlinson
Revision: 1092009

addpkg: oil 0.9.6-1

Added:
  oil/
  oil/repos/
  oil/trunk/
  oil/trunk/PKGBUILD
  oil/trunk/oil.install

-+
 PKGBUILD|   37 +
 oil.install |   12 
 2 files changed, 49 insertions(+)

Added: oil/trunk/PKGBUILD
===
--- oil/trunk/PKGBUILD  (rev 0)
+++ oil/trunk/PKGBUILD  2022-01-01 21:24:06 UTC (rev 1092009)
@@ -0,0 +1,37 @@
+# Maintainer: George Rawlinson 
+# Contributor: Yigit Sever 
+# Contributor: Qontinuum 
+# Contributor: timetoplatypus 
+# Contributor: andychu 
+
+pkgname=oil
+pkgver=0.9.6
+pkgrel=1
+pkgdesc="A new Unix shell"
+arch=('x86_64')
+url="https://www.oilshell.org";
+license=('Apache')
+depends=('readline')
+makedepends=('bash')
+replaces=('osh')
+install=oil.install
+options=('!lto' '!strip')
+source=("$url/download/$pkgname-$pkgver.tar.xz")
+sha512sums=('541834c75ee9253370edbadc503e96d5a6cad7ea0447b797fe215266a4926e15a4d0c4549153cedef79781768a8e17697fe136b8716ca4355f23a667cfc4244c')
+b2sums=('148cb2ef2fbee45e16b267484038576833447c7d6dda2be9c25ea6859bda2be948d5ff0f338dec4dc9dbd83ff9a59c42b900f3be1a65fa00fbcf1e0d7ba06128')
+
+build() {
+   cd "$pkgname-$pkgver"
+
+   ./configure \
+--prefix=/usr \
+--with-readline
+
+   make
+}
+
+package() {
+   cd "$pkgname-$pkgver"
+
+   make DESTDIR="$pkgdir" install
+}

Added: oil/trunk/oil.install
===
--- oil/trunk/oil.install   (rev 0)
+++ oil/trunk/oil.install   2022-01-01 21:24:06 UTC (rev 1092009)
@@ -0,0 +1,12 @@
+post_install() {
+  grep -Fqx /bin/osh /etc/shells || echo /bin/osh >>/etc/shells
+  grep -Fqx /usr/bin/osh /etc/shells || echo /usr/bin/osh >>/etc/shells
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  sed -i -r '/^(\/usr)?\/bin\/osh$/d' etc/shells
+}



[arch-commits] Commit in (5 files)

2021-12-20 Thread Orhun Parmaksiz via arch-commits
Date: Monday, December 20, 2021 @ 18:43:14
  Author: orhun
Revision: 1080616

addpkg: mcfly 0.5.11-2

Added:
  mcfly/
  mcfly/repos/
  mcfly/trunk/
  mcfly/trunk/PKGBUILD
  mcfly/trunk/mcfly.install

---+
 PKGBUILD  |   46 ++
 mcfly.install |6 ++
 2 files changed, 52 insertions(+)

Added: mcfly/trunk/PKGBUILD
===
--- mcfly/trunk/PKGBUILD(rev 0)
+++ mcfly/trunk/PKGBUILD2021-12-20 18:43:14 UTC (rev 1080616)
@@ -0,0 +1,46 @@
+# Maintainer: Orhun Parmaksız 
+# Contributor: Andrew Sun 
+# Contributor: Bruce Zhang 
+
+pkgname=mcfly
+pkgver=0.5.11
+pkgrel=2
+pkgdesc="Fly through your shell history"
+arch=('x86_64')
+url="https://github.com/cantino/mcfly";
+license=('MIT')
+depends=('sh')
+optdepends=('zsh: for zsh support'
+'fish: for fish support')
+makedepends=('rust')
+install=mcfly.install
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('ca22a600b5b1c0ca1acff6fd1ce05680a581795567f759ff99a917401bfd835e')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --frozen --release
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --frozen
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+
+  install -Dm 644 "$pkgname.bash" -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 "$pkgname.zsh" -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 "$pkgname.fish" -t 
"$pkgdir/usr/share/fish/vendor_completions.d"
+}
+
+# vim: ts=2 sw=2 et:

Added: mcfly/trunk/mcfly.install
===
--- mcfly/trunk/mcfly.install   (rev 0)
+++ mcfly/trunk/mcfly.install   2021-12-20 18:43:14 UTC (rev 1080616)
@@ -0,0 +1,6 @@
+post_install() {
+echo ""
+echo "Add the following code to your .bashrc file:"
+echo "source /usr/share/doc/mcfly/mcfly.bash"
+echo ""
+}
\ No newline at end of file



[arch-commits] Commit in (5 files)

2021-12-18 Thread Caleb Maclennan via arch-commits
Date: Saturday, December 18, 2021 @ 21:14:12
  Author: alerque
Revision: 1077768

Migrate python-geojson from AUR

Added:
  python-geojson/
  python-geojson/repos/
  python-geojson/trunk/
  
python-geojson/trunk/0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
  python-geojson/trunk/PKGBUILD

-+
 0001-Remove-encoding-parameter-from-json.load-for-Python-.patch |   26 ++
 PKGBUILD|   40 
++
 2 files changed, 66 insertions(+)

Added: 
python-geojson/trunk/0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
===
--- 
python-geojson/trunk/0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
(rev 0)
+++ 
python-geojson/trunk/0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
2021-12-18 21:14:12 UTC (rev 1077768)
@@ -0,0 +1,26 @@
+From d88e32f1b05ad287a8d612e6f61ed7432fc72957 Mon Sep 17 00:00:00 2001
+From: Karthikeyan Singaravelan 
+Date: Mon, 10 Aug 2020 10:06:14 +0530
+Subject: [PATCH] Remove encoding parameter from json.load for Python 3.9
+ compatibility. (#151)
+
+---
+ tests/test_features.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_features.py b/tests/test_features.py
+index 529de70..e2b56e9 100644
+--- a/tests/test_features.py
 b/tests/test_features.py
+@@ -82,7 +82,7 @@ class FeaturesTest(unittest.TestCase):
+ ' "properties": {"summary": "The first feature",'
+ ' "link": "http://example.org/features/1";,'
+ ' "title": "Feature 1"}}')
+-feature = geojson.loads(json, object_hook=factory, encoding="utf-8")
++feature = geojson.loads(json, object_hook=factory)
+ self.assertEqual(repr(type(feature)),
+  "")
+ self.assertEqual(feature.id, '1')
+-- 
+2.32.0
+

Added: python-geojson/trunk/PKGBUILD
===
--- python-geojson/trunk/PKGBUILD   (rev 0)
+++ python-geojson/trunk/PKGBUILD   2021-12-18 21:14:12 UTC (rev 1077768)
@@ -0,0 +1,40 @@
+# Maintainer: Caleb Maclennan 
+# Contributor: Alexander Fasching 
+# Contributor: Johannes Loethberg 
+
+_pyname=geojson
+pkgname="python-$_pyname"
+pkgver=2.5.0
+pkgrel=3
+pkgdesc='Python bindings and utilities for GeoJSON'
+url="https://github.com/frewsxcv/$pkgname";
+arch=(any)
+license=(BSD)
+depends=(python)
+makedepends=(python-setuptools)
+_archive="$_pyname-$pkgver"
+source=("$_archive.tgz::$url/archive/$pkgver.tar.gz"
+0001-Remove-encoding-parameter-from-json.load-for-Python-.patch)
+sha256sums=('e24040ec8efc582d2d3ef71b4e922ab5fe3b2bdd'
+  'fcb3e74597fe4858c95ab63c2d38b04f27e80516')
+
+prepare() {
+   cd "$_archive"
+   patch -p1 < 
../0001-Remove-encoding-parameter-from-json.load-for-Python-.patch
+}
+
+build() {
+   cd "$_archive"
+   python setup.py build
+}
+
+check() {
+   cd "$_archive"
+   python setup.py test
+}
+
+package() {
+   cd "$_archive"
+   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+   install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.rst
+}



[arch-commits] Commit in (5 files)

2021-12-08 Thread Antonio Rojas via arch-commits
Date: Wednesday, December 8, 2021 @ 09:34:43
  Author: arojas
Revision: 1065628

extra2community: Moving bcprov from extra to community

Added:
  bcprov/
  bcprov/repos/
  bcprov/trunk/
  bcprov/trunk/LICENSE.html
  bcprov/trunk/PKGBUILD

--+
 LICENSE.html |   22 ++
 PKGBUILD |   23 +++
 2 files changed, 45 insertions(+)

Added: bcprov/trunk/LICENSE.html
===
--- bcprov/trunk/LICENSE.html   (rev 0)
+++ bcprov/trunk/LICENSE.html   2021-12-08 09:34:43 UTC (rev 1065628)
@@ -0,0 +1,22 @@
+
+
+
+Copyright (c) 2000-2016 The Legion of the Bouncy Castle Inc. 
(http://www.bouncycastle.org)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software 
+and associated documentation files (the "Software"), to deal in the Software 
without restriction, 
+including without limitation the rights to use, copy, modify, merge, publish, 
distribute, sublicense, 
+and/or sell copies of the Software, and to permit persons to whom the Software 
is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all 
copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
PARTICULAR
+PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE 
OR OTHER
+DEALINGS IN THE SOFTWARE.
+
+

Added: bcprov/trunk/PKGBUILD
===
--- bcprov/trunk/PKGBUILD   (rev 0)
+++ bcprov/trunk/PKGBUILD   2021-12-08 09:34:43 UTC (rev 1065628)
@@ -0,0 +1,23 @@
+# Maintainer: Jan de Groot 
+
+pkgname=bcprov
+pkgver=1.70
+pkgrel=1
+pkgdesc="Java cryptography APIs (Bouncy Castle)"
+arch=('any')
+url="https://www.bouncycastle.org/java.html";
+license=('custom')
+source=(https://www.bouncycastle.org/download/bcprov-jdk15on-${pkgver/./}.jar
+LICENSE.html)
+noextract=(bcprov-jdk15on-${pkgver/./}.jar)
+sha256sums=('8f3c20e3e2d565d26f33e8d4857a37d0d7f8ac39b62a7026496fcab1bdac30d4'
+'e9bb81d9c9486a5de0d1facd674e761b46cc421ddd31bbd2b100871a8bea2ed6')
+
+package() {
+  depends=('java-runtime')
+  cd "${srcdir}"
+  install -m755 -d "${pkgdir}/usr/share/java"
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 bcprov-jdk15on-${pkgver/./}.jar 
"${pkgdir}/usr/share/java/bcprov.jar"
+  install -m644 LICENSE.html "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



[arch-commits] Commit in (5 files)

2021-12-01 Thread Alexander Rødseth via arch-commits
Date: Wednesday, December 1, 2021 @ 17:54:12
  Author: arodseth
Revision: 1060630

Add scrcpy (214 votes on AUR, Apache license)

Added:
  scrcpy/
  scrcpy/repos/
  scrcpy/repos/community-x86_64/
  scrcpy/trunk/
  scrcpy/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Added: scrcpy/trunk/PKGBUILD
===
--- scrcpy/trunk/PKGBUILD   (rev 0)
+++ scrcpy/trunk/PKGBUILD   2021-12-01 17:54:12 UTC (rev 1060630)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Andrew Rabert 
+
+pkgname=scrcpy
+pkgver=1.21
+pkgrel=1
+pkgdesc='Display and control your Android device'
+arch=(x86_64)
+url='https://github.com/Genymobile/scrcpy'
+license=(Apache)
+depends=(android-tools ffmpeg sdl2)
+makedepends=(meson)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+"$url/releases/download/v$pkgver/$pkgname-server-v$pkgver")
+b2sums=('c7228ada86c41f2ba460759ad0701a08a11a71992b517366afa5130a3c69fc01d5aabf6710e289e47a7042bd11bfb58482305214ee937191daa43ffb6c12788a'
+
'92d90606a04adb67ac956feffb4ff2e658d294304d0bade42d08660bac312cb447a713f052d353ba9fa454a55fac5334a08fe7a847f758c27bf50589ab0926b5')
+
+build() {
+  mkdir -p build
+  arch-meson build $pkgname-$pkgver \
+-D b_lto=true \
+-D b_ndebug=true \
+-D prebuilt_server="../$pkgname-server-v$pkgver"
+  ninja -v -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm644 $pkgname-$pkgver/LICENSE \
+-t "$pkgdir/usr/share/licenses/$pkgname"
+}



[arch-commits] Commit in (5 files)

2021-11-11 Thread David Runge via arch-commits
Date: Thursday, November 11, 2021 @ 10:13:27
  Author: dvzrv
Revision: 1041957

Add stochas.

Added:
  stochas/
  stochas/repos/
  stochas/trunk/
  stochas/trunk/PKGBUILD
  stochas/trunk/stochas-1.3.4-devendor_juce.patch

---+
 PKGBUILD  |   66 
 stochas-1.3.4-devendor_juce.patch |   30 
 2 files changed, 96 insertions(+)

Added: stochas/trunk/PKGBUILD
===
--- stochas/trunk/PKGBUILD  (rev 0)
+++ stochas/trunk/PKGBUILD  2021-11-11 10:13:27 UTC (rev 1041957)
@@ -0,0 +1,66 @@
+# Maintainer: David Runge 
+
+_name=Stochas
+pkgname=stochas
+pkgver=1.3.4
+pkgrel=3
+pkgdesc="A probabilistic polyrhythmic sequencer"
+arch=('x86_64')
+url="https://surge-synth-team.org/stochas";
+license=('GPL3')
+groups=(pro-audio vst3-plugins)
+depends=(gcc-libs glibc hicolor-icon-theme libpng zlib)
+makedepends=(alsa-lib cmake flac freetype2 gendesk jack libogg libvorbis 
libx11 libxcursor libxinerama libxrandr juce)
+checkdepends=()
+optdepends=(
+  'jack: to use standalone with JACK'
+  'vst3-host: for VST3 plugin'
+)
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/surge-synthesizer/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz";
+  "${pkgname}-1.3.4-devendor_juce.patch"
+)
+sha512sums=('fc2935d0e1ade8abcbcb0a5e5e03c741f45d2bb03a4f070a40848a9e62b6e877275ae18e68e33bcbca17566435f190a4ca985a09a2e7411ba404e9243382bab8'
+
'32da969ddd4693c4b753269cc4169487dd7bcf42551f1e20ee8a9d9d23d24f850ffde2f7228863ad0a92e461680e885ee71444f8ba5c440b3dbc242a792b435c')
+b2sums=('8051303f509c3ebcbf70eb80caefedf48152f3739c2e9181dc8907ad976b944400f5678cac2cadc1eec51966896321ba63020a8acb53431abb1d71cd075ddfa9'
+
'f57cc2bd496c49f8cc55429031330ebc54fe202d18d4b719070b1f550dbb5f5ffb01fe9e7148a898b3b62acfcc1410fbdc6c56de103364c4d91f0660cf5a2fdb')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  patch -Np1 -i ../"${pkgname}-1.3.4-devendor_juce.patch"
+
+  gendesk -n \
+  --pkgname "org.surge-synth-team.${_name}" \
+  --pkgdesc "${pkgdesc}" \
+  --exec "${_name}" \
+  --name "${_name}" \
+  --icon "org.surge-synth-team.${_name}" \
+  --genericname "Audio Sequencer" \
+  --categories "AudioVideo;Audio"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  export CFLAGS+=" -DNDEBUG"
+  export CXXFLAGS+=" -DNDEBUG"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE='None' \
+-DBoost_NO_BOOST_CMAKE=ON \
+-Wno-dev \
+-B build \
+-S .
+  make VERBOSE=1 -C build
+}
+
+package() {
+  depends+=(libFLAC.so libasound.so libfreetype.so libjpeg.so libogg.so 
libvorbis.so libvorbisenc.so libvorbisfile.so)
+
+  cd "$pkgname-$pkgver"
+  # project has no install target :(
+  install -vDm 755 build/${pkgname}_artefacts/None/Standalone/${_name} -t 
"${pkgdir}/usr/bin/"
+  install -vDm 755 
build/${pkgname}_artefacts/None/VST3/${_name}.vst3/Contents/${CARCH}-linux/${_name}.so
 \
+-t "${pkgdir}/usr/lib/vst3/Stochas.vst3/Contents/${CARCH}-linux/"
+
+  install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications/"
+  install -vDm 644 image/app_logo_512.png 
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/org.surge-synth-team.${_name}.png"
+}

Added: stochas/trunk/stochas-1.3.4-devendor_juce.patch
===
--- stochas/trunk/stochas-1.3.4-devendor_juce.patch 
(rev 0)
+++ stochas/trunk/stochas-1.3.4-devendor_juce.patch 2021-11-11 10:13:27 UTC 
(rev 1041957)
@@ -0,0 +1,30 @@
+diff -ruN a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt   2020-11-01 18:23:59.0 +0100
 b/CMakeLists.txt   2021-11-11 10:09:50.134726938 +0100
+@@ -50,7 +50,13 @@
+ # I'm not sure at this point whether this has any effect. I know etting it to 
"Instrument" causes it to show as
+ # VSTi in reaper whereas setting it to "Effect" causes it to show as VST
+ set(STOCHAS_CATEGORY "Effect") # original was "Instrument"
+-add_subdirectory(lib/JUCE)
++find_package(JUCE COMPONENTS REQUIRED)
++include(FindPkgConfig)
++pkg_search_module(flac REQUIRED flac)
++pkg_search_module(ogg REQUIRED ogg)
++pkg_search_module(vorbis REQUIRED vorbis)
++pkg_search_module(vorbisenc REQUIRED vorbisenc)
++pkg_search_module(vorbisfile REQUIRED vorbisfile)
+ 
+ add_custom_target( git-info BYPRODUCTS 
${CMAKE_BINARY_DIR}/geninclude/version.cpp
+   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+@@ -174,6 +180,11 @@
+   assets # to include our images
+   juce::juce_audio_utils
+   juce::juce_audio_plugin_client
++  ${ogg_LIBRARIES}
++  ${flac_LIBRARIES}
++  ${vorbis_LIBRARIES}
++  ${vorbisenc_LIBRARIES}
++  ${vorbisfile_LIBRARIES}
+   )
+ 
+ if( APPLE )



[arch-commits] Commit in (5 files)

2021-10-30 Thread Bruno Pagani via arch-commits
Date: Saturday, October 30, 2021 @ 11:20:22
  Author: archange
Revision: 1034969

Initial addition of nodejs-lts-gallium to [community]

Added:
  nodejs-lts-gallium/
  nodejs-lts-gallium/repos/
  nodejs-lts-gallium/trunk/
  nodejs-lts-gallium/trunk/PKGBUILD
  nodejs-lts-gallium/trunk/ares_compat.patch

---+
 PKGBUILD  |   64 
 ares_compat.patch |   19 +++
 2 files changed, 83 insertions(+)

Added: nodejs-lts-gallium/trunk/PKGBUILD
===
--- nodejs-lts-gallium/trunk/PKGBUILD   (rev 0)
+++ nodejs-lts-gallium/trunk/PKGBUILD   2021-10-30 11:20:22 UTC (rev 1034969)
@@ -0,0 +1,64 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Felix Yan 
+
+pkgname=nodejs-lts-gallium
+pkgver=16.13.0
+pkgrel=1
+pkgdesc="Evented I/O for V8 javascript (LTS release: Fermium)"
+arch=(x86_64)
+url="https://nodejs.org/";
+license=(MIT)
+depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
+makedepends=(python procps-ng)
+optdepends=('npm: nodejs package manager')
+provides=("nodejs=$pkgver")
+conflicts=(nodejs)
+source=(${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz
+ares_compat.patch)
+# https://nodejs.org/download/release/latest-gallium/SHASUMS256.txt.asc
+sha256sums=(32114b3dc3945ed0f95f8bc33b42c68e0ef18c408cb56122572a163d907ecbcc
+59098e466c4e438cc77ac438e7ec78ec8e508ea067ba0db1894420dc4e3154e4)
+validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

+  77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

+  B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas 

+  DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg 

+  B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr 

+  4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs 

+  C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C  # Richard Lau 

+  74F12602B6F1C4E913FAA37AD3A89613643B6201) # Danielle Adams 

+
+prepare() {
+  cd node-v${pkgver}
+  patch -p1 < ../ares_compat.patch
+}
+
+build() {
+  cd node-v${pkgver}
+
+  ./configure \
+--prefix=/usr \
+--with-intl=system-icu \
+--without-npm \
+--shared-openssl \
+--shared-zlib \
+--shared-libuv \
+--experimental-http-parser \
+--shared-cares \
+--shared-brotli \
+--shared-nghttp2
+# --shared-v8
+# --shared-http-parser
+
+  make
+}
+
+check() {
+  cd node-v${pkgver}
+  make test-only
+}
+
+package() {
+  cd node-v${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}

Added: nodejs-lts-gallium/trunk/ares_compat.patch
===
--- nodejs-lts-gallium/trunk/ares_compat.patch  (rev 0)
+++ nodejs-lts-gallium/trunk/ares_compat.patch  2021-10-30 11:20:22 UTC (rev 
1034969)
@@ -0,0 +1,19 @@
+--- a/src/cares_wrap.h
 b/src/cares_wrap.h
+@@ -22,7 +22,15 @@
+ # include 
+ #endif  // __POSIX__
+ 
+-# include 
++#if defined(__ANDROID__) || \
++defined(__MINGW32__) || \
++defined(__OpenBSD__) || \
++defined(_MSC_VER)
++
++# include 
++#else
++# include 
++#endif
+ 
+ namespace node {
+ namespace cares_wrap {



[arch-commits] Commit in (5 files)

2021-10-24 Thread David Runge via arch-commits
Date: Sunday, October 24, 2021 @ 20:24:40
  Author: dvzrv
Revision: 426514

community2extra: Moving wireplumber from community to extra

Added:
  wireplumber/
  wireplumber/repos/
  wireplumber/trunk/
  wireplumber/trunk/PKGBUILD
  wireplumber/trunk/wireplumber.install

-+
 PKGBUILD|   59 ++
 wireplumber.install |   24 
 2 files changed, 83 insertions(+)

Added: wireplumber/trunk/PKGBUILD
===
--- wireplumber/trunk/PKGBUILD  (rev 0)
+++ wireplumber/trunk/PKGBUILD  2021-10-24 20:24:40 UTC (rev 426514)
@@ -0,0 +1,59 @@
+# Maintainer: David Runge 
+
+pkgbase=wireplumber
+pkgname=('wireplumber' 'wireplumber-docs')
+pkgver=0.4.4
+pkgrel=3
+pkgdesc="Session / policy manager implementation for PipeWire"
+arch=('x86_64')
+url="https://gitlab.freedesktop.org/pipewire/wireplumber";
+license=('MIT')
+makedepends=('cmake' 'cpptoml' 'doxygen' 'glib2' 'gobject-introspection'
+'hotdoc' 'lua' 'meson' 'pipewire' 'python-breathe' 'python-sphinx_rtd_theme'
+'python-sphinx' 'systemd')
+checkdepends=('pipewire-alsa' 'pipewire-jack' 'pipewire-pulse')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/pipewire/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('f8d764c1728c2e550fc41044a8ebbbeba27157540077648431796d7de5a04281df00d9742b04c6f76b50e446b2a723f220cb953d432f90b05148967de4ef')
+b2sums=('cc2768db3a4f6f26a176c9fff759384fedb020c98540ecbe1e02e28a7f16fa3ecc4ec25de50a65021cabb4e5746c41c683b714e0bc5cf5003f2a7d9c9414516c')
+
+build() {
+  cd "$pkgname-$pkgver"
+  arch-meson \
+-Dsystem-lua=true \
+-Dsystemd-system-service=true \
+-Dsystemd-user-service=true \
+-Delogind=disabled \
+build
+  ninja -C build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  ninja -C build test || echo "Known to fail: 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/18";
+}
+
+package_wireplumber() {
+  depends=('gcc-libs' 'glibc' 'lua' 'libgio-2.0.so' 'libglib-2.0.so'
+  'libgmodule-2.0.so' 'libgobject-2.0.so' 'libpipewire-0.3.so')
+  optdepends=('wireplumber-docs: for documentation')
+  provides=('libwireplumber-0.4.so' 'pipewire-session-manager')
+  conflicts=('pipewire-media-session')
+  install="${pkgname}.install"
+
+  cd "$pkgbase-$pkgver"
+  DESTDIR="${pkgdir}" meson install -C build
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {NEWS,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  # remove files provided by wireplumber-docs
+  rm -frv "${pkgdir}/usr/share/doc/${pkgname}/html"
+}
+
+package_wireplumber-docs() {
+  pkgdesc+=" (documentation)"
+
+  cd "$pkgbase-$pkgver"
+  DESTDIR="${pkgdir}" meson install -C build
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  # remove files provided by wireplumber
+  rm -frv "${pkgdir}/usr/"{bin,include,lib,share/{gir*,wireplumber}} 
"${pkgdir}/etc/"
+}

Added: wireplumber/trunk/wireplumber.install
===
--- wireplumber/trunk/wireplumber.install   (rev 0)
+++ wireplumber/trunk/wireplumber.install   2021-10-24 20:24:40 UTC (rev 
426514)
@@ -0,0 +1,24 @@
+post_install() {
+  # Enable service by default, as it is aliased for
+  # pipewire-session-manager.service, which is required by pipewire.service
+  systemctl --global enable wireplumber.service
+}
+
+post_upgrade() {
+  if (( $(vercmp "$2" '0.4.4-2') < 0)); then
+printf "\tReenable any per-user enabled wireplumber.service\n \
+  \tmanually to establish a new service alias for\n \
+  \tpipewire-session-manager.service added with 0.4.4.\n"
+# reenable already enabled global pipewire-media-session.service, as an 
alias is introduced with 0.3.38
+if systemctl --global is-enabled -q wireplumber.service; then
+  systemctl --global reenable wireplumber.service
+fi
+# in case the service has not been enabled before, enable it:
+# wireplumber and pipewire-media-session conflict from this point on
+systemctl --global enable wireplumber.service
+  fi
+}
+
+pre_remove() {
+  systemctl --global disable wireplumber.service
+}



[arch-commits] Commit in (5 files)

2021-10-23 Thread Antonio Rojas via arch-commits
Date: Saturday, October 23, 2021 @ 17:47:57
  Author: arojas
Revision: 426478

community2extra: Moving opencolorio from community to extra

Added:
  opencolorio/
  opencolorio/repos/
  opencolorio/trunk/
  opencolorio/trunk/PKGBUILD
  opencolorio/trunk/opencolorio-openexr3.patch

+
 PKGBUILD   |   35 
 opencolorio-openexr3.patch |  182 +++
 2 files changed, 217 insertions(+)

Added: opencolorio/trunk/PKGBUILD
===
--- opencolorio/trunk/PKGBUILD  (rev 0)
+++ opencolorio/trunk/PKGBUILD  2021-10-23 17:47:57 UTC (rev 426478)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Dumitru Ursu 
+
+pkgname=opencolorio
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="A color management framework for visual effects and animation"
+arch=('x86_64')
+url="https://opencolorio.org";
+license=('BSD')
+depends=('freeglut' 'glew' 'lcms2' 'tinyxml' 'yaml-cpp' 'imath' 'pystring')
+makedepends=('cmake' 'python' 'pybind11' 'ninja')
+optdepends=('python: python bindings')
+source=($pkgname-$pkgver.tar.gz::https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v$pkgver.tar.gz)
+sha512sums=('a0f4fb62c768b392ca1129e2046df96d670d785fc057d4103768440b7adb65d8faf5b7d39729060791794e83e6cd4e67821aed9b30f3f04b410c60809cd72267')
+
+build() {
+  cd OpenColorIO-$pkgver
+
+  cmake \
+-GNinja \
+-Bbuild \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib
+  ninja -C build
+}
+
+package() {
+  cd OpenColorIO-$pkgver
+
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Added: opencolorio/trunk/opencolorio-openexr3.patch
===
--- opencolorio/trunk/opencolorio-openexr3.patch
(rev 0)
+++ opencolorio/trunk/opencolorio-openexr3.patch2021-10-23 17:47:57 UTC 
(rev 426478)
@@ -0,0 +1,182 @@
+diff --git a/share/cmake/modules/FindExtPackages.cmake 
b/share/cmake/modules/FindExtPackages.cmake
+index c98e0af3..5f685935 100644
+--- a/share/cmake/modules/FindExtPackages.cmake
 b/share/cmake/modules/FindExtPackages.cmake
+@@ -34,7 +34,7 @@ find_package(yaml-cpp 0.6.3 REQUIRED)
+ 
+ # Half (OpenEXR/IlmBase)
+ # https://github.com/openexr/openexr
+-find_package(Half 2.4.0 REQUIRED)
++find_package(Imath 3.0 REQUIRED)
+ 
+ # pystring
+ # https://github.com/imageworks/pystring
+diff --git a/src/OpenColorIO/BitDepthUtils.h b/src/OpenColorIO/BitDepthUtils.h
+index a8b3cbd9..bb0163bf 100644
+--- a/src/OpenColorIO/BitDepthUtils.h
 b/src/OpenColorIO/BitDepthUtils.h
+@@ -7,7 +7,7 @@
+ 
+ #include 
+ 
+-#include "OpenEXR/half.h"
++#include "Imath/half.h"
+ 
+ 
+ namespace OCIO_NAMESPACE
+diff --git a/src/OpenColorIO/CMakeLists.txt b/src/OpenColorIO/CMakeLists.txt
+index 2ce801e6..824f8a98 100755
+--- a/src/OpenColorIO/CMakeLists.txt
 b/src/OpenColorIO/CMakeLists.txt
+@@ -207,7 +207,7 @@ target_link_libraries(OpenColorIO
+   public_api
+   PRIVATE
+   expat::expat
+-  IlmBase::Half
++  Imath::Imath
+   pystring::pystring
+   sampleicc::sampleicc
+   utils::strings
+diff --git a/src/OpenColorIO/MathUtils.h b/src/OpenColorIO/MathUtils.h
+index 309c6244..0873d490 100644
+--- a/src/OpenColorIO/MathUtils.h
 b/src/OpenColorIO/MathUtils.h
+@@ -9,7 +9,7 @@
+ 
+ #include 
+ 
+-#include "OpenEXR/half.h"
++#include "Imath/half.h"
+ 
+ namespace OCIO_NAMESPACE
+ {
+diff --git a/src/OpenColorIO/ops/range/RangeOp.cpp 
b/src/OpenColorIO/ops/range/RangeOp.cpp
+index 9ec863e2..444dac75 100644
+--- a/src/OpenColorIO/ops/range/RangeOp.cpp
 b/src/OpenColorIO/ops/range/RangeOp.cpp
+@@ -7,7 +7,7 @@
+ #include 
+ 
+ #include "GpuShaderUtils.h"
+-#include "OpenEXR/half.h"
++#include "Imath/half.h"
+ #include "HashUtils.h"
+ #include "MathUtils.h"
+ #include "ops/lut1d/Lut1DOpData.h"
+diff --git a/src/OpenColorIO/transforms/builtins/ACES.cpp 
b/src/OpenColorIO/transforms/builtins/ACES.cpp
+index 20968c0d..9ee2ac27 100644
+--- a/src/OpenColorIO/transforms/builtins/ACES.cpp
 b/src/OpenColorIO/transforms/builtins/ACES.cpp
+@@ -6,7 +6,7 @@
+ 
+ #include 
+ 
+-#include "OpenEXR/half.h"
++#include "Imath/half.h"
+ #include "ops/fixedfunction/FixedFunctionOp.h"
+ #include "ops/gradingrgbcurve/GradingRGBCurveOp.h"
+ #include "ops/log/LogOp.h"
+diff --git a/src/OpenColorIO/transforms/builtins/OpHelpers.cpp 
b/src/OpenColorIO/transforms/builtins/OpHelpers.cpp
+index 04b8fbd4..288ca566 100644
+--- a/src/OpenColorIO/transforms/builtins/OpHelpers.cpp
 b/src/OpenColorIO/transforms/builtins/OpHelpers.cpp
+@@ -4,7 +4,7 @@
+ 
+ #include 
+ 
+-#include "OpenEXR/half.h"
++#include "Imath/half.h"
+ #include "ops/lut1d/Lut1DOp.h"
+ #include "transforms/builtins/OpHelpers.h"
+ 
+diff --git a/src/app

[arch-commits] Commit in (5 files)

2021-10-11 Thread Alexander Rødseth via arch-commits
Date: Monday, October 11, 2021 @ 13:41:15
  Author: arodseth
Revision: 1029463

Add the Dune shell

* 552 stars on GitHub
* Pretty fun
* Active and friendly upstream
* Written in Rust

Added:
  dunesh/
  dunesh/repos/
  dunesh/repos/community-x86_64/
  dunesh/trunk/
  dunesh/trunk/PKGBUILD

--+
 PKGBUILD |   25 +
 1 file changed, 25 insertions(+)

Added: dunesh/trunk/PKGBUILD
===
--- dunesh/trunk/PKGBUILD   (rev 0)
+++ dunesh/trunk/PKGBUILD   2021-10-11 13:41:15 UTC (rev 1029463)
@@ -0,0 +1,25 @@
+# Maintainer: Alexander F. Rødseth 
+
+pkgname=dunesh
+pkgver=0.0.1
+pkgrel=1
+pkgdesc='The cozy shell'
+arch=(x86_64)
+url='https://github.com/adam-mcdaniel/dune'
+license=(APACHE)
+makedepends=(git rust)
+# No release tarballs or git tags are available yet. Currently using the 
latest commit at 2021-10-11.
+# Related comment: 
https://github.com/adam-mcdaniel/dune/issues/29#issuecomment-940023556
+source=("git+$url#commit=5f96530bf4f3e55274f5a430d1919d5edc933829")
+b2sums=(SKIP)
+
+build() {
+  cargo build --manifest-path dune/Cargo.toml --release
+}
+
+package() {
+  install -Dm755 dune/target/release/$pkgname \
+"$pkgdir/usr/bin/$pkgname"
+  install -Dm644 dune/LICENSE \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



[arch-commits] Commit in (5 files)

2021-10-05 Thread Maxime Gauduin via arch-commits
Date: Tuesday, October 5, 2021 @ 20:24:11
  Author: alucryd
Revision: 1027784

add emby-theater

Added:
  emby-theater/
  emby-theater/trunk/
  emby-theater/trunk/PKGBUILD
  emby-theater/trunk/emby-theater.desktop
  emby-theater/trunk/emby-theater.png

--+
 PKGBUILD |   95 +
 emby-theater.desktop |6 +++
 emby-theater.png |1 
 3 files changed, 102 insertions(+)

Added: emby-theater/trunk/PKGBUILD
===
--- emby-theater/trunk/PKGBUILD (rev 0)
+++ emby-theater/trunk/PKGBUILD 2021-10-05 20:24:11 UTC (rev 1027784)
@@ -0,0 +1,95 @@
+# Maintainer: Maxime Gauduin 
+
+pkgname=emby-theater
+pkgver=3.0.15
+_libmpv_ver=2021_10_05
+pkgrel=1
+pkgdesc='An Electron app for Emby'
+arch=(x86_64)
+url=https://emby.media
+license=(GPL2)
+depends=(
+  at-spi2-atk
+  at-spi2-core
+  cairo
+  gcc-libs
+  glibc
+  libasound.so
+  libatk-1.0.so
+  libcups
+  libdbus-1.so
+  libdrm
+  libexpat.so
+  libfontconfig.so
+  libfreetype.so
+  libgdk-3.so
+  libgdk_pixbuf-2.0.so
+  libgio-2.0.so
+  libglib-2.0.so
+  libgobject-2.0.so
+  libgtk-3.so
+  libmfx
+  libpango-1.0.so
+  libpangocairo-1.0.so
+  libpulse.so
+  libuuid.so
+  libva-drm.so
+  libva.so
+  libx11
+  libxcb
+  libxcomposite
+  libxcursor
+  libxdamage
+  libxext
+  libxfixes
+  libxi
+  libxrandr
+  libxrender
+  libxss
+  libxtst
+  mesa
+  nspr
+  nss
+  ocl-icd
+  zlib
+)
+makedepends=(
+  git
+  npm
+)
+_commit=68ca6e4b9e3918dfd96bccef79d6a1937daf7e78
+#_tag=aeaab148c71414f5b6c29cfc0f7cf4eac0f95c55
+source=(
+  
git+https://github.com/MediaBrowser/emby-theater-electron.git#commit=${_commit}
+  #git+https://github.com/MediaBrowser/emby-theater-electron.git#tag=${_tag}
+  https://mediabrowser.github.io/embytools/libmpv-${_libmpv_ver}-x64.tar.xz
+  emby-theater.desktop
+  emby-theater.png
+)
+b2sums=('SKIP'
+
'514898625050a05ccfd2c5b1eb4d57c459a538bbcae705a2c5fc0f9a6030ef6822375644909c399f447d2933f47f8002079a9a75232db56b6c54cf106f12d430'
+
'33b1230792bfc034d28fed21c60f9ecb3d7392293289a878866a20a505acabd03848df92300c9b1fd76d40ff03a6926451308c2b525ded0a75a17b77672c1e3b'
+
'130bcfad0a216d66e44e3551af14700b3745d55b89c4523543646ae0d1fc00f6787ad8ace827a47f0f671d340308e4529c91f1c018002e64c89cb0ca924aeb4b')
+
+prepare() {
+  cd emby-theater-electron
+  npm install
+  npm install electron-packager
+}
+
+build() {
+  cd emby-theater-electron
+  npx electron-packager . emby-theater --platform linux --arch x64
+}
+
+package() {
+  install -dm 755 "${pkgdir}"/usr/{bin,lib}
+  cp -dr --no-preserve='ownership' 
emby-theater-electron/emby-theater-linux-x64 "${pkgdir}"/usr/lib/emby-theater
+  rm -rf 
"${pkgdir}"/usr/lib/emby-theater/resources/app/libmpv/{arm,arm64,ia32,mpv-win32-*}
+  ln -s /usr/lib/emby-theater/emby-theater "${pkgdir}"/usr/bin/emby-theater
+  install -Dm 755 lib/libmpv.so* -t "${pkgdir}"/usr/lib/emby-theater/
+  install -Dm 644 emby-theater.desktop -t "${pkgdir}"/usr/share/applications/
+  install -Dm 644 emby-theater.png -t "${pkgdir}"/usr/share/pixmaps/
+}
+
+# vim: ts=2 sw=2 et:

Added: emby-theater/trunk/emby-theater.desktop
===
--- emby-theater/trunk/emby-theater.desktop (rev 0)
+++ emby-theater/trunk/emby-theater.desktop 2021-10-05 20:24:11 UTC (rev 
1027784)
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Emby Theater
+Exec=emby-theater
+Type=Application
+Icon=emby-theater
+Categories=AudioVideo;
\ No newline at end of file

Added: emby-theater/trunk/emby-theater.png
===
(Binary files differ)

Index: emby-theater/trunk/emby-theater.png
===
--- emby-theater/trunk/emby-theater.png 2021-10-05 19:51:55 UTC (rev 1027783)
+++ emby-theater/trunk/emby-theater.png 2021-10-05 20:24:11 UTC (rev 1027784)

Property changes on: emby-theater/trunk/emby-theater.png
___
Added: svn:mime-type
## -0,0 +1 ##
+image/png
\ No newline at end of property


[arch-commits] Commit in (5 files)

2021-10-04 Thread Alexander Rødseth via arch-commits
Date: Monday, October 4, 2021 @ 11:59:16
  Author: arodseth
Revision: 1027300

Add a compatibility layer for GTK+2

Added:
  gtk2-compat/
  gtk2-compat/repos/
  gtk2-compat/repos/community-any/
  gtk2-compat/trunk/
  gtk2-compat/trunk/PKGBUILD

--+
 PKGBUILD |   30 ++
 1 file changed, 30 insertions(+)

Added: gtk2-compat/trunk/PKGBUILD
===
--- gtk2-compat/trunk/PKGBUILD  (rev 0)
+++ gtk2-compat/trunk/PKGBUILD  2021-10-04 11:59:16 UTC (rev 1027300)
@@ -0,0 +1,30 @@
+# Maintainer: Alexander 
+
+pkgname=gtk2-compat
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Simulates the presence of GTK+2, but tries to use GTK+3'
+arch=(any)
+url='https://github.com/openSUSE/gtk2-compat'
+license=(GPL2)
+depends=(gtk3)
+provides=(gtk2)
+conflicts=(gtk2)
+makedepends=(git)
+source=("git+$url#commit=24913dc1b4ec13b870e87399fda1ae050f1d4eee") # no tags 
available, this is master from 2015-03-11
+b2sums=(SKIP)
+
+prepare() {
+  cd $pkgname
+  autoreconf -fiv
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C $pkgname install
+}



[arch-commits] Commit in (5 files)

2021-09-16 Thread Christian Hesse via arch-commits
Date: Thursday, September 16, 2021 @ 09:50:36
  Author: eworm
Revision: 1016145

make libcurl-{compat,gnutls} split packages

Added:
  libcurl/
  libcurl/repos/
  libcurl/trunk/
  
libcurl/trunk/0001-Curl_http2_setup-do-not-change-connection-data-on-repeat-invokes.patch
  libcurl/trunk/PKGBUILD

-+
 0001-Curl_http2_setup-do-not-change-connection-data-on-repeat-invokes.patch |  
 47 
 PKGBUILD|  
100 ++
 2 files changed, 147 insertions(+)

Added: 
libcurl/trunk/0001-Curl_http2_setup-do-not-change-connection-data-on-repeat-invokes.patch
===
--- 
libcurl/trunk/0001-Curl_http2_setup-do-not-change-connection-data-on-repeat-invokes.patch
   (rev 0)
+++ 
libcurl/trunk/0001-Curl_http2_setup-do-not-change-connection-data-on-repeat-invokes.patch
   2021-09-16 09:50:36 UTC (rev 1016145)
@@ -0,0 +1,47 @@
+From 901804ef95777b8e735a55b77f8dd630a58c575b Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg 
+Date: Thu, 16 Sep 2021 08:50:54 +0200
+Subject: [PATCH] Curl_http2_setup: don't change connection data on repeat
+ invokes
+
+Regression from 3cb8a748670ab88c (releasde in 7.79.0). That change moved
+transfer oriented inits to before the check but also erroneously moved a
+few connection oriented ones, which causes problems.
+
+Reported-by: Evangelos Foutras
+Fixes #7730
+Closes #7731
+---
+ lib/http2.c | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/lib/http2.c b/lib/http2.c
+index a3de607c7d24..6d63f43636a5 100644
+--- a/lib/http2.c
 b/lib/http2.c
+@@ -2221,12 +2221,6 @@ CURLcode Curl_http2_setup(struct Curl_easy *data,
+   stream->mem = data->state.buffer;
+   stream->len = data->set.buffer_size;
+ 
+-  httpc->inbuflen = 0;
+-  httpc->nread_inbuf = 0;
+-
+-  httpc->pause_stream_id = 0;
+-  httpc->drain_total = 0;
+-
+   multi_connchanged(data->multi);
+   /* below this point only connection related inits are done, which only needs
+  to be done once per connection */
+@@ -2252,6 +2246,12 @@ CURLcode Curl_http2_setup(struct Curl_easy *data,
+   conn->httpversion = 20;
+   conn->bundle->multiuse = BUNDLE_MULTIPLEX;
+ 
++  httpc->inbuflen = 0;
++  httpc->nread_inbuf = 0;
++
++  httpc->pause_stream_id = 0;
++  httpc->drain_total = 0;
++
+   infof(data, "Connection state changed (HTTP/2 confirmed)");
+ 
+   return CURLE_OK;

Added: libcurl/trunk/PKGBUILD
===
--- libcurl/trunk/PKGBUILD  (rev 0)
+++ libcurl/trunk/PKGBUILD  2021-09-16 09:50:36 UTC (rev 1016145)
@@ -0,0 +1,100 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Piotr Balcerowski 
+
+pkgbase=libcurl
+pkgname=(libcurl-compat libcurl-gnutls)
+_pkgname=curl
+pkgver=7.79.0
+pkgrel=2
+pkgdesc='An URL retrieval library'
+arch=('x86_64')
+url='https://curl.haxx.se'
+license=('MIT')
+depends=("${_pkgname}")
+makedepends=('gnutls' 'openssl')
+options=('strip')
+source=("https://curl.haxx.se/download/curl-${pkgver}.tar.gz"{,.asc}
+
'0001-Curl_http2_setup-do-not-change-connection-data-on-repeat-invokes.patch')
+sha512sums=('6529645774bd2687535cfaec5949281f305c2910da3bd4de22713ab370fde0d05c416579b46aef7eaaf5f73d882e96b8268b80b6802b978f9c54b0a837420dad'
+'SKIP'
+
'f83ba83073a90ab369c7c0e06d440d6d8be87c72800095c35d803bca246ea5ee73b811b210ce9d8a7ee137583ca3e839afd8eb9accf699f655e9db82a7bdef71')
+validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg
+
+_configure_options=(
+--prefix='/usr'
+--disable-ldap
+--disable-ldaps
+--disable-manual
+--disable-versioned-symbols
+--enable-ipv6
+--enable-threaded-resolver
+--with-gssapi
+--with-libssh2
+--with-openssl
+--with-random='/dev/urandom'
+--with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'
+)
+
+prepare() {
+  cd "curl-${pkgver}"
+
+  patch -Np1 < 
../0001-Curl_http2_setup-do-not-change-connection-data-on-repeat-invokes.patch
+}
+
+build() {
+  mkdir build-{compat,gnutls}
+
+  # build compat (disable-versioned-symbols)
+  cd "${srcdir}"/build-compat
+
+  "${srcdir}/curl-${pkgver}"/configure \
+"${_configure_options[@]}"
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make -C lib
+
+  # build gnutls (without-ssl)
+  cd "${srcdir}"/build-gnutls
+
+  "${srcdir}/curl-${pkgver}"/configure \
+"${_configure_options[@]}" \
+--without-ssl \
+--with-gnutls='/usr'
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make -C lib
+}
+
+package_libcurl-compat() {
+  pkgdesc='An URL retrieval library (without versioned symbols)'
+  depends+=('openssl')
+
+  cd "${srcdir}"/build-compat
+
+  make -C lib DESTDIR="${pkgdir}" install
+
+  mv "${pkgdir}"/usr/lib/libcurl{,-compat}.so.4.7.0
+  rm "${pkgdir}"/usr/lib/libcurl.{a,so}*

[arch-commits] Commit in (5 files)

2021-09-12 Thread Alexander Epaneshnikov via arch-commits
Date: Monday, September 13, 2021 @ 05:02:10
  Author: alex19ep
Revision: 1014648

add rhvoice

Added:
  rhvoice/
  rhvoice/repos/
  rhvoice/trunk/
  rhvoice/trunk/PKGBUILD
  rhvoice/trunk/rhvoice.install

-+
 PKGBUILD|  114 ++
 rhvoice.install |7 +++
 2 files changed, 121 insertions(+)

Added: rhvoice/trunk/PKGBUILD
===
--- rhvoice/trunk/PKGBUILD  (rev 0)
+++ rhvoice/trunk/PKGBUILD  2021-09-13 05:02:10 UTC (rev 1014648)
@@ -0,0 +1,114 @@
+# Maintainer: Alexander Epaneshnikov 
+
+_langs=(Brazilian-Portuguese English Esperanto Georgian Kyrgyz Macedonian
+Russian Tatar Ukrainian)
+_voices=(alan aleksandr aleksandr-hq anatol anna arina artemiy azamat
+ bdl clb elena evgeniy-eng evgeniy-rus irina kiko Leticia-F123
+ natalia natia nazgul pavel slt spomenka talgat victoria volodymyr
+ yuriy)
+pkgbase=rhvoice
+pkgname=(rhvoice $(for l in "${_langs[@]}"; do echo rhvoice-language-${l,,}; 
done)
+ $(for v in "${_voices[@]}"; do echo rhvoice-voice-${v,,}; done))
+pkgver=1.4.2
+pkgrel=2
+pkgdesc="Free and open source speech synthesizer for Russian and other 
languages"
+arch=('x86_64')
+url="https://github.com/RHVoice/RHVoice";
+license=('GPL3')
+depends=('speech-dispatcher' 'libpulse' 'portaudio')
+makedepends=('scons' 'libao')
+source=(https://github.com/RHVoice/RHVoice/releases/download/$pkgver/$pkgbase-$pkgver.tar.gz{,.sig})
+validpgpkeys=(6C7F7F22E0152A6FD5728592DAD6F3056C897266)
+sha512sums=('edee8fa79fa0f3eecd2bca6a6c4846876cce2fc7b843a481357b536a42485f9524fc64e9e8a6766cbe46bcc2ef9ad0375cab16ad35722895db5697e14234a8de'
+'SKIP')
+b2sums=('0f5564dcb986eec49bead04b46afe7e5caf8a186cdd23f3c9727ee9e6bdeb4b326d6b9cec3f9cdde78d01286d16f05aad840f67aa44b22ce05b7db85d04f2144'
+'SKIP')
+
+build() {
+   cd "${pkgbase}-${pkgver}"
+   export SCONSFLAGS="$MAKEFLAGS"
+   scons prefix="/usr" sysconfdir="/etc" CPPFLAGS="$CPPFLAGS" 
CCFLAGS="$CFLAGS" \
+ LINKFLAGS="$LDFLAGS"
+}
+
+package_rhvoice() {
+   optdepends=('libao: for ao backend'
+   $(for v in "${_voices[@]}"; do echo rhvoice-voice-${v,,}; 
done))
+   backup=('etc/RHVoice/RHVoice.conf')
+   groups=('rhvoice')
+   install=rhvoice.install
+   cd "${pkgbase}-${pkgver}"
+   export SCONSFLAGS="$MAKEFLAGS"
+   scons install DESTDIR="${pkgdir}" prefix="/usr" sysconfdir="/etc" \
+ CPPFLAGS="$CPPFLAGS" CCFLAGS="$CFLAGS" LINKFLAGS="$LDFLAGS"
+   # remove split data
+   rm -r "${pkgdir}/usr/share/"
+}
+
+# package functions for languages
+for l in "${_langs[@]}"; do
+   eval "
+package_rhvoice-language-${l,,}() {
+   pkgdesc=\"Rhvoice ${l,,} language\"
+   arch=('any')
+   depends=('rhvoice')
+   groups=('rhvoice')
+
+   cd \"${pkgbase}-${pkgver}\"
+   if [[ -d data/languages/$l/userdict ]]; then
+   install -vDm644 data/languages/$l/userdict/src/*.txt -t 
\"\${pkgdir}/usr/share/RHVoice/languages/$l/userdict/src\"
+   fi
+   if [[ $l == Macedonian ]]; then
+   license=(AGPL3)
+   fi
+   install -vDm644 data/languages/$l/*.* -t 
\"\${pkgdir}/usr/share/RHVoice/languages/$l\"
+}
+"
+done
+
+# package functions for voices
+for v in "${_voices[@]}"; do
+   eval "
+package_rhvoice-voice-${v,,}() {
+   _voicelang=\$(grep \"language\" 
\$pkgbase-\$pkgver/data/voices/$v/voice.info | sed 's/^.*=//')
+   pkgdesc=\"Rhvoice ${v,,} voice for \${_voicelang,,} language\"
+   arch=('any')
+   depends=(rhvoice-language-\${_voicelang,,})
+   groups=('rhvoice')
+   if [[ $v == aleksandr-hq || $v == arina || $v == artemiy || $v == 
evgeniy-eng \
+ || $v == evgeniy-rus || $v == pavel || $v == victoria \
+ || $v == volodymyr || $v == yuriy ]]; then
+   license=('custom:CC-BY-NC-ND-4.0')
+   elif [[ $v == kiko ]]; then
+   license=('custom:CC-BY-NC-SA-4.0')
+   elif [[ $v == Leticia-F123 ]]; then
+   license=('custom:CC-BY-SA-4.0')
+   elif [[ $v == natia || $v == talgat ]]; then
+   license=('custom')
+   fi
+
+   cd \"${pkgbase}-${pkgver}\"
+   install -vDm644 data/voices/$v/16000/* -t 
\"\${pkgdir}/usr/share/RHVoice/voices/$v/16000\"
+   install -vDm644 data/voices/$v/24000/* -t 
\"\${pkgdir}/usr/share/RHVoice/voices/$v/24000\"
+   install -vDm644 data/voices/$v/{voice.info,voice.params} -t 
\"\${pkgdir}/usr/share/RHVoice/voices/$v\"
+   case \$license in
+   'custom:CC-BY-NC-ND-4.0')
+   install -vDm644 licenses/by-nc-nd-4.0.txt 
\"\${pkgdir}/usr/share/licenses/\${pkgname}/license\"
+   ;;
+   'custom:CC-BY-NC-SA-4.0')
+   install -vDm644 licenses/by-nc-sa-4.0.txt 
\"\${pkgdir}/usr/share/licenses/\${pkgname}/license\"
+   ;;
+   'cu

[arch-commits] Commit in (5 files)

2021-09-04 Thread Alexander Epaneshnikov via arch-commits
Date: Saturday, September 4, 2021 @ 13:31:30
  Author: alex19ep
Revision: 1011243

add glulxe-term

Added:
  glulxe-term/
  glulxe-term/repos/
  glulxe-term/trunk/
  glulxe-term/trunk/PKGBUILD
  glulxe-term/trunk/glulxe-term-flags.patch

-+
 PKGBUILD|   34 ++
 glulxe-term-flags.patch |   26 ++
 2 files changed, 60 insertions(+)

Added: glulxe-term/trunk/PKGBUILD
===
--- glulxe-term/trunk/PKGBUILD  (rev 0)
+++ glulxe-term/trunk/PKGBUILD  2021-09-04 13:31:30 UTC (rev 1011243)
@@ -0,0 +1,34 @@
+# Maintainer: Alexander Epaneshnikov 
+# Contributor: Dino Morelli < d...@ui3.info >
+
+pkgname=glulxe-term
+pkgver=0.5.4
+pkgrel=1
+epoch=1
+pkgdesc='The Glulx VM reference interpreter'
+arch=('x86_64')
+url='http://www.eblong.com/zarf/glulx/'
+license=('MIT')
+depends=('libglkterm')
+source=(${pkgname}-$pkgver}.tar.gz::"https://github.com/erkyrath/glulxe/archive/refs/tags/${pkgname%-term}-${pkgver}.tar.gz";
+"${pkgname}-flags.patch")
+sha512sums=('d7ad7b5205843a10c66287ab0d170acddf032e092cac8aff8bf5d81c0b50798d195bbf99381730ef2002065b92ac6dd858c5e51c228879c053771d310a77e5af'
+
'13e47bdf02f7e24aabfbd0fc9081a8c0fa322a993aaf8ac60ba050be80b235529276cd103f901766a551b42e9748271794facbc7261e4492761a09de3a85e63d')
+b2sums=('e14fdbe609b14664d6af133d2960ff7803bbf7d430d42bb2cf77cfe6c1a829a4baf539092f5eb65728934e0344d3d22793674f19f8a5fa11a817360e8562fc5d'
+
'9df919f922c6a58dc01afa03e6bfed25d3565bdbea04881cc801feeffc7054536f9d14df6d877a7d3909a4f228fe69810f52a09e6c262b5080170ccd296741a7')
+
+prepare() {
+   cd glulxe-glulxe-${pkgver}
+   patch -Np1 -i ../${pkgname}-flags.patch
+}
+
+build() {
+   cd glulxe-glulxe-${pkgver}
+   make GLKINCLUDEDIR=/usr/include GLKLIBDIR=/usr/lib 
GLKMAKEFILE=Make.glkterm
+}
+
+package() {
+   cd glulxe-glulxe-${pkgver}
+   install -vDm755 glulxe "$pkgdir/usr/bin/glulxe-term"
+   install -vDm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Added: glulxe-term/trunk/glulxe-term-flags.patch
===
--- glulxe-term/trunk/glulxe-term-flags.patch   (rev 0)
+++ glulxe-term/trunk/glulxe-term-flags.patch   2021-09-04 13:31:30 UTC (rev 
1011243)
@@ -0,0 +1,26 @@
+diff --no-dereference --ignore-all-space --unified --recursive --text 
glulxe-glulxe-0.5.4-old/Makefile glulxe-glulxe-0.5.4-new/Makefile
+--- glulxe-glulxe-0.5.4-old/Makefile   2017-01-23 22:14:37.0 +0300
 glulxe-glulxe-0.5.4-new/Makefile   2021-09-04 15:54:28.668302548 +0300
+@@ -40,7 +40,7 @@
+ 
+ include $(GLKINCLUDEDIR)/$(GLKMAKEFILE)
+ 
+-CFLAGS = $(OPTIONS) -I$(GLKINCLUDEDIR) $(XMLLIBINCLUDEDIR)
++CFLAGS += $(OPTIONS) -I$(GLKINCLUDEDIR) $(XMLLIBINCLUDEDIR)
+ LIBS = -L$(GLKLIBDIR) $(GLKLIB) $(LINKLIBS) -lm $(XMLLIB)
+ 
+ OBJS = main.o files.o vm.o exec.o funcs.o operand.o string.o glkop.o \
+@@ -50,7 +50,7 @@
+ all: glulxe
+ 
+ glulxe: $(OBJS) unixstrt.o
+-  $(CC) $(OPTIONS) -o glulxe $(OBJS) unixstrt.o $(LIBS)
++  $(CC) ${CFLAGS} ${LDFLAGS} -o glulxe $(OBJS) unixstrt.o $(LIBS)
+ 
+ glulxdump: glulxdump.o
+   $(CC) -o glulxdump glulxdump.o
+@@ -62,4 +62,3 @@
+ 
+ clean:
+   rm -f *~ *.o glulxe glulxdump profile-raw
+-



[arch-commits] Commit in (5 files)

2021-09-04 Thread Alexander Epaneshnikov via arch-commits
Date: Saturday, September 4, 2021 @ 13:22:21
  Author: alex19ep
Revision: 1011241

add libglkterm

Added:
  libglkterm/
  libglkterm/repos/
  libglkterm/trunk/
  libglkterm/trunk/PKGBUILD
  libglkterm/trunk/libglkterm.patch

--+
 PKGBUILD |   45 +
 libglkterm.patch |   64 +
 2 files changed, 109 insertions(+)

Added: libglkterm/trunk/PKGBUILD
===
--- libglkterm/trunk/PKGBUILD   (rev 0)
+++ libglkterm/trunk/PKGBUILD   2021-09-04 13:22:21 UTC (rev 1011241)
@@ -0,0 +1,45 @@
+# Maintainer: Alexander Epaneshnikov 
+# Contributor: Antonis Geralis 
+
+pkgname=libglkterm
+pkgver=1.0.4
+pkgrel=2
+pkgdesc="An interface standard for interactive fiction."
+arch=('x86_64')
+url="http://eblong.com/zarf/glk/";
+license=('MIT')
+depends=('ncurses')
+provides=('glkterm' 'glktermw')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/erkyrath/glkterm/archive/refs/tags/glkterm-${pkgver}-widechar.tar.gz";
+"https://raw.githubusercontent.com/erkyrath/glkterm/master/LICENSE";
+"${pkgname}.patch")
+sha512sums=('96f1ad2391fd377664e47c9bd21a987adee71ae1f2702c187b5e8479b1cc74057e32809ac18c0a47e9315d593519dffc4e5568b4358c1b57d2d01b53842e0656'
+
'6fcf9d2dcd966f54cbf45fc0b3ab3bf2be61e78ca008f69e75ba0b500595154f9cdbe902aaa7a68806a98b92994778e29a2880c06561f1e56fb08b3b88a76554'
+
'50b797002de0f7acbc9fdcaa464129dd6ab7e8e357c2d22cef45d6819f0ee539cb69e3c32463a60a77000d3ec815d6b33f2d390276e6d414944a9153e65c96e6')
+b2sums=('a0b3307382ee71c34594d20d94d22b21a22021f736adf17cd7057a97ae84ded804ea43cf6ebb9232623660f285232c20d6ee9201b5aa8206bc1e7ad2681ea7d9'
+
'45e955c87da65080f5cb1ed0d7ba33a281fd9e5e0067b73139b25f8d2bb0c279d5dea0212ac1a3641e031c6d38e5f1820dc2787dde41de870588802193896000'
+
'c3bb4720c1cb20d69f6ff87ac95e2d765ba8329fb770de6f66df89dc0254d60709b8c9fe0276ee097043b8362f508176d0f88e923f196760ac87de6594ba21e8')
+
+prepare() {
+   cd glkterm-glkterm-${pkgver}-widechar/
+   patch -Np1 -i ../${pkgname}.patch
+}
+
+build() {
+   cd glkterm-glkterm-${pkgver}-widechar/
+   make
+}
+
+package() {
+   cd glkterm-glkterm-${pkgver}-widechar/
+   # headers
+   for _header in glk.h gi_*.h glkstart.h Make.glkterm; do
+   install -vDm644 "${_header}" "${pkgdir}/usr/include/${_header}"
+   done
+   # library
+   install -vDm755 libglkterm.so.${pkgver} -t "${pkgdir}/usr/lib/"
+   ln -vsf /usr/lib/libglkterm.so.${pkgver} 
"${pkgdir}/usr/lib/libglkterm.so.1"
+   ln -vsf /usr/lib/libglkterm.so.${pkgver} 
"${pkgdir}/usr/lib/libglkterm.so"
+   # license
+   install -vDm644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Added: libglkterm/trunk/libglkterm.patch
===
--- libglkterm/trunk/libglkterm.patch   (rev 0)
+++ libglkterm/trunk/libglkterm.patch   2021-09-04 13:22:21 UTC (rev 1011241)
@@ -0,0 +1,64 @@
+diff --no-dereference --ignore-all-space --unified --recursive --text 
glkterm-glkterm-1.0.4-widechar/gtncursesw.c 
glkterm-glkterm-1.0.4-widechar-new/gtncursesw.c
+--- glkterm-glkterm-1.0.4-widechar/gtncursesw.c2012-10-14 
21:21:09.0 +0400
 glkterm-glkterm-1.0.4-widechar-new/gtncursesw.c2021-09-04 
13:48:43.952957333 +0300
+@@ -92,7 +92,7 @@
+ #else /* LOCAL_NCURSESW */
+ 
+ #define _XOPEN_SOURCE_EXTENDED /* ncursesw *wch* and *wstr* functions */
+-#include 
++#include 
+ 
+ int local_get_wch (wint_t *ch)
+ {
+diff --no-dereference --ignore-all-space --unified --recursive --text 
glkterm-glkterm-1.0.4-widechar/Makefile 
glkterm-glkterm-1.0.4-widechar-new/Makefile
+--- glkterm-glkterm-1.0.4-widechar/Makefile2012-10-14 21:21:09.0 
+0400
 glkterm-glkterm-1.0.4-widechar-new/Makefile2021-09-04 
14:24:41.171037436 +0300
+@@ -13,8 +13,8 @@
+ CC = gcc -ansi
+ 
+ # You may need to set directories to pick up the ncursesw library.
+-#INCLUDEDIRS = -I/usr/5include
+-#LIBDIRS = -L/usr/5lib
++INCLUDEDIRS = -I/usr/include
++LIBDIRS = -L/usr/lib
+ LIBS = -lncursesw
+ 
+ # Use this LIBS line instead of the above if you do not have ncursesw
+@@ -22,11 +22,10 @@
+ # probably also have to set LOCAL_NCURSESW in CFLAGS or in gtoption.h.)
+ #LIBS = -lncurses
+ 
+-OPTIONS = -g -Wall
++OPTIONS = -g -Wall -fPIC
+ 
+-CFLAGS = $(OPTIONS) $(INCLUDEDIRS)
+-
+-GLKLIB = libglktermw.a
++CFLAGS += $(OPTIONS) $(INCLUDEDIRS)
++GLKLIB = libglkterm.so
+ 
+ GLKTERM_OBJS = \
+   main.o gtevent.o gtfref.o gtgestal.o gtinput.o \
+@@ -39,17 +38,16 @@
+   glkterm.h gtoption.h gtw_blnk.h gtw_buf.h \
+   gtw_grid.h gtw_pair.h gi_dispa.h
+ 
+-all: $(GLKLIB) Make.glktermw
++all: $(GLKLIB) Make.glkterm
+ 
+ cgunicod.o: cgunigen.c
+ 
+ $(GLKLIB): $(GLKTERM_OBJS)
+-  ar r $(GLKLIB) $(GLKTERM_OBJS)
+-  ranlib $(GLKLIB)
++  ${

[arch-commits] Commit in (5 files)

2021-09-01 Thread Alexander Rødseth via arch-commits
Date: Wednesday, September 1, 2021 @ 10:49:58
  Author: arodseth
Revision: 1010268

Add goxel from AUR, a voxel 3D editor

Added:
  goxel/
  goxel/repos/
  goxel/repos/community-x86_64/
  goxel/trunk/
  goxel/trunk/PKGBUILD

--+
 PKGBUILD |   30 ++
 1 file changed, 30 insertions(+)

Added: goxel/trunk/PKGBUILD
===
--- goxel/trunk/PKGBUILD(rev 0)
+++ goxel/trunk/PKGBUILD2021-09-01 10:49:58 UTC (rev 1010268)
@@ -0,0 +1,30 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Tesx 
+
+pkgname=goxel
+pkgver=0.10.7
+pkgrel=2
+pkgdesc='3D program that lets you create voxel volumes'
+arch=(x86_64)
+url='https://goxel.xyz/'
+license=(GPL3)
+depends=(glfw gtk3)
+makedepends=(scons)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/guillaumechereau/$pkgname/archive/v$pkgver.tar.gz";)
+b2sums=('88371b85335d2ef60a13817d3d2c958fdcd35ae46efca0c97d44e97db238e34cee52f8867cad801fb6a2b3fe4e657175410ee1319f9015cbecc22e2026ff206c')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's|scons mode=release|scons mode=release werror=n|
+  
s|/share/applications/goxel.desktop|/share/applications/io.github.guillaumechereau.Goxel.desktop|
+  s|install -Dm744 goxel|install -Dm755 goxel|' Makefile
+  sed -i 's|\${SNAP}/icon.png|goxel|' snap/gui/goxel.desktop
+}
+
+build() {
+  make -C $pkgname-$pkgver
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
+}



[arch-commits] Commit in (5 files)

2021-08-24 Thread George Rawlinson via arch-commits
Date: Tuesday, August 24, 2021 @ 07:04:44
  Author: grawlinson
Revision: 1004487

addpkg: miniflux 2.0.32-2

Added:
  miniflux/
  miniflux/repos/
  miniflux/trunk/
  miniflux/trunk/PKGBUILD
  miniflux/trunk/sysusers.conf

---+
 PKGBUILD  |   76 
 sysusers.conf |1 
 2 files changed, 77 insertions(+)

Added: miniflux/trunk/PKGBUILD
===
--- miniflux/trunk/PKGBUILD (rev 0)
+++ miniflux/trunk/PKGBUILD 2021-08-24 07:04:44 UTC (rev 1004487)
@@ -0,0 +1,76 @@
+# Maintainer: George Rawlinson 
+# Contributor: Thor77 
+# Contributor: Clar Charr 
+# Contributor: somini 
+
+pkgname=miniflux
+pkgver=2.0.32
+pkgrel=2
+pkgdesc="Minimalist and opinionated feed reader"
+arch=('x86_64')
+url="https://miniflux.app";
+license=('Apache')
+optdepends=(
+  'postgresql: for local PostgreSQL instance'
+)
+makedepends=('go' 'git')
+backup=('etc/miniflux.conf')
+source=(
+  
"$pkgname-$pkgver.tar.gz::https://github.com/miniflux/v2/archive/$pkgver.tar.gz";
+  'sysusers.conf'
+)
+b2sums=('16b76a79d807dbd89ca4849ed1fa0eca70adab1ee80ba490740257fa40798a3428c850644164dbdcbc436b529eacceb1ecde8f1c9a84d524d5214cfc2b28055e'
+
'71a1cba0e015c6b33897e3492dd014efbfac240d3c6f007f86ff7bade830ce0f2809d4d0ad1d8ca1189627e2961dddc7ff6682cd445587f5145bee0eab8a7bf6')
+
+prepare() {
+  cd "v2-$pkgver"
+
+  # create directory for build output
+  mkdir -p build
+
+  # download dependencies
+  go mod vendor
+}
+
+build() {
+  cd "v2-$pkgver"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  # ensure build date is reproducible
+  local BUILD_DATE="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" 
+%Y-%m-%d)"
+
+  go build -v \
+-trimpath \
+-buildmode=pie \
+-mod=readonly \
+-modcacherw \
+-ldflags "-linkmode external -extldflags ${LDFLAGS} \
+-X miniflux.app/version.Version=${pkgver} \
+-X miniflux.app/version.Commit=tarball \
+-X miniflux.app/version.BuildDate=${BUILD_DATE}" \
+-o build \
+.
+}
+
+package() {
+  cd "v2-$pkgver"
+
+  # binary
+  install -vDm755 "build/$pkgname.app" "$pkgdir/usr/bin/$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/man/man1" "$pkgname.1"
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md ChangeLog
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+  # systemd integration
+  install -vDm644 -t "$pkgdir/usr/lib/systemd/system" 
"packaging/systemd/$pkgname.service"
+  install -vDm644 "$srcdir/sysusers.conf" 
"$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+  install -vDm644 -t "$pkgdir/etc" "packaging/$pkgname.conf"
+}

Added: miniflux/trunk/sysusers.conf
===
--- miniflux/trunk/sysusers.conf(rev 0)
+++ miniflux/trunk/sysusers.conf2021-08-24 07:04:44 UTC (rev 1004487)
@@ -0,0 +1 @@
+u miniflux - "Miniflux daemon account"



[arch-commits] Commit in (5 files)

2021-08-23 Thread Morgan Adamiec via arch-commits
Date: Monday, August 23, 2021 @ 14:25:02
  Author: morganamilo
Revision: 1004371

add discord-canary

Added:
  discord-canary/
  discord-canary/repos/
  discord-canary/trunk/
  discord-canary/trunk/PKGBUILD
  discord-canary/trunk/Permission_to_Distribute.mbox

---+
 PKGBUILD  |   49 +++
 Permission_to_Distribute.mbox |   83 
 2 files changed, 132 insertions(+)

Added: discord-canary/trunk/PKGBUILD
===
--- discord-canary/trunk/PKGBUILD   (rev 0)
+++ discord-canary/trunk/PKGBUILD   2021-08-23 14:25:02 UTC (rev 1004371)
@@ -0,0 +1,49 @@
+# Maintainer: Morgan 
+
+pkgname=discord-canary
+_pkgname=DiscordCanary
+pkgver=0.0.126
+pkgrel=1
+pkgdesc="All-in-one voice and text chat for gamers that's free and secure."
+arch=('x86_64')
+url='https://discordapp.com'
+license=('custom')
+depends=('libnotify' 'libxss' 'nspr' 'nss' 'gtk3')
+optdepends=('libpulse: Pulseaudio support'
+'xdg-utils: Open files')
+source=("https://dl-canary.discordapp.net/apps/linux/$pkgver/$pkgname-$pkgver.tar.gz";
+'LICENSE.html::https://discordapp.com/terms'
+'OSS-LICENSES.html::https://discordapp.com/licenses')
+sha512sums=('25e3b0eb80cfc0756e9c13f707476f0a186421b10640bb53cd13cd4eed608003da69e81d1e8a3c37dd38fd68c07bf5642f939909fd82428f56885a2c3927dd1a'
+'SKIP'
+'SKIP')
+
+prepare() {
+  cd $_pkgname
+
+  sed -i "s|Exec=.*|Exec=/usr/bin/$pkgname|" $pkgname.desktop
+  echo 'Path=/usr/bin' >> $pkgname.desktop
+}
+
+package() {
+  # Install the app
+  install -d "$pkgdir"/opt/$pkgname
+  cp -a $_pkgname/. "$pkgdir"/opt/$pkgname
+
+  chmod 755 "$pkgdir"/opt/$pkgname/$_pkgname
+
+  rm "$pkgdir"/opt/$pkgname/postinst.sh
+
+  install -d "$pkgdir"/usr/{bin,share/{pixmaps,applications}}
+  ln -s /opt/$pkgname/$_pkgname "$pkgdir"/usr/bin/$pkgname
+  ln -s /opt/$pkgname/discord.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
+  ln -s /opt/$pkgname/$pkgname.desktop 
"$pkgdir"/usr/share/applications/$pkgname.desktop
+
+  # setuid on chrome-sandbox
+  chmod u+s "$pkgdir"/opt/$pkgname/chrome-sandbox
+
+  # Licenses
+  install -Dm 644 LICENSE.html 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html
+  install -Dm 644 OSS-LICENSES.html 
"$pkgdir"/usr/share/licenses/$pkgname/OSS-LICENSES.html
+}
+

Added: discord-canary/trunk/Permission_to_Distribute.mbox
===
--- discord-canary/trunk/Permission_to_Distribute.mbox  
(rev 0)
+++ discord-canary/trunk/Permission_to_Distribute.mbox  2021-08-23 14:25:02 UTC 
(rev 1004371)
@@ -0,0 +1,83 @@
+From kodie.good...@discordapp.com Thu Jun 13 20:34:56 2019
+Return-Path: 
+Delivered-To: ff...@archlinux.org
+Received: from orion.archlinux.org
+   by orion with LMTP
+   id wyBRH3CzAl2FUAAA+xzH6A
+   (envelope-from )
+   for ; Thu, 13 Jun 2019 20:34:56 +
+Received: from orion.archlinux.org (localhost [127.0.0.1])
+   by orion.archlinux.org (Postfix) with ESMTP id 66CA913517A922
+   for ; Thu, 13 Jun 2019 20:34:55 + (UTC)
+X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on orion
+X-Spam-Level: 
+X-Spam-Status: No, score=-1.1 required=5.0
+ tests=BAYES_00=-1,DKIM_SIGNED=0.1,
+ DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HTML_MESSAGE=0.001,
+ RCVD_IN_DNSWL_NONE=-0.0001,SPF_HELO_NONE=0.001, T_DMARC_POLICY_QUAR=0.01
+ autolearn=ham autolearn_force=no version=3.4.2
+X-Spam-BL-Results:
+ 

+ [127.0.5.0]
+Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com
+ [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.3 with cipher
+ TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384)
+ server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client
+ certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for
+ ; Thu, 13 Jun 2019 20:34:55 + (UTC)
+Received: by mail-lj1-x22c.google.com with SMTP id s21so58292lji.8
+for ; Thu, 13 Jun 2019 13:34:55 -0700 (PDT)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=discordapp.com;
+ s=gsuite; h=mime-version:from:date:message-id:subject:to;
+ bh=LH86dlRYf6cqMyDrtGzBANXLtw1whsnDEezLkFI0V0U=;
+ b=Hn3WJ4XVxRhqkyBToNcRDJR+J2SLLDu+8cVKrCvb6qmXbkUFMP5KjTF0lqRnDmdpU8
+ nRoVXvHLxfuMFyXEAaqWysKomIsfviYpcjPuwsFOawCUkBTlmNrh4AnpQJLdYhqq4EGO
+ Tuu+XuRQSI3xXGlLbf+mROw6t0xr68hGGh3rmVnooweqnOI9Rk0teBp6cMu2KjaF+Dxa
+ zZc/kW3Wn5Kn8GMuNaOptGDQ3xxt3f31aLUCR31uchnSrQngUHQGtXIrAnxQKvoFeTAZ
+ Ok/wFcomCNRWpFaWMXHXfZMTseRxtpcyq7Fz62KvRNMeEvAqXKTeVfYqyap9Jb8P+PBJ ITSA==
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;
+ s=20161025;
+ h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
+ bh=LH86dlRYf6cqMyDrtGzBANXLtw1whsnDEezLkFI0V0U=;
+ b=V2dqDbX4lJJp0q6x+GSw6+WklHRJ9GCXy+meJtNC1IEEkcpI4XoeryYEcBzVH01oTk
+ x0+KwMhd+8eW4jut+BYjnkO4i43EwDI/RDF/JziV97Bt2aajNu0DiGyv

[arch-commits] Commit in (5 files)

2021-08-22 Thread George Rawlinson via arch-commits
Date: Monday, August 23, 2021 @ 01:12:11
  Author: grawlinson
Revision: 1004242

addpkg: nushell 0.35.0-3

Added:
  nushell/
  nushell/repos/
  nushell/trunk/
  nushell/trunk/PKGBUILD
  nushell/trunk/nushell.install

-+
 PKGBUILD|   50 ++
 nushell.install |   12 
 2 files changed, 62 insertions(+)

Added: nushell/trunk/PKGBUILD
===
--- nushell/trunk/PKGBUILD  (rev 0)
+++ nushell/trunk/PKGBUILD  2021-08-23 01:12:11 UTC (rev 1004242)
@@ -0,0 +1,50 @@
+# Maintainer: George Rawlinson 
+# Contributor:  KokaKiwi 
+# Contributor: Felix Golatofski 
+# Contributor: Bumsik Kim 
+
+pkgname=nushell
+pkgver=0.35.0
+pkgrel=3
+pkgdesc="A new type of shell"
+arch=('x86_64')
+url="https://www.nushell.sh";
+license=('MIT')
+depends=('openssl' 'libxcb' 'libx11' 'curl' 'bzip2')
+makedepends=('rust')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nushell/nushell/archive/$pkgver.tar.gz";)
+b2sums=('1a179cfa8e4a6bb5f7543e7a22ef2de596b5f03cb0c401e1751d525cbf7e3466704495b815a84e609cc67d99fe18f9be2b840dd5b380afd2c05667418ca9431b')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --release --all-features --frozen
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --frozen --all-features
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binaries
+  find target/release \
+-maxdepth 1 \
+-executable \
+-type f \
+-exec install -vDm755 -t "$pkgdir/usr/bin" "{}" +
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md
+  cp -vr docs/* "$pkgdir/usr/share/doc/$pkgname"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Added: nushell/trunk/nushell.install
===
--- nushell/trunk/nushell.install   (rev 0)
+++ nushell/trunk/nushell.install   2021-08-23 01:12:11 UTC (rev 1004242)
@@ -0,0 +1,12 @@
+post_install() {
+  grep -Fqx /bin/nu /etc/shells || echo /bin/nu >> /etc/shells
+  grep -Fqx /usr/bin/nu /etc/shells || echo /usr/bin/nu >> /etc/shells
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  sed -i -r '/^(\/usr)?\/bin\/nu$/d' etc/shells
+}



[arch-commits] Commit in (5 files)

2021-08-17 Thread Jelle van der Waa via arch-commits
Date: Tuesday, August 17, 2021 @ 09:13:25
  Author: jelle
Revision: 1001228

Initial commit

Added:
  tracer/
  tracer/repos/
  tracer/trunk/
  tracer/trunk/PKGBUILD
  tracer/trunk/python3.9-compat.patch

+
 PKGBUILD   |   40 
 python3.9-compat.patch |  113 +++
 2 files changed, 153 insertions(+)

Added: tracer/trunk/PKGBUILD
===
--- tracer/trunk/PKGBUILD   (rev 0)
+++ tracer/trunk/PKGBUILD   2021-08-17 09:13:25 UTC (rev 1001228)
@@ -0,0 +1,40 @@
+# Maintainer: Jelle van der Waa 
+
+pkgname=tracer
+pkgver=0.7.7
+pkgrel=1
+pkgdesc="OTracer finds outdated running applications in your system"
+arch=('any')
+url="http://tracer-package.com/";
+license=('GPL')
+depends=(python python-distro python-psutil python-six dbus-python pyalpm)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/FrostyX/tracer/archive/refs/tags/$pkgname-$pkgver-1.tar.gz";
+python3.9-compat.patch)
+sha512sums=('33e6521a4211e0cb9b04604f5797e5f12f235e2b41d975511e383a231363a112cbcdcbcf73c833b1313befaf17df75b4df29de7414eb9dafa02d058c17cefc88'
+
'b6f7cf4bc25d5ecec0b8816c66af92d1248a6b8cd885519fda94c785560b2ab6db46acb6b79a6e238fd1993e2832feeb6e6087d40b7dda6c00c7d1d64f2ba159')
+
+prepare() {
+cd "$pkgname-$pkgname-$pkgver-1"
+patch -Np1 -i ${srcdir}/python3.9-compat.patch
+cp LICENSE LICENCE.md
+}
+
+check() {
+cd "$pkgname-$pkgname-$pkgver-1"
+PYTHONPATH=. pytest tests
+}
+
+build() {
+cd "$pkgname-$pkgname-$pkgver-1"
+
+python setup.py build
+}
+
+package() {
+cd "$pkgname-$pkgname-$pkgver-1"
+
+python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+install -Dm644 LICENCE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Added: tracer/trunk/python3.9-compat.patch
===
--- tracer/trunk/python3.9-compat.patch (rev 0)
+++ tracer/trunk/python3.9-compat.patch 2021-08-17 09:13:25 UTC (rev 1001228)
@@ -0,0 +1,113 @@
+From 33bf201a58b4186fbe14c476f99e9375042d9e9d Mon Sep 17 00:00:00 2001
+From: Jakub Kadlcik 
+Date: Mon, 16 Aug 2021 21:44:19 +0200
+Subject: [PATCH] Use distro.id() instead of platform.linux_distribution()
+
+Fix #175
+
+We also needed to rename all variables named `distro` to not shadow
+the imported module name.
+---
+ tests/__meta__.py  |  1 -
+ tracer.spec|  4 
+ tracer/resources/system.py | 18 +-
+ 3 files changed, 13 insertions(+), 10 deletions(-)
+
+diff --git a/tests/__meta__.py b/tests/__meta__.py
+index 1752456..aa510e0 100644
+--- a/tests/__meta__.py
 b/tests/__meta__.py
+@@ -4,7 +4,6 @@
+ os.sys.path.insert(0, parentdir)
+ 
+ import sys
+-import platform
+ import unittest
+ from tracer.resources.system import System
+ 
+diff --git a/tracer.spec b/tracer.spec
+index aba229f..bd8ccea 100644
+--- a/tracer.spec
 b/tracer.spec
+@@ -74,11 +74,13 @@ BuildRequires:  python2-pytest
+ BuildRequires:  python2-psutil
+ BuildRequires:  python2-six
+ BuildRequires:  dbus-python
++BuildRequires:  python2-distro
+ Requires:   dbus-python
+ Requires:   python2-psutil
+ Requires:   python2-setuptools
+ Requires:   python2-future
+ Requires:   python2-six
++Requires:   python2-distro
+ Requires:   %{name}-common = %{version}-%{release}
+ %if %{with suggest}
+ Suggests:   python-argcomplete
+@@ -102,12 +104,14 @@ BuildRequires:  python3-psutil
+ BuildRequires:  python3-six
+ BuildRequires:  python3-dbus
+ BuildRequires:  python3-rpm
++BuildRequires:  python3-distro
+ Requires:   python3-rpm
+ Requires:   python3-psutil
+ Requires:   python3-lxml
+ Requires:   python3-setuptools
+ Requires:   python3-dbus
+ Requires:   python3-six
++Requires:   python3-distro
+ Requires:   %{name}-common = %{version}-%{release}
+ %if %{with suggest}
+ Suggests:   python3-argcomplete
+diff --git a/tracer/resources/system.py b/tracer/resources/system.py
+index 3dc9adf..32599f6 100644
+--- a/tracer/resources/system.py
 b/tracer/resources/system.py
+@@ -24,7 +24,7 @@
+ import os
+ import pwd
+ import importlib
+-import platform
++import distro
+ import psutil
+ from sys import version_info
+ from tracer.resources.PackageManager import PackageManager
+@@ -37,7 +37,7 @@ def distribution():
+   """
+   Checks if /etc/os-release exists, and if it does, uses it to 
divine the name of the distribution or
+   distribution like. e.g It will return 'debian' on Ubuntu 
systems.
+-  Otherwise, revert to using platform.linux_distribution()
++  Otherwise, revert to using distro.id()
+   """
+   if os.path.isfile("/etc/os-release"):
+   wit

[arch-commits] Commit in (5 files)

2021-08-16 Thread George Rawlinson via arch-commits
Date: Tuesday, August 17, 2021 @ 01:55:04
  Author: grawlinson
Revision: 1001109

addpkg: elvish 0.15.0-3

Added:
  elvish/
  elvish/repos/
  elvish/trunk/
  elvish/trunk/PKGBUILD
  elvish/trunk/elvish.install

+
 PKGBUILD   |   57 +++
 elvish.install |   14 +
 2 files changed, 71 insertions(+)

Added: elvish/trunk/PKGBUILD
===
--- elvish/trunk/PKGBUILD   (rev 0)
+++ elvish/trunk/PKGBUILD   2021-08-17 01:55:04 UTC (rev 1001109)
@@ -0,0 +1,57 @@
+# Maintainer: George Rawlinson 
+# Contributor: Haochen Tong 
+# Contributor: Qi Xiao 
+
+pkgname=elvish
+pkgver=0.15.0
+pkgrel=3
+pkgdesc="A friendly and expressive Unix shell"
+arch=('x86_64')
+url="https://github.com/elves/elvish";
+license=('BSD')
+makedepends=('git' 'go')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+b2sums=('51ccf4bf51e1d750ee10b95b67c819f3d81b5bf494c0257bd7cc20d16a7de0a4e6ff61623d1fe358c3ce2d9cb360af4732a899c66a831bae66f967bb061b2c8a')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  mkdir build
+  go mod vendor
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+-trimpath \
+-buildmode=pie \
+-mod=vendor \
+-modcacherw \
+-ldflags "-linkmode external -extldflags ${LDFLAGS} \
+-X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \
+-X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \
+-o build \
+./cmd/...
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  go test -v -race ./...
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" build/elvish
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Added: elvish/trunk/elvish.install
===
--- elvish/trunk/elvish.install (rev 0)
+++ elvish/trunk/elvish.install 2021-08-17 01:55:04 UTC (rev 1001109)
@@ -0,0 +1,14 @@
+post_install() {
+  grep -qe '^/bin/elvish$' etc/shells || echo '/bin/elvish' >> etc/shells
+  grep -qe '^/usr/bin/elvish$' etc/shells || echo '/usr/bin/elvish' >> 
etc/shells
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  sed -i -r '/^(\/usr)?\/bin\/elvish$/d' etc/shells
+}
+
+# vim:set ts=2 sw=2 et:



[arch-commits] Commit in (5 files)

2021-08-10 Thread Orhun Parmaksiz via arch-commits
Date: Tuesday, August 10, 2021 @ 13:03:08
  Author: orhun
Revision: 997373

addpkg: rpg-cli 0.6.0-2

Added:
  rpg-cli/
  rpg-cli/repos/
  rpg-cli/trunk/
  rpg-cli/trunk/PKGBUILD
  rpg-cli/trunk/rpg-cli.sh

+
 PKGBUILD   |   39 +++
 rpg-cli.sh |   10 ++
 2 files changed, 49 insertions(+)

Added: rpg-cli/trunk/PKGBUILD
===
--- rpg-cli/trunk/PKGBUILD  (rev 0)
+++ rpg-cli/trunk/PKGBUILD  2021-08-10 13:03:08 UTC (rev 997373)
@@ -0,0 +1,39 @@
+# Maintainer: Orhun Parmaksız 
+# Contributor: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
+
+pkgname=rpg-cli
+pkgver=0.6.0
+pkgrel=2
+pkgdesc='Your filesystem as a dungeon!'
+arch=('x86_64')
+url='https://github.com/facundoolano/rpg-cli'
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+"$pkgname.sh")
+sha256sums=('eef8ec026d0f49d00c05587984e4dd24e477efeb4b674be9a5cb992be876b163'
+'0b70c8a7eaa33e91bfa7baabccbd6735bbb0dc330539bd16f9f316bb2c8dd515')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --frozen --release
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --frozen
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm 644 "../$pkgname.sh" "$pkgdir/usr/share/$pkgname/$pkgname.sh"
+}

Added: rpg-cli/trunk/rpg-cli.sh
===
--- rpg-cli/trunk/rpg-cli.sh(rev 0)
+++ rpg-cli/trunk/rpg-cli.sh2021-08-10 13:03:08 UTC (rev 997373)
@@ -0,0 +1,10 @@
+rpg () {
+  case "${1}" in
+buy | use | battle | stat)
+  rpg-cli "${@}"
+  ;;
+*)
+  cd "${@}" && rpg-cli cd "${PWD}"
+  ;;
+  esac
+}



[arch-commits] Commit in (5 files)

2021-08-06 Thread Tim Meusel via arch-commits
Date: Friday, August 6, 2021 @ 11:35:15
  Author: bastelfreak
Revision: 994269

add ruby-rspec-its

Added:
  ruby-rspec-its/
  ruby-rspec-its/repos/
  ruby-rspec-its/trunk/
  ruby-rspec-its/trunk/PKGBUILD
  ruby-rspec-its/trunk/disable-cucumber.patch

+
 PKGBUILD   |   53 +++
 disable-cucumber.patch |   21 ++
 2 files changed, 74 insertions(+)

Added: ruby-rspec-its/trunk/PKGBUILD
===
--- ruby-rspec-its/trunk/PKGBUILD   (rev 0)
+++ ruby-rspec-its/trunk/PKGBUILD   2021-08-06 11:35:15 UTC (rev 994269)
@@ -0,0 +1,53 @@
+# Maintainer: Tim Meusel 
+
+_gemname='rspec-its'
+pkgname="ruby-${_gemname}"
+pkgver=1.3.0
+pkgrel=4
+pkgdesc='RSpec extension gem for attribute matching'
+arch=('any')
+url='https://github.com/rspec/rspec-its'
+license=('MIT')
+makedepends=('ruby-rdoc')
+checkdepends=('ruby-rake' 'ruby-minitest' 'ruby-test-unit')
+depends=('ruby' 'ruby-rspec')
+options=(!emptydirs)
+source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz"
+'disable-cucumber.patch')
+sha512sums=('97be9ba1f46db44a3d60676056d5ad66ee84585ff133ffaf25c42fc1e899c33d9841a9440336a8bd52c58685d8b2b5505c5cef7bfb5d634bcbc370c4b1a8a287'
+
'024e9ffecb7f366ddfc87b90dc3a1dbc897c6baadf466930c27255fd41617baccecbafea91e0cd292c8437737a9cdc596d012423982433d59eb45024e4c5b31a')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+
+  # we build with a tar archive, so `git` won't work
+  sed --in-place 's|`git ls-files`.split($/)|`find`.split("\\n")|' 
"${_gemname}.gemspec"
+
+  # disable unneeded dependencies
+  patch --forward --verbose --strip=1 --input='../disable-cucumber.patch'
+  sed --in-place '/.*dependency.*cucumber/d' "${_gemname}.gemspec"
+  sed --in-place '/aruba/d' "${_gemname}.gemspec"
+  sed --in-place '/bundler/d' "${_gemname}.gemspec"
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake spec
+}
+
+package() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}
+
+# vim: ts=2 sw=2 et:

Added: ruby-rspec-its/trunk/disable-cucumber.patch
===
--- ruby-rspec-its/trunk/disable-cucumber.patch (rev 0)
+++ ruby-rspec-its/trunk/disable-cucumber.patch 2021-08-06 11:35:15 UTC (rev 
994269)
@@ -0,0 +1,21 @@
+diff --git a/Rakefile b/Rakefile
+index 7a954d2..6451cc8 100644
+--- a/Rakefile
 b/Rakefile
+@@ -1,16 +1,7 @@
+-require "bundler"
+-Bundler.setup
+-Bundler::GemHelper.install_tasks
+-
+ require "rake"
+ require "rspec/core/rake_task"
+ 
+-require "cucumber/rake/task"
+-Cucumber::Rake::Task.new(:cucumber)
+-
+ desc "Run all examples"
+ RSpec::Core::RakeTask.new(:spec) do |t|
+   t.ruby_opts = %w[-w]
+ end
+-
+-task :default => [:spec, :cucumber]



[arch-commits] Commit in (5 files)

2021-07-29 Thread Orhun Parmaksiz via arch-commits
Date: Thursday, July 29, 2021 @ 18:42:46
  Author: orhun
Revision: 990533

addpkg: helix 0.3.0-2

Added:
  helix/
  helix/repos/
  helix/trunk/
  helix/trunk/PKGBUILD
  helix/trunk/helix.sh

--+
 PKGBUILD |   44 
 helix.sh |3 +++
 2 files changed, 47 insertions(+)

Added: helix/trunk/PKGBUILD
===
--- helix/trunk/PKGBUILD(rev 0)
+++ helix/trunk/PKGBUILD2021-07-29 18:42:46 UTC (rev 990533)
@@ -0,0 +1,44 @@
+# Maintainer: Orhun Parmaksız 
+# Contributor: Wojciech Kępka (wojci...@wkepka.dev)
+
+pkgname=helix
+pkgver=0.3.0
+pkgrel=2
+pkgdesc="A post-modern modal text editor"
+arch=('x86_64')
+url="https://helix-editor.com";
+license=('MPL2')
+depends=('bash')
+makedepends=('rust' 'git')
+conflicts=("hex")
+source=("git+https://github.com/helix-editor/helix.git#tag=v$pkgver";
+"$pkgname.sh")
+sha256sums=('SKIP'
+'f782c93bc0f2c7b27ec62fb2ba36e11b3354c3953405f8d2017b039c9eac500a')
+
+prepare() {
+  cd "$pkgname"
+  git submodule init
+  git submodule update --recursive
+}
+
+build() {
+  cd "$pkgname"
+  cargo build --release --locked
+}
+
+check() {
+  cd "$pkgname"
+  cargo test --release --locked --all-features
+}
+
+package() {
+  cd "$pkgname"
+  install -Dm 755 "../$pkgname.sh" "$pkgdir/usr/bin/hx"
+  install -Dm 755 "target/release/hx" "$pkgdir/usr/lib/$pkgname/hx"
+  mkdir -p "$pkgdir/usr/lib/helix/"
+  cp -r "runtime" "$pkgdir/usr/lib/helix/"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:

Added: helix/trunk/helix.sh
===
--- helix/trunk/helix.sh(rev 0)
+++ helix/trunk/helix.sh2021-07-29 18:42:46 UTC (rev 990533)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+HELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@"



[arch-commits] Commit in (5 files)

2021-07-23 Thread Daniel M. Capella via arch-commits
Date: Friday, July 23, 2021 @ 20:27:06
  Author: polyzen
Revision: 984830

Add python-jq optdep for urlwatch

Added:
  python-jq/
  python-jq/repos/
  python-jq/trunk/
  python-jq/trunk/PKGBUILD
  python-jq/trunk/jq-py-setup.patch

---+
 PKGBUILD  |   56 
 jq-py-setup.patch |  144 
 2 files changed, 200 insertions(+)

Added: python-jq/trunk/PKGBUILD
===
--- python-jq/trunk/PKGBUILD(rev 0)
+++ python-jq/trunk/PKGBUILD2021-07-23 20:27:06 UTC (rev 984830)
@@ -0,0 +1,56 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Mubashshir 
+
+_name=jq.py
+pkgname=python-jq
+pkgver=1.1.3
+pkgrel=3
+pkgdesc='Python bindings for jq'
+arch=('x86_64')
+url=https://github.com/mwilliamson/jq.py
+license=('BSD')
+depends=('jq' 'python')
+makedepends=('cython' 'python-build' 'python-install' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-nose')
+source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz"
+'jq-py-setup.patch')
+sha256sums=('b0f4de47d6ae4fb221b539463eca777d723f2e7b290af6e132d51d7ef89c824c'
+'81abf958b5b7987a0e90a217ed62e1f62a53d19bc3354f8cdf15cd863bcc72d5')
+b2sums=('31fe4744e18f01c96d0a6df614ad5122c7fbd07e00f666c4b1d63b25e3b075c2ada533784d73f01fea6eebf907ef8b8d4eb9af5dd1c9066e4fadfa9f1b35'
+
'3424a91e0e6330e8d25e167b862554e466f469cdeb5672d4d4e5ff4d4475bfe9c7a575f3c93cd03687e10cc6afac2bb94294c0fef50feec03eaa55684e2907bc')
+
+# Devendor
+prepare() {
+  cd $_name-$pkgver
+  sed -i '/certifi\|requests/d' pyproject.toml
+  patch --forward --strip=1 --input=../jq-py-setup.patch
+}
+
+build() {
+  cd $_name-$pkgver
+  cython jq.pyx
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  mkdir -p temp
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  python -m install --optimize=1 --destdir=temp dist/*.whl
+  PYTHONPATH="$PWD/temp/$site_packages" nosetests tests
+}
+
+package() {
+  cd $_name-$pkgver
+  export PYTHONHASHSEED=0
+  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s $site_packages/jq-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Added: python-jq/trunk/jq-py-setup.patch
===
--- python-jq/trunk/jq-py-setup.patch   (rev 0)
+++ python-jq/trunk/jq-py-setup.patch   2021-07-23 20:27:06 UTC (rev 984830)
@@ -0,0 +1,144 @@
+From bef841b73ba7c9a79211146798ac888fce9bb55a Mon Sep 17 00:00:00 2001
+From: "Robert T. McGibbon" 
+Date: Fri, 7 May 2021 19:14:20 -0400
+Subject: [PATCH 1/1] Vastly simplify setup.py for distro compatibility
+
+---
+ setup.py | 98 +---
+ 1 file changed, 1 insertion(+), 97 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 663792c..3ebcabe 100644
+--- a/setup.py
 b/setup.py
+@@ -1,113 +1,19 @@
+ #!/usr/bin/env python
+ 
+ import os
+-import subprocess
+-import tarfile
+-import shutil
+-import sysconfig
+ 
+-import requests
+ from setuptools import setup
+-from setuptools.command.build_ext import build_ext
+ from setuptools.extension import Extension
+ 
+ 
+-def urlretrieve(source_url, destination_path):
+-response = requests.get(source_url, stream=True)
+-if response.status_code != 200:
+-raise Exception("status code was: {}".format(response.status_code))
+-
+-with open(destination_path, "wb") as fileobj:
+-for chunk in response.iter_content(chunk_size=128):
+-fileobj.write(chunk)
+-
+-def path_in_dir(relative_path):
+-return os.path.abspath(os.path.join(os.path.dirname(__file__), 
relative_path))
+-
+-def dependency_path(relative_path):
+-return os.path.join(path_in_dir("_deps"), relative_path)
+-
+ def read(fname):
+ return open(os.path.join(os.path.dirname(__file__), fname)).read()
+ 
+ 
+-jq_lib_tarball_path = dependency_path("jq-lib-1.6.tar.gz")
+-jq_lib_dir = dependency_path("jq-1.6")
+-
+-oniguruma_version = "6.9.4"
+-oniguruma_lib_tarball_path = 
dependency_path("onig-{}.tar.gz".format(oniguruma_version))
+-oniguruma_lib_build_dir = dependency_path("onig-{}".format(oniguruma_version))
+-oniguruma_lib_install_dir = 
dependency_path("onig-install-{}".format(oniguruma_version))
+-
+-class jq_build_ext(build_ext):
+-def run(self):
+-if not os.path.exists(dependency_path(".")):
+-os.makedirs(dependency_path("."))
+-self._build_oniguruma()
+-self._build_libjq()
+-build_ext.run(self)
+-
+-def _build_oniguruma(self):
+-self._build_lib(
+-
source_url="h

[arch-commits] Commit in (5 files)

2021-07-12 Thread Daniel M. Capella via arch-commits
Date: Tuesday, July 13, 2021 @ 06:52:56
  Author: polyzen
Revision: 976726

Add lua-language-server package

Added:
  lua-language-server/
  lua-language-server/repos/
  lua-language-server/trunk/
  lua-language-server/trunk/PKGBUILD
  lua-language-server/trunk/wrapper

--+
 PKGBUILD |   56 
 wrapper  |8 
 2 files changed, 64 insertions(+)

Added: lua-language-server/trunk/PKGBUILD
===
--- lua-language-server/trunk/PKGBUILD  (rev 0)
+++ lua-language-server/trunk/PKGBUILD  2021-07-13 06:52:56 UTC (rev 976726)
@@ -0,0 +1,56 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: KokaKiwi 
+# Contributor: Mohammad AlSaleh 
+
+pkgname=lua-language-server
+pkgver=2.2.3
+pkgrel=1
+license=('MIT')
+pkgdesc='Lua Language Server coded by Lua'
+url=https://github.com/sumneko/lua-language-server
+arch=('x86_64')
+depends=('gcc-libs')
+makedepends=('git' 'ninja')
+source=("git+$url.git#tag=$pkgver"
+'git+https://github.com/actboy168/bee.lua.git'
+'git+https://github.com/sqmedeiros/lpeglabel.git'
+'git+https://github.com/actboy168/luamake.git'
+'git+https://github.com/electron/rcedit.git'
+'wrapper')
+b2sums=('SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+
'fbc4df76ae79a4a170fdc969d257adde36cecf19ade6d03f6624c08fea132a8b74c4e7c357acfb8f10024c251aaa83b348e1cd78943cb43469d947d83043c967')
+
+prepare() {
+  cd $pkgname
+  git submodule init
+  for i in ../{bee.lua,lpeglabel,luamake,rcedit}; do
+git config submodule.3rd/${i##../}.url $i
+  done
+  git submodule update
+  cd 3rd/luamake
+  git submodule init
+  git config submodule.3rd/bee.lua.url ../../../bee.lua
+  git submodule update
+}
+
+build() {
+  cd $pkgname
+  ninja -C 3rd/luamake -f compile/ninja/linux.ninja
+  ./3rd/luamake/luamake rebuild
+}
+
+package() {
+  cd $pkgname
+  install -D ../wrapper "$pkgdir"/usr/bin/$pkgname
+  install -Dt "$pkgdir"/usr/lib/$pkgname bin/Linux/$pkgname
+  install -m644 -t "$pkgdir"/usr/lib/$pkgname bin/Linux/*.so
+  install -Dm644 -t "$pkgdir"/usr/share/$pkgname {debugger,main,platform}.lua
+  cp -r locale meta script "$pkgdir"/usr/share/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Added: lua-language-server/trunk/wrapper
===
--- lua-language-server/trunk/wrapper   (rev 0)
+++ lua-language-server/trunk/wrapper   2021-07-13 06:52:56 UTC (rev 976726)
@@ -0,0 +1,8 @@
+#/usr/lib/lua-language-server/lua-language-server!/bin/sh
+TMPPATH=$(mktemp -d "/tmp/lua-language-server.")
+DEFAULT_LOGPATH="$TMPPATH/log"
+DEFAULT_METAPATH="$TMPPATH/meta"
+
+exec /usr/lib/lua-language-server/lua-language-server -E 
/usr/share/lua-language-server/main.lua \
+  --logpath="$DEFAULT_LOGPATH" --metapath="$DEFAULT_METAPATH" \
+  "$@"


Property changes on: lua-language-server/trunk/wrapper
___
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property


[arch-commits] Commit in (5 files)

2021-07-08 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, July 8, 2021 @ 07:15:23
  Author: svenstaro
Revision: 975757

Move ttf-input from AUR

Added:
  ttf-input/
  ttf-input/repos/
  ttf-input/trunk/
  ttf-input/trunk/PKGBUILD
  ttf-input/trunk/djr-arch-linux-distribution-agreement.pdf

---+
 PKGBUILD  |   23 +++
 djr-arch-linux-distribution-agreement.pdf |1 +
 2 files changed, 24 insertions(+)

Added: ttf-input/trunk/PKGBUILD
===
--- ttf-input/trunk/PKGBUILD(rev 0)
+++ ttf-input/trunk/PKGBUILD2021-07-08 07:15:23 UTC (rev 975757)
@@ -0,0 +1,23 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: javier dot tia at gmail dot com
+
+pkgname=ttf-input
+pkgver=20191031
+pkgrel=3
+pkgdesc='Fonts for code from DJR & Font Bureau'
+arch=('any')
+url='https://input.djr.com/'
+license=('custom')
+_url="${url}build/?fontSelection=whole&a=0&g=0&i=0&l=0&zero=0&asterisk=0&braces=0&preset=default&line-height=1.2&accept=I+do&email="
+source=("Input_Fonts_${pkgver}.zip::${_url}")
+sha256sums=('9e5ccc20a7853ed9d3cd596ab0fdacb0a4eaefbf5de39ce02c2c58c99c08ce01')
+
+package() {
+  mkdir -p ${pkgdir}/usr/share/fonts/TTF
+  find ${srcdir}/Input_Fonts -name '*.ttf' \
+-exec cp {} ${pkgdir}/usr/share/fonts/TTF \;
+  chmod 644 ${pkgdir}/usr/share/fonts/TTF/*
+
+  mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
+  cp ${srcdir}/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}
+}

Added: ttf-input/trunk/djr-arch-linux-distribution-agreement.pdf
===
(Binary files differ)

Index: ttf-input/trunk/djr-arch-linux-distribution-agreement.pdf
===
--- ttf-input/trunk/djr-arch-linux-distribution-agreement.pdf   2021-07-08 
07:09:51 UTC (rev 975756)
+++ ttf-input/trunk/djr-arch-linux-distribution-agreement.pdf   2021-07-08 
07:15:23 UTC (rev 975757)

Property changes on: ttf-input/trunk/djr-arch-linux-distribution-agreement.pdf
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property


[arch-commits] Commit in (5 files)

2021-07-01 Thread Maxim Baz via arch-commits
Date: Thursday, July 1, 2021 @ 20:32:01
  Author: maximbaz
Revision: 969763

aspell-da: import from AUR, update

Added:
  aspell-da/
  aspell-da/repos/
  aspell-da/repos/community-any/
  aspell-da/trunk/
  aspell-da/trunk/PKGBUILD

--+
 PKGBUILD |   25 +
 1 file changed, 25 insertions(+)

Added: aspell-da/trunk/PKGBUILD
===
--- aspell-da/trunk/PKGBUILD(rev 0)
+++ aspell-da/trunk/PKGBUILD2021-07-01 20:32:01 UTC (rev 969763)
@@ -0,0 +1,25 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Esben Haabendal 
+
+pkgname=aspell-da
+pkgver=1.6.36
+pkgrel=1
+pkgdesc='Danish dictionary for aspell'
+arch=('any')
+url='http://aspell.net/'
+license=('custom')
+depends=('aspell')
+source=("https://ftp.gnu.org/gnu/aspell/dict/da/aspell6-da-${pkgver}-11-0.tar.bz2";)
+sha512sums=('6f793a491012b06eb45f8b52e230ae4de890b9a139f079a9d2264af62029b241b89b1690885641678607ac3c42b4ebfe626b14ec373cf5228b12b9eb615b8244')
+
+build() {
+cd "aspell6-da-${pkgver}-11-0"
+./configure
+make
+}
+
+package() {
+cd "aspell6-da-${pkgver}-11-0"
+make DESTDIR=${pkgdir} install
+install -Dm644 Copyright "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



[arch-commits] Commit in (5 files)

2021-06-30 Thread George Rawlinson via arch-commits
Date: Wednesday, June 30, 2021 @ 23:33:31
  Author: grawlinson
Revision: 968055

addpkg: editline 1.17.1-2

Added:
  editline/
  editline/repos/
  editline/trunk/
  editline/trunk/PKGBUILD
  editline/trunk/editline.install

--+
 PKGBUILD |   34 ++
 editline.install |8 
 2 files changed, 42 insertions(+)

Added: editline/trunk/PKGBUILD
===
--- editline/trunk/PKGBUILD (rev 0)
+++ editline/trunk/PKGBUILD 2021-06-30 23:33:31 UTC (rev 968055)
@@ -0,0 +1,34 @@
+# Maintainer: George Rawlinson 
+# Contributor: Immae 
+
+pkgname=editline
+pkgver=1.17.1
+pkgrel=2
+pkgdesc='A readline() replacement for UNIX without termcap (ncurses)'
+arch=('x86_64')
+url='http://troglobit.com/editline.html'
+license=('BSD')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/troglobit/$pkgname/archive/$pkgver.tar.gz";)
+sha512sums=('6fd8951a490e0a3f30bb20d775036f622e583042d6dc315d657bb9fdad76b3f4e219290f24ab497209d6143a56dd1d227152ba0c40e7912b8a443ab50f9b05dd')
+
+build () {
+  cd "$pkgname-$pkgver"
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  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"
+
+  # additional documentation
+  cp -vrt "$pkgdir/usr/share/doc/$pkgname" docs
+}

Added: editline/trunk/editline.install
===
--- editline/trunk/editline.install (rev 0)
+++ editline/trunk/editline.install 2021-06-30 23:33:31 UTC (rev 968055)
@@ -0,0 +1,8 @@
+post_install() {
+   cat <

[arch-commits] Commit in (5 files)

2021-06-30 Thread David Runge via arch-commits
Date: Wednesday, June 30, 2021 @ 11:37:32
  Author: dvzrv
Revision: 967971

Add mellite.

Added:
  mellite/
  mellite/repos/
  mellite/trunk/
  mellite/trunk/PKGBUILD
  mellite/trunk/mellite.sh

+
 PKGBUILD   |   47 +++
 mellite.sh |4 
 2 files changed, 51 insertions(+)

Added: mellite/trunk/PKGBUILD
===
--- mellite/trunk/PKGBUILD  (rev 0)
+++ mellite/trunk/PKGBUILD  2021-06-30 11:37:32 UTC (rev 967971)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge 
+
+_name=Mellite
+_app_name=de.sciss.mellite.Mellite
+pkgname=mellite
+pkgver=3.5.5
+pkgrel=1
+pkgdesc="An environment for creating experimental computer-based music and 
sound art"
+arch=('any')
+url="https://www.sciss.de/mellite/";
+license=('AGPL3')
+groups=('pro-audio')
+depends=('java-environment>=16' 'supercollider')
+makedepends=('gendesk' 'sbt')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Sciss/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz";
+"${pkgname}.sh")
+sha512sums=('1e4ad800d98c0462bdeb4c8c5e048c60c533fb0d0620705892e638aebe558aacdfb7c375a12ce290a203b7b63488c737d0feb370f0b4bb97445e6cd4e60a9042'
+
'1a6a572b4c365cdad87930bef805afa229b329cb2ceefb6b9ce42b233ab86f768ae3e3d5fd7cac1129786878c38fd891015aaf6637d9bd7b5ce3b2ef5fe9d30b')
+b2sums=('87b632ecf124eaaf0edd24c366566f74c741c9000df1e7977f5631b9efd7608277d791617f98419f1310e008b3671398e66efe46c6ed758984955da2c22403fd'
+
'4f1fd83d7cf5561e76f746860e5436e7dfab9bd50ad103f499b82de99a67034122f0e8e99e6a58574d6611585d63b2976e5d31979c7233294464683c86cce3ea')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  gendesk -n \
+  --pkgname "${_app_name}" \
+  --name "Mellite" \
+  --pkgdesc "${meter_types[$type]}" \
+  --exec "${pkgname}" \
+  --icon "${_app_name}" \
+  --genericname "Audio Programming" \
+  --categories "AudioVideo;Audio"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  sbt +mellite-app/test +mellite-app/assembly
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -vDm 644 "app/${_name}.jar" -t "${pkgdir}/usr/share/scala/${pkgname}"
+  install -vDm 755 "../${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
+  install -vDm 644 icons/application.png 
"${pkgdir}/usr/share/icons/hicolor/256x256/de.sciss.mellite.Mellite.png"
+  install -vDm 644 icons/application.svg 
"${pkgdir}/usr/share/icons/hicolor/scalable/de.sciss.mellite.Mellite.svg"
+  install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications"
+}

Added: mellite/trunk/mellite.sh
===
--- mellite/trunk/mellite.sh(rev 0)
+++ mellite/trunk/mellite.sh2021-06-30 11:37:32 UTC (rev 967971)
@@ -0,0 +1,4 @@
+#!/usr/bin/sh
+
+PATH="/usr/lib/jvm/java-16-openjdk/bin:${PATH}"
+java -jar /usr/share/scala/mellite/Mellite.jar



[arch-commits] Commit in (5 files)

2021-06-27 Thread George Rawlinson via arch-commits
Date: Monday, June 28, 2021 @ 04:08:36
  Author: grawlinson
Revision: 967650

addpkg: singularity-container 3.8.0-1

Added:
  singularity-container/
  singularity-container/repos/
  singularity-container/trunk/
  singularity-container/trunk/PKGBUILD
  singularity-container/trunk/tmpfiles.conf

---+
 PKGBUILD  |   83 
 tmpfiles.conf |1 
 2 files changed, 84 insertions(+)

Added: singularity-container/trunk/PKGBUILD
===
--- singularity-container/trunk/PKGBUILD(rev 0)
+++ singularity-container/trunk/PKGBUILD2021-06-28 04:08:36 UTC (rev 
967650)
@@ -0,0 +1,83 @@
+# Maintainer: George Rawlinson 
+# Contributor: Maciej Sieczka 
+
+_pkgname=singularity
+pkgname=singularity-container
+pkgver=3.8.0
+pkgrel=1
+pkgdesc='Application containers for secure high performance computing'
+arch=('x86_64')
+url='https://singularity.hpcng.org'
+license=('BSD')
+backup=(
+  etc/singularity/capability.json
+  etc/singularity/cgroups/cgroups.toml
+  etc/singularity/ecl.toml
+  etc/singularity/global-pgp-public
+  etc/singularity/network/00_bridge.conflist
+  etc/singularity/network/10_ptp.conflist
+  etc/singularity/network/20_ipvlan.conflist
+  etc/singularity/network/30_macvlan.conflist
+  etc/singularity/network/40_fakeroot.conflist
+  etc/singularity/nvliblist.conf
+  etc/singularity/remote.yaml
+  etc/singularity/rocmliblist.conf
+  etc/singularity/seccomp-profiles/default.json
+  etc/singularity/singularity.conf
+)
+depends=('squashfs-tools' 'libseccomp')
+makedepends=('go' 'git' 'cryptsetup')
+optdepends=('bash-completion: for tab completion')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hpcng/singularity/archive/v$pkgver.tar.gz";
+'tmpfiles.conf')
+b2sums=('60b59b82753b657ae758ebf4d39c65c321525bcde644bcfcd98fbac55692161cdd4d612ec64eea3b789f0a0de51317edf98538c2e74289edb9d434b04b0c392d'
+
'33b6c0a8698d15155829af047df42ab2c408f7c604490bdb03210bcf2af175c86a5ad1aaba90452062b21f22f8e36b519f1a07c86ce812af89ebb6f31c160074')
+
+prepare() {
+  cd "$_pkgname-$pkgver"
+
+  # provide version to build script
+  echo "$pkgver" > VERSION
+
+  # fix bash completion path
+  sed -e "s|/etc/bash_completion.d|/usr/share/bash-completion/completions|" \
+-e 
"s|\$(SYSCONFDIR)/bash_completion.d|/usr/share/bash-completion/completions|" \
+-i  mlocal/frags/build_cli.mk
+}
+
+build() {
+  cd "$_pkgname-$pkgver"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-mod=readonly -modcacherw"
+
+  ./mconfig \
+--prefix=/usr \
+--sysconfdir=/etc \
+--libexecdir=/usr/lib \
+--localstatedir=/var/lib \
+-P release-stripped \
+-v
+
+  make -C builddir
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+
+  # binaries & man pages
+  make -C builddir DESTDIR="$pkgdir" install man
+
+  # license
+  install -vDm644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # let systemd-tmpfiles generate state directory
+  rm -rf "$pkgdir/var"
+  install -vDm644 "$srcdir/tmpfiles.conf" \
+"$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+}

Added: singularity-container/trunk/tmpfiles.conf
===
--- singularity-container/trunk/tmpfiles.conf   (rev 0)
+++ singularity-container/trunk/tmpfiles.conf   2021-06-28 04:08:36 UTC (rev 
967650)
@@ -0,0 +1 @@
+d /var/lib/singularity/mnt/session



[arch-commits] Commit in (5 files)

2021-06-25 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, June 25, 2021 @ 16:58:19
  Author: yan12125
Revision: 967448

python-pyhcl: new package, which will be used by upcoming buildbot [1]

[1] https://github.com/buildbot/buildbot/pull/6058

Added:
  python-hvac/
  python-hvac/repos/
  python-hvac/trunk/
  python-hvac/trunk/PKGBUILD
  python-hvac/trunk/flask.diff

+
 PKGBUILD   |   52 
 flask.diff |   13 +
 2 files changed, 65 insertions(+)

Added: python-hvac/trunk/PKGBUILD
===
--- python-hvac/trunk/PKGBUILD  (rev 0)
+++ python-hvac/trunk/PKGBUILD  2021-06-25 16:58:19 UTC (rev 967448)
@@ -0,0 +1,52 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: David Vilar Benet 
+
+_pkgname=hvac
+pkgname=python-$_pkgname
+pkgver=0.10.14
+pkgrel=2
+pkgdesc='Python 2.7/3.X client for HashiCorp Vault'
+url='https://python-hvac.org/'
+license=(Apache)
+arch=(any)
+depends=(python python-requests python-six)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-authlib python-flask 
python-flask-sqlalchemy python-mock
+  python-parameterized python-pyhcl python-requests-mock 
python-werkzeug python-jwcrypto
+  vault consul)
+optdepends=(
+  'python-pyhcl: for parsing returned data'
+)
+source=("https://github.com/$_pkgname/$_pkgname/archive/v$pkgver/$_pkgname-$pkgver.tar.gz";
+'flask.diff')
+sha512sums=('3b3b5c64df5c57679a35e09cd61d29090c950dfaa11f64b4c3f8442a3ccf6512cc2d792f60e035815e4c4857813ba49612e0f52c5da3670bd692116a6bd28469'
+
'ce5b56ef800b8e6fbf9f8d8097558ec6e98fd48a140b29a5e81a290eebe37369669b529a3e16fd873768a2591d4192ca2c7f88acca5f71873d47f94d8dc45899')
+
+prepare() {
+  # /usr/bin/vault not working in clean chroots as it requires CAP_IPC_LOCK
+  # https://github.com/hashicorp/vault/issues/10048
+  mkdir -p vault-unprivileged
+  cp -v /usr/bin/vault vault-unprivileged/
+
+  cd $_pkgname-$pkgver
+  # hvac tests incorrect use Flask APIs, and an error is thrown sine Flask 
2.0.1
+  # 
https://github.com/pallets/flask/commit/7c5261407dae61679c268b44c63d73909c3fe652
+  patch -Np1 -i ../flask.diff
+}
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  # test_ldap requires many unpackaged dependencies
+  PATH="$srcdir/vault-unprivileged:$PATH" pytest tests \
+--ignore=tests/integration_tests/api/auth_methods/test_ldap.py
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}

Added: python-hvac/trunk/flask.diff
===
--- python-hvac/trunk/flask.diff(rev 0)
+++ python-hvac/trunk/flask.diff2021-06-25 16:58:19 UTC (rev 967448)
@@ -0,0 +1,13 @@
+diff --git a/tests/utils/mock_oauth_provider/routes.py 
b/tests/utils/mock_oauth_provider/routes.py
+index b1254ea..54f0956 100644
+--- a/tests/utils/mock_oauth_provider/routes.py
 b/tests/utils/mock_oauth_provider/routes.py
+@@ -13,7 +13,7 @@ from tests.utils.mock_oauth_provider.models import 
(OAuth2Client, User, db)
+ from tests.utils.mock_oauth_provider.oauth2 import (authorization, 
require_oauth)
+ 
+ logger = logging.getLogger(__name__)
+-bp = Blueprint(__name__, 'home')
++bp = Blueprint('home', __name__)
+ 
+ 
+ def current_user():



[arch-commits] Commit in (5 files)

2021-06-18 Thread George Rawlinson via arch-commits
Date: Friday, June 18, 2021 @ 07:42:19
  Author: grawlinson
Revision: 965137

addpkg: dovecot-fts-xapian 1.4.9b-1

Added:
  dovecot-fts-xapian/
  dovecot-fts-xapian/repos/
  dovecot-fts-xapian/trunk/
  dovecot-fts-xapian/trunk/PKGBUILD
  dovecot-fts-xapian/trunk/dovecot-fts-xapian.install

+
 PKGBUILD   |   33 +
 dovecot-fts-xapian.install |   12 
 2 files changed, 45 insertions(+)

Added: dovecot-fts-xapian/trunk/PKGBUILD
===
--- dovecot-fts-xapian/trunk/PKGBUILD   (rev 0)
+++ dovecot-fts-xapian/trunk/PKGBUILD   2021-06-18 07:42:19 UTC (rev 965137)
@@ -0,0 +1,33 @@
+# Maintainer: George Rawlinson 
+
+pkgname=dovecot-fts-xapian
+_pkgname="${pkgname#dovecot-}"
+pkgver=1.4.9b
+pkgrel=1
+pkgdesc="Dovecot FTS plugin based on Xapian"
+arch=('x86_64')
+url="https://github.com/grosjo/fts-xapian";
+license=('LGPL2.1')
+depends=('dovecot' 'icu' 'xapian-core')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+b2sums=('1f49139d9fb3d334a1adae00b5a3fc364df9a36418c64674db00bac807b681bc3aafd3033f3e38f4696d537fe2f5f772a5e4fd1313b2a0d5c77fea9dfa78bdad')
+
+build() {
+  cd "$_pkgname-$pkgver"
+  autoreconf -vi
+  ./configure \
+--prefix=/usr \
+--with-dovecot=/usr/lib/dovecot
+
+  make
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Added: dovecot-fts-xapian/trunk/dovecot-fts-xapian.install
===
--- dovecot-fts-xapian/trunk/dovecot-fts-xapian.install 
(rev 0)
+++ dovecot-fts-xapian/trunk/dovecot-fts-xapian.install 2021-06-18 07:42:19 UTC 
(rev 965137)
@@ -0,0 +1,12 @@
+post_install() {
+   cat <<-EOF
+
+   Documentation is included in /usr/share/doc/dovecot-fts-xapian
+
+   For more documentation, see:
+ * https://github.com/grosjo/fts-xapian
+ * https://doc.dovecot.org/configuration_manual/fts
+ * https://doc.dovecot.org/settings/plugin/fts-plugin
+
+   EOF
+}


[arch-commits] Commit in (5 files)

2021-06-17 Thread Maxim Baz via arch-commits
Date: Thursday, June 17, 2021 @ 20:54:25
  Author: maximbaz
Revision: 964758

goimapnotify: add

Added:
  goimapnotify/
  goimapnotify/repos/
  goimapnotify/repos/community-x86_64/
  goimapnotify/trunk/
  goimapnotify/trunk/PKGBUILD

--+
 PKGBUILD |   39 +++
 1 file changed, 39 insertions(+)

Added: goimapnotify/trunk/PKGBUILD
===
--- goimapnotify/trunk/PKGBUILD (rev 0)
+++ goimapnotify/trunk/PKGBUILD 2021-06-17 20:54:25 UTC (rev 964758)
@@ -0,0 +1,39 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Jorge Araya Navarro 
+
+pkgname=goimapnotify
+pkgver=2.3.1
+pkgrel=2
+pkgdesc="Execute scripts on IMAP mailbox changes (new/deleted/updated 
messages) using IDLE, golang version."
+url="https://gitlab.com/shackra/goimapnotify";
+license=('GPL3')
+arch=('x86_64')
+depends=('glibc')
+makedepends=('git' 'go')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('fa91cdaa2e2727a98d634acb16c397806a3a797bbccd4d95da35b519807c89ce67a6f980e2fe275b297d49b0d9170263bb590c3b613f0003a73e3232a78d1bbb')
+
+build() {
+cd "${pkgname}-${pkgver}"
+
+export CGO_CPPFLAGS="${CPPFLAGS}"
+export CGO_CFLAGS="${CFLAGS}"
+export CGO_CXXFLAGS="${CXXFLAGS}"
+export CGO_LDFLAGS="${LDFLAGS}"
+export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+go build -ldflags "-linkmode=external -extldflags=$LDFLAGS"
+}
+
+check() {
+cd "${pkgname}-${pkgver}"
+
+go test ./...
+}
+
+package() {
+cd "${pkgname}-${pkgver}"
+
+install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
+install -Dm644 -t "${pkgdir}/usr/lib/systemd/user/" goimapnotify@.service
+install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
+}


[arch-commits] Commit in (5 files)

2021-06-17 Thread George Rawlinson via arch-commits
Date: Thursday, June 17, 2021 @ 17:28:56
  Author: grawlinson
Revision: 964672

addpkg: ttf-monoid 0.61-7

Added:
  ttf-monoid/
  ttf-monoid/repos/
  ttf-monoid/trunk/
  ttf-monoid/trunk/PKGBUILD
  ttf-monoid/trunk/fontbuilder-python3.patch

---+
 PKGBUILD  |   61 
 fontbuilder-python3.patch |   16 +++
 2 files changed, 77 insertions(+)

Added: ttf-monoid/trunk/PKGBUILD
===
--- ttf-monoid/trunk/PKGBUILD   (rev 0)
+++ ttf-monoid/trunk/PKGBUILD   2021-06-17 17:28:56 UTC (rev 964672)
@@ -0,0 +1,61 @@
+# Maintainer: George Rawlinson 
+# Contributor: Severen Redwood 
+
+pkgname='ttf-monoid'
+pkgver=0.61
+pkgrel=7
+pkgdesc='A customisable coding font'
+arch=('any')
+license=('MIT' 'custom:OFL')
+makedepends=('fontforge' 'python')
+url='https://larsenwork.com/monoid/'
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/larsenwork/monoid/archive/${pkgver}.tar.gz";
+"fontbuilder-python3.patch")
+sha512sums=('2acae11b3d0a86ac1d0588de986fbcf13a83bdcb857b0eb1deaeae55615fdccbfd8f19b5618ee61abd1261c3f203cadcaa7b37f44f535a3fe462240602ab51dc'
+
'7f06b8827ed12b3070512ae58424b92a05635eefe0dee0d6314f1b92230f431e2fde5a2d70adbff324bbcb4ce70b135ccda2a6dfaaeb7b6e4219a447034f00c0')
+
+prepare () {
+  cd "monoid-${pkgver}"
+
+  # extract LICENSE from README
+  sed -n '/Monoid is dual licensed/,/OTHER DEALINGS IN THE FONT SOFTWARE./p' \
+'Readme.md' > \
+'LICENSE'
+
+  # patch fontbuilder script
+  cd "Scripts"
+  patch -sp1 < "${srcdir}/fontbuilder-python3.patch"
+}
+
+build () {
+  cd "monoid-${pkgver}"
+
+  # ensure python can find fontbuilder module
+  export PYTHONPATH="$(pwd)/Scripts"
+
+  # list of fonts to build
+  # note: Monoid-Diacritic variants are buggy, so they are skipped
+  local FONT_FILES=(
+"Source/Monoid.sfdir"
+"Source/Monoid-Bold.sfdir"
+"Source/Monoid-Italic.sfdir"
+"Source/Monoid-Retina.sfdir"
+"Monoisome/Monoisome.sfdir"
+  )
+
+  # build fonts
+  for FONT_FILE in "${FONT_FILES[@]}"; do
+python3 -c "import fontbuilder; fontbuilder.build('_build', 
'"${FONT_FILE}"');"
+  done
+}
+
+package () {
+  cd "monoid-${pkgver}"
+
+  # fonts
+  install -vDm644 _build/*.ttf -t "${pkgdir}/usr/share/fonts/TTF"
+
+  # license
+  install -Dm644 LICENSE \
+  "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Added: ttf-monoid/trunk/fontbuilder-python3.patch
===
--- ttf-monoid/trunk/fontbuilder-python3.patch  (rev 0)
+++ ttf-monoid/trunk/fontbuilder-python3.patch  2021-06-17 17:28:56 UTC (rev 
964672)
@@ -0,0 +1,16 @@
+diff --git a/fontbuilder.py b/fontbuilder.py
+index c8d8ea5..5442246 100755
+--- a/fontbuilder.py
 b/fontbuilder.py
+@@ -58,9 +58,9 @@ def permutations():
+ bitmap_max = 1 << count
+ 
+ # Iterate over all possible permutations
+-for i in xrange(bitmap_max):
++for i in range(bitmap_max):
+ # Map the iteration's permutations using a bitmap
+-bitmap = [i >> n & 1 for n in xrange(count)]
++bitmap = [i >> n & 1 for n in range(count)]
+ for opts in _expand_options(bitmap):
+ yield(int(float(i)/bitmap_max*100), opts)
+ 


[arch-commits] Commit in (5 files)

2021-06-07 Thread Felix Yan via arch-commits
Date: Monday, June 7, 2021 @ 17:41:25
  Author: felixonmars
Revision: 957932

addpkg: stp 2.3.3-1

Added:
  stp/
  stp/repos/
  stp/trunk/
  stp/trunk/PKGBUILD
  stp/trunk/mandir.patch

--+
 PKGBUILD |   45 +
 mandir.patch |   11 +++
 2 files changed, 56 insertions(+)

Added: stp/trunk/PKGBUILD
===
--- stp/trunk/PKGBUILD  (rev 0)
+++ stp/trunk/PKGBUILD  2021-06-07 17:41:25 UTC (rev 957932)
@@ -0,0 +1,45 @@
+# Maintainer: Forest Crossman 
+
+pkgname=stp
+pkgver=2.3.3
+pkgrel=1
+pkgdesc="Simple Theorem Prover"
+arch=('i686' 'x86_64')
+url="https://stp.github.io/";
+license=('MIT')
+depends=('boost-libs' 'cryptominisat5' 'minisat')
+makedepends=('boost' 'cmake' 'help2man' 'ninja' 'python')
+source=("https://github.com/$pkgname/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz";
+'mandir.patch')
+sha256sums=('ea6115c0fc11312c797a4b7c4db8734afcfce4908d078f386616189e01b4fffa'
+'4c09301c5a36cd89845a7177e1215008f8bbb23fa6f3c6cc941006825e28c327')
+
+prepare() {
+  # Correct the destination for man documentation.
+  patch -d $pkgname-$pkgver < mandir.patch
+  mkdir -p build
+
+  # Remove RPATH
+  sed -i '/RPATH/d' 
$pkgname-$pkgver/{,tools/stp/,tools/stp_simple/}CMakeLists.txt
+}
+
+build() {
+  cd build
+  cmake \
+-GNinja \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DENABLE_PYTHON_INTERFACE=ON \
+../$pkgname-$pkgver
+  ninja
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm644 LICENSE LICENSE_COMPONENTS -t 
"$pkgdir"/usr/share/licenses/$pkgname/
+
+  cd ../build
+  DESTDIR="$pkgdir" ninja install
+}
+
+# vim:set ts=2 sw=2 et:

Added: stp/trunk/mandir.patch
===
--- stp/trunk/mandir.patch  (rev 0)
+++ stp/trunk/mandir.patch  2021-06-07 17:41:25 UTC (rev 957932)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt 2019-03-02 08:26:01.0 -0600
 CMakeLists.txt 2019-09-05 02:32:58.324454246 -0500
+@@ -487,7 +487,7 @@
+ 
+ INSTALL(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/stp.1
+-DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)
++DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man1)
+ message(STATUS "Manpage will be created and installed")
+ endif()
+ else()


[arch-commits] Commit in (5 files)

2021-05-30 Thread Bruno Pagani via arch-commits
Date: Sunday, May 30, 2021 @ 13:41:12
  Author: archange
Revision: 950377

Initial addition of opensmtpd-filter-dkimsign to [community]

Added:
  opensmtpd-filter-dkimsign/
  opensmtpd-filter-dkimsign/repos/
  opensmtpd-filter-dkimsign/trunk/
  opensmtpd-filter-dkimsign/trunk/LICENSE
  opensmtpd-filter-dkimsign/trunk/PKGBUILD

--+
 LICENSE  |   13 +
 PKGBUILD |   31 +++
 2 files changed, 44 insertions(+)

Added: opensmtpd-filter-dkimsign/trunk/LICENSE
===
--- opensmtpd-filter-dkimsign/trunk/LICENSE (rev 0)
+++ opensmtpd-filter-dkimsign/trunk/LICENSE 2021-05-30 13:41:12 UTC (rev 
950377)
@@ -0,0 +1,13 @@
+Copyright (c) 2019 Martijn van Duren 
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Added: opensmtpd-filter-dkimsign/trunk/PKGBUILD
===
--- opensmtpd-filter-dkimsign/trunk/PKGBUILD(rev 0)
+++ opensmtpd-filter-dkimsign/trunk/PKGBUILD2021-05-30 13:41:12 UTC (rev 
950377)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Maarten de Vries 
+
+_pkg=filter-dkimsign
+pkgname=opensmtpd-${_pkg}
+pkgver=0.5
+pkgrel=1
+pkgdesc="OpenSMTPD filter for signing mail with DKIM"
+license=(BSD)
+url="https://imperialat.at/dev/filter-dkimsign/";
+arch=(x86_64)
+depends=(libopensmtpd openssl)
+makedepends=(gzip)
+source=(https://distfiles.sigtrap.nl/${_pkg}-${pkgver}.tar.gz
+LICENSE)
+sha512sums=('35293bc51c6026c6846952ddf3a0fc92c99c88e9a573676e3e46034761318f32fe86563c2607175909c331ff0c1e2e6603173e286574a922528eae92bf6a4064'
+
'24ffeb515e767416728adf4f02aac9b6305447ff4ce8acdfb1ecb8321f76e261e5a536b20df9acec90542e3c3f30e259c0d11cd99d401eb154fd5faf89a6e125')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  export CFLAGS="${CFLAGS} -I/usr/include/libopensmtpd"
+  make -f Makefile.gnu
+  gzip -kf filter-dkimsign.8
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  install -Dm755 filter-dkimsign -t "${pkgdir}"/usr/lib/smtpd/opensmtpd/
+  install -Dm644 filter-dkimsign.8.gz -t "${pkgdir}"/usr/share/man/man8/
+  install -Dm644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}


[arch-commits] Commit in (5 files)

2021-05-30 Thread Bruno Pagani via arch-commits
Date: Sunday, May 30, 2021 @ 13:14:01
  Author: archange
Revision: 950375

Initial addition of libopensmtpd in [community]

Added:
  libopensmtpd/
  libopensmtpd/repos/
  libopensmtpd/trunk/
  libopensmtpd/trunk/LICENSE
  libopensmtpd/trunk/PKGBUILD

--+
 LICENSE  |   13 +
 PKGBUILD |   37 +
 2 files changed, 50 insertions(+)

Added: libopensmtpd/trunk/LICENSE
===
--- libopensmtpd/trunk/LICENSE  (rev 0)
+++ libopensmtpd/trunk/LICENSE  2021-05-30 13:14:01 UTC (rev 950375)
@@ -0,0 +1,13 @@
+Copyright (c) 2019 Martijn van Duren 
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Added: libopensmtpd/trunk/PKGBUILD
===
--- libopensmtpd/trunk/PKGBUILD (rev 0)
+++ libopensmtpd/trunk/PKGBUILD 2021-05-30 13:14:01 UTC (rev 950375)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Maarten de Vries 
+
+pkgname=libopensmtpd
+pkgver=0.6
+pkgrel=2
+pkgdesc="Library for creating opensmtd filters"
+license=(BSD)
+url="https://imperialat.at/dev/libopensmtpd/";
+arch=(x86_64)
+depends=(libevent)
+makedepends=(gzip)
+source=(https://distfiles.sigtrap.nl/${pkgname}-${pkgver}.tar.gz
+LICENSE)
+sha512sums=('2204f1b35558342a214310338fb0c8d9f574697412162270c0a92a9a0a02cd5d317c63e630959525ff4ae3f8d1d3d5664dcd38442292256182926dcc8ce613f8'
+
'24ffeb515e767416728adf4f02aac9b6305447ff4ce8acdfb1ecb8321f76e261e5a536b20df9acec90542e3c3f30e259c0d11cd99d401eb154fd5faf89a6e125')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make -f Makefile.gnu
+  gzip -kf osmtpd_run.3
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm755 libopensmtpd.so -t "${pkgdir}"/usr/lib 
+  install -Dm644 osmtpd_run.3.gz -t "${pkgdir}"/usr/share/man/man3/
+  install -Dm644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+
+  (
+shopt -s globstar nullglob
+for header in **/*.h; do
+  dir=$(dirname ${header})
+  install -Dm644 ${header} -t "${pkgdir}"/usr/include/libopensmtpd/${dir}
+done
+  )
+}


[arch-commits] Commit in (5 files)

2021-05-26 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 27, 2021 @ 05:03:42
  Author: foutrelis
Revision: 416514

Add llvm10 for bootstrapping the rust/ldc rebuilds

Added:
  llvm11/
  llvm11/repos/
  llvm11/trunk/
  llvm11/trunk/PKGBUILD
  llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch

--+
 PKGBUILD |   86 +
 amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch |   85 
 2 files changed, 171 insertions(+)

Added: llvm11/trunk/PKGBUILD
===
--- llvm11/trunk/PKGBUILD   (rev 0)
+++ llvm11/trunk/PKGBUILD   2021-05-27 05:03:42 UTC (rev 416514)
@@ -0,0 +1,86 @@
+# Maintainer: Evangelos Foutras 
+# Contributor: Jan "heftig" Steffens 
+
+pkgname=('llvm11' 'llvm11-libs')
+pkgver=11.1.0
+pkgrel=1
+arch=('x86_64')
+url="https://llvm.org/";
+license=('custom:Apache 2.0 with LLVM Exception')
+makedepends=('cmake' 'ninja' 'libffi' 'libedit' 'ncurses' 'libxml2'
+ 'python-setuptools')
+options=('staticlibs')
+_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
+source=($_source_base/llvm-$pkgver.src.tar.xz{,.sig}
+amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch)
+sha256sums=('c5d8e30b57cbded7128d78e5e8dad811bff97a8d471896812f57fa99ee82cdf3'
+'SKIP')
+validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg 

+validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard 

+
+prepare() {
+  cd "$srcdir/llvm-$pkgver.src"
+  mkdir build
+
+  # https://gitlab.freedesktop.org/mesa/mesa/-/issues/4107
+  # https://bugs.llvm.org/show_bug.cgi?id=48921#c2
+  patch -Np2 -i ../amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch
+}
+
+build() {
+  cd "$srcdir/llvm-$pkgver.src/build"
+
+  cmake .. -G Ninja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DLLVM_HOST_TRIPLE=$CHOST \
+-DLLVM_BUILD_LLVM_DYLIB=ON \
+-DLLVM_LINK_LLVM_DYLIB=ON \
+-DLLVM_INSTALL_UTILS=ON \
+-DLLVM_ENABLE_RTTI=ON \
+-DLLVM_ENABLE_FFI=ON \
+-DLLVM_BUILD_TESTS=ON \
+-DLLVM_BINUTILS_INCDIR=/usr/include
+  ninja
+}
+
+check() {
+  cd "$srcdir/llvm-$pkgver.src/build"
+  ninja check
+}
+
+package_llvm11() {
+  pkgdesc="Collection of modular and reusable compiler and toolchain 
technologies"
+  depends=('llvm11-libs' 'perl')
+  conflicts=('llvm')
+
+  cd "$srcdir/llvm-$pkgver.src/build"
+
+  DESTDIR="$pkgdir" ninja install
+
+  # Include lit for running lit-based tests in other projects
+  pushd ../utils/lit
+  python3 setup.py install --root="$pkgdir" -O1
+  popd
+
+  # The runtime libraries go into llvm11-libs
+  mv -f "$pkgdir"/usr/lib/lib{LLVM-*.so,{LTO,Remarks}.so.*} "$srcdir"
+
+  # Remove files which conflict with llvm-libs
+  rm "$pkgdir"/usr/lib/{LLVMgold,lib{LLVM,LTO,Remarks}}.so
+
+  install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_llvm11-libs() {
+  pkgdesc="LLVM 11 runtime libraries"
+  depends=('gcc-libs' 'zlib' 'libffi' 'libedit' 'ncurses' 'libxml2')
+
+  install -d "$pkgdir/usr/lib"
+  cp -P "$srcdir"/lib{LLVM-*.so,{LTO,Remarks}.so.*} "$pkgdir/usr/lib/"
+
+  install -Dm644 "$srcdir/llvm-$pkgver.src/LICENSE.TXT" \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Added: llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch
===
--- llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch   
(rev 0)
+++ llvm11/trunk/amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch   
2021-05-27 05:03:42 UTC (rev 416514)
@@ -0,0 +1,85 @@
+commit b08a140a8fe8d0b0d16a93042b4952d6e34ab913
+Author: Piotr Sobczak 
+Date:   Wed Jan 27 16:02:49 2021 +0100
+
+[AMDGPU] Avoid an illegal operand in si-shrink-instructions
+
+Before the patch it was possible to trigger a constant bus
+violation when folding immediates into a shrunk instruction.
+
+The patch adds a check to enforce the legality of the new operand.
+
+Differential Revision: https://reviews.llvm.org/D95527
+
+diff --git a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp 
b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+index 9c6833a7dab6..6c1b16eddc84 100644
+--- a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
 b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+@@ -84,21 +84,23 @@ static bool foldImmediates(MachineInstr &MI, const 
SIInstrInfo *TII,
+ MachineOperand &MovSrc = Def->getOperand(1);
+ bool ConstantFolded = false;
+ 
+-if (MovSrc.isImm() && (isInt<32>(MovSrc.getImm()) ||
+-   isUInt<32>(MovSrc.getImm( {
+-  // It's possible to have only one component of a super-reg defined 
by
+-  // a single mov, so we need to clear any su

[arch-commits] Commit in (5 files)

2021-05-26 Thread Kpcyrd via arch-commits
Date: Wednesday, May 26, 2021 @ 18:08:12
  Author: kpcyrd
Revision: 946847

upgpkg: authoscope 0.8.0-1 - rename badtouch to authoscope

Added:
  authoscope/
  authoscope/trunk/authoscope.install
(from rev 946845, badtouch/trunk/badtouch.install)
Modified:
  authoscope/trunk/PKGBUILD
Deleted:
  authoscope/trunk/badtouch.install
  badtouch/

-+
 authoscope/trunk/authoscope.install |9 +
 trunk/PKGBUILD  |   31 ++-
 trunk/badtouch.install  |9 -
 3 files changed, 27 insertions(+), 22 deletions(-)

Modified: authoscope/trunk/PKGBUILD
===
--- badtouch/trunk/PKGBUILD 2021-05-26 17:59:07 UTC (rev 946846)
+++ authoscope/trunk/PKGBUILD   2021-05-26 18:08:12 UTC (rev 946847)
@@ -1,22 +1,25 @@
 # Maintainer: Levente Polyak 
-# Contributor: kpcyrd 
+# Maintainer: kpcyrd 
 
-pkgname=badtouch
-pkgver=0.7.3
+pkgname=authoscope
+pkgver=0.8.0
 pkgrel=1
 pkgdesc='Scriptable network authentication cracker'
-url='https://github.com/kpcyrd/badtouch'
+url='https://github.com/kpcyrd/authoscope'
 depends=('openssl' 'lua52' 'libcap' 'zlib')
 makedepends=('cargo')
 arch=('x86_64')
 license=('GPL3')
-install=badtouch.install
+install=authoscope.install
+provides=('badtouch')
+conflicts=('badtouch')
+replaces=('badtouch')
 
source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
 
https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
-sha256sums=('cb09ae83bbe37e17ce1d5e86ba1c9f8b8dd1dc1b30e3f7d69d7cfd8db7ae5547'
+sha512sums=('3a737999e6e021dfe71ded8fc07985e71ba0a685dc0a5981f34bc8e7cd6d22be029ced2d73e78ebf6630f473691d4dea859ba0fa67183fe8d8f64cf7f858a083'
 'SKIP')
-sha512sums=('e667192c9271720b94304a0af3f9eaa9e1408a0709dc005436270cc667e84dbcdd2d6cf924c0077f4782a786070f64e3b396e3d78f126777f2f077da9c05805e'
-'SKIP')
+b2sums=('86fa7a8f41bb34083f56b901fd38adab52f035840aeb2f7e225d8acf6521512886140adc817e03eadbdd74b1db5f2287a98ece4e7cfb168c04a8d9357e8b49a9'
+'SKIP')
 validpgpkeys=('64B13F7117D6E07D661BBCE0FE763A64F5E54FD6')
 
 build() {
@@ -31,16 +34,18 @@
 
 package() {
   cd ${pkgname}-${pkgver}
-  install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
+  install -Dm 755 target/release/${pkgname} \
+target/release/badtouch \
+-t "${pkgdir}/usr/bin"
 
   install -d "${pkgdir}/usr/share/bash-completion/completions" \
  "${pkgdir}/usr/share/zsh/site-functions" \
  "${pkgdir}/usr/share/fish/vendor_completions.d"
-  "${pkgdir}/usr/bin/badtouch" completions bash > 
"${pkgdir}/usr/share/bash-completion/completions/badtouch"
-  "${pkgdir}/usr/bin/badtouch" completions zsh > 
"${pkgdir}/usr/share/zsh/site-functions/_badtouch"
-  "${pkgdir}/usr/bin/badtouch" completions fish > 
"${pkgdir}/usr/share/fish/vendor_completions.d/badtouch.fish"
+  "${pkgdir}/usr/bin/authoscope" completions bash > 
"${pkgdir}/usr/share/bash-completion/completions/authoscope"
+  "${pkgdir}/usr/bin/authoscope" completions zsh > 
"${pkgdir}/usr/share/zsh/site-functions/_authoscope"
+  "${pkgdir}/usr/bin/authoscope" completions fish > 
"${pkgdir}/usr/share/fish/vendor_completions.d/authoscope.fish"
 
-  install -Dm 644 docs/badtouch.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 docs/authoscope.1 -t "${pkgdir}/usr/share/man/man1"
   install -Dm 644 scripts/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
   install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 }

Copied: authoscope/trunk/authoscope.install (from rev 946845, 
badtouch/trunk/badtouch.install)
===
--- authoscope/trunk/authoscope.install (rev 0)
+++ authoscope/trunk/authoscope.install 2021-05-26 18:08:12 UTC (rev 946847)
@@ -0,0 +1,9 @@
+# vim: ft=sh ts=4 et
+
+post_install() {
+setcap cap_sys_resource=+ep /usr/bin/authoscope
+}
+
+post_upgrade() {
+post_install
+}

Deleted: authoscope/trunk/badtouch.install
===
--- badtouch/trunk/badtouch.install 2021-05-26 17:59:07 UTC (rev 946846)
+++ authoscope/trunk/badtouch.install   2021-05-26 18:08:12 UTC (rev 946847)
@@ -1,9 +0,0 @@
-# vim: ft=sh ts=4 et
-
-post_install() {
-setcap cap_sys_resource=+ep /usr/bin/badtouch
-}
-
-post_upgrade() {
-post_install
-}


[arch-commits] Commit in (5 files)

2021-05-16 Thread Tim Meusel via arch-commits
Date: Sunday, May 16, 2021 @ 16:32:43
  Author: bastelfreak
Revision: 935901

Add ruby27-httpclient

Added:
  ruby27-httpclient/
  ruby27-httpclient/repos/
  ruby27-httpclient/trunk/
  ruby27-httpclient/trunk/PKGBUILD
  ruby27-httpclient/trunk/disable-broken-TLS-test.patch

---+
 PKGBUILD  |   60 
 disable-broken-TLS-test.patch |   21 ++
 2 files changed, 81 insertions(+)

Added: ruby27-httpclient/trunk/PKGBUILD
===
--- ruby27-httpclient/trunk/PKGBUILD(rev 0)
+++ ruby27-httpclient/trunk/PKGBUILD2021-05-16 16:32:43 UTC (rev 935901)
@@ -0,0 +1,60 @@
+# Maintainer: Tim Meusel 
+# Contributor: Christian Rebischke 
+# Contributor: farwayer 
+# Contributor: Tim Meusel 
+
+_gemname='httpclient'
+pkgname="ruby27-${_gemname}"
+pkgver=2.8.3
+pkgrel=1
+pkgdesc='gives something like the functionality of libwww-perl (LWP) in Ruby'
+arch=('any')
+url="https://github.com/nahi/${_gemname}";
+license=('RUBY')
+makedepends=('ruby27-rdoc')
+depends=('ruby2.7')
+options=(!emptydirs)
+source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz"
+'disable-broken-TLS-test.patch')
+sha512sums=('b65b5adb97af069d7ff6b6f4cccd6a42c6d9c88b797e9495768fe1f36a6bd93defe50190edc201de5e39c4e306ba0bd17a8ff2f8eba4d636dacafa06c172967d'
+
'fcdb88f83ea1663f1f21113f7943223ffc1c69dc0f1305d74e8a96b3752f905c1bfa3727f2eb9dae9742db16d222ba5971a072b065a6c7ce535615b51fdb8712')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+
+  # Allow latest gem dependencies
+  sed --in-place 's|~>|>=|g' Gemfile
+
+  # fix wrong license name in gemspec
+  sed --in-place "s/'ruby'/'Ruby'/" "${_gemname}.gemspec"
+
+  # don't load the bundler setup. That would require us to
+  # provide all 'development' dependencies
+  sed --in-place '/setup/d' Rakefile
+
+  # test_auth.rb does a bunch of windows specific NTLM tests
+  # they don't apply to Arch
+  rm test/test_auth.rb
+
+  # one test verifies the openssl store.
+  # a) this test has nothing to do with the actual httpclient
+  # b) the used certificate is expiried so the test fails
+  patch --forward --verbose --strip=1 
--input='../disable-broken-TLS-test.patch'
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem-2.7 build "${_gemname}.gemspec"
+}
+
+package() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem-2.7 env gemdir)"
+  gem-2.7 install --verbose --ignore-dependencies --no-user-install 
--install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" 
"${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 README.md CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}/"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}
+
+# vim: ts=2 sw=2 et:

Added: ruby27-httpclient/trunk/disable-broken-TLS-test.patch
===
--- ruby27-httpclient/trunk/disable-broken-TLS-test.patch   
(rev 0)
+++ ruby27-httpclient/trunk/disable-broken-TLS-test.patch   2021-05-16 
16:32:43 UTC (rev 935901)
@@ -0,0 +1,21 @@
+diff --git a/test/test_ssl.rb b/test/test_ssl.rb
+index 2e634d7..2c779d3 100644
+--- a/test/test_ssl.rb
 b/test/test_ssl.rb
+@@ -80,16 +80,6 @@ end
+ assert(str.scan(/^hello$/)[0])
+   end
+ 
+-  def test_verification_without_httpclient
+-raw_cert = "-BEGIN 
CERTIFICATE-\nMIIDOTCCAiGgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBCMRMwEQYKCZImiZPyLGQB\nGRYDb3JnMRkwFwYKCZImiZPyLGQBGRYJcnVieS1sYW5nMRAwDgYDVQQDDAdSdWJ5\nIENBMB4XDTE2MDgxMDE3MjEzNFoXDTE3MDgxMDE3MjEzNFowSzETMBEGCgmSJomT\n8ixkARkWA29yZzEZMBcGCgmSJomT8ixkARkWCXJ1YnktbGFuZzEZMBcGA1UEAwwQ\nUnVieSBjZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\nAJCfsSXpSMpmZCVa+ZCM+QDgomnhDlvnrGDq6pasTaIspGTXgws+7r8Dt/cNe6EH\nHJpRH2cGRiO4yPcfcT9eS4X7k8OC4f33wHfACOmLu6LeoNE8ujmSk6L6WzLUI+sE\nnLZbFrXxoAo4XHsm8vEG9C+jEoXZ1p+47wrAGaDwDQTnzlMy4dT9pRQEJP2G/Rry\nUkuZn8SUWmh3/YS78iaSzsNF1cgE1ealHOrPPFDjiCGDaH/LHyUPYlbFSLZ/B7Qx\nLxi5sePLcywWq/EJrmWpgeVTDjtNijsdKv/A3qkY+fm/oD0pzt7XsfJaP9YKNyJO\nQFdxWZeiPcDF+Hwf+IwSr+kCAwEAAaMxMC8wDgYDVR0PAQH/BAQDAgeAMB0GA1Ud\nDgQWBBQNvzYzJyXemGhxbA8NMXLolDnPyjANBgkqhkiG9w0BAQsFAAOCAQEARIJV\noKejGlOTn71QutnNnu07UtTu0IHs6YqjYzzND+m4JXLN+wvYm72AFUG0b1L7dRg0\niK8XjQrlNQNVqP1Mc6tffchy20neOPOHeiO6qTdRU8P2S8D3Uwe+1qhgxjfE+cWc\nwZmWxYK4HA8c58PxWMqrkr2QqXD
 
plG9KWLvOgrtPGiLLZcQSKhvvB63QzItHBDU6\nRayiJY3oPkK/HrIvFlySqFqzWmuyknkciOFywEHQMz/tcSFJ2QFpPj/tBz9VXohH\nZ8KscmfhZrTPBjo+ky1lz/WraWoz4LMiLnkC2ABczWLRSawu+v3Irx1NFJngt05e\npqwtqIUeg7j+JLiTaA==\n-END
 CERTIFICATE-"
+-raw_ca_cert = "-BEGIN 
CERTIFICATE-\nMIIDYjCCAkqgAwIBAgIBATANBgkqhkiG9w0BAQsFADBCMRMwEQYKCZImiZPyLGQB\nGRYDb3JnMRkwFwYKCZImiZPyLGQBGRYJcnVieS1sYW5nMRAwDgYDVQQDDAdSdWJ5\nIENBMB4XDTE2MDgxMDE3MjA1NFoXDTE4MDgxMDE3MjA1NFowQjETMBEGCgmSJomT\n8ixkARkWA29yZzEZMBcGCgmSJomT8ixkARkWCXJ1YnktbGFuZzEQMA4GA1UEAwwH\nUnVieSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggE

[arch-commits] Commit in (5 files)

2021-05-16 Thread Tim Meusel via arch-commits
Date: Sunday, May 16, 2021 @ 15:13:46
  Author: bastelfreak
Revision: 935848

add ruby27-power_assert

Added:
  ruby27-power_assert/
  ruby27-power_assert/repos/
  ruby27-power_assert/trunk/
  ruby27-power_assert/trunk/PKGBUILD
  ruby27-power_assert/trunk/disable-irb-1.3.1-and-newer-specific-test.patch

-+
 PKGBUILD|   52 ++
 disable-irb-1.3.1-and-newer-specific-test.patch |   42 +
 2 files changed, 94 insertions(+)

Added: ruby27-power_assert/trunk/PKGBUILD
===
--- ruby27-power_assert/trunk/PKGBUILD  (rev 0)
+++ ruby27-power_assert/trunk/PKGBUILD  2021-05-16 15:13:46 UTC (rev 935848)
@@ -0,0 +1,52 @@
+# Maintainer: Tim Meusel 
+# Contributor: Felix Yan 
+# Contributor: Anatol Pomozov 
+# Contributor: Alfredo Palhares 
+# Contributor: Jochen Schalanda 
+
+_gemname=power_assert
+pkgname="ruby27-${_gemname}"
+pkgver=2.0.0
+pkgrel=1
+pkgdesc='Power Assert for Ruby'
+arch=('any')
+url="https://github.com/ruby/${_gemname}";
+license=('custom:BSDL')
+depends=('ruby2.7')
+makedepends=('ruby27-rdoc' 'ruby27-rake')
+checkdepends=('ruby27-test-unit')
+options=('!emptydirs')
+source=("${url}/archive/refs/tags/v${pkgver}.tar.gz" 
'disable-irb-1.3.1-and-newer-specific-test.patch')
+sha512sums=('e6faf3cf50d2c70ae421bae20b885ac858fe11b10b1a8562d9ca88afbd397fa4812631f2aa02638c273eed518091dfaa020b6c002c0559383ddca625404bcc1c'
+
'7e959ac2b2170e7465cdb7b1a76740c8e84013b2f5c479574e9412aa252891d8713813c416679b79b19ae32693a4e1f032f4349018dcb69c2bacbe9727d65be5')
+
+prepare() {
+  cd "${_gemname}-${pkgver}"
+  sed --in-place 's|`git ls-files -z`|`find . -print0`|' "${_gemname}.gemspec"
+  sed --in-place '/bundler/d' Rakefile
+  patch --forward --verbose --strip=1 
--input='../disable-irb-1.3.1-and-newer-specific-test.patch'
+}
+
+build() {
+  cd "${_gemname}-${pkgver}"
+  gem-2.7 build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${_gemname}-${pkgver}"
+  ruby27-rake test
+}
+
+package() {
+  cd "${_gemname}-${pkgver}"
+  local _gemdir="$(gem-2.7 env gemdir)"
+  gem-2.7 install --verbose --ignore-dependencies --no-user-install 
--install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" 
"${_gemname}-${pkgver}.gem"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+  rm -rf "${pkgdir}/${_gemdir}/gems/${_gemname}-${pkgver}/.github"
+
+  install -Dm 644 README.md  -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 BSDL COPYING LEGAL -t 
"${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Added: ruby27-power_assert/trunk/disable-irb-1.3.1-and-newer-specific-test.patch
===
--- ruby27-power_assert/trunk/disable-irb-1.3.1-and-newer-specific-test.patch   
(rev 0)
+++ ruby27-power_assert/trunk/disable-irb-1.3.1-and-newer-specific-test.patch   
2021-05-16 15:13:46 UTC (rev 935848)
@@ -0,0 +1,42 @@
+diff --git a/test/block_test.rb b/test/block_test.rb
+index 3f5d24f..55bbb41 100644
+--- a/test/block_test.rb
 b/test/block_test.rb
+@@ -530,37 +530,6 @@ END
+'colorize_message'   => [true,  :p ],
+'inspector(pp)'  => [false, :pp]
+   )
+-  def test_colorized_pp((colorize_message, inspector))
+-begin
+-  PowerAssert.configure do |c|
+-c.lazy_inspection = true
+-c.colorize_message = colorize_message
+-c.inspector = inspector
+-  end
+-  assert_equal <

  1   2   >