[arch-commits] Commit in geoip-database/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Thursday, June 23, 2022 @ 02:06:31
  Author: foutrelis
Revision: 449347

upgpkg: geoip-database 20220621-1: update

Modified:
  geoip-database/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 22:23:53 UTC (rev 449346)
+++ PKGBUILD2022-06-23 02:06:31 UTC (rev 449347)
@@ -1,7 +1,7 @@
 # Maintainer: Evangelos Foutras 
 
 pkgname=('geoip-database' 'geoip-database-extra')
-pkgver=20220524
+pkgver=20220621
 pkgrel=1
 arch=('any')
 url="https://mailfud.org/geoip-legacy/;
@@ -15,12 +15,12 @@
 GeoIPCityv6-$pkgver.dat.gz::$_source_base/GeoIPCityv6.dat.gz
 GeoIPASNum-$pkgver.dat.gz::$_source_base/GeoIPASNum.dat.gz
 GeoIPASNumv6-$pkgver.dat.gz::$_source_base/GeoIPASNumv6.dat.gz)
-sha256sums=('cfb1caaefa31c63f4fd14cc558719a79e3a9c1f249eb904fbbc8e5bd5e7d531c'
-'20b9e2f237fcc0886bf28d3be64fd6bd817aa297a2771adc5abbb1e65573d6e4'
-'57e5dde72409be7e072f30a0541a033d7c6e0ff1b2f02e2e25cc5a55ace3b639'
-'d47440da29f232e6660272cba83cac148162098b22ea6c387da90e529e95c016'
-'61b07be55a3e391921172b0303916b2dab641f94ed09bb98fe91cd050174044b'
-'a65a3e4390ceb0743a7aae4280854efbf81aa1eb2b62f0e8a127c302a7655f47')
+sha256sums=('d37b2ff933bbf0c8ba63706a39bba261018735430176ff90649763c32ac817a8'
+'d505985e5a27a3052c425b3e097be3f23d22e84bca5974b35f645a2e9e0c'
+'f822f458e85f2f75bb6f33196ada5079f819dc419cf4d7e47e6ec29bfbd120d1'
+'37d7972176a127321d6f2be48b27d89b01d65a39391a0d25f5800ba20fb0662a'
+'e2b42a48d2d86eb6af6e7a2a7461b1642debfe64959e7babcaaad52940e41753'
+'7239560f5115a02846e9e42400329750aaa7a01b7863fd68d9ca0890c9a97ed0')
 
 prepare() {
   cd "$srcdir"



[arch-commits] Commit in faust/repos (2 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Thursday, June 23, 2022 @ 01:59:35
  Author: foutrelis
Revision: 1239206

archrelease: copy trunk to community-staging-x86_64

Added:
  faust/repos/community-staging-x86_64/
  faust/repos/community-staging-x86_64/PKGBUILD
(from rev 1239205, faust/trunk/PKGBUILD)

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

Copied: faust/repos/community-staging-x86_64/PKGBUILD (from rev 1239205, 
faust/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-23 01:59:35 UTC (rev 1239206)
@@ -0,0 +1,110 @@
+# Maintainer: David Runge 
+# Contributor: Albert Graef 
+# Contributor: Bernardo Barros 
+# Contributor: bjoern lindig (bjoern _dot_ lindig _at_ google.com)
+
+pkgname=faust
+pkgver=2.40.0
+pkgrel=2
+pkgdesc="A functional programming language for realtime audio signal 
processing."
+arch=(x86_64)
+url="https://faust.grame.fr/;
+license=(GPL2)
+groups=(pro-audio)
+depends=(gcc-libs glibc llvm-libs libmicrohttpd)
+makedepends=(cmake libsndfile llvm xxd)
+optdepends=(
+  'clang: for sound2reader'
+  'csound: for faust2csound'
+  'gradle: for faust2android'
+  'graphviz: for faust2sig{,viewer}'
+  'gtk2: for faust2{jack,rosgtk}'
+  'inkscape: for faust2{pdf,png}'
+  'jack: for 
faust2{api,jack{,console,internal,server,rust},jaqt,netjackqt,nodejs,ros,rosgtk,rpinetjackconsole}'
+  'swig: for faust2android'
+  'libsndfile: for faust2{dummy,sndfile}'
+  'octave: for faust2octave'
+  'pd: for faust2puredata'
+  'portaudio: for faust2paqt'
+  'python: for faust2atomsnippets, faust2md and faust2sc.py'
+  'qt5-tools: for faust2{faustvst,jaqt,lv2}'
+  'rtaudio: for faust2raqt'
+  'ruby-rexml: for faust2sc and scbuilder'
+  'rust: for faust2jackrust'
+  'supercollider: for faust2supercollider'
+  'texlive-core: for faust2pdf'
+)
+provides=(libfaustmachine.so libfaust.so libOSCFaust.so libHTTPDFaust.so)
+options=(debug staticlibs)
+source=(https://github.com/grame-cncm/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
 
$pkgname-llvm14.patch::https://github.com/grame-cncm/faust/commit/1275ec6774e0.patch)
+sha512sums=('7ecb334b95042caa3a44ecbb711a972b6f979afca4c67fc4f32acf548ed85472e941c6590a139464aeb5266c3e88fe639e2060a110a98e88fd7b1994e0a87650'
+
'15958650d4e60c000e646a25b7fae2da7331b03baae793d9890413e1ee9771c4f8f40cf9a398e3118240720f48765cfd416355771d5777632f723e286e55e447')
+b2sums=('31a4403d1d53379bd1824ab2b908c3236bb8cefd9ab599d71b72d214f328dcbd04fa144fbd7f8f5d8814c3d13926c8d043b351700baa6b7e048014bd3ca5a932'
+
'7d64bca3934ace798a2be1d217ac13f0df1a8ac76a07cd7a426f748e525eb41d5c1f51e5e2ee0cd8f3473816e4fdd086b822f3cc1daeebf8d10d447f86aa6088')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../$pkgname-llvm14.patch
+}
+
+build() {
+  # prevent static libs from being mangled with LTO
+  CXXFLAGS+=' -ffat-lto-objects'
+
+  cd $pkgname-$pkgver
+  cmake -C build/backends/all.cmake \
+-C build/targets/all.cmake \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=None \
+-DINCLUDE_DYNAMIC=ON \
+-DINCLUDE_STATIC=ON \
+-DINCLUDE_ITP=ON \
+-W no-dev \
+-B $pkgname-build \
+-S build
+  make VERBOSE=1 -C $pkgname-build
+  make VERBOSE=1 -C tools/sound2faust
+}
+
+package() {
+  depends+=(libsndfile.so)
+
+  cd $pkgname-$pkgver
+  make VERBOSE=1 PREFIX=/usr DESTDIR="$pkgdir" install -C $pkgname-build
+  make VERBOSE=1 PREFIX=/usr DESTDIR="$pkgdir" install -C tools/sound2faust
+
+  # docs
+  install -vDm 644 documentation/{,misc/}*.pdf -t 
"$pkgdir/usr/share/doc/$pkgname"
+
+  # examples
+  install -vd "$pkgdir/usr/share/$pkgname/examples"
+  cp -vR "examples/"* "$pkgdir/usr/share/$pkgname/examples/"
+
+  cd syntax-highlighting
+  # atom
+  install -vDm 644 atom/language-$pkgname/package.json -t 
"$pkgdir/usr/lib/atom/dot-atom/packages/language-$pkgname/"
+  install -vDm 644 atom/language-$pkgname/grammars/$pkgname.cson -t 
"$pkgdir/usr/lib/atom/dot-atom/packages/language-$pkgname/grammars/"
+  install -vDm 644 atom/language-$pkgname/settings/language-$pkgname.cson -t 
"$pkgdir/usr/lib/atom/dot-atom/packages/language-$pkgname/settings/"
+  install -vDm 644 atom/language-$pkgname/snippets/* -t 
"$pkgdir/usr/lib/atom/dot-atom/packages/language-$pkgname/snippets/"
+  install -vDm 644 atom/language-$pkgname/process-palette.json.linux 
"$pkgdir/usr/share/doc/$pkgname/process-palette.json"
+  # kate
+  install -vDm 644 $pkgname.xml -t "$pkgdir/usr/share/apps/katepart/syntax/"
+  # gedit
+  install -vDm 644 $pkgname.lang -t 
"$pkgdir/usr/share/gtksourceview-2.0/language-specs/"
+  install -vDm 644 $pkgname.lang -t 
"$pkgdir/usr/share/gtksourceview-3.0/language-specs/"
+  # highlight
+  install -vDm 644 dsp.lang -t "$pkgdir/usr/share/highlight/langDefs/"
+  # nano
+  install -vDm 644 $pkgname.nanorc 

[arch-commits] Commit in faust/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Thursday, June 23, 2022 @ 01:59:27
  Author: foutrelis
Revision: 1239205

upgpkg: faust 2.40.0-2: LLVM 14 rebuild

Modified:
  faust/trunk/PKGBUILD

--+
 PKGBUILD |   15 +++
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-23 01:49:11 UTC (rev 1239204)
+++ PKGBUILD2022-06-23 01:59:27 UTC (rev 1239205)
@@ -5,7 +5,7 @@
 
 pkgname=faust
 pkgver=2.40.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A functional programming language for realtime audio signal 
processing."
 arch=(x86_64)
 url="https://faust.grame.fr/;
@@ -36,10 +36,17 @@
 )
 provides=(libfaustmachine.so libfaust.so libOSCFaust.so libHTTPDFaust.so)
 options=(debug staticlibs)
-source=(https://github.com/grame-cncm/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('7ecb334b95042caa3a44ecbb711a972b6f979afca4c67fc4f32acf548ed85472e941c6590a139464aeb5266c3e88fe639e2060a110a98e88fd7b1994e0a87650')
-b2sums=('31a4403d1d53379bd1824ab2b908c3236bb8cefd9ab599d71b72d214f328dcbd04fa144fbd7f8f5d8814c3d13926c8d043b351700baa6b7e048014bd3ca5a932')
+source=(https://github.com/grame-cncm/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
 
$pkgname-llvm14.patch::https://github.com/grame-cncm/faust/commit/1275ec6774e0.patch)
+sha512sums=('7ecb334b95042caa3a44ecbb711a972b6f979afca4c67fc4f32acf548ed85472e941c6590a139464aeb5266c3e88fe639e2060a110a98e88fd7b1994e0a87650'
+
'15958650d4e60c000e646a25b7fae2da7331b03baae793d9890413e1ee9771c4f8f40cf9a398e3118240720f48765cfd416355771d5777632f723e286e55e447')
+b2sums=('31a4403d1d53379bd1824ab2b908c3236bb8cefd9ab599d71b72d214f328dcbd04fa144fbd7f8f5d8814c3d13926c8d043b351700baa6b7e048014bd3ca5a932'
+
'7d64bca3934ace798a2be1d217ac13f0df1a8ac76a07cd7a426f748e525eb41d5c1f51e5e2ee0cd8f3473816e4fdd086b822f3cc1daeebf8d10d447f86aa6088')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../$pkgname-llvm14.patch
+}
+
 build() {
   # prevent static libs from being mangled with LTO
   CXXFLAGS+=' -ffat-lto-objects'



[arch-commits] Commit in afl/repos (4 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Thursday, June 23, 2022 @ 01:49:11
  Author: foutrelis
Revision: 1239204

archrelease: copy trunk to community-staging-x86_64

Added:
  afl/repos/community-staging-x86_64/
  afl/repos/community-staging-x86_64/PKGBUILD
(from rev 1239203, afl/trunk/PKGBUILD)
  afl/repos/community-staging-x86_64/llvm13.patch
(from rev 1239203, afl/trunk/llvm13.patch)
  afl/repos/community-staging-x86_64/llvm14.patch
(from rev 1239203, afl/trunk/llvm14.patch)

--+
 PKGBUILD |   55 +++
 llvm13.patch |   11 +++
 llvm14.patch |   36 
 3 files changed, 102 insertions(+)

Copied: afl/repos/community-staging-x86_64/PKGBUILD (from rev 1239203, 
afl/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-23 01:49:11 UTC (rev 1239204)
@@ -0,0 +1,55 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Santiago Torres-Arias 
+# Contributor: spider-mario 
+
+pkgname=afl
+pkgver=2.57b
+pkgrel=10
+pkgdesc='Security-oriented fuzzer using compile-time instrumentation and 
genetic algorithms'
+url='http://lcamtuf.coredump.cx/afl/'
+arch=('x86_64')
+license=('Apache')
+depends=('glibc' 'bash')
+optdepends=('gcc: gcc instrumentation support'
+'clang: clang instrumentation support'
+'llvm: experimental clang-fast instrumentation support'
+'gnuplot: graph plotting support')
+makedepends=('clang' 'llvm' 'gcc' 'wget' 'python' 'lib32-glibc')
+provides=('american-fuzzy-lop')
+replaces=('american-fuzzy-lop')
+options=('!emptydirs' '!strip')
+source=(https://github.com/google/AFL/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+llvm13.patch
+llvm14.patch)
+sha256sums=('6f05a6515c07abe49f6f292bd13c96004cc1e016bda0c3cc9c2769dd43f163ee'
+'ec000fddabc566ac8d2b1af0444843e384d93f7faa4ff55677db1507164ef26f'
+'1f05ba247a295985889669ed892f2150ec38c202c13986fda78f0959e5e39524')
+sha512sums=('5d12b96229e966aeb11deb47cd8eb36cde2fa32656eb187db02c7240909d6acda36be59b2baf7e42cddd228d25ec94c8bffc3fa27f7f4b5e1e462b62929ce75d'
+
'53f1739fe96b24add8b717a5f820ef6b938863c2434e60594bf66fb317808142c369b904d962eac3209128fcf02578b7e0f9908d6e8c53b2a4ebd0fe00ae1cf8'
+
'16e12e0e023bc05d00e261a4f06644d8ac07cf8aa18a0781d5316198b1e2829c4d91ad9ec48f3a318ee8bf5a430796c6111a7dbbc3af435a43e495c45d0ae609')
+b2sums=('69029d59451e468528386154e8938a1a7303765e039f98aa05e36f07314398f60ff2578f765142e1f1ff653e5ab93ea53a2efb98abe275046ebacdd3ca8363b6'
+
'60c58a7bd115189a05866899852d760723c6dd255bd684ed90d61c1be56b8bd3bf8702aa9540ad4235469b2dc32253ee645b6f7ac7bbb924eb9f711c3a07e375'
+
'0a51146d7e2dcfd18ee7c0d9e730da609b197214a971072262b652e01c0375dd9122c18f97f074b267e49ccfe8c4c22d531e74897cb68daf9c9b6c88722cf3f0')
+
+prepare() {
+  cd AFL-${pkgver}
+  # Minimal build fixes for LLVM 13 and 14 inspired by:
+  # https://github.com/AFLplusplus/AFLplusplus/commit/1ba5d1008e74
+  # https://github.com/grame-cncm/faust/commit/1275ec6774e0
+  patch -Np1 -i ../llvm13.patch
+  patch -Np1 -i ../llvm14.patch
+}
+
+build() {
+  cd AFL-${pkgver}
+  make PREFIX=/usr
+  make -C llvm_mode PREFIX=/usr
+}
+
+package() {
+  cd AFL-${pkgver}
+  make PREFIX=/usr DESTDIR="${pkgdir}" install
+  install -Dm 644 llvm_mode/README.llvm -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Copied: afl/repos/community-staging-x86_64/llvm13.patch (from rev 1239203, 
afl/trunk/llvm13.patch)
===
--- community-staging-x86_64/llvm13.patch   (rev 0)
+++ community-staging-x86_64/llvm13.patch   2022-06-23 01:49:11 UTC (rev 
1239204)
@@ -0,0 +1,11 @@
+diff -upr AFL-2.57b.orig/llvm_mode/afl-clang-fast.c 
AFL-2.57b/llvm_mode/afl-clang-fast.c
+--- AFL-2.57b.orig/llvm_mode/afl-clang-fast.c  2020-07-04 19:24:18.0 
+0300
 AFL-2.57b/llvm_mode/afl-clang-fast.c   2021-10-25 03:48:15.025835829 
+0300
+@@ -140,6 +140,7 @@ static void edit_params(u32 argc, char**
+ #endif /* ^USE_TRACE_PC */
+ 
+   cc_params[cc_par_cnt++] = "-Qunused-arguments";
++  cc_params[cc_par_cnt++] = "-flegacy-pass-manager";
+ 
+   while (--argc) {
+ u8* cur = *(++argv);

Copied: afl/repos/community-staging-x86_64/llvm14.patch (from rev 1239203, 
afl/trunk/llvm14.patch)
===
--- community-staging-x86_64/llvm14.patch   (rev 0)
+++ community-staging-x86_64/llvm14.patch   2022-06-23 01:49:11 UTC (rev 
1239204)
@@ -0,0 +1,36 @@
+diff -upr AFL-2.57b.orig/llvm_mode/afl-llvm-pass.so.cc 
AFL-2.57b/llvm_mode/afl-llvm-pass.so.cc
+--- AFL-2.57b.orig/llvm_mode/afl-llvm-pass.so.cc   2020-07-04 
19:24:18.0 +0300
 AFL-2.57b/llvm_mode/afl-llvm-pass.so.cc

[arch-commits] Commit in afl/trunk (PKGBUILD llvm14.patch)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Thursday, June 23, 2022 @ 01:49:06
  Author: foutrelis
Revision: 1239203

upgpkg: afl 2.57b-10: LLVM 14 rebuild

Added:
  afl/trunk/llvm14.patch
Modified:
  afl/trunk/PKGBUILD

--+
 PKGBUILD |   18 --
 llvm14.patch |   36 
 2 files changed, 48 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-23 01:08:03 UTC (rev 1239202)
+++ PKGBUILD2022-06-23 01:49:06 UTC (rev 1239203)
@@ -4,7 +4,7 @@
 
 pkgname=afl
 pkgver=2.57b
-pkgrel=9
+pkgrel=10
 pkgdesc='Security-oriented fuzzer using compile-time instrumentation and 
genetic algorithms'
 url='http://lcamtuf.coredump.cx/afl/'
 arch=('x86_64')
@@ -19,19 +19,25 @@
 replaces=('american-fuzzy-lop')
 options=('!emptydirs' '!strip')
 
source=(https://github.com/google/AFL/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
-llvm13.patch)
+llvm13.patch
+llvm14.patch)
 sha256sums=('6f05a6515c07abe49f6f292bd13c96004cc1e016bda0c3cc9c2769dd43f163ee'
-'ec000fddabc566ac8d2b1af0444843e384d93f7faa4ff55677db1507164ef26f')
+'ec000fddabc566ac8d2b1af0444843e384d93f7faa4ff55677db1507164ef26f'
+'1f05ba247a295985889669ed892f2150ec38c202c13986fda78f0959e5e39524')
 
sha512sums=('5d12b96229e966aeb11deb47cd8eb36cde2fa32656eb187db02c7240909d6acda36be59b2baf7e42cddd228d25ec94c8bffc3fa27f7f4b5e1e462b62929ce75d'
-
'53f1739fe96b24add8b717a5f820ef6b938863c2434e60594bf66fb317808142c369b904d962eac3209128fcf02578b7e0f9908d6e8c53b2a4ebd0fe00ae1cf8')
+
'53f1739fe96b24add8b717a5f820ef6b938863c2434e60594bf66fb317808142c369b904d962eac3209128fcf02578b7e0f9908d6e8c53b2a4ebd0fe00ae1cf8'
+
'16e12e0e023bc05d00e261a4f06644d8ac07cf8aa18a0781d5316198b1e2829c4d91ad9ec48f3a318ee8bf5a430796c6111a7dbbc3af435a43e495c45d0ae609')
 
b2sums=('69029d59451e468528386154e8938a1a7303765e039f98aa05e36f07314398f60ff2578f765142e1f1ff653e5ab93ea53a2efb98abe275046ebacdd3ca8363b6'
-
'60c58a7bd115189a05866899852d760723c6dd255bd684ed90d61c1be56b8bd3bf8702aa9540ad4235469b2dc32253ee645b6f7ac7bbb924eb9f711c3a07e375')
+
'60c58a7bd115189a05866899852d760723c6dd255bd684ed90d61c1be56b8bd3bf8702aa9540ad4235469b2dc32253ee645b6f7ac7bbb924eb9f711c3a07e375'
+
'0a51146d7e2dcfd18ee7c0d9e730da609b197214a971072262b652e01c0375dd9122c18f97f074b267e49ccfe8c4c22d531e74897cb68daf9c9b6c88722cf3f0')
 
 prepare() {
   cd AFL-${pkgver}
-  # Minimal build fix for LLVM 13 inspired by:
+  # Minimal build fixes for LLVM 13 and 14 inspired by:
   # https://github.com/AFLplusplus/AFLplusplus/commit/1ba5d1008e74
+  # https://github.com/grame-cncm/faust/commit/1275ec6774e0
   patch -Np1 -i ../llvm13.patch
+  patch -Np1 -i ../llvm14.patch
 }
 
 build() {

Added: llvm14.patch
===
--- llvm14.patch(rev 0)
+++ llvm14.patch2022-06-23 01:49:06 UTC (rev 1239203)
@@ -0,0 +1,36 @@
+diff -upr AFL-2.57b.orig/llvm_mode/afl-llvm-pass.so.cc 
AFL-2.57b/llvm_mode/afl-llvm-pass.so.cc
+--- AFL-2.57b.orig/llvm_mode/afl-llvm-pass.so.cc   2020-07-04 
19:24:18.0 +0300
 AFL-2.57b/llvm_mode/afl-llvm-pass.so.cc2022-06-23 04:41:29.536472961 
+0300
+@@ -42,6 +42,7 @@
+ #include "llvm/IR/IRBuilder.h"
+ #include "llvm/IR/LegacyPassManager.h"
+ #include "llvm/IR/Module.h"
++#include "llvm/Pass.h"
+ #include "llvm/Support/Debug.h"
+ #include "llvm/Transforms/IPO/PassManagerBuilder.h"
+ 
+@@ -131,20 +132,20 @@ bool AFLCoverage::runOnModule(Module )
+ 
+   /* Load prev_loc */
+ 
+-  LoadInst *PrevLoc = IRB.CreateLoad(AFLPrevLoc);
++  LoadInst *PrevLoc = 
IRB.CreateLoad(AFLPrevLoc->getType()->getScalarType()->getPointerElementType(), 
AFLPrevLoc);
+   PrevLoc->setMetadata(M.getMDKindID("nosanitize"), MDNode::get(C, None));
+   Value *PrevLocCasted = IRB.CreateZExt(PrevLoc, IRB.getInt32Ty());
+ 
+   /* Load SHM pointer */
+ 
+-  LoadInst *MapPtr = IRB.CreateLoad(AFLMapPtr);
++  LoadInst *MapPtr = 
IRB.CreateLoad(AFLMapPtr->getType()->getScalarType()->getPointerElementType(), 
AFLMapPtr);
+   MapPtr->setMetadata(M.getMDKindID("nosanitize"), MDNode::get(C, None));
+   Value *MapPtrIdx =
+-  IRB.CreateGEP(MapPtr, IRB.CreateXor(PrevLocCasted, CurLoc));
++  
IRB.CreateGEP(MapPtr->getType()->getScalarType()->getPointerElementType(), 
MapPtr, IRB.CreateXor(PrevLocCasted, CurLoc));
+ 
+   /* Update bitmap */
+ 
+-  LoadInst *Counter = IRB.CreateLoad(MapPtrIdx);
++  LoadInst *Counter = 
IRB.CreateLoad(MapPtrIdx->getType()->getScalarType()->getPointerElementType(), 
MapPtrIdx);
+   Counter->setMetadata(M.getMDKindID("nosanitize"), MDNode::get(C, None));
+   Value *Incr = IRB.CreateAdd(Counter, ConstantInt::get(Int8Ty, 1));
+   IRB.CreateStore(Incr, MapPtrIdx)



[arch-commits] Commit in selene-linter/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-06-22 Thread Daniel M. Capella via arch-commits
Date: Thursday, June 23, 2022 @ 01:08:03
  Author: polyzen
Revision: 1239202

archrelease: copy trunk to community-x86_64

Added:
  selene-linter/repos/community-x86_64/PKGBUILD
(from rev 1239201, selene-linter/trunk/PKGBUILD)
Deleted:
  selene-linter/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   76 ++---
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-23 01:07:35 UTC (rev 1239201)
+++ PKGBUILD2022-06-23 01:08:03 UTC (rev 1239202)
@@ -1,38 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Maintainer: Caleb Maclennan 
-
-_name=selene
-pkgname=selene-linter
-pkgver=0.18.2
-pkgrel=1
-pkgdesc='Blazing-fast modern Lua linter written in Rust'
-arch=('x86_64')
-url=https://github.com/Kampfkarren/selene
-license=('MPL2')
-depends=('gcc-libs' 'openssl')
-makedepends=('rust')
-options=('!lto')
-source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz")
-b2sums=('3117acf5e57c477a90cdeac3c88ce9572dde5c4b976f3e77f43a49674bb992972f1d06995aeb9056eb1485bc7be808817e6968f1a7fd8554362c5ae057522f78')
-
-prepare() {
-  cd $_name-$pkgver
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd $_name-$pkgver
-  cargo build --release --locked --offline
-}
-
-check() {
-  cd $_name-$pkgver
-  cargo test --locked --offline
-}
-
-package() {
-  cd $_name-$pkgver
-  install -Dt "$pkgdir"/usr/bin target/release/$_name
-}
-
-# vim:set ts=2 sw=2 et:

Copied: selene-linter/repos/community-x86_64/PKGBUILD (from rev 1239201, 
selene-linter/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-23 01:08:03 UTC (rev 1239202)
@@ -0,0 +1,38 @@
+# Maintainer: Daniel M. Capella 
+# Maintainer: Caleb Maclennan 
+
+_name=selene
+pkgname=selene-linter
+pkgver=0.19.0
+pkgrel=1
+pkgdesc='Blazing-fast modern Lua linter written in Rust'
+arch=('x86_64')
+url=https://github.com/Kampfkarren/selene
+license=('MPL2')
+depends=('gcc-libs' 'openssl')
+makedepends=('rust')
+options=('!lto')
+source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz")
+b2sums=('c8f6a274d5b3b764b7fcac8b4c78d331a7cd4e99818b6521737331406a45507e4e9a8fa620892d0f4e96ea2b9cc48266d615a8b474f18834202ce49e4c15eaf6')
+
+prepare() {
+  cd $_name-$pkgver
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd $_name-$pkgver
+  cargo build --release --locked --offline
+}
+
+check() {
+  cd $_name-$pkgver
+  cargo test --locked --offline
+}
+
+package() {
+  cd $_name-$pkgver
+  install -Dt "$pkgdir"/usr/bin target/release/$_name
+}
+
+# vim:set ts=2 sw=2 et:



[arch-commits] Commit in selene-linter/trunk (PKGBUILD)

2022-06-22 Thread Daniel M. Capella via arch-commits
Date: Thursday, June 23, 2022 @ 01:07:35
  Author: polyzen
Revision: 1239201

upgpkg: selene-linter 0.19.0-1

Modified:
  selene-linter/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 23:17:25 UTC (rev 1239200)
+++ PKGBUILD2022-06-23 01:07:35 UTC (rev 1239201)
@@ -3,7 +3,7 @@
 
 _name=selene
 pkgname=selene-linter
-pkgver=0.18.2
+pkgver=0.19.0
 pkgrel=1
 pkgdesc='Blazing-fast modern Lua linter written in Rust'
 arch=('x86_64')
@@ -13,7 +13,7 @@
 makedepends=('rust')
 options=('!lto')
 source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz")
-b2sums=('3117acf5e57c477a90cdeac3c88ce9572dde5c4b976f3e77f43a49674bb992972f1d06995aeb9056eb1485bc7be808817e6968f1a7fd8554362c5ae057522f78')
+b2sums=('c8f6a274d5b3b764b7fcac8b4c78d331a7cd4e99818b6521737331406a45507e4e9a8fa620892d0f4e96ea2b9cc48266d615a8b474f18834202ce49e4c15eaf6')
 
 prepare() {
   cd $_name-$pkgver



[arch-commits] Commit in ghdl/repos (3 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 23:17:25
  Author: foutrelis
Revision: 1239200

archrelease: copy trunk to community-staging-x86_64

Added:
  ghdl/repos/community-staging-x86_64/
  ghdl/repos/community-staging-x86_64/PKGBUILD
(from rev 1239199, ghdl/trunk/PKGBUILD)
  ghdl/repos/community-staging-x86_64/keys/

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

Copied: ghdl/repos/community-staging-x86_64/PKGBUILD (from rev 1239199, 
ghdl/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 23:17:25 UTC (rev 1239200)
@@ -0,0 +1,215 @@
+# Maintainer: Filipe Laíns (FFY00) 
+
+pkgbase=ghdl
+pkgname=('ghdl-mcode' 'ghdl-llvm' 'ghdl-gcc' 'python-pyghdl')
+_gcc=10.2.0
+_isl=0.23
+pkgver=1.0.0
+pkgrel=6
+pkgdesc='VHDL simulator'
+arch=('x86_64')
+url='https://github.com/ghdl/ghdl'
+license=('GPL2')
+depends=('gcc-ada')
+makedepends=('gmp' 'mpfr' 'libmpc' 'zlib' 'llvm' 'clang' 'python-setuptools')
+validpgpkeys=('33C235A34C46AA3FFB293709A328C3A2C3C45C06'  # Jakub Jelinek 

+  '13975A70E63C361C73AE69EF6EEB81F8981C74C7') # 
richard.guent...@gmail.com
+source=("$pkgbase-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+
"$pkgbase-gcc11.patch::https://github.com/ghdl/ghdl/commit/8356ea3bb4e8d0e5ad8638c3d50914b64fc360ec.patch;
+
"$pkgbase-llvm11.patch::https://github.com/ghdl/ghdl/commit/a45cd97fa291b442002d70ac7e0968a24b0815f9.patch;
+
"$pkgbase-llvm12.patch::https://github.com/ghdl/ghdl/commit/2cfa1098070959413f5ed7c32220d9e55262e4e4.patch;
+
"$pkgbase-llvm12-DILocation.patch::https://github.com/ghdl/ghdl/commit/396eb764f4916063d4239df83b5aed961fff.patch;
+
"$pkgbase-llvm13.patch::https://github.com/ghdl/ghdl/commit/e49cb7b91946bbe866e684c47ccb703a83f78dec.patch;
+
"$pkgbase-llvm14.patch::https://github.com/ghdl/ghdl/commit/4775ebbd66a8108342ab3648025816ae1c419f38.patch;
+"https://ftp.gnu.org/gnu/gcc/gcc-$_gcc/gcc-$_gcc.tar.xz"{,.sig}
+"https://sources.easybuild.io/i/ISL/isl-$_isl.tar.bz2;)
+sha512sums=('efaa277132de3caeafedace137b58fa05bfa61567f12480092b1e8f74a4438e40c85c6e21cd0c5d65fbba3d116b65265e3939a8b5df951baf74837c1eca3196f'
+
'aeef4fd149f6b58f7b458175833161cc07137cdbde07f2b5717d61f45997b6f6be37a2a59729204a50345e18f9ac6e28b69b60f01fbe01bea14fc1b114fbd8b5'
+
'579d30687e44a02f9da5fca2096fcfd9767a4ce2b697fd96e207338a8bd6942e1173391417adcca4537951b4cbb09a8c9e91f97fc8ea181687009a86b99fb111'
+
'8cc79c26aa1d301d9ee2ea58e9237b5a4e108de484f9df2a61df82501a59668eba4e6b7a47dde0717ba3f14a7cb6b8cbbd63e1a9d053d08fdd71a488f0a30fd6'
+
'5e8c48ed15734d1cc2fb6e7be4a5480e56ba12e973a550ebf99183d44881325ca14e29a8f58367bd847a65a3a09e6b6e94d042fcfd77783e09539e5fb2ed4db0'
+
'e9d6877c08f3100df4dac1455ba9c07b843e99c071a88e14711fed0ed459badf9f1e473ef9eb5ae674caba281039aa89882475ff4cb7fc7d09372f41004b2162'
+
'a620eff0cae97fb5abae24b534098f79bd05ee8a5fed1c9ea893e05a4e1a1f68ff794aa9cd3936f539b1d875dd0e369857286e29b2606747a6fad7a136bf8e15'
+
'42ae38928bd2e8183af445da34220964eb690b675b1892bbeb7cd5bb62be499011ec9a93397dba5e2fb681afadfc6f2767d03b9035b44ba9be807187ae6dc65e'
+'SKIP'
+
'05dfbdbbe852e2440b272808b23210374ce4ce46298eeb4c18ca8725db834b0da607338a371e3d07a78585fc7e0de182e75bf09dff11477937228bd97b7b83f7')
+options=(!lto)
+
+prepare() {
+  cd "$srcdir"
+
+  cd $pkgbase-$pkgver
+  patch -p1 -i ../$pkgbase-gcc11.patch
+  patch -p1 -i ../$pkgbase-llvm11.patch
+  patch -p1 -i ../$pkgbase-llvm12.patch
+  patch -p1 -i ../$pkgbase-llvm12-DILocation.patch
+  patch -p1 -i ../$pkgbase-llvm13.patch
+  patch -p1 -i ../$pkgbase-llvm14.patch || :
+  cd ..
+
+  cp -r $pkgbase-$pkgver ghdl-mcode
+  cp -r $pkgbase-$pkgver ghdl-llvm
+  cp -r $pkgbase-$pkgver ghdl-gcc
+  cp -r $pkgbase-$pkgver pyghdl
+
+  mkdir gcc-build
+
+  cd gcc-$_gcc
+
+  ln -s ../isl-$_isl isl
+
+  echo $_gcc > gcc/BASE-VER
+
+  # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
+}
+
+_configure() {
+  ./configure \
+  --prefix=/usr \
+  --disable-werror \
+  --enable-checks \
+  --enable-libghdl \
+  --enable-synth $@
+}
+
+build() {
+  export GNATMAKE="gnatmake $MAKEFLAGS"
+
+  echo 'Building ghdl-mcode...'
+  cd "$srcdir"/ghdl-mcode
+
+  _configure
+
+  make
+
+  echo 'Building ghdl-llvm...'
+  cd "$srcdir"/ghdl-llvm
+
+  _configure --with-llvm-config
+
+  make
+
+  echo 'Building ghdl-gcc...'
+  cd "$srcdir"/ghdl-gcc
+
+  _configure --with-gcc="$srcdir"/gcc-$_gcc
+
+  make copy-sources
+
+  cd "$srcdir"/gcc-build
+
+# Taken from gcc PKGBUILD
+  CFLAGS=${CFLAGS/-Werror=format-security/}
+  CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
+
+  

[arch-commits] Commit in ghdl/trunk (5 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 23:17:20
  Author: foutrelis
Revision: 1239199

upgpkg: ghdl 1.0.0-6: LLVM 14 rebuild

Added:
  ghdl/trunk/keys/
  ghdl/trunk/keys/pgp/
  ghdl/trunk/keys/pgp/13975A70E63C361C73AE69EF6EEB81F8981C74C7.asc
  ghdl/trunk/keys/pgp/33C235A34C46AA3FFB293709A328C3A2C3C45C06.asc
Modified:
  ghdl/trunk/PKGBUILD

---+
 PKGBUILD  |   17 +---
 keys/pgp/13975A70E63C361C73AE69EF6EEB81F8981C74C7.asc |1 
 keys/pgp/33C235A34C46AA3FFB293709A328C3A2C3C45C06.asc |1 
 3 files changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 23:04:52 UTC (rev 1239198)
+++ PKGBUILD2022-06-22 23:17:20 UTC (rev 1239199)
@@ -5,7 +5,7 @@
 _gcc=10.2.0
 _isl=0.23
 pkgver=1.0.0
-pkgrel=5
+pkgrel=6
 pkgdesc='VHDL simulator'
 arch=('x86_64')
 url='https://github.com/ghdl/ghdl'
@@ -20,14 +20,16 @@
 
"$pkgbase-llvm12.patch::https://github.com/ghdl/ghdl/commit/2cfa1098070959413f5ed7c32220d9e55262e4e4.patch;
 
"$pkgbase-llvm12-DILocation.patch::https://github.com/ghdl/ghdl/commit/396eb764f4916063d4239df83b5aed961fff.patch;
 
"$pkgbase-llvm13.patch::https://github.com/ghdl/ghdl/commit/e49cb7b91946bbe866e684c47ccb703a83f78dec.patch;
+
"$pkgbase-llvm14.patch::https://github.com/ghdl/ghdl/commit/4775ebbd66a8108342ab3648025816ae1c419f38.patch;
 "https://ftp.gnu.org/gnu/gcc/gcc-$_gcc/gcc-$_gcc.tar.xz"{,.sig}
-"http://isl.gforge.inria.fr/isl-$_isl.tar.bz2;)
+"https://sources.easybuild.io/i/ISL/isl-$_isl.tar.bz2;)
 
sha512sums=('efaa277132de3caeafedace137b58fa05bfa61567f12480092b1e8f74a4438e40c85c6e21cd0c5d65fbba3d116b65265e3939a8b5df951baf74837c1eca3196f'
-
'56c9cf30ecc6c1f7a11438d52b0e096b31cdf7ac4a76c2080c5d8c9c4b7df2bf3387bc336ee06e26d461aa470fbb73203f7936cec053dd2ae8782d77a151a673'
-
'5a0a811dbe21f5caa07b9497ce9d5ac13133f9101f7433ac7e6afb56379c7d624c97aaa43043e31ca88157abc57c0d8b3f78f508ef4a9ec620c9adbcf157a47e'
-
'30b78ac4f3d9f0ecfa0a90d7200d9fe8c1d014830a24b6d11a719e10d8a086fa788b111db086743975426fc366dd9279957aca149847aec3ca36dfcd6939f699'
-
'1fbd16323643c38ee522ed6b10d767cda1ab2054b6015ba0fb168bc3a1fe569965ac8d690055e875c34cead1c20ac35904c4acdf0a4d63635c02b8fb3555f1f8'
-
'b8cd926e951784fb9f08a838d89574586f872c7d29b308797ca617ef6e8678f34c8004f6bd02cf49c35644180c1bc614221adfa68c1ab823ce491c010582410f'
+
'aeef4fd149f6b58f7b458175833161cc07137cdbde07f2b5717d61f45997b6f6be37a2a59729204a50345e18f9ac6e28b69b60f01fbe01bea14fc1b114fbd8b5'
+
'579d30687e44a02f9da5fca2096fcfd9767a4ce2b697fd96e207338a8bd6942e1173391417adcca4537951b4cbb09a8c9e91f97fc8ea181687009a86b99fb111'
+
'8cc79c26aa1d301d9ee2ea58e9237b5a4e108de484f9df2a61df82501a59668eba4e6b7a47dde0717ba3f14a7cb6b8cbbd63e1a9d053d08fdd71a488f0a30fd6'
+
'5e8c48ed15734d1cc2fb6e7be4a5480e56ba12e973a550ebf99183d44881325ca14e29a8f58367bd847a65a3a09e6b6e94d042fcfd77783e09539e5fb2ed4db0'
+
'e9d6877c08f3100df4dac1455ba9c07b843e99c071a88e14711fed0ed459badf9f1e473ef9eb5ae674caba281039aa89882475ff4cb7fc7d09372f41004b2162'
+
'a620eff0cae97fb5abae24b534098f79bd05ee8a5fed1c9ea893e05a4e1a1f68ff794aa9cd3936f539b1d875dd0e369857286e29b2606747a6fad7a136bf8e15'
 
'42ae38928bd2e8183af445da34220964eb690b675b1892bbeb7cd5bb62be499011ec9a93397dba5e2fb681afadfc6f2767d03b9035b44ba9be807187ae6dc65e'
 'SKIP'
 
'05dfbdbbe852e2440b272808b23210374ce4ce46298eeb4c18ca8725db834b0da607338a371e3d07a78585fc7e0de182e75bf09dff11477937228bd97b7b83f7')
@@ -42,6 +44,7 @@
   patch -p1 -i ../$pkgbase-llvm12.patch
   patch -p1 -i ../$pkgbase-llvm12-DILocation.patch
   patch -p1 -i ../$pkgbase-llvm13.patch
+  patch -p1 -i ../$pkgbase-llvm14.patch || :
   cd ..
 
   cp -r $pkgbase-$pkgver ghdl-mcode

Added: keys/pgp/13975A70E63C361C73AE69EF6EEB81F8981C74C7.asc
===
(Binary files differ)

Index: ghdl/trunk/keys/pgp/13975A70E63C361C73AE69EF6EEB81F8981C74C7.asc
===
--- keys/pgp/13975A70E63C361C73AE69EF6EEB81F8981C74C7.asc   2022-06-22 
23:04:52 UTC (rev 1239198)
+++ keys/pgp/13975A70E63C361C73AE69EF6EEB81F8981C74C7.asc   2022-06-22 
23:17:20 UTC (rev 1239199)

Property changes on: 
ghdl/trunk/keys/pgp/13975A70E63C361C73AE69EF6EEB81F8981C74C7.asc
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/33C235A34C46AA3FFB293709A328C3A2C3C45C06.asc
===
(Binary files differ)

Index: ghdl/trunk/keys/pgp/33C235A34C46AA3FFB293709A328C3A2C3C45C06.asc

[arch-commits] Commit in sparse/repos (2 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 23:04:52
  Author: foutrelis
Revision: 1239198

archrelease: copy trunk to community-staging-x86_64

Added:
  sparse/repos/community-staging-x86_64/
  sparse/repos/community-staging-x86_64/PKGBUILD
(from rev 1239197, sparse/trunk/PKGBUILD)

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

Copied: sparse/repos/community-staging-x86_64/PKGBUILD (from rev 1239197, 
sparse/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 23:04:52 UTC (rev 1239198)
@@ -0,0 +1,48 @@
+# Maintainer: George Rawlinson 
+# Contributor: Omar Sandoval 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Dan McGee 
+
+pkgname=sparse
+pkgver=0.6.4
+pkgrel=3
+pkgdesc='Semantic parser for C'
+arch=('x86_64')
+url='http://sparse.wiki.kernel.org/'
+license=('MIT')
+depends=(
+  'perl'
+  'libxml2'
+  'sqlite'
+)
+makedepends=(
+  'git'
+  'llvm'
+  'gtk3'
+)
+optdepends=('gtk3: for test-inspect')
+_commit='c4706aa764f3ae68258ba60be6325a5662900362'
+source=("git+https://git.kernel.org/pub/scm/devel/sparse/sparse.git#commit=$_commit;)
+b2sums=('SKIP')
+
+pkgver() {
+  cd sparse
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  make -C sparse
+}
+
+check() {
+  make -C sparse check
+}
+
+package() {
+  cd sparse
+
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}



[arch-commits] Commit in sparse/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 23:04:49
  Author: foutrelis
Revision: 1239197

upgpkg: sparse 0.6.4-3: LLVM 14 rebuild

Modified:
  sparse/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 23:00:00 UTC (rev 1239196)
+++ PKGBUILD2022-06-22 23:04:49 UTC (rev 1239197)
@@ -5,7 +5,7 @@
 
 pkgname=sparse
 pkgver=0.6.4
-pkgrel=2
+pkgrel=3
 pkgdesc='Semantic parser for C'
 arch=('x86_64')
 url='http://sparse.wiki.kernel.org/'



[arch-commits] Commit in ccls/repos (2 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 23:00:00
  Author: foutrelis
Revision: 1239196

archrelease: copy trunk to community-staging-x86_64

Added:
  ccls/repos/community-staging-x86_64/
  ccls/repos/community-staging-x86_64/PKGBUILD
(from rev 1239195, ccls/trunk/PKGBUILD)

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

Copied: ccls/repos/community-staging-x86_64/PKGBUILD (from rev 1239195, 
ccls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 23:00:00 UTC (rev 1239196)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Fangrui Song 
+
+pkgname=ccls
+pkgver=0.20210330
+pkgrel=6
+pkgdesc='C/C++/ObjC language server supporting cross references, hierarchies, 
completion and semantic highlighting'
+arch=('x86_64')
+url='https://github.com/MaskRay/ccls'
+license=('Apache')
+depends=('clang=14.0.5' 'llvm-libs' 'rapidjson')
+makedepends=("cmake" "llvm")
+conflicts=('ccls-git')
+source=("https://github.com/MaskRay/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz;
+
$pkgname-llvm14-part1.patch::https://github.com/MaskRay/ccls/commit/3ce756e39ae4.patch
+
$pkgname-llvm14-part2.patch::https://github.com/MaskRay/ccls/commit/8422f0a522b6.patch
+
$pkgname-llvm14-part3.patch::https://github.com/MaskRay/ccls/commit/790daca4b2d9.patch
+
$pkgname-add-language-c.patch::https://github.com/MaskRay/ccls/commit/dce86b1362ac.patch)
+sha512sums=('dd78c040c2a51d6b47f8dd2d8bdc066f26b9233ffeb41216254b1b0ad0f634190784e6b8c2d7b36475c13020356342d83a9f80047d7da75ce21ca8885b16'
+
'4303fe47aa2f30ded45a653a3564940d8d80837e90e722dd19216b3326465416074f744fe6e971ede737bad21dc36c6f9e2c600177c16219607934686c59ba62'
+
'e40f354fab4cf0c5e153106f95fad58c4181cf172eceea0976466b10ed2d7e0f793c911f56a9cec587b9236628f7306af539613059b15d46c8378752bbae75bc'
+
'd584872f2c344c497520fb39c9adfe880bdc8c48ea4c8ae19f800eec235f2ae346cab5f53ee14dc32f6b70e2c690203cace5e13beb88e09e5cd67efa28271802'
+
'91151eb63b44c573fdd5de698c3aadf5f72ef72df07da447ca2d8fa6a871c0cca8be6bc1c163fc92ba37e449a2412dd4737037c3c433552141d1a529115d00e6')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../$pkgname-llvm14-part1.patch
+  patch -Np1 -i ../$pkgname-llvm14-part2.patch
+  patch -Np1 -i ../$pkgname-llvm14-part3.patch
+  patch -Np1 -i ../$pkgname-add-language-c.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++ 
-DCLANG_LINK_CLANG_DYLIB=1
+  cmake --build build
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+  make DESTDIR="$pkgdir" install
+}



[arch-commits] Commit in ccls/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:59:56
  Author: foutrelis
Revision: 1239195

upgpkg: ccls 0.20210330-6: LLVM 14 rebuild

Modified:
  ccls/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 22:48:27 UTC (rev 1239194)
+++ PKGBUILD2022-06-22 22:59:56 UTC (rev 1239195)
@@ -3,17 +3,33 @@
 
 pkgname=ccls
 pkgver=0.20210330
-pkgrel=5
+pkgrel=6
 pkgdesc='C/C++/ObjC language server supporting cross references, hierarchies, 
completion and semantic highlighting'
 arch=('x86_64')
 url='https://github.com/MaskRay/ccls'
 license=('Apache')
-depends=('clang=13.0.1' 'llvm-libs' 'rapidjson')
+depends=('clang=14.0.5' 'llvm-libs' 'rapidjson')
 makedepends=("cmake" "llvm")
 conflicts=('ccls-git')
-source=("https://github.com/MaskRay/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('dd78c040c2a51d6b47f8dd2d8bdc066f26b9233ffeb41216254b1b0ad0f634190784e6b8c2d7b36475c13020356342d83a9f80047d7da75ce21ca8885b16')
+source=("https://github.com/MaskRay/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz;
+
$pkgname-llvm14-part1.patch::https://github.com/MaskRay/ccls/commit/3ce756e39ae4.patch
+
$pkgname-llvm14-part2.patch::https://github.com/MaskRay/ccls/commit/8422f0a522b6.patch
+
$pkgname-llvm14-part3.patch::https://github.com/MaskRay/ccls/commit/790daca4b2d9.patch
+
$pkgname-add-language-c.patch::https://github.com/MaskRay/ccls/commit/dce86b1362ac.patch)
+sha512sums=('dd78c040c2a51d6b47f8dd2d8bdc066f26b9233ffeb41216254b1b0ad0f634190784e6b8c2d7b36475c13020356342d83a9f80047d7da75ce21ca8885b16'
+
'4303fe47aa2f30ded45a653a3564940d8d80837e90e722dd19216b3326465416074f744fe6e971ede737bad21dc36c6f9e2c600177c16219607934686c59ba62'
+
'e40f354fab4cf0c5e153106f95fad58c4181cf172eceea0976466b10ed2d7e0f793c911f56a9cec587b9236628f7306af539613059b15d46c8378752bbae75bc'
+
'd584872f2c344c497520fb39c9adfe880bdc8c48ea4c8ae19f800eec235f2ae346cab5f53ee14dc32f6b70e2c690203cace5e13beb88e09e5cd67efa28271802'
+
'91151eb63b44c573fdd5de698c3aadf5f72ef72df07da447ca2d8fa6a871c0cca8be6bc1c163fc92ba37e449a2412dd4737037c3c433552141d1a529115d00e6')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../$pkgname-llvm14-part1.patch
+  patch -Np1 -i ../$pkgname-llvm14-part2.patch
+  patch -Np1 -i ../$pkgname-llvm14-part3.patch
+  patch -Np1 -i ../$pkgname-add-language-c.patch
+}
+
 build() {
   cd $pkgname-$pkgver
   cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++ 
-DCLANG_LINK_CLANG_DYLIB=1



[arch-commits] Commit in blender/repos (4 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:48:27
  Author: foutrelis
Revision: 1239194

archrelease: copy trunk to community-staging-x86_64

Added:
  blender/repos/community-staging-x86_64/
  blender/repos/community-staging-x86_64/PKGBUILD
(from rev 1239193, blender/trunk/PKGBUILD)
  blender/repos/community-staging-x86_64/force-draco1.patch
(from rev 1239193, blender/trunk/force-draco1.patch)
  blender/repos/community-staging-x86_64/force-draco2.patch
(from rev 1239193, blender/trunk/force-draco2.patch)

+
 PKGBUILD   |   97 +++
 force-draco1.patch |   15 +++
 force-draco2.patch |   21 +++
 3 files changed, 133 insertions(+)

Copied: blender/repos/community-staging-x86_64/PKGBUILD (from rev 1239193, 
blender/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 22:48:27 UTC (rev 1239194)
@@ -0,0 +1,97 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: John Sowiak 
+# Contributor: tobias 
+
+# For legal reasons, we can't separately package the Optix headers so we'll
+# just build the package against them. I checked with NVIDIA and this way is
+# fine with them.
+
+pkgname=blender
+pkgver=3.2.0
+pkgrel=4
+epoch=17
+pkgdesc="A fully integrated 3D graphics creation suite"
+arch=('x86_64')
+license=('GPL')
+url="https://www.blender.org;
+depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils' 
'python-requests' 'potrace'
+ 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'glew' 
'openjpeg2' 'python-numpy'
+ 'freetype2' 'openal' 'ffmpeg' 'fftw' 'boost-libs' 'opencollada' 
'alembic' 'openxr'
+ 'openimageio' 'libsndfile' 'jack' 'opencolorio' 'openshadinglanguage' 
'openimagedenoise'
+ 'jemalloc' 'libspnav' 'ptex' 'opensubdiv' 'openvdb' 'log4cplus' 
'sdl2' 'embree' 'libharu'
+ 'draco')
+makedepends=('cmake' 'boost' 'mesa' 'git' 'llvm' 'cuda' 'ninja')
+optdepends=('cuda: cycles renderer cuda support')
+options=(!strip)
+source=("git+https://git.blender.org/blender.git#tag=v$pkgver;
+"git+https://git.blender.org/blender-addons.git;
+"git+https://git.blender.org/blender-addons-contrib.git;
+"git+https://git.blender.org/blender-translations.git;
+"git+https://git.blender.org/blender-dev-tools.git;
+
https://developer.download.nvidia.com/redist/optix/v7.3/OptiX-7.3.0-Include.zip
+force-draco1.patch
+force-draco2.patch)
+sha512sums=('SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+
'd842e989bf86f4ae932f8708f6340861de4ea33b21435cceeb9a5e3135ef2ddb671e19fe11c397bddbf85894ba312194eac5acc21cbec70607120c0bda0100ef'
+
'e239da4f3906f1b54265435181cf770bae3d269c8d915df9a73861e6ee71ec70bf2339426e7c81a91e5a567273b3b3742d7a99feefd3398d821b26e1ff3a56d0'
+
'527ab66e5eace777de0043c1ca5787a488f6471450ce67fd6d08137ad0ef56177bc0c17696f30a5fca23fa55d8ca9c3f30cb7b17550dba2dbd8e89ca0b361990')
+
+prepare() {
+  cd "$pkgname"
+
+  git submodule init
+  git config submodule."release/scripts/addons".url "${srcdir}/blender-addons"
+  git config submodule."release/scripts/addons_contrib".url 
"${srcdir}/blender-addons-contrib"
+  git config submodule."release/datafiles/locale".url 
"${srcdir}/blender-translations"
+  git config submodule."source/tools".url "${srcdir}/blender-dev-tools"
+  git submodule update
+  git submodule foreach git checkout v${pkgver}
+
+  patch -p1 -i "$srcdir"/force-draco1.patch
+  patch -p1 -d release/scripts/addons -i "$srcdir"/force-draco2.patch
+}
+
+build() {
+  cd "$pkgname"
+
+  local PYTHON_VER=3.10
+
+  cmake \
+-Bbuild \
+-GNinja \
+-Cbuild_files/cmake/config/blender_release.cmake \
+-DOPTIX_ROOT_DIR="$srcdir"/include \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=Release \
+-DWITH_INSTALL_PORTABLE=OFF \
+-DWITH_PYTHON_INSTALL=OFF \
+-DPYTHON_VERSION=$PYTHON_VER \
+-DPYTHON_LIBPATH=/usr/lib \
+-DPYTHON_LIBRARY=python$PYTHON_VER \
+-DPYTHON_INCLUDE_DIRS=/usr/include/python$PYTHON_VER \
+-DCMAKE_CXX_FLAGS="-I /usr/include/python$PYTHON_VER"
+  ninja -C build
+}
+
+package() {
+  cd "$pkgname"
+
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -Dm755 release/bin/blender-softwaregl 
"${pkgdir}/usr/bin/blender-softwaregl"
+  python -m compileall "${pkgdir}/usr/share/blender"
+  python -O -m compileall "${pkgdir}/usr/share/blender"
+
+  install -Dm644 release/freedesktop/org.blender.Blender.appdata.xml 
"${pkgdir}/usr/share/metainfo/org.blender.Blender.appdata.xml"
+
+  # Manually install additional scripts (See FS#69351)
+  cp -r release/scripts/addons_contrib/* 
"${pkgdir}"/usr/share/blender/3*/scripts/addons_contrib/
+
+  # Manually install draco bindings (See FS#73415)
+  mkdir -p "${pkgdir}"/usr/lib/python3.10/
+  mv 

[arch-commits] Commit in blender/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:48:22
  Author: foutrelis
Revision: 1239193

upgpkg: blender 17:3.2.0-4: LLVM 14 rebuild

Modified:
  blender/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 22:46:32 UTC (rev 1239192)
+++ PKGBUILD2022-06-22 22:48:22 UTC (rev 1239193)
@@ -8,7 +8,7 @@
 
 pkgname=blender
 pkgver=3.2.0
-pkgrel=3
+pkgrel=4
 epoch=17
 pkgdesc="A fully integrated 3D graphics creation suite"
 arch=('x86_64')



[arch-commits] Commit in pycharm-community-edition/repos/community-x86_64 (6 files)

2022-06-22 Thread Orhun Parmaksiz via arch-commits
Date: Wednesday, June 22, 2022 @ 22:46:32
  Author: orhun
Revision: 1239192

archrelease: copy trunk to community-x86_64

Added:
  pycharm-community-edition/repos/community-x86_64/PKGBUILD
(from rev 1239191, pycharm-community-edition/trunk/PKGBUILD)
  pycharm-community-edition/repos/community-x86_64/pycharm.desktop
(from rev 1239191, pycharm-community-edition/trunk/pycharm.desktop)
  pycharm-community-edition/repos/community-x86_64/pycharm.sh
(from rev 1239191, pycharm-community-edition/trunk/pycharm.sh)
Deleted:
  pycharm-community-edition/repos/community-x86_64/PKGBUILD
  pycharm-community-edition/repos/community-x86_64/pycharm.desktop
  pycharm-community-edition/repos/community-x86_64/pycharm.sh

-+
 PKGBUILD|  188 +++---
 pycharm.desktop |   22 +++---
 pycharm.sh  |   40 +--
 3 files changed, 125 insertions(+), 125 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-22 22:46:22 UTC (rev 1239191)
+++ PKGBUILD2022-06-22 22:46:32 UTC (rev 1239192)
@@ -1,94 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Orhun Parmaksız 
-# Maintainer: Leonidas Spyropoulos 
-# Contributor: Maxime Gauduin 
-# Contributor: David Keogh 
-
-pkgname=pycharm-community-edition
-pkgver=2022.1.2
-_build=221.5787.24
-pkgrel=1
-pkgdesc='Python IDE for Professional Developers'
-arch=(x86_64)
-url=https://www.jetbrains.com/pycharm/
-license=(APACHE)
-depends=(
-  giflib
-  glib2
-  java-environment=11
-  java11-openjfx
-  python
-  sh
-  ttf-font
-  fontconfig
-  libdbusmenu-glib
-)
-optdepends=(
-  'ipython: IPython integration for Python 3'
-)
-makedepends=(
-  git
-  java-environment=11
-  python2-setuptools
-  python-setuptools
-)
-source=(
-  
"git+https://github.com/JetBrains/intellij-community.git#tag=pycharm/${_build};
-  
idea-android::"git://git.jetbrains.org/idea/android.git#tag=pycharm/${_build}"
-  pycharm.desktop
-  pycharm.sh
-)
-sha256sums=('SKIP'
-'SKIP'
-'f727119ec7c8b96820e80712b1ee342de6a94ff72402e8f2d390cbff702f9b21'
-'7b5360b4977e934931acab775d04915417a5da9f3ea1dd44355525b0016cf65d')
-
-prepare() {
-  cd intellij-community
-
-  echo ${_build} > build.txt
-  mv "${srcdir}"/idea-android android
-
-  sed '/String targetOS/c   String targetOS = OS_LINUX' -i 
platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy
-  sed 's|../build/plugins-autoupload.txt|plugins-autoupload.txt|' -i 
platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/DistributionJARsBuilder.groovy
-  touch plugins-autoupload.txt
-  # Fix pycharm python/installer.cmd & python/plugin.cmd
-  sed 's|intellij.pycharm.community.build|"$(cd "$(dirname "$0")"; pwd)/../" 
intellij.pycharm.community.build|' -i python/installers.cmd
-  #sed 's|intellij.pycharm.community.build|"$(cd "$(dirname "$0")"; pwd)/../" 
intellij.pycharm.community.build|' -i python/plugin.cmd
-}
-
-build() {
-  cd intellij-community
-
-  unset _JAVA_OPTIONS
-  export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
-  export PATH="${JAVA_HOME}/bin:${PATH}"
-  export JDK_16_x64=/usr/lib/jvm/java-11-openjdk
-  export JDK_18_x64=/usr/lib/jvm/java-11-openjdk
-
-  ./python/installers.cmd -Dintellij.build.target.os=linux
-  #./python/plugin.cmd -Dintellij.build.target.os=linux
-
-  tar -xf out/pycharm-ce/artifacts/pycharmPC-${_build}-no-jbr.tar.gz -C 
"${srcdir}"
-
-  cd ../pycharm-community-${pkgver}
-
-  python2 plugins/python-ce/helpers/pydev/setup_cython.py build_ext 
--build-temp build --build-lib .
-  python3 plugins/python-ce/helpers/pydev/setup_cython.py build_ext 
--build-temp build --build-lib .
-}
-
-package() {
-  cd pycharm-community-${pkgver}
-
-  # workaround FS#40934
-  sed -i 's/lcd/on/' bin/*.vmoptions
-
-  install -dm 755 "${pkgdir}"/usr/share/{licenses,pixmaps,pycharm}
-  cp -dr --no-preserve='ownership' bin lib plugins 
"${pkgdir}"/usr/share/pycharm/
-  cp -dr --no-preserve='ownership' license 
"${pkgdir}"/usr/share/licenses/pycharm/
-  ln -s /usr/share/pycharm/bin/pycharm.png "${pkgdir}"/usr/share/pixmaps/
-  install -Dm 644 ../pycharm.desktop -t "${pkgdir}"/usr/share/applications/
-  install -Dm 755 ../pycharm.sh "${pkgdir}"/usr/bin/pycharm
-}
-
-# vim: ts=2 sw=2 et:

Copied: pycharm-community-edition/repos/community-x86_64/PKGBUILD (from rev 
1239191, pycharm-community-edition/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-22 22:46:32 UTC (rev 1239192)
@@ -0,0 +1,94 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Orhun Parmaksız 
+# Maintainer: Leonidas Spyropoulos 
+# Contributor: Maxime Gauduin 
+# Contributor: David Keogh 
+
+pkgname=pycharm-community-edition
+pkgver=2022.1.3
+_build=221.5921.27
+pkgrel=1
+pkgdesc='Python IDE for Professional Developers'
+arch=(x86_64)
+url=https://www.jetbrains.com/pycharm/

[arch-commits] Commit in pycharm-community-edition/trunk (PKGBUILD)

2022-06-22 Thread Orhun Parmaksiz via arch-commits
Date: Wednesday, June 22, 2022 @ 22:46:22
  Author: orhun
Revision: 1239191

upgpkg: pycharm-community-edition 2022.1.3-1: upstream release

Modified:
  pycharm-community-edition/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 22:36:51 UTC (rev 1239190)
+++ PKGBUILD2022-06-22 22:46:22 UTC (rev 1239191)
@@ -5,8 +5,8 @@
 # Contributor: David Keogh 
 
 pkgname=pycharm-community-edition
-pkgver=2022.1.2
-_build=221.5787.24
+pkgver=2022.1.3
+_build=221.5921.27
 pkgrel=1
 pkgdesc='Python IDE for Professional Developers'
 arch=(x86_64)



[arch-commits] Commit in openshadinglanguage/repos (3 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:36:51
  Author: foutrelis
Revision: 1239190

archrelease: copy trunk to community-staging-x86_64

Added:
  openshadinglanguage/repos/community-staging-x86_64/
  openshadinglanguage/repos/community-staging-x86_64/PKGBUILD
(from rev 1239189, openshadinglanguage/trunk/PKGBUILD)
  openshadinglanguage/repos/community-staging-x86_64/llvm14.patch
(from rev 1239189, openshadinglanguage/trunk/llvm14.patch)

--+
 PKGBUILD |   45 +
 llvm14.patch |   16 
 2 files changed, 61 insertions(+)

Copied: openshadinglanguage/repos/community-staging-x86_64/PKGBUILD (from rev 
1239189, openshadinglanguage/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 22:36:51 UTC (rev 1239190)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=openshadinglanguage
+pkgver=1.11.17.0
+pkgrel=4
+pkgdesc="Advanced shading language for production GI renderers"
+arch=(x86_64)
+url="https://github.com/imageworks/OpenShadingLanguage;
+license=('custom')
+depends=('boost-libs' 'openimageio' 'imath' 'freetype2' 'libpng'
+ 'libtiff' 'zlib' 'ncurses' 'clang')
+makedepends=('boost' 'cmake' 'python' 'llvm' 'ninja')
+optdepends=('python: the Python module')
+source=($pkgname-$pkgver.tar.gz::https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz
+llvm14.patch)
+sha512sums=('14cb25b10f4644551b906344a289e2a4c421f4c85beaa120bb1a1e532c9be3ec235622516c4700fb23d258c5dcd1ece18b84491b0973b3162098843a9059b1d2'
+
'eb7036e6bacab49508d8d55ce2fcc923527bf79e46451ce17261c18b36dae64a67f7be356bf0ac91e52cc6381a42778aff37f4d7b626232d79eb739d8773fa44')
+
+prepare() {
+  cd OpenShadingLanguage-Release-$pkgver
+  patch -Np1 -i ../llvm14.patch
+}
+
+build() {
+  cd OpenShadingLanguage-Release-$pkgver
+
+  cmake \
+-B build \
+-GNinja \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DCMAKE_CXX_STANDARD=14 \
+-DLLVM_STATIC=0 \
+-DSTOP_ON_WARNING=OFF
+  ninja -C build
+}
+
+package() {
+  cd OpenShadingLanguage-Release-$pkgver
+
+  DESTDIR="$pkgdir/" ninja -C build install
+
+  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}
+
+# vim:set ts=2 sw=2 et:

Copied: openshadinglanguage/repos/community-staging-x86_64/llvm14.patch (from 
rev 1239189, openshadinglanguage/trunk/llvm14.patch)
===
--- community-staging-x86_64/llvm14.patch   (rev 0)
+++ community-staging-x86_64/llvm14.patch   2022-06-22 22:36:51 UTC (rev 
1239190)
@@ -0,0 +1,16 @@
+diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
+index 45e0b3e4..96651f00 100644
+--- a/src/liboslexec/llvm_util.cpp
 b/src/liboslexec/llvm_util.cpp
+@@ -37,7 +37,11 @@
+ #include 
+ #include 
+ #include 
++#if OSL_LLVM_VERSION < 140
+ #include 
++#else
++#include 
++#endif
+ 
+ #include 
+ #include 



[arch-commits] Commit in openshadinglanguage/trunk (3 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:36:47
  Author: foutrelis
Revision: 1239189

upgpkg: openshadinglanguage 1.11.17.0-4: LLVM 14 rebuild

Added:
  openshadinglanguage/trunk/llvm14.patch
Modified:
  openshadinglanguage/trunk/PKGBUILD
Deleted:
  openshadinglanguage/trunk/llvm13.patch

--+
 PKGBUILD |   13 ++---
 llvm13.patch |   48 
 llvm14.patch |   16 
 3 files changed, 26 insertions(+), 51 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 22:03:56 UTC (rev 1239188)
+++ PKGBUILD2022-06-22 22:36:47 UTC (rev 1239189)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=openshadinglanguage
 pkgver=1.11.17.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Advanced shading language for production GI renderers"
 arch=(x86_64)
 url="https://github.com/imageworks/OpenShadingLanguage;
@@ -10,9 +10,16 @@
  'libtiff' 'zlib' 'ncurses' 'clang')
 makedepends=('boost' 'cmake' 'python' 'llvm' 'ninja')
 optdepends=('python: the Python module')
-source=($pkgname-$pkgver.tar.gz::https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz)
-sha512sums=('14cb25b10f4644551b906344a289e2a4c421f4c85beaa120bb1a1e532c9be3ec235622516c4700fb23d258c5dcd1ece18b84491b0973b3162098843a9059b1d2')
+source=($pkgname-$pkgver.tar.gz::https://github.com/imageworks/OpenShadingLanguage/archive/Release-${pkgver}.tar.gz
+llvm14.patch)
+sha512sums=('14cb25b10f4644551b906344a289e2a4c421f4c85beaa120bb1a1e532c9be3ec235622516c4700fb23d258c5dcd1ece18b84491b0973b3162098843a9059b1d2'
+
'eb7036e6bacab49508d8d55ce2fcc923527bf79e46451ce17261c18b36dae64a67f7be356bf0ac91e52cc6381a42778aff37f4d7b626232d79eb739d8773fa44')
 
+prepare() {
+  cd OpenShadingLanguage-Release-$pkgver
+  patch -Np1 -i ../llvm14.patch
+}
+
 build() {
   cd OpenShadingLanguage-Release-$pkgver
 

Deleted: llvm13.patch
===
--- llvm13.patch2022-06-22 22:03:56 UTC (rev 1239188)
+++ llvm13.patch2022-06-22 22:36:47 UTC (rev 1239189)
@@ -1,48 +0,0 @@
-From 8682211d0bfe5c4be63a4a003d06037ff9721e66 Mon Sep 17 00:00:00 2001
-From: Luya Tshimbalanga 
-Date: Tue, 28 Sep 2021 10:08:01 -0700
-Subject: [PATCH] Fix compatibility with LLVM 12 and up (#1412)
-
-Upstream LLVM stopped using the compatibility
-spellings of OF_{None,Text,Append} from version 12 and up.
-
-https://reviews.llvm.org/D101650
-
-Signed-off-by: Luya Tshimbalanga 

- src/liboslexec/llvm_util.cpp | 6 +-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
-index 4bd0dca35..4d0e1752d 100644
 a/src/liboslexec/llvm_util.cpp
-+++ b/src/liboslexec/llvm_util.cpp
-@@ -1407,7 +1407,9 @@ LLVM_Util::make_jit_execengine (std::string *err,
- 
- options.NoZerosInBSS = false;
- options.GuaranteedTailCallOpt = false;
-+#if OSL_LLVM_VERSION < 120
- options.StackAlignmentOverride = 0;
-+#endif
- options.FunctionSections = true;
- options.UseInitArray = false;
- options.FloatABIType = llvm::FloatABI::Default;
-@@ -5385,7 +5387,7 @@ void
- LLVM_Util::write_bitcode_file (const char *filename, std::string *err)
- {
- std::error_code local_error;
--llvm::raw_fd_ostream out (filename, local_error, llvm::sys::fs::F_None);
-+llvm::raw_fd_ostream out (filename, local_error, llvm::sys::fs::OF_None);
- if (! out.has_error()) {
- llvm::WriteBitcodeToFile (*module(), out);
- if (err && local_error)
-@@ -5447,7 +5449,9 @@ LLVM_Util::ptx_compile_group (llvm::Module* lib_module, 
const std::string& name,
- options.AllowFPOpFusion= llvm::FPOpFusion::Fast;
- options.NoZerosInBSS   = 0;
- options.GuaranteedTailCallOpt  = 0;
-+#if OSL_LLVM_VERSION < 120
- options.StackAlignmentOverride = 0;
-+#endif
- options.UseInitArray   = 0;
- 
- llvm::TargetMachine* target_machine = llvm_target->createTargetMachine(

Added: llvm14.patch
===
--- llvm14.patch(rev 0)
+++ llvm14.patch2022-06-22 22:36:47 UTC (rev 1239189)
@@ -0,0 +1,16 @@
+diff --git a/src/liboslexec/llvm_util.cpp b/src/liboslexec/llvm_util.cpp
+index 45e0b3e4..96651f00 100644
+--- a/src/liboslexec/llvm_util.cpp
 b/src/liboslexec/llvm_util.cpp
+@@ -37,7 +37,11 @@
+ #include 
+ #include 
+ #include 
++#if OSL_LLVM_VERSION < 140
+ #include 
++#else
++#include 
++#endif
+ 
+ #include 
+ #include 



[arch-commits] Commit in postgresql-old-upgrade/repos (2 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:23:53
  Author: foutrelis
Revision: 449346

archrelease: copy trunk to staging-x86_64

Added:
  postgresql-old-upgrade/repos/staging-x86_64/
  postgresql-old-upgrade/repos/staging-x86_64/PKGBUILD
(from rev 449345, postgresql-old-upgrade/trunk/PKGBUILD)

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

Copied: postgresql-old-upgrade/repos/staging-x86_64/PKGBUILD (from rev 449345, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-06-22 22:23:53 UTC (rev 449346)
@@ -0,0 +1,68 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=13.7
+_majorver=${pkgver%.*}
+pkgrel=3
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
+ 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5' 'llvm-libs')
+makedepends=('python' 'perl' 'tcl>=8.6.0' 'systemd' 'llvm' 'clang')
+optdepends=('python: for PL/Python 3 support'
+'perl: for PL/Perl support'
+'tcl: for PL/Tcl support')
+options=('debug')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+md5sums=('dba6e30a292af33996e84a5b0a3739a4')
+sha256sums=('1b905bf4f3d83614a393b3c51fd345910fd261e4f5124a68d9a1fdd3a2a46399')
+b2sums=('2d8a505f6de4eb31cae415529eeac750a60abafcf45e7fde29043597b385a8150fac55df659f8c2ad200822e8063d388ed606dff9108d4407f9e26b893fa62f4')
+
+# Upstream provides md5 and sha256
+
+build() {
+  cd postgresql-${pkgver}
+  local configure_options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-icu
+--with-systemd
+--with-ldap
+--with-llvm
+--without-libxslt
+--disable-nls
+--enable-thread-safety
+--disable-rpath
+  )
+
+  # Fix static libs
+  CFLAGS+=" -ffat-lto-objects"
+
+  ./configure "${configure_options[@]}"
+  make -C src all
+  make -C contrib all
+}
+
+package() {
+  cd postgresql-${pkgver}
+
+  # install
+  make -C src DESTDIR="${pkgdir}" install
+  make -C contrib DESTDIR="${pkgdir}" install
+
+  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in postgresql-old-upgrade/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:23:49
  Author: foutrelis
Revision: 449345

upgpkg: postgresql-old-upgrade 13.7-3: LLVM 14 rebuild

Modified:
  postgresql-old-upgrade/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 22:22:05 UTC (rev 449344)
+++ PKGBUILD2022-06-22 22:23:49 UTC (rev 449345)
@@ -4,7 +4,7 @@
 pkgname=postgresql-old-upgrade
 pkgver=13.7
 _majorver=${pkgver%.*}
-pkgrel=2
+pkgrel=3
 pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
 url='https://www.postgresql.org/'
 arch=('x86_64')



[arch-commits] Commit in postgresql/repos (12 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:22:05
  Author: foutrelis
Revision: 449344

archrelease: copy trunk to staging-x86_64

Added:
  postgresql/repos/staging-x86_64/
  postgresql/repos/staging-x86_64/PKGBUILD
(from rev 449343, postgresql/trunk/PKGBUILD)
  postgresql/repos/staging-x86_64/postgresql-check-db-dir
(from rev 449343, postgresql/trunk/postgresql-check-db-dir)
  postgresql/repos/staging-x86_64/postgresql-perl-5.36.patch
(from rev 449343, postgresql/trunk/postgresql-perl-5.36.patch)
  postgresql/repos/staging-x86_64/postgresql-perl-rpath.patch
(from rev 449343, postgresql/trunk/postgresql-perl-rpath.patch)
  postgresql/repos/staging-x86_64/postgresql-run-socket.patch
(from rev 449343, postgresql/trunk/postgresql-run-socket.patch)
  postgresql/repos/staging-x86_64/postgresql.install
(from rev 449343, postgresql/trunk/postgresql.install)
  postgresql/repos/staging-x86_64/postgresql.logrotate
(from rev 449343, postgresql/trunk/postgresql.logrotate)
  postgresql/repos/staging-x86_64/postgresql.pam
(from rev 449343, postgresql/trunk/postgresql.pam)
  postgresql/repos/staging-x86_64/postgresql.service
(from rev 449343, postgresql/trunk/postgresql.service)
  postgresql/repos/staging-x86_64/postgresql.sysusers
(from rev 449343, postgresql/trunk/postgresql.sysusers)
  postgresql/repos/staging-x86_64/postgresql.tmpfiles
(from rev 449343, postgresql/trunk/postgresql.tmpfiles)

-+
 PKGBUILD|  219 ++
 postgresql-check-db-dir |   49 +
 postgresql-perl-5.36.patch  |   24 
 postgresql-perl-rpath.patch |   13 ++
 postgresql-run-socket.patch |   12 ++
 postgresql.install  |7 +
 postgresql.logrotate|4 
 postgresql.pam  |3 
 postgresql.service  |   43 
 postgresql.sysusers |1 
 postgresql.tmpfiles |2 
 11 files changed, 377 insertions(+)

Copied: postgresql/repos/staging-x86_64/PKGBUILD (from rev 449343, 
postgresql/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-06-22 22:22:05 UTC (rev 449344)
@@ -0,0 +1,219 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgbase=postgresql
+pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql')
+pkgver=14.3
+_majorver=${pkgver%.*}
+pkgrel=3
+pkgdesc='Sophisticated object-relational DBMS'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+makedepends=('krb5' 'libxml2' 'python' 'perl' 'tcl>=8.6.0' 'openssl>=1.0.0'
+ 'pam' 'zlib' 'icu' 'systemd' 'libldap' 'llvm' 'clang' 'libxslt'
+ 'util-linux')
+options=('debug')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2
+postgresql-run-socket.patch
+postgresql-perl-rpath.patch
+postgresql-perl-5.36.patch
+postgresql.pam
+postgresql.logrotate
+postgresql.service
+postgresql-check-db-dir
+postgresql.sysusers
+postgresql.tmpfiles)
+md5sums=('c83c28c774dd55b078f7dae0e30163be'
+ 'bdafe5b6cd3ac2675cda972f322b6188'
+ '4572e8317064bd47429938c4c5681470'
+ '558a287c0a3ba9fbddb40d29941e3a10'
+ '96f82c38f3f540b53f3e5144900acf17'
+ 'd28e443f9f65a5712c52018b84e27137'
+ '0418d1b78f15b969c1575657d47ab130'
+ '984ab302670537938627688bdcd5c296'
+ '2050d34e4dfa05f3c6fe4cd7615eaa4b'
+ '02d017978f0bba21f455feceb3f0a45a')
+sha256sums=('279057368bf59a919c05ada8f95c5e04abb43e74b9a2a69c3d46a20e07a9af38'
+'55d4c36b41b3925e2d74d4695c261aa267f06d70b9d768864f54262ec332eda4'
+'dc17da62ce200ea2dacd5eb27adc33b0e296eb5bb10fada54fe4539d214c81c8'
+'dab4ebcd55738b2ea7c87b123f7f52d7ac834c21984715a162a32df8d8957af8'
+'57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5'
+'6abb842764bbed74ea4a269d24f1e73d1c0b1d8ecd6e2e6fb5fb10590298605e'
+'25fb140b90345828dc01a4f286345757e700a47178bab03d217a7a5a79105b57'
+'0ad19ab58ee90c6cd97fe4ccb3287b3a2982768d937b4742d9e5572311349e6d'
+'7fa8f0ef3f9d40abd4749cc327c2f52478cb6dfb6e2405bd0279c95e9ff99f12'
+'4a4c0bb9ceb156cc47e9446d8393d1f72b4fe9ea1d39ba17213359df9211da57')
+b2sums=('8c9124cb758618d770a1084553f9e8f9a3fcb4e17e1aa4a1649e04f4c057f33ce1e5890bba3288bed2257236a4569735a77b3e5ddf989c2a2a4ef60ed494b3cc'
+
'f91b7bbd23569af7c24189f01d93cf71752c5559fd0dc93027b0944e3986dfddee929027884a77393d104b8ebf848650ed907e327828346e67a16f0aa0629fc1'
+
'cb10afa597fd7e99f3f69322657c2137ffcc311f11acc97782d48f928361c5b7063cec4ceb08a63c6d97d6a96793f209bbc502636fbe0097c0db137c25e1'
+

[arch-commits] Commit in postgresql/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:21:53
  Author: foutrelis
Revision: 449343

upgpkg: postgresql 14.3-3: LLVM 14 rebuild

Modified:
  postgresql/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 22:05:58 UTC (rev 449342)
+++ PKGBUILD2022-06-22 22:21:53 UTC (rev 449343)
@@ -5,7 +5,7 @@
 pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql')
 pkgver=14.3
 _majorver=${pkgver%.*}
-pkgrel=2
+pkgrel=3
 pkgdesc='Sophisticated object-relational DBMS'
 url='https://www.postgresql.org/'
 arch=('x86_64')



[arch-commits] Commit in clang13/repos/staging-x86_64 (8 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:05:58
  Author: foutrelis
Revision: 449342

archrelease: copy trunk to staging-x86_64

Added:
  clang13/repos/staging-x86_64/PKGBUILD
(from rev 449341, clang13/trunk/PKGBUILD)
  clang13/repos/staging-x86_64/enable-SSP-and-PIE-by-default.patch
(from rev 449341, clang13/trunk/enable-SSP-and-PIE-by-default.patch)
  clang13/repos/staging-x86_64/keys/
  
clang13/repos/staging-x86_64/strip-exception-specifications-in-CFI-type-names.patch
(from rev 449341, 
clang13/trunk/strip-exception-specifications-in-CFI-type-names.patch)
Deleted:
  clang13/repos/staging-x86_64/PKGBUILD
  clang13/repos/staging-x86_64/enable-SSP-and-PIE-by-default.patch
  clang13/repos/staging-x86_64/keys/
  
clang13/repos/staging-x86_64/strip-exception-specifications-in-CFI-type-names.patch

+
 PKGBUILD   |  209 ++--
 enable-SSP-and-PIE-by-default.patch|  748 +++
 strip-exception-specifications-in-CFI-type-names.patch |  118 +-
 3 files changed, 539 insertions(+), 536 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-22 22:05:53 UTC (rev 449341)
+++ PKGBUILD2022-06-22 22:05:58 UTC (rev 449342)
@@ -1,103 +0,0 @@
-# Maintainer: Evangelos Foutras 
-# Contributor: Jan "heftig" Steffens 
-
-pkgname=clang13
-pkgver=13.0.1
-pkgrel=2
-pkgdesc="C language family frontend for LLVM 13"
-arch=('x86_64')
-url="https://clang.llvm.org/;
-license=('custom:Apache 2.0 with LLVM Exception')
-depends=('llvm13-libs' 'gcc')
-makedepends=('llvm13' 'cmake' 'ninja' 'python')
-optdepends=('openmp: OpenMP support in clang with -fopenmp'
-'llvm13: referenced by some clang headers')
-checkdepends=('llvm')
-_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
-source=($_source_base/clang-$pkgver.src.tar.xz{,.sig}
-$_source_base/llvm-$pkgver.src.tar.xz{,.sig}
-strip-exception-specifications-in-CFI-type-names.patch
-enable-SSP-and-PIE-by-default.patch)
-sha256sums=('787a9e2d99f5c8720aa1773e4be009461cd30d3bd40fdd24591e473467c917c9'
-'SKIP'
-'ec6b80d82c384acad2dc192903a6cf2cdbaffb889b84bfb98da9d71e630fc834'
-'SKIP'
-'3f4a2784a4c2b2df13e03beb0b66d5805c520f2b9f16ff76e0557daeb284c8fa'
-'67706047fc93a2e79185d344bdac48219ce042c55ddb9b9397bc98db2153ba58')
-validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg 

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

-
-# Utilizing LLVM_DISTRIBUTION_COMPONENTS to avoid
-# installing static libraries; inspired by Gentoo
-_get_distribution_components() {
-  local target
-  ninja -t targets | grep -Po 'install-\K.*(?=-stripped:)' | while read -r 
target; do
-case $target in
-  clang-libraries|distribution)
-continue
-;;
-  # trim static analyzer and other bits
-  bash-autocomplete|clang-format|clang-rename|hmaptool|scan-*)
-continue
-;;
-  # avoid shadowing libclang.so.13 from clang 14
-  # 
https://github.com/llvm/llvm-project/issues/53684#issuecomment-1162669770
-  libclang|c-index-test)
-continue
-;;
-  clang|clang-*)
-;;
-  clang*|findAllSymbols)
-continue
-;;
-esac
-echo $target
-  done
-}
-
-prepare() {
-  cd clang-$pkgver.src
-  mkdir build
-  patch -Np2 -i ../enable-SSP-and-PIE-by-default.patch
-  patch -Np2 -i ../strip-exception-specifications-in-CFI-type-names.patch
-}
-
-build() {
-  cd clang-$pkgver.src/build
-
-  local cmake_args=(
--G Ninja
--DCMAKE_BUILD_TYPE=Release
--DCMAKE_INSTALL_PREFIX=/usr/lib/llvm13
--DCMAKE_SKIP_RPATH=ON
--DCLANG_LINK_CLANG_DYLIB=ON
--DLLVM_BUILD_TESTS=ON
--DLLVM_CONFIG=/usr/lib/llvm13/bin/llvm-config
--DLLVM_ENABLE_RTTI=ON
--DLLVM_EXTERNAL_LIT=/usr/bin/lit
--DLLVM_LINK_LLVM_DYLIB=ON
--DLLVM_MAIN_SRC_DIR="$srcdir/llvm-$pkgver.src"
-  )
-
-  cmake .. "${cmake_args[@]}"
-  local distribution_components=$(_get_distribution_components | paste -sd\;)
-  test -n "$distribution_components"
-  cmake_args+=(-DLLVM_DISTRIBUTION_COMPONENTS="$distribution_components")
-
-  cmake .. "${cmake_args[@]}"
-  ninja
-}
-
-check() {
-  cd clang-$pkgver.src/build
-  LD_LIBRARY_PATH=$PWD/lib ninja check-clang
-}
-
-package() {
-  cd clang-$pkgver.src/build
-
-  DESTDIR="$pkgdir" ninja install-distribution
-  install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: clang13/repos/staging-x86_64/PKGBUILD (from rev 449341, 
clang13/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-22 22:05:58 UTC (rev 449342)
@@ -0,0 +1,106 @@
+# Maintainer: Evangelos Foutras 
+# Contributor: Jan 

[arch-commits] Commit in clang13/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 22:05:53
  Author: foutrelis
Revision: 449341

upgpkg: clang13 13.0.1-3: move libclang-cpp.so.13 to /usr/lib/

Modified:
  clang13/trunk/PKGBUILD

--+
 PKGBUILD |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:49:53 UTC (rev 449340)
+++ PKGBUILD2022-06-22 22:05:53 UTC (rev 449341)
@@ -3,7 +3,7 @@
 
 pkgname=clang13
 pkgver=13.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="C language family frontend for LLVM 13"
 arch=('x86_64')
 url="https://clang.llvm.org/;
@@ -98,6 +98,9 @@
 
   DESTDIR="$pkgdir" ninja install-distribution
   install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  mv "$pkgdir"/usr/lib/{llvm13/lib/,}libclang-cpp.so.13
+  ln -s ../../libclang-cpp.so.13 
"$pkgdir/usr/lib/llvm13/lib/libclang-cpp.so.13"
 }
 
 # vim:set ts=2 sw=2 et:



[arch-commits] Commit in aliyun-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-06-22 Thread Orhun Parmaksiz via arch-commits
Date: Wednesday, June 22, 2022 @ 22:03:56
  Author: orhun
Revision: 1239188

archrelease: copy trunk to community-x86_64

Added:
  aliyun-cli/repos/community-x86_64/PKGBUILD
(from rev 1239187, aliyun-cli/trunk/PKGBUILD)
Deleted:
  aliyun-cli/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  132 +
 1 file changed, 64 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-22 22:03:48 UTC (rev 1239187)
+++ PKGBUILD2022-06-22 22:03:56 UTC (rev 1239188)
@@ -1,68 +0,0 @@
-# Maintainer: Levente Polyak 
-# Contributor: Andreas 'Segaja' Schleifer 
-
-pkgname=aliyun-cli
-_gitcommit=624846497c415f00e0a652e0a386c916068f21c6
-pkgver=3.0.121
-pkgrel=1
-pkgdesc='Alibaba Cloud CLI'
-arch=('x86_64')
-url='https://github.com/aliyun/aliyun-cli'
-license=('Apache')
-depends=('glibc')
-makedepends=('git' 'go')
-source=("git+${url}#commit=${_gitcommit}"
-git+https://github.com/aliyun/aliyun-openapi-meta
-
"fix-unit-tests.patch::$url/commit/2a825289bb45e07bea30f67d8d4031dae0fff6a3.patch")
-sha512sums=('SKIP'
-'SKIP'
-
'75a953dbbe351b53ee9276c8309fa71a590c06eaf004f4b18ac198628dd5b928873be6d40d52f547ee23259ad1ff2bf370117545818df7872414ec6d46663729')
-b2sums=('SKIP'
-'SKIP'
-
'e1684239f8c0450189668fe56d17de8428933d52fca0ac1455628a8a09d310d6622ffee90430c4f66e99f3ac46ea6a40d01468b61a11364bf73c7b76a607d4e1')
-
-pkgver() {
-  cd ${pkgname}
-  git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-prepare() {
-  cd ${pkgname}
-  patch -Np1 -i ../fix-unit-tests.patch
-  git submodule init
-  git config submodule."aliyun-openapi-meta".url 
"${srcdir}/aliyun-openapi-meta"
-  git submodule update --init --recursive
-}
-
-build() {
-  cd ${pkgname}
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external"
-
-  go build \
--ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 
'github.com/aliyun/aliyun-cli/cli.Version=${pkgver}'" \
--o ./out/aliyun ./main/main.go
-}
-
-check() {
-  cd ${pkgname}
-
-  # Horrible but needed for the ./cli/ tests
-  touch "${HOME}/.bashrc"
-
-  # for now can't test the `./oss/...` folder, because it needs an env file 
that is not so easy to have in dev
-  go test \
-./cli/... ./config/... ./i18n/... ./main/... ./openapi/... ./resource/...
-}
-
-package() {
-  cd ${pkgname}
-  install -Dm 755 out/aliyun "${pkgdir}/usr/bin/aliyun"
-  install -Dm 644 README*.md CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 bin/README.md -t "${pkgdir}/usr/share/doc/${pkgname}/bin"
-}
-
-# vim: ts=2 sw=2 et:

Copied: aliyun-cli/repos/community-x86_64/PKGBUILD (from rev 1239187, 
aliyun-cli/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-22 22:03:56 UTC (rev 1239188)
@@ -0,0 +1,64 @@
+# Maintainer: Levente Polyak 
+# Contributor: Andreas 'Segaja' Schleifer 
+
+pkgname=aliyun-cli
+_gitcommit=aecf1f73dcb5911cfd6821cb02c601745782bb39
+pkgver=3.0.123
+pkgrel=1
+pkgdesc='Alibaba Cloud CLI'
+arch=('x86_64')
+url='https://github.com/aliyun/aliyun-cli'
+license=('Apache')
+depends=('glibc')
+makedepends=('git' 'go')
+source=("git+${url}#commit=${_gitcommit}"
+git+https://github.com/aliyun/aliyun-openapi-meta)
+sha512sums=('SKIP'
+'SKIP')
+b2sums=('SKIP'
+'SKIP')
+
+pkgver() {
+  cd ${pkgname}
+  git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+  cd ${pkgname}
+  git submodule init
+  git config submodule."aliyun-openapi-meta".url 
"${srcdir}/aliyun-openapi-meta"
+  git submodule update --init --recursive
+}
+
+build() {
+  cd ${pkgname}
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external"
+
+  go build \
+-ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 
'github.com/aliyun/aliyun-cli/cli.Version=${pkgver}'" \
+-o ./out/aliyun ./main/main.go
+}
+
+check() {
+  cd ${pkgname}
+
+  # Horrible but needed for the ./cli/ tests
+  touch "${HOME}/.bashrc"
+
+  # for now can't test the `./oss/...` folder, because it needs an env file 
that is not so easy to have in dev
+  go test \
+./cli/... ./config/... ./i18n/... ./main/... ./openapi/... ./resource/...
+}
+
+package() {
+  cd ${pkgname}
+  install -Dm 755 out/aliyun "${pkgdir}/usr/bin/aliyun"
+  install -Dm 644 README*.md CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 bin/README.md -t "${pkgdir}/usr/share/doc/${pkgname}/bin"
+}
+
+# vim: ts=2 sw=2 et:

[arch-commits] Commit in aliyun-cli/trunk (PKGBUILD)

2022-06-22 Thread Orhun Parmaksiz via arch-commits
Date: Wednesday, June 22, 2022 @ 22:03:48
  Author: orhun
Revision: 1239187

upgpkg: aliyun-cli 3.0.123-1: upstream release

Modified:
  aliyun-cli/trunk/PKGBUILD

--+
 PKGBUILD |   14 +-
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:59:29 UTC (rev 1239186)
+++ PKGBUILD2022-06-22 22:03:48 UTC (rev 1239187)
@@ -2,8 +2,8 @@
 # Contributor: Andreas 'Segaja' Schleifer 
 
 pkgname=aliyun-cli
-_gitcommit=624846497c415f00e0a652e0a386c916068f21c6
-pkgver=3.0.121
+_gitcommit=aecf1f73dcb5911cfd6821cb02c601745782bb39
+pkgver=3.0.123
 pkgrel=1
 pkgdesc='Alibaba Cloud CLI'
 arch=('x86_64')
@@ -12,14 +12,11 @@
 depends=('glibc')
 makedepends=('git' 'go')
 source=("git+${url}#commit=${_gitcommit}"
-git+https://github.com/aliyun/aliyun-openapi-meta
-
"fix-unit-tests.patch::$url/commit/2a825289bb45e07bea30f67d8d4031dae0fff6a3.patch")
+git+https://github.com/aliyun/aliyun-openapi-meta)
 sha512sums=('SKIP'
-'SKIP'
-
'75a953dbbe351b53ee9276c8309fa71a590c06eaf004f4b18ac198628dd5b928873be6d40d52f547ee23259ad1ff2bf370117545818df7872414ec6d46663729')
+'SKIP')
 b2sums=('SKIP'
-'SKIP'
-
'e1684239f8c0450189668fe56d17de8428933d52fca0ac1455628a8a09d310d6622ffee90430c4f66e99f3ac46ea6a40d01468b61a11364bf73c7b76a607d4e1')
+'SKIP')
 
 pkgver() {
   cd ${pkgname}
@@ -28,7 +25,6 @@
 
 prepare() {
   cd ${pkgname}
-  patch -Np1 -i ../fix-unit-tests.patch
   git submodule init
   git config submodule."aliyun-openapi-meta".url 
"${srcdir}/aliyun-openapi-meta"
   git submodule update --init --recursive



[arch-commits] Commit in pocl/repos (2 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 21:59:29
  Author: foutrelis
Revision: 1239186

archrelease: copy trunk to community-staging-x86_64

Added:
  pocl/repos/community-staging-x86_64/
  pocl/repos/community-staging-x86_64/PKGBUILD
(from rev 1239185, pocl/trunk/PKGBUILD)

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

Copied: pocl/repos/community-staging-x86_64/PKGBUILD (from rev 1239185, 
pocl/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:59:29 UTC (rev 1239186)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: spider-mario 
+# Contributor: Olaf Leidinger 
+# Contributor: fabien Cellier 
+
+pkgname=pocl
+pkgver=3.0
+pkgrel=2
+pkgdesc="Portable OpenCL is an open-source implementation of OpenCL which can 
be easily adapted for new targets"
+arch=('x86_64')
+url="http://portablecl.org/;
+license=('GPL')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz;)
+depends=('clang' 'hwloc' 'opencl-icd-loader')
+makedepends=('llvm' 'cmake' 'opencl-headers' 'ocl-icd' 'ninja')
+sha512sums=('dc02bdf259792edb5cb3c80cde5c5261e1e21219b4b31420a3b537abbca1bc478ce0ca0dfc622727088b67d580217d47566309de7c6114a24553de4496a209ea')
+
+build() {
+  cd "$pkgname-$pkgver"
+  cmake \
+  -GNinja \
+  -Bbuild \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DCMAKE_INSTALL_LIBDIR=lib \
+  -DCMAKE_BUILD_TYPE=Release \
+  -DKERNELLIB_HOST_CPU_VARIANTS=distro
+  ninja -C build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  ninja -C build check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  DESTDIR="$pkgdir"/ ninja -C build install
+}



[arch-commits] Commit in pocl/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 21:59:26
  Author: foutrelis
Revision: 1239185

upgpkg: pocl 3.0-2: LLVM 14 rebuild

Modified:
  pocl/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:53:05 UTC (rev 1239184)
+++ PKGBUILD2022-06-22 21:59:26 UTC (rev 1239185)
@@ -5,7 +5,7 @@
 
 pkgname=pocl
 pkgver=3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Portable OpenCL is an open-source implementation of OpenCL which can 
be easily adapted for new targets"
 arch=('x86_64')
 url="http://portablecl.org/;



[arch-commits] Commit in dart/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-06-22 Thread Orhun Parmaksiz via arch-commits
Date: Wednesday, June 22, 2022 @ 21:53:05
  Author: orhun
Revision: 1239184

archrelease: copy trunk to community-x86_64

Added:
  dart/repos/community-x86_64/PKGBUILD
(from rev 1239183, dart/trunk/PKGBUILD)
Deleted:
  dart/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  118 ++---
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-22 21:52:14 UTC (rev 1239183)
+++ PKGBUILD2022-06-22 21:53:05 UTC (rev 1239184)
@@ -1,59 +0,0 @@
-# Maintainer: Alexander Rødseth 
-# Maintainer: Felix Yan 
-# Maintainer: Orhun Parmaksız 
-# Contributor: T. Jameson Little 
-# Contributor: Usagi Ito 
-# Contributor: siasia 
-# Contributor: Julien Nicoulaud 
-
-pkgname=dart
-pkgver=2.17.3
-pkgrel=1
-pkgdesc='The dart programming language SDK'
-arch=('x86_64')
-url='https://www.dartlang.org/'
-depends=('bash')
-license=('BSD')
-makedepends=('setconf')
-options=('!strip')
-source=("$pkgname-$pkgver-64.zip::https://storage.googleapis.com/dart-archive/channels/stable/release/$pkgver/sdk/dartsdk-linux-x64-release.zip;)
-sha512sums=('53a5439d5924c88636ec54b35e070e61ee69c45f947d514687040967b06e15dff6241ab74c9928e0ef4d4eb3efbf8587a1275ab440cf32bda2c89aba886e')
-
-prepare() {
-  # Fix permissions
-  find "$pkgname-sdk" -type d -exec chmod a+rx '{}' + \
--or -type f -exec chmod a+r '{}' +
-
-  cd "$pkgname-sdk/bin"
-
-  # Configure paths
-  for _f in dart2js dartdevc; do
-setconf $_f BIN_DIR "/opt/$pkgname-sdk/bin"
-setconf $_f PROG_NAME "/opt/$pkgname-sdk/bin/$_f"
-setconf $_f SDK_DIR "/opt/$pkgname-sdk/"
-  done
-
-  # Extract license (AUTHORS and LICENSE files are missing)
-  head -n5 "../include/dart_api.h" > ../../LICENSE
-}
-
-package() {
-  # Create directories
-  install -d "$pkgdir"{"/opt/$pkgname-sdk",/usr/{bin,"share/doc/$pkgname"}}
-
-  # Package the files
-  cp -a "$pkgname-sdk/"* "$pkgdir/opt/$pkgname-sdk/"
-
-  # Set up symbolic links for the executables
-  for f in dart dart2js dartdevc dartaotruntime; do
-ln -s "/opt/$pkgname-sdk/bin/$f" "$pkgdir/usr/bin/$f"
-  done
-
-  # Package documentation
-  install -Dm644 "$pkgdir/opt/$pkgname-sdk/README" -t 
"$pkgdir/usr/share/doc/$pkgname"
-
-  # BSD License
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: dart/repos/community-x86_64/PKGBUILD (from rev 1239183, 
dart/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-22 21:53:05 UTC (rev 1239184)
@@ -0,0 +1,59 @@
+# Maintainer: Alexander Rødseth 
+# Maintainer: Felix Yan 
+# Maintainer: Orhun Parmaksız 
+# Contributor: T. Jameson Little 
+# Contributor: Usagi Ito 
+# Contributor: siasia 
+# Contributor: Julien Nicoulaud 
+
+pkgname=dart
+pkgver=2.17.5
+pkgrel=1
+pkgdesc='The dart programming language SDK'
+arch=('x86_64')
+url='https://www.dartlang.org/'
+depends=('bash')
+license=('BSD')
+makedepends=('setconf')
+options=('!strip')
+source=("$pkgname-$pkgver-64.zip::https://storage.googleapis.com/dart-archive/channels/stable/release/$pkgver/sdk/dartsdk-linux-x64-release.zip;)
+sha512sums=('834a2b5ef281c1cb5faeb4a76a838464fb2a96842b791d1cac87a9626f4f45b2db9f55a659a6557e94332e4b046e873e024acd718c502e21912edb496ee84167')
+
+prepare() {
+  # Fix permissions
+  find "$pkgname-sdk" -type d -exec chmod a+rx '{}' + \
+-or -type f -exec chmod a+r '{}' +
+
+  cd "$pkgname-sdk/bin"
+
+  # Configure paths
+  for _f in dart2js dartdevc; do
+setconf $_f BIN_DIR "/opt/$pkgname-sdk/bin"
+setconf $_f PROG_NAME "/opt/$pkgname-sdk/bin/$_f"
+setconf $_f SDK_DIR "/opt/$pkgname-sdk/"
+  done
+
+  # Extract license (AUTHORS and LICENSE files are missing)
+  head -n5 "../include/dart_api.h" > ../../LICENSE
+}
+
+package() {
+  # Create directories
+  install -d "$pkgdir"{"/opt/$pkgname-sdk",/usr/{bin,"share/doc/$pkgname"}}
+
+  # Package the files
+  cp -a "$pkgname-sdk/"* "$pkgdir/opt/$pkgname-sdk/"
+
+  # Set up symbolic links for the executables
+  for f in dart dart2js dartdevc dartaotruntime; do
+ln -s "/opt/$pkgname-sdk/bin/$f" "$pkgdir/usr/bin/$f"
+  done
+
+  # Package documentation
+  install -Dm644 "$pkgdir/opt/$pkgname-sdk/README" -t 
"$pkgdir/usr/share/doc/$pkgname"
+
+  # BSD License
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



[arch-commits] Commit in dart/trunk (PKGBUILD)

2022-06-22 Thread Orhun Parmaksiz via arch-commits
Date: Wednesday, June 22, 2022 @ 21:52:14
  Author: orhun
Revision: 1239183

upgpkg: dart 2.17.5-1: upstream release

Modified:
  dart/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:23:52 UTC (rev 1239182)
+++ PKGBUILD2022-06-22 21:52:14 UTC (rev 1239183)
@@ -7,7 +7,7 @@
 # Contributor: Julien Nicoulaud 
 
 pkgname=dart
-pkgver=2.17.3
+pkgver=2.17.5
 pkgrel=1
 pkgdesc='The dart programming language SDK'
 arch=('x86_64')
@@ -17,7 +17,7 @@
 makedepends=('setconf')
 options=('!strip')
 
source=("$pkgname-$pkgver-64.zip::https://storage.googleapis.com/dart-archive/channels/stable/release/$pkgver/sdk/dartsdk-linux-x64-release.zip;)
-sha512sums=('53a5439d5924c88636ec54b35e070e61ee69c45f947d514687040967b06e15dff6241ab74c9928e0ef4d4eb3efbf8587a1275ab440cf32bda2c89aba886e')
+sha512sums=('834a2b5ef281c1cb5faeb4a76a838464fb2a96842b791d1cac87a9626f4f45b2db9f55a659a6557e94332e4b046e873e024acd718c502e21912edb496ee84167')
 
 prepare() {
   # Fix permissions



[arch-commits] Commit in llvm13/repos/staging-x86_64 (14 files)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 21:49:53
  Author: foutrelis
Revision: 449340

archrelease: copy trunk to staging-x86_64

Added:
  llvm13/repos/staging-x86_64/PKGBUILD
(from rev 449339, llvm13/trunk/PKGBUILD)
  llvm13/repos/staging-x86_64/disable-A-B-A-B-and-BSWAP-in-InstCombine.patch
(from rev 449339, 
llvm13/trunk/disable-A-B-A-B-and-BSWAP-in-InstCombine.patch)
  llvm13/repos/staging-x86_64/disable-DIArgList-in-SPIR-V.patch
(from rev 449339, llvm13/trunk/disable-DIArgList-in-SPIR-V.patch)
  llvm13/repos/staging-x86_64/don-t-accept-nullptr-as-GEP-element-type.patch
(from rev 449339, 
llvm13/trunk/don-t-accept-nullptr-as-GEP-element-type.patch)
  llvm13/repos/staging-x86_64/don-t-move-DBG_VALUE-instructions.patch
(from rev 449339, llvm13/trunk/don-t-move-DBG_VALUE-instructions.patch)
  
llvm13/repos/staging-x86_64/don-t-override-__attribute__-no_stack_protector.patch
(from rev 449339, 
llvm13/trunk/don-t-override-__attribute__-no_stack_protector.patch)
  llvm13/repos/staging-x86_64/keys/
Deleted:
  llvm13/repos/staging-x86_64/PKGBUILD
  llvm13/repos/staging-x86_64/disable-A-B-A-B-and-BSWAP-in-InstCombine.patch
  llvm13/repos/staging-x86_64/disable-DIArgList-in-SPIR-V.patch
  llvm13/repos/staging-x86_64/don-t-accept-nullptr-as-GEP-element-type.patch
  llvm13/repos/staging-x86_64/don-t-move-DBG_VALUE-instructions.patch
  
llvm13/repos/staging-x86_64/don-t-override-__attribute__-no_stack_protector.patch
  llvm13/repos/staging-x86_64/keys/

---+
 PKGBUILD  |  215 +--
 disable-A-B-A-B-and-BSWAP-in-InstCombine.patch|  104 -
 disable-DIArgList-in-SPIR-V.patch |   46 
 don-t-accept-nullptr-as-GEP-element-type.patch|  126 -
 don-t-move-DBG_VALUE-instructions.patch   |  182 +-
 don-t-override-__attribute__-no_stack_protector.patch | 1080 
 6 files changed, 874 insertions(+), 879 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-22 21:49:44 UTC (rev 449339)
+++ PKGBUILD2022-06-22 21:49:53 UTC (rev 449340)
@@ -1,110 +0,0 @@
-# Maintainer: Evangelos Foutras 
-# Contributor: Jan "heftig" Steffens 
-
-pkgname=('llvm13' 'llvm13-libs')
-pkgver=13.0.1
-pkgrel=1
-arch=('x86_64')
-url="https://llvm.org/;
-license=('custom:Apache 2.0 with LLVM Exception')
-makedepends=('cmake' 'ninja' 'libffi' 'libedit' 'ncurses' 'libxml2'
- 'python')
-options=('staticlibs' '!lto') # Getting thousands of test failures with LTO
-_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
-source=($_source_base/llvm-$pkgver.src.tar.xz{,.sig}
-don-t-accept-nullptr-as-GEP-element-type.patch
-don-t-override-__attribute__-no_stack_protector.patch
-don-t-move-DBG_VALUE-instructions.patch
-disable-A-B-A-B-and-BSWAP-in-InstCombine.patch
-disable-DIArgList-in-SPIR-V.patch)
-sha256sums=('ec6b80d82c384acad2dc192903a6cf2cdbaffb889b84bfb98da9d71e630fc834'
-'SKIP'
-'a7e902a7612d0fdabe436a917468b043cc296bc89d8954bfc3126f737beb9ac4'
-'9f0a4578b94eb8853b83af2f65e92705254b4b56d96f9a941714d174b932f465'
-'f7d69f84241416398fdb3df8bb44f9fae3c49d89889c7ffa3b37aa2e9d78f708'
-'34cc0d79a30599cb2287b47b4e9a1a5bf03d57a1f8bb35be3fe976ffc4a604f6'
-'8642da2d556092e4284873ba6ddc6c9a67841f42cc16f923bcd523e4b304a3ff')
-validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg 

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

-
-prepare() {
-  cd llvm-$pkgver.src
-  mkdir build
-
-  # https://github.com/intel/intel-graphics-compiler/issues/204
-  patch -Rp2 -i ../don-t-accept-nullptr-as-GEP-element-type.patch
-
-  # Fixes Chromium error "*** stack smashing detected ***: terminated"
-  # (which also goes away with "--change-stack-guard-on-fork=disabled")
-  # https://reviews.llvm.org/D116589
-  patch -Np2 -i ../don-t-override-__attribute__-no_stack_protector.patch
-
-  # https://github.com/llvm/llvm-project/issues/53243
-  # https://github.com/rust-lang/rust/issues/92869
-  patch -Np2 -i ../don-t-move-DBG_VALUE-instructions.patch
-
-  # Patches needed for ISPC for Xe only
-  patch -Np2 -i ../disable-A-B-A-B-and-BSWAP-in-InstCombine.patch
-  patch -Np2 -i ../disable-DIArgList-in-SPIR-V.patch
-}
-
-build() {
-  cd llvm-$pkgver.src/build
-
-  local cmake_args=(
--G Ninja
--DCMAKE_BUILD_TYPE=Release
--DCMAKE_INSTALL_PREFIX=/usr/lib/llvm13
--DCMAKE_SKIP_RPATH=ON
--DLLVM_BINUTILS_INCDIR=/usr/include
--DLLVM_BUILD_LLVM_DYLIB=ON
--DLLVM_BUILD_TESTS=ON
--DLLVM_ENABLE_BINDINGS=OFF
--DLLVM_ENABLE_FFI=ON
--DLLVM_ENABLE_RTTI=ON
--DLLVM_HOST_TRIPLE=$CHOST
--DLLVM_INSTALL_UTILS=ON
--DLLVM_LINK_LLVM_DYLIB=ON
-  )
-  cmake .. "${cmake_args[@]}"
-  ninja
-}
-
-check() {
-  cd 

[arch-commits] Commit in llvm13/trunk (PKGBUILD)

2022-06-22 Thread Evangelos Foutras via arch-commits
Date: Wednesday, June 22, 2022 @ 21:49:44
  Author: foutrelis
Revision: 449339

upgpkg: llvm13 13.0.1-2: remove ld.so.conf.d config

Also move libLLVM-13*.so to /usr/lib/.

Modified:
  llvm13/trunk/PKGBUILD

--+
 PKGBUILD |   17 ++---
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:54:49 UTC (rev 449338)
+++ PKGBUILD2022-06-22 21:49:44 UTC (rev 449339)
@@ -3,7 +3,7 @@
 
 pkgname=('llvm13' 'llvm13-libs')
 pkgver=13.0.1
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://llvm.org/;
 license=('custom:Apache 2.0 with LLVM Exception')
@@ -83,9 +83,8 @@
 
   DESTDIR="$pkgdir" ninja install
 
-  # The runtime libraries go into llvm13-libs
-  mv -f "$pkgdir"/usr/lib/llvm13/lib/lib{LLVM,LTO,Remarks}*.so* "$srcdir"
-  mv -f "$pkgdir"/usr/lib/llvm13/lib/LLVMgold.so "$srcdir"
+  # The runtime library goes into llvm13-libs
+  mv -f "$pkgdir"/usr/lib/llvm13/lib/libLLVM-{13,$pkgver}.so "$srcdir/"
 
   install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
@@ -95,14 +94,10 @@
   depends=('gcc-libs' 'zlib' 'libffi' 'libedit' 'ncurses' 'libxml2')
 
   install -d "$pkgdir/usr/lib/llvm13/lib"
-  cp -P \
-"$srcdir"/lib{LLVM,LTO,Remarks}*.so* \
-"$srcdir"/LLVMgold.so \
-"$pkgdir/usr/lib/llvm13/lib/"
+  cp -P "$srcdir"/libLLVM-{13,$pkgver}.so "$pkgdir/usr/lib/"
+  ln -s ../../libLLVM-13.so "$pkgdir/usr/lib/llvm13/lib/libLLVM-13.so"
+  ln -s ../../libLLVM-13.so "$pkgdir/usr/lib/llvm13/lib/libLLVM-$pkgver.so"
 
-  install -d "$pkgdir/etc/ld.so.conf.d"
-  echo /usr/lib/llvm13/lib >"$pkgdir/etc/ld.so.conf.d/llvm13.conf"
-
   install -Dm644 "$srcdir/llvm-$pkgver.src/LICENSE.TXT" \
 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



[arch-commits] Commit in haskell-hls-test-utils/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:15:45
  Author: felixonmars
Revision: 1239110

upgpkg: haskell-hls-test-utils 1.1.0.0-183: rebuild with some 1.0.4

Modified:
  haskell-hls-test-utils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:15:33 UTC (rev 1239109)
+++ PKGBUILD2022-06-22 21:15:45 UTC (rev 1239110)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.1.0.0
-pkgrel=182
+pkgrel=183
 pkgdesc="Utilities used in the tests of Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



[arch-commits] Commit in github-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-06-22 Thread Caleb Maclennan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:22:22
  Author: alerque
Revision: 1239135

archrelease: copy trunk to community-x86_64

Added:
  github-cli/repos/community-x86_64/PKGBUILD
(from rev 1239134, github-cli/trunk/PKGBUILD)
Deleted:
  github-cli/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  104 ++---
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-22 21:22:15 UTC (rev 1239134)
+++ PKGBUILD2022-06-22 21:22:22 UTC (rev 1239135)
@@ -1,52 +0,0 @@
-# Maintainer: Morten Linderud 
-# Maintainer: Caleb Maclennan 
-# Contributor: Eli Schwartz 
-# Contributor: Richard Bradfield 
-
-pkgname=github-cli
-pkgver=2.12.1
-pkgrel=1
-pkgdesc="The GitHub CLI"
-arch=("x86_64")
-url="https://github.com/cli/cli;
-license=("MIT")
-depends=("glibc" "mailcap")
-makedepends=("go" "git")
-optdepends=("git: To interact with repositories")
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('d37a96d3b12c489458e5c35ddbdeacac133c766ee50580aee4657eb9ad185380')
-
-prepare() {
-cd "cli-${pkgver}"
-# TODO: These tests invoke the TTY and our container *really* does not 
like that
-rm pkg/cmd/auth/login/login_test.go
-}
-
-build() {
-cd "cli-$pkgver"
-
-export CGO_CPPFLAGS="${CPPFLAGS}"
-export CGO_CFLAGS="${CFLAGS}"
-export CGO_CXXFLAGS="${CXXFLAGS}"
-export CGO_LDFLAGS="${LDFLAGS}"
-export CGO_ENABLED=0
-export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external"
-
-make GH_VERSION="v$pkgver" bin/gh manpages
-bin/gh completion -s bash | install -Dm644 /dev/stdin 
share/bash-completion/completions/gh
-bin/gh completion -s zsh | install -Dm644 /dev/stdin 
share/zsh/site-functions/_gh
-bin/gh completion -s fish | install -Dm644 /dev/stdin 
share/fish/vendor_completions.d/gh.fish
-}
-
-check(){
-cd "cli-$pkgver"
-make test
-}
-
-package() {
-cd "cli-$pkgver"
-make DESTDIR="${pkgdir}" prefix="/usr" install
-cp -r share/ "$pkgdir"/usr
-install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
-}

Copied: github-cli/repos/community-x86_64/PKGBUILD (from rev 1239134, 
github-cli/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-22 21:22:22 UTC (rev 1239135)
@@ -0,0 +1,52 @@
+# Maintainer: Morten Linderud 
+# Maintainer: Caleb Maclennan 
+# Contributor: Eli Schwartz 
+# Contributor: Richard Bradfield 
+
+pkgname=github-cli
+pkgver=2.13.0
+pkgrel=1
+pkgdesc="The GitHub CLI"
+arch=("x86_64")
+url="https://github.com/cli/cli;
+license=("MIT")
+depends=("glibc" "mailcap")
+makedepends=("go" "git")
+optdepends=("git: To interact with repositories")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('f8bc46bda990bc9947a26f5505533b86903c96f95047b2dacf7c9534e5b86760')
+
+prepare() {
+cd "cli-${pkgver}"
+# TODO: These tests invoke the TTY and our container *really* does not 
like that
+rm pkg/cmd/auth/login/login_test.go
+}
+
+build() {
+cd "cli-$pkgver"
+
+export CGO_CPPFLAGS="${CPPFLAGS}"
+export CGO_CFLAGS="${CFLAGS}"
+export CGO_CXXFLAGS="${CXXFLAGS}"
+export CGO_LDFLAGS="${LDFLAGS}"
+export CGO_ENABLED=0
+export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external"
+
+make GH_VERSION="v$pkgver" bin/gh manpages
+bin/gh completion -s bash | install -Dm644 /dev/stdin 
share/bash-completion/completions/gh
+bin/gh completion -s zsh | install -Dm644 /dev/stdin 
share/zsh/site-functions/_gh
+bin/gh completion -s fish | install -Dm644 /dev/stdin 
share/fish/vendor_completions.d/gh.fish
+}
+
+check(){
+cd "cli-$pkgver"
+make test
+}
+
+package() {
+cd "cli-$pkgver"
+make DESTDIR="${pkgdir}" prefix="/usr" install
+cp -r share/ "$pkgdir"/usr
+install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
+}



[arch-commits] Commit in haskell-language-server/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:22:44
  Author: felixonmars
Revision: 1239137

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-server/repos/community-staging-x86_64/
  haskell-language-server/repos/community-staging-x86_64/PKGBUILD
(from rev 1239136, haskell-language-server/trunk/PKGBUILD)

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

Copied: haskell-language-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239136, haskell-language-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:22:44 UTC (rev 1239137)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+
+pkgname=haskell-language-server
+pkgver=1.3.0.0
+pkgrel=214
+pkgdesc="LSP server for GHC"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-async'
+ 'haskell-base16-bytestring' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghc-paths' 'haskell-gitrev'
+ 'haskell-hashable' 'haskell-hie-bios' 'haskell-hiedb'
+ 'haskell-hls-call-hierarchy-plugin' 'haskell-hls-eval-plugin'
+ 'haskell-hls-explicit-imports-plugin' 'haskell-hls-floskell-plugin'
+ 'haskell-hls-fourmolu-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-graph'
+ 'haskell-hls-haddock-comments-plugin' 'haskell-hls-hlint-plugin'
+ 'haskell-hls-module-name-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-plugin-api'
+ 'haskell-hls-pragmas-plugin'
+ 'haskell-hls-retrie-plugin' 'haskell-hls-stylish-haskell-plugin'
+ 'haskell-hslogger' 'haskell-lens' 'haskell-lsp' 
'haskell-optparse-applicative'
+ 'haskell-optparse-simple' 'haskell-regex-tdfa' 
'haskell-safe-exceptions'
+ 'haskell-sqlite-simple' 'haskell-temporary' 
'haskell-unordered-containers')
+# Disabled due to not compatible with GHC 9:
+# 'haskell-hls-brittany-plugin' 'haskell-hls-class-plugin' 
'haskell-hls-splice-plugin' 'haskell-hls-tactics-plugin' 
'haskell-hls-refine-imports-plugin'
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 
'haskell-hspec-expectations' 'haskell-lsp-test'
+ 'haskell-lsp-types')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('2938c4eaf8e2fef72ddf0e116e021b109ab69c4cdd48dc678cb93cd08e03e7f2abf3aaf1dea17a51dd8cb70f69db7ceba9823291d847ffe8bd0c990028fd6da4')
+
+prepare() {
+  cd $pkgname-$pkgver
+  find test/testdata -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+  uusi -u ghc-api-compat $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -f-brittany -f-class -f-refineImports -f-tactic 
-f-splice
+
+  runhaskell Setup build $MAKEFLAGS
+  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 $pkgname-$pkgver
+  
PATH="$PWD/dist/build/haskell-language-server:$PWD/dist/build/haskell-language-server-wrapper:$PATH"
 LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd $pkgname-$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
+}



[arch-commits] Commit in haskell-language-server/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:22:31
  Author: felixonmars
Revision: 1239136

upgpkg: haskell-language-server 1.3.0.0-214: rebuild with some 1.0.4

Modified:
  haskell-language-server/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:22:22 UTC (rev 1239135)
+++ PKGBUILD2022-06-22 21:22:31 UTC (rev 1239136)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-language-server
 pkgver=1.3.0.0
-pkgrel=213
+pkgrel=214
 pkgdesc="LSP server for GHC"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



[arch-commits] Commit in github-cli/trunk (PKGBUILD)

2022-06-22 Thread Caleb Maclennan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:22:15
  Author: alerque
Revision: 1239134

upgpkg: github-cli 2.13.0-1

Modified:
  github-cli/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:19:50 UTC (rev 1239133)
+++ PKGBUILD2022-06-22 21:22:15 UTC (rev 1239134)
@@ -4,7 +4,7 @@
 # Contributor: Richard Bradfield 
 
 pkgname=github-cli
-pkgver=2.12.1
+pkgver=2.13.0
 pkgrel=1
 pkgdesc="The GitHub CLI"
 arch=("x86_64")
@@ -14,7 +14,7 @@
 makedepends=("go" "git")
 optdepends=("git: To interact with repositories")
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('d37a96d3b12c489458e5c35ddbdeacac133c766ee50580aee4657eb9ad185380')
+sha256sums=('f8bc46bda990bc9947a26f5505533b86903c96f95047b2dacf7c9534e5b86760')
 
 prepare() {
 cd "cli-${pkgver}"



[arch-commits] Commit in haskell-hls-module-name-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:18:09
  Author: felixonmars
Revision: 1239123

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239122, haskell-hls-module-name-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1239122, haskell-hls-module-name-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:18:09 UTC (rev 1239123)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-module-name-plugin
+pkgname=haskell-hls-module-name-plugin
+pkgver=1.0.0.1
+pkgrel=182
+pkgdesc="Module name plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-module-name-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0a4d0171df49d2d417dac00853a9f0c58618efb7a5805ab3b95441f0d8c60872947935ca94b33ca75518e311a136a893f0e3744fc49cdb94fba6f55367f3c0be')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-fourmolu-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:17:48
  Author: felixonmars
Revision: 1239121

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-fourmolu-plugin/repos/community-staging-x86_64/
  haskell-hls-fourmolu-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239120, haskell-hls-fourmolu-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-fourmolu-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1239120, haskell-hls-fourmolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:17:48 UTC (rev 1239121)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-fourmolu-plugin
+pkgname=haskell-hls-fourmolu-plugin
+pkgver=1.0.0.2
+pkgrel=189
+pkgdesc="Integration with the Fourmolu code formatter"
+url="https://hackage.haskell.org/package/hls-fourmolu-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-fourmolu' 'haskell-ghc' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' 'haskell-ghc-api-compat')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('88a92c70c34d14699bcc19e7d1ff061955c4e9a6819f32c5b46d8b31d1d1f06b12be65bb84ede6046601a6d8daafcb8fc65725ceb3fc67e7afeef4097094ed46')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-ghcide/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:14:42
  Author: felixonmars
Revision: 1239107

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ghcide/repos/community-staging-x86_64/
  haskell-ghcide/repos/community-staging-x86_64/PKGBUILD
(from rev 1239106, haskell-ghcide/trunk/PKGBUILD)

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

Copied: haskell-ghcide/repos/community-staging-x86_64/PKGBUILD (from rev 
1239106, haskell-ghcide/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:14:42 UTC (rev 1239107)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghcide
+pkgname=haskell-ghcide
+pkgver=1.4.2.0
+pkgrel=2
+pkgdesc="The core of an IDE"
+url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-async' 'haskell-base16-bytestring' 
'haskell-bytestring-encoding'
+ 'haskell-case-insensitive' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-dependent-map' 'haskell-dependent-sum' 'haskell-dlist' 
'haskell-extra'
+ 'haskell-fingertree' 'haskell-fuzzy' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghc-check' 'haskell-ghc-exactprint' 'haskell-ghc-paths' 
'haskell-ghc-trace-events'
+ 'haskell-gitrev' 'haskell-haddock-library' 'haskell-hashable' 
'haskell-heapsize'
+ 'haskell-hie-bios' 'haskell-hie-compat' 'haskell-hiedb' 
'haskell-hls-graph'
+ 'haskell-hls-plugin-api' 'haskell-hslogger' 
'haskell-implicit-hie-cradle' 'haskell-lens'
+ 'haskell-lsp' 'haskell-lsp-test' 'haskell-lsp-types' 
'haskell-network-uri'
+ 'haskell-opentelemetry' 'haskell-optparse-applicative' 
'haskell-parallel'
+ 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 
'haskell-regex-tdfa'
+ 'haskell-retrie' 'haskell-rope-utf16-splay' 'haskell-safe' 
'haskell-safe-exceptions'
+ 'haskell-sorted-list' 'haskell-sqlite-simple' 'haskell-syb' 
'haskell-unliftio'
+ 'haskell-unliftio-core' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-ghc-typelits-knownnat'
+ 'haskell-implicit-hie' 'haskell-quickcheck-instances' 
'haskell-record-dot-preprocessor'
+ 'haskell-record-hasfield' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('b9cbf69fd609de45d4b35507932f18a44c8290b5e7280bb21e9f343d8fa01e867ed426cc6abb3871e93fa9e22741c356d63b8a1be07d06c2d87a5154d83a64da')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  find test/data -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+
+  uusi -u extra -r ghc:ghc,ghc-api-compat -u hiedb $_hkgname.cabal
+
+  # extra 1.7.10
+  sed -i "s/hiding (modifyVar, modifyVar_)/hiding (modifyVar, modifyVar_, 
modifyVar')/" src/Control/Concurrent/Strict.hs
+
+  # TODO: Skipped some broken tests for now
+  sed -i '/, benchmarkTests/d;/, findDefinitionAndHoverTests/d;/, 
bootTests/d;s/, simpleMultiDefTest//;s/echo A.hs/echo -dynamic > 
$HIE_BIOS_OUTPUT/' test/exe/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+  cabal update
+  # Random test failures "Received an illegal message between the initialize 
request and response"
+  # th-linking-test-unboxed always fails too
+  PATH="$PWD/dist/build/ghcide:$PWD/dist/build/ghcide-test-preprocessor:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+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 

[arch-commits] Commit in haskell-hls-ormolu-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:18:50
  Author: felixonmars
Revision: 1239127

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-ormolu-plugin/repos/community-staging-x86_64/
  haskell-hls-ormolu-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239126, haskell-hls-ormolu-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-ormolu-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239126, haskell-hls-ormolu-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:18:50 UTC (rev 1239127)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-ormolu-plugin
+pkgname=haskell-hls-ormolu-plugin
+pkgver=1.0.1.0
+pkgrel=187
+pkgdesc="Integration with the Ormolu code formatter"
+url="https://hackage.haskell.org/package/hls-ormolu-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-api-compat' 'haskell-ghcide'
+ 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 
'haskell-ormolu')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('330242298e6c4608d31bb0eac3ef926cfd7d5ff2bd07ab57cd46a1904c133322181e2e35da3beb01f1f97efd466d653d12a3563939fe86e70d820301aca52661')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-eval-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:19:38
  Author: felixonmars
Revision: 1239132

upgpkg: haskell-hls-eval-plugin 1.1.2.0-185: rebuild with some 1.0.4

Modified:
  haskell-hls-eval-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:19:30 UTC (rev 1239131)
+++ PKGBUILD2022-06-22 21:19:38 UTC (rev 1239132)
@@ -3,7 +3,7 @@
 _hkgname=hls-eval-plugin
 pkgname=haskell-hls-eval-plugin
 pkgver=1.1.2.0
-pkgrel=184
+pkgrel=185
 pkgdesc="Eval plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



[arch-commits] Commit in haskell-hls-fourmolu-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:17:36
  Author: felixonmars
Revision: 1239120

upgpkg: haskell-hls-fourmolu-plugin 1.0.0.2-189: rebuild with some 1.0.4

Modified:
  haskell-hls-fourmolu-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:17:28 UTC (rev 1239119)
+++ PKGBUILD2022-06-22 21:17:36 UTC (rev 1239120)
@@ -3,7 +3,7 @@
 _hkgname=hls-fourmolu-plugin
 pkgname=haskell-hls-fourmolu-plugin
 pkgver=1.0.0.2
-pkgrel=188
+pkgrel=189
 pkgdesc="Integration with the Fourmolu code formatter"
 url="https://hackage.haskell.org/package/hls-fourmolu-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-explicit-imports-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:16:38
  Author: felixonmars
Revision: 1239114

upgpkg: haskell-hls-explicit-imports-plugin 1.0.1.0-182: rebuild with some 1.0.4

Modified:
  haskell-hls-explicit-imports-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:16:21 UTC (rev 1239113)
+++ PKGBUILD2022-06-22 21:16:38 UTC (rev 1239114)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.1.0
-pkgrel=181
+pkgrel=182
 pkgdesc="Explicit imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-explicit-imports-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:16:50
  Author: felixonmars
Revision: 1239115

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239114, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1239114, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:16:50 UTC (rev 1239115)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-explicit-imports-plugin
+pkgname=haskell-hls-explicit-imports-plugin
+pkgver=1.0.1.0
+pkgrel=182
+pkgdesc="Explicit imports plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghcide'
+ 'haskell-hls-graph' 'haskell-hls-plugin-api' 'haskell-lsp' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('7691ecc341fb511e51ccb6c1f67cd6f3c908f771b62423d7713d05bf13893b7ac53ae9c453ab8b6ca227ed8c9b42191cd30b9745b57f00c51f3f3646954955b8')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-ormolu-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:18:38
  Author: felixonmars
Revision: 1239126

upgpkg: haskell-hls-ormolu-plugin 1.0.1.0-187: rebuild with some 1.0.4

Modified:
  haskell-hls-ormolu-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:18:30 UTC (rev 1239125)
+++ PKGBUILD2022-06-22 21:18:38 UTC (rev 1239126)
@@ -3,7 +3,7 @@
 _hkgname=hls-ormolu-plugin
 pkgname=haskell-hls-ormolu-plugin
 pkgver=1.0.1.0
-pkgrel=186
+pkgrel=187
 pkgdesc="Integration with the Ormolu code formatter"
 url="https://hackage.haskell.org/package/hls-ormolu-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-hlint-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:15:33
  Author: felixonmars
Revision: 1239109

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-hlint-plugin/repos/community-staging-x86_64/
  haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239108, haskell-hls-hlint-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239108, haskell-hls-hlint-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:15:33 UTC (rev 1239109)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-hlint-plugin
+pkgname=haskell-hls-hlint-plugin
+pkgver=1.0.1.1
+pkgrel=182
+pkgdesc="Hlint integration plugin with Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-hlint-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-apply-refact' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-exactprint' 
'haskell-ghcide' 'haskell-hashable'
+ 'hlint' 'haskell-hls-plugin-api' 'haskell-hslogger' 'haskell-lens' 
'haskell-lsp'
+ 'haskell-regex-tdfa' 'haskell-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0bed7570e2b543f482f123e2ce19d4a5c5d712bde7875e97e1c4fc6eda481752e4d65f8cd4a998634ac3e85a7ce737f3ef849959d77e1c9f814ddf039f33b807')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -fhlint33
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-pragmas-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:19:30
  Author: felixonmars
Revision: 1239131

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-pragmas-plugin/repos/community-staging-x86_64/
  haskell-hls-pragmas-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239130, haskell-hls-pragmas-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-pragmas-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1239130, haskell-hls-pragmas-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:19:30 UTC (rev 1239131)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-pragmas-plugin
+pkgname=haskell-hls-pragmas-plugin
+pkgver=1.0.1.0
+pkgrel=182
+pkgdesc="Pragmas plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-pragmas-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-fuzzy' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('bf284033b7d2c3491b655ca32a7a791a4e62c838a4caafea36e28844052b2a192cf39d97ae1415a698ea22d7ffcc5f0290c37a91bba841b93c1ceabe089d7e07')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-haddock-comments-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:16:57
  Author: felixonmars
Revision: 1239116

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.3-182: rebuild with some 1.0.4

Modified:
  haskell-hls-haddock-comments-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:16:50 UTC (rev 1239115)
+++ PKGBUILD2022-06-22 21:16:57 UTC (rev 1239116)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.3
-pkgrel=181
+pkgrel=182
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")



[arch-commits] Commit in haskell-hls-stylish-haskell-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:18:17
  Author: felixonmars
Revision: 1239124

upgpkg: haskell-hls-stylish-haskell-plugin 1.0.0.2-185: rebuild with some 1.0.4

Modified:
  haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:18:09 UTC (rev 1239123)
+++ PKGBUILD2022-06-22 21:18:17 UTC (rev 1239124)
@@ -3,7 +3,7 @@
 _hkgname=hls-stylish-haskell-plugin
 pkgname=haskell-hls-stylish-haskell-plugin
 pkgver=1.0.0.2
-pkgrel=184
+pkgrel=185
 pkgdesc="Integration with the Stylish Haskell code formatter"
 url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-ghcide/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:14:29
  Author: felixonmars
Revision: 1239106

upgpkg: haskell-ghcide 1.4.2.0-2: rebuild with some 1.0.4

Modified:
  haskell-ghcide/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:02:03 UTC (rev 1239105)
+++ PKGBUILD2022-06-22 21:14:29 UTC (rev 1239106)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.4.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="The core of an IDE"
 
url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme;
 license=("Apache")



[arch-commits] Commit in haskell-hls-pragmas-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:19:17
  Author: felixonmars
Revision: 1239130

upgpkg: haskell-hls-pragmas-plugin 1.0.1.0-182: rebuild with some 1.0.4

Modified:
  haskell-hls-pragmas-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:19:10 UTC (rev 1239129)
+++ PKGBUILD2022-06-22 21:19:17 UTC (rev 1239130)
@@ -3,7 +3,7 @@
 _hkgname=hls-pragmas-plugin
 pkgname=haskell-hls-pragmas-plugin
 pkgver=1.0.1.0
-pkgrel=181
+pkgrel=182
 pkgdesc="Pragmas plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-pragmas-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-stylish-haskell-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:18:30
  Author: felixonmars
Revision: 1239125

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/
  haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239124, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-stylish-haskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1239124, haskell-hls-stylish-haskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:18:30 UTC (rev 1239125)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-stylish-haskell-plugin
+pkgname=haskell-hls-stylish-haskell-plugin
+pkgver=1.0.0.2
+pkgrel=185
+pkgdesc="Integration with the Stylish Haskell code formatter"
+url="https://hackage.haskell.org/package/hls-stylish-haskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-api-compat' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'stylish-haskell')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d850d4be6cc746b6279512bb359efda197aeebd467a59a21670f3b95977c6ba086852dedde3c48171f0cff8405c8e340dea44fe3e187e4731a06eb112502ad9c')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat -u stylish-haskell $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-test-utils/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:15:57
  Author: felixonmars
Revision: 1239111

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-test-utils/repos/community-staging-x86_64/
  haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD
(from rev 1239110, haskell-hls-test-utils/trunk/PKGBUILD)

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

Copied: haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239110, haskell-hls-test-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:15:57 UTC (rev 1239111)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-test-utils
+pkgname=haskell-hls-test-utils
+pkgver=1.1.0.0
+pkgrel=183
+pkgdesc="Utilities used in the tests of Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-markup' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghcide' 'haskell-hls-graph' 
'haskell-hls-plugin-api'
+ 'haskell-hspec' 'haskell-hspec-core' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-test'
+ 'haskell-lsp-types' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-rerun' 'haskell-temporary'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('08bb01af48a07b37c6d99c6da42341147259ee3f26aef4737a796a62fabbe9600464fdecb3ae4908a4df24e044abf786bcf30103b15b8d7c72f12f9a0c07fcb5')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u hspec $_hkgname.cabal
+  # https://github.com/haskell/haskell-language-server/issues/1835
+  sed -i '/configOutputFile/d' src/Test/Hls/Util.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-floskell-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:19:10
  Author: felixonmars
Revision: 1239129

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-floskell-plugin/repos/community-staging-x86_64/
  haskell-hls-floskell-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239128, haskell-hls-floskell-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-floskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1239128, haskell-hls-floskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:19:10 UTC (rev 1239129)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-floskell-plugin
+pkgname=haskell-hls-floskell-plugin
+pkgver=1.0.0.1
+pkgrel=183
+pkgdesc="Integration with the Floskell code formatter"
+url="https://hackage.haskell.org/package/hls-floskell-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-floskell' 'haskell-ghcide' 
'haskell-hls-plugin-api' 'haskell-lsp-types')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0f420355b67447426e77f149a5cf735f613b2c863b08f625e0a0d91a33bcf565684d702f67743ef9d50eaa235551c30c76743fedd78ead9fbed429e838acf113')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-retrie-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:16:09
  Author: felixonmars
Revision: 1239112

upgpkg: haskell-hls-retrie-plugin 1.0.1.1-182: rebuild with some 1.0.4

Modified:
  haskell-hls-retrie-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:15:57 UTC (rev 1239111)
+++ PKGBUILD2022-06-22 21:16:09 UTC (rev 1239112)
@@ -3,7 +3,7 @@
 _hkgname=hls-retrie-plugin
 pkgname=haskell-hls-retrie-plugin
 pkgver=1.0.1.1
-pkgrel=181
+pkgrel=182
 pkgdesc="Retrie integration plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-retrie-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-call-hierarchy-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:17:16
  Author: felixonmars
Revision: 1239118

upgpkg: haskell-hls-call-hierarchy-plugin 1.0.0.0-182: rebuild with some 1.0.4

Modified:
  haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:17:09 UTC (rev 1239117)
+++ PKGBUILD2022-06-22 21:17:16 UTC (rev 1239118)
@@ -3,7 +3,7 @@
 _hkgname=hls-call-hierarchy-plugin
 pkgname=haskell-hls-call-hierarchy-plugin
 pkgver=1.0.0.0
-pkgrel=181
+pkgrel=182
 pkgdesc="Call hierarchy plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-call-hierarchy-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-floskell-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:18:57
  Author: felixonmars
Revision: 1239128

upgpkg: haskell-hls-floskell-plugin 1.0.0.1-183: rebuild with some 1.0.4

Modified:
  haskell-hls-floskell-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:18:50 UTC (rev 1239127)
+++ PKGBUILD2022-06-22 21:18:57 UTC (rev 1239128)
@@ -3,7 +3,7 @@
 _hkgname=hls-floskell-plugin
 pkgname=haskell-hls-floskell-plugin
 pkgver=1.0.0.1
-pkgrel=182
+pkgrel=183
 pkgdesc="Integration with the Floskell code formatter"
 url="https://hackage.haskell.org/package/hls-floskell-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-retrie-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:16:21
  Author: felixonmars
Revision: 1239113

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-retrie-plugin/repos/community-staging-x86_64/
  haskell-hls-retrie-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239112, haskell-hls-retrie-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-retrie-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239112, haskell-hls-retrie-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:16:21 UTC (rev 1239113)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-retrie-plugin
+pkgname=haskell-hls-retrie-plugin
+pkgver=1.0.1.1
+pkgrel=182
+pkgdesc="Retrie integration plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-retrie-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghcide' 'haskell-hashable' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-lsp-types' 'haskell-retrie' 'haskell-safe-exceptions'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d5059c9d1e5af9acf1a9842c76270400076f2eb168a2dfd61961cb5328c72e4aaf14ad9a1543a3729d87800d658b941e1daaa15a1bd628d3d72657499dd47488')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-eval-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:19:50
  Author: felixonmars
Revision: 1239133

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-eval-plugin/repos/community-staging-x86_64/
  haskell-hls-eval-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239132, haskell-hls-eval-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-eval-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239132, haskell-hls-eval-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:19:50 UTC (rev 1239133)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-eval-plugin
+pkgname=haskell-hls-eval-plugin
+pkgver=1.1.2.0
+pkgrel=185
+pkgdesc="Eval plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-dlist'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghc-paths' 'haskell-ghcide'
+ 'haskell-hashable' 'haskell-hls-plugin-api' 'haskell-lens' 
'haskell-lsp'
+ 'haskell-lsp-types' 'haskell-megaparsec' 'haskell-parser-combinators'
+ 'haskell-pretty-simple' 'haskell-safe-exceptions' 'haskell-temporary' 
'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('8597144404060b56aa84d2a6549306924de6aa99ff8fa121f0a3e6fbf2facc979e36dc9304fd041833201044f59e1745574eb1a1e3459b22baf0fae3f40d96e1')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+  # https://github.com/haskell/haskell-language-server/issues/1809
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-call-hierarchy-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:17:28
  Author: felixonmars
Revision: 1239119

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/
  haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239118, haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-call-hierarchy-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239118, haskell-hls-call-hierarchy-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:17:28 UTC (rev 1239119)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-call-hierarchy-plugin
+pkgname=haskell-hls-call-hierarchy-plugin
+pkgver=1.0.0.0
+pkgrel=182
+pkgdesc="Call hierarchy plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-call-hierarchy-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghcide' 'haskell-hiedb' 'haskell-hls-plugin-api' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-sqlite-simple' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('4b3103a98ec57c9f050ffd1c534a0e23b1bfcbe78dda441c351b874939ce34a8')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-haddock-comments-plugin/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:17:09
  Author: felixonmars
Revision: 1239117

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 1239116, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 1239116, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:17:09 UTC (rev 1239117)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-haddock-comments-plugin
+pkgname=haskell-hls-haddock-comments-plugin
+pkgver=1.0.0.3
+pkgrel=182
+pkgdesc="Haddock comments plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0bc705b51d86d400c2f843330be5ffa9064726da64644cbc1a4c2fead1caaec5812c35ef499877aa9d07417c3854c933187dd227cd8c90f54042ead07f38bcc7')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-hls-module-name-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:17:57
  Author: felixonmars
Revision: 1239122

upgpkg: haskell-hls-module-name-plugin 1.0.0.1-182: rebuild with some 1.0.4

Modified:
  haskell-hls-module-name-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:17:48 UTC (rev 1239121)
+++ PKGBUILD2022-06-22 21:17:57 UTC (rev 1239122)
@@ -3,7 +3,7 @@
 _hkgname=hls-module-name-plugin
 pkgname=haskell-hls-module-name-plugin
 pkgver=1.0.0.1
-pkgrel=181
+pkgrel=182
 pkgdesc="Module name plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-module-name-plugin;
 license=("Apache")



[arch-commits] Commit in haskell-hls-hlint-plugin/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:15:21
  Author: felixonmars
Revision: 1239108

upgpkg: haskell-hls-hlint-plugin 1.0.1.1-182: rebuild with some 1.0.4

Modified:
  haskell-hls-hlint-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:14:42 UTC (rev 1239107)
+++ PKGBUILD2022-06-22 21:15:21 UTC (rev 1239108)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.1.1
-pkgrel=181
+pkgrel=182
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin;
 license=("Apache")



[arch-commits] Commit in stack/repos (4 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:02:03
  Author: felixonmars
Revision: 1239105

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 1239104, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/ghc9.patch
(from rev 1239104, stack/trunk/ghc9.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 1239104, stack/trunk/stack.install)

---+
 PKGBUILD  |   79 +++
 ghc9.patch|  188 
 stack.install |4 +
 3 files changed, 271 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 1239104, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:02:03 UTC (rev 1239105)
@@ -0,0 +1,79 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.7.5
+pkgrel=85
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
+ 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
+ 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
+ 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
+ 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
+ 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-primitive' 
'haskell-project-template'
+ 'haskell-retry' 'haskell-rio' 'haskell-rio-prettyprint' 
'haskell-split'
+ 'haskell-streaming-commons' 'haskell-tar' 'haskell-temporary' 
'haskell-text-metrics'
+ 'haskell-th-reify-many' 'haskell-tls' 'haskell-typed-process' 
'haskell-unicode-transforms'
+ 'haskell-unix-compat' 'haskell-unliftio' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-yaml' 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-raw-strings-qq' 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver;
+ghc9.patch)
+sha512sums=('SKIP'
+
'5229f2f6a32bf8d317a2fc7a7bb16c0698359255c2ec6cbe74cbc78799aa170d4e174e6e182478e52d7040f12f32b7a2b9c246f185d79b6e3f295ccb59f3f3b8')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../ghc9.patch
+  uusi -d semigroups -d persistent-template $pkgname.cabal
+}
+
+build() {
+  cd $pkgname
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+  -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
+  --ghc-option='-pie'
+  runhaskell Setup build $MAKEFLAGS
+  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 $pkgname
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test --show-details=direct
+  # Integration tests will result in 4 failures on Arch currently
+}
+
+package() {
+  cd $pkgname
+
+  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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 

[arch-commits] Commit in stack/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:01:46
  Author: felixonmars
Revision: 1239104

upgpkg: stack 2.7.5-85: rebuild with some 1.0.4

Modified:
  stack/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:01:29 UTC (rev 1239103)
+++ PKGBUILD2022-06-22 21:01:46 UTC (rev 1239104)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.5
-pkgrel=84
+pkgrel=85
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")



[arch-commits] Commit in arch-hs/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:01:29
  Author: felixonmars
Revision: 1239103

archrelease: copy trunk to community-staging-x86_64

Added:
  arch-hs/repos/community-staging-x86_64/
  arch-hs/repos/community-staging-x86_64/PKGBUILD
(from rev 1239102, arch-hs/trunk/PKGBUILD)

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

Copied: arch-hs/repos/community-staging-x86_64/PKGBUILD (from rev 1239102, 
arch-hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:01:29 UTC (rev 1239103)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+pkgname=arch-hs
+pkgver=0.10.2.0
+pkgrel=2
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs;
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 
'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 
'haskell-optparse-simple'
+ 'haskell-polysemy' 'haskell-prettyprinter' 
'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('abfdbbeeba3c7d03e403f48047d9a8ac4342d95b8037b15eee1670be7f66b75caf91b346f6fe86228b5217b4ac470e969f3364c195ccd818784017495f6416d2')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 fish${1} 
"$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+build() {
+  cd $pkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -falpm
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+  
+  _gen_comp
+  _gen_comp "-diff"
+  _gen_comp "-sync"
+}
+
+package() {
+  cd $pkgname-$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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+  
+  _install_comp
+  _install_comp "-diff"
+  _install_comp "-sync"
+} 



[arch-commits] Commit in cabal-plan/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:00:32
  Author: felixonmars
Revision: 1239099

archrelease: copy trunk to community-staging-x86_64

Added:
  cabal-plan/repos/community-staging-x86_64/
  cabal-plan/repos/community-staging-x86_64/PKGBUILD
(from rev 1239098, cabal-plan/trunk/PKGBUILD)

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

Copied: cabal-plan/repos/community-staging-x86_64/PKGBUILD (from rev 1239098, 
cabal-plan/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:00:32 UTC (rev 1239099)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-plan
+pkgname=cabal-plan
+pkgver=0.7.2.0
+pkgrel=163
+pkgdesc="Library and utility for processing cabal's plan.json file"
+url="https://github.com/hvr/cabal-plan;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-async' 
'haskell-base-compat'
+ 'haskell-base16-bytestring' 'haskell-cabal-install-parsers' 
'haskell-optics-core'
+ 'haskell-optparse-applicative' 'haskell-semialign' 
'haskell-singleton-bool' 'haskell-tar'
+ 'haskell-these' 'haskell-topograph' 'haskell-vector' 'haskell-zlib')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('233a3d1460732fe3486169023758e431d37c5c9156fb28d829decaf7b9170f85')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base -u base-compat -u Cabal -u optics-core -u semialign 
$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fexe -flicense-report
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+}
+
+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"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.GPLv2
+}



[arch-commits] Commit in cabal-plan/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:00:19
  Author: felixonmars
Revision: 1239098

upgpkg: cabal-plan 0.7.2.0-163: rebuild with some 1.0.4

Modified:
  cabal-plan/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:59:30 UTC (rev 1239097)
+++ PKGBUILD2022-06-22 21:00:19 UTC (rev 1239098)
@@ -3,7 +3,7 @@
 _hkgname=cabal-plan
 pkgname=cabal-plan
 pkgver=0.7.2.0
-pkgrel=162
+pkgrel=163
 pkgdesc="Library and utility for processing cabal's plan.json file"
 url="https://github.com/hvr/cabal-plan;
 license=("GPL")



[arch-commits] Commit in arch-hs/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:01:16
  Author: felixonmars
Revision: 1239102

upgpkg: arch-hs 0.10.2.0-2: rebuild with some 1.0.4

Modified:
  arch-hs/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:00:54 UTC (rev 1239101)
+++ PKGBUILD2022-06-22 21:01:16 UTC (rev 1239102)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.10.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;



[arch-commits] Commit in haskell-ci/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:00:54
  Author: felixonmars
Revision: 1239101

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ci/repos/community-staging-x86_64/
  haskell-ci/repos/community-staging-x86_64/PKGBUILD
(from rev 1239100, haskell-ci/trunk/PKGBUILD)

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

Copied: haskell-ci/repos/community-staging-x86_64/PKGBUILD (from rev 1239100, 
haskell-ci/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 21:00:54 UTC (rev 1239101)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Maintainer: Caleb Maclennan 
+
+_hkgname=haskell-ci
+pkgname=haskell-ci
+pkgver=0.12.1
+pkgrel=248
+pkgdesc="Cabal package script generator for Travis-CI"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base-compat'
+ 'haskell-base16-bytestring' 'haskell-cabal-install-parsers' 
'haskell-cryptohash-sha256'
+ 'haskell-generic-lens-lite' 'haskell-hsyaml' 
'haskell-indexed-traversable'
+ 'haskell-indexed-traversable-instances' 'haskell-ini' 
'haskell-lattices'
+ 'haskell-network-uri' 'haskell-optparse-applicative' 'shellcheck' 
'haskell-temporary'
+ 'haskell-unordered-containers' 'haskell-zinza')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-ansi-terminal' 
'haskell-tasty' 'haskell-tasty-golden')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d93a6b8e880255469b34b568320659802252379f0c5486ed315b366fd07dae935a480047468912bc5a397b9e55b00ea964451790f963d05b8df1d426d871da1c')
+
+prepare(){
+  uusi -u attoparsec -u base-compat -u ShellCheck 
$_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-ci/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 21:00:41
  Author: felixonmars
Revision: 1239100

upgpkg: haskell-ci 0.12.1-248: rebuild with some 1.0.4

Modified:
  haskell-ci/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 21:00:32 UTC (rev 1239099)
+++ PKGBUILD2022-06-22 21:00:41 UTC (rev 1239100)
@@ -4,7 +4,7 @@
 _hkgname=haskell-ci
 pkgname=haskell-ci
 pkgver=0.12.1
-pkgrel=247
+pkgrel=248
 pkgdesc="Cabal package script generator for Travis-CI"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL")



[arch-commits] Commit in cabal-install/repos (3 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:55:07
  Author: felixonmars
Revision: 1239082

archrelease: copy trunk to community-staging-x86_64

Added:
  cabal-install/repos/community-staging-x86_64/
  cabal-install/repos/community-staging-x86_64/PKGBUILD
(from rev 1239080, cabal-install/trunk/PKGBUILD)
  
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
(from rev 1239080, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)

--+
 PKGBUILD |   46 +
 cabal-install-base16-bytestring1.0.patch |   78 +
 2 files changed, 124 insertions(+)

Copied: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 
1239080, cabal-install/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:55:07 UTC (rev 1239082)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=cabal-install
+pkgver=3.4.0.0
+pkgrel=159
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="https://hackage.haskell.org/package/cabal-install;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base16-bytestring' 
'haskell-cryptohash-sha256'
+ 'haskell-echo' 'haskell-edit-distance' 'haskell-hackage-security' 
'haskell-hashable'
+ 'haskell-http' 'haskell-network-uri' 'haskell-random' 
'haskell-regex-base'
+ 'haskell-regex-posix' 'haskell-resolv' 'haskell-tar' 'haskell-zlib' 
'haskell-lukko')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;
+$pkgname-base16-bytestring1.0.patch)
+sha512sums=('0fd93c86c59e3c626341be3c67e69a1502f1ce1413b4a456cd930d5449cabdaeb033ac5f47673db0e708fc194aadf8ab0aa2904b6b0f195b57907c5b40588323'
+
'966e2f0e3fd1cff3d673cb91f73b2a42049653e39a3025cdbbf86ec8ebfbd49bad278c8d01f521bbe580369bd11baf2aa7f8195e0ae450efd8ae615d13aa2300')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p2 -i ../$pkgname-base16-bytestring1.0.patch
+uusi -u base -u hashable -u HTTP $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla \
+--docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname
+  runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runhaskell Setup copy --destdir="${pkgdir}"
+
+  install -Dm644 LICENSE \
+"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  install -Dm644 bash-completion/cabal \
+"${pkgdir}/usr/share/bash-completion/completions/cabal"
+}

Copied: 
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
 (from rev 1239080, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)
===
--- community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
(rev 0)
+++ community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
2022-06-22 20:55:07 UTC (rev 1239082)
@@ -0,0 +1,78 @@
+diff --git a/cabal-install/Distribution/Client/HashValue.hs 
b/cabal-install/Distribution/Client/HashValue.hs
+index 54b8aee9e..11e647c1c 100644
+--- a/cabal-install/Distribution/Client/HashValue.hs
 b/cabal-install/Distribution/Client/HashValue.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP  #-}
+ {-# LANGUAGE DeriveDataTypeable #-}
+ {-# LANGUAGE DeriveGeneric  #-}
+ module Distribution.Client.HashValue (
+@@ -72,10 +73,14 @@ hashFromTUF (Sec.Hash hashstr) =
+ --TODO: [code cleanup] either we should get TUF to use raw bytestrings or
+ -- perhaps we should also just use a base16 string as the internal rep.
+ case Base16.decode (BS.pack hashstr) of
++#if MIN_VERSION_base16_bytestring(1,0,0)
++  Right hash -> HashValue hash
++  Left _ -> error "hashFromTUF: cannot decode base16"
++#else
+   (hash, trailing) | not (BS.null hash) && BS.null trailing
+ -> HashValue hash
+   _ -> error "hashFromTUF: cannot decode base16 hash"
+-
++#endif
+ 
+ -- | Truncate a 32 byte SHA256 hash to
+ --
+diff --git a/cabal-install/src/Distribution/Client/HttpUtils.hs 
b/cabal-install/src/Distribution/Client/HttpUtils.hs
+index 9b8a8ecb844..0c334bec44a 100644
+--- a/cabal-install/Distribution/Client/HttpUtils.hs
 b/cabal-install/Distribution/Client/HttpUtils.hs
+@@ -1,4 +1,5 @@
+ {-# LANGUAGE BangPatterns #-}
++{-# LANGUAGE CPP  #-}
+ -
+ -- | Separate module for HTTP actions, using a proxy server if one exists.
+ 

[arch-commits] Commit in haskell-hls-plugin-api/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:56:24
  Author: felixonmars
Revision: 1239089

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-plugin-api/repos/community-staging-x86_64/
  haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD
(from rev 1239088, haskell-hls-plugin-api/trunk/PKGBUILD)

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

Copied: haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239088, haskell-hls-plugin-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:56:24 UTC (rev 1239089)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=1.2.0.0
+pkgrel=140
+pkgdesc="Haskell Language Server API for plugin communication"
+url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 
'haskell-dependent-map'
+ 'haskell-dependent-sum' 'haskell-dlist' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-hashable' 'haskell-hls-graph' 'haskell-hslogger' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-optparse-applicative' 'haskell-opentelemetry' 
'haskell-regex-tdfa'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('71e6addec81ba84bb26d8048107cb60a94ddb01ac4879640ec7ab7db8586515f1e0419db79e5fe3d8bfc0b37679f307c0c6e97e83739723439c48b14d2124d96')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -r ghc:ghc,ghc-api-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+}
+
+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
+}



[arch-commits] Commit in haskell-servant-client/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:55:38
  Author: felixonmars
Revision: 1239086

upgpkg: haskell-servant-client 0.18.3-173: rebuild with some 1.0.4

Modified:
  haskell-servant-client/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:55:29 UTC (rev 1239085)
+++ PKGBUILD2022-06-22 20:55:38 UTC (rev 1239086)
@@ -3,7 +3,7 @@
 _hkgname=servant-client
 pkgname=haskell-servant-client
 pkgver=0.18.3
-pkgrel=172
+pkgrel=173
 pkgdesc="Automatic derivation of querying functions for servant"
 url="http://docs.servant.dev/;
 license=("BSD")



[arch-commits] Commit in haskell-pantry/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:57:05
  Author: felixonmars
Revision: 1239090

upgpkg: haskell-pantry 0.5.4-51: rebuild with some 1.0.4

Modified:
  haskell-pantry/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:56:24 UTC (rev 1239089)
+++ PKGBUILD2022-06-22 20:57:05 UTC (rev 1239090)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.5.4
-pkgrel=50
+pkgrel=51
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry;
 license=('BSD')



[arch-commits] Commit in ansible/trunk (PKGBUILD)

2022-06-22 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, June 22, 2022 @ 20:55:06
  Author: svenstaro
Revision: 1239081

upgpkg: ansible 6.0.0-1

Modified:
  ansible/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:54:53 UTC (rev 1239080)
+++ PKGBUILD2022-06-22 20:55:06 UTC (rev 1239081)
@@ -1,6 +1,6 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=ansible
-pkgver=5.9.0
+pkgver=6.0.0
 pkgrel=1
 pkgdesc='Official assortment of Ansible collections'
 arch=('any')
@@ -22,7 +22,7 @@
 'acme-tiny: openssl_certificate module')
 makedepends=('python-setuptools')
 
source=("https://pypi.python.org/packages/source/a/ansible/ansible-${pkgver}.tar.gz;)
-sha512sums=('88b26b1ba59a39370ee4a27eedda441d6e6ce8ba8eb857353572c692e49b189e95ed80e5063917c52799fb15bc3608d4c1ada013a7d650909714ca8ea5dd3bbb')
+sha512sums=('490bdc574ad6a444f8007138a12be5e5fcd8eb7abdd5466ff1924ac7c34e0a71be1c2495666ceefa1c88da48900fa2bca2c1e8d5775f3f559b1fa285bbcdcae9')
 
 build() {
   cd ansible-${pkgver}



[arch-commits] Commit in ansible/repos/community-any (PKGBUILD PKGBUILD)

2022-06-22 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, June 22, 2022 @ 20:55:18
  Author: svenstaro
Revision: 1239084

archrelease: copy trunk to community-any

Added:
  ansible/repos/community-any/PKGBUILD
(from rev 1239082, ansible/trunk/PKGBUILD)
Deleted:
  ansible/repos/community-any/PKGBUILD

--+
 PKGBUILD |   72 ++---
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-22 20:55:16 UTC (rev 1239083)
+++ PKGBUILD2022-06-22 20:55:18 UTC (rev 1239084)
@@ -1,36 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-pkgname=ansible
-pkgver=5.9.0
-pkgrel=1
-pkgdesc='Official assortment of Ansible collections'
-arch=('any')
-url='https://pypi.org/project/ansible/'
-license=('GPL3')
-depends=('python' 'ansible-core')
-provides=('python-ansible_collections')
-optdepends=('python-argcomplete: shell completions'
-'python-pyopenssl: openssl modules'
-'python-dnspython: for dig lookup'
-'python-ovirt-engine-sdk: ovirt support'
-'python-boto3: aws_s3 module'
-'python-ldap: ldap support'
-'python-proxmoxer: proxmos modules'
-'python-openstacksdk: OpenStack module'
-'python-pynetbox: NetBox module'
-'python-ldap: LDAP modules'
-'python-keyring: Keyring module'
-'acme-tiny: openssl_certificate module')
-makedepends=('python-setuptools')
-source=("https://pypi.python.org/packages/source/a/ansible/ansible-${pkgver}.tar.gz;)
-sha512sums=('88b26b1ba59a39370ee4a27eedda441d6e6ce8ba8eb857353572c692e49b189e95ed80e5063917c52799fb15bc3608d4c1ada013a7d650909714ca8ea5dd3bbb')
-
-build() {
-  cd ansible-${pkgver}
-  python setup.py build
-}
-
-package() {
-  cd ansible-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}"
-  install -Dm644 COPYING "${pkgdir}"/usr/share/doc/${pkgname}/COPYING
-}

Copied: ansible/repos/community-any/PKGBUILD (from rev 1239082, 
ansible/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-22 20:55:18 UTC (rev 1239084)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=ansible
+pkgver=6.0.0
+pkgrel=1
+pkgdesc='Official assortment of Ansible collections'
+arch=('any')
+url='https://pypi.org/project/ansible/'
+license=('GPL3')
+depends=('python' 'ansible-core')
+provides=('python-ansible_collections')
+optdepends=('python-argcomplete: shell completions'
+'python-pyopenssl: openssl modules'
+'python-dnspython: for dig lookup'
+'python-ovirt-engine-sdk: ovirt support'
+'python-boto3: aws_s3 module'
+'python-ldap: ldap support'
+'python-proxmoxer: proxmos modules'
+'python-openstacksdk: OpenStack module'
+'python-pynetbox: NetBox module'
+'python-ldap: LDAP modules'
+'python-keyring: Keyring module'
+'acme-tiny: openssl_certificate module')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/a/ansible/ansible-${pkgver}.tar.gz;)
+sha512sums=('490bdc574ad6a444f8007138a12be5e5fcd8eb7abdd5466ff1924ac7c34e0a71be1c2495666ceefa1c88da48900fa2bca2c1e8d5775f3f559b1fa285bbcdcae9')
+
+build() {
+  cd ansible-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ansible-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}"
+  install -Dm644 COPYING "${pkgdir}"/usr/share/doc/${pkgname}/COPYING
+}



[arch-commits] Commit in haskell-hls-plugin-api/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:56:10
  Author: felixonmars
Revision: 1239088

upgpkg: haskell-hls-plugin-api 1.2.0.0-140: rebuild with some 1.0.4

Modified:
  haskell-hls-plugin-api/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:55:51 UTC (rev 1239087)
+++ PKGBUILD2022-06-22 20:56:10 UTC (rev 1239088)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.2.0.0
-pkgrel=139
+pkgrel=140
 pkgdesc="Haskell Language Server API for plugin communication"
 url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
 license=("Apache")



[arch-commits] Commit in haskell-servant-client/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:55:51
  Author: felixonmars
Revision: 1239087

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-client/repos/community-staging-x86_64/
  haskell-servant-client/repos/community-staging-x86_64/PKGBUILD
(from rev 1239086, haskell-servant-client/trunk/PKGBUILD)

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

Copied: haskell-servant-client/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239086, haskell-servant-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:55:51 UTC (rev 1239087)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=servant-client
+pkgname=haskell-servant-client
+pkgver=0.18.3
+pkgrel=173
+pkgdesc="Automatic derivation of querying functions for servant"
+url="http://docs.servant.dev/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-http-client' 
'haskell-http-media'
+ 'haskell-http-types' 'haskell-kan-extensions' 'haskell-monad-control'
+ 'haskell-semigroupoids' 'haskell-servant' 
'haskell-servant-client-core'
+ 'haskell-transformers-base' 'haskell-transformers-compat')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-entropy'
+ 'haskell-hspec' 'haskell-hspec-discover' 'haskell-http-api-data'
+ 'haskell-markdown-unlit' 'haskell-network' 
'haskell-servant-server' 'haskell-sop-core'
+ 'haskell-tdigest' 'haskell-wai' 'haskell-warp')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d05f8d35ea397cfabafe0ee74314d5411d98c98093b095ed1ce7077a6d052d59f32785e0667930cf0a6763eebfc4da0deaee032ba73550597971348096617de2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base-compat -u hspec -u transformers-compat $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-arch-web/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:59:30
  Author: felixonmars
Revision: 1239097

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-arch-web/repos/community-staging-x86_64/
  haskell-arch-web/repos/community-staging-x86_64/PKGBUILD
(from rev 1239096, haskell-arch-web/trunk/PKGBUILD)

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

Copied: haskell-arch-web/repos/community-staging-x86_64/PKGBUILD (from rev 
1239096, haskell-arch-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:59:30 UTC (rev 1239097)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arch-web
+pkgname=haskell-arch-web
+pkgver=0.1.1
+pkgrel=3
+pkgdesc="Arch Linux official and AUR web interface binding"
+url="https://github.com/berberman/arch-web;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-deriving-aeson' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lens' 
'haskell-servant'
+ 'haskell-servant-client' 'haskell-servant-client-core')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0d786f2f6da1f9b64e3c82838546152faf9c01f351cbb13b2bbb7f785a0d9de2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u lens $_hkgname.cabal
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-arch-web/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:59:17
  Author: felixonmars
Revision: 1239096

upgpkg: haskell-arch-web 0.1.1-3: rebuild with some 1.0.4

Modified:
  haskell-arch-web/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:58:48 UTC (rev 1239095)
+++ PKGBUILD2022-06-22 20:59:17 UTC (rev 1239096)
@@ -3,7 +3,7 @@
 _hkgname=arch-web
 pkgname=haskell-arch-web
 pkgver=0.1.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Arch Linux official and AUR web interface binding"
 url="https://github.com/berberman/arch-web;
 license=("MIT")



[arch-commits] Commit in haskell-lsp/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:55:29
  Author: felixonmars
Revision: 1239085

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-lsp/repos/community-staging-x86_64/
  haskell-lsp/repos/community-staging-x86_64/PKGBUILD
(from rev 1239084, haskell-lsp/trunk/PKGBUILD)

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

Copied: haskell-lsp/repos/community-staging-x86_64/PKGBUILD (from rev 1239084, 
haskell-lsp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:55:29 UTC (rev 1239085)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp
+pkgname=haskell-lsp
+pkgver=1.2.0.1
+pkgrel=100
+pkgdesc="Haskell library for the Microsoft Language Server Protocol"
+url="https://github.com/haskell/lsp;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-attoparsec' 
'haskell-data-default'
+ 'haskell-dependent-map' 'haskell-hashable' 'haskell-hslogger'
+ 'haskell-lens' 'haskell-lsp-types' 'haskell-network-uri' 
'haskell-random'
+ 'haskell-scientific' 'haskell-sorted-list' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-uuid' 'haskell-unliftio')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck-instances' 'haskell-rope-utf16-splay')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('77c79d06cec9bf5fab707c9c1907ca8428ba15f763cad16c5a4b18fb4ee80a1b04770c2b9579d0f4ba31b16f71c2296501c2bd2d3da2475974b42e3c7daf3838')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fdemo
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in haskell-lsp-test/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:57:27
  Author: felixonmars
Revision: 1239092

upgpkg: haskell-lsp-test 0.14.0.1-115: rebuild with some 1.0.4

Modified:
  haskell-lsp-test/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:57:19 UTC (rev 1239091)
+++ PKGBUILD2022-06-22 20:57:27 UTC (rev 1239092)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp-test
 pkgver=0.14.0.1
-pkgrel=114
+pkgrel=115
 pkgdesc="Functional test framework for LSP servers."
 url="https://github.com/haskell/lsp/blob/master/lsp-test/README.md;
 license=("BSD")



[arch-commits] Commit in haskell-lsp/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:55:16
  Author: felixonmars
Revision: 1239083

upgpkg: haskell-lsp 1.2.0.1-100: rebuild with some 1.0.4

Modified:
  haskell-lsp/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:55:07 UTC (rev 1239082)
+++ PKGBUILD2022-06-22 20:55:16 UTC (rev 1239083)
@@ -3,7 +3,7 @@
 _hkgname=lsp
 pkgname=haskell-lsp
 pkgver=1.2.0.1
-pkgrel=99
+pkgrel=100
 pkgdesc="Haskell library for the Microsoft Language Server Protocol"
 url="https://github.com/haskell/lsp;
 license=("MIT")



[arch-commits] Commit in haskell-pantry/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:57:19
  Author: felixonmars
Revision: 1239091

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-pantry/repos/community-staging-x86_64/
  haskell-pantry/repos/community-staging-x86_64/PKGBUILD
(from rev 1239090, haskell-pantry/trunk/PKGBUILD)

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
1239090, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:57:19 UTC (rev 1239091)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.5.4
+pkgrel=51
+pkgdesc="Content addressable Haskell package management"
+url="https://github.com/commercialhaskell/pantry;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 
'haskell-generic-deriving'
+ 'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 
'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 'haskell-primitive' 
'haskell-resourcet'
+ 'haskell-rio' 'haskell-rio-orphans' 'haskell-rio-prettyprint' 
'haskell-tar-conduit'
+ 'haskell-text-metrics' 'haskell-unix-compat' 'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 
'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-quickcheck'
+ 'haskell-raw-strings-qq')
+checkdepends=('git' 'mercurial')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('609c5c0c2aa8bfafbc65930bf77e0037a003d0268621048a3bbc7290d4a128c9c0698849482205411e09493e89c9811894b225a442addf496ba60eb8e89d3920')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+uusi -d persistent-template $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+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
+LANG=en_US.UTF-8 runhaskell Setup test --show-details=direct
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-cabal-install-parsers/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:58:34
  Author: felixonmars
Revision: 1239094

upgpkg: haskell-cabal-install-parsers 0.4.2-131: rebuild with some 1.0.4

Modified:
  haskell-cabal-install-parsers/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:57:39 UTC (rev 1239093)
+++ PKGBUILD2022-06-22 20:58:34 UTC (rev 1239094)
@@ -3,7 +3,7 @@
 _hkgname=cabal-install-parsers
 pkgname=haskell-cabal-install-parsers
 pkgver=0.4.2
-pkgrel=130
+pkgrel=131
 pkgdesc="Utilities to work with cabal-install files"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL" "BSD")



[arch-commits] Commit in haskell-cabal-install-parsers/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:58:48
  Author: felixonmars
Revision: 1239095

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cabal-install-parsers/repos/community-staging-x86_64/
  haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD
(from rev 1239094, haskell-cabal-install-parsers/trunk/PKGBUILD)

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

Copied: haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD 
(from rev 1239094, haskell-cabal-install-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:58:48 UTC (rev 1239095)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-install-parsers
+pkgname=haskell-cabal-install-parsers
+pkgver=0.4.2
+pkgrel=131
+pkgdesc="Utilities to work with cabal-install files"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL" "BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-instances'
+ 'haskell-cryptohash-sha256' 'haskell-lukko' 'haskell-network-uri' 
'haskell-tar')
+makedepends=('ghc' 'uusi' 'haskell-ansi-terminal' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tree-diff')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f41dd0fe65994330aca0b372f96e370eeaf5b7f9909682aa7d394244e4144358b70e482b2d4cd54ba78068b202155fb6dacd38b81eadeaa877c6bc5bbf2ba8fb')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+  cabal update  # Generate cabal config for tests
+  runhaskell Setup test --show-details=direct
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-lsp-test/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:57:39
  Author: felixonmars
Revision: 1239093

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-lsp-test/repos/community-staging-x86_64/
  haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD
(from rev 1239092, haskell-lsp-test/trunk/PKGBUILD)

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

Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 
1239092, haskell-lsp-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:57:39 UTC (rev 1239093)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-test
+pkgname=haskell-lsp-test
+pkgver=0.14.0.1
+pkgrel=115
+pkgdesc="Functional test framework for LSP servers."
+url="https://github.com/haskell/lsp/blob/master/lsp-test/README.md;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 
'haskell-conduit-parse'
+ 'haskell-data-default' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-types'
+ 'haskell-parser-combinators' 'haskell-some' 'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0159cb688617658653588c4d5e1599440e27fc37705227ae920c8a5d280ef4effefc80e2f40ca64da0cf62a2ab05b4463490c2dbb92b8300f1e777a973b98169')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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 --show-details=direct
+}
+
+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
+}



[arch-commits] Commit in cabal-install/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:54:53
  Author: felixonmars
Revision: 1239080

upgpkg: cabal-install 3.4.0.0-159: rebuild with some 1.0.4

Modified:
  cabal-install/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:54:06 UTC (rev 1239079)
+++ PKGBUILD2022-06-22 20:54:53 UTC (rev 1239080)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.4.0.0
-pkgrel=158
+pkgrel=159
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install;
 license=('BSD')



[arch-commits] Commit in haskell-servant-swagger/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:50:25
  Author: felixonmars
Revision: 1239065

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-swagger/repos/community-staging-x86_64/
  haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD
(from rev 1239064, haskell-servant-swagger/trunk/PKGBUILD)

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

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239064, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:50:25 UTC (rev 1239065)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.10
+pkgrel=275
+pkgdesc="Generate Swagger specification for your servant API."
+url="https://github.com/haskell-servant/servant-swagger;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-servant'
+ 'haskell-singleton-bool' 'haskell-swagger2' 
'haskell-unordered-containers'
+ 'haskell-hspec' 'haskell-quickcheck')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-cabal-doctest' 
'haskell-doctest'
+ 'haskell-hspec-discover' 'haskell-lens-aeson' 
'haskell-utf8-string' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+
$_hkgname-fragment-instance.patch::https://github.com/haskell-servant/servant-swagger/commit/cce6bf064e01ade21a7a8f283beca41595792446.patch)
+sha512sums=('df3b397ce03dbb4c852598d4d188bcddde40fd9bd762eac53c837267420876ba3aa4d07fb638ffe0d0fa60c9cf080ad483508bf0359b45120f807ed65331f3bc'
+
'96bd6acdd78a9ff777c81c0e1d507167dc9ea4d27c905bc41afecc9c5fef75ca293e9e5621efe5e62319b2fb96b39bc690682dd841839b87240acdd7f588f34a')
+
+prepare() {
+cd $_hkgname-$pkgver
+# https://github.com/haskell-servant/servant-swagger/issues/129
+patch -p1 -i ../$_hkgname-fragment-instance.patch
+uusi -u base -u base-compat -u doctest -u lens -u hspec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+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
+# json ordering issue
+runhaskell Setup test || echo "Tests failed"
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in linux-hardened/trunk (7 files)

2022-06-22 Thread Levente Polyak via arch-commits
Date: Wednesday, June 22, 2022 @ 20:54:42
  Author: anthraxx
Revision: 449337

upgpkg: linux-hardened 5.18.6.hardened1-1

Added:
  linux-hardened/trunk/keys/
  linux-hardened/trunk/keys/pgp/
  linux-hardened/trunk/keys/pgp/647F28654894E3BD457199BE38DBBDC86092693E.asc
  linux-hardened/trunk/keys/pgp/ABAF11C65A2970B130ABE3C479BE3E4300411886.asc
  linux-hardened/trunk/keys/pgp/E240B57E2C4630BA768E2F26FC1B547C8D8172C8.asc
Modified:
  linux-hardened/trunk/PKGBUILD
  linux-hardened/trunk/config

---+
 PKGBUILD  |   10 +-
 config|5 -
 keys/pgp/647F28654894E3BD457199BE38DBBDC86092693E.asc |1 +
 keys/pgp/ABAF11C65A2970B130ABE3C479BE3E4300411886.asc |1 +
 keys/pgp/E240B57E2C4630BA768E2F26FC1B547C8D8172C8.asc |1 +
 5 files changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 19:20:17 UTC (rev 449336)
+++ PKGBUILD2022-06-22 20:54:42 UTC (rev 449337)
@@ -4,8 +4,8 @@
 # Contributor: Thomas Baechler 
 
 pkgbase=linux-hardened
-pkgver=5.18.5.hardened1
-pkgrel=2
+pkgver=5.18.6.hardened1
+pkgrel=1
 pkgdesc='Security-Hardened Linux'
 url='https://github.com/anthraxx/linux-hardened'
 arch=(x86_64)
@@ -29,12 +29,12 @@
   '647F28654894E3BD457199BE38DBBDC86092693E'  # Greg Kroah-Hartman
   'E240B57E2C4630BA768E2F26FC1B547C8D8172C8'  # Levente Polyak
 )
-sha256sums=('9c3731d405994f9cd3a1bb72e83140735831b19c7cec18e0d7a8f3046fa034e7'
+sha256sums=('4e1c2a9e79847850029571a1dd04761e5f657b52c558070a085365641f133478'
 'SKIP'
-'9ae27643645ebd14a27ed9990ba0accf0251432394ce584c673fa77bb4dffb78'
+'350cf18269e740664431f5c55da2f07cc51eb84553d37c34686c664c3e281a78'
 'SKIP'
 '5e59f0f2fa7afaacbade24804eb5e0d9ed8fdb6015450023a11e5d1ce6e7df3c'
-'095dd8157c9597ec8c3d1f7c4b62225404280af33a8f48ae41c80627632203d7')
+'d47979786deec7fc0bec12a1fc99d8919d4e057c66b31aa81f07e49c065c48db')
 
 export KBUILD_BUILD_HOST=archlinux
 export KBUILD_BUILD_USER=$pkgbase

Modified: config
===
--- config  2022-06-22 19:20:17 UTC (rev 449336)
+++ config  2022-06-22 20:54:42 UTC (rev 449337)
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.18.5-hardened1 Kernel Configuration
+# Linux/x86 5.18.6-hardened1 Kernel Configuration
 #
 CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.1.0"
 CONFIG_CC_IS_GCC=y
@@ -194,6 +194,8 @@
 CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
 CONFIG_CC_HAS_INT128=y
 CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5"
+CONFIG_GCC12_NO_ARRAY_BOUNDS=y
+CONFIG_CC_NO_ARRAY_BOUNDS=y
 CONFIG_ARCH_SUPPORTS_INT128=y
 CONFIG_NUMA_BALANCING=y
 CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y
@@ -10314,6 +10316,7 @@
 CONFIG_CRYPTO_LIB_SM4=m
 # end of Crypto library routines
 
+CONFIG_LIB_MEMNEQ=y
 CONFIG_CRC_CCITT=y
 CONFIG_CRC16=m
 CONFIG_CRC_T10DIF=y

Added: keys/pgp/647F28654894E3BD457199BE38DBBDC86092693E.asc
===
(Binary files differ)

Index: 
linux-hardened/trunk/keys/pgp/647F28654894E3BD457199BE38DBBDC86092693E.asc
===
--- keys/pgp/647F28654894E3BD457199BE38DBBDC86092693E.asc   2022-06-22 
19:20:17 UTC (rev 449336)
+++ keys/pgp/647F28654894E3BD457199BE38DBBDC86092693E.asc   2022-06-22 
20:54:42 UTC (rev 449337)

Property changes on: 
linux-hardened/trunk/keys/pgp/647F28654894E3BD457199BE38DBBDC86092693E.asc
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/ABAF11C65A2970B130ABE3C479BE3E4300411886.asc
===
(Binary files differ)

Index: 
linux-hardened/trunk/keys/pgp/ABAF11C65A2970B130ABE3C479BE3E4300411886.asc
===
--- keys/pgp/ABAF11C65A2970B130ABE3C479BE3E4300411886.asc   2022-06-22 
19:20:17 UTC (rev 449336)
+++ keys/pgp/ABAF11C65A2970B130ABE3C479BE3E4300411886.asc   2022-06-22 
20:54:42 UTC (rev 449337)

Property changes on: 
linux-hardened/trunk/keys/pgp/ABAF11C65A2970B130ABE3C479BE3E4300411886.asc
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/E240B57E2C4630BA768E2F26FC1B547C8D8172C8.asc
===
(Binary files differ)

Index: 
linux-hardened/trunk/keys/pgp/E240B57E2C4630BA768E2F26FC1B547C8D8172C8.asc
===
--- keys/pgp/E240B57E2C4630BA768E2F26FC1B547C8D8172C8.asc   

[arch-commits] Commit in mongo-c-driver/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:54:06
  Author: felixonmars
Revision: 1239079

archrelease: copy trunk to community-x86_64

Added:
  mongo-c-driver/repos/community-x86_64/PKGBUILD
(from rev 1239078, mongo-c-driver/trunk/PKGBUILD)
Deleted:
  mongo-c-driver/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-22 20:53:58 UTC (rev 1239078)
+++ PKGBUILD2022-06-22 20:54:06 UTC (rev 1239079)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=mongo-c-driver
-pkgver=1.21.1
-pkgrel=2
-pkgdesc='A client library written in C for MongoDB'
-arch=('x86_64')
-url='https://www.mongodb.org/display/DOCS/C+Language+Center'
-license=('Apache')
-depends=('libsasl' 'icu' 'snappy' 'zlib' 'zstd')
-makedepends=('cmake')
-provides=('libbson' 'libmongoc')
-conflicts=('libbson' 'libmongoc')
-replaces=('libbson' 'libmongoc')
-source=("https://github.com/mongodb/mongo-c-driver/releases/download/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('e9022c969eb84f00e3abaf6a7404532b5fb6b57bcfa518176549fefe394cf79dfb4c2e288451d9524bce2ddd76bee28aaab5132f805c0329f618c21913552607')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../mongo-c-driver-$pkgver \
--DCMAKE_BUILD_TYPE=Release \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=lib \
--DENABLE_STATIC=OFF -DENABLE_TESTS=OFF
-# Test profiles are not found even with ENABLE_TESTS=ON
-  make
-}
-
-check() {
-  cd build
-  # No test profile found
-  # pifpaf run mongodb --port 27017 make test || echo "Tests failed"
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir/" install
-}

Copied: mongo-c-driver/repos/community-x86_64/PKGBUILD (from rev 1239078, 
mongo-c-driver/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-22 20:54:06 UTC (rev 1239079)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.21.2
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('x86_64')
+url='https://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libsasl' 'icu' 'snappy' 'zlib' 'zstd')
+makedepends=('cmake')
+provides=('libbson' 'libmongoc')
+conflicts=('libbson' 'libmongoc')
+replaces=('libbson' 'libmongoc')
+source=("https://github.com/mongodb/mongo-c-driver/releases/download/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('3d55f7586375b41c96c66f20c5c37fd95ea33933b674fa4ab589589cc52aeffe32da45bd6498e157095ed8c994b34fe9f8c62f5f57f5194d605965d34137aa59')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../mongo-c-driver-$pkgver \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DENABLE_STATIC=OFF -DENABLE_TESTS=OFF
+# Test profiles are not found even with ENABLE_TESTS=ON
+  make
+}
+
+check() {
+  cd build
+  # No test profile found
+  # pifpaf run mongodb --port 27017 make test || echo "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}



[arch-commits] Commit in linux-hardened/repos/extra-x86_64 (5 files)

2022-06-22 Thread Levente Polyak via arch-commits
Date: Wednesday, June 22, 2022 @ 20:54:49
  Author: anthraxx
Revision: 449338

archrelease: copy trunk to extra-x86_64

Added:
  linux-hardened/repos/extra-x86_64/PKGBUILD
(from rev 449337, linux-hardened/trunk/PKGBUILD)
  linux-hardened/repos/extra-x86_64/config
(from rev 449337, linux-hardened/trunk/config)
  linux-hardened/repos/extra-x86_64/keys/
Deleted:
  linux-hardened/repos/extra-x86_64/PKGBUILD
  linux-hardened/repos/extra-x86_64/config

--+
 PKGBUILD |  424 -
 config   |21633 ++---
 2 files changed, 11030 insertions(+), 11027 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 449337:449338 to see the changes.


[arch-commits] Commit in haskell-lsp-types/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:53:43
  Author: felixonmars
Revision: 1239075

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-lsp-types/repos/community-staging-x86_64/
  haskell-lsp-types/repos/community-staging-x86_64/PKGBUILD
(from rev 1239074, haskell-lsp-types/trunk/PKGBUILD)

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

Copied: haskell-lsp-types/repos/community-staging-x86_64/PKGBUILD (from rev 
1239074, haskell-lsp-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:53:43 UTC (rev 1239075)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-types
+pkgname=haskell-lsp-types
+pkgver=1.3.0.1
+pkgrel=90
+pkgdesc="Haskell library for the Microsoft Language Server Protocol, data 
types"
+url="https://github.com/haskell/lsp;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-data-default' 
'haskell-dependent-sum'
+ 'haskell-dependent-sum-template' 'haskell-diff' 'haskell-dlist' 
'haskell-hashable'
+ 'haskell-hslogger' 'haskell-lens' 'haskell-network-uri' 
'haskell-rope-utf16-splay'
+ 'haskell-scientific' 'haskell-some' 'haskell-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('074a2a383efefd3754ed1c835af913e1ab5fee9f634cb343f392bc8148f1a62030777dbb1104cd0e60cec1405d2cc5067c8fb00f2e902a3ffa52601ff7b02c2b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  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
+}
+
+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
+}



[arch-commits] Commit in haskell-lsp-types/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:53:30
  Author: felixonmars
Revision: 1239074

upgpkg: haskell-lsp-types 1.3.0.1-90: rebuild with some 1.0.4

Modified:
  haskell-lsp-types/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:53:21 UTC (rev 1239073)
+++ PKGBUILD2022-06-22 20:53:30 UTC (rev 1239074)
@@ -3,7 +3,7 @@
 _hkgname=lsp-types
 pkgname=haskell-lsp-types
 pkgver=1.3.0.1
-pkgrel=89
+pkgrel=90
 pkgdesc="Haskell library for the Microsoft Language Server Protocol, data 
types"
 url="https://github.com/haskell/lsp;
 license=("MIT")



[arch-commits] Commit in haskell-servant-server/repos (2 files)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:53:21
  Author: felixonmars
Revision: 1239073

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-server/repos/community-staging-x86_64/
  haskell-servant-server/repos/community-staging-x86_64/PKGBUILD
(from rev 1239072, haskell-servant-server/trunk/PKGBUILD)

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1239072, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-22 20:53:21 UTC (rev 1239073)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.3
+pkgrel=166
+pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
+url="https://haskell-servant.readthedocs.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 
'haskell-base64-bytestring'
+ 'haskell-http-api-data' 'haskell-http-media' 'haskell-http-types'
+ 'haskell-network-uri' 'haskell-monad-control' 'haskell-network' 
'haskell-servant'
+ 'haskell-sop-core' 'haskell-string-conversions' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-transformers-base' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-warp'
+ 'haskell-word8')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-wai' 
'haskell-should-not-typecheck'
+ 'haskell-quickcheck' 'haskell-safe' 'haskell-wai-extra' 
'haskell-temporary'
+ 'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c89a676de870cba67b86e818a87f144a316294d6ef786bdcc20017da48089cf0c25fc434ed0b42e81053fae4ad1ac0628443e4d0afb7f17fa53a1b5516272d28')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u base-compat -u hspec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+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 --show-details=direct
+}
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-servant-server/trunk (PKGBUILD)

2022-06-22 Thread Felix Yan via arch-commits
Date: Wednesday, June 22, 2022 @ 20:53:07
  Author: felixonmars
Revision: 1239072

upgpkg: haskell-servant-server 0.18.3-166: rebuild with some 1.0.4

Modified:
  haskell-servant-server/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:52:26 UTC (rev 1239071)
+++ PKGBUILD2022-06-22 20:53:07 UTC (rev 1239072)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.3
-pkgrel=165
+pkgrel=166
 pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
 url="https://haskell-servant.readthedocs.org/;
 license=("BSD")



[arch-commits] Commit in maven/trunk (8 files)

2022-06-22 Thread Levente Polyak via arch-commits
Date: Wednesday, June 22, 2022 @ 20:53:51
  Author: anthraxx
Revision: 1239076

upgpkg: maven 3.8.6-1

Added:
  maven/trunk/keys/
  maven/trunk/keys/pgp/
  maven/trunk/keys/pgp/042B29E928995B9DB963C636C7CA19B7B620D787.asc
  maven/trunk/keys/pgp/6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688.asc
  maven/trunk/keys/pgp/AE9E53FC28FF2AB1012273D0BF1518E0160788A2.asc
  maven/trunk/keys/pgp/B02137D875D833D9B23392ECAE5A7FB608A0221C.asc
  maven/trunk/keys/pgp/BBE7232D7991050B54C8EA0ADC08637CA615D22C.asc
Modified:
  maven/trunk/PKGBUILD

---+
 PKGBUILD  |   10 +-
 keys/pgp/042B29E928995B9DB963C636C7CA19B7B620D787.asc |1 +
 keys/pgp/6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688.asc |1 +
 keys/pgp/AE9E53FC28FF2AB1012273D0BF1518E0160788A2.asc |1 +
 keys/pgp/B02137D875D833D9B23392ECAE5A7FB608A0221C.asc |1 +
 keys/pgp/BBE7232D7991050B54C8EA0ADC08637CA615D22C.asc |1 +
 6 files changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-22 20:53:43 UTC (rev 1239075)
+++ PKGBUILD2022-06-22 20:53:51 UTC (rev 1239076)
@@ -3,13 +3,13 @@
 # Contributor: William Rea 
 
 pkgname=maven
-pkgver=3.8.4
+pkgver=3.8.6
 pkgrel=1
 pkgdesc='Java project management and project comprehension tool'
 url='https://maven.apache.org'
 arch=('any')
 license=('APACHE')
-depends=('java-environment>=7' 'bash' 'procps-ng')
+depends=('java-environment>=8' 'bash' 'procps-ng')
 makedepends=('maven' 'java-environment=8')
 backup=('opt/maven/conf/settings.xml')
 
source=(https://downloads.apache.org/maven/maven-3/${pkgver}/source/apache-maven-${pkgver}-src.tar.gz{,.asc}
@@ -25,11 +25,11 @@
   'B02137D875D833D9B23392ECAE5A7FB608A0221C' # Robert Scholte 

   '6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688' # Michael Osipov (Java developer) 
<1983-01...@gmx.net>
 )
-sha256sums=('298bfb6172c134655f4f5608342f9c7bc798918ac165b8ded4af800be184ab9b'
+sha256sums=('72bfc3189bc337b9f4f311da7909af38f4d8253a8465a984512795db15ab5f4b'
 'SKIP'
-'2cdc9c519427bb20fdc25bef5a9063b790e4abd930e7b14b4e9f4863d6f9f13c'
+'c7047a48deb626abf26f71ab3643d296db9b1e67f1faa7d988637deac876b5a9'
 'SKIP'
-'e3b1b816da14173abf0141e22ced80239b57fe81889e230529fec02a88dc55c4'
+'77ba5dfe41449691bafbc113b7c5dff2e0fe1187ecd36d47c77782ec43f193d4'
 '17d9b8efa6a922907110026273443bcc8d83e061e14ac82cb5052b483acc9b76')
 
 _buildnumber() {

Added: keys/pgp/042B29E928995B9DB963C636C7CA19B7B620D787.asc
===
(Binary files differ)

Index: maven/trunk/keys/pgp/042B29E928995B9DB963C636C7CA19B7B620D787.asc
===
--- keys/pgp/042B29E928995B9DB963C636C7CA19B7B620D787.asc   2022-06-22 
20:53:43 UTC (rev 1239075)
+++ keys/pgp/042B29E928995B9DB963C636C7CA19B7B620D787.asc   2022-06-22 
20:53:51 UTC (rev 1239076)

Property changes on: 
maven/trunk/keys/pgp/042B29E928995B9DB963C636C7CA19B7B620D787.asc
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688.asc
===
(Binary files differ)

Index: maven/trunk/keys/pgp/6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688.asc
===
--- keys/pgp/6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688.asc   2022-06-22 
20:53:43 UTC (rev 1239075)
+++ keys/pgp/6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688.asc   2022-06-22 
20:53:51 UTC (rev 1239076)

Property changes on: 
maven/trunk/keys/pgp/6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688.asc
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/AE9E53FC28FF2AB1012273D0BF1518E0160788A2.asc
===
(Binary files differ)

Index: maven/trunk/keys/pgp/AE9E53FC28FF2AB1012273D0BF1518E0160788A2.asc
===
--- keys/pgp/AE9E53FC28FF2AB1012273D0BF1518E0160788A2.asc   2022-06-22 
20:53:43 UTC (rev 1239075)
+++ keys/pgp/AE9E53FC28FF2AB1012273D0BF1518E0160788A2.asc   2022-06-22 
20:53:51 UTC (rev 1239076)

Property changes on: 
maven/trunk/keys/pgp/AE9E53FC28FF2AB1012273D0BF1518E0160788A2.asc
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/B02137D875D833D9B23392ECAE5A7FB608A0221C.asc
===
(Binary files differ)

Index: 

  1   2   3   4   >