[arch-commits] Commit in (5 files)

2020-12-25 Thread Brett Cornwall via arch-commits
Date: Saturday, December 26, 2020 @ 00:37:06
  Author: ainola
Revision: 791374

Import interception-dual-function-keys from AUR

only 4 votes but it's a relatively new project. Alongside caps2esc this 
completes a full-featured xcape replacement for non-X environments

Added:
  interception-dual-function-keys/
  interception-dual-function-keys/repos/
  interception-dual-function-keys/trunk/
  
interception-dual-function-keys/trunk/0001-make-Append-don-t-overwrite-user-defs.patch
  interception-dual-function-keys/trunk/PKGBUILD

--+
 0001-make-Append-don-t-overwrite-user-defs.patch |   42 +
 PKGBUILD |   33 
 2 files changed, 75 insertions(+)

Added: 
interception-dual-function-keys/trunk/0001-make-Append-don-t-overwrite-user-defs.patch
===
--- 
interception-dual-function-keys/trunk/0001-make-Append-don-t-overwrite-user-defs.patch
  (rev 0)
+++ 
interception-dual-function-keys/trunk/0001-make-Append-don-t-overwrite-user-defs.patch
  2020-12-26 00:37:06 UTC (rev 791374)
@@ -0,0 +1,42 @@
+From 02823635bf3bc149892ce75efffcc33a33e184c5 Mon Sep 17 00:00:00 2001
+From: Brett Cornwall 
+Date: Fri, 25 Dec 2020 16:29:03 -0800
+Subject: [PATCH] make: Append, don't overwrite user defs
+
+---
+ config.mk | 16 +++-
+ 1 file changed, 7 insertions(+), 9 deletions(-)
+
+diff --git a/config.mk b/config.mk
+index 57bf7a3..619121d 100644
+--- a/config.mk
 b/config.mk
+@@ -1,18 +1,16 @@
+-ifndef VERSION
+-  VERSION = "development-version"
+-endif
++VERSION ?= "development-version"
+ 
+-PREFIX = /usr/local
++PREFIX ?= /usr/local
+ 
+-INCS = -I/usr/include/libevdev-1.0
++INCS += -I/usr/include/libevdev-1.0
+ 
+-CPPFLAGS = $(INCS) -DVERSION=\"$(VERSION)\"
++CPPFLAGS += $(INCS) -DVERSION=\"$(VERSION)\"
+ 
+-COMPFLAGS = -pedantic -Wall -Wextra -O3
+-CFLAGS = $(COMPFLAGS) -std=c99
++COMPFLAGS += -pedantic -Wall -Wextra -O3
++CFLAGS += $(COMPFLAGS) -std=c99
+ CXXFLAGS = $(COMPFLAGS) -std=c++11
+ 
+-LDFLAGS = -rdynamic -lyaml-cpp -levdev
++LDFLAGS += -rdynamic -lyaml-cpp -levdev
+ 
+ CC = cc
+ CXX = c++
+-- 
+2.29.2
+

Added: interception-dual-function-keys/trunk/PKGBUILD
===
--- interception-dual-function-keys/trunk/PKGBUILD  
(rev 0)
+++ interception-dual-function-keys/trunk/PKGBUILD  2020-12-26 00:37:06 UTC 
(rev 791374)
@@ -0,0 +1,33 @@
+# Maintainer: Brett Cornwall 
+# Contributor: Alexander Courtis
+
+pkgname=interception-dual-function-keys
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Interception plugin for dual-function keys: Tap for one key, hold for 
another"
+arch=('x86_64')
+url="https://gitlab.com/interception/linux/plugins/dual-function-keys;
+license=('MIT')
+depends=('interception-tools')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/plugins/dual-function-keys/-/archive/$pkgver/dual-function-keys-$pkgver.tar.gz;
+"0001-make-Append-don-t-overwrite-user-defs.patch")
+sha256sums=('fc64d6ddf80c1a153dd0e2180a581649f4a9d489e1718053a70b61faef98e0ca'
+'98f9dbc96b3f71ba4969146282676946648dfc085d7722794d9bb8b0a9740d30')
+
+prepare() {
+cd "dual-function-keys-$pkgver"
+# 
https://gitlab.com/interception/linux/plugins/dual-function-keys/-/issues/20
+patch -p1 < ../0001-make-Append-don-t-overwrite-user-defs.patch
+}
+
+build() {
+cd "dual-function-keys-$pkgver"
+make VERSION="$pkgver"
+}
+
+package() {
+cd "dual-function-keys-$pkgver"
+make PREFIX=/usr DESTDIR="$pkgdir/" install
+install -Dm644 {README,doc/examples}.md -t "$pkgdir/usr/share/doc/$pkgname"
+install -Dm644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
+}


[arch-commits] Commit in (5 files)

2020-12-25 Thread Brett Cornwall via arch-commits
Date: Friday, December 25, 2020 @ 22:41:28
  Author: ainola
Revision: 791060

Add interception-tools (20 votes in AUR)

This package includes helpful replacement functionality for xcape, which is no
longer usable in wayland sessions.

Added:
  interception-tools/
  interception-tools/repos/
  interception-tools/trunk/
  interception-tools/trunk/PKGBUILD
  interception-tools/trunk/udevmon.service

-+
 PKGBUILD|   36 
 udevmon.service |   36 
 2 files changed, 72 insertions(+)

Added: interception-tools/trunk/PKGBUILD
===
--- interception-tools/trunk/PKGBUILD   (rev 0)
+++ interception-tools/trunk/PKGBUILD   2020-12-25 22:41:28 UTC (rev 791060)
@@ -0,0 +1,36 @@
+# Maintainer: Brett Cornwall 
+# Contributor: Francisco Lopes
+
+pkgname=interception-tools
+pkgver=0.2.2
+pkgrel=2
+pkgdesc='A minimal composable infrastructure on top of libudev and libevdev'
+arch=('x86_64')
+license=('GPL3')
+url='https://gitlab.com/interception/linux/tools'
+depends=('libevdev' 'yaml-cpp' 'systemd-libs')
+makedepends=('cmake' 'systemd')
+# Until https://gitlab.com/interception/linux/tools/-/merge_requests/10 is
+# merged, include a .service file ourselves
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/tools/-/archive/v$pkgver/tools-v$pkgver.tar.gz;
+'udevmon.service')
+sha256sums=('56fc110917b05b7ec00b440436fd536a30275449e574978a72bb1f102e9a731a'
+'862b629a8b3f3b1a5ce7e916994fbcbc3d8891d41707c3e2497c434bdc238ee9')
+
+build() {
+cmake -B build \
+  -S "tools-v${pkgver}" \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DCMAKE_BUILD_TYPE=None \
+  -Wno-dev
+cmake --build build
+}
+
+package() {
+install -dm755 "$pkgdir/etc/interception/udevmon.d"
+install -Dm644 udevmon.service -t "$pkgdir/usr/lib/systemd/system"
+install -Dm644 "tools-v${pkgver}/README.md" -t 
"$pkgdir/usr/share/doc/$pkgname"
+
+cd build
+make DESTDIR="$pkgdir/" install
+}

Added: interception-tools/trunk/udevmon.service
===
--- interception-tools/trunk/udevmon.service(rev 0)
+++ interception-tools/trunk/udevmon.service2020-12-25 22:41:28 UTC (rev 
791060)
@@ -0,0 +1,36 @@
+[Unit]
+Description=Monitor input devices for launching tasks
+Wants=systemd-udev-settle.service
+After=systemd-udev-settle.service
+Documentation=man:udev(7)
+
+[Service]
+ExecStart=/usr/bin/udevmon -c /etc/interception/udevmon.yaml
+Nice=-20
+Restart=on-failure
+RestartSec=5s
+OOMScoreAdjust=-1000
+
+DeviceAllow=char-* rw
+DevicePolicy=strict
+IPAddressDeny=any
+LockPersonality=yes
+MemoryDenyWriteExecute=yes
+PrivateMounts=yes
+PrivateTmp=true
+ProtectControlGroups=true
+ProtectHome=true
+ProtectHostname=yes
+ProtectKernelLogs=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectSystem=strict
+RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
+RestrictNamespaces=true
+RestrictRealtime=true
+RestrictSUIDSGID=yes
+SystemCallErrorNumber=EPERM
+SystemCallFilter=@system-service @raw-io
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in (5 files)

2020-12-20 Thread Jelle van der Waa via arch-commits
Date: Sunday, December 20, 2020 @ 14:45:31
  Author: jelle
Revision: 780431

extra2community: Moving nawk from extra to community

Added:
  nawk/
  nawk/repos/
  nawk/trunk/
  nawk/trunk/PKGBUILD
  nawk/trunk/manpage-naming.patch

--+
 PKGBUILD |   55 +
 manpage-naming.patch |   41 
 2 files changed, 96 insertions(+)

Added: nawk/trunk/PKGBUILD
===
--- nawk/trunk/PKGBUILD (rev 0)
+++ nawk/trunk/PKGBUILD 2020-12-20 14:45:31 UTC (rev 780431)
@@ -0,0 +1,55 @@
+# Maintainer: Dave Reisner 
+
+pkgname=nawk
+pkgver=20180827
+pkgrel=2
+pkgdesc="The one, true implementation of AWK"
+url="https://github.com/onetrueawk/awk;
+license=('custom')
+arch=('x86_64')
+options=('!makeflags')
+depends=('glibc')
+makedepends=('git')
+source=(git+https://github.com/onetrueawk/awk#tag=$pkgver
+'manpage-naming.patch')
+md5sums=('SKIP'
+ '5413692140f8366f8ae6bcecc9a40f2f')
+
+pkgver() {
+  cd awk
+
+  git describe --tags
+}
+
+prepare() {
+  cd awk
+
+  # awk -> nawk
+  patch -Np1 <"$srcdir"/manpage-naming.patch
+
+  bsdtar xf awktest.tar
+}
+
+check() {
+  cd awk
+
+  ./REGRESS
+}
+
+build() {
+  cd awk
+
+  # the final linking step doesn't honor LDFLAGS, so let's just throw it all
+  # together into CFLAGS.
+  make \
+"CPPFLAGS=-DHAS_ISBLANK $CPPFLAGS" \
+"CFLAGS=$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd awk
+
+  install -Dm755 a.out "$pkgdir/usr/bin/nawk"
+  install -Dm644 awk.1 "$pkgdir/usr/share/man/man1/nawk.1"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/nawk/LICENSE"
+}

Added: nawk/trunk/manpage-naming.patch
===
--- nawk/trunk/manpage-naming.patch (rev 0)
+++ nawk/trunk/manpage-naming.patch 2020-12-20 14:45:31 UTC (rev 780431)
@@ -0,0 +1,41 @@
+diff --git a/awk.1 b/awk.1
+index 5830143..339271e 100644
+--- a/awk.1
 b/awk.1
+@@ -7,12 +7,12 @@
+ .fi
+ .ft 1
+ ..
+-.TH AWK 1
++.TH NAWK 1
+ .CT 1 files prog_other
+ .SH NAME
+-awk \- pattern-directed scanning and processing language
++nawk \- pattern-directed scanning and processing language
+ .SH SYNOPSIS
+-.B awk
++.B nawk
+ [
+ .BI \-F
+ .I fs
+@@ -31,7 +31,7 @@ awk \- pattern-directed scanning and processing language
+ .I file ...
+ ]
+ .SH DESCRIPTION
+-.I Awk
++.I Nawk
+ scans each input
+ .I file
+ for lines that match any of a set of patterns specified literally in
+@@ -426,7 +426,7 @@ and
+ do not combine with other patterns.
+ They may appear multiple times in a program and execute
+ in the order they are read by
+-.IR awk .
++.IR nawk .
+ .PP
+ Variable names with special meanings:
+ .TF FILENAME
+-- 
+2.18.0
+


[arch-commits] Commit in (5 files)

2020-12-18 Thread Kyle Keen via arch-commits
Date: Saturday, December 19, 2020 @ 03:57:44
  Author: kkeen
Revision: 779739

pkginit: split python2-pyzmq-19.0.2

Added:
  python2-pyzmq/
  python2-pyzmq/repos/
  python2-pyzmq/trunk/
  python2-pyzmq/trunk/PKGBUILD
  python2-pyzmq/trunk/asyncio-wait-for-POLLOUT-on-sender-in-can_connect.patch

-+
 PKGBUILD|   34 ++
 asyncio-wait-for-POLLOUT-on-sender-in-can_connect.patch |   24 +
 2 files changed, 58 insertions(+)

Added: python2-pyzmq/trunk/PKGBUILD
===
--- python2-pyzmq/trunk/PKGBUILD(rev 0)
+++ python2-pyzmq/trunk/PKGBUILD2020-12-19 03:57:44 UTC (rev 779739)
@@ -0,0 +1,34 @@
+# Maintainer: Kyle Keen 
+pkgname=python2-pyzmq
+pkgver=19.0.2
+pkgrel=1
+pkgdesc="Python2 bindings for zeromq, written in Cython"
+arch=('x86_64')
+url="http://www.zeromq.org/bindings:python;
+license=('LGPL')
+depends=('zeromq' 'python2')
+checkdepends=('python2-nose' 'python2-tornado' 'python2-pytest' 'cython2')
+#source=("https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz;)
+#source=("https://pypi.python.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz;)
+source=("https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz;
+asyncio-wait-for-POLLOUT-on-sender-in-can_connect.patch)
+md5sums=('200abc1a75bdcfff7adf61304f46f55e'
+ '0a2106785a843c3f99411515b03f42a9')
+
+prepare() {
+  cd "$srcdir"
+
+  # https://github.com/zeromq/pyzmq/issues/1418
+  patch -Np1 -d pyzmq-${pkgver} 

+Date: Wed, 9 Sep 2020 10:16:36 +0200
+Subject: [PATCH] asyncio: wait for POLLOUT on sender in can_connect
+
+matches login in thread, because POLLOUT will only be set if connection is 
allowed
+---
+ zmq/tests/asyncio/_test_asyncio.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/zmq/tests/asyncio/_test_asyncio.py 
b/zmq/tests/asyncio/_test_asyncio.py
+index 335913f3..d631e900 100644
+--- a/zmq/tests/asyncio/_test_asyncio.py
 b/zmq/tests/asyncio/_test_asyncio.py
+@@ -463,7 +463,8 @@ def go():
+ port = server.bind_to_random_port(iface)
+ client.connect("%s:%i" % (iface, port))
+ msg = [b"Hello World"]
+-yield from server.send_multipart(msg)
++if (yield from server.poll(1000, zmq.POLLOUT)):
++yield from server.send_multipart(msg)
+ if (yield from client.poll(1000)):
+ rcvd_msg = yield from client.recv_multipart()
+ self.assertEqual(rcvd_msg, msg)


[arch-commits] Commit in (5 files)

2020-12-02 Thread Antonio Rojas via arch-commits
Date: Wednesday, December 2, 2020 @ 09:28:50
  Author: arojas
Revision: 402751

community2extra: Moving botan from community to extra

Added:
  botan/
  botan/repos/
  botan/trunk/
  botan/trunk/PKGBUILD
  botan/trunk/botan.key

---+
 PKGBUILD  |   49 +
 botan.key |   35 +++
 2 files changed, 84 insertions(+)

Added: botan/trunk/PKGBUILD
===
--- botan/trunk/PKGBUILD(rev 0)
+++ botan/trunk/PKGBUILD2020-12-02 09:28:50 UTC (rev 402751)
@@ -0,0 +1,49 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Alexander F. Rødseth 
+# Contributor: Angel Velasquez 
+# Contributor: Douglas Soares de Andrade 
+# Contributor: d'Ronin 
+# Contributor: Hexchain Tong 
+# Contributor: Jack Lloyd 
+
+pkgname=botan
+pkgver=2.17.2
+pkgrel=2
+pkgdesc='Crypto library written in C++'
+arch=(x86_64)
+url='https://botan.randombit.net/'
+license=(BSD)
+depends=(xz sqlite)
+makedepends=(python boost openssl)
+optdepends=('python: for using botan2.py' 'boost-libs: for the botan 
executable')
+source=("https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz"{,.asc})
+sha256sums=('ebe27dfe2b55d7e02bf520e926606c48b76b22facb483256b13ab38e018e1e6c'
+'SKIP')
+validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') # Botan Distribution 
Key
+
+build() {
+  cd "${pkgname^}-$pkgver"
+
+  ./configure.py \
+--prefix=/usr \
+--with-bzip \
+--with-lzma \
+--with-zlib \
+--with-boost \
+--with-openssl \
+--with-sqlite3 \
+--with-os-feature=getrandom
+  make
+}
+
+check() {
+  cd "${pkgname^}-$pkgver"
+
+  LD_LIBRARY_PATH="$PWD" ./botan-test
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C "${pkgname^}-$pkgver" install
+  install -Dm644 "${pkgname^}-$pkgver/license.txt" \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Added: botan/trunk/botan.key
===
--- botan/trunk/botan.key   (rev 0)
+++ botan/trunk/botan.key   2020-12-02 09:28:50 UTC (rev 402751)
@@ -0,0 +1,35 @@
+pub   2048R/EFBADFBC 2004-10-30
+  Key fingerprint = 621D AF64 11E1 851C 4CF9  A2E1 6211 EBF1 EFBA DFBC
+uid  Botan Distribution Key
+
+-BEGIN PGP PUBLIC KEY BLOCK-
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+mQELBEGD1j0BCADHxPJkPcjJE+4Dlisx2hVc0Dj6JI1MSLrkM8R+2bOhVUSferxP
+T1EMPhfrAdOHTAloyvRThJztnZsNKqfLL49GGcBLdEGAVNks1pG37Teze5Lx1XIu
+zJFrozL2sqBy5C6nHpFgd1tcD68Rah2wp0u2cR9owXf1IqKdEfuo661+MTv7wTB1
+4hKV75nB7ZO6676SEZRILYM+7RJwKAKEmEPJc6hEf94VXn9ecNzaTlHgYkjhz9db
+LOd3od9XvuUw+LMR1dwBqMxbvR90MiXjbedDEkbArcZB9YOAIvEX/lC3qaW4XJt4
+iwHWl/YVZEfALcvQywe2CDrH5hO794wd9MpBAAYptBZCb3RhbiBEaXN0cmlidXRp
+b24gS2V5iQEqBBMBAgAUAhsDAh4BAheABQJKfFpnBBUKCQgACgkQYhHr8e+637xk
+PQf/aOi78XenwwvFrwXOVIVTdZIf8rK1zJksf26h09UD8uVV6z5iiTcpn86+eN9p
+6Ar8IH3tD+JuFnPSwZ/r9MNC2XZwenYo4Gb14jqM6/9hBe328vmeM4Y1G7bD4HrL
+kgV5WEyokqm3zbp3FBLr3Vh68TAC5JB9aHevra+cCA2u3vBNI3YUM5z4TdO150P3
+J00whkqImQEUni8bgxvllBLFM+uhucsX3HZWkoDEpotbg8yd0bqMkiPEyMr1OnJq
+eDVDMrB5wnyLgLFfRAAw3mopM0C1PNOAHr/BIYiaDHX2OwnOfep8rMDoRVf2Ge0D
+DBgsJJ6LduQHLeg403SHWL2F6YkCHAQTAQIABgUCQYPWUgAKCRBcD5boTsFta+r9
+EACWVis7YcaGkKKgRB/5ox8rM36XVhMXdh/hnnGHt5rapbbRRkRHRcWU8WIcFO1A
+59+TfwNNd8gN1MEt/5aX5KHWVKHBDexJgIxm6Dm1pisYHf/dnYQPM18hmqqwNlKY
+97hFkPpHd7enrtc/SvGbQhhLXYlpwBrdMl76e9xJLnnrRQksxegGPo8cr+C9HTs1
+Lwa8zzBxyBwYBYX+0moDkDShEhuXx6mEOXrGvQanJuIvpoIwGH+62E65MbJGlwWp
+w/MAtm2jFhBIhGV0bqJCFp9zIgdNgfskBaPr0oilbuJQZqP0Iqe/6CCt4XkS51yW
+ZqxjLAFpEpvDec4PGw3witKf/koGon9X8C035+nEjLBrWy18Q91vw2USyLI+mm9d
+iMAS8pY2gomfxBO2VwYHJryZykjCYQkccRA1tHteRj4gqTObo0Ak47y5MnplTWwi
+40oP7K2cfhCRBmMioxmYES4xsHEupfRBo3xr1Jq9q0t688WTT1NXHPMPoueF9mKZ
+Cf2pa9aHsqBmWTm3sCaNQKGubCDBEUmJUyndmSatJyYM7NVYoUp6EfqMACFuTNdB
+sjKMh7aWVikQpbJDfA1BIU3lZeqgjgrghVAWkEOBfhG0IVZj+RVCJpsqoTJ8asY2
+VreArSCyr/VnLEnfuH/QpgvCiCbepo3E34DJt4SaAOO2ZohGBBARAgAGBQJMGVc1
+AAoJEKY/LL36AvvMgsoAn2G7kXd09BF7ffk1Sfh174SVrvM9AKC7+R7x0+yV3SCd
+JkkUOo3xR5cOxw==
+=1QuR
+-END PGP PUBLIC KEY BLOCK-


[arch-commits] Commit in (5 files)

2020-11-29 Thread Felix Yan via arch-commits
Date: Sunday, November 29, 2020 @ 15:34:01
  Author: felixonmars
Revision: 766343

addpkg: haskell-brittany 0.12.2.0-1

Added:
  haskell-brittany/
  haskell-brittany/repos/
  haskell-brittany/trunk/
  haskell-brittany/trunk/PKGBUILD
  haskell-brittany/trunk/ghc-8.10.patch

+
 PKGBUILD   |   59 
 ghc-8.10.patch | 3558 +++
 2 files changed, 3617 insertions(+)

Added: haskell-brittany/trunk/PKGBUILD
===
--- haskell-brittany/trunk/PKGBUILD (rev 0)
+++ haskell-brittany/trunk/PKGBUILD 2020-11-29 15:34:01 UTC (rev 766343)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=brittany
+pkgname=haskell-brittany
+pkgver=0.12.2.0
+pkgrel=1
+pkgdesc="Haskell source code formatter"
+url="https://github.com/lspitzner/brittany/;
+license=("AGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-butcher' 'haskell-cmdargs' 
'haskell-czipwith'
+ 'haskell-data-tree-print' 'haskell-extra' 'haskell-ghc-exactprint' 
'haskell-ghc-paths'
+ 'haskell-monad-memo' 'haskell-multistate' 'haskell-random' 
'haskell-safe'
+ 'haskell-strict' 'haskell-syb' 'haskell-uniplate' 'haskell-unsafe' 
'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+ghc-8.10.patch)
+sha256sums=('f437edc73106185213abdbfdc3d34a2f449c341cebd738b51ed39d683ca4670f'
+'e0b4617fe2cb67f4ab035fe0ac333d506c4acfd7451b134ec76ee1eca6ee2b64')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  patch -p1 -i ../ghc-8.10.patch
+  uusi -r semigroups:Cabal -u random $_hkgname.cabal
+
+  # Hack to use Cabal's compatibility layer of semigroups
+  sed -i 's/import Data.Semigroup.Generic/import 
Distribution.Compat.Semigroup/' 
src/Language/Haskell/Brittany/Internal/Config/Types.hs
+}
+
+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'
+
+  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-brittany/trunk/ghc-8.10.patch
===
--- haskell-brittany/trunk/ghc-8.10.patch   (rev 0)
+++ haskell-brittany/trunk/ghc-8.10.patch   2020-11-29 15:34:01 UTC (rev 
766343)
@@ -0,0 +1,3558 @@
+From 17d07edb0a687053fbeb39e0bdf07415ee35a278 Mon Sep 17 00:00:00 2001
+From: jneira 
+Date: Wed, 13 May 2020 10:44:37 +0200
+Subject: [PATCH 02/17] Relax upper bounds to include updated packages
+
+---
+ brittany.cabal | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/brittany.cabal b/brittany.cabal
+index 818e818..590373f 100644
+--- a/brittany.cabal
 b/brittany.cabal
+@@ -91,10 +91,10 @@ library {
+ -fno-warn-redundant-constraints
+   }
+   build-depends:
+-{ base >=4.9 && <4.14
+-, ghc >=8.0.1 && <8.9
++{ base >=4.9 && <4.15
++, ghc >=8.0.1 && <8.11
+ , ghc-paths >=0.1.0.9 && <0.2
+-, ghc-exactprint >=0.5.8 && <0.6.3
++, ghc-exactprint >=0.5.8 && <0.6.4
+ , transformers >=0.5.2.0 && <0.6
+ , containers >=0.5.7.1 && <0.7
+ , mtl >=2.2.1 && <2.3
+@@ -118,7 +118,7 @@ library {
+ , semigroups >=0.18.2 && <0.20
+ , cmdargs >=0.10.14 && <0.11
+ , czipwith >=1.0.1.0 && <1.1
+-, ghc-boot-th >=8.0.1 && <8.9
++, ghc-boot-th >=8.0.1 && <8.11
+ , filepath >=1.4.1.0 && <1.5
+ , random >= 1.1 && <1.2
+ }
+
+From b69a8f983c070564b41b6fdec160af6d8aff730b Mon Sep 17 00:00:00 2001
+From: jneira 
+Date: Wed, 13 May 2020 10:45:14 +0200
+Subject: [PATCH 03/17] Adapt to new GHC modules organization
+
+---
+ .../Haskell/Brittany/Internal/ExactPrintUtils.hs  |  6 ++
+ src/Language/Haskell/Brittany/Internal/Prelude.hs |  8 ++--
+ src/Language/Haskell/Brittany/Internal/Utils.hs   | 15 ---
+ 3 files changed, 24 insertions(+), 5 deletions(-)
+
+diff --git a/src/Language/Haskell/Brittany/Internal/ExactPrintUtils.hs 

[arch-commits] Commit in (5 files)

2020-11-27 Thread David Runge via arch-commits
Date: Friday, November 27, 2020 @ 18:40:11
  Author: dvzrv
Revision: 764604

Add trace-cmd from the AUR.

Added:
  trace-cmd/
  trace-cmd/repos/
  trace-cmd/trunk/
  trace-cmd/trunk/PKGBUILD
  trace-cmd/trunk/trace-cmd-2.9-make_install.patch

--+
 PKGBUILD |   43 +
 trace-cmd-2.9-make_install.patch |   12 ++
 2 files changed, 55 insertions(+)

Added: trace-cmd/trunk/PKGBUILD
===
--- trace-cmd/trunk/PKGBUILD(rev 0)
+++ trace-cmd/trunk/PKGBUILD2020-11-27 18:40:11 UTC (rev 764604)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge 
+
+pkgname=trace-cmd
+pkgver=2.9.1
+pkgrel=2
+pkgdesc="Interact with Ftrace Linux kernel internal tracer"
+arch=('x86_64')
+url="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git;
+license=('GPL2' 'LGPL2.1')
+depends=('glibc')
+makedepends=('audit' 'python' 'swig' 'asciidoc')
+optdepends=('python: for Python plugins')
+source=("https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-v${pkgver}.tar.gz;
+"${pkgname}-2.9-make_install.patch")
+sha512sums=('186bfdd8ff1e88e9e6d3ae87b123f049892deaaa8d6a42944b6f8abee6b828946b88774029aa96daf4423a3dfc01b42835508f44f636dd02579ef9a8ef425131'
+
'c9321b2b885d88557a057d7064690274799ab1d67a8babb78b1c54c4d81546fdea7313286cfd5fb9efbbcf87cf8394dcb17202ac88434a351aa652e7109e1db6')
+b2sums=('f7aa2f12b2c90f35390857ed6f5818b74c42be36ce70835d86410f9f4931d27410123baaad007fa2795c1ba1f5bafc739db620f467ccc48021d774ee7be8a68d'
+
'8a644be295417b1fd5fb807285a7176ef0ceb737352bbb4c7a88441f9b955a90befe974d890a58f2b8fb6de8a68a1b3c5d207f057c4b08db79caf6e97fa66f50')
+
+prepare() {
+  mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i "../${pkgname}-2.9-make_install.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  export PYTHON_VERS=python3
+  make trace-cmd doc
+}
+
+package() {
+  depends+=('libaudit.so')
+
+  cd "${pkgname}-${pkgver}"
+  make prefix="/usr" \
+   DESTDIR="${pkgdir}/" \
+   install install_doc
+  install -vDm 644 tracecmd/${pkgname}.bash \
+"${pkgdir}/usr/share/bash/bash-completion/completions/${pkgname}"
+  # removing python2 script
+  rm -v "${pkgdir}/usr/lib/trace-cmd/python/event-viewer.py"
+}

Added: trace-cmd/trunk/trace-cmd-2.9-make_install.patch
===
--- trace-cmd/trunk/trace-cmd-2.9-make_install.patch
(rev 0)
+++ trace-cmd/trunk/trace-cmd-2.9-make_install.patch2020-11-27 18:40:11 UTC 
(rev 764604)
@@ -0,0 +1,12 @@
+diff -ruN a/Makefile b/Makefile
+--- a/Makefile 2020-07-17 17:14:20.0 +0200
 b/Makefile 2020-07-18 10:37:32.898885286 +0200
+@@ -398,7 +398,7 @@
+ install_bash_completion: force
+   $(Q)$(call 
do_install_data,$(src)/tracecmd/trace-cmd.bash,$(BASH_COMPLETE_DIR))
+ 
+-install_cmd: all_cmd install_plugins install_python install_bash_completion
++install_cmd: all_cmd install_plugins install_python
+   $(Q)$(call do_install,$(obj)/tracecmd/trace-cmd,$(bindir_SQ))
+ 
+ install: install_cmd


[arch-commits] Commit in (5 files)

2020-11-23 Thread David Runge via arch-commits
Date: Monday, November 23, 2020 @ 21:29:47
  Author: dvzrv
Revision: 760151

Add cri-tools.

The cri-tools offer crictl (which is used by kubeadm) and
critest (for testing), both required for kubernetes tooling.

Added:
  cri-tools/
  cri-tools/repos/
  cri-tools/trunk/
  cri-tools/trunk/PKGBUILD
  cri-tools/trunk/cri-tools-1.19.0-makefile.patch

-+
 PKGBUILD|   75 ++
 cri-tools-1.19.0-makefile.patch |   29 ++
 2 files changed, 104 insertions(+)

Added: cri-tools/trunk/PKGBUILD
===
--- cri-tools/trunk/PKGBUILD(rev 0)
+++ cri-tools/trunk/PKGBUILD2020-11-23 21:29:47 UTC (rev 760151)
@@ -0,0 +1,75 @@
+# Maintainer: David Runge 
+
+pkgbase=cri-tools
+pkgname=('crictl' 'critest')
+pkgver=1.19.0
+_commit='9818f3edfa31494f6df5ffdcad918fd6e874c305' # v1.19.0
+pkgrel=1
+pkgdesc="CLI and validation tools for Kubelet Container Runtime Interface 
(CRI)"
+arch=('x86_64')
+url="https://github.com/kubernetes-sigs/cri-tools;
+license=('Apache')
+groups=('kubernetes-tools')
+depends=('glibc')
+makedepends=('git' 'go')
+# can only build from git: 
https://github.com/kubernetes-sigs/cri-tools/issues/676
+source=("git+https://github.com/kubernetes-sigs/${pkgbase}#commit=${_commit};
+"${pkgbase}-1.19.0-makefile.patch"
+)
+sha512sums=('SKIP'
+
'db51a5228b2ca0dcfe493a7178d4318b831e13c8461a68cc6239ab4ee717773b8955d2d86312bc518d4b4552289679ce71fac8961f29bb8b9d6ad5eba9332e75')
+b2sums=('SKIP'
+
'b26bde7934ecd79b7afa18fdd2438451893a4d298aaad4d20d2361b4ef92601b2fab79145681ae6044561ef340a22dcc83cfb091feb0e9ca4900e944224c2f10')
+
+prepare() {
+  cd "${pkgbase}"
+  # set CGO_ENABLED, honor GOFLAGS and allow adding to GO_LDFLAGS
+  patch -Np1 -i ../"${pkgbase}-1.19.0-makefile.patch"
+}
+
+build() {
+  cd "$pkgbase"
+  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"
+  # NOTE: this ensures the binaries have full RELRO
+  export GO_LDFLAGS="-linkmode=external"
+
+  make
+
+  # crictl shell completion
+  mkdir -v _output/completions
+  local _binary
+  for _binary in crictl; do
+"_output/${_binary}" completion bash > "_output/completions/${_binary}"
+"_output/${_binary}" completion zsh > "_output/completions/_${_binary}"
+  done
+}
+
+package_crictl() {
+  pkgdesc="A CLI for CRI-compatible container runtimes"
+
+  cd "$pkgbase"
+  make install-crictl BINDIR="${pkgdir}/usr/bin/"
+  # shell completion
+  install -vDm 644 "_output/completions/${pkgname}" -t 
"$pkgdir/usr/share/bash-completion/completions/"
+  install -vDm 644 "_output/completions/_${pkgname}" -t 
"$pkgdir/usr/share/zsh/site-functions/"
+  # docs
+  install -vDm 644 "docs/${pkgname}.md" -t 
"${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 docs/examples/*.{json,yaml} -t 
"${pkgdir}/usr/share/doc/${pkgname}/examples/"
+  install -vDm 644 
{{CHANGELOG,CONTRIBUTING,README,code-of-conduct}.md,SECURITY_CONTACTS} \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_critest() {
+  pkgdesc="A benchmarking CLI for CRI-compatible container runtimes"
+
+  cd "$pkgbase"
+  make install-critest BINDIR="${pkgdir}/usr/bin/"
+  # docs
+  install -vDm 644 docs/{benchmark,validation}.md -t 
"${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 
{{CHANGELOG,CONTRIBUTING,README,code-of-conduct}.md,SECURITY_CONTACTS} \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: cri-tools/trunk/cri-tools-1.19.0-makefile.patch
===
--- cri-tools/trunk/cri-tools-1.19.0-makefile.patch 
(rev 0)
+++ cri-tools/trunk/cri-tools-1.19.0-makefile.patch 2020-11-23 21:29:47 UTC 
(rev 760151)
@@ -0,0 +1,29 @@
+diff -ruN a/Makefile b/Makefile
+--- a/Makefile 2020-08-28 11:44:53.0 +0200
 b/Makefile 2020-11-05 13:32:43.543054387 +0100
+@@ -33,7 +33,7 @@
+ 
+ VERSION := $(shell git describe --tags --dirty --always)
+ VERSION := $(VERSION:v%=%)
+-GO_LDFLAGS := -X $(PROJECT)/pkg/version.Version=$(VERSION)
++GO_LDFLAGS := $(GO_LDFLAGS) -X $(PROJECT)/pkg/version.Version=$(VERSION)
+ BUILDTAGS := selinux
+ 
+ BUILD_PATH := $(shell pwd)/build
+@@ -57,13 +57,13 @@
+   @echo " * 'clean' - Clean artifacts."
+ 
+ critest:
+-  CGO_ENABLED=0 $(GO_TEST) -c -o $(CURDIR)/_output/critest$(BIN_EXT) \
++  CGO_ENABLED=1 $(GO_TEST) -c -o $(CURDIR)/_output/critest$(BIN_EXT) \
+   -ldflags '$(GO_LDFLAGS)' \
+   -tags '$(BUILDTAGS)' \
+-   $(PROJECT)/cmd/critest
++  $(PROJECT)/cmd/critest
+ 
+ crictl:
+-  CGO_ENABLED=0 $(GO_BUILD) -o $(CURDIR)/_output/crictl$(BIN_EXT) \
++  CGO_ENABLED=1 $(GO_BUILD) -o 

[arch-commits] Commit in (5 files)

2020-11-23 Thread David Runge via arch-commits
Date: Monday, November 23, 2020 @ 20:41:44
  Author: dvzrv
Revision: 760143

Add containers-common.

This package provides common configuration and documentation for
buildah, cri-o, podman and skopeo.

Added:
  containers-common/
  containers-common/repos/
  containers-common/trunk/
  containers-common/trunk/PKGBUILD
  containers-common/trunk/mounts.conf

-+
 PKGBUILD|  131 ++
 mounts.conf |3 +
 2 files changed, 134 insertions(+)

Added: containers-common/trunk/PKGBUILD
===
--- containers-common/trunk/PKGBUILD(rev 0)
+++ containers-common/trunk/PKGBUILD2020-11-23 20:41:44 UTC (rev 760143)
@@ -0,0 +1,131 @@
+# Maintainer: David Runge 
+
+pkgname=containers-common
+pkgver=0.29.0
+_image_pkgver=5.8.1
+_podman_pkgver=2.1.1
+_skopeo_pkgver=1.2.0
+_storage_pkgver=1.24.1
+pkgrel=1
+pkgdesc="Configuration files and manpages for containers"
+arch=('any')
+url="https://github.com/containers;
+license=('Apache')
+makedepends=('go-md2man')
+backup=(
+  'etc/containers/containers.conf'
+  'etc/containers/mounts.conf'
+  'etc/containers/policy.json'
+  'etc/containers/registries.conf'
+  'etc/containers/seccomp.json'
+  'etc/containers/storage.conf'
+)
+# configuration override directories need to exist
+options=('emptydirs')
+source=("common-${pkgver}.tar.gz::https://github.com/containers/common/archive/v${pkgver}.tar.gz;
+
"image-${_image_pkgver}.tar.gz::https://github.com/containers/image/archive/v${_image_pkgver}.tar.gz;
+
"podman-${_podman_pkgver}.tar.gz::https://github.com/containers/podman/archive/v${_podman_pkgver}.tar.gz;
+
"skopeo-${_skopeo_pkgver}.tar.gz::https://github.com/containers/skopeo/archive/v${_skopeo_pkgver}.tar.gz;
+
"storage-${_storage_pkgver}.tar.gz::https://github.com/containers/storage/archive/v${_storage_pkgver}.tar.gz;
+'mounts.conf'
+)
+sha512sums=('16273332342689ae3f06ebb5bf35b07422c7fdb3635760a7e126b7a7b1fe495527b18ffb05019070eb72639855224d3c2e139e14ac6dff7bdd05ffd8e5f627e0'
+
'5eb77cd2270eb90d77ba5057e57d704f5a4b7d8a13dc1621cc761029a55fbe32a9db2d68252ad04ca6966560d5ad2e64857cd1cf714f4808cbed5798b796e42e'
+
'94096aca1816bb1726b74c71a3c3cd50c4c783110c79dd00e851e6292438ccae7b933b6028177039a7d7d96373afcb783f4bc0449a62c18ae97d73767ee3fa26'
+
'630f4209eb6e45c7e99731f98e32705cc7e8f476a5b288f74d7596dd449e0e30e7cebb64c1ecd2562fb1516d91b8ce0e8a41a479a7b1e337d16f8b1fa5b29f9e'
+
'2f1244a270c756f7a135e6e5cda25029d6e487fc5b6b4315c3961e2be2e6a96e4c297da101bf7386c087d67af8f8c30938881dcc15d08e8adcffd3780b161fe7'
+
'11fa515bbb0686d2b49c4fd2ab35348cb19f9c6780d6eb951a33b07ed7b7c72a676627f36e8c74e1a2d15e306d4537178f0e127fd3490f6131d078e56b46d5e1')
+b2sums=('a7099556d893067dea30971cff1d73ce1e6a0b9c7fdb9873433d9f0058e4bfb5a7556a741aa44b11172f3fec008a72d1b4a10fde32a166c3848423961c3c9c79'
+
'c9351576bfd8a3e82479b1f567685b71379be64f8475cdaafc0fb70f990ee3cf217e575e1a01e38f9d02ab23de5d5fc9224b9464b83f6dfe38972455c91af41e'
+
'48e72cc436395b33bef04bf7a95106c5e13cb4fc57e1f7ee04576afc9c86b418373286f368193026206e0f74b39e3fce1b62d7bc794d6e504119db8b0726203d'
+
'0c5c0b5e35e278913efef316835c105f49fc0552a1a21159591cc11ec201a306d392c2e8af81c2636b86c7cc52b60f986658516034836128f17265b0f0f2edc6'
+
'7caacf5d2e0b952c27c4b82a9e824ce5f79e714ce227a375e06686c0744b63a6416b04639b1d903e89aac494c03f7490d2f91934f9bd534355175718c92a89c8'
+
'2f4b0af3271103362a898e7fcc3ec05f06755902ad664ac3107bb8debb8b2ac0d50de311d5fc651279a817a56e3ff05864a7e77c0d8fc628ff7411bfb98c9b69')
+
+prepare() {
+  (
+cd "storage-${_storage_pkgver}"
+sed -r 's/(GOMD2MAN = ).*/\1 go-md2man/' -i docs/Makefile
+  )
+}
+
+build() {
+  (
+cd "common-${pkgver}/docs"
+for _man_page in *.md; do
+  go-md2man -in "$_man_page" -out "${_man_page//.md}"
+done
+  )
+  (
+cd "image-${_image_pkgver}/docs"
+mkdir -vp man5
+mv -v *.5.md man5/
+for _man_page in *.md; do
+  go-md2man -in "$_man_page" -out "${_man_page//.md}.1"
+done
+for _man_page in man5/*.md; do
+  go-md2man -in "$_man_page" -out "${_man_page//.md}"
+done
+  )
+  (
+cd "podman-${_podman_pkgver}"
+go-md2man -in docs/source/markdown/containers-mounts.conf.5.md \
+  -out containers-mounts.conf.5
+go-md2man -in pkg/hooks/docs/oci-hooks.5.md \
+  -out oci-hooks.5
+  )
+  (
+cd "storage-${_storage_pkgver}"
+make -C docs
+  )
+}
+
+package() {
+  # directories
+  install -vdm 755 "${pkgdir}/etc/containers/oci/hooks.d/"
+  install -vdm 755 "${pkgdir}/etc/containers/registries.conf.d/"
+  install -vdm 755 "${pkgdir}/usr/share/containers/oci/hooks.d/"
+  install -vdm 700 "${pkgdir}/var/lib/containers/"
+  install -vdm 755 "${pkgdir}/var/lib/containers/sigstore/"
+
+  # configs
+  install -vDm 644 mounts.conf -t 

[arch-commits] Commit in (5 files)

2020-11-16 Thread Jonas Witschel via arch-commits
Date: Monday, November 16, 2020 @ 18:43:50
  Author: diabonas
Revision: 755511

Add package python-python-pkcs11 (new checkdepends of tpm2-pkcs11)

Added:
  python-python-pkcs11/
  python-python-pkcs11/repos/
  python-python-pkcs11/trunk/
  python-python-pkcs11/trunk/PKGBUILD
  python-python-pkcs11/trunk/python-pkcs11_mark-tests-as-xfail.patch

-+
 PKGBUILD|   47 
 python-pkcs11_mark-tests-as-xfail.patch |   88 ++
 2 files changed, 135 insertions(+)

Added: python-python-pkcs11/trunk/PKGBUILD
===
--- python-python-pkcs11/trunk/PKGBUILD (rev 0)
+++ python-python-pkcs11/trunk/PKGBUILD 2020-11-16 18:43:50 UTC (rev 755511)
@@ -0,0 +1,47 @@
+# Maintainer: Jonas Witschel 
+pkgname=python-python-pkcs11
+_name=${pkgname#python-}
+pkgver=0.7.0
+pkgrel=2
+pkgdesc='PKCS#11/Cryptoki support for Python'
+arch=('x86_64')
+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')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz;
+'python-pkcs11_mark-tests-as-xfail.patch')
+sha256sums=('9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9e46bf7'
+'28a5ce996fe6cb455b55c98e8a46fcd0539dc0b3a70677a390f4dddbe1b55d65')
+
+prepare() {
+   cd "$_name-$pkgver"
+
+   sed -n '/^Copyright/,$p' README.rst > LICENSE
+
+   # test_sign_eddsa and test_self_sign_certificate always fail in our 
build environment
+   # 
(https://github.com/danni/python-pkcs11/issues/63#issuecomment-526812900)
+   patch --forward --strip=1 
--input="$srcdir/python-pkcs11_mark-tests-as-xfail.patch"
+}
+
+build() {
+   cd "$_name-$pkgver"
+   python setup.py build
+}
+
+check() {
+   cd "$_name-$pkgver"
+   softhsm2-util --init-token --free --label TEST --pin 1234 --so-pin 5678
+   export PKCS11_MODULE=/usr/lib/libsofthsm2.so
+   export PKCS11_TOKEN_LABEL=TEST
+   export PKCS11_TOKEN_PIN=1234
+   export PKCS11_TOKEN_SO_PIN=5678
+   python setup.py test
+}
+
+package() {
+   cd "$_name-$pkgver"
+   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+   install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}

Added: python-python-pkcs11/trunk/python-pkcs11_mark-tests-as-xfail.patch
===
--- python-python-pkcs11/trunk/python-pkcs11_mark-tests-as-xfail.patch  
(rev 0)
+++ python-python-pkcs11/trunk/python-pkcs11_mark-tests-as-xfail.patch  
2020-11-16 18:43:50 UTC (rev 755511)
@@ -0,0 +1,88 @@
+From 12e7408bdf77d2a5af3a93c175d7ebd364b9e22d Mon Sep 17 00:00:00 2001
+From: Jonas Witschel 
+Date: Sat, 17 Oct 2020 17:16:37 +0200
+Subject: [PATCH] tests: mark test_sign_eddsa and test_self_sign_certificate as
+ xfail
+
+These two tests consistently fail with the following output:
+
+==
+ERROR: test_sign_eddsa (tests.test_ecc.ECCTests)
+--
+Traceback (most recent call last):
+  File "/build/python-pkcs11/src/python-pkcs11-0.7.0/tests/__init__.py", line 
95, in wrapper
+return func(self, *args, **kwargs)
+  File "/build/python-pkcs11/src/python-pkcs11-0.7.0/tests/test_ecc.py", line 
158, in test_sign_eddsa
+pub, priv = parameters.generate_keypair()
+  File "pkcs11/_pkcs11.pyx", line 855, in 
pkcs11._pkcs11.DomainParameters.generate_keypair
+assertRV(_funclist.C_GenerateKeyPair(handle, mech_data,
+  File "pkcs11/_errors.pyx", line 88, in pkcs11._pkcs11.assertRV
+raise ERROR_MAP.get(rv,
+pkcs11.exceptions.GeneralError
+
+==
+FAIL: test_self_sign_certificate (tests.test_x509.X509Tests)
+--
+Traceback (most recent call last):
+  File "/build/python-pkcs11/src/python-pkcs11-0.7.0/tests/__init__.py", line 
95, in wrapper
+return func(self, *args, **kwargs)
+  File "/build/python-pkcs11/src/python-pkcs11-0.7.0/tests/test_x509.py", line 
222, in test_self_sign_certificate
+self.assertEqual(proc.wait(), 0)
+AssertionError: 2 != 0
+
+--
+
+According to
+https://github.com/danni/python-pkcs11/issues/63#issuecomment-526812900
+these failures are due to the OpenSSL and PKCS11_MODULE configuration and
+therefore not indicative of an issue with the Python module itself.
+---
+ tests/test_ecc.py  | 3 +++
+ tests/test_x509.py | 3 +++
+ 2 files changed, 6 insertions(+)
+
+diff 

[arch-commits] Commit in (5 files)

2020-10-31 Thread David Runge via arch-commits
Date: Saturday, October 31, 2020 @ 11:49:54
  Author: dvzrv
Revision: 737638

Add vst3sdk, a makedepend for qtractor and surge.

Added:
  vst3sdk/
  vst3sdk/repos/
  vst3sdk/trunk/
  vst3sdk/trunk/PKGBUILD
  vst3sdk/trunk/vst3sdk.pc

+
 PKGBUILD   |  110 +++
 vst3sdk.pc |5 ++
 2 files changed, 115 insertions(+)

Added: vst3sdk/trunk/PKGBUILD
===
--- vst3sdk/trunk/PKGBUILD  (rev 0)
+++ vst3sdk/trunk/PKGBUILD  2020-10-31 11:49:54 UTC (rev 737638)
@@ -0,0 +1,110 @@
+# Maintainer: David Runge 
+
+pkgbase=vst3sdk
+pkgname=('vst3sdk' 'vst3sdk-examples')
+pkgver=3.7.0_build_116
+_commit=ef0a70df2f82a3c218abaca0dbfbb66ae6c61025 # 3.7.0_build_116
+pkgrel=1
+pkgdesc="VST 3 Plug-In SDK"
+arch=('x86_64')
+url="https://github.com/steinbergmedia/vst3sdk;
+license=('GPL3' 'BSD')
+makedepends=('cairo' 'cmake' 'expat' 'fontconfig' 'git' 'glibc' 'freetype2'
+'gtkmm3' 'libx11' 'libxcb' 'libxext' 'libxkbcommon' 'libxkbcommon-x11'
+'xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util')
+# upstream does not provide proper tarballs:
+# https://github.com/steinbergmedia/vst3sdk/issues/65
+source=("git+https://github.com/steinbergmedia/${pkgname}#commit=${_commit};
+"git+https://github.com/steinbergmedia/vst3_base;
+"git+https://github.com/steinbergmedia/vst3_cmake;
+"git+https://github.com/steinbergmedia/vst3_doc;
+"git+https://github.com/steinbergmedia/vst3_pluginterfaces;
+"git+https://github.com/steinbergmedia/vst3_public_sdk;
+"git+https://github.com/steinbergmedia/vstgui;
+
"${pkgname}-3.7.0_build_116-missing_includes.patch::https://github.com/dvzrv/vst3_public_sdk/commit/2ea8e1086b1c298e8df29bc7b02e4009c60fd689.patch;
+"${pkgname}.pc"
+)
+noextract=()
+sha512sums=('SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+
'a6b3b908b4d39b166eaf8e253a81f519091efc36c19098232411bc19ba0b33678c1dc332b770f4df466a873cb22c4ca60d91a8962ebc18b61da874d9c9795c85'
+
'87b9f6ac84af35dfe7e7c33c51243a69afd8c49362b2d7c720556307b71c0eb1cc6e647778c22abf0bdbdea13de4c5796ffa9620723687f3c3fc4c557f36fde1')
+b2sums=('SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+
'60de2ca387a19a5f251455c2816d31246c4223f0796da4ef1496e16ba043335b85b38944e5c49f5564a4ac52caa7b326dfc814582707ca378dda35e643e25787'
+
'663f3f78032b0ab19fc8758862c108599d4506b797953a7d8e5cb0808badd5fd4e7273c2e195f4a1d84324352e3c569beeec30145bb36590c959eb1e6dbf8503')
+validpgpkeys=()
+
+prepare() {
+  # upstream does not provide a pkg-config integration:
+  # https://github.com/steinbergmedia/vst3sdk/issues/68
+  sed -e "s/VERSION/${pkgver}/" -i "${pkgname}.pc"
+  cd "$pkgname"
+  git submodule init
+  git config submodule.base.url ../vst3_base
+  git config submodule.cmake.url ../vst3_cmake
+  git config submodule.doc.url ../vst3_doc
+  git config submodule.pluginterfaces.url ../vst3_pluginterfaces
+  git config submodule.public.sdk.url ../vst3_public_sdk
+  git config submodule.vstgui4.url ../vstgui
+  git submodule update
+  # add missing includes for gcc >= 10:
+  # https://github.com/steinbergmedia/vst3_public_sdk/issues/20
+  cd public.sdk
+  patch -Np1 -i "${srcdir}/${pkgname}-3.7.0_build_116-missing_includes.patch"
+}
+
+build() {
+  cd "$pkgname"
+  export CFLAGS+=" -DNDEBUG"
+  export CXXFLAGS+=" -DNDEBUG"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE='None' \
+-Wno-dev \
+-B build \
+-S .
+  make VERBOSE=1 -C build
+}
+
+package_vst3sdk() {
+  cd "$pkgbase"
+  install -vDm 644 "../${pkgname}.pc" -t "${pkgdir}/usr/lib/pkgconfig/"
+  find base -type f \( -iname "*.cpp" -or -iname "*.h" \) -exec install -vDm 
644 {} "${pkgdir}/usr/include/${pkgname}/"{} \;
+  find pluginterfaces \( -type f -iname "*.cpp" -or -iname "*.h" \) -exec 
install -vDm 644 {} "${pkgdir}/usr/include/${pkgname}/"{} \;
+  find public.sdk -type f \( -iname "*.cpp" -or -iname "*.h" \) -exec install 
-vDm 644 {} "${pkgdir}/usr/include/${pkgname}/"{} \;
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  install -vDm 644 base/LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.base.txt"
+  install -vDm 644 public.sdk/LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.public.sdk.txt"
+}
+
+package_vst3sdk-examples() {
+  pkgdesc+=' (examples)'
+  depends+=('cairo' 'gcc-libs' 'glibc' 'libx11' 'libxcb' 'libxext'
+  'libxkbcommon' 'libxkbcommon-x11' 'xcb-util-cursor' 'xcb-util-keysyms'
+  'xcb-util' 'libexpat.so' 'libfontconfig.so' 'libfreetype.so')
+
+  cd "$pkgbase"
+
+  (
+cd build/VST3/None
+find . -type f -iname "*.so" -exec install -vDm 755 {} 

[arch-commits] Commit in (5 files)

2020-10-30 Thread Alexander Rødseth via arch-commits
Date: Friday, October 30, 2020 @ 11:09:04
  Author: arodseth
Revision: 736682

Add a terminal Gemini browser

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

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

Added: amfora/trunk/PKGBUILD
===
--- amfora/trunk/PKGBUILD   (rev 0)
+++ amfora/trunk/PKGBUILD   2020-10-30 11:09:04 UTC (rev 736682)
@@ -0,0 +1,42 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Paul Boyd 
+
+pkgname=amfora
+pkgver=1.5.0
+pkgrel=3
+pkgdesc='Terminal browser for the Gemini protocol'
+arch=(x86_64)
+url='https://github.com/makeworld-the-better-one/amfora'
+license=(GPL3)
+makedepends=(git go)
+source=("git+$url#commit=922e7981a92cb7bf0d7b3baf1694d0fffe90d448" # tag: 
v1.5.0
+'https://roboticoverlords.org/amfora.png')
+sha256sums=('SKIP'
+'3d029d05cff8c42e82685ce7a61fcaa2118e4cbb6a547816a7d5150868a11092')
+
+prepare() {
+  echo 'Icon=amfora' >> "$pkgname/amfora.desktop"
+}
+
+build() {
+  cd $pkgname
+  #export CGO_CPPFLAGS="$CPPFLAGS"
+  #export CGO_CFLAGS="$CFLAGS"
+  #export CGO_CXXFLAGS="$CXXFLAGS"
+  #export CGO_LDFLAGS="$LDFLAGS"
+  go build \
+-buildmode=pie \
+-ldflags "-s -w -linkmode=external -extldflags $LDFLAGS -X 
main.version=$pkgver -X main.builtBy=Arch_Linux -X main.commit=${source#*=}" \
+-mod=readonly \
+-modcacherw \
+-trimpath \
+-v
+}
+
+package() {
+  cd $pkgname
+  install -Dm755 amfora "$pkgdir/usr/bin/amfora"
+  install -Dm644 amfora.desktop "$pkgdir/usr/share/applications/amfora.desktop"
+  install -Dm644 "$srcdir/amfora.png" "$pkgdir/usr/share/pixmaps/amfora.png"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in (5 files)

2020-10-26 Thread Christian Rebischke via arch-commits
Date: Monday, October 26, 2020 @ 19:47:02
  Author: shibumi
Revision: 734041

add skaffold

Added:
  skaffold/
  skaffold/repos/
  skaffold/trunk/
  skaffold/trunk/PKGBUILD
  skaffold/trunk/build_info.patch

--+
 PKGBUILD |   58 +
 build_info.patch |   23 +
 2 files changed, 81 insertions(+)

Added: skaffold/trunk/PKGBUILD
===
--- skaffold/trunk/PKGBUILD (rev 0)
+++ skaffold/trunk/PKGBUILD 2020-10-26 19:47:02 UTC (rev 734041)
@@ -0,0 +1,58 @@
+# Maintainer Christian Rebischke 
+# Maintainer: Fredy García 
+# Maintainer: Maxim Baz <${pkgname} at maximbaz dot com>
+# Contributor: Stefan Cocora 
+
+pkgname=skaffold
+pkgver=1.15.0
+pkgrel=2
+pkgdesc="A command line tool that facilitates continuous development for 
Kubernetes applications"
+arch=("x86_64")
+url="https://github.com/GoogleContainerTools/${pkgname};
+license=("Apache")
+depends=("docker" "kubectl")
+makedepends=("go")
+optdepends=(
+  "minikube: To use Minikube"
+)
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/GoogleContainerTools/${pkgname}/archive/v${pkgver}.tar.gz;
+  "build_info.patch"
+)
+sha256sums=(
+  "d16c91191d4d0ac0d8eb29f9fb02462b948faffefcf0d5b91fd6491a3157d8c2"
+  "e90797011d2f79c79a6b184a5e9c35c4e5c582622d075b0022675b96fccefc46"
+)
+_commit="c4dce04b0d692dce61051d14cf4a2c04c8c688bd"
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/build_info.patch"
+
+  rm -rf "${srcdir}/gopath"
+  mkdir -p "${srcdir}/gopath/bin"
+  mkdir -p "${srcdir}/gopath/src/github.com/GoogleContainerTools"
+  ln -rTsf "${srcdir}/${pkgname}-${pkgver}" 
"${srcdir}/gopath/src/github.com/GoogleContainerTools/${pkgname}"
+}
+
+build() {
+  cd "${srcdir}/gopath/src/github.com/GoogleContainerTools/${pkgname}"
+  export GOPATH="${srcdir}/gopath"
+  export PATH="${PATH}:${GOPATH}/bin"
+  export VERSION="v${pkgver}"
+  export COMMIT="${_commit}"
+  export TREE_STATE="clean"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -mod=readonly -modcacherw -x -v"
+  make install
+
+  # To avoid issues deleting directories next time
+  go clean --modcache
+}
+
+package() {
+  install -Dm755 "${srcdir}/gopath/bin/${pkgname}" 
"${pkgdir}/usr/bin/${pkgname}"
+}

Added: skaffold/trunk/build_info.patch
===
--- skaffold/trunk/build_info.patch (rev 0)
+++ skaffold/trunk/build_info.patch 2020-10-26 19:47:02 UTC (rev 734041)
@@ -0,0 +1,23 @@
+diff --git a/Makefile b/Makefile
+index dd22ea0..aa47490 100644
+--- a/Makefile
 b/Makefile
+@@ -35,7 +35,8 @@ SKAFFOLD_TEST_PACKAGES = ./pkg/skaffold/... ./cmd/... 
./hack/... ./pkg/webhook/.
+ GO_FILES = $(shell find . -type f -name '*.go' -not -path "./vendor/*" -not 
-path "./pkg/diag/*")
+ 
+ VERSION_PACKAGE = $(REPOPATH)/pkg/skaffold/version
+-COMMIT = $(shell git rev-parse HEAD)
++COMMIT ?= $(shell git rev-parse HEAD)
++TREE_STATE ?= $(if $(shell git status --porcelain),dirty,clean)
+ 
+ ifeq "$(strip $(VERSION))" ""
+  override VERSION = $(shell git describe --always --tags --dirty)
+@@ -52,7 +53,7 @@ GO_BUILD_TAGS_windows = "release"
+ GO_LDFLAGS = -X $(VERSION_PACKAGE).version=$(VERSION)
+ GO_LDFLAGS += -X $(VERSION_PACKAGE).buildDate=$(shell date 
+'%Y-%m-%dT%H:%M:%SZ')
+ GO_LDFLAGS += -X $(VERSION_PACKAGE).gitCommit=$(COMMIT)
+-GO_LDFLAGS += -X $(VERSION_PACKAGE).gitTreeState=$(if $(shell git status 
--porcelain),dirty,clean)
++GO_LDFLAGS += -X $(VERSION_PACKAGE).gitTreeState=$(TREE_STATE)
+ GO_LDFLAGS += -s -w
+ 
+ GO_LDFLAGS_windows =" $(GO_LDFLAGS)  -extldflags \"$(LDFLAGS_windows)\""


[arch-commits] Commit in (5 files)

2020-10-13 Thread Bruno Pagani via arch-commits
Date: Tuesday, October 13, 2020 @ 17:54:02
  Author: archange
Revision: 723846

Initial addition of liblas in [community].

Required by vtk.

Added:
  liblas/
  liblas/repos/
  liblas/trunk/
  liblas/trunk/PKGBUILD
  liblas/trunk/fix-gdal-2.5.patch

+
 PKGBUILD   |   56 +++
 fix-gdal-2.5.patch |   28 +
 2 files changed, 84 insertions(+)

Added: liblas/trunk/PKGBUILD
===
--- liblas/trunk/PKGBUILD   (rev 0)
+++ liblas/trunk/PKGBUILD   2020-10-13 17:54:02 UTC (rev 723846)
@@ -0,0 +1,56 @@
+# Maintainer: Bruno Pagani 
+
+pkgname=liblas
+pkgver=1.8.1.r120+ge12742f4
+pkgrel=1
+pkgdesc="C/C++ library for reading and writing the very common LAS LiDAR 
format"
+arch=(x86_64)
+url="https://liblas.org/;
+license=(BSD)
+depends=(boost-libs gdal laszip2 libgeotiff proj)
+makedepends=(cmake boost git)
+#source=(https://download.osgeo.org/liblas/libLAS-${pkgver}.tar.bz2)
+#md5sums=('2e6a975dafdf57f59a385ccb87eb5919')
+#sha256sums=('9adb4a98c63b461ed2bc82e214ae522cbd809cff578f28511122efe6c7ea4e76')
+source=(git+https://github.com/libLAS/libLAS.git#commit=e12742f4152146d3a71f9b2de573257e91736c93
+fix-gdal-2.5.patch)
+sha256sums=(SKIP 
c492dd229664c0f1be1a7ca7a7e2df0414a04e2ac89dc5b5ce61463fbe84a6af)
+
+pkgver() {
+  cd libLAS
+  git describe --tags | sed 's/^mfoc-//;s/\([^-]*-g\)/r\1/;s/-/./;s/-/+/'
+}
+
+prepare() {
+  cd libLAS
+  # https://github.com/libLAS/libLAS/issues/164
+  patch -Np1 -i ../fix-gdal-2.5.patch
+  # Find our laszip 2.x version
+  sed -i 's@laszip/@laszip2/@g' cmake/modules/FindLASzip.cmake
+  sed -i 's@laszip/@laszip2/@g' src/header.cpp
+  sed -i 's@laszip/@laszip2/@g' src/version.cpp
+  sed -i 's@laszip/@laszip2/@g' src/detail/zippoint.cpp
+  sed -i 's@laszip/@laszip2/@g' src/detail/reader/zipreader.cpp
+  sed -i 's@laszip/@laszip2/@g' src/detail/writer/zipwriter.cpp
+}
+
+build() {
+  #cmake -B build -S libLAS-${pkgver} \
+  cmake -B build -S libLAS \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DWITH_GDAL=True \
+-DWITH_GEOTIFF=True \
+-DWITH_LASZIP=True \
+-DWITH_UTILITIES=True \
+-DCMAKE_INSTALL_RPATH=/usr/lib/laszip2 \
+-DLASZIP_INCLUDE_DIR=/usr/include \
+-DLASZIP_LIBRARY=/usr/lib/laszip2/liblaszip.so \
+-G "Unix Makefiles"
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+  #install -Dm644 libLAS-${pkgver}/LICENSE.txt -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+  install -Dm644 libLAS/LICENSE.txt -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+}

Added: liblas/trunk/fix-gdal-2.5.patch
===
--- liblas/trunk/fix-gdal-2.5.patch (rev 0)
+++ liblas/trunk/fix-gdal-2.5.patch 2020-10-13 17:54:02 UTC (rev 723846)
@@ -0,0 +1,28 @@
+diff --git a/src/gt_wkt_srs.cpp b/src/gt_wkt_srs.cpp
+--- a/src/gt_wkt_srs.cpp
 b/src/gt_wkt_srs.cpp
+@@ -299,7 +299,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
+ oSRS.SetFromUserInput(pszWKT);
+ oSRS.SetExtension( "PROJCS", "PROJ4",
+"+proj=merc +a=6378137 +b=6378137 
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  
+no_defs" );
+-oSRS.FixupOrdering();
+ CPLFree(pszWKT);
+ pszWKT = NULL;
+ oSRS.exportToWkt();
+@@ -505,7 +504,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
+ {
+ char   *pszWKT;
+ oSRS.morphFromESRI();
+-oSRS.FixupOrdering();
+ if( oSRS.exportToWkt(  ) == OGRERR_NONE )
+ return pszWKT;
+ }
+@@ -1107,8 +1105,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
+ /*  */
+ char   *pszWKT;
+
+-oSRS.FixupOrdering();
+-
+ if( oSRS.exportToWkt(  ) == OGRERR_NONE )
+ return pszWKT;
+ else


[arch-commits] Commit in (5 files)

2020-10-12 Thread Evangelos Foutras via arch-commits
Date: Monday, October 12, 2020 @ 23:41:34
  Author: foutrelis
Revision: 398095

Add new polly package; part of LLVM (FS#66226)

Added:
  polly/
  polly/repos/
  polly/trunk/
  polly/trunk/PKGBUILD
  polly/trunk/support-linking-ScopPassManager-against-LLVM-dylib.patch

--+
 PKGBUILD |   63 +
 support-linking-ScopPassManager-against-LLVM-dylib.patch |   28 +
 2 files changed, 91 insertions(+)

Added: polly/trunk/PKGBUILD
===
--- polly/trunk/PKGBUILD(rev 0)
+++ polly/trunk/PKGBUILD2020-10-12 23:41:34 UTC (rev 398095)
@@ -0,0 +1,63 @@
+# Maintainer: Evangelos Foutras 
+
+pkgname=polly
+pkgver=11.0.0
+pkgrel=1
+pkgdesc="High-level loop and data-locality optimizer and optimization 
infrastructure for LLVM"
+arch=('x86_64')
+url="https://polly.llvm.org/;
+license=('custom:Apache 2.0 with LLVM Exception')
+depends=('llvm-libs')
+makedepends=('llvm' 'cmake' 'ninja' 'python-sphinx')
+_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
+source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}
+$_source_base/llvm-$pkgver.src.tar.xz{,.sig}
+support-linking-ScopPassManager-against-LLVM-dylib.patch)
+sha256sums=('dcfadb8d11f2ea0743a3f19bab3b43ee1cb855e136bc81c76e2353cd76148440'
+'SKIP'
+'913f68c898dfb4a03b397c5e11c6a2f39d0f22ed7665c9cefa87a34423a72469'
+'SKIP'
+'ce3c528eabef1ef3a4c3ca69a527b98b4f2e924069f24e68ced5462c95263ba6')
+validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg 

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

+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver.src"
+  mkdir build
+
+  # https://reviews.llvm.org/D85281
+  patch -Np2 -i ../support-linking-ScopPassManager-against-LLVM-dylib.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver.src/build"
+
+  cmake .. -G Ninja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DLLVM_LINK_LLVM_DYLIB=ON \
+-DLLVM_BUILD_TESTS=ON \
+-DLLVM_BUILD_DOCS=ON \
+-DLLVM_ENABLE_SPHINX=ON \
+-DSPHINX_WARNINGS_AS_ERRORS=OFF \
+-DLLVM_EXTERNAL_LIT=/usr/bin/lit \
+-DLLVM_BUILD_MAIN_SRC_DIR="$srcdir/llvm-$pkgver.src"
+  ninja
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver.src/build"
+  ninja check-polly
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver.src/build"
+
+  DESTDIR="$pkgdir" ninja install
+  install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove documentation sources
+  rm -r "$pkgdir"/usr/share/doc/$pkgname/html/{_sources,.buildinfo}
+}
+
+# vim:set ts=2 sw=2 et:

Added: polly/trunk/support-linking-ScopPassManager-against-LLVM-dylib.patch
===
--- polly/trunk/support-linking-ScopPassManager-against-LLVM-dylib.patch
(rev 0)
+++ polly/trunk/support-linking-ScopPassManager-against-LLVM-dylib.patch
2020-10-12 23:41:34 UTC (rev 398095)
@@ -0,0 +1,28 @@
+From 96b02808afa7eb043b9968b07424cc96bc8d94a6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Wed, 5 Aug 2020 10:22:32 +0200
+Subject: [PATCH] [Polly] Support linking ScopPassManager against LLVM dylib
+
+Link ScopPassManager to LLVM dylib target if LLVM_LINK_LLVM_DYLIB
+is enabled.  This fixes build failures on systems where static LLVM
+libraries are not installed.
+
+Differential Revision: https://reviews.llvm.org/D85281
+---
+ polly/unittests/ScopPassManager/CMakeLists.txt | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/polly/unittests/ScopPassManager/CMakeLists.txt 
b/polly/unittests/ScopPassManager/CMakeLists.txt
+index ed3bbd6dcef..88300144af3 100644
+--- a/polly/unittests/ScopPassManager/CMakeLists.txt
 b/polly/unittests/ScopPassManager/CMakeLists.txt
+@@ -1,5 +1,7 @@
+-llvm_map_components_to_libnames(llvm_libs Passes Core Analysis)
+ add_polly_unittest(ScopPassManagerTests
+   PassManagerTest.cpp
+   )
+-target_link_libraries(ScopPassManagerTests PRIVATE ${llvm_libs})
++if (NOT LLVM_LINK_LLVM_DYLIB)
++  llvm_map_components_to_libnames(llvm_libs Passes Core Analysis)
++  target_link_libraries(ScopPassManagerTests PRIVATE ${llvm_libs})
++endif()


[arch-commits] Commit in (5 files)

2020-10-12 Thread Felix Yan via arch-commits
Date: Monday, October 12, 2020 @ 11:01:56
  Author: felixonmars
Revision: 723597

addpkg: feeluown 3.5.3-1

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

--+
 PKGBUILD |   30 ++
 feeluown.desktop |   10 ++
 2 files changed, 40 insertions(+)

Added: feeluown/trunk/PKGBUILD
===
--- feeluown/trunk/PKGBUILD (rev 0)
+++ feeluown/trunk/PKGBUILD 2020-10-12 11:01:56 UTC (rev 723597)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan 
+# Contributor: Bruce Zhang 
+
+pkgname=feeluown
+pkgver=3.5.3
+pkgrel=1
+pkgdesc="FeelUOwn Music Player"
+arch=('any')
+url="https://github.com/cosven/FeelUOwn;
+license=('GPL3')
+depends=('python-qasync' 'python-pyqt5' 'mpv' 'python-opengl' 'python-janus' 
'python-requests')
+makedepends=('python-setuptools' 'python-pip')
+optdepends=('feeluown-local' 'feeluown-netease' 'feeluown-kuwo' 
'feeluown-xiami' 'feeluown-qqmusic')
+groups=('feeluown-full')
+source=("https://pypi.io/packages/source/f/feeluown/feeluown-$pkgver.tar.gz;
+"feeluown.desktop")
+sha256sums=('b06d3ee831e3accef9a52fa3e9ac100b6c63fe76caa58f5f3de53356823757f7'
+'f093cccd74e29115782b30fcda28fb0c3b935091673b50882b332c934ed56065')
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -D -m644 "$srcdir/$pkgname-$pkgver/feeluown/feeluown.png" 
"$pkgdir/usr/share/icons/hicolor/512x512/apps/feeluown.png"
+  install -D -m644 "$srcdir/feeluown.desktop" 
"$pkgdir/usr/share/applications/FeelUOwn.desktop"
+}


Property changes on: feeluown/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: feeluown/trunk/feeluown.desktop
===
--- feeluown/trunk/feeluown.desktop (rev 0)
+++ feeluown/trunk/feeluown.desktop 2020-10-12 11:01:56 UTC (rev 723597)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=FeelUOwn
+Comment=FeelUOwn Launcher
+Exec=feeluown --log-to-file
+Icon=feeluown
+Categories=AudioVideo;Audio;Player;Qt;
+Terminal=false
+StartupNotify=true
+StartupWMClass=FeelUOwn


[arch-commits] Commit in (5 files)

2020-10-11 Thread Jaroslav Lichtblau via arch-commits
Date: Sunday, October 11, 2020 @ 21:15:07
  Author: jlichtblau
Revision: 723558

man-pages-l10n
- new umbrella project for man pages translation

Added:
  man-pages-l10n/
  man-pages-l10n/repos/
  man-pages-l10n/trunk/
  man-pages-l10n/trunk/PKGBUILD
  man-pages-l10n/trunk/man-pages-l10n.changelog

--+
 PKGBUILD |   86 +++
 man-pages-l10n.changelog |   97 +
 2 files changed, 183 insertions(+)

Added: man-pages-l10n/trunk/PKGBUILD
===
--- man-pages-l10n/trunk/PKGBUILD   (rev 0)
+++ man-pages-l10n/trunk/PKGBUILD   2020-10-11 21:15:07 UTC (rev 723558)
@@ -0,0 +1,86 @@
+# Maintainer: Jaroslav Lichtblau 
+
+pkgbase=man-pages-l10n
+pkgname=('man-pages-de'
+ 'man-pages-fr'
+ 'man-pages-nl'
+ 'man-pages-pl'
+ 'man-pages-pt_br'
+ 'man-pages-ro')
+pkgver=4.1.0
+pkgrel=1
+pkgdesc="Translation of man pages"
+arch=('any')
+url="https://salsa.debian.org/manpages-l10n-team/manpages-l10n;
+license=('GPL3')
+depends=('man-db')
+makedepends=('po4a')
+changelog=$pkgbase.changelog
+options=('!emptydirs')
+source=(https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/v$pkgver/manpages-l10n-v$pkgver.tar.bz2)
+sha256sums=('9499da4dfc01d1ade26e28902c8db20b67eb90fe73adb7f00e16b9cfa660ca4e')
+
+build() {
+  cd "${srcdir}"/manpages-l10n-v$pkgver
+  ./configure --prefix=/usr --enable-distribution=archlinux
+
+  for _lang in de fr nl pl pt_BR ro; do
+make -C po/"${_lang}"
+  done
+}
+
+check() {
+  cd "${srcdir}"/manpages-l10n-v$pkgver
+
+  for _lang in de fr nl pl pt_BR ro; do
+make check -k -C po/"${_lang}"
+  done
+}
+
+package_man-pages-de() {
+  pkgdesc="German man pages"
+  depends=('man-db')
+
+  cd "${srcdir}"/manpages-l10n-v$pkgver/po/de
+  make DESTDIR="${pkgdir}" install
+}
+
+package_man-pages-fr() {
+  pkgdesc="French man pages"
+  depends=('man-db')
+
+  cd "${srcdir}"/manpages-l10n-v$pkgver/po/fr
+  make DESTDIR="${pkgdir}" install
+}
+
+package_man-pages-nl() {
+  pkgdesc="Dutch man pages"
+  depends=('man-db')
+
+  cd "${srcdir}"/manpages-l10n-v$pkgver/po/nl
+  make DESTDIR="${pkgdir}" install
+}
+
+package_man-pages-pl() {
+  pkgdesc="Polish man pages"
+  depends=('man-db')
+
+  cd "${srcdir}"/manpages-l10n-v$pkgver/po/pl
+  make DESTDIR="${pkgdir}" install
+}
+
+package_man-pages-pt_br() {
+  pkgdesc="Brazilian Portuguese man pages"
+  depends=('man-db')
+
+  cd "${srcdir}"/manpages-l10n-v$pkgver/po/pt_BR
+  make DESTDIR="${pkgdir}" install
+}
+
+package_man-pages-ro() {
+  pkgdesc="Romanian man pages"
+  depends=('man-db')
+
+  cd "${srcdir}"/manpages-l10n-v$pkgver/po/ro
+  make DESTDIR="${pkgdir}" install
+}

Added: man-pages-l10n/trunk/man-pages-l10n.changelog
===
--- man-pages-l10n/trunk/man-pages-l10n.changelog   
(rev 0)
+++ man-pages-l10n/trunk/man-pages-l10n.changelog   2020-10-11 21:15:07 UTC 
(rev 723558)
@@ -0,0 +1,97 @@
+2020-10-11 Jaroslav Lichtblau 
+   * man-pages-l10n 4.1.0-1
+   * separating all supported languages into split packages
+
+2020-03-19 Jaroslav Lichtblau 
+   * man-pages-de 2.16-2 FS#65878 fix
+
+2019-11-17 Jaroslav Lichtblau 
+   * man-pages-de 2.16-1
+
+2019-09-08 Jaroslav Lichtblau 
+   * man-pages-de 2.15-1
+
+2019-09-08 Jaroslav Lichtblau 
+   * man-pages-de 2.15-1
+
+2019-07-09 Jaroslav Lichtblau 
+   * man-pages-de 2.14-1
+
+2019-05-19 Jaroslav Lichtblau 
+   * man-pages-de 2.13-1
+
+2019-03-04 Jaroslav Lichtblau 
+   * man-pages-de 2.12-1
+
+2019-02-06 Jaroslav Lichtblau 
+   * man-pages-de 2.11-1
+
+2019-01-13 Jaroslav Lichtblau 
+   * man-pages-de 2.10-1
+   * FS#60957
+
+2018-10-21 Jaroslav Lichtblau 
+   * man-pages-de 2.9-1
+
+2018-08-08 Jaroslav Lichtblau 
+   * man-pages-de 2.6-1
+
+2018-08-02 Baptiste Jonglez 
+   * man-pages-de 2.3-2 : upstream has moved
+
+2017-12-16 Jaroslav Lichtblau 
+   * man-pages-de 2.3-1
+
+2017-10-22 Jaroslav Lichtblau 
+   * man-pages-de 2.2-1
+
+2017-10-21 Jaroslav Lichtblau 
+   * man-pages-de 2.1-1
+
+2017-08-28 Jaroslav Lichtblau 
+   * man-pages-de 2.0-1
+
+2017-03-21 Jaroslav Lichtblau 
+   * man-pages-de 1.22-1
+
+2017-01-23 Jaroslav Lichtblau 
+   * man-pages-de 1.21-1
+
+2017-01-22 Jaroslav Lichtblau 
+   * man-pages-de 1.19-1
+
+2016-12-18 Jaroslav Lichtblau 
+   * man-pages-de 1.18-1
+
+2016-11-21 Jaroslav Lichtblau 
+   * man-pages-de 1.17-1
+
+2016-10-22 Jaroslav Lichtblau 
+   * man-pages-de 1.16-1
+
+2016-04-30 Jaroslav Lichtblau 
+   * man-pages-de 1.12-1
+
+2015-05-17 Jaroslav Lichtblau 
+   * man-pages-de 1.8-1
+
+2013-12-25 Jaroslav Lichtblau 
+   * man-pages-de 1.4-1
+
+2013-05-18 Jaroslav Lichtblau 
+   * man-pages-de 1.1-1
+
+2011-11-20 

[arch-commits] Commit in (5 files)

2020-10-07 Thread Jelle van der Waa via arch-commits
Date: Wednesday, October 7, 2020 @ 20:58:19
  Author: jelle
Revision: 720997

extra2community: Moving x11vnc from extra to community

Added:
  x11vnc/
  x11vnc/repos/
  x11vnc/trunk/
  x11vnc/trunk/PKGBUILD
  x11vnc/trunk/service

--+
 PKGBUILD |   44 
 service  |7 +++
 2 files changed, 51 insertions(+)

Added: x11vnc/trunk/PKGBUILD
===
--- x11vnc/trunk/PKGBUILD   (rev 0)
+++ x11vnc/trunk/PKGBUILD   2020-10-07 20:58:19 UTC (rev 720997)
@@ -0,0 +1,44 @@
+# Maintainer: Gaetan Bisson 
+# Contributor: damir 
+
+pkgname=x11vnc
+epoch=1
+pkgver=0.9.16
+pkgrel=3
+pkgdesc='VNC server for real X displays'
+url='https://github.com/LibVNC/x11vnc'
+arch=('x86_64')
+license=('GPL2')
+optdepends=('tk: GUI support'
+'net-tools: -auth guess'
+'xf86-video-dummy: Xdummy script')
+depends=('libvncserver' 'openssl' 'libjpeg' 'libxtst' 'libxinerama'
+ 'libxdamage' 'libxrandr' 'avahi' 'xorg-xdpyinfo')
+source=("https://github.com/LibVNC/x11vnc/archive/${pkgver}.tar.gz;
+
"$pkgname-xfc-null-ptr.patch::https://github.com/LibVNC/x11vnc/commit/95a10ab64c2d.patch;
+
"$pkgname-gcc10.patch::https://github.com/LibVNC/x11vnc/commit/a48b0b1cd887.patch;
+'service')
+sha256sums=('885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba39bd32bd'
+'eaa4678185dee4e2df6db8c74b5f5159ca982050825093362a7be79b4552ebf8'
+'9358217c23e586cb34d98564e5031dd58bf43e621d23435629d2105c901d0aa8'
+'cfb19d44e09e960e2fdb958c9258bccf23c2677715314985f7e819f1dcedb6e4')
+
+prepare() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   patch -p1 -i ../$pkgname-xfc-null-ptr.patch # FS#65851
+   patch -p1 -i ../$pkgname-gcc10.patch
+   autoreconf --force --install
+}
+
+build() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   ./configure --prefix=/usr --mandir=/usr/share/man
+   make
+}
+
+package() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   make DESTDIR="${pkgdir}" install
+   install misc/{rx11vnc,Xdummy} "${pkgdir}"/usr/bin
+   install -Dm644 ../service 
"${pkgdir}/usr/lib/systemd/system/x11vnc.service"
+}

Added: x11vnc/trunk/service
===
--- x11vnc/trunk/service(rev 0)
+++ x11vnc/trunk/service2020-10-07 20:58:19 UTC (rev 720997)
@@ -0,0 +1,7 @@
+[Unit]
+Description=VNC Server for X11
+Requires=graphical.target
+After=graphical.target
+
+[Service]
+ExecStart=/usr/bin/x11vnc


[arch-commits] Commit in (5 files)

2020-10-07 Thread Alexander Rødseth via arch-commits
Date: Wednesday, October 7, 2020 @ 09:28:33
  Author: arodseth
Revision: 720240

Add python-pivy, required by FreeCAD

Added:
  python-pivy/
  python-pivy/repos/
  python-pivy/repos/community-any/
  python-pivy/trunk/
  python-pivy/trunk/PKGBUILD

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

Added: python-pivy/trunk/PKGBUILD
===
--- python-pivy/trunk/PKGBUILD  (rev 0)
+++ python-pivy/trunk/PKGBUILD  2020-10-07 09:28:33 UTC (rev 720240)
@@ -0,0 +1,20 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Grey Christoforo
+
+pkgname=python-pivy
+pkgver=0.6.5
+pkgrel=1
+pkgdesc='Bindings to Coin3D'
+arch=(x86_64)
+license=(BSD)
+url='https://github.com/coin3d/pivy'
+depends=(python soqt)
+makedepends=(cmake git glu python-setuptools swig)
+source=("git+$url#commit=cde1297b0e0da2b93d261c9ec24b8ece7d167c91") # tag: 
0.6.5
+sha256sums=(SKIP)
+
+package() {
+  cd pivy
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in (5 files)

2020-10-07 Thread Alexander Rødseth via arch-commits
Date: Wednesday, October 7, 2020 @ 08:13:47
  Author: arodseth
Revision: 720196

Add soqt, needed by FreeCAD

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

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

Added: soqt/trunk/PKGBUILD
===
--- soqt/trunk/PKGBUILD (rev 0)
+++ soqt/trunk/PKGBUILD 2020-10-07 08:13:47 UTC (rev 720196)
@@ -0,0 +1,56 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Gabriel Souza Franco
+# Contributor: Florian Pritz
+# Contributor: Christian Hesse 
+# Contributor: Thomas Dziedzic 
+# Contributor: Mickele
+# Contributor: Marcus Fritzsch 
+
+pkgname=soqt
+pkgver=1.6.0
+pkgrel=1
+pkgdesc='The glue between Coin and Qt'
+arch=(x86_64)
+url='https://github.com/coin3d/soqt'
+license=(GPL)
+depends=(coin qt5-base)
+makedepends=(cmake git ninja doxygen)
+# 75d4... is tag SoQt-1.6.0
+# 3ff6... is tag soanydata-1_1_0
+# a006... is tag soxt-1_4_0
+source=("git+$url#commit=75d47669ae20f25ea4cd583c9298680254bdcff3"
+
"git+${url/soqt/soanydata}#commit=3ff6e9203fbb0cc08a2bdf209212b7ef4d78a1f2"
+
"git+${url/soqt/sogui}#commit=100612bf4016916dd686e2b6fecf8ac23d3db14d")
+sha256sums=('SKIP'
+'SKIP'
+'SKIP')
+
+prepare() {
+  # Set up links to the support repos
+  # (these are git submodules in what will be the next release)
+  ln -s "$srcdir/soanydata" soqt/data
+  ln -s "$srcdir/sogui" soqt/src/Inventor/Qt/common
+
+  # Skip cpack
+  mkdir -p soqt/cpack.d
+  touch soqt/cpack.d/CMakeLists.txt
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../soqt \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DSOQT_BUILD_DOC_MAN=ON \
+-DSOQT_BUILD_DOC_CHM=OFF \
+-G Ninja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+
+  # Skip the HTML documentation
+  rm -rf "$pkgdir/usr/share/doc"
+}


[arch-commits] Commit in (5 files)

2020-10-06 Thread Alexander Rødseth via arch-commits
Date: Tuesday, October 6, 2020 @ 20:52:43
  Author: arodseth
Revision: 719542

Add coin, needed by FreeCAD

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

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

Added: coin/trunk/PKGBUILD
===
--- coin/trunk/PKGBUILD (rev 0)
+++ coin/trunk/PKGBUILD 2020-10-06 20:52:43 UTC (rev 719542)
@@ -0,0 +1,58 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Gabriel Souza Franco
+# Contributor: Florian Pritz
+# Contributor: Christian Hesse 
+# Contributor: Thomas Dziedzic 
+# Contributor: Mickele
+# Contributor: Marcus Fritzsch 
+
+pkgname=coin
+pkgver=4.0.0
+pkgrel=1
+pkgdesc='3D graphics library compatible with Open Inventor'
+url='https://github.com/coin3d/coin'
+license=(GPL)
+arch=(x86_64)
+depends=(libgl)
+makedepends=(boost cmake doxygen ninja git glu)
+optdepends=('fontconfig: dynamic linking support'
+'freetype2: dynamic linking support'
+'openal: audio/dynamic linking support'
+'zlib: dynamic linking support')
+source=("git+$url#commit=acbf0d422dbccdd80caeb68aec4060efb916f9e0") # tag: 
Coin-4.0.0
+sha256sums=('SKIP')
+
+prepare() {
+  # This will not be needed for the next release
+  mkdir -p coin/cpack.d
+  touch coin/cpack.d/CMakeLists.txt
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../coin \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DCOIN_THREADSAFE=ON \
+-DCOIN_BUILD_DOCUMENTATION=ON \
+-DCOIN_BUILD_DOCUMENTATION_CHM=OFF \
+-DCOIN_BUILD_DOCUMENTATION_MAN=ON \
+-DUSE_EXTERNAL_EXPAT=ON \
+-DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
+-DCMAKE_CXX_FLAGS="$CXXFLAGS -fPIC -w" \
+-GNinja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  # Skip the HTML documentation
+  rm -rf "$pkgdir/usr/share/doc"
+  # Rename some man pages
+  for f in threads errors events; do
+mv -v "$pkgdir/usr/share/man/man3/$f.3" 
"$pkgdir/usr/share/man/man3/coin-$f.3"
+  done
+  # Remove an empty directory
+  rmdir "$pkgdir/usr/share/Coin/profiler"
+}


[arch-commits] Commit in (5 files)

2020-10-01 Thread Maxim Baz via arch-commits
Date: Thursday, October 1, 2020 @ 20:52:15
  Author: maximbaz
Revision: 714290

curlie: new pkg

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

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

Added: curlie/trunk/PKGBUILD
===
--- curlie/trunk/PKGBUILD   (rev 0)
+++ curlie/trunk/PKGBUILD   2020-10-01 20:52:15 UTC (rev 714290)
@@ -0,0 +1,30 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Jianfeng Zhang 
+
+pkgname=curlie
+pkgver=1.5.4
+pkgrel=2
+pkgdesc='The power of curl, the ease of use of httpie.'
+arch=('x86_64')
+url="https://curlie.io;
+license=('MIT')
+depends=('glibc' 'curl')
+makedepends=('go')
+source=("https://github.com/rs/${pkgname}/archive/v${pkgver}.tar.gz;)
+sha256sums=('6a8ea001733d337214fbea3031efb651b96838d1db7a0d6b0ce9aa8bb8138c1e')
+
+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"
+go build
+}
+
+package() {
+cd "${pkgname}-${pkgver}"
+install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
+install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
+}


[arch-commits] Commit in (5 files)

2020-09-29 Thread Alexander Rødseth via arch-commits
Date: Tuesday, September 29, 2020 @ 09:01:02
  Author: arodseth
Revision: 713706

Add CTWM (now the official WM for NetBSD)

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

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

Added: ctwm/trunk/PKGBUILD
===
--- ctwm/trunk/PKGBUILD (rev 0)
+++ ctwm/trunk/PKGBUILD 2020-09-29 09:01:02 UTC (rev 713706)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander F. Rødseth 
+pkgname=ctwm
+pkgver=4.0.3
+pkgrel=1
+pkgdesc="Claude's Tab Window Manager for the X Window System"
+arch=(x86_64)
+url='https://ctwm.org/'
+license=('custom:MIT' 'custom:X')
+depends=(libjpeg-turbo libxmu libxpm)
+makedepends=(cmake ctags doxygen gendesk graphviz ninja)
+source=("https://ctwm.org/dist/$pkgname-$pkgver.tar.xz;)
+sha256sums=('2e4b475a0168cb799723fd693b359e188179e51ce476ab453689db8fcdfc800c')
+
+prepare() {
+  gendesk -f -n --pkgname $pkgname --pkgdesc "$pkgdesc" --name CTWM
+  gendesk -f -n -wm --pkgname ${pkgname}_kdm --exec $pkgname --name CTWM
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake "$srcdir/$pkgname-$pkgver" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
+-G Ninja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm644 $pkgname.desktop \
+"$pkgdir"/usr/share/xsessions/$pkgname.desktop
+  install -Dm644 ${pkgname}_kdm.desktop \
+"$pkgdir"/usr/share/apps/kdm/sessions/$pkgname.desktop
+  install -Dm644 "$pkgname-$pkgver/COPYRIGHT" \
+"$pkgdir/usr/share/licenses/ctwm/COPYRIGHT"
+}


[arch-commits] Commit in (5 files)

2020-09-26 Thread Jan Steffens via arch-commits
Date: Saturday, September 26, 2020 @ 20:33:39
  Author: heftig
Revision: 396614

community2extra: Moving libhandy from community to extra

Added:
  libhandy/
  libhandy/repos/
  libhandy/trunk/
  libhandy/trunk/PKGBUILD
  libhandy/trunk/PKGBUILD.next

---+
 PKGBUILD  |   48 
 PKGBUILD.next |   44 
 2 files changed, 92 insertions(+)

Added: libhandy/trunk/PKGBUILD
===
--- libhandy/trunk/PKGBUILD (rev 0)
+++ libhandy/trunk/PKGBUILD 2020-09-26 20:33:39 UTC (rev 396614)
@@ -0,0 +1,48 @@
+# Maintainer: Balló György 
+
+pkgname=libhandy
+pkgver=0.0.13
+pkgrel=2
+pkgdesc="Library full of GTK+ widgets for mobile phones"
+arch=(x86_64)
+url="https://source.puri.sm/Librem5/libhandy;
+license=(LGPL2.1)
+depends=(glib2 gtk3)
+makedepends=(git glade gobject-introspection meson vala)
+checkdepends=(xorg-server-xvfb)
+provides=(libhandy-0.0.so)
+_commit=7a193d7692c9c76a1a94f17c4d30b585f77d177c  # tags/v0.0.13^0
+source=("git+https://source.puri.sm/Librem5/libhandy.git#commit=$_commit;)
+sha256sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+
+  # Fix build with glade 3.36.0
+  sed -e 's/GPC_OBJECT_DELIMITER/GLADE_PROPERTY_DEF_OBJECT_DELIMITER/g' \
+  -i glade/glade-*.c
+}
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+  arch-meson $pkgname build \
+-D gtk_doc=true \
+-D examples=false
+  meson compile -C build
+}
+
+check() {
+  dbus-run-session xvfb-run \
+-s '-screen 0 1920x1080x24 -nolisten local' \
+meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:

Added: libhandy/trunk/PKGBUILD.next
===
--- libhandy/trunk/PKGBUILD.next(rev 0)
+++ libhandy/trunk/PKGBUILD.next2020-09-26 20:33:39 UTC (rev 396614)
@@ -0,0 +1,44 @@
+# Maintainer: Balló György 
+
+pkgname=libhandy
+pkgver=0.80.0
+pkgrel=1
+pkgdesc="Library full of GTK+ widgets for mobile phones"
+arch=(x86_64)
+url="https://source.puri.sm/Librem5/libhandy;
+license=(LGPL2.1)
+depends=(glib2 gtk3)
+makedepends=(git glade gobject-introspection meson vala)
+checkdepends=(xorg-server-xvfb)
+provides=(libhandy-1.so)
+_commit=b61eefde06040703026f49a0b979588e69f77d3a  # tags/v0.80.0^0
+source=("git+https://source.puri.sm/Librem5/libhandy.git#commit=$_commit;)
+sha256sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+}
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+  arch-meson $pkgname build \
+-D gtk_doc=true \
+-D examples=false
+  meson compile -C build
+}
+
+check() {
+  dbus-run-session xvfb-run \
+-s '-screen 0 1920x1080x24 -nolisten local' \
+meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:


[arch-commits] Commit in (5 files)

2020-09-23 Thread David Runge via arch-commits
Date: Wednesday, September 23, 2020 @ 22:07:39
  Author: dvzrv
Revision: 711610

Add libupnp1.12 for a few packages that can not be built against libupnp 1.14.0.

Added:
  libupnp1.12/
  libupnp1.12/repos/
  libupnp1.12/trunk/
  libupnp1.12/trunk/PKGBUILD
  libupnp1.12/trunk/libupnp1.12-build.patch

-+
 PKGBUILD|   50 
 libupnp1.12-build.patch |  261 ++
 2 files changed, 311 insertions(+)

Added: libupnp1.12/trunk/PKGBUILD
===
--- libupnp1.12/trunk/PKGBUILD  (rev 0)
+++ libupnp1.12/trunk/PKGBUILD  2020-09-23 22:07:39 UTC (rev 711610)
@@ -0,0 +1,50 @@
+# Maintainer: Levente Polyak 
+# Contributor: Giovanni Scafora 
+# Contributor: kastor 
+
+_name=pupnp
+pkgname=libupnp1.12
+pkgver=1.12.1
+pkgrel=1
+pkgdesc='Portable Open Source UPnP Development Kit (legacy 1.12 branch)'
+url='http://pupnp.sourceforge.net/'
+arch=('x86_64')
+license=('BSD')
+depends=('glibc')
+makedepends=('pkgconfig')
+provides=('libupnp-1.12.so' 'libixml-1.12.so')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_name}/${_name}/archive/release-${pkgver}.tar.gz;
+"${pkgname}-build.patch")
+sha512sums=('e4741f9245378529a15b8be7acec5af52d802ce84b82f110dab44c30da65fc2514d51d3bee6311643eb28146ea90bb3c97f44f800edb4f3c1681f3e70f80'
+
'c6af9af97e3ef54e45ecec5b4aac5a3819d5a73c36970ec19ba4cec4d3139782ae767ac02d49da3087c8976f6d1fc045e1bdba765c9a41be43c2e4292c0bcbd6')
+b2sums=('e44847dda5a7aeabb22a5b76cdc48d1dc69e70f7ecac85824199bf8d6e9b802cb717f2959f70690cc00babf1b554a0cb031995f80c28246b9eec670ebe7aaa90'
+
'c51cbf157aeb84b301e93f2757140a2878f13d1a55dea6390ef5bfc02c8e2ed178cf77c720ac73d180e134188d522a94b45e25b4113eca9974fe4a13c6f9f72f')
+
+prepare() {
+  mv -v ${_name}-release-${pkgver} ${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
+  # rename the shared libraries and include directories, so that they do not
+  # conflict with libupnp
+  patch -Np1 -i "../${pkgname}-build.patch"
+  autoreconf -fiv
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make -k check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 {ChangeLog,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Added: libupnp1.12/trunk/libupnp1.12-build.patch
===
--- libupnp1.12/trunk/libupnp1.12-build.patch   (rev 0)
+++ libupnp1.12/trunk/libupnp1.12-build.patch   2020-09-23 22:07:39 UTC (rev 
711610)
@@ -0,0 +1,261 @@
+diff -ruN a/Makefile.am b/Makefile.am
+--- a/Makefile.am  2020-04-07 18:45:40.0 +0200
 b/Makefile.am  2020-09-24 00:00:25.770875019 +0200
+@@ -14,7 +14,7 @@
+ 
+ EXTRA_DIST = \
+   docs/Doxyfile \
+-  libupnp.pc.in \
++  libupnp-1-12.pc.in \
+   libupnp.spec \
+   build/msvc/inttypes.h \
+   build/msvc/stdint.h
+@@ -23,7 +23,7 @@
+ # This variable must have 'exec' in its name, in order to be installed 
+ # by 'install-exec' target (instead of default 'install-data')
+ pkgconfigexecdir = $(libdir)/pkgconfig
+-pkgconfigexec_DATA = libupnp.pc
++pkgconfigexec_DATA = libupnp-1.12.pc
+ 
+ $(pkgconfigexec_DATA): config.status
+ 
+diff -ruN a/configure.ac b/configure.ac
+--- a/configure.ac 2020-04-07 18:45:40.0 +0200
 b/configure.ac 2020-09-23 23:59:15.547619119 +0200
+@@ -798,7 +798,7 @@
+   upnp/doc/Makefile
+   upnp/sample/Makefile
+   upnp/unittest/Makefile
+-  libupnp.pc
++  libupnp-1.12.pc
+   ])
+ 
+ AC_OUTPUT
+diff -ruN a/ixml/Makefile.am b/ixml/Makefile.am
+--- a/ixml/Makefile.am 2020-04-07 18:45:40.0 +0200
 b/ixml/Makefile.am 2020-09-24 00:02:32.304077027 +0200
+@@ -11,7 +11,7 @@
+   -I$(top_srcdir)/upnp/inc
+ AM_CFLAGS = 
+ 
+-LDADD = libixml.la
++LDADD = libixml-1.12.la
+ 
+ if ENABLE_DEBUG
+ AM_CPPFLAGS   += -DDEBUG
+@@ -23,12 +23,12 @@
+ AM_CPPFLAGS   += -DIXML_HAVE_SCRIPTSUPPORT
+ endif
+ 
+-lib_LTLIBRARIES   = libixml.la
++lib_LTLIBRARIES   = libixml-1.12.la
+ 
+-libixml_la_LDFLAGS= -version-info $(LT_VERSION_IXML) \
++libixml_1_12_la_LDFLAGS   = -version-info $(LT_VERSION_IXML) \
+ -export-symbols-regex '^ixml.*'
+ 
+-libixml_la_SOURCES= \
++libixml_1_12_la_SOURCES   = \
+   src/attr.c \
+   src/document.c \
+   src/element.c \
+@@ -42,7 +42,7 @@
+   src/node.c \
+   src/nodeList.c
+ 
+-upnpincludedir= $(includedir)/upnp
++upnpincludedir= 

[arch-commits] Commit in (5 files)

2020-09-23 Thread Levente Polyak via arch-commits
Date: Wednesday, September 23, 2020 @ 22:04:54
  Author: anthraxx
Revision: 711607

addpkg: sequoia 0.19.0

Added:
  sequoia/
  sequoia/repos/
  sequoia/trunk/
  sequoia/trunk/PKGBUILD
  sequoia/trunk/build.patch

-+
 PKGBUILD|   58 ++
 build.patch |   13 +
 2 files changed, 71 insertions(+)

Added: sequoia/trunk/PKGBUILD
===
--- sequoia/trunk/PKGBUILD  (rev 0)
+++ sequoia/trunk/PKGBUILD  2020-09-23 22:04:54 UTC (rev 711607)
@@ -0,0 +1,58 @@
+# Maintainer: Levente Polyak 
+# Contributor: Kai Michaelis 
+
+pkgbase=sequoia
+pkgname=(sequoia python-sequoia)
+pkgver=0.19.0
+pkgrel=1
+pkgdesc='Cool new OpenPGP implementation'
+url='https://sequoia-pgp.org/'
+arch=('x86_64')
+license=('GPL3')
+makedepends=('git' 'cargo' 'clang' 'python' 'python-setuptools' 'python-cffi'
+ 'glibc' 'nettle' 'sqlite' 'capnproto' 'openssl' 'gcc-libs' 'gmp')
+checkdepends=('python-pytest' 'python-pytest-runner')
+options=('!makeflags')
+source=(${pkgname}::"git+https://gitlab.com/sequoia-pgp/sequoia.git#tag=v${pkgver};
+build.patch)
+sha512sums=('SKIP'
+
'44c8f4af25b3a8c42939ea75e87fa90ac42499545b41c3dc6744debf318ecc6361f4aad2692663a0516b9f5a6e1d33435d82a7749cfd2c26c9baf94f5dcb6b09')
+
+prepare() {
+  cd ${pkgname}
+  sed 's/debug/release/g' -i -- */Makefile */*/Makefile */*/*/Makefile
+  sed "s/-L/${LDFLAGS},-L/g" -i ffi/lang/python/Makefile
+  patch -Np1 < ../build.patch
+}
+
+build() {
+  cd ${pkgname}
+  make PREFIX=/usr CARGO_FLAGS='--locked' build-release
+}
+
+check() {
+  cd ${pkgname}
+  cargo test --release --locked \
+--workspace \
+--exclude sequoia-store
+  # python tests currently fail horribly
+  # make -C ffi/lang/python test
+}
+
+package_sequoia() {
+  depends=('glibc' 'nettle' 'libhogweed.so' 'libnettle.so' 'sqlite' 'capnproto'
+   'openssl' 'gcc-libs' 'gmp')
+  cd ${pkgbase}
+  make DESTDIR="${pkgdir}" PREFIX=/usr CARGO_FLAGS='--locked' install
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  rm -rf "${pkgdir}/usr/lib/python"*
+}
+
+package_python-sequoia() {
+  depends=('python' 'python-cffi' 'sequoia')
+  pkgdesc+=' - python bindings'
+  cd ${pkgbase}
+  make -C ffi/lang/python DESTDIR="${pkgdir}" PREFIX=/usr install
+}
+
+# vim: ts=2 sw=2 et:

Added: sequoia/trunk/build.patch
===
--- sequoia/trunk/build.patch   (rev 0)
+++ sequoia/trunk/build.patch   2020-09-23 22:04:54 UTC (rev 711607)
@@ -0,0 +1,13 @@
+diff --git a/ffi/Makefile b/ffi/Makefile
+index 3dddfcd4..1feb7b53 100644
+--- a/ffi/Makefile
 b/ffi/Makefile
+@@ -62,7 +62,7 @@ build-release:
+   $(CARGO) build $(CARGO_FLAGS) --release --package sequoia-ffi
+   $(MAKE) -Clang/python build-release
+   $(call sequoia_pc,$(CARGO_TARGET_DIR)/release,true)
+-  $(MAKE) -C../store install
++  $(MAKE) -C../store build-release
+ 
+ .PHONY: install
+ install: build-release


[arch-commits] Commit in (5 files)

2020-09-16 Thread Jonas Witschel via arch-commits
Date: Wednesday, September 16, 2020 @ 12:59:52
  Author: diabonas
Revision: 707434

Add package gnupg-pkcs11-scd

Added:
  gnupg-pkcs11-scd/
  gnupg-pkcs11-scd/repos/
  gnupg-pkcs11-scd/trunk/
  gnupg-pkcs11-scd/trunk/PKGBUILD
  gnupg-pkcs11-scd/trunk/gnupg-pkcs11-scd.sysusers.conf

+
 PKGBUILD   |   29 +
 gnupg-pkcs11-scd.sysusers.conf |2 ++
 2 files changed, 31 insertions(+)

Added: gnupg-pkcs11-scd/trunk/PKGBUILD
===
--- gnupg-pkcs11-scd/trunk/PKGBUILD (rev 0)
+++ gnupg-pkcs11-scd/trunk/PKGBUILD 2020-09-16 12:59:52 UTC (rev 707434)
@@ -0,0 +1,29 @@
+# Maintainer: Jonas Witschel 
+pkgname=gnupg-pkcs11-scd
+pkgver=0.9.2
+pkgrel=2
+pkgdesc='Smart-card daemon to enable the use of PKCS#11 tokens with GnuPG'
+arch=('x86_64')
+url='http://gnupg-pkcs11.sourceforge.net/'
+license=('BSD')
+depends=('libassuan' 'libgcrypt' 'libgpg-error' 'openssl' 'pkcs11-helper')
+source=("https://github.com/alonbl/$pkgname/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2;
+'gnupg-pkcs11-scd.sysusers.conf')
+sha512sums=('6afb9f0c50976636df611a0204edb0ec75aa194ba332314e3c2d7228ecf798e5f79923202f8f189b1e4aefa236a46165a5e3f0e0d98320dc4fac2bd9ac38249e'
+
'e150462b8aa12f2bd30f17245f9a2ac8880029641a5a74ef3d9a7bc0618845898af4804b987e78f52a5925e346c05539fb3476fe4b64abbd86fa8ceb9271fdda')
+
+build() {
+   cd "$pkgname-$pkgver"
+   ./configure --prefix=/usr --enable-proxy 
--with-proxy-socket=/run/gnupg-pkcs11-scd-proxy/cmd \
+   --with-proxy-user=gnupg-pkcs11-scd-proxy 
--with-proxy-user-group=gnupg-pkcs11-scd-proxy \
+   --with-proxy-group=gnupg-pkcs11
+   make
+}
+
+package() {
+   cd "$pkgname-$pkgver"
+   make DESTDIR="$pkgdir" install
+   install -Dm644 "gnupg-pkcs11-scd-proxy/gnupg-pkcs11-scd-proxy.service" 
-t "$pkgdir/usr/lib/systemd/system"
+   install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
+   install -Dm644 "$srcdir/gnupg-pkcs11-scd.sysusers.conf" 
"$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+}

Added: gnupg-pkcs11-scd/trunk/gnupg-pkcs11-scd.sysusers.conf
===
--- gnupg-pkcs11-scd/trunk/gnupg-pkcs11-scd.sysusers.conf   
(rev 0)
+++ gnupg-pkcs11-scd/trunk/gnupg-pkcs11-scd.sysusers.conf   2020-09-16 
12:59:52 UTC (rev 707434)
@@ -0,0 +1,2 @@
+u gnupg-pkcs11-scd-proxy - "gnupg-pkcs11-scd-proxy-server"
+g gnupg-pkcs11


[arch-commits] Commit in (5 files)

2020-09-16 Thread Alexander Rødseth via arch-commits
Date: Wednesday, September 16, 2020 @ 12:31:19
  Author: arodseth
Revision: 707428

Add cgasm, a useful utility for helping out when programming in Assembly

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

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

Added: cgasm/trunk/PKGBUILD
===
--- cgasm/trunk/PKGBUILD(rev 0)
+++ cgasm/trunk/PKGBUILD2020-09-16 12:31:19 UTC (rev 707428)
@@ -0,0 +1,24 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: l0gic
+# Contributor: 0xAA <0...@dmg.sx>
+
+pkgname=cgasm
+pkgver=0.0.0
+pkgrel=1
+pkgdesc='x86 Assembly documentation in the form of a CLI tool'
+arch=(x86_64)
+url='https://github.com/bnagy/cgasm'
+license=(GPL2)
+makedepends=(git go)
+source=("git+$url#commit=6c54b38020a075e700343335fe44c45f16e22f3c")
+sha256sums=('SKIP')
+
+build() {
+  cd "$pkgname"
+  export CGO_CPPF
+  go build -v -trimpath -buildmode=pie -ldflags="-s -w -linkmode external 
-extldflags \"$LDFLAGS\""
+}
+
+package() {
+  install -D -m755 $pkgname/cgasm "$pkgdir/usr/bin/cgasm"
+}


[arch-commits] Commit in (5 files)

2020-08-16 Thread Alexander Rødseth via arch-commits
Date: Sunday, August 16, 2020 @ 22:29:40
  Author: arodseth
Revision: 681965

New package

Added:
  fuse-zip/
  fuse-zip/repos/
  fuse-zip/repos/community-x86_64/
  fuse-zip/trunk/
  fuse-zip/trunk/PKGBUILD

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

Added: fuse-zip/trunk/PKGBUILD
===
--- fuse-zip/trunk/PKGBUILD (rev 0)
+++ fuse-zip/trunk/PKGBUILD 2020-08-16 22:29:40 UTC (rev 681965)
@@ -0,0 +1,29 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Benjamin Auder 
+
+pkgname=fuse-zip
+pkgver=0.7.1
+pkgrel=1
+pkgdesc='Mount and modify zip files'
+arch=(x86_64)
+url='https://bitbucket.org/agalanin/fuse-zip'
+license=(GPL)
+depends=(fuse libzip)
+makedepends=(setconf)
+source=("https://bitbucket.org/agalanin/fuse-zip/downloads/$pkgname-$pkgver.tar.gz;)
+sha256sums=('7dac61c3f27f9041545ab1a22bb772ea282ed2dea25a0220dcecfa6801b5b121')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  setconf Makefile prefix /usr
+  setconf Makefile RELEASE_CXXFLAGS '-O3 -w'
+}
+
+build() {
+  make -C "$pkgname-$pkgver" release
+}
+
+package() {
+  install -d "$pkgdir/usr/"{bin,share/man/man1}
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in (5 files)

2020-07-31 Thread Balló György via arch-commits
Date: Friday, July 31, 2020 @ 16:20:13
  Author: bgyorgy
Revision: 666258

Move scenarist from AUR

Added:
  scenarist/
  scenarist/trunk/
  scenarist/trunk/PKGBUILD
  scenarist/trunk/scenarist.appdata.xml
  scenarist/trunk/scenarist.mime.xml

---+
 PKGBUILD  |   53 
 scenarist.appdata.xml |   19 +
 scenarist.mime.xml|7 ++
 3 files changed, 79 insertions(+)

Added: scenarist/trunk/PKGBUILD
===
--- scenarist/trunk/PKGBUILD(rev 0)
+++ scenarist/trunk/PKGBUILD2020-07-31 16:20:13 UTC (rev 666258)
@@ -0,0 +1,53 @@
+# Maintainer: Balló György 
+# Contributor: cyrant 
+
+pkgname=scenarist
+pkgver=0.7.2.rc9i
+pkgrel=1
+pkgdesc='Screenwriting software to create screenplays which oriented at 
international standards in the field of film production'
+arch=(x86_64)
+url='https://kitscenarist.ru/en/'
+license=(GPL3)
+depends=(hunspell qt5-multimedia qt5-svg qt5-webengine)
+makedepends=(git)
+_commit=acf1a9a8d1a264a67b98033ac8131a733e439ac6  # tags/0.7.2.rc9i
+source=(git+https://github.com/dimkanovikov/KITScenarist.git#commit=$_commit
+git+https://github.com/dimkanovikov/KITScenaristCore.git
+scenarist.mime.xml
+scenarist.appdata.xml)
+sha256sums=('SKIP'
+'SKIP'
+'513987794f8ba5a4c12aa2a65314fccdc098f86e616a416977aead29e6545b63'
+'ae04ebca48b01ef86d913f769ff856e259e7c3f13a75fc4e05cc15487460772b')
+
+pkgver() {
+  cd KITScenarist
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd KITScenarist
+  git submodule init
+  git submodule set-url src/bin/scenarist-core "$srcdir/KITScenaristCore"
+  git submodule update
+
+  # Use system hunspell
+  sed -i '/hunspell/d
+  s/LIBS += -lz/LIBS += -lhunspell -lz/' src/bin/scenarist-desktop.pro 
\
+ src/libs/libs.pro
+}
+
+build() {
+  cd KITScenarist/src
+  qmake
+  make
+}
+
+package() {
+  cd KITScenarist
+  install -Dm755 build/Release/bin/scenarist-desktop/Scenarist 
"$pkgdir/usr/bin/$pkgname"
+  install -Dm644 
build/Ubuntu/scenarist_amd64/usr/share/applications/$pkgname.desktop 
"$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 build/Ubuntu/scenarist_amd64/usr/share/pixmaps/$pkgname.png 
"$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png"
+  install -Dm644 ../$pkgname.mime.xml 
"$pkgdir/usr/share/mime/packages/$pkgname.xml"
+  install -Dm644 ../$pkgname.appdata.xml 
"$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+}

Added: scenarist/trunk/scenarist.appdata.xml
===
--- scenarist/trunk/scenarist.appdata.xml   (rev 0)
+++ scenarist/trunk/scenarist.appdata.xml   2020-07-31 16:20:13 UTC (rev 
666258)
@@ -0,0 +1,19 @@
+
+
+  ru.kitscenarist.Scenarist
+  scenarist.desktop
+  KIT Scenarist
+  Screenwriting software
+  CC0-1.0
+  GPL-3.0
+  
+KIT Scenarist is a program for creating screenplays which oriented at 
international standards in the field of film production. The program is a 
full-featured studio for creating stories from the birth of the idea and before 
the transfer of the script to production.
+  
+  
+
+  
https://kitscenarist.ru/assets/images/news/cards-filter.jpg
+
+  
+  https://github.com/dimkanovikov/KITScenarist/issues
+  https://kitscenarist.ru/en/
+

Added: scenarist/trunk/scenarist.mime.xml
===
--- scenarist/trunk/scenarist.mime.xml  (rev 0)
+++ scenarist/trunk/scenarist.mime.xml  2020-07-31 16:20:13 UTC (rev 666258)
@@ -0,0 +1,7 @@
+
+http://www.freedesktop.org/standards/shared-mime-info;>
+  
+KIT Scenarist Project
+
+  
+


[arch-commits] Commit in (5 files)

2020-07-27 Thread Felix Yan via arch-commits
Date: Monday, July 27, 2020 @ 12:30:26
  Author: felixonmars
Revision: 665443

addpkg: python-mocket 3.8.6-1 (for new python-geoip2)

Added:
  python-mocket/
  python-mocket/repos/
  python-mocket/trunk/
  python-mocket/trunk/PKGBUILD
  python-mocket/trunk/file-magic.patch

--+
 PKGBUILD |   42 ++
 file-magic.patch |   49 +
 2 files changed, 91 insertions(+)

Added: python-mocket/trunk/PKGBUILD
===
--- python-mocket/trunk/PKGBUILD(rev 0)
+++ python-mocket/trunk/PKGBUILD2020-07-27 12:30:26 UTC (rev 665443)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-mocket
+pkgver=3.8.6
+pkgrel=1
+pkgdesc="Socket Mock Framework - for all kinds of socket animals, web-clients 
included - with gevent/asyncio/SSL support"
+url="https://github.com/mindflayer/python-mocket;
+license=('BSD')
+arch=('any')
+depends=('python-decorator' 'python-magic' 'python-urllib3' 'python-six')
+makedepends=('python-pipenv-to-requirements' 'python-pytest-cov' 
'python-setuptools')
+checkdepends=('pifpaf' 'python-aiohttp' 'python-gevent' 'python-mock' 
'python-pook' 'python-redis'
+  'python-sure' 'redis')
+source=("https://github.com/mindflayer/python-mocket/archive/$pkgver/$pkgname-$pkgver.tar.gz;
+file-magic.patch)
+sha512sums=('76e98927b4c8c3912309fe9341519d9e986538010e5a8fcf3efe95e04793d4da27f9d6472ce54db4199bb0535dd959d1d9f957c4be8ab8edbf4194845e194b16'
+
'03abc1d8bb73988c573dec87ce10b8aae52924117732372764b7118040645270d89c7daa5c415cd6d7efd9a0ba1e24478c29419d4a777d9d27a882bf7b6836e7')
+
+prepare() {
+  cd python-mocket-$pkgver
+  pipenv_to_requirements
+
+  patch -p1 -i ../file-magic.patch
+}
+
+build() {
+  cd python-mocket-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-mocket-$pkgver
+  # https://github.com/mindflayer/python-mocket/issues/119
+  pifpaf run redis -- pytest --deselect 
tests/main/test_http_with_xxhash.py::HttpEntryTestCase::test_truesendall_with_dump_from_recording
+}
+
+package() {
+  cd python-mocket-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Added: python-mocket/trunk/file-magic.patch
===
--- python-mocket/trunk/file-magic.patch(rev 0)
+++ python-mocket/trunk/file-magic.patch2020-07-27 12:30:26 UTC (rev 
665443)
@@ -0,0 +1,49 @@
+commit 7afc43a4bdd6eefd6637e17d3f84f70bdcee28f2
+Author: Felix Yan 
+Date:   Mon Jul 27 20:19:24 2020 +0800
+
+Add support for file's builtin magic module
+
+file's builtin magic module has a somewhat different API, and it's not
+co-installable with pypi:python-magic as both has the same name. Adding
+a fallback logic here makes mocket work with either one.
+
+All related tests are passing here.
+
+diff --git a/mocket/mockhttp.py b/mocket/mockhttp.py
+index 7f9a484..70da11c 100644
+--- a/mocket/mockhttp.py
 b/mocket/mockhttp.py
+@@ -87,9 +87,16 @@ class Response(object):
+ if not self.is_file_object:
+ self.headers["Content-Type"] = "text/plain; charset=utf-8"
+ elif self.magic:
+-self.headers["Content-Type"] = decode_from_bytes(
+-magic.from_buffer(self.body, mime=True)
+-)
++if hasattr(self.magic, "from_buffer"):
++# PyPI python-magic
++self.headers["Content-Type"] = decode_from_bytes(
++magic.from_buffer(self.body, mime=True)
++)
++else:
++# file's builtin python wrapper
++_magic = magic.open(magic.MAGIC_MIME)
++_magic.load()
++self.headers["Content-Type"] = _magic.buffer(self.body)
+ 
+ def set_extra_headers(self, headers):
+ for k, v in headers.items():
+diff --git a/tests/main/test_http.py b/tests/main/test_http.py
+index 2244a4c..9ef33c8 100644
+--- a/tests/main/test_http.py
 b/tests/main/test_http.py
+@@ -235,7 +235,7 @@ class HttpEntryTestCase(HttpTestCase):
+ self.assertEqual(remote_content, local_content)
+ self.assertEqual(len(remote_content), len(local_content))
+ self.assertEqual(int(r.headers["Content-Length"]), len(local_content))
+-self.assertEqual(r.headers["Content-Type"], "image/png")
++self.assertIn(r.headers["Content-Type"], ("image/png", "image/png; 
charset=binary"))
+ 
+ @mocketize
+ def test_file_object_with_no_lib_magic(self):


[arch-commits] Commit in (5 files)

2020-07-24 Thread Konstantin Gizdov via arch-commits
Date: Friday, July 24, 2020 @ 15:41:16
  Author: kgizdov
Revision: 665165

initial release

Added:
  xrootd4/
  xrootd4/repos/
  xrootd4/trunk/
  xrootd4/trunk/PKGBUILD
  xrootd4/trunk/cxx17.patch

-+
 PKGBUILD|   84 ++
 cxx17.patch |   56 ++
 2 files changed, 140 insertions(+)

Added: xrootd4/trunk/PKGBUILD
===
--- xrootd4/trunk/PKGBUILD  (rev 0)
+++ xrootd4/trunk/PKGBUILD  2020-07-24 15:41:16 UTC (rev 665165)
@@ -0,0 +1,84 @@
+# Maintainer: Konstantin Gizdov < arch at kge dot pw >
+# Contributor: Jan Kašpar < jan.kaspar at gmail dot com >
+# Contributor: Alex Pearce < alex at alexpearce dot me >
+_pkgname=xrootd
+pkgname="${_pkgname}4"
+pkgdesc="Software framework for fast, low latency, scalable and fault tolerant 
data access."
+pkgver=4.12.3
+pkgrel=3
+arch=('x86_64')
+url="https://xrootd.slac.stanford.edu/;
+license=('LGPL3')
+depends=('ceph' 'curl' 'libxml2' 'openssl' 'perl' 'python')
+makedepends=('cmake')
+checkdepends=('cppunit')
+source=("${url}/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz"
+'cxx17.patch')
+sha256sums=('6f2ca1accc8d49d605706bb556777c753860bf46d845b1ee11393a5cb5987f15'
+'ad423ea5c78c89e4f048da5c0ffd0fe263a3005e6de638077fbd770de89603eb')
+
+get_pyver () {
+python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
+}
+
+prepare () {
+cd "${srcdir}/${_pkgname}-${pkgver}"
+patch -Np1 -i "${srcdir}/cxx17.patch"
+}
+
+build() {
+cd "${srcdir}/${_pkgname}-${pkgver}"
+
+# configure
+mkdir -p "${srcdir}/build"
+cd "${srcdir}/build"
+
+CFLAGS="${CFLAGS}" \
+CXXFLAGS="${CXXFLAGS}" \
+LDFLAGS="${LDFLAGS}" \
+cmake -DCMAKE_BUILD_TYPE:STRING=Release \
+  -DCMAKE_INSTALL_LIBDIR:PATH=lib \
+  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+  -DCMAKE_CXX_STANDARD="17" \
+  -DENABLE_TESTS=1 \
+  -DXRD_PYTHON_REQ_VERSION=$(get_pyver) \
+  "${srcdir}/${_pkgname}-${pkgver}"
+
+# build
+make
+}
+
+check() {
+cd "${srcdir}/build/tests"
+
+# Check has significantly changed, to-be-updated
+# ./common/text-runner ./XrdCephTests/libXrdCephTests.so "All Tests"
+
+##
+# This requires a running XRootD server with multiIP DNS forwarder and 
local disk servers
+# only run this if you have configured the env correctly,
+# examples in https://github.com/xrootd/xrootd-test-suite
+# sample environment can be configured like so:
+# export XRDTEST_MAINSERVERURL=metaman.xrd.test
+# or export XRDTEST_MAINSERVERURL=http://xrootd.cern.ch/
+# export XRDTEST_DISKSERVERURL=srv1.xrd.test
+# or export XRDTEST_DISKSERVERURL=http://xrootd.cern.ch/
+# export XRDTEST_DATAPATH=/tests/test-files/
+# export XRDTEST_LOCALFILE=/data/a048e67f-4397-4bb8-85eb-8d7e40d90763.dat
+# or export XRDTEST_LOCALFILE=/tmp/accwe.root
+# export 
XRDTEST_REMOTEFILE=${XRDTEST_MAINSERVERURL}${XRDTEST_DATAPATH}/a048e67f-4397-4bb8-85eb-8d7e40d90763.dat
+# or export XRDTEST_MULTIIPSERVERURL=multiip.xrd.test
+# ./common/text-runner ./XrdClTests/libXrdClTests.so "All Tests"
+}
+
+package() {
+cd "${srcdir}/build"
+make DESTDIR="${pkgdir}" install
+# drop unneeded test bin & lib
+rm "${pkgdir}/usr/bin/text-runner"
+rm "${pkgdir}/usr/lib/libXrdClTests.so"
+install -d "${pkgdir}/usr/lib/cmake/XRootD"
+mv "${pkgdir}/usr/share/xrootd/cmake/XRootDConfig.cmake" 
"${pkgdir}/usr/lib/cmake/XRootD"/
+rm -rf "${pkgdir}/usr/share/xrootd/cmake"
+ln -s "/usr/lib/cmake" "${pkgdir}/usr/share/xrootd/cmake"
+}

Added: xrootd4/trunk/cxx17.patch
===
--- xrootd4/trunk/cxx17.patch   (rev 0)
+++ xrootd4/trunk/cxx17.patch   2020-07-24 15:41:16 UTC (rev 665165)
@@ -0,0 +1,56 @@
+diff --git a/bindings/python/setup.py.in b/bindings/python/setup.py.in
+index 74fbe36a6..6bedbead8 100644
+--- a/bindings/python/setup.py.in
 b/bindings/python/setup.py.in
+@@ -8,15 +8,15 @@
+ # Remove the "-Wstrict-prototypes" compiler option, which isn't valid for C++.
+ cfg_vars = sysconfig.get_config_vars()
+ opt = cfg_vars["OPT"]
+-cfg_vars["OPT"] = " ".join( flag for flag in opt.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
++cfg_vars["OPT"] = " ".join( flag for flag in opt.split() if flag not in 
['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
+
+ cflags = cfg_vars["CFLAGS"]
+-cfg_vars["CFLAGS"] =  " ".join( flag for flag in cflags.split() if flag not 
in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++0x"
++cfg_vars["CFLAGS"] =  " ".join( flag for flag in cflags.split() if flag not 
in ['-Wstrict-prototypes' ${CLANG_PROHIBITED} ] ) + " --std=c++17"
+
+ # pypy doesn't define PY_CFLAGS so skip 

[arch-commits] Commit in (5 files)

2020-07-22 Thread Balló György via arch-commits
Date: Wednesday, July 22, 2020 @ 12:06:07
  Author: bgyorgy
Revision: 664828

Move marker from AUR with 11 votes

Added:
  marker/
  marker/trunk/
  marker/trunk/PKGBUILD
  marker/trunk/elf_files_in_lib.patch
  marker/trunk/mathjax.patch

+
 PKGBUILD   |   66 +++
 elf_files_in_lib.patch |   19 +
 mathjax.patch  |   13 +
 3 files changed, 98 insertions(+)

Added: marker/trunk/PKGBUILD
===
--- marker/trunk/PKGBUILD   (rev 0)
+++ marker/trunk/PKGBUILD   2020-07-22 12:06:07 UTC (rev 664828)
@@ -0,0 +1,66 @@
+# Maintainer: Balló György 
+# Contributor: Josip Ponjavic 
+
+pkgname=marker
+pkgver=2020.04.04.2
+pkgrel=2
+pkgdesc='Simple yet robust Markdown editor made with GTK'
+arch=(x86_64)
+url='https://fabiocolacio.github.io/Marker/'
+license=(GPL3)
+depends=(gtksourceview3 gtkspell3 webkit2gtk)
+makedepends=(git meson)
+optdepends=('mathjax2: alternative backend for rendering formulas'
+'pandoc: export to RTF, ODT, DOCX')
+_commit=90f2667611a5017840dced736fd1ea801930a45f  # tags/2020.04.04.2^0
+source=(git+https://github.com/fabiocolacio/Marker.git#commit=$_commit
+git+https://github.com/Mandarancio/scidown.git
+git+https://github.com/Mandarancio/charter.git
+git+https://github.com/codeplea/tinyexpr.git
+mathjax.patch
+elf_files_in_lib.patch)
+sha256sums=('SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'00bed5a7b888a2872933b25c0d12c46c38b47f641308e7b87f876ffa34542be2'
+'09c3394f7cdcd21aa184c42ad837c2b1cacc5326772e10f92f3b3585d5b443c2')
+
+pkgver() {
+  cd Marker
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd Marker
+
+  # ELF file must be in lib
+  patch -Np1 -i ../elf_files_in_lib.patch
+
+  # Unbundle mathjax
+  rm -r data/scripts/mathjax
+  patch -Np1 -i ../mathjax.patch
+
+  git submodule init
+  git submodule set-url src/scidown "$srcdir/scidown"
+  git submodule update
+
+  cd src/scidown
+  git submodule init
+  git submodule set-url src/charter "$srcdir/charter"
+  git submodule update
+
+  cd src/charter
+  git submodule init
+  git submodule set-url src/tinyexpr "$srcdir/tinyexpr"
+  git submodule update
+}
+
+build() {
+  arch-meson Marker build
+  ninja -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}

Added: marker/trunk/elf_files_in_lib.patch
===
--- marker/trunk/elf_files_in_lib.patch (rev 0)
+++ marker/trunk/elf_files_in_lib.patch 2020-07-22 12:06:07 UTC (rev 664828)
@@ -0,0 +1,19 @@
+diff -ruN Marker/meson.build Marker1/meson.build
+--- Marker/meson.build 2019-11-06 14:44:46.0 +0200
 Marker1/meson.build2019-12-06 22:39:56.434367811 +0200
+@@ -5,13 +5,14 @@
+
+ PREFIX = get_option('prefix')
+ DATA_DIR = join_paths(PREFIX, 'share')
++LIBS_DIR = join_paths(PREFIX, 'lib')
+ APP_DIR = join_paths(DATA_DIR, 'com.github.fabiocolacio.marker')
+ ICONS_DIR = join_paths(APP_DIR, 'icons')
+ STYLES_DIR = join_paths(APP_DIR, 'styles')
+ COMMON_DIR = join_paths(APP_DIR, 'common')
+ SCRIPTS_DIR = join_paths(APP_DIR, 'scripts')
+ HIGHLIGHT_STYLES_DIR = join_paths(join_paths(SCRIPTS_DIR, 
'highlight'),'styles')
+-WEB_EXTENSIONS_DIRECTORY = join_paths(APP_DIR, 'extensions')
++WEB_EXTENSIONS_DIRECTORY = join_paths(LIBS_DIR, 'Marker.extensions')
+ APPDATA_DIR = join_paths(DATA_DIR, 'metainfo')
+ LOCALE_DIR = join_paths(PREFIX, get_option('localedir'))
+

Added: marker/trunk/mathjax.patch
===
--- marker/trunk/mathjax.patch  (rev 0)
+++ marker/trunk/mathjax.patch  2020-07-22 12:06:07 UTC (rev 664828)
@@ -0,0 +1,13 @@
+diff -Naur Marker-2020.04.04.orig/src/marker-markdown.c 
Marker-2020.04.04/src/marker-markdown.c
+--- Marker-2020.04.04.orig/src/marker-markdown.c   2020-04-05 
00:31:59.0 +0200
 Marker-2020.04.04/src/marker-markdown.c2020-07-22 12:48:35.666097636 
+0200
+@@ -87,8 +87,7 @@
+   } else
+   {
+ mathjs_css = g_strdup(" ");
+-mathjs_script = g_strdup_printf("",
+-SCRIPTS_DIR);
++mathjs_script = g_strdup_printf("");
+ mathjs_auto = g_strdup(" ");
+   }
+   break;


[arch-commits] Commit in (5 files)

2020-07-22 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, July 22, 2020 @ 11:14:55
  Author: svenstaro
Revision: 664824

Move rarian from AUR

Added:
  rarian/
  rarian/repos/
  rarian/trunk/
  rarian/trunk/PKGBUILD
  rarian/trunk/user-segfault.patch

-+
 PKGBUILD|   36 
 user-segfault.patch |   14 ++
 2 files changed, 50 insertions(+)

Added: rarian/trunk/PKGBUILD
===
--- rarian/trunk/PKGBUILD   (rev 0)
+++ rarian/trunk/PKGBUILD   2020-07-22 11:14:55 UTC (rev 664824)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Jan de Groot 
+
+pkgname=rarian
+pkgver=0.8.1
+pkgrel=8
+pkgdesc="Documentation meta-data library, designed as a replacement for 
Scrollkeeper."
+arch=('x86_64')
+url="https://rarian.freedesktop.org/;
+license=('GPL')
+depends=('gcc-libs' 'sh')
+makedepends=('libxslt')
+source=(https://download.gnome.org/sources/${pkgname}/0.8/${pkgname}-${pkgver}.tar.bz2
+user-segfault.patch)
+md5sums=('75091185e13da67a0ff4279de1757b94'
+ '457e9827197009cfa360911fe49a5ad7')
+sha256sums=('aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577'
+'518b1834d4f44e92161f0cf2f72a6474f0ec687ea53562c64109df90d343fe71')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np0 -i ../user-segfault.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Added: rarian/trunk/user-segfault.patch
===
--- rarian/trunk/user-segfault.patch(rev 0)
+++ rarian/trunk/user-segfault.patch2020-07-22 11:14:55 UTC (rev 664824)
@@ -0,0 +1,14 @@
+--- util/rarian-sk-get-cl.cpp~ 2008-07-28 19:23:28.0 +0200
 util/rarian-sk-get-cl.cpp  2008-07-28 19:23:28.0 +0200
+@@ -160,6 +160,11 @@
+ {
+   char *filename = NULL;
+   char *user = getenv ("USERNAME");
++
++  if (user == NULL) {
++user = getenv ("USER");
++  }
++
+   char *basepath = NULL;
+   int i=0;
+   int last = 0;


[arch-commits] Commit in (5 files)

2020-07-22 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, July 22, 2020 @ 11:04:56
  Author: svenstaro
Revision: 664821

Move bless from AUR

Added:
  bless/
  bless/repos/
  bless/trunk/
  bless/trunk/PKGBUILD
  bless/trunk/fix-20.patch

--+
 PKGBUILD |   39 +++
 fix-20.patch |  202 +
 2 files changed, 241 insertions(+)

Added: bless/trunk/PKGBUILD
===
--- bless/trunk/PKGBUILD(rev 0)
+++ bless/trunk/PKGBUILD2020-07-22 11:04:56 UTC (rev 664821)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
+# Contributor: Balló György 
+# Contributor: TDY 
+# Contributor: dcraven 
+
+pkgname=bless
+pkgver=0.6.2
+pkgrel=3
+pkgdesc="High-quality, full-featured hex editor"
+arch=('any')
+url="https://github.com/afrantzis/bless;
+license=('GPL')
+depends=('gtk-sharp-2')
+makedepends=('rarian' 'automake' 'patch')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/afrantzis/bless/archive/v${pkgver}.tar.gz;
+"fix-20.patch")
+sha256sums=('1a9a38ec8d29e4cd3991413087a11a935577419ae9d5469edafc18cba157f827'
+'e6cc5ae6a63d185721e1273e0336a52ec5130f1dbc238672a2a697fc84498c45')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./autogen.sh
+  patch -Np1 -i "${srcdir}/fix-20.patch"
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" MKDIR_P='mkdir -p' install
+}

Added: bless/trunk/fix-20.patch
===
--- bless/trunk/fix-20.patch(rev 0)
+++ bless/trunk/fix-20.patch2020-07-22 11:04:56 UTC (rev 664821)
@@ -0,0 +1,202 @@
+From 84801988f908e51d9843c3e0ee8f2cd05c0a2d97 Mon Sep 17 00:00:00 2001
+From: davidcim 
+Date: Thu, 3 Oct 2019 12:38:25 +0200
+Subject: [PATCH] Fix building error CS0104: 'Range' is an ambiguous reference
+
+---
+ src/buffers/ByteBuffer.cs|  2 +-
+ src/gui/DataBookFinder.cs|  4 ++--
+ src/gui/areas/AreaGroup.cs   | 20 ++--
+ src/tools/find/FindOperations.cs |  6 +++---
+ src/tools/find/IFindStrategy.cs  | 10 +-
+ src/tools/find/IFinder.cs|  4 ++--
+ 6 files changed, 23 insertions(+), 23 deletions(-)
+
+diff --git a/src/buffers/ByteBuffer.cs b/src/buffers/ByteBuffer.cs
+index b9d9a24..72c1b42 100644
+--- a/src/buffers/ByteBuffer.cs
 b/src/buffers/ByteBuffer.cs
+@@ -671,7 +671,7 @@ public byte[] RangeToByteArray(IRange range)
+   /// Returns as a SegmentCollection the data contained in 
+   /// the specified range in the buffer.  
+   ///
+-  public SegmentCollection RangeToSegmentCollection(Range range)
++  public SegmentCollection RangeToSegmentCollection(Util.Range range)
+   {
+   if (range.Size == 0)
+   return null;
+diff --git a/src/gui/DataBookFinder.cs b/src/gui/DataBookFinder.cs
+index 50b5034..3248d3a 100644
+--- a/src/gui/DataBookFinder.cs
 b/src/gui/DataBookFinder.cs
+@@ -234,7 +234,7 @@ void FindAsyncCallback(IAsyncResult ar)
+   {
+   GenericFindOperation state = 
(GenericFindOperation)ar.AsyncState;
+   ThreadedAsyncOperation.OperationResult result = state.Result;
+-  Range match = state.Match;
++  Util.Range match = state.Match;
+ 
+   DataView dv = null;
+ 
+@@ -381,7 +381,7 @@ void ReplaceAllAsyncCallback(IAsyncResult ar)
+   {
+   ReplaceAllOperation state = (ReplaceAllOperation)ar.AsyncState;
+   ThreadedAsyncOperation.OperationResult result = state.Result;
+-  Range firstMatch = state.FirstMatch;
++  Util.Range firstMatch = state.FirstMatch;
+ 
+   DataView dv = null;
+ 
+diff --git a/src/gui/areas/AreaGroup.cs b/src/gui/areas/AreaGroup.cs
+index 58ee147..4a27190 100644
+--- a/src/gui/areas/AreaGroup.cs
 b/src/gui/areas/AreaGroup.cs
+@@ -198,7 +198,7 @@ enum Changes { Offset = 1, Cursor = 2, Highlights = 4}
+   set { drawingArea = value; }
+   }
+   
+-  public Range Selection {
++  public Util.Range Selection {
+   get { return selection; }
+   set { 
+   if (selection == value)
+@@ -251,7 +251,7 @@ public AreaGroup()
+   /// Get the range of bytes and the number of rows that 
+   /// are displayed in the current view.
+   /// 
+-  public Range GetViewRange(out int nrows)
++  public Util.Range GetViewRange(out int nrows)
+   {
+   // find out number of rows, bytes in current view
+   
+@@ -271,9 +271,9 @@ public Range GetViewRange(out int nrows)
+   
+   // make sure we get an empty clipping Range when bleft==0
+   if (bleft > 0)

[arch-commits] Commit in (5 files)

2020-07-21 Thread Balló György via arch-commits
Date: Tuesday, July 21, 2020 @ 11:21:27
  Author: bgyorgy
Revision: 664713

Move qtqr from AUR with 54 votes

Added:
  qtqr/
  qtqr/trunk/
  qtqr/trunk/PKGBUILD
  qtqr/trunk/qtqr.appdata.xml
  qtqr/trunk/qtqr.desktop

--+
 PKGBUILD |   38 ++
 qtqr.appdata.xml |   20 
 qtqr.desktop |   10 ++
 3 files changed, 68 insertions(+)

Added: qtqr/trunk/PKGBUILD
===
--- qtqr/trunk/PKGBUILD (rev 0)
+++ qtqr/trunk/PKGBUILD 2020-07-21 11:21:27 UTC (rev 664713)
@@ -0,0 +1,38 @@
+# Maintainer: Balló György 
+
+pkgname=qtqr
+_pkgname=qr-tools
+pkgver=2.0
+_bzrrev=39
+pkgrel=2
+pkgdesc="Qt GUI that makes easy creating and decoding QR codes"
+arch=(any)
+url="https://launchpad.net/qr-tools;
+license=(GPL3)
+depends=(python-pillow python-pyqt5 qrencode qt5-translations zbar)
+makedepends=(bzr)
+provides=(python-qrtools)
+conflicts=(python-qrtools)
+replaces=(python-qrtools)
+source=(bzr+lp:qr-tools#revision=$_bzrrev
+qtqr.desktop
+qtqr.appdata.xml)
+sha256sums=('SKIP'
+'67ea09222b0ad8875e4253f74c02cd88bdd796ac2609a7e594148aefd0f8f565'
+'3812f5ebd5ffd0074fdf18d12dc5d73b19f597bbdce04772fecf45a9ee45ad2b')
+
+build() {
+  cd $_pkgname
+  python3 setup.py build
+}
+
+package() {
+  cd $_pkgname
+  python3 setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm755 qtqr.py "$pkgdir/usr/bin/qtqr"
+  install -Dm644 -t "$pkgdir/usr/share/qt/translations" *.qm
+  install -Dm644 icon.png "$pkgdir/usr/share/icons/hicolor/96x96/apps/qtqr.png"
+  install -Dm644 ../qtqr.desktop "$pkgdir/usr/share/applications/qtqr.desktop"
+  install -Dm644 ../qtqr.appdata.xml 
"$pkgdir/usr/share/metainfo/qtqr.appdata.xml"
+}

Added: qtqr/trunk/qtqr.appdata.xml
===
--- qtqr/trunk/qtqr.appdata.xml (rev 0)
+++ qtqr/trunk/qtqr.appdata.xml 2020-07-21 11:21:27 UTC (rev 664713)
@@ -0,0 +1,20 @@
+
+
+  net.launchpad.qr-tools
+  qtqr.desktop
+  QtQR
+  Create and decode QR codes.
+  CC0-1.0
+  GPL-3.0
+  
+QtQR is a Qt based software that let's you generate QR codes easily, 
scan an image file for QR codes and decode them or use your webcam to scan a 
printed one.
+  
+  
+
+​  
https://screenshots.debian.net/screenshots/000/009/046/large.png
+
+  
+  https://bugs.launchpad.net/qr-tools
+  https://launchpad.net/qr-tools
+  qtqr
+

Added: qtqr/trunk/qtqr.desktop
===
--- qtqr/trunk/qtqr.desktop (rev 0)
+++ qtqr/trunk/qtqr.desktop 2020-07-21 11:21:27 UTC (rev 664713)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=QtQR
+Comment=Create and decode QR Codes
+Exec=qtqr %F
+Icon=qtqr
+Terminal=false
+Type=Application
+Categories=Graphics
+MimeType=image/gif;image/png;image/jpg;
+Keywords=qr;


[arch-commits] Commit in (5 files)

2020-07-19 Thread David Runge via arch-commits
Date: Sunday, July 19, 2020 @ 08:33:12
  Author: dvzrv
Revision: 664526

Adding wireplumber.

Added:
  wireplumber/
  wireplumber/repos/
  wireplumber/trunk/
  wireplumber/trunk/PKGBUILD
  wireplumber/trunk/wireplumber-0.3.0-devendor_cpptoml.patch

--+
 PKGBUILD |   49 +
 wireplumber-0.3.0-devendor_cpptoml.patch |   65 +
 2 files changed, 114 insertions(+)

Added: wireplumber/trunk/PKGBUILD
===
--- wireplumber/trunk/PKGBUILD  (rev 0)
+++ wireplumber/trunk/PKGBUILD  2020-07-19 08:33:12 UTC (rev 664526)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge 
+
+pkgname=wireplumber
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Session / policy manager implementation for PipeWire"
+arch=('x86_64')
+url="https://gitlab.freedesktop.org/pipewire/wireplumber;
+license=('MIT')
+depends=('gcc-libs' 'glibc')
+makedepends=('cmake' 'cpptoml' 'glib2' 'meson' 'pipewire')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/pipewire/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+"${pkgname}-0.3.0-devendor_cpptoml.patch")
+sha512sums=('4cdfa5e91ae5e0b7b9899a3aaa761e57f01af727df63d47f784f4128811d22bc2b9f22e1b37169a259fbef3c41a8ec2347c157bcc3fbebc91db67c5d2958c913'
+
'b1656d3f4ad510bd4942889ef8169387639f02a92de4c70a16d690908a807d3806617a668b07858acf8f43a6ab9f364c26827744c08b394d0d7b667bb81b5b0b')
+b2sums=('29e64b646681e1a556a6367b98e55e944f3cce60905ca9b201ec373720a2d8af3cc60ca1991fd8485677165d47e5bc9f3ad9f9ecf009a1d7fd607a03e468c01d'
+
'b589a0c88153f27c21ca4a1bdfeedd3b1a87b60abe8b4ed3568ba34b75919ef187aa686ee265c1444d44ff055d95d57e14a0947b1715c294cab380ecba0b68e7')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # allow using system cpptoml
+  # https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/17
+  patch -Np1 -i "../${pkgname}-0.3.0-devendor_cpptoml.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  meson --prefix='/usr' \
+--buildtype plain \
+--wrap-mode nodownload \
+-D b_lto=true \
+-D b_pie=true \
+build
+  ninja -C build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  ninja -C build test || echo "Known to fail"
+}
+
+package() {
+  depends+=('libgio-2.0.so' 'libglib-2.0.so' 'libgmodule-2.0.so'
+  'libgobject-2.0.so' 'libpipewire-0.3.so')
+  cd "$pkgname-$pkgver"
+  DESTDIR="${pkgdir}" meson install -C build
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {NEWS,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: wireplumber/trunk/wireplumber-0.3.0-devendor_cpptoml.patch
===
--- wireplumber/trunk/wireplumber-0.3.0-devendor_cpptoml.patch  
(rev 0)
+++ wireplumber/trunk/wireplumber-0.3.0-devendor_cpptoml.patch  2020-07-19 
08:33:12 UTC (rev 664526)
@@ -0,0 +1,65 @@
+diff -ruN a/lib/wptoml/array.cpp b/lib/wptoml/array.cpp
+--- a/lib/wptoml/array.cpp 2020-06-29 18:36:49.0 +0200
 b/lib/wptoml/array.cpp 2020-07-19 09:50:14.930311451 +0200
+@@ -10,7 +10,7 @@
+ #include 
+ 
+ /* CPPTOML */
+-#include 
++#include 
+ 
+ /* TOML */
+ #include "private.h"
+diff -ruN a/lib/wptoml/file.cpp b/lib/wptoml/file.cpp
+--- a/lib/wptoml/file.cpp  2020-06-29 18:36:49.0 +0200
 b/lib/wptoml/file.cpp  2020-07-19 09:50:28.923522152 +0200
+@@ -7,7 +7,7 @@
+  */
+ 
+ /* CPPTOML */
+-#include 
++#include 
+ 
+ /* TOML */
+ #include "private.h"
+diff -ruN a/lib/wptoml/table.cpp b/lib/wptoml/table.cpp
+--- a/lib/wptoml/table.cpp 2020-06-29 18:36:49.0 +0200
 b/lib/wptoml/table.cpp 2020-07-19 09:50:46.786698703 +0200
+@@ -10,7 +10,7 @@
+ #include 
+ 
+ /* CPPTOML */
+-#include 
++#include 
+ 
+ /* TOML */
+ #include "private.h"
+diff -ruN a/meson.build b/meson.build
+--- a/meson.build  2020-06-29 18:36:49.0 +0200
 b/meson.build  2020-07-19 10:17:13.288978511 +0200
+@@ -26,9 +26,13 @@
+   wireplumber_config_dir = join_paths(get_option('prefix'), 
get_option('sysconfdir'), 'wireplumber')
+ endif
+ 
+-cmake = import('cmake')
+-cpptoml = cmake.subproject('cpptoml')
+-cpptoml_dep = cpptoml.dependency('cpptoml')
++if get_option('wrap_mode') == 'nodownload'
++  cpptoml_dep = dependency('cpptoml')
++else
++  cmake = import('cmake')
++  cpptoml = cmake.subproject('cpptoml')
++  cpptoml_dep = cpptoml.dependency('cpptoml')
++endif
+ 
+ gobject_dep = dependency('gobject-2.0', version : '>= 2.58')
+ gmodule_dep = dependency('gmodule-2.0', version : '== ' + 
gobject_dep.version())
+diff -ruN a/subprojects/cpptoml.wrap b/subprojects/cpptoml.wrap
+--- a/subprojects/cpptoml.wrap 2020-06-29 18:36:49.0 +0200
 b/subprojects/cpptoml.wrap 2020-07-19 10:16:27.232734437 +0200
+@@ -1,4 +1,4 @@
+ [wrap-git]
+ directory=cpptoml
+ 

[arch-commits] Commit in (5 files)

2020-07-14 Thread Balló György via arch-commits
Date: Tuesday, July 14, 2020 @ 20:44:37
  Author: bgyorgy
Revision: 663795

Add notes-up

Added:
  notes-up/
  notes-up/trunk/
  notes-up/trunk/0001-Add-missing-icon.patch
  notes-up/trunk/PKGBUILD
  notes-up/trunk/fix-build.patch

-+
 0001-Add-missing-icon.patch |   48 ++
 PKGBUILD|   39 ++
 fix-build.patch |   22 +++
 3 files changed, 109 insertions(+)

Added: notes-up/trunk/0001-Add-missing-icon.patch
===
--- notes-up/trunk/0001-Add-missing-icon.patch  (rev 0)
+++ notes-up/trunk/0001-Add-missing-icon.patch  2020-07-14 20:44:37 UTC (rev 
663795)
@@ -0,0 +1,48 @@
+From d28d8290e52135e2da909415062ddc04939123f9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= 
+Date: Tue, 14 Jul 2020 22:10:15 +0200
+Subject: [PATCH] Add missing icon
+
+The tag-symbolic icon is missing from the default Adwaita icon theme. Add it 
from Elementary to provide fallback.
+---
+ data/assets.gresource.xml|  1 +
+ data/icons/symbolic/tag-symbolic.svg | 14 ++
+ 2 files changed, 15 insertions(+)
+ create mode 100644 data/icons/symbolic/tag-symbolic.svg
+
+diff --git a/data/assets.gresource.xml b/data/assets.gresource.xml
+index 354496f..ef2d1b1 100644
+--- a/data/assets.gresource.xml
 b/data/assets.gresource.xml
+@@ -11,6 +11,7 @@
+   
+   
+ icons/symbolic/notebook-symbolic.svg
++icons/symbolic/tag-symbolic.svg
+   
+   
+ assets/stylesheets/app/Application.css
+diff --git a/data/icons/symbolic/tag-symbolic.svg 
b/data/icons/symbolic/tag-symbolic.svg
+new file mode 100644
+index 000..9b192bf
+--- /dev/null
 b/data/icons/symbolic/tag-symbolic.svg
+@@ -0,0 +1,14 @@
++
++http://purl.org/dc/elements/1.1/; 
xmlns:cc="http://creativecommons.org/ns#; 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#; 
xmlns:svg="http://www.w3.org/2000/svg; xmlns="http://www.w3.org/2000/svg; 
height="16" width="16" id="svg2" version="1.1">
++  
++
++  
++image/svg+xml
++http://purl.org/dc/dcmitype/StillImage"/>
++
++  
++
++  
++  
++  
++
+\ No newline at end of file
+-- 
+2.27.0
+

Added: notes-up/trunk/PKGBUILD
===
--- notes-up/trunk/PKGBUILD (rev 0)
+++ notes-up/trunk/PKGBUILD 2020-07-14 20:44:37 UTC (rev 663795)
@@ -0,0 +1,39 @@
+# Maintainer: Balló György 
+# Contributor: NicoHood 
+# Contributor: Matthew Sexton 
+
+pkgname=notes-up
+pkgver=2.0.2
+pkgrel=2
+pkgdesc="Write beautiful notes fast and easy using Markdown"
+arch=(x86_64)
+url="https://github.com/Philip-Scott/Notes-up;
+license=(GPL2)
+depends=(discount granite gtksourceview3 gtkspell3 webkit2gtk)
+makedepends=(cmake vala)
+source=(https://github.com/Philip-Scott/Notes-up/archive/$pkgver/Notes-up-$pkgver.tar.gz
+fix-build.patch
+0001-Add-missing-icon.patch)
+sha256sums=('35eb1df71034a118e66e6e00f5394c68423cfba7ceac035bde156d77da933b17'
+'a0187a27ddf8a2203da65c63eff62c3dcd0beaa4ac10f2ed604951706f3db1e3'
+'8f3dfb0f410b34a79b24a129e75e954414b06853519b000a4efc4be312d8c2fd')
+
+prepare() {
+  [[ -d build ]] || mkdir build
+  cd Notes-up-$pkgver
+  patch -Np1 -i ../fix-build.patch
+  patch -Np1 -i ../0001-Add-missing-icon.patch
+}
+
+build() {
+  cd build
+  cmake -G "Unix Makefiles" ../Notes-up-$pkgver/ \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-Dnoele=1
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Added: notes-up/trunk/fix-build.patch
===
--- notes-up/trunk/fix-build.patch  (rev 0)
+++ notes-up/trunk/fix-build.patch  2020-07-14 20:44:37 UTC (rev 663795)
@@ -0,0 +1,22 @@
+From 248c94feb79d6e4467bb0f9614bc0a1e2846f79c Mon Sep 17 00:00:00 2001
+From: Felipe Escoto Aceves 
+Date: Tue, 28 Apr 2020 09:35:41 -0700
+Subject: [PATCH] Add size to charArray in libmarkdown.vapi
+
+---
+ vapi/libmarkdown.vapi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/vapi/libmarkdown.vapi b/vapi/libmarkdown.vapi
+index 81b5189..a6bf7e7 100644
+--- a/vapi/libmarkdown.vapi
 b/vapi/libmarkdown.vapi
+@@ -41,7 +41,7 @@ namespace Markdown
+   public void initialize ();
+   public void with_html5_tags ();
+   public void shlib_destructor ();
+-  public char markdown_version[];
++  public char markdown_version[512];
+ 
+   [Compact]
+   [CCode (cname = "MMIOT", cprefix = "mkd_", free_function = 
"mkd_cleanup")]


[arch-commits] Commit in (5 files)

2020-07-09 Thread Balló György via arch-commits
Date: Thursday, July 9, 2020 @ 16:17:56
  Author: bgyorgy
Revision: 661841

Move qnapi from AUR with 103 votes

Added:
  qnapi/
  qnapi/trunk/
  qnapi/trunk/PKGBUILD
  qnapi/trunk/qnapi.appdata.xml
  qnapi/trunk/qt-5.11.patch

---+
 PKGBUILD  |   38 ++
 qnapi.appdata.xml |   35 +++
 qt-5.11.patch |   21 +
 3 files changed, 94 insertions(+)

Added: qnapi/trunk/PKGBUILD
===
--- qnapi/trunk/PKGBUILD(rev 0)
+++ qnapi/trunk/PKGBUILD2020-07-09 16:17:56 UTC (rev 661841)
@@ -0,0 +1,38 @@
+# Maintainer: Balló György 
+# Contributor: FadeMind 
+# Contributor: Jakub Schmidtke 
+# Contributor: Piotr Krzemiński 
+
+pkgname=qnapi
+pkgver=0.2.3
+pkgrel=4
+pkgdesc="Qt client for downloading movie subtitles from NapiProjekt, 
OpenSubtitles, Napisy24"
+arch=(x86_64)
+url="https://qnapi.github.io/;
+license=(GPL)
+depends=(hicolor-icon-theme libmediainfo p7zip qt5-base)
+source=(https://github.com/QNapi/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
+qt-5.11.patch
+qnapi.appdata.xml)
+sha256sums=('8debb6862e96e52e4060131b314d9b887051a646a4a57c87c0287f2655357046'
+'c10d4be453ea1ca313079abd5b7caeecb35d99dd711e4da288bf3d74138d0c01'
+'6d90b97e4b9209d79cad4a28c4647dd78dc077bd04182bd0644464d888a3e41f')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../qt-5.11.patch
+  sed -i '/INSTALLS +=/ s/ doc//' qnapi.pro
+}
+
+build() {
+  cd $pkgname-$pkgver
+  qmake QMAKE_DEFAULT_INCDIRS="" qnapi.pro
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+  install -Dm644 -t "$pkgdir/usr/share/kservices5/ServiceMenus/" 
doc/qnapi-{download,scan}.desktop
+  install -Dm644 ../$pkgname.appdata.xml 
"$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+}

Added: qnapi/trunk/qnapi.appdata.xml
===
--- qnapi/trunk/qnapi.appdata.xml   (rev 0)
+++ qnapi/trunk/qnapi.appdata.xml   2020-07-09 16:17:56 UTC (rev 661841)
@@ -0,0 +1,35 @@
+
+
+  io.github.qnapi
+  CC0-1.0
+  GPL-2.0+
+  QNapi
+  A software for downloading and automatic matching subtitles to 
movies
+  
+QNapi is designed to automatically download and match subtitles to a 
specific movie file. Unlike similar programs, QNapi queries several different 
subtitle databases to find the best subtitles for your movie. Also, thanks to 
the QT library, the program runs on various operating systems (Windows, OSX, 
Linux).
+
+  matching subtitles for specific movie file
+  automatic matching the best subtitles
+  select target subtitles format (SRT, mDVD, TMP, MPL2) as well as 
manual conversion
+  select subtitles, when multiple matching has been found
+  download subtitles in one of many supported languages
+  directory scanning and batch subtitles download
+  subtitles post-processing: change file encoding, set file 
permissions
+  provides nice command-line interface
+
+  
+  qnapi.desktop
+  https://qnapi.github.io/
+  
+
+  https://qnapi.github.io/images/screenshots/0.1.7/lin05.png
+
+  
+  
+intense
+  
+  https://github.com/QNapi/qnapi/issues
+  https://qnapi.github.io/#help
+  https://qnapi.github.io/#donate
+  Piotr Krzemiński
+

Added: qnapi/trunk/qt-5.11.patch
===
--- qnapi/trunk/qt-5.11.patch   (rev 0)
+++ qnapi/trunk/qt-5.11.patch   2020-07-09 16:17:56 UTC (rev 661841)
@@ -0,0 +1,21 @@
+From 27bbaa5a32e5c6d9e45a6ba221928be6ec555ddd Mon Sep 17 00:00:00 2001
+From: Luigi Baldoni 
+Date: Mon, 11 Jun 2018 14:55:54 +0200
+Subject: [PATCH] Add missing include statement for Qt 5.11 (#148)
+
+---
+ gui/src/forms/subdatawidget.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gui/src/forms/subdatawidget.h b/gui/src/forms/subdatawidget.h
+index f6f1129..ab0491b 100644
+--- a/gui/src/forms/subdatawidget.h
 b/gui/src/forms/subdatawidget.h
+@@ -16,6 +16,7 @@
+ #define SUBDATAWIDGET_H
+ 
+ #include 
++#include 
+ #include "ui_subDataWidget.h"
+ 
+ class subDataWidget : public QWidget {


[arch-commits] Commit in (5 files)

2020-07-07 Thread Balló György via arch-commits
Date: Tuesday, July 7, 2020 @ 16:27:05
  Author: bgyorgy
Revision: 659249

Move griffith from AUR with 13 votes

Added:
  griffith/
  griffith/trunk/
  griffith/trunk/PKGBUILD
  griffith/trunk/build.patch
  griffith/trunk/griffith.appdata.xml

--+
 PKGBUILD |   37 +
 build.patch  |   62 +
 griffith.appdata.xml |   28 ++
 3 files changed, 127 insertions(+)

Added: griffith/trunk/PKGBUILD
===
--- griffith/trunk/PKGBUILD (rev 0)
+++ griffith/trunk/PKGBUILD 2020-07-07 16:27:05 UTC (rev 659249)
@@ -0,0 +1,37 @@
+# Maintainer: Balló György 
+# Contributor: Strit 
+# Contributor: ValHue 
+# Contributor: Jaroslav Lichtblau 
+# Contributor: Daniel J Griffiths 
+# Contributor: Ronald van Haren 
+# Contributor: Alessio 'mOLOk' Bolognino 
+# Contributor: Pawel Rusinek 
+# Contributor: Jashua Gentry 
+# Contributor: John Cheetham 
+
+pkgname=griffith
+pkgver=0.15
+pkgrel=4
+pkgdesc="Movie collection manager application"
+arch=(any)
+url="https://gitlab.com/Strit/griffith;
+license=(GPL2)
+depends=(gtkspell3 python-chardet python-gobject python-pillow 
python-reportlab python-sqlalchemy)
+source=("https://gitlab.com/Strit/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz;
+"build.patch"
+"griffith.appdata.xml")
+sha256sums=('a8b0b9a8973d6906327af2d51b097b0c6806a7926e164ca5693f53ff4247899c'
+'16fa6f25863a5e040b6d7e8e251ff172c0614a33b6bf7ae1f3f159a67ec0ed9c'
+'2556b99b18e2d53ca1e96c9d0edded9673c80020f9f832faf343eb1a71632f20')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../build.patch
+  sed -i 's|https://github.com/Strit|https://gitlab.com/Strit|' griffith
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../$pkgname.appdata.xml 
"$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+}

Added: griffith/trunk/build.patch
===
--- griffith/trunk/build.patch  (rev 0)
+++ griffith/trunk/build.patch  2020-07-07 16:27:05 UTC (rev 659249)
@@ -0,0 +1,62 @@
+diff --git a/Makefile b/Makefile
+index 38104ee..afb4f9b 100755
+--- a/Makefile
 b/Makefile
+@@ -22,7 +22,6 @@ DOC2MAN ?= docbook2x-man
+ 
+ PREFIX ?= $(DESTDIR)/usr
+ BINDIR = $(PREFIX)/bin
+-ETCDIR = $(DESTDIR)/etc
+ DATADIR = $(PREFIX)/share/griffith
+ LIBDIR = $(DATADIR)/lib
+ IMAGESDIR = $(DATADIR)/images
+@@ -34,9 +33,9 @@ IMPORTPLUGINSDIR = $(PLUGINSDIR)/imp
+ EXTENSIONSPLUGINSDIR = $(PLUGINSDIR)/extensions
+ TPLDIR = $(DATADIR)/export_templates
+ APPLICATIONSDIR = $(PREFIX)/share/applications
+-ICONDIR = $(PREFIX)/share/pixmaps
++ICONDIR = $(PREFIX)/share/icons/hicolor/scalable/apps
+ LOCALEDIR = $(PREFIX)/share/locale
+-BASHCOMPDIR = $(ETCDIR)/bash_completion.d
++BASHCOMPDIR = $(PREFIX)/share/bash-completion/completions
+ 
+ help:
+   @echo Usage:
+@@ -56,7 +55,7 @@ install:
+   $(INSTALL) -m 755 -d $(BINDIR) $(DATADIR) $(LIBDIR) $(LIBDIR)/db \
+   $(PLUGINSDIR) $(MOVIEPLUGINSDIR) $(EXPORTPLUGINSDIR) 
$(IMPORTPLUGINSDIR) $(EXTENSIONSPLUGINSDIR) \
+   $(FONTSDIR) $(APPLICATIONSDIR) $(ICONDIR) $(TPLDIR) \
+-  $(IMAGESDIR) $(GLADEDIR) $(ETCDIR) $(BASHCOMPDIR)
++  $(IMAGESDIR) $(GLADEDIR) $(BASHCOMPDIR)
+   $(INSTALL) -m 755 griffith $(LIBDIR)
+   $(INSTALL) -m 644 lib/*.py $(LIBDIR)
+   $(INSTALL) -m 644 lib/db/*.py $(LIBDIR)/db/
+@@ -68,8 +67,7 @@ install:
+   $(INSTALL) -m 644 glade/*.ui $(GLADEDIR)
+   $(INSTALL) -m 644 glade/*.png $(GLADEDIR)
+   $(INSTALL) -m 644 images/*.png $(IMAGESDIR)
+-  $(INSTALL) -m 644 images/griffith.png $(ICONDIR)
+-  $(INSTALL) -m 644 images/griffith.xpm $(ICONDIR)
++  $(INSTALL) -m 644 images/griffith.svg $(ICONDIR)
+   $(INSTALL) -m 644 data/griffith.desktop $(APPLICATIONSDIR)
+   $(INSTALL) -m 644 data/bash_completion $(BASHCOMPDIR)/griffith
+   
+@@ -88,7 +86,7 @@ install:
+   
+   if test -f $(PREFIX)/bin/griffith; then ${RM} $(PREFIX)/bin/griffith; 
fi
+   
+-  ln -s $(LIBDIR)/griffith $(BINDIR)/griffith
++  ln -s ../share/griffith/lib/griffith $(BINDIR)/griffith
+   chmod +x $(BINDIR)/griffith
+   $(MAKE) -C docs install
+ 
+@@ -106,8 +104,7 @@ uninstall:
+   ${RM} -r $(IMAGESDIR)
+   ${RM} -r $(GLADEDIR)
+   ${RM} -r $(DATADIR)
+-  ${RM} -r $(ICONDIR)/griffith.png
+-  ${RM} -r $(ICONDIR)/griffith.xpm
++  ${RM} -r $(ICONDIR)/griffith.svg
+   ${RM} -r $(APPLICATIONSDIR)/griffith.desktop
+   for lang in $(LANGUAGES); do \
+   ${RM} -r $(LOCALEDIR)/$$lang/LC_MESSAGES/griffith.mo; \

Added: griffith/trunk/griffith.appdata.xml

[arch-commits] Commit in (5 files)

2020-07-06 Thread Balló György via arch-commits
Date: Monday, July 6, 2020 @ 16:00:10
  Author: bgyorgy
Revision: 658041

Move vokoscreen from AUR with 107 votes

Added:
  vokoscreen/
  vokoscreen/trunk/
  vokoscreen/trunk/0001-Add-better-integration-for-Linux.patch
  vokoscreen/trunk/PKGBUILD
  vokoscreen/trunk/qt-5.15.patch

-+
 0001-Add-better-integration-for-Linux.patch |  108 ++
 PKGBUILD|   41 +
 qt-5.15.patch   |   23 +
 3 files changed, 172 insertions(+)

Added: vokoscreen/trunk/0001-Add-better-integration-for-Linux.patch
===
--- vokoscreen/trunk/0001-Add-better-integration-for-Linux.patch
(rev 0)
+++ vokoscreen/trunk/0001-Add-better-integration-for-Linux.patch
2020-07-06 16:00:10 UTC (rev 658041)
@@ -0,0 +1,108 @@
+From 0a3784095ecca582f7eb09551ceb34c309d83637 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= 
+Date: Mon, 6 Jul 2020 15:14:26 +0200
+Subject: [PATCH] Add better integration for Linux
+
+Add AppStream metadata, add installation target.
+---
+ src/applications/INFO |  1 +
+ src/applications/vokoscreenNG.appdata.xml | 45 +++
+ src/vokoscreenNG.pro  | 25 +
+ 3 files changed, 71 insertions(+)
+ create mode 100644 src/applications/vokoscreenNG.appdata.xml
+
+diff --git a/src/applications/INFO b/src/applications/INFO
+index 4195de8f..1c1bd870 100644
+--- a/src/applications/INFO
 b/src/applications/INFO
+@@ -1,2 +1,3 @@
++vokoscreenNG.appdata.xml
+ vokoscreenNG.desktop
+ vokoscreenNG.png
+diff --git a/src/applications/vokoscreenNG.appdata.xml 
b/src/applications/vokoscreenNG.appdata.xml
+new file mode 100644
+index ..883f4ae2
+--- /dev/null
 b/src/applications/vokoscreenNG.appdata.xml
+@@ -0,0 +1,45 @@
++
++
++  vokoscreenNG.desktop
++  CC0-1.0
++  GPL-2.0
++  vokoscreenNG
++  Easy to use desktop recorder
++  
++vokoscreenNG is an easy to use screencast creator to record 
educational videos,
++   live recordings of browser, installation, videoconferences, etc.
++  
++  
++
++  https://vokoscreen.volkoh.de/3.0/picture/screencast-0.png
++
++
++  https://vokoscreen.volkoh.de/3.0/picture/screencast-1.png
++
++
++  https://vokoscreen.volkoh.de/3.0/picture/screencast-2.png
++
++
++  https://vokoscreen.volkoh.de/3.0/picture/screencast-3.png
++
++
++  https://vokoscreen.volkoh.de/3.0/picture/screencast-4.png
++
++
++  https://vokoscreen.volkoh.de/3.0/picture/screencast-5.png
++
++
++  https://vokoscreen.volkoh.de/3.0/picture/screencast-6.png
++
++
++  https://vokoscreen.volkoh.de/3.0/picture/screencast-7.png
++
++
++  https://vokoscreen.volkoh.de/3.0/picture/screencast-8.png
++
++  
++  https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
++  https://github.com/vkohaupt/vokoscreenNG/issues
++  https://linuxecke.volkoh.de/vokoscreen/vokoscreen-donate.html
++  Volker Kohaupt
++
+diff --git a/src/vokoscreenNG.pro b/src/vokoscreenNG.pro
+index 69bc5a33..fdf7fd07 100644
+--- a/src/vokoscreenNG.pro
 b/src/vokoscreenNG.pro
+@@ -152,3 +152,28 @@ include(loadExtensions/loadExtensions.pri)
+ 
+ # systrayAlternative
+ include(systrayAlternative/systrayAlternative.pri)
++
++unix:!macx {
++  isEmpty(PREFIX) {
++PREFIX = /usr/local
++  }
++  isEmpty(BINDIR) {
++BINDIR = $$PREFIX/bin
++  }
++  isEmpty(DATADIR) {
++DATADIR = $$PREFIX/share
++  }
++
++  target.path = $$BINDIR
++
++  icon.files = applications/vokoscreenNG.png
++  icon.path = $$DATADIR/icons/hicolor/256x256/apps/
++
++  desktop.files = applications/vokoscreenNG.desktop
++  desktop.path = $$DATADIR/applications/
++
++  appdata.files = applications/vokoscreenNG.appdata.xml
++  appdata.path = $$DATADIR/metainfo/
++
++  INSTALLS += target icon desktop appdata
++}
+-- 
+2.27.0
+

Added: vokoscreen/trunk/PKGBUILD
===
--- vokoscreen/trunk/PKGBUILD   (rev 0)
+++ vokoscreen/trunk/PKGBUILD   2020-07-06 16:00:10 UTC (rev 658041)
@@ -0,0 +1,41 @@
+# Maintainer: Balló György 
+# Contributor: Elrondo46 TuxnVape 
+# Contributor: Ivan Fonseca 
+# Contributor: Alfredo Ramos 
+# Contributor: Giacomo 
+
+pkgname=vokoscreen
+_pkgname=vokoscreenNG
+pkgver=3.0.4
+pkgrel=2
+pkgdesc='Easy to use screencast creator'
+arch=(x86_64)
+url='https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html'
+license=(GPL2)
+depends=(gst-plugins-good qt5-multimedia qt5-x11extras)
+optdepends=('gst-plugins-bad: record audio into AAC format'
+'gst-plugins-ugly: record screen into H.264 format')
+makedepends=(qt5-tools)
+source=(https://github.com/vkohaupt/$_pkgname/archive/$pkgver/$_pkgname-$pkgver.tar.gz
+qt-5.15.patch
+

[arch-commits] Commit in (5 files)

2020-07-04 Thread Balló György via arch-commits
Date: Saturday, July 4, 2020 @ 12:00:55
  Author: bgyorgy
Revision: 657679

Move spice-up from AUR

Added:
  spice-up/
  spice-up/trunk/
  spice-up/trunk/0001-Add-missing-icons.patch
  spice-up/trunk/0001-Fix-build-with-vala-0.46.patch
  spice-up/trunk/PKGBUILD

-+
 0001-Add-missing-icons.patch|   90 ++
 0001-Fix-build-with-vala-0.46.patch |   67 +
 PKGBUILD|   45 +
 3 files changed, 202 insertions(+)

Added: spice-up/trunk/0001-Add-missing-icons.patch
===
--- spice-up/trunk/0001-Add-missing-icons.patch (rev 0)
+++ spice-up/trunk/0001-Add-missing-icons.patch 2020-07-04 12:00:55 UTC (rev 
657679)
@@ -0,0 +1,90 @@
+From 0a169a4fd535fe2b55a177c62357df483b5d6154 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= 
+Date: Sat, 4 Jul 2020 12:31:53 +0200
+Subject: [PATCH] Add missing icons
+
+These icons are missing from the default Adwaita icon theme. Add them from 
Elementary to provide fallback.
+---
+ data/assets.gresource.xml   |  3 +++
+ data/icons/document-export-symbolic.svg |  6 ++
+ data/icons/selection-lower-symbolic.svg | 15 +++
+ data/icons/selection-raise-symbolic.svg | 15 +++
+ 4 files changed, 39 insertions(+)
+ create mode 100644 data/icons/document-export-symbolic.svg
+ create mode 100644 data/icons/selection-lower-symbolic.svg
+ create mode 100644 data/icons/selection-raise-symbolic.svg
+
+diff --git a/data/assets.gresource.xml b/data/assets.gresource.xml
+index 52abb47..0c4d3d9 100644
+--- a/data/assets.gresource.xml
 b/data/assets.gresource.xml
+@@ -8,6 +8,9 @@
+ icons/color-palette-symbolic.svg
+ icons/gradient-palette-symbolic.svg
+ icons/custom-color-symbolic.svg
++icons/selection-lower-symbolic.svg
++icons/selection-raise-symbolic.svg
++icons/document-export-symbolic.svg
+ icons/shape-symbolic.svg
+ icons/align-top-symbolic.svg
+ icons/align-middle-symbolic.svg
+diff --git a/data/icons/document-export-symbolic.svg 
b/data/icons/document-export-symbolic.svg
+new file mode 100644
+index 000..d21e70e
+--- /dev/null
 b/data/icons/document-export-symbolic.svg
+@@ -0,0 +1,6 @@
++http://www.w3.org/2000/svg;>
++
++
++
++
++
+\ No newline at end of file
+diff --git a/data/icons/selection-lower-symbolic.svg 
b/data/icons/selection-lower-symbolic.svg
+new file mode 100644
+index 000..b1ad7dc
+--- /dev/null
 b/data/icons/selection-lower-symbolic.svg
+@@ -0,0 +1,15 @@
++
++http://purl.org/dc/elements/1.1/; 
xmlns:cc="http://creativecommons.org/ns#; 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#; 
xmlns:svg="http://www.w3.org/2000/svg; xmlns="http://www.w3.org/2000/svg; 
height="16" width="16" version="1.1" id="svg18">
++  
++
++  
++image/svg+xml
++http://purl.org/dc/dcmitype/StillImage"/>
++
++  
++
++  
++  
++  
++  
++
+\ No newline at end of file
+diff --git a/data/icons/selection-raise-symbolic.svg 
b/data/icons/selection-raise-symbolic.svg
+new file mode 100644
+index 000..76046f6
+--- /dev/null
 b/data/icons/selection-raise-symbolic.svg
+@@ -0,0 +1,15 @@
++
++http://purl.org/dc/elements/1.1/; 
xmlns:cc="http://creativecommons.org/ns#; 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#; 
xmlns:svg="http://www.w3.org/2000/svg; xmlns="http://www.w3.org/2000/svg; 
height="16" width="16" version="1.1" id="svg18">
++  
++
++  
++image/svg+xml
++http://purl.org/dc/dcmitype/StillImage"/>
++
++  
++
++  
++  
++  
++  
++
+\ No newline at end of file
+-- 
+2.27.0
+

Added: spice-up/trunk/0001-Fix-build-with-vala-0.46.patch
===
--- spice-up/trunk/0001-Fix-build-with-vala-0.46.patch  
(rev 0)
+++ spice-up/trunk/0001-Fix-build-with-vala-0.46.patch  2020-07-04 12:00:55 UTC 
(rev 657679)
@@ -0,0 +1,67 @@
+From edd7c2ea499338829470eec18f359f66503254df Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= 
+Date: Sat, 4 Jul 2020 12:37:26 +0200
+Subject: [PATCH] Fix build with vala 0.46
+
+---
+ src/Tests/ColorItem/MockedCanvasItem.vala | 2 +-
+ src/Tests/ImageItem/MockedCanvasItem.vala | 2 +-
+ src/Tests/TextItem/MockedCanvasItem.vala  | 2 +-
+ src/Widgets/CanvasItems/CanvasItem.vala   | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/Tests/ColorItem/MockedCanvasItem.vala 
b/src/Tests/ColorItem/MockedCanvasItem.vala
+index 7197596..e0515d3 100644
+--- a/src/Tests/ColorItem/MockedCanvasItem.vala
 b/src/Tests/ColorItem/MockedCanvasItem.vala
+@@ -6,7 +6,7 @@ public abstract class Spice.CanvasItem : Gtk.EventBox {
+ public Canvas canvas { get; set; }
+ protected Gtk.Grid? grid = null;
+ 
+-public 

[arch-commits] Commit in (5 files)

2020-06-29 Thread Frederik Schwan via arch-commits
Date: Monday, June 29, 2020 @ 23:40:51
  Author: freswa
Revision: 657029

thermald: move from unsupported to community

Added:
  thermald/
  thermald/repos/
  thermald/trunk/
  thermald/trunk/PKGBUILD
  thermald/trunk/modules-load-thermald.conf

+
 PKGBUILD   |   36 
 modules-load-thermald.conf |2 ++
 2 files changed, 38 insertions(+)

Added: thermald/trunk/PKGBUILD
===
--- thermald/trunk/PKGBUILD (rev 0)
+++ thermald/trunk/PKGBUILD 2020-06-29 23:40:51 UTC (rev 657029)
@@ -0,0 +1,36 @@
+# Maintainer: Frederik Schwan 
+# Contributor:Francois Menning 
+# Contributor: gilbus 
+# Contributor: Bruno Pagani 
+
+pkgname=thermald
+_pkgname=thermal_daemon
+pkgver=2.2
+pkgrel=2
+pkgdesc='The Linux Thermal Daemon program from 01.org'
+arch=('x86_64')
+url='https://01.org/linux-thermal-daemon'
+license=('GPL2')
+depends=('dbus-glib' 'libxml2')
+makedepends=('autoconf-archive' 'python')
+source=("https://github.com/intel/thermal_daemon/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz;
+'modules-load-thermald.conf')
+b2sums=('500189b924594e5b1d68adc776b3ad0c1d531d4259c65dd77f9166648c9b4273c52e1f854ec6500b3d37e39deb4ec862443728d50e9be95dee8e43496645'
+
'70cdf39afbcc4ea6b0cbe59182714a18755bad8e742f69f9b08e1415dd8f77e00473b9808c46dec3de4e0b5ec17f0bc16d0bd54d61b1e8e77e27901d90aedceb')
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  ./autogen.sh
+  ./configure \
+--prefix=/usr \
+--sysconfdir=/etc \
+--localstatedir=/var \
+--sbindir=/usr/bin
+  make
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  DESTDIR="${pkgdir}" make install
+  install -Dm644 "${srcdir}"/modules-load-thermald.conf 
"${pkgdir}"/usr/lib/modules-load.d/thermald.conf
+}

Added: thermald/trunk/modules-load-thermald.conf
===
--- thermald/trunk/modules-load-thermald.conf   (rev 0)
+++ thermald/trunk/modules-load-thermald.conf   2020-06-29 23:40:51 UTC (rev 
657029)
@@ -0,0 +1,2 @@
+msr
+coretemp


[arch-commits] Commit in (5 files)

2020-06-28 Thread Frederik Schwan via arch-commits
Date: Monday, June 29, 2020 @ 03:41:12
  Author: freswa
Revision: 655798

pxz: add to community

Added:
  pxz/
  pxz/repos/
  pxz/trunk/
  pxz/trunk/Makefile.patch
  pxz/trunk/PKGBUILD

+
 Makefile.patch |   11 +++
 PKGBUILD   |   35 +++
 2 files changed, 46 insertions(+)

Added: pxz/trunk/Makefile.patch
===
--- pxz/trunk/Makefile.patch(rev 0)
+++ pxz/trunk/Makefile.patch2020-06-29 03:41:12 UTC (rev 655798)
@@ -0,0 +1,11 @@
+--- src/pxz-4.999.9beta/Makefile   2010-04-11 01:54:44.841991802 -0700
 src/pxz-4.999.9beta/Makefile.new   2010-04-11 01:55:06.482050429 -0700
+@@ -15,7 +15,7 @@
+ all: $(OBJECTS) $(NAME)
+ 
+ $(NAME): $(SOURCES) $(OBJECTS)
+-  $(CC) $(WARNINGS) $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(NAME).c -o $(NAME)
++  $(CC) $(WARNINGS) $(OBJECTS) $(CFLAGS) $(NAME).c $(LDFLAGS) -o $(NAME)
+ 
+ clean:
+   rm -f *.o $(NAME)

Added: pxz/trunk/PKGBUILD
===
--- pxz/trunk/PKGBUILD  (rev 0)
+++ pxz/trunk/PKGBUILD  2020-06-29 03:41:12 UTC (rev 655798)
@@ -0,0 +1,35 @@
+# Maintainer: Frederik Schwan 
+# Contributor: jerry73204 
+# Contributor: piojo
+
+pkgname=pxz
+pkgver=4.999.9beta.20091201
+_pkgver=4.999.9beta
+pkgrel=6
+pkgdesc='Runs LZMA compression of different parts of an input file on multiple 
cores and processors simultaneously'
+arch=('x86_64' 'i686')
+url='https://jnovy.fedorapeople.org/pxz/'
+license=('GPL2')
+depends=('xz')
+source=("https://jnovy.fedorapeople.org/$pkgname/$pkgname-${pkgver}git.tar.xz;
+Makefile.patch)
+b2sums=('e5570c46904cbb8cc637ece1b4451b5d5f79261aa808f39a90bf6fd026603875dffadf85ff16b8dda370d146c85bc93eac8cc533f62dc3c54651e01b3532b80f'
+
'5ccf0a5725d06f410238e9961e028ac7b0637d99c277fa26ae09e7fc02fad683c20da9ada8370e6ac4d991bbbafed70e560bd44008b1c0a58526d9a0517785e9')
+
+prepare() {
+  cd "$pkgname-$_pkgver"
+
+  patch -Np2 -i "$srcdir/Makefile.patch"
+}
+
+build() {
+  cd "$pkgname-$_pkgver"
+
+  make
+}
+
+package() {
+  cd "$pkgname-$_pkgver"
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in (5 files)

2020-06-28 Thread Frederik Schwan via arch-commits
Date: Monday, June 29, 2020 @ 03:09:16
  Author: freswa
Revision: 653312

pxz: add to community

Added:
  pxz/
  pxz/repos/
  pxz/trunk/
  pxz/trunk/Makefile.patch
  pxz/trunk/PKGBUILD

+
 Makefile.patch |   11 +++
 PKGBUILD   |   35 +++
 2 files changed, 46 insertions(+)

Added: pxz/trunk/Makefile.patch
===
--- pxz/trunk/Makefile.patch(rev 0)
+++ pxz/trunk/Makefile.patch2020-06-29 03:09:16 UTC (rev 653312)
@@ -0,0 +1,11 @@
+--- src/pxz-4.999.9beta/Makefile   2010-04-11 01:54:44.841991802 -0700
 src/pxz-4.999.9beta/Makefile.new   2010-04-11 01:55:06.482050429 -0700
+@@ -15,7 +15,7 @@
+ all: $(OBJECTS) $(NAME)
+ 
+ $(NAME): $(SOURCES) $(OBJECTS)
+-  $(CC) $(WARNINGS) $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(NAME).c -o $(NAME)
++  $(CC) $(WARNINGS) $(OBJECTS) $(CFLAGS) $(NAME).c $(LDFLAGS) -o $(NAME)
+ 
+ clean:
+   rm -f *.o $(NAME)

Added: pxz/trunk/PKGBUILD
===
--- pxz/trunk/PKGBUILD  (rev 0)
+++ pxz/trunk/PKGBUILD  2020-06-29 03:09:16 UTC (rev 653312)
@@ -0,0 +1,35 @@
+# Maintainer: Frederik Schwan 
+# Contributor: jerry73204 
+# Contributor: piojo
+
+pkgname=pxz
+pkgver=4.999.9beta.20091201
+_pkgver=4.999.9beta
+pkgrel=6
+pkgdesc='Runs LZMA compression of different parts of an input file on multiple 
cores and processors simultaneously'
+arch=('x86_64' 'i686')
+url='https://jnovy.fedorapeople.org/pxz/'
+license=('GPL2')
+depends=('xz')
+source=("https://jnovy.fedorapeople.org/$pkgname/$pkgname-${pkgver}git.tar.xz;
+Makefile.patch)
+b2sums=('e5570c46904cbb8cc637ece1b4451b5d5f79261aa808f39a90bf6fd026603875dffadf85ff16b8dda370d146c85bc93eac8cc533f62dc3c54651e01b3532b80f'
+
'5ccf0a5725d06f410238e9961e028ac7b0637d99c277fa26ae09e7fc02fad683c20da9ada8370e6ac4d991bbbafed70e560bd44008b1c0a58526d9a0517785e9')
+
+prepare() {
+  cd "$pkgname-$_pkgver"
+
+  patch -Np2 -i "$srcdir/Makefile.patch"
+}
+
+build() {
+  cd "$pkgname-$_pkgver"
+
+  make
+}
+
+package() {
+  cd "$pkgname-$_pkgver"
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in (5 files)

2020-06-27 Thread Felix Yan via arch-commits
Date: Saturday, June 27, 2020 @ 06:39:52
  Author: felixonmars
Revision: 654578

addpkg: python-threadloop 1.0.2-1

Added:
  python-threadloop/
  python-threadloop/repos/
  python-threadloop/trunk/
  python-threadloop/trunk/PKGBUILD
  python-threadloop/trunk/tornado-5.patch

-+
 PKGBUILD|   40 +++
 tornado-5.patch |   61 ++
 2 files changed, 101 insertions(+)

Added: python-threadloop/trunk/PKGBUILD
===
--- python-threadloop/trunk/PKGBUILD(rev 0)
+++ python-threadloop/trunk/PKGBUILD2020-06-27 06:39:52 UTC (rev 654578)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-threadloop
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Tornado IOLoop Backed Concurrent Futures"
+url="https://github.com/unhashable/threadloop;
+license=('MIT')
+arch=('any')
+depends=('python-tornado')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://github.com/unhashable/threadloop/archive/$pkgver/$pkgname-$pkgver.tar.gz;
+tornado-5.patch)
+sha512sums=('f6a95d01174cf3dacafda4ebc7f4f8efa1217675004949ce0565441a40aa9867be33f23cd78ce8de83de992b8bb654db34ff49568804790bcf27efa7c0b3643d'
+
'4b9c0f77e4cc004854588d1fcfcd46dabdd57055dd866c18ce9d29b9f746a0abcaa790f727e92e13b4e422f8c0fd82856db6cf4b7a2dca9ed33ad7403bd44998')
+
+prepare() {
+  cd threadloop-$pkgver
+  patch -p1 -i ../tornado-5.patch
+}
+
+build() {
+  cd threadloop-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd threadloop-$pkgver
+  # Deselected tests: deadlocks
+  pytest -v --deselect 
tests/threadloop/test_threadloop.py::test_plain_function_exception_propagates \
+--deselect 
tests/threadloop/test_threadloop.py::test_plain_function_exception_contains_exc_info
+}
+
+package() {
+  cd threadloop-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Added: python-threadloop/trunk/tornado-5.patch
===
--- python-threadloop/trunk/tornado-5.patch (rev 0)
+++ python-threadloop/trunk/tornado-5.patch 2020-06-27 06:39:52 UTC (rev 
654578)
@@ -0,0 +1,61 @@
+From 236c342dc8594c8d73849c670cd57946f2549451 Mon Sep 17 00:00:00 2001
+From: condorcet 
+Date: Tue, 3 Sep 2019 20:09:04 +0300
+Subject: [PATCH 1/2] Support asyncio in _start_io_loop method
+
+---
+ threadloop/threadloop.py | 8 +++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/threadloop/threadloop.py b/threadloop/threadloop.py
+index 8b584b6..1916baa 100644
+--- a/threadloop/threadloop.py
 b/threadloop/threadloop.py
+@@ -72,6 +72,12 @@ def mark_as_ready():
+ self._ready.set()
+ 
+ if not self._io_loop:
++_io_loop = ioloop.IOLoop.current(instance=False)
++if _io_loop:
++self._io_loop = _io_loop
++if self._io_loop.is_running():
++mark_as_ready()
++return
+ self._io_loop = ioloop.IOLoop()
+ 
+ self._io_loop.add_callback(mark_as_ready)
+@@ -92,7 +98,7 @@ def is_ready(self):
+ 
+ def stop(self):
+ """Stop IOLoop & close daemonized thread."""
+-self._io_loop.stop()
++self._io_loop.add_callback(self._io_loop.stop)
+ self._thread.join()
+ 
+ def submit(self, fn, *args, **kwargs):
+
+From c15556dd79cdf5a5f7c8dc04015fa4a0ef3f2c56 Mon Sep 17 00:00:00 2001
+From: condorcet 
+Date: Wed, 4 Sep 2019 11:03:26 +0300
+Subject: [PATCH 2/2] Fix mistake
+
+---
+ threadloop/threadloop.py | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/threadloop/threadloop.py b/threadloop/threadloop.py
+index 1916baa..d6847fb 100644
+--- a/threadloop/threadloop.py
 b/threadloop/threadloop.py
+@@ -75,9 +75,8 @@ def mark_as_ready():
+ _io_loop = ioloop.IOLoop.current(instance=False)
+ if _io_loop:
+ self._io_loop = _io_loop
+-if self._io_loop.is_running():
+-mark_as_ready()
+-return
++mark_as_ready()
++return
+ self._io_loop = ioloop.IOLoop()
+ 
+ self._io_loop.add_callback(mark_as_ready)


[arch-commits] Commit in (5 files)

2020-06-22 Thread David Runge via arch-commits
Date: Monday, June 22, 2020 @ 17:04:44
  Author: dvzrv
Revision: 650682

Adding jack_mixer from the AUR.

Added:
  jack_mixer/
  jack_mixer/repos/
  jack_mixer/trunk/
  jack_mixer/trunk/PKGBUILD
  jack_mixer/trunk/jack_mixer-12-remove_gconf.patch

--+
 PKGBUILD |   47 +
 jack_mixer-12-remove_gconf.patch |   25 +++
 2 files changed, 72 insertions(+)

Added: jack_mixer/trunk/PKGBUILD
===
--- jack_mixer/trunk/PKGBUILD   (rev 0)
+++ jack_mixer/trunk/PKGBUILD   2020-06-22 17:04:44 UTC (rev 650682)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge 
+
+pkgname=jack_mixer
+pkgver=12
+pkgrel=1
+pkgdesc="Jack desktop mixer application"
+arch=('x86_64')
+url="https://github.com/jack-mixer/jack_mixer;
+license=('GPL2')
+groups=('pro-audio')
+depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'python-cairo'
+'python-gobject')
+makedepends=('glib2' 'jack')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jack-mixer/${pkgname}/archive/release-${pkgver}.tar.gz;
+"${pkgname}-12-remove_gconf.patch")
+sha512sums=('e49a5fa901de38230911c73e2ea60ea8e9e400c5ae1ca5220181e25d5eda5506f61f8dfdaf99839e73b4c9af62d035acf2ef471c304dc1743e1f61f0444bf1f8'
+
'9a7d1ff5255110dfc07f9e9fdf06a155f305e1b9b917242b56daa46ea369cb19355e2c77a5c2fd4f839de847857169afdab3d332f75413bbdfab60e15a889727')
+b2sums=('1d83452ba02286b069441ebb14008950bbbe1668582d6372a9ff5de4be333f0f63b4e3fea5cb5509a41f05df13a6f03e5ee5ca41688ba82b18970b569362a619'
+
'70d0bd15d9d08593b16247844082febb802d01e2dbcd392adf6f1483ef2d823dc07e441108fa416c3b7f21fe8ab7baf6f83f4bdc25718ceeacd19be465ca14de')
+
+prepare() {
+  mv -v "$pkgname-release-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # remove legacy gconf integration
+  # https://github.com/jack-mixer/jack_mixer/issues/2
+  patch -Np1 -i "../${pkgname}-12-remove_gconf.patch"
+  ./autogen.sh
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make -k check
+}
+
+package() {
+  depends+=('libglib-2.0.so' 'libjack.so')
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  install -vDm 644 {AUTHORS,NEWS,README} \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: jack_mixer/trunk/jack_mixer-12-remove_gconf.patch
===
--- jack_mixer/trunk/jack_mixer-12-remove_gconf.patch   
(rev 0)
+++ jack_mixer/trunk/jack_mixer-12-remove_gconf.patch   2020-06-22 17:04:44 UTC 
(rev 650682)
@@ -0,0 +1,25 @@
+diff -ruN a/Makefile.am b/Makefile.am
+--- a/Makefile.am  2020-06-22 14:51:45.0 +0200
 b/Makefile.am  2020-06-22 18:57:58.556361735 +0200
+@@ -59,21 +59,9 @@
+ test: _jack_mixer_c.so
+   @./test.py
+ 
+-schemadir = @GCONF_SCHEMA_FILE_DIR@
+-schema_DATA = jack_mixer.schemas
+-
+ install-exec-hook:
+   ln -vfs jack_mixer.py $(DESTDIR)$(bindir)/jack_mixer
+ 
+-if GCONF_SCHEMAS_INSTALL
+-install-data-hook:
+-  GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) 
--makefile-install-rule $(srcdir)/$(schema_DATA)
+-
+-uninstall-hook:
+-  GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) 
--makefile-uninstall-rule $(srcdir)/$(schema_DATA)
+-  rm -vf $(DESTDIR)$(bindir)/jack_mixer
+-endif
+-
+ pacoinstall:
+   test `whoami` == root # test for root
+   -paco -rvB jack_mixer


[arch-commits] Commit in (5 files)

2020-06-17 Thread Balló György via arch-commits
Date: Wednesday, June 17, 2020 @ 09:50:58
  Author: bgyorgy
Revision: 646330

Move tupitube (tupitube.desk) from AUR

Added:
  tupitube/
  tupitube/trunk/
  tupitube/trunk/PKGBUILD
  tupitube/trunk/qt-5.15.patch
  tupitube/trunk/tupitube.appdata.xml

--+
 PKGBUILD |   42 ++
 qt-5.15.patch|   25 +
 tupitube.appdata.xml |   28 
 3 files changed, 95 insertions(+)

Added: tupitube/trunk/PKGBUILD
===
--- tupitube/trunk/PKGBUILD (rev 0)
+++ tupitube/trunk/PKGBUILD 2020-06-17 09:50:58 UTC (rev 646330)
@@ -0,0 +1,42 @@
+# Maintainer: Balló György 
+# Contributor: Ninez 
+# Contributor: N30N 
+# Contributor: sekret
+# Contributor: SanskritFritz
+
+pkgname=tupitube
+pkgver=0.2.15
+pkgrel=1
+pkgdesc="Design and authoring tool for digital artists interested in 2D 
animation"
+arch=(x86_64)
+url="https://www.maefloresta.com/;
+license=(GPL2)
+depends=(ffmpeg qt5-multimedia qt5-svg quazip)
+makedepends=(ruby)
+replaces=(tupitube.desk)
+source=(https://downloads.sourceforge.net/tupi2d/$pkgname.desk-$pkgver.tar.gz
+tupitube.appdata.xml
+qt-5.15.patch)
+sha256sums=('700433296de253539c3ec3189c9eeffa5fd1b864f3010fac38259ac5ac40d8a4'
+'99fbafe0b359130d53278db3cada052f8245c325dcb82ce33997322dd750707a'
+'afb563345a62034f523dcc558aee83efb466c863feb39e6a8d5744c974b979ce')
+
+prepare() {
+  cd $pkgname.desk
+  patch -p1 -i ../qt-5.15.patch
+  sed -i 's|quazip/|quazip5/|' configure.tests/quazip/main.cpp 
src/libtupi/tuppackagehandler.cpp
+  sed -i 's|quazip-qt5|quazip5|' qonf/test.rb
+  sed -i 's|/share/pixmaps|/share/icons/hicolor/128x128/apps|' qonf/makefile.rb
+}
+
+build() {
+  cd $pkgname.desk
+  ./configure --prefix=/usr --libdir=/usr/lib --without-debug
+  make
+}
+
+package() {
+  cd $pkgname.desk
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../$pkgname.appdata.xml 
"$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+}

Added: tupitube/trunk/qt-5.15.patch
===
--- tupitube/trunk/qt-5.15.patch(rev 0)
+++ tupitube/trunk/qt-5.15.patch2020-06-17 09:50:58 UTC (rev 646330)
@@ -0,0 +1,25 @@
+diff --git a/src/components/exposure/tupexposuretable.cpp 
b/src/components/exposure/tupexposuretable.cpp
+index 53df3bb7..da4cfe9a 100644
+--- a/src/components/exposure/tupexposuretable.cpp
 b/src/components/exposure/tupexposuretable.cpp
+@@ -36,6 +36,8 @@
+ #include "tupexposuretable.h"
+ #include "tconfig.h"
+ 
++#include 
++
+ class TUPITUBE_EXPORT TupExposureVerticalHeader : public QHeaderView
+ {
+ public:
+diff --git a/src/framework/gui/tslider.cpp b/src/framework/gui/tslider.cpp
+index 206055e8..de3d13b3 100644
+--- a/src/framework/gui/tslider.cpp
 b/src/framework/gui/tslider.cpp
+@@ -38,6 +38,7 @@
+ #include "tapplicationproperties.h" 
+ 
+ #include 
++#include 
+ 
+ #ifdef TUP_DEBUG
+   #include 

Added: tupitube/trunk/tupitube.appdata.xml
===
--- tupitube/trunk/tupitube.appdata.xml (rev 0)
+++ tupitube/trunk/tupitube.appdata.xml 2020-06-17 09:50:58 UTC (rev 646330)
@@ -0,0 +1,28 @@
+
+
+  com.maefloresta.tupitube
+  tupitube.desktop
+  TupiTube Desk
+  2D Animation Toolkit
+  CC0-1.0
+  GPL-2.0
+  
+TupiTube Desk is a 2D animation tool for desktop environments focused 
on usability for children and amateur artists.
+  
+  
+
+​  
https://a.fsdn.com/con/app/proj/tupi2d/screenshots/screen01_en.png
+
+
+​  
https://a.fsdn.com/con/app/proj/tupi2d/screenshots/screen02_en.png
+
+
+​  
https://a.fsdn.com/con/app/proj/tupi2d/screenshots/screen03_en.png
+
+
+​  
https://a.fsdn.com/con/app/proj/tupi2d/screenshots/tweening-en.png
+
+  
+  https://github.com/xtingray/tupitube.desk/issues
+  https://www.maefloresta.com/
+


[arch-commits] Commit in (5 files)

2020-06-17 Thread David Runge via arch-commits
Date: Wednesday, June 17, 2020 @ 09:25:50
  Author: dvzrv
Revision: 646329

Adding openapi-generator (aka openapi-generator-cli in the AUR).

Added:
  openapi-generator/
  openapi-generator/repos/
  openapi-generator/trunk/
  openapi-generator/trunk/PKGBUILD
  openapi-generator/trunk/openapi-generator.sh

--+
 PKGBUILD |   39 +++
 openapi-generator.sh |4 
 2 files changed, 43 insertions(+)

Added: openapi-generator/trunk/PKGBUILD
===
--- openapi-generator/trunk/PKGBUILD(rev 0)
+++ openapi-generator/trunk/PKGBUILD2020-06-17 09:25:50 UTC (rev 646329)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge 
+
+pkgname=openapi-generator
+pkgver=4.3.1
+pkgrel=1
+pkgdesc="Generation of API client libraries, server stubs, documentation and 
configuration"
+arch=('any')
+url="https://github.com/openapitools/openapi-generator/;
+license=('Apache')
+depends=('bash' 'java-runtime=8')
+makedepends=('maven' 'java-environment=8' 'strip-nondeterminism')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenAPITools/${pkgname}/archive/v${pkgver}.tar.gz;
+"${pkgname}.sh")
+sha512sums=('7437a189c11f07b1b83ba232434cc45544641c65bd2cc320f94b5eff563548f934012aab2f4e2f1378ed3609cff2b9989faceefba8a9e97756f4a495e2fc9bb8'
+
'0b81955e2da12182b70366c4d8ff48d970a0edee6242a13dc657879b2e1c15205a2bfa01cbef51dd86d90e1176569a211b704d30d19b529e15ead825a89a4e9c')
+
+build() {
+  cd "$pkgname-$pkgver"
+  mvn clean install
+  # Timestamps in JAR files generated by Maven do not honour SOURCE_DATE_EPOCH
+  # (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318)
+  strip-nondeterminism --timestamp "$SOURCE_DATE_EPOCH" \
+modules/openapi-generator/target/openapi-generator-${pkgver}.jar \
+modules/openapi-generator-cli/target/openapi-generator-cli.jar \
+modules/openapi-generator-core/target/openapi-generator-core-${pkgver}.jar 
\
+
modules/openapi-generator-maven-plugin/target/openapi-generator-maven-plugin-${pkgver}.jar
 \
+modules/openapi-generator-online/target/openapi-generator-online.jar
+
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -vDm 644  
modules/openapi-generator-cli/target/openapi-generator-cli.jar \
+-t "${pkgdir}/usr/share/java/${pkgname}/"
+  install -vDm 755 "../${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
+  ln -svf "${pkgname}" "${pkgdir}/usr/bin/${pkgname}-cli"
+  install -vDm 644 scripts/openapi-generator-cli-completion.bash \
+"${pkgdir}/usr/share/bash/bash-completion/completions/openapi-generator"
+}

Added: openapi-generator/trunk/openapi-generator.sh
===
--- openapi-generator/trunk/openapi-generator.sh
(rev 0)
+++ openapi-generator/trunk/openapi-generator.sh2020-06-17 09:25:50 UTC 
(rev 646329)
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+
+PATH="/usr/lib/jvm/java-8-openjdk/bin:${PATH}"
+java -jar /usr/share/java/openapi-generator/openapi-generator-cli.jar "$@"


[arch-commits] Commit in (5 files)

2020-06-16 Thread Felix Yan via arch-commits
Date: Tuesday, June 16, 2020 @ 13:24:40
  Author: felixonmars
Revision: 646189

addpkg: deepin-qt5platform-plugins 5.0.12-1

Added:
  deepin-qt5platform-plugins/
  deepin-qt5platform-plugins/repos/
  deepin-qt5platform-plugins/trunk/
  deepin-qt5platform-plugins/trunk/PKGBUILD
  deepin-qt5platform-plugins/trunk/deepin-qt5platform-plugins-qt5.15.patch

-+
 PKGBUILD|   45 +++
 deepin-qt5platform-plugins-qt5.15.patch |  119 ++
 2 files changed, 164 insertions(+)

Added: deepin-qt5platform-plugins/trunk/PKGBUILD
===
--- deepin-qt5platform-plugins/trunk/PKGBUILD   (rev 0)
+++ deepin-qt5platform-plugins/trunk/PKGBUILD   2020-06-16 13:24:40 UTC (rev 
646189)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+pkgname=deepin-qt5platform-plugins
+pkgver=5.0.12
+pkgrel=1
+pkgdesc='Qt platform plugins for DDE'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/qt5platform-plugins;
+license=('GPL3')
+provides=('deepin-qt5dxcb-plugin')
+conflicts=('deepin-qt5dxcb-plugin')
+replaces=('deepin-qt5dxcb-plugin')
+depends=('cairo' 'kwayland' 'qt5-wayland' 'qt5-x11extras')
+makedepends=('expac' 'qt5-xcb-private-headers' 'libglvnd' 'libxcb')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5platform-plugins/archive/$pkgver.tar.gz;
+ deepin-qt5platform-plugins-qt5.15.patch)
+sha512sums=('bf2878619dda9412185107d40396c6983a39db4c0b264f0d3cd5953f3238e82d458f33824242770b3048e572b65b76241b6f711c18ed88d95a13be01ba48368b'
+
'92ef3be31a679a5df77ef6c9acf2325e7ef398eb255cdc950684e8ce2c7ecc9b4c1d9b3599bca788f06e55c984db26e94ec21094964e1719a5544dcf24df4775')
+
+prepare() {
+  cd qt5platform-plugins-$pkgver
+
+  rm -r xcb/libqt5xcbqpa-dev wayland/qtwayland-dev
+  # Disable wayland for now: 
https://github.com/linuxdeepin/qt5platform-plugins/issues/47
+  sed -i '/wayland/d' qt5platform-plugins.pro
+
+  sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += 
/usr/include/qtxcb-private|' xcb/linux.pri
+  sed -i "/qtwayland-dev/a /usr/include/qt/QtWaylandClient/$(expac %v 
qt5-wayland | cut -d - -f 1) /usr/include/qt/QtXkbCommonSupport/$(expac %v 
qt5-base | cut -d - -f 1) " wayland/wayland.pro
+
+  patch -p1 -i ../deepin-qt5platform-plugins-qt5.15.patch # Fix build with Qt 
5.15
+  # https://github.com/linuxdeepin/qt5platform-plugins/pull/48
+  sed -i 's/xcbWindow-/window-/' xcb/windoweventhook.cpp
+}
+
+build() {
+  cd qt5platform-plugins-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd qt5platform-plugins-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Added: deepin-qt5platform-plugins/trunk/deepin-qt5platform-plugins-qt5.15.patch
===
--- deepin-qt5platform-plugins/trunk/deepin-qt5platform-plugins-qt5.15.patch
(rev 0)
+++ deepin-qt5platform-plugins/trunk/deepin-qt5platform-plugins-qt5.15.patch
2020-06-16 13:24:40 UTC (rev 646189)
@@ -0,0 +1,119 @@
+diff --git a/xcb/dplatformwindowhelper.cpp b/xcb/dplatformwindowhelper.cpp
+index de4478d..a85f14e 100644
+--- a/xcb/dplatformwindowhelper.cpp
 b/xcb/dplatformwindowhelper.cpp
+@@ -35,6 +35,8 @@
+ #include 
+ #include 
+ 
++#include 
++
+ Q_DECLARE_METATYPE(QPainterPath)
+ Q_DECLARE_METATYPE(QMargins)
+ 
+@@ -511,10 +513,17 @@ bool DPlatformWindowHelper::setWindowModified(bool 
modified)
+ return me()->m_frameWindow->handle()->setWindowModified(modified);
+ }
+ 
++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ bool DPlatformWindowHelper::startSystemResize(const QPoint , Qt::Corner 
corner)
+ {
+ return me()->m_frameWindow->handle()->startSystemResize(pos, corner);
+ }
++#else
++bool DPlatformWindowHelper::startSystemResize(Qt::Edges edges)
++{
++return me()->m_frameWindow->handle()->startSystemResize(edges);
++}
++#endif
+ 
+ void DPlatformWindowHelper::setFrameStrutEventsEnabled(bool enabled)
+ {
+diff --git a/xcb/dplatformwindowhelper.h b/xcb/dplatformwindowhelper.h
+index 8d9fa14..e43809a 100644
+--- a/xcb/dplatformwindowhelper.h
 b/xcb/dplatformwindowhelper.h
+@@ -92,8 +92,12 @@ public:
+ 
+ bool setWindowModified(bool modified);
+ 
++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ bool startSystemResize(const QPoint , Qt::Corner corner);
+-
++#else
++bool startSystemResize(Qt::Edges edges);
++#endif
++
+ void setFrameStrutEventsEnabled(bool enabled);
+ bool frameStrutEventsEnabled() const;
+ 
+diff --git a/xcb/linux.pri b/xcb/linux.pri
+index 3be1e5f..59e237a 100644
+--- a/xcb/linux.pri
 b/xcb/linux.pri
+@@ -30,26 +30,37 @@ contains(QT_CONFIG, xcb-xlib)|qtConfig(xcb-xlib) {
+ DEFINES += XCB_USE_XLIB
+ QMAKE_USE += xcb_xlib
+ 
+-greaterThan(QT_MINOR_VERSION, 11) {
+-contains(QT_CONFIG, xcb-xinput)|qtConfig(xcb-xinput) {
+-DEFINES += 

[arch-commits] Commit in (5 files)

2020-06-13 Thread Balló György via arch-commits
Date: Saturday, June 13, 2020 @ 15:12:09
  Author: bgyorgy
Revision: 642868

Move pencil2d from AUR

Added:
  pencil2d/
  pencil2d/trunk/
  pencil2d/trunk/PKGBUILD
  pencil2d/trunk/pencil2d.appdata.xml
  pencil2d/trunk/qt5-5.15.patch

--+
 PKGBUILD |   34 +
 pencil2d.appdata.xml |   56 +
 qt5-5.15.patch   |   36 +++
 3 files changed, 126 insertions(+)

Added: pencil2d/trunk/PKGBUILD
===
--- pencil2d/trunk/PKGBUILD (rev 0)
+++ pencil2d/trunk/PKGBUILD 2020-06-13 15:12:09 UTC (rev 642868)
@@ -0,0 +1,34 @@
+# Maintainer: Balló György 
+# Contributor: Jakob Gahde 
+
+pkgname=pencil2d
+pkgver=0.6.4
+pkgrel=2
+pkgdesc="Easy, intuitive tool to make 2D hand-drawn animations"
+arch=(x86_64)
+url="https://www.pencil2d.org/;
+license=(GPL2)
+depends=(hicolor-icon-theme qt5-multimedia qt5-svg qt5-xmlpatterns)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pencil2d/pencil/archive/v${pkgver}.tar.gz;
+"pencil2d.appdata.xml"
+"qt5-5.15.patch")
+sha256sums=('9be6d699cb5a960af89a10ee77dce33ddfe050eb3f0327a055e13f395d92afe6'
+'8bf2cf68f0ca45a153e36d36defeb1f4602ec821bebb48dca8b8e6b4691f2eb8'
+'c148c3ac06cd9851c3ee032b3693dcf014097f96c21bbc5431b64ace40aff246')
+
+prepare() {
+  cd pencil-$pkgver
+  patch -Np1 -i ../qt5-5.15.patch
+}
+
+build() {
+  cd pencil-$pkgver
+  qmake PREFIX=/usr
+  make
+}
+
+package() {
+  cd pencil-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+  install -Dm644 ../pencil2d.appdata.xml 
"$pkgdir/usr/share/metainfo/pencil2d.appdata.xml"
+}

Added: pencil2d/trunk/pencil2d.appdata.xml
===
--- pencil2d/trunk/pencil2d.appdata.xml (rev 0)
+++ pencil2d/trunk/pencil2d.appdata.xml 2020-06-13 15:12:09 UTC (rev 642868)
@@ -0,0 +1,56 @@
+
+
+  org.pencil2d.Pencil2D
+  pencil2d.desktop
+  Pencil2D
+  The Pencil2D Team
+  CC0-1.0
+  GPL-2.0
+  2D animation software supporting bitmap and vector 
graphics
+  
+
+  Pencil2D is a 2D animation program that lets you easily create
+  hand-drawn graphics using both bitmap and vector graphics.
+
+  
+  https://www.pencil2d.org/
+  https://github.com/pencil2d/pencil/issues
+  https://www.pencil2d.org/doc/faq.html
+  https://www.pencil2d.org/doc/
+  https://www.transifex.com/pencil2d/pencil2d/
+  https://www.pencil2d.org/community/
+  
+
+  https://www.pencil2d.org/images/pencil2d-linux.png
+
+  
+  
+  
+
+  https://www.pencil2d.org/2019/05/pencil2d-0.6.4-release.html
+
+
+  https://www.pencil2d.org/2019/03/pencil2d-0.6.3-release.html
+
+
+  https://www.pencil2d.org/2018/09/maintenance-release-0.6.2.html
+
+
+
+  https://www.pencil2d.org/2018/04/maintenance-release-0.6.1.html
+
+
+  https://www.pencil2d.org/2017/12/introducing-pencil2d-0.6.html
+
+
+
+  
+  
+pencil2d
+  
+  
+pointing
+keyboard
+console
+  
+

Added: pencil2d/trunk/qt5-5.15.patch
===
--- pencil2d/trunk/qt5-5.15.patch   (rev 0)
+++ pencil2d/trunk/qt5-5.15.patch   2020-06-13 15:12:09 UTC (rev 642868)
@@ -0,0 +1,36 @@
+diff --git a/core_lib/src/graphics/bitmap/bitmapimage.cpp 
b/core_lib/src/graphics/bitmap/bitmapimage.cpp
+index 61b41df7e..90b2344ac 100644
+--- a/core_lib/src/graphics/bitmap/bitmapimage.cpp
 b/core_lib/src/graphics/bitmap/bitmapimage.cpp
+@@ -20,6 +20,7 @@ GNU General Public License for more details.
+ #include 
+ #include 
+ #include 
++#include 
+ #include "util.h"
+ 
+ BitmapImage::BitmapImage()
+diff --git a/core_lib/src/graphics/vector/beziercurve.cpp 
b/core_lib/src/graphics/vector/beziercurve.cpp
+index 3d38f779b..f0641c26a 100644
+--- a/core_lib/src/graphics/vector/beziercurve.cpp
 b/core_lib/src/graphics/vector/beziercurve.cpp
+@@ -22,6 +22,7 @@ GNU General Public License for more details.
+ 
+ #include 
+ #include 
++#include 
+ #include "object.h"
+ #include "pencilerror.h"
+ 
+diff --git a/core_lib/src/managers/viewmanager.cpp 
b/core_lib/src/managers/viewmanager.cpp
+index 4da36600a..e8d672d43 100644
+--- a/core_lib/src/managers/viewmanager.cpp
 b/core_lib/src/managers/viewmanager.cpp
+@@ -15,6 +15,7 @@ GNU General Public License for more details.
+ 
+ */
+ 
++#include 
+ #include "viewmanager.h"
+ #include "editor.h"
+ #include "object.h"


[arch-commits] Commit in (5 files)

2020-06-03 Thread David Runge via arch-commits
Date: Wednesday, June 3, 2020 @ 19:07:24
  Author: dvzrv
Revision: 638497

Adding vim-editorconfig.

Added:
  vim-editorconfig/
  vim-editorconfig/repos/
  vim-editorconfig/trunk/
  vim-editorconfig/trunk/PKGBUILD
  vim-editorconfig/trunk/vim-editorconfig-1.1.1-tests.patch

+
 PKGBUILD   |   58 +++
 vim-editorconfig-1.1.1-tests.patch |  129 +++
 2 files changed, 187 insertions(+)

Added: vim-editorconfig/trunk/PKGBUILD
===
--- vim-editorconfig/trunk/PKGBUILD (rev 0)
+++ vim-editorconfig/trunk/PKGBUILD 2020-06-03 19:07:24 UTC (rev 638497)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge 
+
+_name=editorconfig
+_tests_commit=cb7ae15d16ab3d72a1139f7a629b11cfe16d972f
+pkgname=vim-editorconfig
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="EditorConfig plugin for Vim"
+arch=('any')
+url="https://github.com/editorconfig/editorconfig-vim;
+license=('BSD' 'CCPL' 'PSF')
+groups=('vim-plugins')
+depends=('editorconfig-core-c')
+checkdepends=('ruby-rake' 'ruby-rspec' 'ruby-vimrunner' 'xorg-server-xvfb')
+provides=('editorconfig-vim')
+conflicts=('editorconfig-vim')
+replaces=('editorconfig-vim')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${_name}/${_name}-vim/archive/v${pkgver}.tar.gz;
+
"${pkgname}-tests-${_tests_commit}.tar.gz::https://github.com/editorconfig/editorconfig-plugin-tests/archive/${_tests_commit}.tar.gz;
+"${pkgname}-1.1.1-tests.patch")
+sha512sums=('7b94db4b2f641ecd2d2623bf55bf9b457c007b2b5c8553cba5b7a75bc34823d6995d3c9ed13febe0f59de6f87c52eb0367591213c43c6fcd7c331c529126f4d6'
+
'0f003fbe538c03bc18fcda9c2f6f20d4f6c451b22f7957806487792bffe529ab5dd608a2b602f895f61b3c442237b2640918c7052b49f19b68297964d3db227c'
+
'7147a4d0e1ad5604e045228229919559426aede27086e12bc9415c048af47038fcaa9380a1de6185dcd650417ebe088bb92140c4bb3185cc1aed32481deac1de')
+
+prepare() {
+  mv -v "${_name}-vim-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  mv -v "../${_name}-plugin-tests-${_tests_commit}/"* 
tests/plugin/spec/plugin_tests
+  # some test files are seemingly missing:
+  # https://github.com/editorconfig/editorconfig-vim/issues/150
+  patch -Np1 -i "../${pkgname}-1.1.1-tests.patch"
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export EDITORCONFIG_VIM_EXTERNAL_CORE=/usr/bin/editorconfig
+  export DISPLAY=:99.0
+  xvfb-run rspec tests/plugin/spec/editorconfig_spec.rb
+}
+
+package() {
+  # gvim, pulled in by ruby-vimrunner conflicts with vim
+  depends+=('vim')
+  cd "$pkgname-$pkgver"
+  # plugin files
+  install -vDm 644 "autoload/${_name}"{,_core}.vim \
+-t "${pkgdir}/usr/share/vim/vimfiles/autoload"
+  install -vDm 644 "autoload/${_name}_core/"*.vim \
+-t "${pkgdir}/usr/share/vim/vimfiles/autoload/${_name}_core"
+  install -vDm 644 "doc/${_name}.txt" -t "${pkgdir}/usr/share/vim/vimfiles/doc"
+  install -vDm 644 "plugin/${_name}.vim" \
+-t "${pkgdir}/usr/share/vim/vimfiles/plugin"
+  # docs
+  install -vDm 644 {CONTRIBUTORS,README.md} \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+  # license
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Added: vim-editorconfig/trunk/vim-editorconfig-1.1.1-tests.patch
===
--- vim-editorconfig/trunk/vim-editorconfig-1.1.1-tests.patch   
(rev 0)
+++ vim-editorconfig/trunk/vim-editorconfig-1.1.1-tests.patch   2020-06-03 
19:07:24 UTC (rev 638497)
@@ -0,0 +1,129 @@
+diff -ruN a/tests/plugin/spec/editorconfig_spec.rb 
b/tests/plugin/spec/editorconfig_spec.rb
+--- a/tests/plugin/spec/editorconfig_spec.rb   2020-06-02 03:15:12.0 
+0200
 b/tests/plugin/spec/editorconfig_spec.rb   2020-06-03 20:40:18.039124754 
+0200
+@@ -30,14 +30,14 @@
+   vim.kill
+ end
+ 
+-describe '#all' do
+-  it '3_space.py' do
+-test_editorconfig vim, '3_space.txt',
+-  expandtab: '1',
+-  shiftwidth: '3',
+-  tabstop: '3'
+-  end
+-end
++#describe '#all' do
++#  it '3_space.py' do
++#test_editorconfig vim, '3_space.txt',
++#  expandtab: '1',
++#  shiftwidth: '3',
++#  tabstop: '3'
++#  end
++#end
+ 
+ it '4_space.py' do
+   test_editorconfig vim, '4_space.py',
+@@ -76,55 +76,55 @@
+ fileformat: 'unix'
+ end
+ 
+-it 'crlf.txt' do
+-  test_editorconfig vim, 'crlf.txt',
+-fileformat: 'dos'
+-end
+-
+-it 'cr.txt' do
+-  test_editorconfig vim, 'cr.txt',
+-fileformat: 'mac'
+-end
+-
+-it 'utf-8.txt' do
+-  test_editorconfig vim, 'utf-8.txt',
+-fileencoding: 'utf-8',
+-bomb: '0'
+-end
+-
+-it 'utf-8-bom.txt' do
+-  test_editorconfig vim, 'utf-8-bom.txt',
+-fileencoding: 'utf-8',
+-bomb: '1'
+-end
+-
+-it 'utf-16be.txt' do

[arch-commits] Commit in (5 files)

2020-06-01 Thread Konstantin Gizdov via arch-commits
Date: Monday, June 1, 2020 @ 09:15:04
  Author: kgizdov
Revision: 637800

Initial release

Added:
  python-cpplint/
  python-cpplint/repos/
  python-cpplint/trunk/
  python-cpplint/trunk/PKGBUILD
Modified:
  root/trunk/PKGBUILD

---+
 python-cpplint/trunk/PKGBUILD |   36 
 root/trunk/PKGBUILD   |2 +-
 2 files changed, 37 insertions(+), 1 deletion(-)

Added: python-cpplint/trunk/PKGBUILD
===
--- python-cpplint/trunk/PKGBUILD   (rev 0)
+++ python-cpplint/trunk/PKGBUILD   2020-06-01 09:15:04 UTC (rev 637800)
@@ -0,0 +1,36 @@
+# Maintainer: Konstantin Gizdov 
+# Contributor: Jason Papakostas 
+# Contributor: Liganic 
+_pkgname='cpplint'
+pkgname="python-${_pkgname}"
+pkgver='1.5.0'
+pkgrel=2
+pkgdesc="Command-line tool to check C/C++ files for style issues following 
Google's C++ style guide."
+arch=('any')
+url='https://github.com/cpplint/cpplint'
+license=('custom:BSD3')
+depends=('python')
+provides=('cpplint' 'cpplint-py3')
+replaces=('cpplint-py3')
+conflicts=('cpplint')
+checkdepends=('python-pytest' 'python-pytest-cov')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('20c440f6fe612180e79ee370b85f56a66b177fd122ad7e2cb911527857dae4ad')
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python setup.py test
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  install -Dm755 "cpplint.py" "${pkgdir}/usr/bin/${_pkgname}"
+  install -Dm644 "README.rst" "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Modified: root/trunk/PKGBUILD
===
--- root/trunk/PKGBUILD 2020-06-01 08:28:54 UTC (rev 637799)
+++ root/trunk/PKGBUILD 2020-06-01 09:15:04 UTC (rev 637800)
@@ -7,7 +7,7 @@
 pkgbase=root
 pkgname=('root' 'root-cuda')
 pkgver=6.20.04
-pkgrel=6
+pkgrel=7
 pkgdesc='C++ data analysis framework and interpreter from CERN'
 arch=('x86_64')
 url='https://root.cern'


[arch-commits] Commit in (5 files)

2020-05-26 Thread David Runge via arch-commits
Date: Tuesday, May 26, 2020 @ 17:41:51
  Author: dvzrv
Revision: 387589

Adding gnu-efi (replacing/renaming gnu-efi-libs).

Added:
  gnu-efi/
  gnu-efi/repos/
  gnu-efi/trunk/
  gnu-efi/trunk/PKGBUILD
  gnu-efi/trunk/gnu-efi-3.0.12-ldflags.patch

--+
 PKGBUILD |   45 +
 gnu-efi-3.0.12-ldflags.patch |   12 ++
 2 files changed, 57 insertions(+)

Added: gnu-efi/trunk/PKGBUILD
===
--- gnu-efi/trunk/PKGBUILD  (rev 0)
+++ gnu-efi/trunk/PKGBUILD  2020-05-26 17:41:51 UTC (rev 387589)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge 
+
+pkgname=gnu-efi
+pkgver=3.0.12
+pkgrel=1
+pkgdesc="Develop EFI applications using the GNU toolchain and the EFI 
development environment"
+arch=('x86_64')
+url="https://sourceforge.net/projects/gnu-efi/;
+license=('BSD')
+conflicts=('gnu-efi-libs')
+provides=('gnu-efi-libs')
+replaces=('gnu-efi-libs')
+source=("https://download.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2;
+"${pkgname}-3.0.12-ldflags.patch")
+sha512sums=('cbec6f6e37271c22c71e3ce44d3579e48e7f3b797ec3946f56eb843ed3e472722763c566fc3b749f0c692ab6cb26e8909bb258cd164771a5b1eeff5c7cd51368'
+
'7fd1c8d09ff870c33ae62887b657a7367f85a07f6709d33471ca13117a08e755853fd1e99db492d1db47444b95ae871078c4a913ed70aa7236e49349046e06b6')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # -Werror, not even once
+  sed -e 's/-Werror//g' -i Make.defaults
+  # insert LDFLFAGS into custom linker for apps
+  patch -Np1 -i "../${pkgname}-3.0.12-ldflags.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make
+  make -C lib
+  make -C gnuefi
+  make -C inc
+  # unset LDFLAGS for custom linker used in apps, as we have patched our
+  # LDFLAGS in manually in prepare()
+  LDFLAGS=""
+  make -C apps
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make INSTALLROOT="$pkgdir/" PREFIX='/usr' install
+  install -vDm 644 apps/*.efi -t "${pkgdir}/usr/share/${pkgname}/apps/$CARCH"
+  install -vDm 644 README.efilib -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {ChangeLog,README.{gnuefi,git,elilo}} \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: gnu-efi/trunk/gnu-efi-3.0.12-ldflags.patch
===
--- gnu-efi/trunk/gnu-efi-3.0.12-ldflags.patch  (rev 0)
+++ gnu-efi/trunk/gnu-efi-3.0.12-ldflags.patch  2020-05-26 17:41:51 UTC (rev 
387589)
@@ -0,0 +1,12 @@
+diff -ruN a/apps/Makefile b/apps/Makefile
+--- a/apps/Makefile2020-05-11 17:05:20.0 +0200
 b/apps/Makefile2020-05-26 00:32:48.470418674 +0200
+@@ -52,7 +52,7 @@
+ LDSCRIPT  = $(TOPDIR)/gnuefi/elf_$(ARCH)_fbsd_efi.lds
+ endif
+ 
+-LDFLAGS   += -shared -Bsymbolic -L../lib -L../gnuefi $(CRTOBJS)
++LDFLAGS   += -O1 --sort-common --as-needed -z relro -z now 
-shared -Bsymbolic -L../lib -L../gnuefi $(CRTOBJS)
+ 
+ LOADLIBES += -lefi -lgnuefi
+ LOADLIBES += $(LIBGCC)


[arch-commits] Commit in (5 files)

2020-05-09 Thread Alexander Rødseth via arch-commits
Date: Saturday, May 9, 2020 @ 16:20:47
  Author: arodseth
Revision: 626000

Add global from AUR (129 votes)

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

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

Added: global/trunk/PKGBUILD
===
--- global/trunk/PKGBUILD   (rev 0)
+++ global/trunk/PKGBUILD   2020-05-09 16:20:47 UTC (rev 626000)
@@ -0,0 +1,63 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Fredy García 
+# Contributor: Randy Ramos 
+# Contributor: Peter Vasil 
+# Contributor: Lucas De Marchi 
+# Contributor: Matthias Meulien 
+
+pkgname=global
+pkgver=6.6.4
+pkgrel=1
+pkgdesc='Source code tag system'
+arch=(x86_64)
+url='https://www.gnu.org/software/global/'
+license=(GPL)
+depends=(bash libltdl perl python sqlite)
+optdepends=(ctags emacs idutils python-pygments vim)
+options=(!emptydirs !libtool)
+source=("https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz;)
+sha256sums=('987e8cb956c53f8ebe4453b778a8fde2037b982613aba7f3e8e74bcd05312594')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  sed -i 's/\.la/.so/g' gtags.conf.in
+
+  # Rename lid to lid-idutils to avoid a name collision with idutils from AUR
+  sed -i 's/usable("lid")/usable("lid-idutils")/g' "$pkgname/$pkgname.c"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  autoreconf -fi
+  ./configure \
+--prefix=/usr \
+--with-exuberant-ctags=/usr/bin/ctags \
+--with-sqlite3
+  make
+}
+
+check() {
+  make -C "$pkgname-$pkgver" -k check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  # Package the emacs script
+  install -d "$pkgdir/usr/share/emacs/site-lisp"
+  mv "$pkgdir/usr/share/gtags/gtags.el" \
+"$pkgdir/usr/share/emacs/site-lisp/gtags.el"
+
+  # Package the vim scripts
+  install -d "$pkgdir/usr/share/vim/vimfiles/plugin"
+  mv "$pkgdir/usr/share/gtags/gtags.vim" \
+"$pkgdir/usr/share/vim/vimfiles/plugin/gtags.vim"
+  mv "$pkgdir/usr/share/gtags/gtags-cscope.vim" \
+"$pkgdir/usr/share/vim/vimfiles/plugin/gtags-cscope.vim"
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in (5 files)

2020-05-07 Thread David Runge via arch-commits
Date: Thursday, May 7, 2020 @ 22:27:43
  Author: dvzrv
Revision: 625502

Adding oscpack for amsynth.

Added:
  oscpack/
  oscpack/repos/
  oscpack/trunk/
  oscpack/trunk/PKGBUILD
  oscpack/trunk/oscpack-1.1.0-makefile.patch

--+
 PKGBUILD |   35 +++
 oscpack-1.1.0-makefile.patch |   41 +
 2 files changed, 76 insertions(+)

Added: oscpack/trunk/PKGBUILD
===
--- oscpack/trunk/PKGBUILD  (rev 0)
+++ oscpack/trunk/PKGBUILD  2020-05-07 22:27:43 UTC (rev 625502)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge 
+
+_version=1_1_0
+pkgname=oscpack
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Open Sound Control packet manipulation library"
+arch=('x86_64')
+url="https://github.com/RossBencina/oscpack;
+license=('GPL')
+depends=('gcc-libs' 'glibc')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/RossBencina/${pkgname}/archive/release_${_version}.tar.gz;
+"$pkgname-1.1.0-makefile.patch")
+sha512sums=('7a61a364cab4914c81e113d7aeee2b4accf5e560f500df6634232e0093f564ed4bb0ef8e87d2c8a18f245b0c7ec25f41e64f42f20a6654c22bb5c02aa253bbd0'
+
'6a092a5eae7c52001175b59cb86bbbce0a8d565730edf38d8bcd18ed30ae1a0de4766a735a4a5702fa4210355b884a6f28991bfcba31b17be403d5c553c08b2c')
+
+prepare() {
+  mv -v "$pkgname-release_${_version}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # fixing makefile to include -fPIC when compiling, honoring LDFLAGS during
+  # linking and using DESTDIR during install
+  patch -Np1 -i "../$pkgname-1.1.0-makefile.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make PREFIX=/usr
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" PREFIX=/usr install
+  install -vDm 644 {CHANGES,README,TODO} \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: oscpack/trunk/oscpack-1.1.0-makefile.patch
===
--- oscpack/trunk/oscpack-1.1.0-makefile.patch  (rev 0)
+++ oscpack/trunk/oscpack-1.1.0-makefile.patch  2020-05-07 22:27:43 UTC (rev 
625502)
@@ -0,0 +1,41 @@
+diff -ruN a/Makefile b/Makefile
+--- a/Makefile 2013-04-09 03:53:29.0 +0200
 b/Makefile 2020-05-07 23:35:37.658428769 +0200
+@@ -16,7 +16,7 @@
+ 
+ CXX := g++
+ INCLUDES := -I.
+-COPTS  := -Wall -Wextra -O3
++COPTS  := -Wall -Wextra -O3 -fPIC
+ CDEBUG := -Wall -Wextra -g 
+ CXXFLAGS := $(COPTS) $(INCLUDES) -D$(ENDIANESS)
+ 
+@@ -111,23 +111,18 @@
+   $(CXX) -dynamiclib -Wl,-install_name,$(LIBSONAME) -o $(LIBFILENAME) 
$(LIBOBJECTS) -lc
+ else
+   #GNU/Linux case
+-  $(CXX) -shared -Wl,-soname,$(LIBSONAME) -o $(LIBFILENAME) $(LIBOBJECTS) 
-lc
++  $(CXX) -shared -Wl,-soname,$(LIBSONAME) -o $(LIBFILENAME) $(LIBOBJECTS) 
-lc $(LDFLAGS)
+ endif
+ 
+ lib: $(LIBFILENAME)
+ 
+ #Installs the library on a system global location
+ install: $(LIBFILENAME)
+-  @$(INSTALL) -m 755 $(LIBFILENAME) $(PREFIX)/lib/$(LIBFILENAME)
+-  @ln -s -f $(PREFIX)/lib/$(LIBFILENAME) $(PREFIX)/lib/$(LIBSONAME) 
+-  @mkdir  -p $(PREFIX)/include/oscpack/ip $(PREFIX)/include/oscpack/osc
+-  @$(INSTALL) -m 644 ip/*.h $(PREFIX)/include/oscpack/ip
+-  @$(INSTALL) -m 644 osc/*.h $(PREFIX)/include/oscpack/osc
++  @$(INSTALL) -vDm 755 $(LIBFILENAME) 
$(DESTDIR)/$(PREFIX)/lib/$(LIBFILENAME)
++  @ln -sfv $(LIBFILENAME) $(DESTDIR)/$(PREFIX)/lib/$(LIBSONAME)
++  @$(INSTALL) -vDm 644 ip/*.h -t $(DESTDIR)/$(PREFIX)/include/oscpack/ip
++  @$(INSTALL) -vDm 644 osc/*.h -t $(DESTDIR)/$(PREFIX)/include/oscpack/osc
+   @echo "SUCCESS! oscpack has been installed in $(PREFIX)/lib and 
$(PREFIX)/include/ospack/"
+-ifneq ($(UNAME), Darwin)
+-  @echo "now doing ldconfig..."
+-  @ldconfig
+-endif
+ 
+ #Installs the include/lib structure locally
+ install-local: $(LIBFILENAME)


[arch-commits] Commit in (5 files)

2020-05-03 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, May 3, 2020 @ 20:33:49
  Author: svenstaro
Revision: 624642

Move rofi-calc from AUR

Added:
  rofi-calc/
  rofi-calc/repos/
  rofi-calc/trunk/
  rofi-calc/trunk/PKGBUILD
  rofi-calc/trunk/rofi-calc.install

---+
 PKGBUILD  |   38 ++
 rofi-calc.install |7 +++
 2 files changed, 45 insertions(+)

Added: rofi-calc/trunk/PKGBUILD
===
--- rofi-calc/trunk/PKGBUILD(rev 0)
+++ rofi-calc/trunk/PKGBUILD2020-05-03 20:33:49 UTC (rev 624642)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase 
+
+pkgname=rofi-calc
+pkgver=1.7
+pkgrel=1
+pkgdesc="Do calculations in rofi"
+arch=('x86_64')
+url="https://github.com/svenstaro/rofi-calc;
+license=(MIT)
+depends=('rofi' 'libqalculate')
+install=$pkgname.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/svenstaro/rofi-calc/archive/v${pkgver}.tar.gz)
+sha512sums=('e05b13b059f759718b8b8dd7b1592d6b0a469eb1e1c84f50de80b7d5e16182c75f4676278d4e0cb9c29f3fed418ccdd2bae144c259fdfb9fc7d54f1500aa20a5')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  autoreconf -i
+  rm -rf build
+  mkdir build
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver/build"
+
+  ../configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver/build"
+
+  make DESTDIR="$pkgdir/" install
+
+  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Added: rofi-calc/trunk/rofi-calc.install
===
--- rofi-calc/trunk/rofi-calc.install   (rev 0)
+++ rofi-calc/trunk/rofi-calc.install   2020-05-03 20:33:49 UTC (rev 624642)
@@ -0,0 +1,7 @@
+post_upgrade() {
+echo "Recommended way to launching rofi-calc: rofi -show calc -modi calc 
-no-show-match -no-sort"
+}
+
+post_install() {
+post_upgrade
+}


[arch-commits] Commit in (5 files)

2020-04-21 Thread Konstantin Gizdov via arch-commits
Date: Tuesday, April 21, 2020 @ 13:43:58
  Author: kgizdov
Revision: 617360

initial release

Added:
  wakatime/
  wakatime/repos/
  wakatime/trunk/
  wakatime/trunk/PKGBUILD
  wakatime/trunk/literal_comparison.patch

--+
 PKGBUILD |   34 ++
 literal_comparison.patch |   12 
 2 files changed, 46 insertions(+)

Added: wakatime/trunk/PKGBUILD
===
--- wakatime/trunk/PKGBUILD (rev 0)
+++ wakatime/trunk/PKGBUILD 2020-04-21 13:43:58 UTC (rev 617360)
@@ -0,0 +1,34 @@
+# Maintainer: Konstantin Gizdov 
+# Contributor: Eric Berquist 
+# Contributor: Siôn le Roux 
+
+pkgname=wakatime
+pkgver=13.0.7
+pkgrel=3
+pkgdesc="Command line interface used by all WakaTime text editor plugins"
+arch=('any')
+url="https://github.com/${pkgname}/${pkgname};
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz;
+'literal_comparison.patch')
+sha256sums=('d75738130a8c982b0bf8ce20601a7fc86cf3b4bf00d3662dee260eb2b07d826a'
+'ef526daab8b9656b33893bbeb43d9e9d96ad81a01446bbe0d3035170a7b80163')
+
+prepare () {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i "${srcdir}/literal_comparison.patch"
+}
+
+build () {
+  cd "$srcdir/$pkgname-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/
+}

Added: wakatime/trunk/literal_comparison.patch
===
--- wakatime/trunk/literal_comparison.patch (rev 0)
+++ wakatime/trunk/literal_comparison.patch 2020-04-21 13:43:58 UTC (rev 
617360)
@@ -0,0 +1,12 @@
+diff -aur --color wakatime-13.0.7-old/wakatime/packages/tzlocal/unix.py 
wakatime-13.0.7-new/wakatime/packages/tzlocal/unix.py
+--- wakatime-13.0.7-old/wakatime/packages/tzlocal/unix.py  2020-02-13 
19:11:46.0 +0200
 wakatime-13.0.7-new/wakatime/packages/tzlocal/unix.py  2020-04-21 
16:25:15.100231033 +0300
+@@ -97,7 +97,7 @@
+ if os.path.exists(tzpath) and os.path.islink(tzpath):
+ tzpath = os.path.realpath(tzpath)
+ start = tzpath.find("/")+1
+-while start is not 0:
++while start != 0:
+ tzpath = tzpath[start:]
+ try:
+ return pytz.timezone(tzpath)


[arch-commits] Commit in (5 files)

2020-04-16 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, April 17, 2020 @ 03:56:04
  Author: yan12125
Revision: 615400

python-django-fake-model: new package, dependency of the latest 
python-aws-xray-sdk version

Added:
  python-django-fake-model/
  python-django-fake-model/repos/
  python-django-fake-model/trunk/
  python-django-fake-model/trunk/PKGBUILD
  python-django-fake-model/trunk/django2.diff

--+
 PKGBUILD |   47 +++
 django2.diff |   46 ++
 2 files changed, 93 insertions(+)

Added: python-django-fake-model/trunk/PKGBUILD
===
--- python-django-fake-model/trunk/PKGBUILD (rev 0)
+++ python-django-fake-model/trunk/PKGBUILD 2020-04-17 03:56:04 UTC (rev 
615400)
@@ -0,0 +1,47 @@
+# Maintainer: Chih-Hsuan Yen 
+
+_pkgname=django-fake-model
+pkgname=python-$_pkgname
+pkgver=0.1.4
+pkgrel=1
+pkgdesc='Simple library for creating fake Django models in the unit tests'
+arch=(any)
+url='https://github.com/erm0l0v/django-fake-model'
+license=(BSD)
+makedepends=(python-setuptools)
+depends=(python-django)
+# Not using PyPI source tarball as it does not include tests
+source=("https://github.com/erm0l0v/django-fake-model/archive/$pkgver/$pkgname-$pkgver.tar.gz;
+django2.diff)
+sha256sums=('cce30e32dc73a0b6280511cb92079755308a4b79fbfebda48fc55c48230b1d60'
+'ffc0baaacf4a0b507ef99fc0975166cb2a36dde061a2be72e91959157183889d')
+
+prepare() {
+  cd $_pkgname-$pkgver
+  # Fix compatibility with newer Django
+  # 1. on_delete is required for ForeignKey since 2.0 [1]
+  # 2. Failure in toggling off foreign_keys are reported since 2.2 [2].
+  #The underlying cause is that django.test.TestCase puts the whole test
+  #in a transaction, and toggling foreign_keys in a transaction is not
+  #supported in SQLite. Use django.test.TransactionTestCase to work
+  #around it.
+  # [1] 
https://github.com/django/django/commit/ddd3268975dca9094d94ab1df56dae0a24a58865
+  # [2] 
https://github.com/django/django/commit/315357ad25a6590e7f4564ec2e56a22132b09001
+  patch -Np1 -i ../django2.diff
+}
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  python runtests.py tests
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Added: python-django-fake-model/trunk/django2.diff
===
--- python-django-fake-model/trunk/django2.diff (rev 0)
+++ python-django-fake-model/trunk/django2.diff 2020-04-17 03:56:04 UTC (rev 
615400)
@@ -0,0 +1,46 @@
+diff --git a/tests/test_class_extension.py b/tests/test_class_extension.py
+index 066283a..09662d2 100644
+--- a/tests/test_class_extension.py
 b/tests/test_class_extension.py
+@@ -1,10 +1,10 @@
+ from __future__ import unicode_literals
+-from django.test import TestCase
++from django.test import TransactionTestCase
+ from tests.fake_models import MyFakeModel
+ 
+ 
+ @MyFakeModel.fake_me
+-class MyFakeModelTests(TestCase):
++class MyFakeModelTests(TransactionTestCase):
+ 
+ def test_create_model(self):
+ MyFakeModel.objects.create(name='123')
+diff --git a/tests/test_func_decorator.py b/tests/test_func_decorator.py
+index 4394e7c..37a05fa 100644
+--- a/tests/test_func_decorator.py
 b/tests/test_func_decorator.py
+@@ -1,9 +1,9 @@
+ from __future__ import unicode_literals
+-from django.test import TestCase
++from django.test import TransactionTestCase
+ from tests.fake_models import MyFakeModel
+ 
+ 
+-class MyFakeModelTests(TestCase):
++class MyFakeModelTests(TransactionTestCase):
+ 
+ @MyFakeModel.fake_me
+ def test_create_model(self):
+diff --git a/tests/test_related_model.py b/tests/test_related_model.py
+index 4184a68..5be0ad6 100644
+--- a/tests/test_related_model.py
 b/tests/test_related_model.py
+@@ -11,7 +11,7 @@ class RelatedModel(f.FakeModel):
+ 
+ class MyModel(f.FakeModel):
+ text = models.CharField(max_length=400)
+-related_model = models.ForeignKey(RelatedModel)
++related_model = models.ForeignKey(RelatedModel, on_delete=models.CASCADE)
+ 
+ 
+ @MyModel.fake_me


[arch-commits] Commit in (5 files)

2020-04-12 Thread Filipe Laíns via arch-commits
Date: Sunday, April 12, 2020 @ 20:36:01
  Author: ffy00
Revision: 613476

updpkg: sigdigger 0.1.0-1

Added:
  sigdigger/
  sigdigger/repos/
  sigdigger/trunk/
  sigdigger/trunk/PKGBUILD
Deleted:
  sigdigger/

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

Added: sigdigger/trunk/PKGBUILD
===
--- sigdigger/trunk/PKGBUILD(rev 0)
+++ sigdigger/trunk/PKGBUILD2020-04-12 20:36:01 UTC (rev 613476)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) 
+
+pkgname=sigdigger
+_pkgname=SigDigger
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Qt-based digital signal analyzer, using Suscan core and Sigutils DSP 
library'
+arch=('x86_64')
+url='https://github.com/BatchDrake/SigDigger'
+license=('GPL3')
+depends=('qt5-base' 'sigutils' 'suscan' 'suwidgets' 'alsa-lib')
+makedepends=('qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('2bd84ae0aca4f89f19a756e8cb5cae34e0f91cfb0df94bef58079edbebc1133ec5e9c620c8bd394e757237c30a72a67c691991c48317cd952dc17df95f141dd8')
+
+build() {
+  mkdir $_pkgname-$pkgver/build
+  cd $_pkgname-$pkgver/build
+
+  qmake SIGDIGGER_PREFIX=/usr ../SigDigger.pro
+
+  make
+}
+
+package() {
+  cd $_pkgname-$pkgver/build
+
+  make INSTALL_ROOT="$pkgdir" install
+}
+


[arch-commits] Commit in (5 files)

2020-04-10 Thread Konstantin Gizdov via arch-commits
Date: Friday, April 10, 2020 @ 15:14:14
  Author: kgizdov
Revision: 613108

initial upload

Added:
  python-tensorboard_plugin_wit/
  python-tensorboard_plugin_wit/repos/
  python-tensorboard_plugin_wit/trunk/
  python-tensorboard_plugin_wit/trunk/PKGBUILD
  python-tensorboard_plugin_wit/trunk/src/

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

Added: python-tensorboard_plugin_wit/trunk/PKGBUILD
===
--- python-tensorboard_plugin_wit/trunk/PKGBUILD
(rev 0)
+++ python-tensorboard_plugin_wit/trunk/PKGBUILD2020-04-10 15:14:14 UTC 
(rev 613108)
@@ -0,0 +1,58 @@
+# Maintainer: Konstantin Gizdov 
+
+pkgbase=python-tensorboard_plugin_wit
+pkgname=(python-tensorboard_plugin_wit python-witwidget)
+_pkgbase=tensorboard_plugin_wit
+pkgdesc='The What-If Tool (WIT): An easy-to-use interface for expanding 
understanding of a black-box classification or regression ML model.'
+url='https://pair-code.github.io/what-if-tool'
+license=('Apache')
+pkgver=1.6.0
+pkgrel=1
+arch=('any')
+source=("${_pkgbase}-${pkgver}::git+https://github.com/PAIR-code/what-if-tool#commit=2cee8a42598cb2342a04577d583ce1985a794edd;)
+_common_depends=('jupyter' 'python-google-api-python-client' 
'python-ipywidgets')
+makedepends=('bazel' 'git' 'npm' 'python-virtualenv' 'python-pip' 
"${_common_depends[@]}")
+depends=('python-werkzeug' 'tensorboard')
+sha256sums=('SKIP')
+
+get_pyver () {
+python -c 'import sys; print(str(sys.version_info[0]) + "." + 
str(sys.version_info[1]))'
+}
+
+prepare() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  sed -e 's@/tmp/wit-pip@${BUILD_WORKSPACE_DIRECTORY}/wit-pip@g' -i \
+tensorboard_plugin_wit/pip_package/build_pip_package.sh \
+witwidget/pip_package/build_pip_package.sh
+}
+
+build() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  bazel --output_user_root "${srcdir}/build-plugin" run 
tensorboard_plugin_wit/pip_package:build_pip_package
+
+  cd "${srcdir}/${_pkgbase}-${pkgver}"  
+  bazel --output_user_root "${srcdir}/build-witwidget" run 
witwidget/pip_package:build_pip_package
+}
+
+package_python-tensorboard_plugin_wit() {
+  provides=('tensorboard_plugin_wit')
+  optdepends=('tensorflow-serving-api: TensorFlow Classification, Regression, 
or Predict APIs')
+  local _pyver="$(get_pyver)"
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" 
--ignore-installed --no-deps 
wit-pip/release/dist/tensorboard_plugin_wit-${pkgver}-py3*.whl
+}
+package_python-witwidget() {
+  pkgdesc='What-If Tool Notebook Widget.'
+  provides=('witwidget' 'witwidget-gpu')
+  depends=("${_common_depends[@]}" 'python-tensorboard_plugin_wit')
+  optdepends=(
+'python-tensorflow-serving-api: browse model thorugh TensorFlow Serving 
API'
+'python-tensorflow-estimator: browse model as a TensorFlow Estimator 
feature spec'
+  )
+  local _pyver="$(get_pyver)"
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" 
--ignore-installed --no-deps wit-pip/release/dist/witwidget-${pkgver}-py3*.whl
+  rm -rf "${pkgdir}/usr/lib/python${_pyver}/site-packages/${_pkgbase}"
+}


[arch-commits] Commit in (5 files)

2020-04-07 Thread Christian Hesse via arch-commits
Date: Tuesday, April 7, 2020 @ 10:20:27
  Author: eworm
Revision: 612442

un-split virtualbox-host-modules-arch

Added:
  virtualbox-host-modules-arch/
  virtualbox-host-modules-arch/repos/
  virtualbox-host-modules-arch/trunk/
  virtualbox-host-modules-arch/trunk/PKGBUILD
Deleted:
  virtualbox-modules-arch/

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

Added: virtualbox-host-modules-arch/trunk/PKGBUILD
===
--- virtualbox-host-modules-arch/trunk/PKGBUILD (rev 0)
+++ virtualbox-host-modules-arch/trunk/PKGBUILD 2020-04-07 10:20:27 UTC (rev 
612442)
@@ -0,0 +1,37 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Ionut Biru 
+
+pkgname='virtualbox-host-modules-arch'
+pkgver=6.1.4
+pkgrel=16
+pkgdesc='Virtualbox host kernel modules for Arch Kernel'
+arch=('x86_64')
+url='https://virtualbox.org/'
+license=('GPL')
+makedepends=('linux-headers'
+ "virtualbox-host-dkms=$pkgver")
+depends=('linux')
+replaces=('virtualbox-modules' 'virtualbox-host-modules')
+conflicts=('virtualbox-modules' 'virtualbox-host-modules'
+   'virtualbox-host-dkms')
+provides=('VIRTUALBOX-HOST-MODULES')
+
+build() {
+  _kernver="$(

[arch-commits] Commit in (5 files)

2020-04-03 Thread Maxime Gauduin via arch-commits
Date: Saturday, April 4, 2020 @ 05:34:06
  Author: alucryd
Revision: 611546

add maxcso

Added:
  maxcso/
  maxcso/trunk/
  maxcso/trunk/PKGBUILD
  maxcso/trunk/maxcso-system-flags.patch
  maxcso/trunk/maxcso-system-zopfli.patch

+
 PKGBUILD   |   46 
 maxcso-system-flags.patch  |   33 
 maxcso-system-zopfli.patch |   69 +++
 3 files changed, 148 insertions(+)

Added: maxcso/trunk/PKGBUILD
===
--- maxcso/trunk/PKGBUILD   (rev 0)
+++ maxcso/trunk/PKGBUILD   2020-04-04 05:34:06 UTC (rev 611546)
@@ -0,0 +1,46 @@
+# Maintainer: Gabriel Rauter 
+
+pkgname=maxcso
+pkgver=1.11.0
+pkgrel=2
+pkgdesc="A fast ISO to CSO compression program for use with PSP and PS2 
emulators"
+arch=(x86_64)
+url=https://github.com/unknownbrackets/maxcso
+license=(custom:ISCL)
+depends=(
+  gcc-libs
+  glibc
+  libuv
+  libzopfli.so
+  lz4
+  zlib
+)
+makedepends=(git)
+source=(
+  
git+https://github.com/unknownbrackets/maxcso.git#tag=deb79236ea47feee30359e3dc8c865ed2dc6393c
+  maxcso-system-flags.patch
+  maxcso-system-zopfli.patch
+)
+sha256sums=('SKIP'
+'9500875013db8ad18350cc0a36751fec37de80cde06e91e2999a421e53af8416'
+'ceae42c12bc686dba1dae8b0df1f32e6063ba25d7edebfaaa94af85a9e8f24f7')
+
+prepare() {
+  cd maxcso
+
+  git cherry-pick -n 65f456a439b484e8da31831b6a3f0f96e8bb21bf
+  git cherry-pick -n 942a9a62421bfa3cf62b5c0992a272f95b802179
+  patch -Np1 -i ../maxcso-system-flags.patch
+  patch -Np1 -i ../maxcso-system-zopfli.patch
+}
+
+build() {
+  make -C maxcso
+}
+
+package() {
+  make DESTDIR="${pkgdir}" PREFIX=/usr -C maxcso install
+  install -Dm 644 maxcso/LICENSE.md -t "${pkgdir}"/usr/share/licenses/maxcso/
+}
+
+#vim: ts=2 sw=2 et:

Added: maxcso/trunk/maxcso-system-flags.patch
===
--- maxcso/trunk/maxcso-system-flags.patch  (rev 0)
+++ maxcso/trunk/maxcso-system-flags.patch  2020-04-04 05:34:06 UTC (rev 
611546)
@@ -0,0 +1,33 @@
+From 74d97c59d381253cca74c862689b4e22a2708f9f Mon Sep 17 00:00:00 2001
+From: Maxime Gauduin 
+Date: Sat, 4 Apr 2020 07:20:40 +0200
+Subject: [PATCH] use system flags
+
+---
+ Makefile | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index e4767d84..0d0fd5a3 100644
+--- a/Makefile
 b/Makefile
+@@ -5,8 +5,8 @@ MANDIR ?= $(PREFIX)/share/man
+ CC ?= gcc
+ CXX ?= g++
+ 
+-CFLAGS ?= -O2
+-CXXFLAGS ?= $(CFLAGS)
++CFLAGS ?= ${CFLAGS}
++CXXFLAGS ?= ${CXXFLAGS}
+ 
+ SRC_CFLAGS += -W -Wall -Wextra -Wno-implicit-function-declaration -DNDEBUG=1
+ SRC_CXXFLAGS += -W -Wall -Wextra -std=c++11 -Izopfli/src -I7zip -DNDEBUG=1 \
+@@ -31,7 +31,7 @@ ZOPFLI_C_OBJ = $(ZOPFLI_C_SRC:.c=.o)
+   $(CC) -c $(SRC_CFLAGS) $(CFLAGS) -o $@ $<
+ 
+ maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(ZOPFLI_C_OBJ) 7zip/7zip.a
+-  $(CXX) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ -luv -llz4 -lz
++  $(CXX) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ ${LDFLAGS} -luv -llz4 -lz
+ 
+ 7zip/7zip.a:
+   $(MAKE) -C 7zip 7zip.a

Added: maxcso/trunk/maxcso-system-zopfli.patch
===
--- maxcso/trunk/maxcso-system-zopfli.patch (rev 0)
+++ maxcso/trunk/maxcso-system-zopfli.patch 2020-04-04 05:34:06 UTC (rev 
611546)
@@ -0,0 +1,69 @@
+From d1a3d53ab7b34e672701df2a0fd2733a4db1d174 Mon Sep 17 00:00:00 2001
+From: Maxime Gauduin 
+Date: Sat, 4 Apr 2020 07:22:04 +0200
+Subject: [PATCH] use system zopfli
+
+---
+ Makefile   | 15 ---
+ src/sector.cpp |  2 +-
+ 2 files changed, 5 insertions(+), 12 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 3564157a..1c6be068 100644
+--- a/Makefile
 b/Makefile
+@@ -9,20 +9,13 @@ CFLAGS ?= ${CFLAGS} -O2
+ CXXFLAGS ?= $(CFLAGS)
+ 
+ SRC_CFLAGS += -W -Wall -Wextra -Wno-implicit-function-declaration -DNDEBUG=1
+-SRC_CXXFLAGS += -W -Wall -Wextra -std=c++11 -Izopfli/src -I7zip -DNDEBUG=1 \
++SRC_CXXFLAGS += -W -Wall -Wextra -std=c++11 -I7zip -DNDEBUG=1 \
+   -Wno-unused-parameter -Wno-unused-variable -pthread
+ 
+ SRC_CXX_SRC = $(wildcard src/*.cpp)
+ SRC_CXX_OBJ = $(SRC_CXX_SRC:.cpp=.o)
+ CLI_CXX_SRC = $(wildcard cli/*.cpp)
+ CLI_CXX_OBJ = $(CLI_CXX_SRC:.cpp=.o)
+-ZOPFLI_C_SRC = zopfli/src/zopfli/blocksplitter.c zopfli/src/zopfli/cache.c \
+-   zopfli/src/zopfli/deflate.c zopfli/src/zopfli/gzip_container.c 
\
+-   zopfli/src/zopfli/hash.c zopfli/src/zopfli/katajainen.c \
+-   zopfli/src/zopfli/lz77.c zopfli/src/zopfli/squeeze.c \
+-   zopfli/src/zopfli/tree.c zopfli/src/zopfli/util.c \
+-   zopfli/src/zopfli/zlib_container.c 
zopfli/src/zopfli/zopfli_lib.c
+-ZOPFLI_C_OBJ = $(ZOPFLI_C_SRC:.c=.o)
+ 
+ %.o: %.cpp
+   $(CXX) -c $(SRC_CXXFLAGS) 

[arch-commits] Commit in (5 files)

2020-03-31 Thread Alexander Rødseth via arch-commits
Date: Tuesday, March 31, 2020 @ 11:54:07
  Author: arodseth
Revision: 608004

Add bonzomatic: a live shader editor

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

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

Added: bonzomatic/trunk/PKGBUILD
===
--- bonzomatic/trunk/PKGBUILD   (rev 0)
+++ bonzomatic/trunk/PKGBUILD   2020-03-31 11:54:07 UTC (rev 608004)
@@ -0,0 +1,49 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Robin Broda 
+
+pkgname=bonzomatic
+# Inspired by the MAJOR, MINOR and PATCH versions that are defined in 
CMakeLists.txt
+pkgver=1.0.20200306
+pkgrel=1
+pkgdesc='Live shader coding tool'
+arch=(x86_64)
+url='https://github.com/Gargaj/bonzomatic'
+license=(custom:Unlicense)
+depends=(alsa-lib fontconfig hicolor-icon-theme libglvnd)
+makedepends=(chrpath cmake git glu imagemagick libxcursor libxi libxinerama 
libxrandr ninja)
+# Using latest master from 2020-03-06, while awaiting the next release
+source=("$pkgname::git+$url#commit=55c24f7447536728df4e5a519d0763760a670587")
+md5sums=('SKIP')
+
+prepare() {
+  convert "$pkgname/data/unix/icon.png" -resize 128x128 "$srcdir/$pkgname.png"
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake "$srcdir/$pkgname" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
+-DCMAKE_CXX_FLAGS="$CFLAGS -fPIC -w" \
+-G Ninja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+
+  # Fix insecure rpath
+  chrpath -d "$pkgdir/usr/bin/bonzomatic"
+
+  # Install license
+  install -Dm644 $pkgname/LICENSE \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Install 128x128 icon
+  install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}
+
+# getver: github.com/Gargaj/Bonzomatic/releases
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in (5 files)

2020-03-31 Thread Alexander Rødseth via arch-commits
Date: Tuesday, March 31, 2020 @ 10:40:52
  Author: arodseth
Revision: 607963

Add libbass, required by bonzomatic

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

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

Added: libbass/trunk/PKGBUILD
===
--- libbass/trunk/PKGBUILD  (rev 0)
+++ libbass/trunk/PKGBUILD  2020-03-31 10:40:52 UTC (rev 607963)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Alexander Sulfrian 
+
+pkgname=libbass
+pkgver=2.4.15
+pkgrel=4
+pkgdesc='BASS audio library'
+arch=(x86_64)
+url='https://www.un4seen.com/'
+license=(custom)
+depends=(alsa-lib)
+makedepends=(unzip)
+source=("$pkgname-$pkgver.zip::http://dl.un4seen.com/files/bass24-linux.zip;)
+sha256sums=('05200f84de1ba507e717f607640ccc3b5cef5860c002b61130b17941418d01fc')
+
+prepare() {
+  unzip -q "$pkgname-$pkgver.zip" -d "$srcdir/$pkgname-$pkgver"
+  grep Lic "$pkgname-$pkgver/bass.txt" -A62 > LICENSE
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -D -m644 x64/libbass.so "$pkgdir/usr/lib/libbass.so"
+  install -D -m644 bass.h "$pkgdir/usr/include/bass.h"
+  install -D -m644 bass.chm "$pkgdir/usr/share/doc/libbass/bass.chm"
+  install -D -m644 "$srcdir/LICENSE" \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: -u=2 un4seen.com/bass.html
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in (5 files)

2020-03-29 Thread Jonas Witschel via arch-commits
Date: Sunday, March 29, 2020 @ 23:27:42
  Author: diabonas
Revision: 606647

Initial import of weechat-matrix

Added:
  weechat-matrix/
  weechat-matrix/repos/
  weechat-matrix/trunk/
  weechat-matrix/trunk/PKGBUILD
  weechat-matrix/trunk/weechat-matrix.install

+
 PKGBUILD   |   46 ++
 weechat-matrix.install |4 
 2 files changed, 50 insertions(+)

Added: weechat-matrix/trunk/PKGBUILD
===
--- weechat-matrix/trunk/PKGBUILD   (rev 0)
+++ weechat-matrix/trunk/PKGBUILD   2020-03-29 23:27:42 UTC (rev 606647)
@@ -0,0 +1,46 @@
+# Maintainer: Jonas Witschel 
+pkgname=weechat-matrix
+pkgver=0.1.0
+_tag=f0249bd923607220508386aefb2cb2507e11669e # git show-ref "$pkgver"
+pkgrel=1
+pkgdesc='Weechat Matrix protocol script written in Python'
+arch=('any')
+url='https://github.com/poljar/weechat-matrix'
+license=('ISC')
+depends=('python-atomicwrites' 'python-attrs' 'python-future' 'python-logbook' 
'python-matrix-nio'
+ 'python-pygments' 'python-pyopenssl' 'python-webcolors')
+makedepends=('git')
+checkdepends=('python-hypothesis' 'python-pytest')
+optdepends=('python-aiohttp: matrix_sso_helper support'
+'python-magic: matrix_upload support'
+'python-requests: matrix_decrypt and matrix_upload support'
+'ranger: default plumber for matrix_decrypt')
+install='weechat-matrix.install'
+source=("git+$url.git?signed#tag=$_tag")
+sha512sums=('SKIP')
+validpgpkeys=('689A3B5BC6560AB4C99A2A0581314DA807EF4E22') # Damir Jelić 
(poljar) 
+
+pkgver() {
+   cd "$pkgname"
+   git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+prepare() {
+   cd "$pkgname"
+   sed -ri 's|#!/usr/bin/env( -S)? python3|#!/usr/bin/python3|' 
contrib/*.py
+}
+
+check() {
+   cd "$pkgname"
+   python -m pytest
+}
+
+package() {
+   cd "$pkgname"
+   make DESTDIR="$pkgdir" PREFIX=/usr/share/weechat install
+   for _script in matrix_decrypt matrix_sso_helper matrix_upload
+   do
+   install -Dm755 "contrib/$_script.py" "$pkgdir/usr/bin/$_script"
+   done
+   install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}

Added: weechat-matrix/trunk/weechat-matrix.install
===
--- weechat-matrix/trunk/weechat-matrix.install (rev 0)
+++ weechat-matrix/trunk/weechat-matrix.install 2020-03-29 23:27:42 UTC (rev 
606647)
@@ -0,0 +1,4 @@
+post_install() {
+   echo "To add this script to your WeeChat installation, please execute 
the following command:"
+   echo "ln -s /usr/share/weechat/python/{matrix,matrix.py} -t 
~/.weechat/python"
+}


[arch-commits] Commit in (5 files)

2020-03-20 Thread Antonio Rojas via arch-commits
Date: Friday, March 20, 2020 @ 13:51:27
  Author: arojas
Revision: 377963

community2extra: Moving kdeconnect from community to extra

Added:
  kdeconnect/
  kdeconnect/repos/
  kdeconnect/trunk/
  kdeconnect/trunk/PKGBUILD
  kdeconnect/trunk/kdeconnect-openssh-8.2.patch

--+
 PKGBUILD |   41 +
 kdeconnect-openssh-8.2.patch |   12 
 2 files changed, 53 insertions(+)

Added: kdeconnect/trunk/PKGBUILD
===
--- kdeconnect/trunk/PKGBUILD   (rev 0)
+++ kdeconnect/trunk/PKGBUILD   2020-03-20 13:51:27 UTC (rev 377963)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+# Contributor: Kuba Serafinowski 
+
+pkgname=kdeconnect
+pkgver=1.4
+pkgrel=2
+pkgdesc='Adds communication between KDE and your smartphone'
+url='https://community.kde.org/KDEConnect'
+license=(GPL)
+arch=(x86_64)
+depends=(hicolor-icon-theme kcmutils kwayland libfakekey qca kpeoplevcard 
pulseaudio-qt kirigami2)
+makedepends=(extra-cmake-modules kdoctools)
+optdepends=('sshfs: remote filesystem browser' 'python-nautilus: Nautilus 
integration')
+source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-kde-$pkgver.tar.xz"{,.sig}
+ kdeconnect-openssh-8.2.patch)
+sha256sums=('caee7945a9d9bb881a943dc8d2fd0d702c04da5bdb2df14d4f875e7cf5d5261a'
+'SKIP'
+'8bcf0d39dfe059af866f48719562dfe7db7fcb0f20ee75d7adda9784fca0ba64')
+validpgpkeys=(B3487CA0FF36258E2A2F338BD33E721DF877EFE8  # Albert Vaca Cintora 

+  F53223F3337665C2CCEA122E873AC3459BBCF5C0) # Nicolas Fella 

+
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-kde-$pkgver
+  patch -p1 -i ../kdeconnect-openssh-8.2.patch # Fix file browsing with 
openssh 8.2
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-kde-$pkgver \
+-DBUILD_TESTING=OFF \
+-DCMAKE_INSTALL_LIBEXECDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Added: kdeconnect/trunk/kdeconnect-openssh-8.2.patch
===
--- kdeconnect/trunk/kdeconnect-openssh-8.2.patch   
(rev 0)
+++ kdeconnect/trunk/kdeconnect-openssh-8.2.patch   2020-03-20 13:51:27 UTC 
(rev 377963)
@@ -0,0 +1,12 @@
+diff --git a/plugins/sftp/mounter.cpp b/plugins/sftp/mounter.cpp
+index fca9907c..f673c9f7 100644
+--- a/plugins/sftp/mounter.cpp
 b/plugins/sftp/mounter.cpp
+@@ -145,6 +145,7 @@ void Mounter::onPackageReceived(const NetworkPacket& np)
+ << QStringLiteral("-o") << QStringLiteral("reconnect")
+ << QStringLiteral("-o") << QStringLiteral("ServerAliveInterval=30")
+ << QStringLiteral("-o") << QStringLiteral("password_stdin")
++<< QStringLiteral("-o") << 
QStringLiteral("KexAlgorithms=+diffie-hellman-group14-sha1")
+ ;
+ 
+ m_proc->setProgram(program, arguments);


[arch-commits] Commit in (5 files)

2020-03-19 Thread Felix Yan via arch-commits
Date: Thursday, March 19, 2020 @ 17:27:27
  Author: felixonmars
Revision: 600977

addpkg: python-sphinxcontrib-autoprogram 0.1.5-1

Added:
  python-sphinxcontrib-autoprogram/
  python-sphinxcontrib-autoprogram/repos/
  python-sphinxcontrib-autoprogram/trunk/
  python-sphinxcontrib-autoprogram/trunk/LICENSE
  python-sphinxcontrib-autoprogram/trunk/PKGBUILD

--+
 LICENSE  |   26 ++
 PKGBUILD |   32 
 2 files changed, 58 insertions(+)

Added: python-sphinxcontrib-autoprogram/trunk/LICENSE
===
--- python-sphinxcontrib-autoprogram/trunk/LICENSE  
(rev 0)
+++ python-sphinxcontrib-autoprogram/trunk/LICENSE  2020-03-19 17:27:27 UTC 
(rev 600977)
@@ -0,0 +1,26 @@
+Copyright (c) 2014–2018 Hong Minhee 
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The views and conclusions contained in the software and documentation are those
+of the authors and should not be interpreted as representing official policies,
+either expressed or implied, of the sphinxcontrib-autoprogram project.

Added: python-sphinxcontrib-autoprogram/trunk/PKGBUILD
===
--- python-sphinxcontrib-autoprogram/trunk/PKGBUILD 
(rev 0)
+++ python-sphinxcontrib-autoprogram/trunk/PKGBUILD 2020-03-19 17:27:27 UTC 
(rev 600977)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-sphinxcontrib-autoprogram
+pkgver=0.1.5
+pkgrel=1
+pkgdesc="Documenting CLI programs"
+url="https://github.com/sphinx-contrib/autoprogram;
+license=('BSD')
+arch=('any')
+depends=('python-sphinx' 'python-six')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sphinx-contrib/autoprogram/archive/$pkgver.tar.gz;
+LICENSE)
+sha512sums=('a2eed32adcd6834331d0015146345b998257c90d25534edd97baa81605fa41ec4c6d42bd536d2e09b62cb09df36bf2d0f621453f0646200481109bacc84cef85'
+
'48e8c1f6e914f9e45281fca9d2cbcdc860751413cc255111f2dc560a15e26d34dce3fbb41b83ad42e717124bc9e43f63eb737ac217295b2fad180214b9f9e498')
+
+build() {
+  cd autoprogram-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd autoprogram-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd autoprogram-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


[arch-commits] Commit in (5 files)

2020-03-18 Thread Maxime Gauduin via arch-commits
Date: Wednesday, March 18, 2020 @ 19:32:41
  Author: alucryd
Revision: 600666

add byuu

Added:
  byuu/
  byuu/trunk/
  byuu/trunk/PKGBUILD
  byuu/trunk/byuu-flags.patch
  byuu/trunk/byuu-paths.patch

--+
 PKGBUILD |   71 +
 byuu-flags.patch |   23 +
 byuu-paths.patch |   22 
 3 files changed, 116 insertions(+)

Added: byuu/trunk/PKGBUILD
===
--- byuu/trunk/PKGBUILD (rev 0)
+++ byuu/trunk/PKGBUILD 2020-03-18 19:32:41 UTC (rev 600666)
@@ -0,0 +1,71 @@
+# Maintainer: Maxime Gauduin 
+
+pkgname=byuu
+pkgver=3
+pkgrel=1
+pkgdesc='A multi-system emulator focused on performance, features, and ease of 
use'
+arch=(x86_64)
+url=https://byuu.org/
+license=(GPL3)
+depends=(
+  gcc-libs
+  glibc
+  libao
+  libasound.so
+  libgl
+  libpulse-simple.so
+  libpulse.so
+  libudev.so
+  libx11
+  libxext
+  libxrandr
+  libxv
+  openal
+  qt5-base
+  sdl2
+)
+makedepends=(
+  git
+)
+source=(
+  
git+https://github.com/byuu/byuu.git#tag=2533493fccdd03b51f574841de6ac67e02134c06
+  
git+https://github.com/byuu/bsnes.git#tag=8e80d2f8a43e34a82931e25143b279e5fbcfaedc
+  byuu-flags.patch
+  byuu-paths.patch
+)
+sha256sums=('SKIP'
+'SKIP'
+'514bce6f87f8ffc2476d0a5e5948fc79ab4470d0514d089cd8ac2386f8532730'
+'5596804071813a5745d38eda21a9b2df6470f24db27c1d99c7284cbc97f27fda')
+
+pkgver() {
+  cd byuu
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd byuu
+
+  patch -Np1 -i ../byuu-flags.patch
+  patch -Np1 -i ../byuu-paths.patch
+  sed 's|/usr/local/lib/qt5/bin/moc|moc|' -i hiro/GNUmakefile
+}
+
+build() {
+  cd byuu
+
+  make -C higan hiro=qt5
+}
+
+package() {
+  install -dm 755 "${pkgdir}"/usr/share/byuu
+
+  install -Dm 755 byuu/higan/out/byuu -t "${pkgdir}"/usr/bin/
+  install -Dm 644 byuu/higan/target-byuu/resource/byuu.desktop -t 
"${pkgdir}"/usr/share/applications/
+  install -Dm 644 byuu/higan/target-byuu/resource/byuu.png -t 
"${pkgdir}"/usr/share/pixmaps/
+  cp -dr --no-preserve='ownership' bsnes/bsnes/Database 
"${pkgdir}"/usr/share/byuu/
+  cp -dr --no-preserve='ownership' bsnes/shaders 
"${pkgdir}"/usr/share/byuu/Shaders
+}
+
+# vim: ts=2 sw=2 et:

Added: byuu/trunk/byuu-flags.patch
===
--- byuu/trunk/byuu-flags.patch (rev 0)
+++ byuu/trunk/byuu-flags.patch 2020-03-18 19:32:41 UTC (rev 600666)
@@ -0,0 +1,23 @@
+From a185a9bd8de1e5b860dcce7bccc5c71b1caec53a Mon Sep 17 00:00:00 2001
+From: Maxime Gauduin 
+Date: Wed, 18 Mar 2020 20:07:03 +0100
+Subject: [PATCH] use system flags
+
+---
+ nall/GNUmakefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/nall/GNUmakefile b/nall/GNUmakefile
+index 67fb3a1..fddec93 100755
+--- a/nall/GNUmakefile
 b/nall/GNUmakefile
+@@ -127,7 +127,8 @@ endif
+ 
+ # linux settings
+ ifeq ($(platform),linux)
+-  options += -ldl
++  flags += ${CXXFLAGS}
++  options += ${LDFLAGS} -ldl
+ endif
+ 
+ # bsd settings

Added: byuu/trunk/byuu-paths.patch
===
--- byuu/trunk/byuu-paths.patch (rev 0)
+++ byuu/trunk/byuu-paths.patch 2020-03-18 19:32:41 UTC (rev 600666)
@@ -0,0 +1,22 @@
+From a1cd313f48c9dce60016a1cb48de8ed7ec2179f0 Mon Sep 17 00:00:00 2001
+From: Maxime Gauduin 
+Date: Wed, 18 Mar 2020 20:05:50 +0100
+Subject: [PATCH] use more sensible paths
+
+---
+ higan/target-byuu/byuu.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/higan/target-byuu/byuu.cpp b/higan/target-byuu/byuu.cpp
+index 026df2f..e73f00d 100644
+--- a/higan/target-byuu/byuu.cpp
 b/higan/target-byuu/byuu.cpp
+@@ -10,7 +10,7 @@ auto locate(const string& name) -> string {
+   string location = {Path::program(), name};
+   if(inode::exists(location)) return location;
+ 
+-  location = {Path::userData(), "byuu/", name};
++  location = {Path::sharedData(), "byuu/", name};
+   if(inode::exists(location)) return location;
+ 
+   directory::create({Path::userSettings(), "byuu/"});


[arch-commits] Commit in (5 files)

2020-03-14 Thread Christian Rebischke via arch-commits
Date: Sunday, March 15, 2020 @ 01:03:07
  Author: shibumi
Revision: 597536

move fluxctl to community

Added:
  fluxctl/
  fluxctl/repos/
  fluxctl/trunk/
  fluxctl/trunk/CHANGELOG.md
  fluxctl/trunk/PKGBUILD

--+
 CHANGELOG.md | 2056 +
 PKGBUILD |   40 +
 2 files changed, 2096 insertions(+)

Added: fluxctl/trunk/CHANGELOG.md
===
--- fluxctl/trunk/CHANGELOG.md  (rev 0)
+++ fluxctl/trunk/CHANGELOG.md  2020-03-15 01:03:07 UTC (rev 597536)
@@ -0,0 +1,2056 @@
+## 1.18.0 (2020-02-06)
+
+This is a feature release with quite a few new features and fixes.
+
+It includes new flags for `fluxd` and `fluxctl`; namely, it includes a new
+flag to disable registry scanning completely  (`--registry-disable-scanning`)
+which allows deploying Flux without Memcached.
+
+There is a new `.flux.yaml` variant (`scanForFiles`) which allows telling
+Flux to scan the local files, which is useful when mixing
+`--manifest-generation` with raw manifests.
+
+This release also includes a few bugfixes. Namely, it comes with a fix for a
+filesystem leak in which git clone mirrors weren't being removed.
+
+### Enhancements
+
+- Disable Image Scanning with `--registry-disable-scanning`
+  fluxcd/flux{[#2745][fluxcd/flux#2745], [#2753][fluxcd/flux#2753]
+  [#2798][fluxcd/flux#2798], [#2813][fluxcd/flux#2813]}
+- Add `scanForFiles` variant of `.flux.yaml` to scan current directory
+  for manifests instead of generating them [fluxcd/flux#2638][]
+- Honor KUBECONFIG env variable in fluxd fluxcd/flux{[#2741][fluxcd/flux#2741],
+  [#2760][fluxcd/flux#2760]}
+- Make Kubernetes resource-exclusion configurable through
+  `--k8s-unsafe-exclude-resource` fluxcd/flux{[#2749][fluxcd/flux#2749],
+  [#2754][fluxcd/flux#2754]}
+- Add detailed error message in `fluxctl sync` [fluxcd/flux#2765][]
+- Add `--context` flag to fluxctl [fluxcd/flux#2715][]
+- Add `--container`flag to `fluxctl list-workloads` to filter by container name
+  [fluxcd/flux#2766][]
+- Add --no-headers to `fluxctl list-images` and `fluxctl list-workloads`
+  [fluxcd/flux#2767][]
+- Add `nodeSelector` to deployment templates for mixed-OS clusters
+  [fluxcd/flux#2692][]
+- Distinguish cached registry errors from live ones [fluxcd/flux#2782][]
+- Update `kustomize` to v3.5.4 [fluxcd/flux#2751][]
+- Update `kubectl` to 1.15 and base image to Alpine to 3.11 
[fluxcd/flux#2781][]
+
+### Fixes
+
+- Fix git clone leak and make clone cleanups more robust [fluxcd/flux#2788][]
+- Fix syncing with --k8s-default-namespace [fluxcd/flux#2799][]
+- Unmarshal Docker image labels separately [fluxcd/flux#2785][]
+- Raise error if arguments are provided to `fluxctl version` and
+  `fluxctl install` [fluxcd/flux#2809][]
+
+### Maintenance and Documentation
+
+- Extend end-to-end tests fluxcd/flux{[#2752][fluxcd/flux#2752],
+  [#2800][fluxcd/flux#2800], [#2817][fluxcd/flux#2817]}
+- Make pkg/install a Go module to reduce its dependencies
+  fluxcd/flux{[#2778][fluxcd/flux#2778], [#2822][fluxcd/flux#2822],
+  [#2824][fluxcd/flux#2824]}
+- e2e: Make Kind cluster creation more verbose [fluxcd/flux#2791][]
+- e2e: Update Kind to v0.7.0 [fluxcd/flux#2743][]
+- e2e: check for GNU parallel and schedule defers before creation
+  [fluxcd/flux#2727][]
+- Update aws-sdk-go to v1.27.0 [fluxcd/flux#2722][]
+- Update packages to Kubernetes 1.16 [fluxcd/flux#2731][]
+- Remove obsolete `integration-test` target [fluxcd/flux#2819][]
+- Remove go-containerregistry replace directive [fluxcd/flux#2776][]
+- Fix `make generate-deploy` [fluxcd/flux#2789][]
+- snap: fix sorting of git tags [fluxcd/flux#2772][]
+- Make docker/image-tag work with multiple version tags [fluxcd/flux#2748][]
+- Update bug report template [fluxcd/flux#2756][]
+- Docs: update Sphinx [fluxcd/flux#2694][]
+- Update install docs to Helm v3 [fluxcd/flux#2770][]
+- Add Kiam whitelist to ECR docs fluxcd/flux{[#2744][fluxcd/flux#2744],
+  [#2821][fluxcd/flux#2821]}
+- Fix typo and mention sops in `.flux.yaml` docs [fluxcd/flux#2730][]
+- Update the get-started guide to recent versions of Kustomize
+  [fluxcd/flux#2732][]
+- Remove broken link from FAQ [fluxcd/flux#2733][]
+- Use table to display prod users [fluxcd/flux#2716][]
+- Add B3i, BlaBlaCar, Cloudlets, Mintel, UK Hydrographic Office, workarea and
+  zaaksysteem to list of production users
+  fluxcd/flux{[#2707][fluxcd/flux#2707], [#2783][fluxcd/flux#2783],
+  [#2773][fluxcd/flux#2773], [#2701][fluxcd/flux#2701],
+  [#2747][fluxcd/flux#2747], [#2784][fluxcd/flux#2784],
+  [#2714][fluxcd/flux#2714]}
+
+### Thanks
+
+Thanks to @2opremio, @Ant59, @dholbach, @dinosk, @fliphess, @hiddeco, @jurruh,
+@krymzonn, @mcfearsome, @michaelbeaumont, @nabadger, @ogerbron, @patrickwall57,
+@prometherion, @roffe, @rparsonsbb, @sa-spag, @squaremo and @stefanprodan
+for their contributions to this release.
+
+[fluxcd/flux#2824]: 

[arch-commits] Commit in (5 files)

2020-03-14 Thread David Runge via arch-commits
Date: Saturday, March 14, 2020 @ 20:17:30
  Author: dvzrv
Revision: 597157

Adding python-identify as depends for python-pre-commit, a depends for molecule.

Added:
  python-identify/
  python-identify/repos/
  python-identify/trunk/
  python-identify/trunk/PKGBUILD
Deleted:
  python-identify/

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

Added: python-identify/trunk/PKGBUILD
===
--- python-identify/trunk/PKGBUILD  (rev 0)
+++ python-identify/trunk/PKGBUILD  2020-03-14 20:17:30 UTC (rev 597157)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge 
+# Contributor: Felix Yan 
+
+_name=identify
+pkgname=python-identify
+pkgver=1.4.11
+pkgrel=2
+pkgdesc="File identification library for Python"
+arch=('any')
+url="https://github.com/chriskuehl/identify;
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-editdistance' 'python-pytest')
+# no tests in pypi sdist tarball:
+# https://github.com/chriskuehl/identify/issues/95
+# 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
+source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz;)
+sha512sums=('e28c4c9f5a9b2499def3b5ad7b29f17066a4fd29396af90d7d7d5806bfe35f078c13c3844206d0c90ec18215eef0e72f70f435b2fb48b7bf81d660d69fe5dd9e')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--prefix=/usr \
+--root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


[arch-commits] Commit in (5 files)

2020-03-14 Thread David Runge via arch-commits
Date: Saturday, March 14, 2020 @ 17:54:16
  Author: dvzrv
Revision: 597050

Adding python-gilt as depends for molecule.

Added:
  python-gilt/
  python-gilt/repos/
  python-gilt/trunk/
  python-gilt/trunk/PKGBUILD
  python-gilt/trunk/python-gilt-1.2.1-ls_path.patch

-+
 PKGBUILD|   54 ++
 python-gilt-1.2.1-ls_path.patch |   23 
 2 files changed, 77 insertions(+)

Added: python-gilt/trunk/PKGBUILD
===
--- python-gilt/trunk/PKGBUILD  (rev 0)
+++ python-gilt/trunk/PKGBUILD  2020-03-14 17:54:16 UTC (rev 597050)
@@ -0,0 +1,54 @@
+# Maintainer: David Runge 
+
+pkgname=python-gilt
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="A GIT layering tool"
+arch=('any')
+url="https://github.com/retr0h/gilt;
+license=('MIT')
+depends=('python-click' 'python-colorama' 'python-fasteners'
+'python-git-url-parse' 'python-pbr' 'python-yaml' 'python-sh')
+makedepends=('python-setuptools')
+checkdepends=('git' 'python-pytest' 'python-pytest-cov'
+'python-pytest-helpers-namespace' 'python-pytest-mock' 'python-requests'
+'yapf')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz;
+"${pkgname}-1.2.1-ls_path.patch"
+
"${pkgname}-1.2.1-unittests.patch::https://github.com/retr0h/gilt/pull/67.patch;)
+sha512sums=('d5278365428623b7c172d981a437c6a6e318bf4e84844e7978d7821480c93edaa1e8a1dd6920bc5b7d33d26b5475ad5dcb8f37baea5586fe53c5397d320b2e69'
+
'9e2521de91ef96f86a1a7ca35ada1d80cc384e9f639721f0cffdc1d66d78803f5a1fcb3fab7f98450a43cbedcbc91ef34c67be0d89feaf1f40b2f31fac324738'
+
'9d9698086ec27b23b9db2b7ba424d64c5b2d52e407b7fe9de8aa9a29671b51b90340b34c33b246b1fe7c1d054c4a1f88ab0740abf4e8eb1ddfc5d1bd0e37b1d9'
+
'5ad0d9149961b870146f7aa8e1ca2ce00d1dd65b80f93d2458265d106f5d2a6bb8249ace55191977946eeb8d789777f21f1be6b02c19471ee62fb1a7fce54866')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # applying unreleased fix for problems with unit tests:
+  # https://github.com/retr0h/gilt/issues/66
+  patch -Np1 -i "../${pkgname}-1.2.1-unittests.patch"
+  # fixing issues with hardcoded paths
+  # https://github.com/retr0h/gilt/issues/76
+  patch -Np1 -i "../${pkgname}-1.2.1-ls_path.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--prefix=/usr \
+--root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {AUTHORS,CHANGELOG,CONTRIBUTING,README}.rst -t \
+"${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: python-gilt/trunk/python-gilt-1.2.1-ls_path.patch
===
--- python-gilt/trunk/python-gilt-1.2.1-ls_path.patch   
(rev 0)
+++ python-gilt/trunk/python-gilt-1.2.1-ls_path.patch   2020-03-14 17:54:16 UTC 
(rev 597050)
@@ -0,0 +1,23 @@
+diff -ruN a/test/test_util.py b/test/test_util.py
+--- a/test/test_util.py2017-05-23 00:29:23.0 +0200
 b/test/test_util.py2020-03-14 17:57:20.716681417 +0100
+@@ -107,16 +107,16 @@
+ 
+ def test_build_sh_cmd_simple_command():
+ cmd = util.build_sh_cmd('ls')
+-assert b'/bin/ls' == cmd._path
++assert b'/bin/ls' in cmd._path
+ 
+ 
+ def test_build_sh_cmd_command_with_args():
+ cmd = util.build_sh_cmd('ls /tmp')
+-assert b'/bin/ls' == cmd._path
++assert b'/bin/ls' in cmd._path
+ assert [b'/tmp'] == cmd._partial_baked_args
+ 
+ 
+ def test_build_sh_cmd_command_with_cwd(temp_dir):
+ cmd = util.build_sh_cmd('ls', cwd=temp_dir)
+-assert b'/bin/ls' == cmd._path
++assert b'/bin/ls' in cmd._path
+ assert temp_dir == cmd._partial_call_args['cwd']


[arch-commits] Commit in (5 files)

2020-03-14 Thread David Runge via arch-commits
Date: Saturday, March 14, 2020 @ 11:19:21
  Author: dvzrv
Revision: 596628

Adding python-cookiecutter as depends for molecule.

Added:
  python-cookiecutter/
  python-cookiecutter/repos/
  python-cookiecutter/trunk/
  python-cookiecutter/trunk/PKGBUILD
  python-cookiecutter/trunk/python-cookiecutter-1.7.0-cli_tests.patch

---+
 PKGBUILD  |   48 
 python-cookiecutter-1.7.0-cli_tests.patch |   24 ++
 2 files changed, 72 insertions(+)

Added: python-cookiecutter/trunk/PKGBUILD
===
--- python-cookiecutter/trunk/PKGBUILD  (rev 0)
+++ python-cookiecutter/trunk/PKGBUILD  2020-03-14 11:19:21 UTC (rev 596628)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge 
+
+_name=cookiecutter
+pkgname=python-cookiecutter
+pkgver=1.7.0
+pkgrel=2
+pkgdesc="A command-line utility that creates projects from project templates"
+arch=('any')
+url="https://github.com/cookiecutter/cookiecutter;
+license=('BSD')
+depends=('python-binaryornot' 'python-click' 'python-future' 'python-jinja'
+'python-jinja-time' 'python-poyo' 'python-requests' 'python-whichcraft')
+makedepends=('python-setuptools')
+checkdepends=('git' 'python-freezegun' 'python-pytest' 'python-pytest-cov'
+'python-pytest-mock')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;
+"${pkgname}-1.7.0-cli_tests.patch")
+sha512sums=('c57315251085ed55494d09564a43dd6348971f8b78e5755642cd64473a73b03c00a7c513f5dd05d098db9fd7a74aef90f115975386084f3df8abc08fd318922c'
+
'6bac3de41862373593345f7f9face57385473784f6fff367585314bade2262c0b55564f817092f32f38b0b166a5fc2f65cfcbcca4a431719858e8e7b59637df2')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # fixing issues with click output:
+  # https://github.com/cookiecutter/cookiecutter/issues/1327
+  patch -Np1 -i "../${pkgname}-1.7.0-cli_tests.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--prefix=/usr \
+--root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: python-cookiecutter/trunk/python-cookiecutter-1.7.0-cli_tests.patch
===
--- python-cookiecutter/trunk/python-cookiecutter-1.7.0-cli_tests.patch 
(rev 0)
+++ python-cookiecutter/trunk/python-cookiecutter-1.7.0-cli_tests.patch 
2020-03-14 11:19:21 UTC (rev 596628)
@@ -0,0 +1,24 @@
+diff -ruN a/tests/test_cli.py b/tests/test_cli.py
+--- a/tests/test_cli.py2019-12-21 19:29:52.0 +0100
 b/tests/test_cli.py2020-03-14 11:53:20.505357215 +0100
+@@ -390,7 +390,7 @@
+ 'ExtraContextWithNoEqualsSoInvalid',
+ )
+ assert result.exit_code == 2
+-assert 'Error: Invalid value for "[EXTRA_CONTEXT]..."' in result.output
++assert "Error: Invalid value for '[EXTRA_CONTEXT]...'" in result.output
+ assert 'should contain items of the form key=value' in result.output
+ 
+ 
+diff -ruN a/tests/test_cookiecutter_invocation.py 
b/tests/test_cookiecutter_invocation.py
+--- a/tests/test_cookiecutter_invocation.py2019-12-21 19:29:52.0 
+0100
 b/tests/test_cookiecutter_invocation.py2020-03-14 11:52:17.332550458 
+0100
+@@ -23,7 +23,7 @@
+ subprocess.check_call([sys.executable, '-m', 'cookiecutter.cli'])
+ 
+ _, err = capfd.readouterr()
+-exp_message = 'Error: Missing argument "TEMPLATE".'
++exp_message = "Error: Missing argument 'TEMPLATE'."
+ assert exp_message in err
+ 
+ 


[arch-commits] Commit in (5 files)

2020-03-14 Thread David Runge via arch-commits
Date: Saturday, March 14, 2020 @ 09:24:09
  Author: dvzrv
Revision: 596569

Adding python-jinja-time as depends for python-cookiecutter.

Added:
  python-jinja-time/
  python-jinja-time/repos/
  python-jinja-time/trunk/
  python-jinja-time/trunk/PKGBUILD
  python-jinja-time/trunk/python-jinja-time-0.2.0-arrow_shift.patch

---+
 PKGBUILD  |   48 
 python-jinja-time-0.2.0-arrow_shift.patch |   38 ++
 2 files changed, 86 insertions(+)

Added: python-jinja-time/trunk/PKGBUILD
===
--- python-jinja-time/trunk/PKGBUILD(rev 0)
+++ python-jinja-time/trunk/PKGBUILD2020-03-14 09:24:09 UTC (rev 596569)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge 
+
+_name=jinja2-time
+pkgname=python-jinja-time
+pkgver=0.2.0
+pkgrel=3
+pkgdesc="Jinja2 Extension for Dates and Times"
+arch=('any')
+url="https://github.com/hackebrot/jinja2-time;
+license=('MIT')
+depends=('python-arrow' 'python-jinja')
+makedepends=('python-setuptools')
+checkdepends=('python-freezegun' 'python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;
+"${pkgname}-0.2.0-arrow_shift.patch")
+sha512sums=('8ac4686312cde689f7a431001833d5d477030c4f5e9470d949bd07a40fcb9521f6ddcde37a72468093121ff9451e352a0bb43d20a796d7a204cf94e8a7545f2c'
+
'0286a608702bb445cf29da7900ec04f5b1f64d1e9658b84f9a90018adf5fce5cc959832abff73fa017afcaf0a0f6be85060e52a79038bf770b8b37d8c96a5e7d')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # fixing the way python-arrow is used:
+  # https://github.com/hackebrot/jinja2-time/issues/15
+  patch -Np1 -i "../${pkgname}-0.2.0-arrow_shift.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+#  python setup.py test
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--prefix=/usr \
+--root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {CONTRIBUTING,CONTRIBUTORS,HISTORY,README}.rst \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: python-jinja-time/trunk/python-jinja-time-0.2.0-arrow_shift.patch
===
--- python-jinja-time/trunk/python-jinja-time-0.2.0-arrow_shift.patch   
(rev 0)
+++ python-jinja-time/trunk/python-jinja-time-0.2.0-arrow_shift.patch   
2020-03-14 09:24:09 UTC (rev 596569)
@@ -0,0 +1,38 @@
+From aa4af9af0a0a5111a8ad21bc1b43bbdb586ee8af Mon Sep 17 00:00:00 2001
+From: Vincent Bernat 
+Date: Sun, 3 Nov 2019 07:48:08 +0100
+Subject: [PATCH] Use shift() instead of replace() to modify dates
+
+Previously, the `replace()` method from arrow was shifting the date
+when the arguments were using the plural form. Since Arrow 0.9.0, this
+has been deprecated in favor of a `shift()` method. Arrow 0.14.5
+completely removed the ability for `replace()` to shift dates. This
+leads to errors like `AttributeError: unknown attribute: "hours"` when
+using plural form.
+
+This commit replace the use of `replace()` by `shift()` since the
+intent is always to shift the current date.
+---
+ jinja2_time/jinja2_time.py | 6 +++---
+ setup.py   | 4 ++--
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/jinja2_time/jinja2_time.py b/jinja2_time/jinja2_time.py
+index ce713cb..717c8a0 100755
+--- a/jinja2_time/jinja2_time.py
 b/jinja2_time/jinja2_time.py
+@@ -19,11 +19,11 @@ def _datetime(self, timezone, operator, offset, 
datetime_format):
+ d = arrow.now(timezone)
+ 
+ # Parse replace kwargs from offset and include operator
+-replace_params = {}
++shift_params = {}
+ for param in offset.split(','):
+ interval, value = param.split('=')
+-replace_params[interval.strip()] = float(operator + value.strip())
+-d = d.replace(**replace_params)
++shift_params[interval.strip()] = float(operator + value.strip())
++d = d.shift(**shift_params)
+ 
+ if datetime_format is None:
+ datetime_format = self.environment.datetime_format


[arch-commits] Commit in (5 files)

2020-03-09 Thread Alexander Rødseth via arch-commits
Date: Monday, March 9, 2020 @ 14:29:55
  Author: arodseth
Revision: 593108

Add ReactPhysics 3D, a physics engine for C++

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

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

Added: reactphysics3d/trunk/PKGBUILD
===
--- reactphysics3d/trunk/PKGBUILD   (rev 0)
+++ reactphysics3d/trunk/PKGBUILD   2020-03-09 14:29:55 UTC (rev 593108)
@@ -0,0 +1,53 @@
+# Maintainer: Alexander F. Rødseth 
+
+pkgbase=reactphysics3d
+pkgname=($pkgbase $pkgbase-docs)
+pkgver=0.7.1
+pkgrel=1
+pkgdesc='Physics engine'
+arch=(x86_64)
+url='https://www.reactphysics3d.com'
+license=(ZLIB)
+makedepends=(cmake ninja)
+source=("https://github.com/DanielChappuis/reactphysics3d/releases/download/v$pkgver/reactphysics3d-$pkgver.tar.gz;
+
"https://www.reactphysics3d.com/documentation/manual/ReactPhysics3D-UserManual.pdf;)
+sha256sums=('9e55cc79882120297974b331b81c55fa8e4a6802057e55c3922ed301dd83a20a'
+'7c6307724bfef92f351150d522fb1a9050400f404e0a3be231946d2b633cb1bd')
+
+prepare() {
+  # Prepare to build a shared library
+  sed -i 's|ADD_LIBRARY(reactphysics3d|ADD_LIBRARY(reactphysics3d SHARED|g' \
+"$pkgbase-$pkgver/CMakeLists.txt"
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake "$srcdir/$pkgbase-$pkgver" \
+-D CMAKE_CXX_FLAGS="$CXXFLAGS -w" \
+-D CMAKE_BUILD_TYPE=Release \
+-D CMAKE_INSTALL_PREFIX=/usr \
+-D CMAKE_INSTALL_LIBDIR=lib \
+-D RP3D_DOUBLE_PRECISION_ENABLED="True" \
+-G Ninja
+  ninja
+}
+
+package_reactphysics3d() {
+  depends=(gcc-libs)
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm 644 "$pkgbase-$pkgver/LICENSE" \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_reactphysics3d-docs() {
+  arch=(any)
+  pkgdesc='Pystics engine (user manual)'
+  install -Dm 644 "ReactPhysics3D-UserManual.pdf" \
+"$pkgdir/usr/share/doc/$pkgname/UserManual.pdf"
+  install -Dm 644 "$pkgbase-$pkgver/LICENSE" \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: github.com/DanielChappuis/reactphysics3d/releases
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in (5 files)

2020-03-01 Thread Anatol Pomozov via arch-commits
Date: Monday, March 2, 2020 @ 03:32:25
  Author: anatolik
Revision: 588431

tinygo: add Go compiler for microcontrollers/wasm

Added:
  tinygo/
  tinygo/repos/
  tinygo/trunk/
  tinygo/trunk/PKGBUILD
  tinygo/trunk/disable_static_llvm.patch

---+
 PKGBUILD  |   65 
 disable_static_llvm.patch |   59 +++
 2 files changed, 124 insertions(+)

Added: tinygo/trunk/PKGBUILD
===
--- tinygo/trunk/PKGBUILD   (rev 0)
+++ tinygo/trunk/PKGBUILD   2020-03-02 03:32:25 UTC (rev 588431)
@@ -0,0 +1,65 @@
+# Maintainer: Anatol Pomozov 
+
+pkgname=tinygo
+pkgver=0.12.0
+pkgrel=1
+pkgdesc='Go compiler for small places. Microcontrollers, WebAssembly, and 
command-line tools. Based on LLVM.'
+arch=(x86_64)
+url='https://github.com/tinygo-org/tinygo'
+license=(BSD)
+options=(!strip)
+depends=(llvm-libs clang)
+makedepends=(go llvm git)
+# use gt as we need to fetch submodules
+source=(git+https://github.com/tinygo-org/tinygo#tag=v$pkgver
+git+https://github.com/NordicSemiconductor/nrfx
+git+https://github.com/ARM-software/CMSIS
+git+https://github.com/avr-rust/avr-mcu
+git+https://github.com/tinygo-org/cmsis-svd
+git+https://github.com/llvm-mirror/compiler-rt
+git+https://github.com/CraneStation/wasi-libc
+ disable_static_llvm.patch)
+sha256sums=('SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'e56a93e3517c37e75f5278b8b2bf27f6297cb119ba9cb8d3a678627e204b07a6')
+
+prepare() {
+  cd tinygo
+
+  git submodule init
+  git config -f .gitmodules 'submodule.lib/nrfx.url' "$srcdir/nrfx"
+  git config -f .gitmodules 'submodule.lib/CMSIS.url' "$srcdir/CMSIS"
+  git config -f .gitmodules 'submodule.lib/avr.url' "$srcdir/avr-mcu"
+  git config -f .gitmodules 'submodule.lib/cmsis-svd.url' "$srcdir/cmsis-svd"
+  git config -f .gitmodules 'submodule.lib/compiler-rt.url' 
"$srcdir/compiler-rt"
+  git config -f .gitmodules 'submodule.lib/wasi-libc.url' "$srcdir/wasi-libc"
+  git submodule sync
+  git submodule update
+
+  patch -p1 < ../disable_static_llvm.patch
+}
+
+build() {
+  cd tinygo
+  make
+}
+
+check() {
+  cd tinygo
+  # it reqreires a lot of dependencies. todo enable the tests
+  # make test tinygo-test smoketest
+}
+
+package() {
+  cd tinygo
+  make release
+
+  install -d "$pkgdir"/usr/bin "$pkgdir"/usr/lib/tinygo
+  mv build/release/tinygo/* "$pkgdir"/usr/lib/tinygo
+  ln -s /usr/lib/tinygo/bin/tinygo "$pkgdir"/usr/bin/tinygo
+}


Property changes on: tinygo/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: tinygo/trunk/disable_static_llvm.patch
===
--- tinygo/trunk/disable_static_llvm.patch  (rev 0)
+++ tinygo/trunk/disable_static_llvm.patch  2020-03-02 03:32:25 UTC (rev 
588431)
@@ -0,0 +1,59 @@
+diff --git a/Makefile b/Makefile
+index 81bbfac..6630a36 100644
+--- a/Makefile
 b/Makefile
+@@ -8,9 +8,9 @@ CLANG_SRC ?= llvm-project/clang
+ LLD_SRC ?= llvm-project/lld
+ 
+ # Default tool selection.
+-CLANG ?= clang-9
+-LLVM_AR ?= llvm-ar-9
+-LLVM_NM ?= llvm-nm-9
++CLANG ?= clang
++LLVM_AR ?= llvm-ar
++LLVM_NM ?= llvm-nm
+ 
+ # Go binary and GOROOT to select
+ GO ?= go
+@@ -153,11 +152,10 @@ lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a:
+ 
+ # Build the Go compiler.
+ tinygo:
+-  @if [ ! -f "$(LLVM_BUILDDIR)/bin/llvm-config" ]; then echo "Fetch and 
build LLVM first by running:"; echo "  make llvm-source"; echo "  make 
$(LLVM_BUILDDIR)"; exit 1; fi
+-  CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" 
CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) build -o build/tinygo$(EXE) -tags byollvm .
++  CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" 
CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) build -o build/tinygo$(EXE) .
+ 
+ test: wasi-libc
+-  CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" 
CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test -v -tags byollvm ./cgo ./compileopts 
./interp ./transform .
++  CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" 
CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test -v ./cgo ./compileopts ./interp 
./transform .
+ 
+ tinygo-test:
+   cd tests/tinygotest && tinygo test
+@@ -289,7 +287,6 @@ release: tinygo gen-device wasi-libc
+   @mkdir -p build/release/tinygo/pkg/armv7em-none-eabi
+   @echo copying source files
+   @cp -p  build/tinygo$(EXE)   build/release/tinygo/bin
+-  @cp -p $(abspath $(CLANG_SRC))/lib/Headers/*.h 
build/release/tinygo/lib/clang/include
+   @cp -rp lib/CMSIS/CMSIS/Include  
build/release/tinygo/lib/CMSIS/CMSIS
+   @cp -rp 

[arch-commits] Commit in (5 files)

2020-02-27 Thread Massimiliano Torromeo via arch-commits
Date: Thursday, February 27, 2020 @ 23:29:10
  Author: mtorromeo
Revision: 584922

added geoipupdate to replace unbuildable geoip2-database

Added:
  geoipupdate/
  geoipupdate/trunk/
  geoipupdate/trunk/PKGBUILD
  geoipupdate/trunk/geoipupdate.service
  geoipupdate/trunk/geoipupdate.timer

-+
 PKGBUILD|   61 ++
 geoipupdate.service |8 ++
 geoipupdate.timer   |   10 
 3 files changed, 79 insertions(+)

Added: geoipupdate/trunk/PKGBUILD
===
--- geoipupdate/trunk/PKGBUILD  (rev 0)
+++ geoipupdate/trunk/PKGBUILD  2020-02-27 23:29:10 UTC (rev 584922)
@@ -0,0 +1,61 @@
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=geoipupdate
+pkgver=4.2.2
+pkgrel=1
+pkgdesc="Update GeoIP2 and GeoIP Legacy binary databases from MaxMind"
+license=('Apache' 'MIT')
+arch=('x86_64')
+url="https://dev.maxmind.com/geoip/geoipupdate;
+makedepends=(go-pie pandoc)
+backup=(etc/GeoIP.conf)
+provides=(geoip2-database)
+replaces=(geoip2-database)
+
+source=(
+
"https://github.com/maxmind/geoipupdate/archive/v$pkgver/$pkgname-$pkgver.tar.gz;
+"geoipupdate.service"
+"geoipupdate.timer"
+)
+
+sha256sums=('a9267a1fbbadc4686198002d3de0ef60a65e3b47c4e050bcdccf692aa1791092'
+'94d120a089524b91b2c3095332dee66b346bc97f1496cbff677ff02afa37a6cc'
+'ba9039ae9cc3dea4fe48480527b515cab2ad3a2f69aea5bf55f551e6895779e3')
+
+prepare() {
+cd "$srcdir/$pkgname-$pkgver"
+sed -i 's/EditionIDs .*/EditionIDs GeoLite2-ASN GeoLite2-City 
GeoLite2-Country/' conf/GeoIP.conf.default
+}
+
+build() {
+cd "$srcdir/$pkgname-$pkgver"
+
+export CONFFILE=/etc/GeoIP.conf
+export DATADIR=/var/lib/GeoIP
+
+make BUILDDIR="$srcdir/build" data
+
+cd cmd/geoipupdate
+export LDFLAGS="$LDFLAGS -X main.defaultConfigFile=$CONFFILE -X 
main.defaultDatabaseDirectory=$DATADIR -X main.version=$pkgver"
+go build -trimpath -ldflags "-extldflags $LDFLAGS" -o 
"$srcdir/build/geoipupdate" .
+}
+
+package() {
+install -dm755 "$pkgdir/var/lib/GeoIP"
+
+cd "$srcdir"
+install -Dm644 geoipupdate.service 
"$pkgdir/usr/lib/systemd/system/geoipupdate.service"
+install -Dm644 geoipupdate.timer 
"$pkgdir/usr/lib/systemd/system/geoipupdate.timer"
+
+cd "$srcdir/build"
+install -Dm755 geoipupdate "$pkgdir/usr/bin/geoipupdate"
+install -Dm644 GeoIP.conf "$pkgdir/etc/GeoIP.conf"
+install -Dm644 geoipupdate.md 
"$pkgdir/usr/share/doc/$pkgname/geoipupdate.md"
+install -Dm644 GeoIP.conf.md "$pkgdir/usr/share/doc/$pkgname/GeoIP.conf.md"
+install -Dm644 geoipupdate.1 "$pkgdir/usr/share/man/man1/geoipupdate.1"
+install -Dm644 GeoIP.conf.5 "$pkgdir/usr/share/man/man5/GeoIP.conf.5"
+
+cd "$srcdir/$pkgname-$pkgver"
+install -Dm644 LICENSE-APACHE 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
+install -Dm644 LICENSE-MIT 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
+}

Added: geoipupdate/trunk/geoipupdate.service
===
--- geoipupdate/trunk/geoipupdate.service   (rev 0)
+++ geoipupdate/trunk/geoipupdate.service   2020-02-27 23:29:10 UTC (rev 
584922)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Update GeoIP2 and GeoIP Legacy binary databases
+Wants=network.target
+After=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/geoipupdate --config-file /etc/GeoIP.conf

Added: geoipupdate/trunk/geoipupdate.timer
===
--- geoipupdate/trunk/geoipupdate.timer (rev 0)
+++ geoipupdate/trunk/geoipupdate.timer 2020-02-27 23:29:10 UTC (rev 584922)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Weekly update of GeoIP2 and GeoIP Legacy databases
+
+[Timer]
+OnCalendar=weekly
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target


[arch-commits] Commit in (5 files)

2020-02-25 Thread Brett Cornwall via arch-commits
Date: Wednesday, February 26, 2020 @ 02:11:35
  Author: ainola
Revision: 582228

add chrono-date package, a new dep of waybar

Waybar now uses this library, which will be included in the next C++ iteration.

The tip of master is used due to a number of issues that have been solved since 
the latest tagged release.

Added:
  chrono-date/
  chrono-date/repos/
  chrono-date/trunk/
  chrono-date/trunk/538-output-date-pc-for-pkg-config.patch
  chrono-date/trunk/PKGBUILD

-+
 538-output-date-pc-for-pkg-config.patch |   60 ++
 PKGBUILD|   56 
 2 files changed, 116 insertions(+)

Added: chrono-date/trunk/538-output-date-pc-for-pkg-config.patch
===
--- chrono-date/trunk/538-output-date-pc-for-pkg-config.patch   
(rev 0)
+++ chrono-date/trunk/538-output-date-pc-for-pkg-config.patch   2020-02-26 
02:11:35 UTC (rev 582228)
@@ -0,0 +1,60 @@
+From e56b2dce7e89a92e1b9b35caa13b3e938c4cedea Mon Sep 17 00:00:00 2001
+From: Cole Mickens 
+Date: Sun, 26 Jan 2020 01:27:08 -0800
+Subject: [PATCH] CMakeLists.txt: output date.pc for pkg-config
+
+---
+ CMakeLists.txt | 15 +++
+ date.pc.in | 10 ++
+ 2 files changed, 25 insertions(+)
+ create mode 100644 date.pc.in
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f30c473..fe778e8 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -128,6 +128,15 @@ if( BUILD_TZ_LIB )
+ endif( )
+ endif( )
+ 
++if ( BUILD_TZ_LIB )
++  # Cflags: -I${includedir} @TZ_COMPILE_DEFINITIONS@
++  set( TZ_COMPILE_DEFINITIONS 
"$,-D$,
 -D>,>" )
++  configure_file(date.pc.in date.pc.cf @ONLY)
++  file( GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/date.pc"
++INPUT "${CMAKE_CURRENT_BINARY_DIR}/date.pc.cf" )
++
++endif( )
++
+ #[===[
+installation
+ #]===]
+@@ -171,6 +180,12 @@ install (
+   FILES cmake/dateConfig.cmake "${version_config}"
+   DESTINATION ${CONFIG_LOC})
+ 
++if ( BUILD_TZ_LIB )
++  install(
++FILES ${CMAKE_BINARY_DIR}/date.pc
++DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
++endif( )
++
+ #[===[
+testing
+ #]===]
+diff --git a/date.pc.in b/date.pc.in
+new file mode 100644
+index 000..b9c4623
+--- /dev/null
 b/date.pc.in
+@@ -0,0 +1,10 @@
++prefix=@CMAKE_INSTALL_PREFIX@
++exec_prefix=@CMAKE_INSTALL_BINDIR@
++libdir=@CMAKE_INSTALL_LIB@
++includedir=@CMAKE_INSTALL_INCLUDE@
++
++Name: date
++Description: A date and time library based on the C++11/14/17  header
++Version: @PACKAGE_VERSION@
++Libs: -L${libdir} -ltz
++Cflags: -I${includedir} @TZ_COMPILE_DEFINITIONS@

Added: chrono-date/trunk/PKGBUILD
===
--- chrono-date/trunk/PKGBUILD  (rev 0)
+++ chrono-date/trunk/PKGBUILD  2020-02-26 02:11:35 UTC (rev 582228)
@@ -0,0 +1,56 @@
+# Maintainer: Brett Cornwall 
+
+pkgname=chrono-date
+pkgver=2.4.1+134+g9a0ee25
+pkgrel=1
+pkgdesc="A date and time library based on the C++11/14/17  header"
+arch=(x86_64)
+url="https://howardhinnant.github.io/date/date.html;
+license=('MIT')
+makedepends=(
+'cmake'
+'git'
+)
+# It's easiest to pin this commit and wait for a new release rather than patch
+# as a number of issues with tests/dependent packages (e.g.
+# https://github.com/Alexays/Waybar/issues/565) are present with the tagged
+# stable version.
+source=("$pkgname::git+https://github.com/HowardHinnant/date#commit=9a0ee2542848ab8625984fc8cdbfb9b5414c0082;
+
"538-output-date-pc-for-pkg-config.patch::https://patch-diff.githubusercontent.com/raw/HowardHinnant/date/pull/538.patch;)
+sha256sums=('SKIP'
+'f39ce7f1f738ebdc02948ed78be68cca10c01f9e22a4243670304eeda53a03fd')
+
+pkgver() {
+cd "$pkgname"
+git describe --always --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+cd "$pkgname"
+mkdir build
+# https://github.com/HowardHinnant/date/issues/537
+patch -p1 < ../538-output-date-pc-for-pkg-config.patch
+}
+
+build() {
+cd "$pkgname/build"
+cmake .. \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DBUILD_SHARED_LIBS=true \
+-DBUILD_TZ_LIB=true \
+-DUSE_SYSTEM_TZ_DB=true \
+-DENABLE_DATE_TESTING=true
+}
+
+check() {
+cd "$pkgname/build"
+make testit
+}
+
+package() {
+cd "$pkgname"
+make -C build DESTDIR="$pkgdir/" install
+install -Dm644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname"
+install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+}


[arch-commits] Commit in (5 files)

2020-02-25 Thread Alexander Rødseth via arch-commits
Date: Tuesday, February 25, 2020 @ 23:00:03
  Author: arodseth
Revision: 582175

Add byobu, 308 votes in AUR

GPL3 licensed

Added:
  byobu/
  byobu/repos/
  byobu/repos/community-any/
  byobu/trunk/
  byobu/trunk/PKGBUILD

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

Added: byobu/trunk/PKGBUILD
===
--- byobu/trunk/PKGBUILD(rev 0)
+++ byobu/trunk/PKGBUILD2020-02-25 23:00:03 UTC (rev 582175)
@@ -0,0 +1,55 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Daniel Landau 
+# Contributor: Justin Coffman 
+# Contributor: Sibren Vasse 
+# Contributor: oozyslug 
+# Contributor: Justin Coffman 
+
+pkgname=byobu
+pkgver=5.133
+pkgrel=1
+pkgdesc='Enhanced tmux'
+arch=(any)
+url='https://byobu.org/'
+license=(GPL3)
+depends=(python tmux)
+makedepends=(gettext libnewt setconf)
+source=("$pkgname-$pkgver.tar.gz::https://launchpad.net/byobu/trunk/$pkgver/+download/byobu_$pkgver.orig.tar.gz;
+
"$pkgname-$pkgver.tar.gz.asc::https://launchpad.net/byobu/trunk/$pkgver/+download/..-byobu_$pkgver.orig.tar.gz.asc;)
+sha256sums=('4d8ea48f8c059e56f7174df89b04a08c32286bae5a21562c5c6f61be6dab7563'
+'SKIP')
+validpgpkeys=('E2D9E1C5F9F5D59291F4607D95E64373F1529469') # Dustin Kirkland 

+
+prepare() {
+  # Adjust path to SOCKETDIR
+  setconf "$pkgname-$pkgver/etc/byobu/socketdir" SOCKETDIR '"/tmp/screens"'
+
+  # Tweak the two .desktop files that comes with Byobu
+  cd "$pkgname-$pkgver/usr/share/byobu/desktop"
+  setconf byobu.desktop Name 'Byobu Gnome Terminal'
+  setconf byobu.desktop Icon=/usr/share/byobu/pixmaps/byobu.svg
+  setconf byobu.desktop \
+Exec "gnome-terminal --name=us.kirkland.terminals.byobu 
--class=us.kirkland.terminals.byobu -- byobu"
+  setconf byobu.desktop.old Icon=/usr/share/byobu/pixmaps/byobu.svg
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C "$pkgname-$pkgver" install
+
+  # Move .desktop files to /usr/share/applications
+  install -d "$pkgdir/usr/share/applications"
+  mv "$pkgdir/usr/share/byobu/desktop/byobu.desktop" \
+"$pkgdir/usr/share/applications/byobu.desktop"
+  mv "$pkgdir/usr/share/byobu/desktop/byobu.desktop.old" \
+"$pkgdir/usr/share/applications/byobu_old.desktop"
+  rmdir "$pkgdir/usr/share/byobu/desktop"
+}
+
+# getver: launchpad.net/byobu/+download
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in (5 files)

2020-02-16 Thread Bruno Pagani via arch-commits
Date: Sunday, February 16, 2020 @ 23:03:13
  Author: archange
Revision: 573679

Initial addition of restinio to [community]

Required by opendht and jami-daemon

Added:
  restinio/
  restinio/repos/
  restinio/trunk/
  restinio/trunk/FindHTTP_Parser.cmake
  restinio/trunk/PKGBUILD

---+
 FindHTTP_Parser.cmake |   20 
 PKGBUILD  |   39 +++
 2 files changed, 59 insertions(+)

Added: restinio/trunk/FindHTTP_Parser.cmake
===
--- restinio/trunk/FindHTTP_Parser.cmake(rev 0)
+++ restinio/trunk/FindHTTP_Parser.cmake2020-02-16 23:03:13 UTC (rev 
573679)
@@ -0,0 +1,20 @@
+# Look for the header file.
+FIND_PATH(HTTP_PARSER_INCLUDE_DIR NAMES http_parser.h)
+
+# Look for the library.
+FIND_LIBRARY(HTTP_PARSER_LIBRARY NAMES http_parser)
+
+# Handle the QUIETLY and REQUIRED arguments and set HTTP_PARSER_FOUND to TRUE 
if all listed variables are TRUE.
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(HTTP_Parser DEFAULT_MSG HTTP_PARSER_LIBRARY 
HTTP_PARSER_INCLUDE_DIR)
+
+# Copy the results to the output variables.
+IF(HTTP_PARSER_FOUND)
+SET(HTTP_PARSER_LIBRARIES ${HTTP_PARSER_LIBRARY})
+SET(HTTP_PARSER_INCLUDE_DIRS ${HTTP_PARSER_INCLUDE_DIR})
+ELSE(HTTP_PARSER_FOUND)
+SET(HTTP_PARSER_LIBRARIES)
+SET(HTTP_PARSER_INCLUDE_DIRS)
+ENDIF(HTTP_PARSER_FOUND)
+
+MARK_AS_ADVANCED(HTTP_PARSER_INCLUDE_DIRS HTTP_PARSER_LIBRARIES)

Added: restinio/trunk/PKGBUILD
===
--- restinio/trunk/PKGBUILD (rev 0)
+++ restinio/trunk/PKGBUILD 2020-02-16 23:03:13 UTC (rev 573679)
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani 
+
+pkgname=restinio
+pkgver=0.6.4
+pkgrel=1
+pkgdesc="Header-only C++14 library that gives you an embedded HTTP/Websocket 
server"
+arch=(any)
+url="https://stiffstream.com/en/products/restinio.html;
+license=(BSD)
+depends=(asio http-parser fmt)
+makedepends=(cmake gcc openssl zlib pcre pcre2 boost)
+source=(https://github.com/Stiffstream/restinio/releases/download/v.${pkgver}/${pkgname}-${pkgver}.tar.bz2
+FindHTTP_Parser.cmake)
+sha256sums=('e585426eedb8e5e6e7d75e02a49f9c2fc644433826ffda2eb7361aa110a17e05'
+'3b8f066d44679fcbfc8220c4c4b0ce69c2d49adbff8a05a7e59f9f2f71012b12')
+
+prepare() {
+  cp FindHTTP_Parser.cmake ${pkgname}-${pkgver}/dev/cmake/modules/
+  sed -i 's|unofficial-http-parser CONFIG|HTTP_Parser|g' 
${pkgname}-${pkgver}/dev/CMakeLists.txt
+}
+
+build() {
+  cmake -B build -S ${pkgname}-${pkgver}/dev/ \
+  -DCMAKE_BUILD_TYPE=Release \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DRESTINIO_FIND_DEPS=ON \
+  -DRESTINIO_TEST=OFF \
+  -DRESTINIO_SAMPLE=OFF \
+  -DRESTINIO_INSTALL_SAMPLES=OFF \
+  -DRESTINIO_BENCH=OFF \
+  -DRESTINIO_INSTALL_BENCHES=OFF \
+  -DRESTINIO_ALLOW_SOBJECTIZER=OFF
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+  install -Dm644 ${pkgname}-${pkgver}/LICENSE -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in (5 files)

2020-02-15 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, February 16, 2020 @ 00:06:47
  Author: svenstaro
Revision: 572056

Initial commit of mkl-dnn

Added:
  mkl-dnn/
  mkl-dnn/repos/
  mkl-dnn/trunk/
  mkl-dnn/trunk/PKGBUILD
Deleted:
  mkl-dnn/

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

Added: mkl-dnn/trunk/PKGBUILD
===
--- mkl-dnn/trunk/PKGBUILD  (rev 0)
+++ mkl-dnn/trunk/PKGBUILD  2020-02-16 00:06:47 UTC (rev 572056)
@@ -0,0 +1,41 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Baris Demirdelen 
+# Contributor: Andrew Anderson 
+# Contributor: Jonathon Fernyhough 
+pkgname=intel-dnnl
+_pkgname=mkl-dnn
+pkgver=1.2
+pkgrel=1
+pkgdesc="Intel Deep Neural Network Library (formerly mkl-dnn)"
+arch=(x86_64)
+provides=(mkl-dnn)
+url=https://github.com/intel/mkl-dnn
+license=('APACHE')
+makedepends=('cmake' 'doxygen')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/intel/mkl-dnn/archive/v${pkgver}.tar.gz;)
+sha256sums=('30979a09753e8e35d942446c3778c9f0eba543acf2fb0282af8b9c89355d0ddf')
+
+prepare() {
+  cd "$_pkgname-$pkgver"
+  mkdir -p build
+}
+
+build() {
+  cd "$_pkgname-$pkgver/build"
+  cmake .. -DCMAKE_INSTALL_PREFIX="/usr"
+  make
+  make doc
+}
+
+check() {
+  cd "$_pkgname-$pkgver/build"
+  ctest
+}
+
+package() {
+  cd "$_pkgname-$pkgver/build"
+  DESTDIR="$pkgdir" make install
+
+  cd ..
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in (5 files)

2020-02-14 Thread David Runge via arch-commits
Date: Friday, February 14, 2020 @ 18:41:31
  Author: dvzrv
Revision: 571169

Adding profile-cleaner from the AUR.

Added:
  profile-cleaner/
  profile-cleaner/repos/
  profile-cleaner/trunk/
  profile-cleaner/trunk/PKGBUILD
  profile-cleaner/trunk/profile-cleaner.install

-+
 PKGBUILD|   26 ++
 profile-cleaner.install |7 +++
 2 files changed, 33 insertions(+)

Added: profile-cleaner/trunk/PKGBUILD
===
--- profile-cleaner/trunk/PKGBUILD  (rev 0)
+++ profile-cleaner/trunk/PKGBUILD  2020-02-14 18:41:31 UTC (rev 571169)
@@ -0,0 +1,26 @@
+# Maintainer: David Runge 
+
+pkgname=profile-cleaner
+pkgver=2.37
+pkgrel=2
+pkgdesc="Simple script to vacuum and reindex sqlite databases used by browsers"
+arch=('any')
+url="https://github.com/graysky2/profile-cleaner;
+license=('MIT')
+depends=('bash' 'bc' 'parallel' 'sqlite')
+optdepends=('zsh-completions: for completion when using zsh')
+install="${pkgname}.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/${pkgname}/archive/v${pkgver}.tar.gz;)
+sha512sums=('238dde1ee1fb612d9a7c9ed074a07fbbf2902204548de418a99c53cbf691aaa2d666a37a4fdaf83e2a802777549c9bd996b047b56239495c0db028212370ddb5')
+
+build() {
+  cd "$pkgname-$pkgver"
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: profile-cleaner/trunk/profile-cleaner.install
===
--- profile-cleaner/trunk/profile-cleaner.install   
(rev 0)
+++ profile-cleaner/trunk/profile-cleaner.install   2020-02-14 18:41:31 UTC 
(rev 571169)
@@ -0,0 +1,7 @@
+## arg 1:  the new package version
+## arg 2:  the old package version
+# shellcheck disable=SC2016
+
+post_install() {
+  echo 'Target browsers/ email clients must not run when cleaning their 
profiles (consult `man 1 pc` for more info).'
+}


[arch-commits] Commit in (5 files)

2020-02-14 Thread David Runge via arch-commits
Date: Friday, February 14, 2020 @ 16:22:51
  Author: dvzrv
Revision: 571139

Adding anything-sync-daemon from the AUR.

Added:
  anything-sync-daemon/
  anything-sync-daemon/repos/
  anything-sync-daemon/trunk/
  anything-sync-daemon/trunk/PKGBUILD
  anything-sync-daemon/trunk/anything-sync-daemon.install

--+
 PKGBUILD |   28 
 anything-sync-daemon.install |   27 +++
 2 files changed, 55 insertions(+)

Added: anything-sync-daemon/trunk/PKGBUILD
===
--- anything-sync-daemon/trunk/PKGBUILD (rev 0)
+++ anything-sync-daemon/trunk/PKGBUILD 2020-02-14 16:22:51 UTC (rev 571139)
@@ -0,0 +1,28 @@
+# Maintainer: David Runge 
+# Contributor: graysky 
+
+pkgname=anything-sync-daemon
+pkgver=5.85
+pkgrel=2
+pkgdesc="Symlinks and syncs user specified dirs to RAM"
+arch=('any')
+url="https://github.com/graysky2/anything-sync-daemon;
+license=('MIT')
+depends=('bash' 'findutils' 'procps-ng' 'rsync' 'systemd')
+optdepends=('bash-completion: for completion when using bash'
+'zsh-completions: for completion when using zhs')
+install="${pkgname}.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/${pkgname}/archive/v${pkgver}.tar.gz;)
+sha512sums=('85b2d7458efe4686bf3564ad9242bac7b17080f4504ca89ea32102d34a730424ea209ec88bdbfca4c16964fe4840c2e33c8600edda46dc9f164c5be022eb9445')
+
+build() {
+  cd "$pkgname-$pkgver"
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install-systemd-all
+  install -vDm 644 MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: anything-sync-daemon/trunk/anything-sync-daemon.install
===
--- anything-sync-daemon/trunk/anything-sync-daemon.install 
(rev 0)
+++ anything-sync-daemon/trunk/anything-sync-daemon.install 2020-02-14 
16:22:51 UTC (rev 571139)
@@ -0,0 +1,27 @@
+## arg 1:  the new package version
+## arg 2:  the old package version
+# shellcheck disable=SC2016
+
+_stop_asd_service() {
+  if systemctl is-active asd.service &>/dev/null; then
+echo 'In order to preserve the data, the asd service will now be stopped.'
+systemctl stop asd.service &>/dev/null
+  fi
+}
+
+pre_upgrade() {
+  for version in 5.69 5.76; do
+if [ "$(vercmp "$2" "$version")" -lt 0 ]; then
+  _stop_asd_service
+  echo 'Start the asd service manually after upgrade is complete.'
+fi
+  done
+}
+
+post_install() {
+  echo 'Consult the manpage (`man 1 asd`) and backup your data before use.'
+}
+
+pre_remove() {
+  _stop_asd_service
+}


[arch-commits] Commit in (5 files)

2020-02-14 Thread David Runge via arch-commits
Date: Friday, February 14, 2020 @ 10:58:12
  Author: dvzrv
Revision: 570989

Adding profile-sync-daemon from the AUR.

Added:
  profile-sync-daemon/
  profile-sync-daemon/repos/
  profile-sync-daemon/trunk/
  profile-sync-daemon/trunk/PKGBUILD
  profile-sync-daemon/trunk/profile-sync-daemon.install

-+
 PKGBUILD|   26 +++
 profile-sync-daemon.install |  156 ++
 2 files changed, 182 insertions(+)

Added: profile-sync-daemon/trunk/PKGBUILD
===
--- profile-sync-daemon/trunk/PKGBUILD  (rev 0)
+++ profile-sync-daemon/trunk/PKGBUILD  2020-02-14 10:58:12 UTC (rev 570989)
@@ -0,0 +1,26 @@
+# Maintainer: David Runge 
+# Contributor: graysky 
+
+pkgname=profile-sync-daemon
+pkgver=6.35
+pkgrel=2
+pkgdesc="Symlinks and syncs browser profile dirs to RAM"
+arch=('any')
+url="https://github.com/graysky2/profile-sync-daemon;
+license=('MIT')
+depends=('findutils' 'procps-ng' 'rsync' 'systemd')
+install="${pkgname}.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz;)
+sha512sums=('e406d39c4edeabc8baa45320a97656791d4099cc8db84aac2cb9f72ef2ed034c82bba73d53457f4ae4201c945af106717d2d979df5a3f154e307f2e6cc41411a')
+
+build() {
+  cd "$pkgname-$pkgver"
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  install -vDm 644 MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: profile-sync-daemon/trunk/profile-sync-daemon.install
===
--- profile-sync-daemon/trunk/profile-sync-daemon.install   
(rev 0)
+++ profile-sync-daemon/trunk/profile-sync-daemon.install   2020-02-14 
10:58:12 UTC (rev 570989)
@@ -0,0 +1,156 @@
+## arg 1:  the new package version
+## arg 2:  the old package version
+# shellcheck disable=SC2016
+
+
+users=$(loginctl --no-legend list-users | awk '{ print $2 }' | sed 
':a;N;$!ba;s/\n/ /g')
+
+pre_upgrade() {
+  # version 6.00 is a major rebuild
+  # yes, I realize that pacman should not stop services but in this case it
+  # is required or else browser profiles (user data) can get renamed and 
confuse
+  # people if it does not happen
+  if [ "$(vercmp "$2" 6.00)" -lt 0 ]; then
+echo 'Attention: Major changes have been introduced with 6.00+'
+echo 'Instead of a system service a user service is now used.'
+echo 'Only $HOME/.config/psd/psd.conf is used (and automatically created 
on first start).'
+echo 'To use overlayfs additional setup steps are required (see `man 1 
psd`).'
+
+# stop system service now since it will be removed upon updating
+if systemctl is-active psd.service &>/dev/null; then
+  systemctl stop psd.service &>/dev/null
+fi
+  fi
+
+  # version 6.01 redefines the location of tmpfs for the software so it is
+  # required that pacman stop the user service here if running
+  if [ "$(vercmp "$2" 6.01)" -lt 0 ]; then
+for user in $users; do
+  if _psd_running_for_user "$user"; then
+_stop_psd_for_user "$user"
+_diff_recommendation
+  fi
+done
+  fi
+
+  if [ "$(vercmp "$2" 6.03)" -lt 0 ]; then
+for user in $users; do
+  HOMEDIR="$(getent passwd "$user" | cut -d: -f6)"
+  if [[ -d "$HOMEDIR"/.psd ]]; then
+echo 'The use of $HOME/.psd for configuration is deprecated.'
+echo 'Psd will move it for you upon next invocation to 
$XDG_CONFIG_HOME/psd'
+  fi
+done
+
+# version 6.05 impliments changes to both the service and the way 
overlayfs is mounted/umount
+# so it is required that pacman stop the user service here if running
+if [ "$(vercmp "$2" 6.05)" -lt 0 ]; then
+  for user in $users; do
+if _psd_running_for_user "$user"; then
+  _stop_psd_for_user "$user"
+  echo 'Users of overlayfs: Before starting the service `psd p` must 
be run.'
+fi
+  done
+fi
+  fi
+
+  # version 6.07 has minor changes to config file
+  if [ "$(vercmp "$2" 6.07)" -lt 0 ]; then
+_diff_recommendation
+  fi
+
+  # version 6.10 relocates pid file
+  if [ "$(vercmp "$2" 6.10)" -lt 0 ]; then
+for user in $users; do
+  if _psd_running_for_user "$user"; then
+_stop_psd_for_user "$user"
+  fi
+done
+  fi
+
+  # version 6.14 changes the way overlayfs works
+  if [ "$(vercmp "$2" 6.14)" -lt 0 ]; then
+for user in $users; do
+  if _psd_running_for_user "$user"; then
+_stop_psd_for_user "$user"
+  fi
+done
+  fi
+
+  # version 6.16 has minor changes to config file
+  if [ "$(vercmp "$2" 6.16)" -lt 0 ]; then
+_diff_recommendation
+  fi
+
+  # version 6.22 has minor changes to config file
+  if [ "$(vercmp "$2" 6.22)" -lt 0 ]; then
+_diff_recommendation
+  fi
+
+  # version 6.30 has 

[arch-commits] Commit in (5 files)

2020-02-13 Thread Felix Yan via arch-commits
Date: Thursday, February 13, 2020 @ 22:24:02
  Author: felixonmars
Revision: 570944

addpkg: smartdns 28-1

Added:
  smartdns/
  smartdns/repos/
  smartdns/trunk/
  smartdns/trunk/PKGBUILD
  smartdns/trunk/systemd.patch

---+
 PKGBUILD  |   33 +
 systemd.patch |   24 
 2 files changed, 57 insertions(+)

Added: smartdns/trunk/PKGBUILD
===
--- smartdns/trunk/PKGBUILD (rev 0)
+++ smartdns/trunk/PKGBUILD 2020-02-13 22:24:02 UTC (rev 570944)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan 
+# Contributor: zlowly 
+
+pkgname=smartdns
+pkgver=28
+pkgrel=1
+pkgdesc="A local DNS server to obtain the fastest website IP for the best 
Internet experience"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/pymumu/smartdns;
+backup=("etc/smartdns/smartdns.conf")
+depends=('openssl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pymumu/smartdns/archive/Release$pkgver.tar.gz;
+systemd.patch)
+sha512sums=('040b8917cc4f7a03b33a07262e4727ac076956c20facb64029b2edbac90827ed50a51c1e85ecf8a3bd0fb104c14032d378fe12e3c7da0f64b7758509bcd4df0f'
+
'8868441c983fe4426f3876a1fa6f1e89bfde2ede78b7fae564cd840a269523b6952c1fbd7f44a562d0c875e35d6d563b335e1f0503e7b49d0aed0fa9655abdab')
+
+prepare() {
+  patch -p1 -i systemd.patch smartdns-Release$pkgver/systemd/smartdns.service
+}
+
+build() {
+  cd smartdns-Release$pkgver/src
+  make
+}
+
+package() {
+  cd smartdns-Release$pkgver
+  install -Dm755 src/smartdns "$pkgdir"/usr/bin/smartdns
+  install -Dm644 etc/smartdns/smartdns.conf 
"$pkgdir"/etc/smartdns/smartdns.conf
+  install -Dm644 etc/default/smartdns "$pkgdir"/etc/default/smartdns
+  install -Dm644 systemd/smartdns.service 
"$pkgdir"/usr/lib/systemd/system/smartdns.service
+}

Added: smartdns/trunk/systemd.patch
===
--- smartdns/trunk/systemd.patch(rev 0)
+++ smartdns/trunk/systemd.patch2020-02-13 22:24:02 UTC (rev 570944)
@@ -0,0 +1,24 @@
+--- smartdns.service.old   2019-09-24 10:41:44.487335094 +0800
 smartdns.service.new   2019-09-24 10:44:43.832401460 +0800
+@@ -1,17 +1,17 @@
+ [Unit]
+ Description=smart dns server
+ After=network.target 
++StartLimitBurst=0
++StartLimitIntervalSec=60
+ 
+ [Service]
+ Type=forking
+-PIDFile=/var/run/smartdns.pid
++PIDFile=/run/smartdns.pid
+ EnvironmentFile=/etc/default/smartdns
+-ExecStart=/usr/sbin/smartdns $SMART_DNS_OPTS
++ExecStart=/usr/bin/smartdns $SMART_DNS_OPTS
+ KillMode=process
+ Restart=always
+ RestartSec=2
+-StartLimitBurst=0
+-StartLimitIntervalSec=60
+ 
+ [Install]
+ WantedBy=multi-user.target


[arch-commits] Commit in (5 files)

2020-02-11 Thread Daniel M. Capella via arch-commits
Date: Tuesday, February 11, 2020 @ 21:22:55
  Author: polyzen
Revision: 568107

Initial commit

Added:
  ttf-nerd-fonts-symbols/
  ttf-nerd-fonts-symbols/repos/
  ttf-nerd-fonts-symbols/trunk/
  ttf-nerd-fonts-symbols/trunk/PKGBUILD
  ttf-nerd-fonts-symbols/trunk/ttf-nerd-fonts-symbols.install

+
 PKGBUILD   |   25 +
 ttf-nerd-fonts-symbols.install |   13 +
 2 files changed, 38 insertions(+)

Added: ttf-nerd-fonts-symbols/trunk/PKGBUILD
===
--- ttf-nerd-fonts-symbols/trunk/PKGBUILD   (rev 0)
+++ ttf-nerd-fonts-symbols/trunk/PKGBUILD   2020-02-11 21:22:55 UTC (rev 
568107)
@@ -0,0 +1,25 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Asger Hautop Drewsen 
+
+pkgname=ttf-nerd-fonts-symbols
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='Developer targeted patched fonts with a high number of glyphs (icons)'
+arch=('x86_64')
+url=https://github.com/ryanoasis/nerd-fonts
+license=('MIT')
+depends=('fontconfig')
+install=$pkgname.install
+source=("https://raw.githubusercontent.com/ryanoasis/nerd-fonts/$pkgver/src/glyphs/Symbols-2048-em%20Nerd%20Font%20Complete.ttf;
+
"https://raw.githubusercontent.com/ryanoasis/nerd-fonts/$pkgver/10-nerd-font-symbols.conf;
+
"https://raw.githubusercontent.com/ryanoasis/nerd-fonts/$pkgver/LICENSE;)
+sha512sums=('27570eec33e687967733633b487dd6d09ab236a710950a1a1d4eafddec545e25d5e307a4048c9cbb7b6a298e6247aa8c76277d968b5172d737fa936901de616f'
+
'4b35087c7e0a8a880a160d3abc84f983371275c091c74bfd44d01e51317e452dd42cbbd0519ba483b94978de95732ad7736c898c8fdcec451bb1096216c62e14'
+
'95712651fb58ad5f5ee1b796b1891e5cb6c62532699c08d3cd9255df46c10336faa170b4ec5a920be44d2cba68ab7726907c800e4a9b0060483437569cfe6fd3')
+
+package() {
+  install -Dm644 Symbols-2048-em%20Nerd%20Font%20Complete.ttf \
+"$pkgdir"/usr/share/fonts/TTF/'Symbols-2048-em Nerd Font Complete.ttf'
+  install -Dm644 -t "$pkgdir"/etc/fonts/conf.avail 10-nerd-font-symbols.conf
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}

Added: ttf-nerd-fonts-symbols/trunk/ttf-nerd-fonts-symbols.install
===
--- ttf-nerd-fonts-symbols/trunk/ttf-nerd-fonts-symbols.install 
(rev 0)
+++ ttf-nerd-fonts-symbols/trunk/ttf-nerd-fonts-symbols.install 2020-02-11 
21:22:55 UTC (rev 568107)
@@ -0,0 +1,13 @@
+post_install() {
+  cat << EOF
+Symlink /etc/fonts/conf.avail/10-nerd-font-symbols.conf to /etc/fonts/conf.d/
+or copy and modify as needed.
+EOF
+}
+
+post_remove() {
+  cat << EOF
+Make sure to remove /etc/fonts/conf.d/10-nerd-font-symbols.conf
+if you created it earlier.
+EOF
+}


[arch-commits] Commit in (5 files)

2020-02-11 Thread Lukas Fleischer via arch-commits
Date: Tuesday, February 11, 2020 @ 09:00:48
  Author: lfleischer
Revision: 566840

Initial import of cgit-archweb

Added:
  cgit-archweb/
  cgit-archweb/repos/
  cgit-archweb/trunk/
  cgit-archweb/trunk/PKGBUILD
  cgit-archweb/trunk/cgit.install

--+
 PKGBUILD |   49 +
 cgit.install |5 +
 2 files changed, 54 insertions(+)

Added: cgit-archweb/trunk/PKGBUILD
===
--- cgit-archweb/trunk/PKGBUILD (rev 0)
+++ cgit-archweb/trunk/PKGBUILD 2020-02-11 09:00:48 UTC (rev 566840)
@@ -0,0 +1,49 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: Sergej Pupykin 
+# Contributor: Patrick Palka 
+# Contributor: Loui Chang 
+# Contributor: Andreas Baumann 
+
+pkgname=cgit-archweb
+pkgver=1.2.2
+_commit=c45eca9e0cdf9bfbbb3a8431b5445844d4b4206e
+pkgrel=2
+pkgdesc="A web interface for git written in plain C (archweb branch)"
+arch=('x86_64')
+url="https://git.zx2c4.com/cgit/;
+license=('GPL2')
+depends=('openssl' 'luajit')
+makedepends=('git' 'zlib' 'curl' 'asciidoc')
+optdepends=('groff: about page using man page syntax'
+   'python-pygments: syntax highlighting support'
+   'python-docutils: about page formatted with reStructuredText'
+   'python-markdown: about page formatted with markdown'
+   'mime-types: serve file with correct content-type header')
+install=cgit.install
+source=("$pkgname::git+https://git.archlinux.org/cgit.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+prepare() {
+   cd "$pkgname"
+
+   git submodule init
+   git submodule update
+}
+
+build() {
+   cd "$pkgname"
+
+   make
+   make doc-man
+}
+
+package() {
+   cd "$pkgname"
+   
+   make CGIT_SCRIPT_PATH="/usr/share/webapps/$pkgname" DESTDIR="$pkgdir" 
prefix=/usr filterdir="/usr/lib/$pkgname/filters" install
+   
+   install -vd "$pkgdir/var/cache/$pkgname"
+   mkdir -p "$pkgdir/usr/lib/$pkgname"
+   mv "$pkgdir/usr/share/webapps/$pkgname/cgit.cgi" 
"$pkgdir/usr/lib/$pkgname"
+   ln -sf ../../../lib/$pkgname/cgit.cgi 
"$pkgdir/usr/share/webapps/$pkgname/cgit.cgi"
+}

Added: cgit-archweb/trunk/cgit.install
===
--- cgit-archweb/trunk/cgit.install (rev 0)
+++ cgit-archweb/trunk/cgit.install 2020-02-11 09:00:48 UTC (rev 566840)
@@ -0,0 +1,5 @@
+post_install() {
+   chown -v http:http var/cache/cgit-archweb
+   echo "==> cgit looks at /etc/cgitrc for configuration. There is"
+   echo "==> an example configuration file in the cgitrc(5) man page."
+}


[arch-commits] Commit in (5 files)

2020-02-10 Thread Lukas Fleischer via arch-commits
Date: Monday, February 10, 2020 @ 18:09:57
  Author: lfleischer
Revision: 566176

Initial import of cgit-aurweb

Added:
  cgit-aurweb/
  cgit-aurweb/repos/
  cgit-aurweb/trunk/
  cgit-aurweb/trunk/PKGBUILD
  cgit-aurweb/trunk/cgit.install

--+
 PKGBUILD |   49 +
 cgit.install |5 +
 2 files changed, 54 insertions(+)

Added: cgit-aurweb/trunk/PKGBUILD
===
--- cgit-aurweb/trunk/PKGBUILD  (rev 0)
+++ cgit-aurweb/trunk/PKGBUILD  2020-02-10 18:09:57 UTC (rev 566176)
@@ -0,0 +1,49 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: Sergej Pupykin 
+# Contributor: Patrick Palka 
+# Contributor: Loui Chang 
+# Contributor: Andreas Baumann 
+
+pkgname=cgit-aurweb
+pkgver=1.2.2
+_commit=286df1bc2332fcc5c66724a6e2cdd034c783757a
+pkgrel=1
+pkgdesc="A web interface for git written in plain C (aurweb branch)"
+arch=('x86_64')
+url="https://git.zx2c4.com/cgit/;
+license=('GPL2')
+depends=('openssl' 'luajit')
+makedepends=('git' 'zlib' 'curl' 'asciidoc')
+optdepends=('groff: about page using man page syntax'
+   'python-pygments: syntax highlighting support'
+   'python-docutils: about page formatted with reStructuredText'
+   'python-markdown: about page formatted with markdown'
+   'mime-types: serve file with correct content-type header')
+install=cgit.install
+source=("$pkgname::git+https://git.archlinux.org/users/eworm/cgit.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+prepare() {
+   cd "$pkgname"
+
+   git submodule init
+   git submodule update
+}
+
+build() {
+   cd "$pkgname"
+
+   make
+   make doc-man
+}
+
+package() {
+   cd "$pkgname"
+   
+   make CGIT_SCRIPT_PATH="/usr/share/webapps/$pkgname" DESTDIR="$pkgdir" 
prefix=/usr filterdir="/usr/lib/$pkgname/filters" install install-man
+   
+   install -vd "$pkgdir/var/cache/$pkgname"
+   mkdir -p "$pkgdir/usr/lib/$pkgname"
+   mv "$pkgdir/usr/share/webapps/$pkgname/cgit.cgi" 
"$pkgdir/usr/lib/$pkgname"
+   ln -sf ../../../lib/$pkgname/cgit.cgi 
"$pkgdir/usr/share/webapps/$pkgname/cgit.cgi"
+}

Added: cgit-aurweb/trunk/cgit.install
===
--- cgit-aurweb/trunk/cgit.install  (rev 0)
+++ cgit-aurweb/trunk/cgit.install  2020-02-10 18:09:57 UTC (rev 566176)
@@ -0,0 +1,5 @@
+post_install() {
+   chown -v http:http var/cache/cgit
+   echo "==> cgit looks at /etc/cgitrc for configuration. There is"
+   echo "==> an example configuration file in the cgitrc(5) man page."
+}


[arch-commits] Commit in (5 files)

2020-02-04 Thread Andrzej Giniewicz via arch-commits
Date: Tuesday, February 4, 2020 @ 12:57:26
  Author: aginiewicz
Revision: 562030

python-scikit-build: moving from AUR

Added:
  python-scikit-build/
  python-scikit-build/repos/
  python-scikit-build/trunk/
  python-scikit-build/trunk/PKGBUILD
  python-scikit-build/trunk/issue458.patch

+
 PKGBUILD   |   40 
 issue458.patch |   29 +
 2 files changed, 69 insertions(+)

Added: python-scikit-build/trunk/PKGBUILD
===
--- python-scikit-build/trunk/PKGBUILD  (rev 0)
+++ python-scikit-build/trunk/PKGBUILD  2020-02-04 12:57:26 UTC (rev 562030)
@@ -0,0 +1,40 @@
+# Maintainer: Andrzej Giniewicz 
+# Contributor: Martino Pilia 
+# Contributor: Ben Greiner 
+
+# TODO: think about including check() after #460 and #469 are fixed upstream
+
+pkgname=python-scikit-build
+pkgver=0.10.0
+pkgrel=3
+pkgdesc="Improved build system generator for CPython C, C++, Cython and 
Fortran extensions"
+arch=('any')
+url="https://scikit-build.org;
+license=('MIT')
+depends=('cmake' 'python-distro' 'python-wheel')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/scikit-build/scikit-build/archive/${pkgver}.tar.gz;
+"issue458.patch")
+sha256sums=('2beec252813b20327072c15e9d997f15972aedcc6a130d0154979ff0fdb1b010'
+'4e1ebdef1fc08763772c767ebad2f7fee2513cad084af318a96647c458937eeb')
+
+prepare() {
+  cd "${srcdir}/scikit-build-${pkgver}"
+
+  # see https://github.com/scikit-build/scikit-build/pull/458
+  patch -p1 < ../issue458.patch
+}
+
+build() {
+  cd "${srcdir}/scikit-build-${pkgver}"
+
+  python setup.py build_ext --inplace
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/scikit-build-${pkgver}"
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Added: python-scikit-build/trunk/issue458.patch
===
--- python-scikit-build/trunk/issue458.patch(rev 0)
+++ python-scikit-build/trunk/issue458.patch2020-02-04 12:57:26 UTC (rev 
562030)
@@ -0,0 +1,29 @@
+diff -urN scikit-build-0.10.0.orig/requirements.txt 
scikit-build-0.10.0/requirements.txt
+--- scikit-build-0.10.0.orig/requirements.txt  2020-02-04 13:44:07.340306400 
+0100
 scikit-build-0.10.0/requirements.txt   2020-02-04 13:45:00.054455198 
+0100
+@@ -1,3 +1,4 @@
+ wheel>=0.29.0
+ setuptools>=28.0.0
+-packaging
+\ Brak znaku nowej linii na końcu pliku
++packaging
++distro
+diff -urN scikit-build-0.10.0.orig/skbuild/platform_specifics/linux.py 
scikit-build-0.10.0/skbuild/platform_specifics/linux.py
+--- scikit-build-0.10.0.orig/skbuild/platform_specifics/linux.py   
2020-02-04 13:44:07.343639785 +0100
 scikit-build-0.10.0/skbuild/platform_specifics/linux.py2020-02-04 
13:45:35.738340612 +0100
+@@ -1,5 +1,6 @@
+ """This module defines object specific to Linux platform."""
+ 
++import distro
+ import platform
+ import sys
+ import textwrap
+@@ -24,7 +25,7 @@
+ """
+ # gentoo, slackware: Compiler is available by default.
+ 
+-distribution_name = platform.linux_distribution()[0]
++distribution_name = distro.id()
+ cmd = ""
+ if distribution_name in [
+ 'debian', 'Ubuntu', 'mandrake', 'mandriva']:


[arch-commits] Commit in (5 files)

2020-01-31 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, February 1, 2020 @ 06:32:44
  Author: yan12125
Revision: 560985

addpkg: python-sphinxcontrib-blockdiag, dependency of upcoming buildbot-docs

Added:
  python-sphinxcontrib-blockdiag/
  python-sphinxcontrib-blockdiag/repos/
  python-sphinxcontrib-blockdiag/trunk/
  python-sphinxcontrib-blockdiag/trunk/PKGBUILD
  python-sphinxcontrib-blockdiag/trunk/ipafont-path.diff

---+
 PKGBUILD  |   39 +++
 ipafont-path.diff |   13 +
 2 files changed, 52 insertions(+)

Added: python-sphinxcontrib-blockdiag/trunk/PKGBUILD
===
--- python-sphinxcontrib-blockdiag/trunk/PKGBUILD   
(rev 0)
+++ python-sphinxcontrib-blockdiag/trunk/PKGBUILD   2020-02-01 06:32:44 UTC 
(rev 560985)
@@ -0,0 +1,39 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-sphinxcontrib-blockdiag
+pkgver=2.0.0
+pkgrel=1
+pkgdesc='A sphinx extension for embedding block diagram using blockdiag'
+arch=(any)
+url='https://github.com/blockdiag/sphinxcontrib-blockdiag'
+license=(BSD)
+depends=(python blockdiag python-sphinx)
+makedepends=(python-setuptools)
+# otf-ipafont is used by test_latex
+checkdepends=(python-nose python-sphinx-testing python-mock python-reportlab 
otf-ipafont)
+source=("https://github.com/blockdiag/sphinxcontrib-blockdiag/archive/$pkgver/$pkgname-$pkgver.tar.gz;
+ipafont-path.diff)
+sha256sums=('cc7385eb29c81b816ae761c75557ea52a624e51cf6a7456ba7d379ba7932de1a'
+'cd127f6f66d49d91d1b8716b5361d917c354e8eed6b6817e037d2c2441b7e9e8')
+
+prepare() {
+  cd sphinxcontrib-blockdiag-$pkgver
+  patch -Np1 -i ../ipafont-path.diff
+}
+
+build() {
+  cd sphinxcontrib-blockdiag-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd sphinxcontrib-blockdiag-$pkgver
+  # Running tests with 'nosetests' fails with issues around namespace packages
+  python -m nose -v
+}
+
+package() {
+  cd sphinxcontrib-blockdiag-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Added: python-sphinxcontrib-blockdiag/trunk/ipafont-path.diff
===
--- python-sphinxcontrib-blockdiag/trunk/ipafont-path.diff  
(rev 0)
+++ python-sphinxcontrib-blockdiag/trunk/ipafont-path.diff  2020-02-01 
06:32:44 UTC (rev 560985)
@@ -0,0 +1,13 @@
+diff --git a/tests/test_latex.py b/tests/test_latex.py
+index bcef06f..175b3ba 100644
+--- a/tests/test_latex.py
 b/tests/test_latex.py
+@@ -8,7 +8,7 @@ import unittest
+ 
+ CR = "\r?\n"
+ 
+-blockdiag_fontpath = '/usr/share/fonts/truetype/ipafont/ipagp.ttf'
++blockdiag_fontpath = '/usr/share/fonts/OTF/ipagp.ttf'
+ with_png_app = with_app(srcdir='tests/docs/basic',
+ buildername='latex',
+ write_docstring=True,


[arch-commits] Commit in (5 files)

2020-01-31 Thread Christian Rebischke via arch-commits
Date: Friday, January 31, 2020 @ 19:48:39
  Author: shibumi
Revision: 560842

add ruby-json-schema for puppet

Added:
  ruby-json-schema/
  ruby-json-schema/repos/
  ruby-json-schema/trunk/
  ruby-json-schema/trunk/PKGBUILD
  ruby-json-schema/trunk/fix-broken-ruby26-and-newer-tests.patch

-+
 PKGBUILD|   58 ++
 fix-broken-ruby26-and-newer-tests.patch |   15 +++
 2 files changed, 73 insertions(+)

Added: ruby-json-schema/trunk/PKGBUILD
===
--- ruby-json-schema/trunk/PKGBUILD (rev 0)
+++ ruby-json-schema/trunk/PKGBUILD 2020-01-31 19:48:39 UTC (rev 560842)
@@ -0,0 +1,58 @@
+# Maintainer: Christian Rebischke 
+# Contributor: Roberto Valentini 
+# Contributor: Tim Meusel 
+
+_gemname='json-schema'
+pkgname="ruby-${_gemname}"
+pkgver=2.8.1
+pkgrel=2
+pkgdesc='Interface for validating JSON objects against a JSON schema 
conforming to JSON Schema Draft 4.'
+arch=('any')
+url='https://github.com/ruby-json-schema/json-schema'
+license=('MIT')
+makedepends=('ruby-rdoc' 'ruby-bundler')
+checkdepends=('ruby-rake' 'ruby-minitest' 'ruby-test-unit' 'ruby-webmock')
+depends=('ruby' 'ruby-addressable')
+options=(!emptydirs)
+source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz"
+'fix-broken-ruby26-and-newer-tests.patch')
+sha512sums=('4634fb46e0cf7cbe74def73bcdd1f8bbdf50430477cd5a2bba47c79a17f63b582d68c9064b5aec70c17b0e73db5032ddffb0a036d2f6e34ff571880b325f297b'
+
'cf11d279877860cb7508ef7ed47ae48e48b240bf828abedb049570481f42e6e777f9e9cd29b329b762d8ce29bb150cfb017f7f2175da753f191241f95a3dfaae')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+
+  # remove simplecov. It's listed as a dependency, but not actually 
used/required
+  sed --in-place '/simplecov/d' Gemfile
+
+  # replace upper version boundaries for ruby gems
+  sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
+
+  # the output of the ipaddr lib changed.
+  # This patch adjusts the expected output to match ruby2.6 and newer
+  # this is based on https://github.com/ruby-json-schema/json-schema/pull/437
+  patch --forward --verbose --strip=1 
--input=../fix-broken-ruby26-and-newer-tests.patch
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake test
+}
+
+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.md -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  install -Dm 644 CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS.md README.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}
+
+# vim: ts=2 sw=2 et:

Added: ruby-json-schema/trunk/fix-broken-ruby26-and-newer-tests.patch
===
--- ruby-json-schema/trunk/fix-broken-ruby26-and-newer-tests.patch  
(rev 0)
+++ ruby-json-schema/trunk/fix-broken-ruby26-and-newer-tests.patch  
2020-01-31 19:48:39 UTC (rev 560842)
@@ -0,0 +1,15 @@
+diff --git a/lib/json-schema/attributes/formats/ip.rb 
b/lib/json-schema/attributes/formats/ip.rb
+index 04b2e3a..172132d 100644
+--- a/lib/json-schema/attributes/formats/ip.rb
 b/lib/json-schema/attributes/formats/ip.rb
+@@ -10,8 +10,8 @@ module JSON
+
+ begin
+   ip = IPAddr.new(data)
+-rescue ArgumentError => e
+-  raise e unless e.message == 'invalid address'
++rescue => e
++ raise e unless e.message.start_with?("invalid address")
+ end
+
+ family = ip_version == 6 ? Socket::AF_INET6 : Socket::AF_INET


[arch-commits] Commit in (5 files)

2020-01-30 Thread Sergej Pupykin via arch-commits
Date: Thursday, January 30, 2020 @ 10:02:38
  Author: spupykin
Revision: 560104

add swift

Added:
  swift/
  swift/repos/
  swift/trunk/
  swift/trunk/PKGBUILD
  swift/trunk/build-fix.patch

-+
 PKGBUILD|   48 
 build-fix.patch |   32 
 2 files changed, 80 insertions(+)

Added: swift/trunk/PKGBUILD
===
--- swift/trunk/PKGBUILD(rev 0)
+++ swift/trunk/PKGBUILD2020-01-30 10:02:38 UTC (rev 560104)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Previous maintainer: Emmanuel Gil Peyrot 
+
+pkgbase='swift'
+pkgname=('swift-im' 'swiften')
+pkgver=4.0.2
+pkgrel=1
+arch=('x86_64')
+pkgdesc='XMPP client written in C++ with Qt and Swiften'
+url="http://swift.im/;
+license=('GPL3')
+makedepends=('python2' 'openssl' 'boost' 'qt5-base' 'qt5-multimedia'
+ 'qt5-webkit' 'qt5-x11extras' 'qt5-tools' 'qt5-svg')
+source=("http://swift.im/downloads/releases/$pkgbase-$pkgver/$pkgbase-$pkgver.tar.gz;
+   "build-fix.patch")
+sha256sums=('1c7c9fb981ecb9b589890c36523dbbabde2f0a708f71a66eb71e9526bf8e0a70'
+'f1b710245c5630aea585378875b334aa05dea7cb85a80f156e8494d1d5ad9a47')
+
+# Those options need to be consistent between each scons invocation.
+_scons_options='max_jobs=1 optimize=1 debug=0 swiften_dll=1'
+
+prepare() {
+  cd $pkgbase-$pkgver
+  patch -p1 <"$srcdir"/build-fix.patch
+}
+
+build() {
+  cd $pkgbase-$pkgver
+  ./scons $_scons_options Swift Swiften
+}
+
+package_swift-im() {
+  pkgdesc='XMPP client written in C++ with Qt and Swiften'
+  depends=("swiften=$pkgver" 'qt5-base' 'qt5-multimedia' 'qt5-webkit'
+   'qt5-x11extras' 'qt5-svg' 'libxss' 'hicolor-icon-theme')
+
+  cd $pkgbase-$pkgver
+  ./scons $_scons_options SWIFT_INSTALLDIR="$pkgdir"/usr/ "$pkgdir"/usr/
+}
+
+package_swiften() {
+  pkgdesc='XMPP library written in C++ with Boost'
+  depends=('boost-libs' 'libxml2' 'libidn' 'avahi' 'openssl')
+
+  cd $pkgbase-$pkgver
+  ./scons $_scons_options SWIFTEN_INSTALLDIR="$pkgdir"/usr/ "$pkgdir"/usr/
+}


Property changes on: swift/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: swift/trunk/build-fix.patch
===
--- swift/trunk/build-fix.patch (rev 0)
+++ swift/trunk/build-fix.patch 2020-01-30 10:02:38 UTC (rev 560104)
@@ -0,0 +1,32 @@
+diff -wbBur swift-4.0.2/Swift/QtUI/UserSearch/QtUserSearchWindow.h 
swift-4.0.2.my/Swift/QtUI/UserSearch/QtUserSearchWindow.h
+--- swift-4.0.2/Swift/QtUI/UserSearch/QtUserSearchWindow.h 2018-04-06 
13:06:46.0 +0300
 swift-4.0.2.my/Swift/QtUI/UserSearch/QtUserSearchWindow.h  2019-10-08 
20:52:23.171475337 +0300
+@@ -9,6 +9,7 @@
+ #include 
+ 
+ #include 
++#include 
+ 
+ #include 
+ 
+diff -wbBur swift-4.0.2/Swiften/Network/PlatformNATTraversalWorker.cpp 
swift-4.0.2.my/Swiften/Network/PlatformNATTraversalWorker.cpp
+--- swift-4.0.2/Swiften/Network/PlatformNATTraversalWorker.cpp 2018-04-06 
13:06:46.0 +0300
 swift-4.0.2.my/Swiften/Network/PlatformNATTraversalWorker.cpp  
2019-10-08 21:12:25.284754131 +0300
+@@ -157,7 +157,7 @@
+ miniUPnPInterface = new MiniUPnPInterface();
+ miniUPnPSupported = miniUPnPInterface->isAvailable();
+ }
+-SWIFT_LOG(debug) << "UPnP NAT traversal supported: " << miniUPnPSupported 
<< std::endl;
++//SWIFT_LOG(debug) << "UPnP NAT traversal supported: " << 
miniUPnPSupported << std::endl;
+ if (miniUPnPSupported) {
+ return miniUPnPInterface;
+ }
+@@ -168,7 +168,7 @@
+ natPMPInterface = new NATPMPInterface();
+ natPMPSupported = natPMPInterface->isAvailable();
+ }
+-SWIFT_LOG(debug) << "NAT-PMP NAT traversal supported: " << 
natPMPSupported << std::endl;
++//SWIFT_LOG(debug) << "NAT-PMP NAT traversal supported: " << 
natPMPSupported << std::endl;
+ if (natPMPSupported) {
+ return natPMPInterface;
+ }


[arch-commits] Commit in (5 files)

2020-01-25 Thread Christian Rebischke via arch-commits
Date: Saturday, January 25, 2020 @ 12:56:19
  Author: shibumi
Revision: 555432

add ruby-webmock as test dep for puppet

Added:
  ruby-webmock/
  ruby-webmock/repos/
  ruby-webmock/trunk/
  ruby-webmock/trunk/PKGBUILD
  ruby-webmock/trunk/disable-unneeded-dependencies.patch

-+
 PKGBUILD|   56 ++
 disable-unneeded-dependencies.patch |   19 +++
 2 files changed, 75 insertions(+)

Added: ruby-webmock/trunk/PKGBUILD
===
--- ruby-webmock/trunk/PKGBUILD (rev 0)
+++ ruby-webmock/trunk/PKGBUILD 2020-01-25 12:56:19 UTC (rev 555432)
@@ -0,0 +1,56 @@
+# Maintainer: Tim Meusel 
+
+_gemname='webmock'
+pkgname="ruby-${_gemname}"
+pkgver=3.8.0
+pkgrel=2
+pkgdesc='Allows stubbing HTTP requests and setting expectations on HTTP 
requests.
+'
+arch=('any')
+url='https://github.com/bblimke/webmock'
+license=('MIT')
+makedepends=('ruby-rdoc')
+checkdepends=('ruby-rake' 'ruby-minitest' 'ruby-test-unit' 'ruby-rspec')
+depends=('ruby' 'ruby-crack' 'ruby-hashdiff' 'ruby-addressable')
+options=(!emptydirs)
+source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz"
+'disable-unneeded-dependencies.patch')
+sha512sums=('1dc76e9a43c9746d771a53106d02e2a2506be49f9e17ab5628ac6f6afdcc3d4112878f01287fcd97a3fdcb55f4d30e345666a68472e8d451414ca8f41046928f'
+
'd946429e8f4f90ef263e8b28b4b536b2d81a46f48076a64f5a68ea06fa9abb19470c9bd14035d086d8e054b0df9085f5793b1aa38ffda576b5161852ddae64aa')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+
+  # we build based on a tar ball, so `git` won't work
+  sed --in-place 's|git ls-files|find|' "${_gemname}.gemspec" 
spec/quality_spec.rb
+
+  # disable unneeded dependencies
+  patch --forward --verbose --strip=1 
--input='../disable-unneeded-dependencies.patch'
+  sed --in-place '/bundler/d' Rakefile
+  sed --in-place '/Bundler/d' Rakefile
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake minitest
+  rake test
+
+}
+
+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 -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+  rm -rf 
"${pkgdir}/${_gemdir}/gems/${_gemname}-${pkgver}/"{test,spec,minitest,.gemtest,.gitignore,.travis.yml}
+}
+
+# vim: ts=2 sw=2 et:

Added: ruby-webmock/trunk/disable-unneeded-dependencies.patch
===
--- ruby-webmock/trunk/disable-unneeded-dependencies.patch  
(rev 0)
+++ ruby-webmock/trunk/disable-unneeded-dependencies.patch  2020-01-25 
12:56:19 UTC (rev 555432)
@@ -0,0 +1,19 @@
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 7a219fc..cfe0c53 100644
+--- a/spec/spec_helper.rb
 b/spec/spec_helper.rb
+@@ -1,14 +1,5 @@
+ require 'rubygems'
+ require 'httpclient'
+-unless RUBY_PLATFORM =~ /java/
+-  require 'curb'
+-  require 'patron'
+-  require 'em-http'
+-  require 'typhoeus'
+-end
+-if RUBY_PLATFORM =~ /java/
+-  require 'manticore'
+-end
+ 
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))


[arch-commits] Commit in (5 files)

2020-01-25 Thread Christian Rebischke via arch-commits
Date: Saturday, January 25, 2020 @ 12:45:41
  Author: shibumi
Revision: 555427

add ruby-rspec-its as puppet check dependency

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 |   22 +++
 2 files changed, 75 insertions(+)

Added: ruby-rspec-its/trunk/PKGBUILD
===
--- ruby-rspec-its/trunk/PKGBUILD   (rev 0)
+++ ruby-rspec-its/trunk/PKGBUILD   2020-01-25 12:45:41 UTC (rev 555427)
@@ -0,0 +1,53 @@
+# Maintainer: Tim Meusel 
+
+_gemname='rspec-its'
+pkgname="ruby-${_gemname}"
+pkgver=1.3.0
+pkgrel=2
+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'
+
'b70417982922bbef379c5245c1c97a5b18771a5fc1884146c1c297fc54ae29f55d143e24e5e4d81e775de53d95bbe86fc80087be3ac3ea7669b1bbf1f44fd2ef')
+
+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 2020-01-25 12:45:41 UTC (rev 
555427)
@@ -0,0 +1,22 @@
+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)

2020-01-20 Thread Christian Rebischke via arch-commits
Date: Monday, January 20, 2020 @ 20:10:27
  Author: shibumi
Revision: 553253

add ruby-httpclient as dep for puppet

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

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

Added: ruby-httpclient/trunk/PKGBUILD
===
--- ruby-httpclient/trunk/PKGBUILD  (rev 0)
+++ ruby-httpclient/trunk/PKGBUILD  2020-01-20 20:10:27 UTC (rev 553253)
@@ -0,0 +1,63 @@
+# Maintainer: Christian Rebischke 
+# Contributor: farwayer 
+# Contributor: Tim Meusel 
+
+_gemname='httpclient'
+pkgname="ruby-${_gemname}"
+pkgver=2.8.3
+pkgrel=6
+pkgdesc='gives something like the functionality of libwww-perl (LWP) in Ruby'
+arch=('any')
+url='https://github.com/nahi/httpclient'
+license=('RUBY')
+makedepends=('ruby-rdoc' 'ruby-bundler')
+checkdepends=('ruby-rake' 'ruby-http-cookie' 'ruby-test-unit' 'ruby-rack')
+depends=('ruby')
+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 build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake test
+}
+
+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"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}
+
+# vim: ts=2 sw=2 et:

Added: ruby-httpclient/trunk/disable-broken-TLS-test.patch
===
--- ruby-httpclient/trunk/disable-broken-TLS-test.patch 
(rev 0)
+++ ruby-httpclient/trunk/disable-broken-TLS-test.patch 2020-01-20 20:10:27 UTC 
(rev 553253)
@@ -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 

[arch-commits] Commit in (5 files)

2020-01-17 Thread David Runge via arch-commits
Date: Friday, January 17, 2020 @ 22:13:19
  Author: dvzrv
Revision: 552917

Adding python-django-sekizai as checkdepends for python-django-compressor (a 
depends for hyperkitty).

Added:
  python-django-sekizai/
  python-django-sekizai/repos/
  python-django-sekizai/trunk/
  python-django-sekizai/trunk/PKGBUILD
  python-django-sekizai/trunk/python-django-sekizai-1.0.0-disable_pep8.patch

+
 PKGBUILD   |   49 +++
 python-django-sekizai-1.0.0-disable_pep8.patch |   29 +
 2 files changed, 78 insertions(+)

Added: python-django-sekizai/trunk/PKGBUILD
===
--- python-django-sekizai/trunk/PKGBUILD(rev 0)
+++ python-django-sekizai/trunk/PKGBUILD2020-01-17 22:13:19 UTC (rev 
552917)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge 
+
+_name=django-sekizai
+pkgname=python-django-sekizai
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Django Template Blocks with extra functionality"
+arch=('any')
+url="https://github.com/divio/django-sekizai;
+license=('BSD')
+depends=('python-django' 'python-django-classy-tags')
+makedepends=('python-setuptools')
+# test files are missing from 1.0.0 release
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;
+
"https://raw.githubusercontent.com/divio/django-sekizai/d4c382cdc7c53ad595aa4fa6fe48dd8a59ca675e/runtests.py;
+"${pkgname}-1.0.0-disable_pep8.patch")
+sha512sums=('3ac3de68a020b030270ef10299be610c3a6934907aa003a4c1adf840f9740b7a42fa27bd605a510ffecc59140b7fdeb6bfafec8c64158cfb9e3896e87a13e889'
+
'6458f3b9d07810189d4688cc7096a00ba15d6aa4b3acac620c9b31b5af4c9f9aea9801676695d8e385499cb77b36f9a4dfd5fb18594fe219f8601378d21242de'
+
'2b6bbeb401ab2d24cb3f233500415bd04e52afddac4c99ed82b5b2aaa1168e9a2e0a04ea3dcac394e3831c81dee823d470128ab048a517ecd0dda38e90628ed1')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  ln -svf "${PWD}/runtests.py" "$pkgname-$pkgver/"
+  cd "$pkgname-$pkgver"
+  # disabling pep8 usage in the tests, as it is super outdated:
+  # https://github.com/divio/django-sekizai/issues/85
+  patch -Np1 -i "../${pkgname}-1.0.0-disable_pep8.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  python setup.py test
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--prefix=/usr \
+--root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Added: 
python-django-sekizai/trunk/python-django-sekizai-1.0.0-disable_pep8.patch
===
--- python-django-sekizai/trunk/python-django-sekizai-1.0.0-disable_pep8.patch  
(rev 0)
+++ python-django-sekizai/trunk/python-django-sekizai-1.0.0-disable_pep8.patch  
2020-01-17 22:13:19 UTC (rev 552917)
@@ -0,0 +1,29 @@
+diff -ruN a/sekizai/tests.py b/sekizai/tests.py
+--- a/sekizai/tests.py 2019-04-11 13:58:21.0 +0200
 b/sekizai/tests.py 2020-01-17 22:52:11.701137106 +0100
+@@ -9,7 +9,6 @@
+ from django.conf import settings
+ from django.template.loader import render_to_string
+ from django.template.engine import Engine
+-import pep8
+ 
+ from sekizai import context_processors
+ from sekizai.context import SekizaiContext
+@@ -212,17 +211,6 @@
+ self.assertTrue(result.status, result.message)
+ return rendered
+ 
+-def test_pep8(self):
+-sekizai_dir = os.path.dirname(os.path.abspath(__file__))
+-pep8style = pep8.StyleGuide()
+-with CaptureStdout() as stdout:
+-result = pep8style.check_files([sekizai_dir])
+-errors = stdout.getvalue()
+-self.assertEqual(
+-result.total_errors, 0,
+-"Code not PEP8 compliant:\n{0}".format(errors)
+-)
+-
+ def test_basic_dual_block(self):
+ """
+ Basic dual block testing


[arch-commits] Commit in (5 files)

2020-01-17 Thread Alexander Rødseth via arch-commits
Date: Friday, January 17, 2020 @ 10:39:38
  Author: arodseth
Revision: 552833

Add python-compiler, needed for transitioning shedskin to Python 3

Added:
  python-compiler/
  python-compiler/repos/
  python-compiler/repos/community-any/
  python-compiler/trunk/
  python-compiler/trunk/PKGBUILD

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

Added: python-compiler/trunk/PKGBUILD
===
--- python-compiler/trunk/PKGBUILD  (rev 0)
+++ python-compiler/trunk/PKGBUILD  2020-01-17 10:39:38 UTC (rev 552833)
@@ -0,0 +1,24 @@
+# Maintainer: Alexander F. Rødseth 
+
+pkgname=python-compiler
+pkgver=1.1
+pkgrel=1
+pkgdesc='The compiler package from Python 2, ported to Python 3'
+arch=(any)
+url='https://github.com/pfalcon/python-compiler'
+license=(custom)
+makedepends=(git python python-setuptools)
+source=("git+https://github.com/pfalcon/python-compiler#commit=e71a47b4bf6570afe12ebb4a16fb70561c134e98;)
 # version 1.1
+sha256sums=('SKIP')
+
+build(){
+  cd $pkgname
+  python setup.py build
+}
+
+package() {
+  cd $pkgname
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in (5 files)

2020-01-16 Thread Jelle van der Waa via arch-commits
Date: Thursday, January 16, 2020 @ 20:35:48
  Author: jelle
Revision: 373591

initial commit

Added:
  prometheus-memcached-exporter/
  prometheus-memcached-exporter/repos/
  prometheus-memcached-exporter/trunk/
  prometheus-memcached-exporter/trunk/PKGBUILD
  prometheus-memcached-exporter/trunk/prometheus-memcached-exporter.service

---+
 PKGBUILD  |   46 
 prometheus-memcached-exporter.service |   26 ++
 2 files changed, 72 insertions(+)

Added: prometheus-memcached-exporter/trunk/PKGBUILD
===
--- prometheus-memcached-exporter/trunk/PKGBUILD
(rev 0)
+++ prometheus-memcached-exporter/trunk/PKGBUILD2020-01-16 20:35:48 UTC 
(rev 373591)
@@ -0,0 +1,46 @@
+# Maintainer: Jelle van der Waa 
+
+pkgname=prometheus-memcached-exporter
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Exports metrics from memcached servers for consumption by Prometheus"
+arch=('x86_64')
+url="https://github.com/prometheus/memcached_exporter;
+license=('Apache')
+depends=(glibc)
+makedepends=(go-pie memcached)
+source=($pkgname-$pkgver.tar.gz::https://github.com/prometheus/memcached_exporter/archive/v${pkgver}.tar.gz
 prometheus-memcached-exporter.service)
+sha512sums=('02238da4e901c3e3b57144501d64fa19502bdcf1aa65e775188ef18f9e524c4e2a44d87e8dcc926261b589715a8347628b87c2e418bcbcc63b5a18058ef771be'
+
'cf40ca9f2ea11e3d877314e54af963308fa256a981dd4bf03850367d44537b8d0f42f6934c61e6f38de35c88dcb9cec4433dc188cddb7f4d32964bf0cc837ede')
+
+check() {
+  cd memcached_exporter-$pkgver
+  memcached_pids=()
+  memcached -p 11211 -U 11211 >/dev/null& memcached_pids+=($!)
+
+  local ret=0
+  go test ./... || ret=1
+
+  kill ${memcached_pids[@]}
+
+  return $ret
+}
+
+build() {
+  cd memcached_exporter-$pkgver
+  go build \
+-trimpath \
+-ldflags "-extldflags ${LDFLAGS} \
+  -X github.com/prometheus/common/version.Version=$pkgver \
+  -X github.com/prometheus/common/version.Revision=$pkgver \
+  -X github.com/prometheus/common/version.Branch=tarball \
+  -X github.com/prometheus/common/version.BuildUser=someone@builder \
+  -X github.com/prometheus/common/version.BuildDate=$(date 
-d@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
+.
+}
+
+package() {
+  install -Dm644 prometheus-memcached-exporter.service 
"$pkgdir"/usr/lib/systemd/system/prometheus-memcached-exporter.service
+  cd memcached_exporter-$pkgver
+  install -Dm755 memcached_exporter 
"$pkgdir"/usr/bin/prometheus-memcached-exporter
+}

Added: prometheus-memcached-exporter/trunk/prometheus-memcached-exporter.service
===
--- prometheus-memcached-exporter/trunk/prometheus-memcached-exporter.service   
(rev 0)
+++ prometheus-memcached-exporter/trunk/prometheus-memcached-exporter.service   
2020-01-16 20:35:48 UTC (rev 373591)
@@ -0,0 +1,26 @@
+[Unit]
+Description=Prometheus memcached Exporter
+After=network.target memcached.service
+
+[Service]
+ExecStart=/usr/bin/prometheus-memcached-exporter
+ExecReload=/bin/kill -HUP $MAINPID
+DynamicUser=true
+
+NoNewPrivileges=true
+ProtectSystem=full
+ProtectKernelModules=true
+ProtectKernelTunables=true
+PrivateTmp=true
+LockPersonality=true
+ProtectHostname=true
+ProtectHome=true
+ProtectControlGroups=true
+PrivateDevices=true
+PrivateUsers=true
+RestrictRealtime=true
+CapabilityBoundingSet=
+MemoryDenyWriteExecute=true
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in (5 files)

2020-01-09 Thread Eli Schwartz via arch-commits
Date: Thursday, January 9, 2020 @ 17:31:55
  Author: eschwartz
Revision: 551353

add new POSIX metapackage

discussed on arch-dev-public

Added:
  posix/
  posix/repos/
  posix/trunk/
  posix/trunk/PKGBUILD
  posix/trunk/xsi.install

-+
 PKGBUILD|   95 ++
 xsi.install |   10 ++
 2 files changed, 105 insertions(+)

Added: posix/trunk/PKGBUILD
===
--- posix/trunk/PKGBUILD(rev 0)
+++ posix/trunk/PKGBUILD2020-01-09 17:31:55 UTC (rev 551353)
@@ -0,0 +1,95 @@
+# Maintainer: Eli Schwartz 
+
+# The list of utilities can be found at
+# https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html
+
+# Not all utilities are required: if the synopsis is entirely shaded and
+# annotated with a code, it is only needed for that code. Examples: user
+# portability, XSI, Software Development, C Development. Some of these groups
+# were implemented here too, though almost certainly the only important ones
+# are UP and XSI.
+
+pkgbase=posix
+pkgname=('posix' 'posix-xsi' 'posix-user-portability' 'posix-c-development' 
'posix-software-development')
+pkgver=2017
+pkgrel=1
+pkgdesc="metapackage providing the POSIX shell and utilities (XCU)"
+arch=('any')
+url="https://pubs.opengroup.org/onlinepubs/9699919799/;
+depends=('at' # at batch
+ 'awk'
+ 'coreutils' # basename cat chgrp chmod chown cksum comm cp csplit cut 
date dd df dirname
+ # du echo env expand expr false fold head id join ln 
logname ls mkdir mkfifo
+ # mv nice nohup od paste pathchk pr printf pwd rm rmdir 
sleep sort split stty
+ # tail tee test touch tr true tsort tty uname unexpand 
uniq unlink wc who
+ 'bc'
+ 'diffutils' # cmp diff
+ 'ed'
+ 'file'
+ 'findutils' # find xargs
+ 'glibc' # gencat getconf iconv locale localedef
+ 'grep'
+ 'util-linux' # kill logger mesg newgrp renice write
+ 'cups' # lp -- sorry!
+ 'm4'
+ 's-nail' # mailx
+ 'man-db' # man
+ 'patch'
+ 'pax'
+ 'procps-ng' # ps
+ 'sed'
+ 'sh'
+ 'binutils' # strings
+ 'ncurses' # tabs tput
+ 'time' # -- is not required to be a convenient shell builtin, dash 
doesn't have it
+ 'sharutils' # uudecode uuencode
+)
+
+package_posix() {
+:
+}
+
+package_posix-xsi() {
+pkgdesc+=": X/Open System Interfaces"
+depends=('posix'
+ 'util-linux' # cal ipcrm ipcs kill
+ 'ncompress' # compress
+ 'coreutils' # df link nl od
+ 'psmisc' # fuser
+ 'procps-ng' # ps
+ 'ncurses' # tabs
+ 'gzip' # uncompress (but not compress...) zcat
+ 'uucp' # uucp uustat uux
+ # missing: cflow cxref
+ # missing SCCS: admin delta get prs rmdel sact sccs unget val what
+)
+install=xsi.install
+}
+
+package_posix-user-portability() {
+pkgdesc+=": User Portability Utilities"
+depends=('posix'
+ 'cronie' # crontab
+ 'vi' # ex vi
+ 'util-linux' # more
+ 'inetutils' # talk
+)
+}
+
+package_posix-c-development() {
+pkgdesc+=": C-Language Development Utilities"
+depends=('posix'
+ 'gcc' # c99
+ 'flex' # lex
+ 'bison' # yacc
+)
+}
+
+package_posix-software-development() {
+pkgdesc+=": Software Development"
+depends=('posix'
+ 'binutils' # ar nm strip
+ 'ctags'
+ 'make'
+)
+}

Added: posix/trunk/xsi.install
===
--- posix/trunk/xsi.install (rev 0)
+++ posix/trunk/xsi.install 2020-01-09 17:31:55 UTC (rev 551353)
@@ -0,0 +1,10 @@
+post_install() {
+cat << '__EOF__'
+warning: XSI compliance is not 100% complete, not all tools are packaged.
+ - The SCCS development tools are not available, but may be obtained
+   from the AUR in the event you believe anyone still uses it.
+ - The cflow package can likewise be obtained from the AUR.
+ - A cxref package may need to be created, if there are interested
+   parties.
+__EOF__
+}


[arch-commits] Commit in (5 files)

2020-01-08 Thread Thore Bödecker via arch-commits
Date: Wednesday, January 8, 2020 @ 13:12:03
  Author: foxxx0
Revision: 550267

imported from aur, add check() and minor changes

Added:
  python-adal/
  python-adal/repos/
  python-adal/trunk/
  python-adal/trunk/PKGBUILD
  python-adal/trunk/fix-broken-mex-test.patch

---+
 PKGBUILD  |   39 +++
 fix-broken-mex-test.patch |   11 +++
 2 files changed, 50 insertions(+)

Added: python-adal/trunk/PKGBUILD
===
--- python-adal/trunk/PKGBUILD  (rev 0)
+++ python-adal/trunk/PKGBUILD  2020-01-08 13:12:03 UTC (rev 550267)
@@ -0,0 +1,39 @@
+# Maintainer: Lukas Zimmermann  
+# Contributor: Kelsey Maes 
+pkgname=python-adal
+_pkgbase='azure-activedirectory-library-for-python'
+pkgver=1.2.2
+pkgrel=1
+pkgdesc='ADAL for Python'
+arch=('any')
+url="https://github.com/AzureAD/${_pkgbase};
+license=('MIT')
+depends=('python-cryptography' 'python-dateutil' 'python-pyjwt' 
'python-requests')
+makedepends=('fakeroot' 'python-setuptools')
+checkdepends=('python-httpretty')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AzureAD/${_pkgbase}/archive/${pkgver}.tar.gz;
+'fix-broken-mex-test.patch')
+sha256sums=('1c81894a99a5616c0318f5677e0c7ae68d93be6ab0dbebfcb8ed68a3caef3897'
+'29a9354028a9420ba883cb494688a0ecbf238d8e46fc011c4a309515a1444faa')
+
+prepare() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  patch -p1 -N -i "${srcdir}/fix-broken-mex-test.patch"
+}
+
+build() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  python -m unittest discover -s tests
+}
+
+package() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+

Added: python-adal/trunk/fix-broken-mex-test.patch
===
--- python-adal/trunk/fix-broken-mex-test.patch (rev 0)
+++ python-adal/trunk/fix-broken-mex-test.patch 2020-01-08 13:12:03 UTC (rev 
550267)
@@ -0,0 +1,11 @@
+--- a/tests/test_mex.py2019-07-04 01:01:44.0 +0200
 b/tests/test_mex.py2020-01-08 14:03:06.696115227 +0100
+@@ -52,7 +52,7 @@ class Test_Mex(unittest.TestCase):
+ mex.discover()
+ self.fail('No exception was thrown caused by failed request')
+ except Exception as exp:
+-self.assertEqual(exp.args[0], 'Mex Get request returned http 
error: 500 and server response: HTTPretty :)')
++self.assertEqual(exp.args[0], 'Mex Get request returned http 
error: 500 and server response: {"message": "HTTPretty :)"}')
+ 
+ @httpretty.activate
+ def _happyPathTest(self, file_name, expectedUrl):


  1   2   3   4   5   6   7   8   9   10   >