[arch-commits] Commit in (6 files)

2022-08-06 Thread Alexander Rødseth via arch-commits
Date: Saturday, August 6, 2022 @ 17:37:13
  Author: arodseth
Revision: 1260455

Add med-openmpi

Added:
  med-openmpi/
  med-openmpi/repos/
  med-openmpi/repos/community-x86_64/
  med-openmpi/trunk/
  med-openmpi/trunk/PKGBUILD
  med-openmpi/trunk/hdf5-1.12.patch

-+
 PKGBUILD|   53 +++
 hdf5-1.12.patch |  189 ++
 2 files changed, 242 insertions(+)

Added: med-openmpi/trunk/PKGBUILD
===
--- med-openmpi/trunk/PKGBUILD  (rev 0)
+++ med-openmpi/trunk/PKGBUILD  2022-08-06 17:37:13 UTC (rev 1260455)
@@ -0,0 +1,53 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Guilhem Saurel 
+# Contributor: Michel Zou
+# Contributor: Oliver Goethel
+# Contributor: Gustavo Alvarez 
+
+pkgname=med-openmpi
+pkgver=4.1.1
+pkgrel=1
+pkgdesc='Generic pre- and post-processing platform for numerical simulation'
+url="https://www.salome-platform.org/downloads;
+license=(LGPL)
+arch=(x86_64)
+provides=(med)
+conflicts=(med)
+replaces=(med)
+depends=(hdf5-openmpi python tk)
+makedepends=(cmake gcc-fortran ninja openmpi swig)
+source=("https://files.salome-platform.org/Salome/other/med-$pkgver.tar.gz;
+hdf5-1.12.patch)
+b2sums=('fb9bc3239c18c53fa42c5dd1101559746e8d38db2a3cb5fb47d1bf0cb578facc4ab95409af8524f5c20251848842cc1a331f6a816ce0754e9a6c95f507174ed1'
+
'998958970918d98724b80f7b5ff09558f7abea39cdac5e558b66410c4d8d1476b0407295f3745ece5586482bf76db3eef0139918d27d1bbc3eb166ed7ab4745a')
+
+prepare() {
+  cd med-${pkgver}_SRC
+  patch -p1 -i ../hdf5-1.12.patch # Fix build with hdf5 1.12 (Fedora)
+  sed -i 's/if H5_VERS_MINOR > 10/if 0/g' src/ci/MEDfileCompatibility.c
+}
+
+build() {
+  export CPPFLAGS+=' -DH5_USE_110_API'
+  cmake \
+-B build \
+-D CMAKE_BUILD_TYPE=Release \
+-D CMAKE_INSTALL_PREFIX=/usr \
+-D CMAKE_SKIP_RPATH=ON \
+-D MEDFILE_BUILD_PYTHON=ON \
+-D MEDFILE_BUILD_TESTS=OFF \
+-D MEDFILE_INSTALL_DOC=OFF \
+-D MEDFILE_USE_MPI=ON \
+-G Ninja \
+-S med-${pkgver}_SRC
+  ninja -C build
+}
+
+check() {
+  cd build
+  LD_LIBRARY_PATH="$srcdir/build/src" ctest -E '._Python' --output-on-failure
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}

Added: med-openmpi/trunk/hdf5-1.12.patch
===
--- med-openmpi/trunk/hdf5-1.12.patch   (rev 0)
+++ med-openmpi/trunk/hdf5-1.12.patch   2022-08-06 17:37:13 UTC (rev 1260455)
@@ -0,0 +1,189 @@
+diff -rupN med-4.1.0/config/cmake_files/medMacros.cmake 
med-4.1.0-new/config/cmake_files/medMacros.cmake
+--- med-4.1.0/config/cmake_files/medMacros.cmake   2021-12-03 
09:35:30.675827163 +0100
 med-4.1.0-new/config/cmake_files/medMacros.cmake   2021-12-03 
09:32:31.894994147 +0100
+@@ -447,7 +447,7 @@ MACRO(MED_FIND_HDF5)
+ ##
+ ## Requires 1.10.x version
+ ##
+-IF (NOT HDF_VERSION_MAJOR_REF EQUAL 1 OR NOT HDF_VERSION_MINOR_REF EQUAL 
10 OR NOT HDF_VERSION_RELEASE_REF GREATER 1)
++IF (HDF5_VERSION VERSION_LESS 1.10.2)
+ MESSAGE(FATAL_ERROR "HDF5 version is ${HDF_VERSION_REF}. Only 
versions >= 1.10.2 are supported.")
+ ENDIF()
+ ##
+diff -rupN med-4.1.0/src/ci/MEDfileCompatibility.c 
med-4.1.0-new/src/ci/MEDfileCompatibility.c
+--- med-4.1.0/src/ci/MEDfileCompatibility.c2021-12-03 09:35:30.676827162 
+0100
 med-4.1.0-new/src/ci/MEDfileCompatibility.c2021-12-03 
09:33:26.292942149 +0100
+@@ -71,7 +71,7 @@ MEDfileCompatibility(const char* const f
+   _hversionMMR=1*_hmajeur+100*_hmineur+_hrelease;
+   /* ISCRUTE(_hversionMMR); */
+   /* ISCRUTE(HDF_VERSION_NUM_REF); */
+-  if ( (_hversionMMR >= HDF_VERSION_NUM_REF) && (_hmineur == 
HDF_VERSION_MINOR_REF) ) *hdfok = MED_TRUE;
++  if (_hversionMMR >= HDF_VERSION_NUM_REF) *hdfok = MED_TRUE;
+ 
+   /* TODO : Vérifier si la version mineure HDF du fichier est supérieure
+  à la version mineure de la bibliothèque HDF utilisée :
+@@ -113,7 +113,7 @@ MEDfileCompatibility(const char* const f
+ #if MED_NUM_MAJEUR != 4
+ #error "Don't forget to update the test version here when you change the 
major version of the library !"
+ #endif
+-#if H5_VERS_MINOR > 10
++#if H5_VERS_MINOR > 12
+ #error "Don't forget to check the compatibility version of the library, 
depending on the internal hdf model choice !"
+ #error "Cf. _MEDfileCreate ..."
+ #endif
+diff -rupN med-4.1.0/src/hdfi/_MEDattributeNumWrByName.c 
med-4.1.0-new/src/hdfi/_MEDattributeNumWrByName.c
+--- med-4.1.0/src/hdfi/_MEDattributeNumWrByName.c  2020-03-11 
10:36:37.0 +0100
 med-4.1.0-new/src/hdfi/_MEDattributeNumWrByName.c  2021-12-03 
09:33:08.851958696 +0100
+@@ -68,7 +68,7 @@ med_err _MEDattributeNumWrByName(med_idt
+ 
+   if  ( (_attid=H5Aopen_by_name( pid, path, attname, H5P_DEFAULT, H5P_DEFAULT 
)) >= 0 ) {
+ 
+-if ( H5Oget_info( pid, &_oinfo ) <0) {
++if ( H5Oget_info( 

[arch-commits] Commit in (6 files)

2022-08-01 Thread Antonio Rojas via arch-commits
Date: Monday, August 1, 2022 @ 06:59:37
  Author: arojas
Revision: 1259574

sphinx-theme-builder dependency

Added:
  python-pyproject-metadata/
  python-pyproject-metadata/repos/
  python-pyproject-metadata/repos/community-any/
  python-pyproject-metadata/repos/community-any/PKGBUILD
  python-pyproject-metadata/trunk/
  python-pyproject-metadata/trunk/PKGBUILD

--+
 repos/community-any/PKGBUILD |   34 ++
 trunk/PKGBUILD   |   34 ++
 2 files changed, 68 insertions(+)

Added: python-pyproject-metadata/repos/community-any/PKGBUILD
===
--- python-pyproject-metadata/repos/community-any/PKGBUILD  
(rev 0)
+++ python-pyproject-metadata/repos/community-any/PKGBUILD  2022-08-01 
06:59:37 UTC (rev 1259574)
@@ -0,0 +1,34 @@
+# Maintainer:
+
+pkgname=python-pyproject-metadata
+pkgver=0.6.1
+pkgrel=1
+pkgdesc='PEP 621 metadata parsing'
+arch=(any)
+url='https://github.com/FFY00/python-pyproject-metadata'
+license=(MIT)
+depends=(python-packaging)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest)
+source=(https://github.com/FFY00/python-pyproject-metadata/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('4af84f9534a5c71e192e1355e1e99f99e82b97d01411c011ed2f1dff579a7420a0f5d982eea5a032de8549c14191b64334c8e2aeea22fe767837e662e8d8b588')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  pytest -v
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Added: python-pyproject-metadata/trunk/PKGBUILD
===
--- python-pyproject-metadata/trunk/PKGBUILD(rev 0)
+++ python-pyproject-metadata/trunk/PKGBUILD2022-08-01 06:59:37 UTC (rev 
1259574)
@@ -0,0 +1,34 @@
+# Maintainer:
+
+pkgname=python-pyproject-metadata
+pkgver=0.6.1
+pkgrel=1
+pkgdesc='PEP 621 metadata parsing'
+arch=(any)
+url='https://github.com/FFY00/python-pyproject-metadata'
+license=(MIT)
+depends=(python-packaging)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest)
+source=(https://github.com/FFY00/python-pyproject-metadata/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('4af84f9534a5c71e192e1355e1e99f99e82b97d01411c011ed2f1dff579a7420a0f5d982eea5a032de8549c14191b64334c8e2aeea22fe767837e662e8d8b588')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  pytest -v
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



[arch-commits] Commit in (6 files)

2022-07-24 Thread Konstantin Gizdov via arch-commits
Date: Sunday, July 24, 2022 @ 21:41:26
  Author: kgizdov
Revision: 1256006

initial release

Added:
  intel-oneapi-mkl/
  intel-oneapi-mkl/repos/
  intel-oneapi-mkl/trunk/
  intel-oneapi-mkl/trunk/PKGBUILD
  intel-oneapi-mkl/trunk/intel-oneapi-mkl.conf
  intel-oneapi-mkl/trunk/intel-oneapi-mkl.sh

---+
 PKGBUILD  |   63 
 intel-oneapi-mkl.conf |1 
 intel-oneapi-mkl.sh   |1 
 3 files changed, 65 insertions(+)

Added: intel-oneapi-mkl/trunk/PKGBUILD
===
--- intel-oneapi-mkl/trunk/PKGBUILD (rev 0)
+++ intel-oneapi-mkl/trunk/PKGBUILD 2022-07-24 21:41:26 UTC (rev 1256006)
@@ -0,0 +1,63 @@
+# Maintainer: Konstantin Gizdov 
+# Contributor : Jingbei Li 
+# Contributor: Intel Corporation 

+
+pkgbase=intel-oneapi-mkl
+pkgname=(intel-oneapi-mkl)
+_pkgver=2022.1.0
+_debpkgrel=223
+pkgver=${_pkgver}_${_debpkgrel}
+pkgrel=1
+pkgdesc="Intel® oneAPI Math Kernel Library"
+arch=('x86_64')
+url='https://software.intel.com/content/www/us/en/develop/tools/oneapi.html'
+license=("custom")
+source=(
+   
"https://apt.repos.intel.com/oneapi/pool/main/${pkgname}-${_pkgver}-${_pkgver}-${_debpkgrel}_amd64.deb;
+   
"https://apt.repos.intel.com/oneapi/pool/main/${pkgname}-devel-${_pkgver}-${_pkgver}-${_debpkgrel}_amd64.deb;
+   
"https://apt.repos.intel.com/oneapi/pool/main/${pkgname}-common-${_pkgver}-${_pkgver}-${_debpkgrel}_all.deb;
+   
"https://apt.repos.intel.com/oneapi/pool/main/${pkgname}-common-devel-${_pkgver}-${_pkgver}-${_debpkgrel}_all.deb;
+   "${pkgname}.conf"
+   "${pkgname}.sh"
+)
+depends=(intel-oneapi-compiler-dpcpp-cpp-runtime intel-oneapi-tbb 
intel-oneapi-common)
+noextract=(
+   "${pkgname}-${_pkgver}-${_pkgver}-${_debpkgrel}_amd64.deb"
+   "${pkgname}-devel-${_pkgver}-${_pkgver}-${_debpkgrel}_amd64.deb"
+   "${pkgname}-common-${_pkgver}-${_pkgver}-${_debpkgrel}_all.deb"
+   "${pkgname}-common-devel-${_pkgver}-${_pkgver}-${_debpkgrel}_all.deb"
+)
+sha256sums=('10974019f1bf2c3bcbb76880892b39d436e8d95faebbb62004fa9727e0eaae4b'
+'49399449a4e834124b63d3a4a1a48a154fe7e8a43f5617aea3bf6e9aa3337d64'
+'93b461332d506ba74900518f0d65a309b203391d91b33b399f37262dbb23bdfc'
+'789924d0506f55d9d0db23636402e9a0f73026d2849eac460d73ee7d083c4701'
+'cd787d9843146ad5ccf28ec72311d76d95d6bb9e42974dd614d8b5aa76bb5bd9'
+'85a56750e03ad99a5b99e7296dcea411fb88c4a0a25e674c86ab48f5648d9ae9')
+
+build() {
+mkdir package
+
+   ar x ${pkgname}-${_pkgver}-${_pkgver}-${_debpkgrel}_amd64.deb
+   tar xvf data.tar.xz -C "${srcdir}"/package
+
+   ar x ${pkgname}-devel-${_pkgver}-${_pkgver}-${_debpkgrel}_amd64.deb
+   tar xvf data.tar.xz -C "${srcdir}"/package
+
+   ar x ${pkgname}-common-${_pkgver}-${_pkgver}-${_debpkgrel}_all.deb
+   tar xvf data.tar.xz -C "${srcdir}"/package
+
+   ar x ${pkgname}-common-devel-${_pkgver}-${_pkgver}-${_debpkgrel}_all.deb
+   tar xvf data.tar.xz -C "${srcdir}"/package
+
+# drop conda binaries
+   rm -r "${srcdir}"/package/opt/intel/oneapi/conda_channel
+}
+
+package() {
+install -Dm644 ${pkgname}.conf ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
+   install -Dm644 ${pkgname}.sh ${pkgdir}/etc/profile.d/${pkgname}.sh
+
+mv "${srcdir}"/package/opt "${pkgdir}"
+install -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
+ln -s /usr/share/licenses/intel-oneapi 
"${pkgdir}"/usr/share/licenses/"${pkgname}"/oneapi
+}

Added: intel-oneapi-mkl/trunk/intel-oneapi-mkl.conf
===
--- intel-oneapi-mkl/trunk/intel-oneapi-mkl.conf
(rev 0)
+++ intel-oneapi-mkl/trunk/intel-oneapi-mkl.conf2022-07-24 21:41:26 UTC 
(rev 1256006)
@@ -0,0 +1 @@
+/opt/intel/oneapi/mkl/latest/lib/intel64

Added: intel-oneapi-mkl/trunk/intel-oneapi-mkl.sh
===
--- intel-oneapi-mkl/trunk/intel-oneapi-mkl.sh  (rev 0)
+++ intel-oneapi-mkl/trunk/intel-oneapi-mkl.sh  2022-07-24 21:41:26 UTC (rev 
1256006)
@@ -0,0 +1 @@
+export MKLROOT=/opt/intel/oneapi/mkl/latest



[arch-commits] Commit in (6 files)

2022-07-06 Thread David Runge via arch-commits
Date: Wednesday, July 6, 2022 @ 21:17:24
  Author: dvzrv
Revision: 1246759

extra2community: Moving rubygems from extra to community

Added:
  rubygems/
  rubygems/repos/
  rubygems/trunk/
  rubygems/trunk/PKGBUILD
  rubygems/trunk/gemrc
  rubygems/trunk/stop_so_duplication.patch

---+
 PKGBUILD  |   45 
 gemrc |5 
 stop_so_duplication.patch |   26 +
 3 files changed, 76 insertions(+)

Added: rubygems/trunk/PKGBUILD
===
--- rubygems/trunk/PKGBUILD (rev 0)
+++ rubygems/trunk/PKGBUILD 2022-07-06 21:17:24 UTC (rev 1246759)
@@ -0,0 +1,45 @@
+# Maintainer: Anatol Pomozov 
+
+pkgname=rubygems
+pkgdesc='Package management framework for Ruby'
+pkgver=3.3.15
+pkgrel=1
+arch=(any)
+url='https://rubygems.org/'
+license=(MIT)
+# To avoid circular dependency with ruby, move it to makedepends
+makedepends=(ruby)
+backup=(etc/gemrc)
+checkdepends=(rake)
+source=(rubygems-$pkgver.zip::https://github.com/rubygems/rubygems/archive/v${pkgver}.zip
+stop_so_duplication.patch
+   gemrc)
+sha512sums=('0d1c14ab45d9cad026596c5680dc54708e0229baf05b9d5966acc2adf0f65edfa52f3913d2241b4036c399944f8b9f14a4cc3c1da73ed8455a4df2b8bfd73419'
+
'9919490bbf7dba979a1df7543e62eb3fca48e8a516e6b6ab0a73080952e1b58599b7f233259d122dc66bf93f032b434d70e0dd448a1cb86513f01acb51b2120e'
+
'8cafd14d414ee3c16aa94f79072bc6c100262f925dc1300e785846c3faffc1356b8e2223af5684e3340c55032d41231179ffa948bb12e01dbae0f4131911')
+
+prepare() {
+  cd rubygems-${pkgver}
+  patch -p1 < ../stop_so_duplication.patch
+}
+
+check() {
+  cd rubygems-${pkgver}
+
+  # disable as it requires a lot of ruby-* dependencies
+  #rake test
+}
+
+package() {
+  depends+=(ruby)
+  cd rubygems-${pkgver}
+
+  install -D -m644 "${srcdir}"/gemrc "${pkgdir}/etc/gemrc"
+
+  local rubyver=$(ruby --version | sed -r 's|^ruby 
([[:digit:]]+\.[[:digit:]]+\.).*$|\1|')0
+
+  install -d "${pkgdir}/usr/lib/ruby/${rubyver}/"
+  install -D -m755 bin/gem "${pkgdir}/usr/bin/gem"
+  cp -r lib/* "${pkgdir}/usr/lib/ruby/${rubyver}/"
+  install -D -m644 MIT.txt "${pkgdir}/usr/share/licenses/rubygems/MIT.txt"
+}

Added: rubygems/trunk/gemrc
===
--- rubygems/trunk/gemrc(rev 0)
+++ rubygems/trunk/gemrc2022-07-06 21:17:24 UTC (rev 1246759)
@@ -0,0 +1,5 @@
+# Read about the gemrc format at 
http://guides.rubygems.org/command-reference/#gem-environment
+
+# --user-install is used to install to $HOME/.gem/ by default since we want to 
separate
+#pacman installed gems and gem installed gems
+gem: --user-install

Added: rubygems/trunk/stop_so_duplication.patch
===
--- rubygems/trunk/stop_so_duplication.patch(rev 0)
+++ rubygems/trunk/stop_so_duplication.patch2022-07-06 21:17:24 UTC (rev 
1246759)
@@ -0,0 +1,26 @@
+commit ac83e58d1b9af68042433ae7ca8c9ff55b379770
+Author: Anatol Pomozov 
+Date:   Fri Dec 27 15:43:14 2019 -0800
+
+Do not put generated *.so file to 'lib/'
+
+Keep the *.so files under extension directory only. 'lib/' is for ruby
+sources only.
+
+References:
+  
https://src.fedoraproject.org/rpms/rubygems/blob/master/f/operating_system.rb
+  https://github.com/rubygems/rubygems/issues/749
+
+diff --git a/lib/rubygems/defaults.rb b/lib/rubygems/defaults.rb
+index d4ff4a26..4926f322 100644
+--- a/lib/rubygems/defaults.rb
 b/lib/rubygems/defaults.rb
+@@ -144,7 +144,7 @@ module Gem
+   # Install extensions into lib as well as into the extension directory.
+ 
+   def self.install_extension_in_lib # :nodoc:
+-true
++false
+   end
+ 
+   ##



[arch-commits] Commit in (6 files)

2022-06-27 Thread Tim Meusel via arch-commits
Date: Monday, June 27, 2022 @ 19:26:00
  Author: bastelfreak
Revision: 1239742

add ruby-introspection package

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

--+
 PKGBUILD |   59 +
 disable-blankslate.patch |   21 
 disable-bundler.patch|   21 
 3 files changed, 101 insertions(+)

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

Added: ruby-introspection/trunk/disable-blankslate.patch
===
--- ruby-introspection/trunk/disable-blankslate.patch   
(rev 0)
+++ ruby-introspection/trunk/disable-blankslate.patch   2022-06-27 19:26:00 UTC 
(rev 1239742)
@@ -0,0 +1,21 @@
+diff --git a/test/snapshot_test.rb b/test/snapshot_test.rb
+index a5885dc..6b9f3be 100644
+--- a/test/snapshot_test.rb
 b/test/snapshot_test.rb
+@@ -1,5 +1,4 @@
+ require "test_helper"
+-require "blankslate"
+
+ class SnapshotTest < Minitest::Test
+
+@@ -47,10 +46,4 @@ class SnapshotTest < Minitest::Test
+ instance = Class.new.new
+ assert_snapshot_unchanged(instance) {}
+   end
+-
+-  def test_should_cope_with_blankslate_object
+-# Should not raise anything
+-Snapshot.new(BlankSlate.new)
+-  end
+-
+ end

Added: ruby-introspection/trunk/disable-bundler.patch
===
--- ruby-introspection/trunk/disable-bundler.patch  
(rev 0)
+++ ruby-introspection/trunk/disable-bundler.patch  2022-06-27 19:26:00 UTC 
(rev 1239742)
@@ -0,0 +1,21 @@
+diff --git a/Rakefile b/Rakefile
+index 7ed34ec..4e5801a 100644
+--- a/Rakefile
 b/Rakefile
+@@ -1,6 +1,3 @@
+-require "bundler"
+-Bundler::GemHelper.install_tasks
+-
+ require "rake/testtask"
+ Rake::TestTask.new do |t|
+   t.libs << "test"
+diff --git a/test/test_helper.rb b/test/test_helper.rb
+index 400a743..fc68282 100644
+--- a/test/test_helper.rb
 b/test/test_helper.rb
+@@ -1,6 +1,3 @@
+-require "rubygems"
+-require "bundler/setup"
+-
+ require "introspection"
+ require "minitest/autorun"



[arch-commits] Commit in (6 files)

2022-06-20 Thread Kpcyrd via arch-commits
Date: Monday, June 20, 2022 @ 20:56:09
  Author: kpcyrd
Revision: 1238718

addpkg: xmrig 6.17.0-2

Added:
  xmrig/
  xmrig/repos/
  xmrig/trunk/
  xmrig/trunk/PKGBUILD
  xmrig/trunk/xmrig.sysusers
  xmrig/trunk/xmrig@.service

+
 PKGBUILD   |   40 
 xmrig.sysusers |1 +
 xmrig@.service |   17 +
 3 files changed, 58 insertions(+)

Added: xmrig/trunk/PKGBUILD
===
--- xmrig/trunk/PKGBUILD(rev 0)
+++ xmrig/trunk/PKGBUILD2022-06-20 20:56:09 UTC (rev 1238718)
@@ -0,0 +1,40 @@
+# Maintainer: kpcyrd 
+# Contributor: Konstantin Shalygin 
+
+pkgname=xmrig
+pkgver=6.17.0
+pkgrel=2
+pkgdesc='RandomX, KawPow, CryptoNight, AstroBWT and GhostRider unified CPU/GPU 
miner and RandomX benchmark'
+url='https://github.com/xmrig/xmrig'
+arch=('x86_64')
+license=('GPL3')
+depends=('libuv' 'openssl' 'hwloc')
+makedepends=('cmake')
+backup=("etc/${pkgname}/${pkgname}.conf")
+source=(https://github.com/xmrig/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+xmrig@.service
+xmrig.sysusers)
+sha256sums=('748a989390202ba2d1ccbd9d9a6b8cbd6551149cbab63b347fd1ed6df0254faa'
+'bbc54b04a7da5ea473eb7d976307eb995fbfd96f0d012f1553b8c487182d9fb3'
+'d8f499302fb2b642fe02586c81c410a299e0a6e133aef1cc1c783bcdcb3f44f6')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  mkdir -p build
+}
+
+build() {
+  cd "${pkgname}-${pkgver}/build"
+  cmake .. -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dm775 "build/${pkgname}" -t "${pkgdir}/usr/bin"
+  install -Dm644 "src/config.json" "${pkgdir}/etc/${pkgname}/xmrig.conf"
+  install -Dm644 "${srcdir}/${pkgname}@.service" -t 
"${pkgdir}/usr/lib/systemd/system"
+  install -Dm0644 "${srcdir}/${pkgname}.sysusers" -t 
"${pkgdir}/usr/lib/sysusers.d"
+}
+
+# vim: ts=2 sw=2 et:

Added: xmrig/trunk/xmrig.sysusers
===
--- xmrig/trunk/xmrig.sysusers  (rev 0)
+++ xmrig/trunk/xmrig.sysusers  2022-06-20 20:56:09 UTC (rev 1238718)
@@ -0,0 +1 @@
+u xmrig - - -

Added: xmrig/trunk/xmrig@.service
===
--- xmrig/trunk/xmrig@.service  (rev 0)
+++ xmrig/trunk/xmrig@.service  2022-06-20 20:56:09 UTC (rev 1238718)
@@ -0,0 +1,17 @@
+[Unit]
+Description=XMRig Daemon for %i
+After=network.target
+
+[Service]
+User=xmrig
+Group=xmrig
+Type=forking
+ExecStart=/usr/bin/xmrig -c %i.conf --background --syslog
+WorkingDirectory=/etc/xmrig
+Restart=on-failure
+RestartSec=20s
+StartLimitInterval=30min
+StartLimitBurst=30
+
+[Install]
+WantedBy=multi-user.target



[arch-commits] Commit in (6 files)

2022-05-29 Thread Frederik Schwan via arch-commits
Date: Sunday, May 29, 2022 @ 14:18:46
  Author: freswa
Revision: 1214754

extra2community: Moving gcc11 from extra to community

Added:
  gcc11/
  gcc11/repos/
  gcc11/trunk/
  gcc11/trunk/PKGBUILD
  gcc11/trunk/c89
  gcc11/trunk/c99

--+
 PKGBUILD |  223 +
 c89  |   10 ++
 c99  |   10 ++
 3 files changed, 243 insertions(+)

Added: gcc11/trunk/PKGBUILD
===
--- gcc11/trunk/PKGBUILD(rev 0)
+++ gcc11/trunk/PKGBUILD2022-05-29 14:18:46 UTC (rev 1214754)
@@ -0,0 +1,223 @@
+# Maintainer: Frederik Schwan 
+# Contributor: Jonathon Fernyhough 
+# Contributor: Giancarlo Razzolini 
+# Contributor:  Bartłomiej Piotrowski 
+# Contributor: Allan McRae 
+# Contributor: Daniel Kozak 
+
+pkgbase=gcc11
+pkgname=($pkgbase gcc11-libs gcc11-fortran)
+pkgver=11.3.0
+_majorver=${pkgver%%.*}
+pkgrel=3
+pkgdesc='The GNU Compiler Collection (11.x.x)'
+arch=(x86_64)
+license=(GPL LGPL FDL custom)
+url='https://gcc.gnu.org'
+makedepends=(binutils doxygen git libmpc python libisl.so)
+checkdepends=(dejagnu inetutils)
+options=(!emptydirs !lto)
+_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
+source=(https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz{,.sig}
+c89 c99
+)
+validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
+  86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
+  13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
+  D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62) # Jakub Jelinek 

+b2sums=('7e562d25446ca4ab9fe8cdb714866f66aba3744d78bf84f31bfb097c1a981e4c7f990cb1e6bcfec5ae6671836a4984e2b70eb8fed81dcef5e244f88da8623469'
+'SKIP'
+
'2c64090b879d6faea7f20095eff1b9bd6a09fe3b15b3890783d3715171678ab62d32c91af683b878746fb14441dbe09768474417840f96a561443415f76afb63'
+
'3cf318835b9833ac7c5d3a6026fff8b4f18b098e18c9649d00e32273688ff06ec3af41f0d0aee9d2261725e0ff08f47a224ccfe5ebb06646aaf318ff8ac9a0d1')
+
+prepare() {
+  [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
+  cd gcc
+
+  # Do not run fixincludes
+  sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
+
+  # Arch Linux installs x86_64 libraries /lib
+  sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
+
+  mkdir -p "$srcdir/gcc-build"
+}
+
+build() {
+local _confflags=(
+  --prefix=/usr
+  --libdir=/usr/lib
+  --libexecdir=/usr/lib
+  --mandir=/usr/share/man
+  --infodir=/usr/share/info
+  --with-bugurl=https://bugs.archlinux.org/
+  --with-linker-hash-style=gnu
+  --with-system-zlib
+  --enable-__cxa_atexit
+  --enable-cet=auto
+  --enable-checking=release
+  --enable-clocale=gnu
+  --enable-default-pie
+  --enable-default-ssp
+  --enable-gnu-indirect-function
+  --enable-gnu-unique-object
+  --enable-linker-build-id
+  --enable-lto
+  --enable-plugin
+  --enable-shared
+  --enable-threads=posix
+  --disable-libssp
+  --disable-libstdcxx-pch
+  --disable-werror
+  --with-build-config=bootstrap-lto
+  --enable-link-serialization=1
+  --program-suffix=-${_majorver}
+  --enable-version-specific-runtime-libs
+  --disable-multilib
+)
+
+  cd gcc-build
+
+  # Credits @allanmcrae
+  # 
https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/gcc/PKGBUILD
+  # TODO: properly deal with the build issues resulting from this
+  CFLAGS=${CFLAGS/-Werror=format-security/}
+  CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
+
+  "$srcdir/gcc/configure" \
+--enable-languages=c,c++,fortran,lto \
+--enable-bootstrap \
+"${_confflags[@]:?_confflags unset}"
+
+  # see https://bugs.archlinux.org/task/71777 for rationale re *FLAGS handling
+  make -O STAGE1_CFLAGS="-O2" \
+  BOOT_CFLAGS="$CFLAGS" \
+  BOOT_LDFLAGS="$LDFLAGS" \
+  LDFLAGS_FOR_TARGET="$LDFLAGS" \
+  profiledbootstrap
+
+  # make documentation
+  make -O -C $CHOST/libstdc++-v3/doc doc-man-doxygen
+}
+
+check() {
+  cd gcc-build
+
+  # disable libphobos test to avoid segfaults and other unfunny ways to waste 
my time
+  sed -i '/maybe-check-target-libphobos \\/d' Makefile
+
+  # do not abort on error as some are "expected"
+  make -O -k check || true
+  "$srcdir/gcc/contrib/test_summary"
+}
+
+package_gcc11-libs() {
+  pkgdesc="Runtime libraries shipped by GCC (11.x.x)"
+  depends=('glibc>=2.27')
+  options=(!emptydirs !strip)
+
+  cd gcc-build
+  make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared
+  mv "${pkgdir}/${_libdir}"/../lib/* "${pkgdir}/${_libdir}"
+  rmdir "${pkgdir}/${_libdir}"/../lib
+  rm -f "$pkgdir/$_libdir/libgcc_eh.a"
+
+  for lib in libatomic \
+ libgfortran \
+ libgomp \
+ libitm \
+ libquadmath \
+ libsanitizer/{a,l,ub,t}san \
+   

[arch-commits] Commit in (6 files)

2022-05-14 Thread Frederik Schwan via arch-commits
Date: Sunday, May 15, 2022 @ 03:17:38
  Author: freswa
Revision: 445617

move gcc11 from unsupported to [extra]

Added:
  gcc11/
  gcc11/repos/
  gcc11/trunk/
  gcc11/trunk/PKGBUILD
  gcc11/trunk/c89
  gcc11/trunk/c99

--+
 PKGBUILD |  224 +
 c89  |   10 ++
 c99  |   10 ++
 3 files changed, 244 insertions(+)

Added: gcc11/trunk/PKGBUILD
===
--- gcc11/trunk/PKGBUILD(rev 0)
+++ gcc11/trunk/PKGBUILD2022-05-15 03:17:38 UTC (rev 445617)
@@ -0,0 +1,224 @@
+# Maintainer: Frederik Schwan 
+# Contributor: Jonathon Fernyhough 
+# Contributor: Giancarlo Razzolini 
+# Contributor:  Bartłomiej Piotrowski 
+# Contributor: Allan McRae 
+# Contributor: Daniel Kozak 
+
+pkgbase=gcc11
+pkgname=($pkgbase gcc11-libs gcc11-fortran)
+pkgver=11.3.0
+_majorver=${pkgver%%.*}
+pkgrel=2
+pkgdesc='The GNU Compiler Collection (11.x.x)'
+arch=(x86_64)
+license=(GPL LGPL FDL custom)
+url='https://gcc.gnu.org'
+makedepends=(binutils doxygen git libmpc python libisl.so)
+checkdepends=(dejagnu inetutils)
+options=(!emptydirs !lto)
+_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
+source=(https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz{,.sig}
+c89 c99
+)
+validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # 
bpiotrow...@archlinux.org
+  86CFFCA918CF3AF47147588051E8B148AC34  # 
evange...@foutrelis.com
+  13975A70E63C361C73AE69EF6EEB81F8981C74C7  # 
richard.guent...@gmail.com
+  D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62) # Jakub Jelinek 

+b2sums=('7e562d25446ca4ab9fe8cdb714866f66aba3744d78bf84f31bfb097c1a981e4c7f990cb1e6bcfec5ae6671836a4984e2b70eb8fed81dcef5e244f88da8623469'
+'SKIP'
+
'2c64090b879d6faea7f20095eff1b9bd6a09fe3b15b3890783d3715171678ab62d32c91af683b878746fb14441dbe09768474417840f96a561443415f76afb63'
+
'3cf318835b9833ac7c5d3a6026fff8b4f18b098e18c9649d00e32273688ff06ec3af41f0d0aee9d2261725e0ff08f47a224ccfe5ebb06646aaf318ff8ac9a0d1')
+
+prepare() {
+  [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
+  cd gcc
+
+  # Do not run fixincludes
+  sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
+
+  # Arch Linux installs x86_64 libraries /lib
+  sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
+
+  mkdir -p "$srcdir/gcc-build"
+}
+
+build() {
+local _confflags=(
+  --prefix=/usr
+  --libdir=/usr/lib
+  --libexecdir=/usr/lib
+  --mandir=/usr/share/man
+  --infodir=/usr/share/info
+  --with-bugurl=https://bugs.archlinux.org/
+  --with-linker-hash-style=gnu
+  --with-system-zlib
+  --enable-__cxa_atexit
+  --enable-cet=auto
+  --enable-checking=release
+  --enable-clocale=gnu
+  --enable-default-pie
+  --enable-default-ssp
+  --enable-gnu-indirect-function
+  --enable-gnu-unique-object
+  --enable-linker-build-id
+  --enable-lto
+  --enable-plugin
+  --enable-shared
+  --enable-threads=posix
+  --disable-libssp
+  --disable-libstdcxx-pch
+  --disable-werror
+  --with-build-config=bootstrap-lto
+  --enable-link-serialization=1
+  --program-suffix=-${_majorver}
+  --enable-version-specific-runtime-libs
+  --disable-multilib
+)
+
+  cd gcc-build
+
+  # Credits @allanmcrae
+  # 
https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/gcc/PKGBUILD
+  # TODO: properly deal with the build issues resulting from this
+  CFLAGS=${CFLAGS/-Werror=format-security/}
+  CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
+
+  "$srcdir/gcc/configure" \
+--enable-languages=c,c++,fortran,lto \
+--enable-bootstrap \
+"${_confflags[@]:?_confflags unset}"
+
+  # see https://bugs.archlinux.org/task/71777 for rationale re *FLAGS handling
+  make -O STAGE1_CFLAGS="-O2" \
+  BOOT_CFLAGS="$CFLAGS" \
+  BOOT_LDFLAGS="$LDFLAGS" \
+  LDFLAGS_FOR_TARGET="$LDFLAGS" \
+  profiledbootstrap
+
+  # make documentation
+  make -O -C $CHOST/libstdc++-v3/doc doc-man-doxygen
+}
+
+check() {
+  cd gcc-build
+
+  # disable libphobos test to avoid segfaults and other unfunny ways to waste 
my time
+  sed -i '/maybe-check-target-libphobos \\/d' Makefile
+
+  # do not abort on error as some are "expected"
+  make -O -k check || true
+  "$srcdir/gcc/contrib/test_summary"
+}
+
+package_gcc11-libs() {
+  pkgdesc="Runtime libraries shipped by GCC (11.x.x)"
+  depends=('glibc>=2.27')
+  options=(!emptydirs !strip)
+  provides=(libgfortran.so libubsan.so libasan.so libtsan.so liblsan.so)
+
+  cd gcc-build
+  make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared
+  mv "${pkgdir}/${_libdir}"/../lib/* "${pkgdir}/${_libdir}"
+  rmdir "${pkgdir}/${_libdir}"/../lib
+  rm -f "$pkgdir/$_libdir/libgcc_eh.a"
+
+  for lib in libatomic \
+ libgfortran \
+ libgomp \
+ libitm \
+ libquadmath 

[arch-commits] Commit in (6 files)

2022-04-02 Thread Christian Rebischke via arch-commits
Date: Saturday, April 2, 2022 @ 14:55:50
  Author: shibumi
Revision: 1180824

repair ko

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

-+
 repos/community-x86_64/PKGBUILD |   42 ++
 trunk/PKGBUILD  |   42 ++
 2 files changed, 84 insertions(+)

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

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



[arch-commits] Commit in (6 files)

2022-03-30 Thread Antonio Rojas via arch-commits
Date: Wednesday, March 30, 2022 @ 07:16:13
  Author: arojas
Revision: 1177762

extra2community: Moving screen from extra to community

Added:
  screen/
  screen/repos/
  screen/trunk/
  screen/trunk/PKGBUILD
  screen/trunk/pam.d
  screen/trunk/tmpfiles.d

+
 PKGBUILD   |   60 +++
 pam.d  |1 
 tmpfiles.d |1 
 3 files changed, 62 insertions(+)

Added: screen/trunk/PKGBUILD
===
--- screen/trunk/PKGBUILD   (rev 0)
+++ screen/trunk/PKGBUILD   2022-03-30 07:16:13 UTC (rev 1177762)
@@ -0,0 +1,60 @@
+# Maintainer: Gaetan Bisson 
+# Contributor: Allan McRae 
+# Committer: dorphell 
+
+pkgname=screen
+pkgver=4.9.0
+pkgrel=1
+pkgdesc='Full-screen window manager that multiplexes a physical terminal'
+url='https://www.gnu.org/software/screen/'
+arch=('x86_64')
+license=('GPL')
+depends=('ncurses' 'pam')
+validpgpkeys=('2EE59A5D0C50167B5535BBF1B708A383C53EF3A4'
+  '71AA09D9E8870FDB0AA7B61E21F968DEF747ABD7'
+  'B4560FD8C9F2DE3BE308EBA3933AD21886F69FBF')
+source=("https://ftp.gnu.org/gnu/screen/screen-${pkgver}.tar.gz"{,.sig}
+'tmpfiles.d'
+'pam.d')
+sha256sums=('f9335281bb4d1538ed078df78a20c2f39d3af9a4e91c57d084271e0289c730f4'
+'SKIP'
+'1f33ce4faca7bd05dd80403411af31e682d5d23e79558e884ae5a35f1dd96223'
+'971c25929ea97422c09e10679ab98e9e6c59295aae1a4a9970909d2206e23090')
+
+backup=('etc/screenrc' 'etc/pam.d/screen')
+options=('!makeflags')
+
+_ptygroup=5 #the UID of our PTY/TTY group
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure \
+--prefix=/usr \
+--mandir=/usr/share/man \
+--infodir=/usr/share/info \
+--enable-colors256 \
+--enable-pam \
+--enable-rxvt_osc \
+--enable-telnet \
+--with-pty-group=$_ptygroup \
+--with-socket-dir=/run/screens \
+--with-sys-screenrc=/etc/screenrc \
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/screen
+  install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/screen.conf
+
+  install -Dm644 etc/etcscreenrc "${pkgdir}"/etc/screenrc
+  install -Dm644 etc/screenrc "${pkgdir}"/etc/skel/.screenrc
+}

Added: screen/trunk/pam.d
===
--- screen/trunk/pam.d  (rev 0)
+++ screen/trunk/pam.d  2022-03-30 07:16:13 UTC (rev 1177762)
@@ -0,0 +1 @@
+auth   requiredpam_unix.so

Added: screen/trunk/tmpfiles.d
===
--- screen/trunk/tmpfiles.d (rev 0)
+++ screen/trunk/tmpfiles.d 2022-03-30 07:16:13 UTC (rev 1177762)
@@ -0,0 +1 @@
+d /run/screens 0755 root root -



[arch-commits] Commit in (6 files)

2022-03-29 Thread Antonio Rojas via arch-commits
Date: Tuesday, March 29, 2022 @ 07:15:16
  Author: arojas
Revision: 1177517

New jupyterlab-server checkdepends

Added:
  python-openapi-core/
  python-openapi-core/repos/
  python-openapi-core/repos/community-x86_64/
  python-openapi-core/repos/community-x86_64/PKGBUILD
  python-openapi-core/trunk/
  python-openapi-core/trunk/PKGBUILD

-+
 repos/community-x86_64/PKGBUILD |   26 ++
 trunk/PKGBUILD  |   31 +++
 2 files changed, 57 insertions(+)

Added: python-openapi-core/repos/community-x86_64/PKGBUILD
===
--- python-openapi-core/repos/community-x86_64/PKGBUILD 
(rev 0)
+++ python-openapi-core/repos/community-x86_64/PKGBUILD 2022-03-29 07:15:16 UTC 
(rev 1177517)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Fredrick Brennan 
+# Contributor: Stephan Eisvogel 
+
+pkgname=python-pikepdf
+pkgver=5.1.0
+pkgrel=1
+pkgdesc='Read and write PDFs with Python, powered by qpdf'
+arch=(x86_64)
+url='https://github.com/pikepdf/pikepdf'
+license=(MPL2)
+makedepends=(pybind11 python-build python-installer python-wheel python-toml 
python-setuptools-scm-git-archive)
+depends=(python-lxml python-pillow qpdf)
+source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz)
+sha256sums=('559b3d502cc1a6813cbcb0766b0797fec034303f8f9b0734cf938fb1734e2b74')
+
+build() {
+  cd pikepdf-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd pikepdf-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Added: python-openapi-core/trunk/PKGBUILD
===
--- python-openapi-core/trunk/PKGBUILD  (rev 0)
+++ python-openapi-core/trunk/PKGBUILD  2022-03-29 07:15:16 UTC (rev 1177517)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=python-openapi-core
+_pipname=openapi-core
+pkgver=0.14.2
+pkgrel=1
+pkgdesc='Client-side and server-side support for the OpenAPI Specification v3'
+arch=(any)
+url='https://github.com/p1c2u/openapi-core'
+license=(BSD)
+depends=(python-openapi-spec-validator python-dictpath python-werkzeug)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest-cov python-pytest-flake8 python-requests)
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('62ad93c8114ce6025f25b004ff0f3674eea8bc4ae920c726e98921fdbe41b4f3')
+
+build() {
+  cd $_pipname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pipname-$pkgver
+  pytest -vv
+}
+
+package() {
+  cd $_pipname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



[arch-commits] Commit in (6 files)

2022-03-29 Thread Antonio Rojas via arch-commits
Date: Tuesday, March 29, 2022 @ 07:11:42
  Author: arojas
Revision: 1177514

New jupyterlab-server checkdepends

Added:
  python-dictpath/
  python-dictpath/repos/
  python-dictpath/repos/community-x86_64/
  python-dictpath/repos/community-x86_64/PKGBUILD
  python-dictpath/trunk/
  python-dictpath/trunk/PKGBUILD

-+
 repos/community-x86_64/PKGBUILD |   26 ++
 trunk/PKGBUILD  |   31 +++
 2 files changed, 57 insertions(+)

Added: python-dictpath/repos/community-x86_64/PKGBUILD
===
--- python-dictpath/repos/community-x86_64/PKGBUILD 
(rev 0)
+++ python-dictpath/repos/community-x86_64/PKGBUILD 2022-03-29 07:11:42 UTC 
(rev 1177514)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Fredrick Brennan 
+# Contributor: Stephan Eisvogel 
+
+pkgname=python-pikepdf
+pkgver=5.1.0
+pkgrel=1
+pkgdesc='Read and write PDFs with Python, powered by qpdf'
+arch=(x86_64)
+url='https://github.com/pikepdf/pikepdf'
+license=(MPL2)
+makedepends=(pybind11 python-build python-installer python-wheel python-toml 
python-setuptools-scm-git-archive)
+depends=(python-lxml python-pillow qpdf)
+source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz)
+sha256sums=('559b3d502cc1a6813cbcb0766b0797fec034303f8f9b0734cf938fb1734e2b74')
+
+build() {
+  cd pikepdf-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd pikepdf-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Added: python-dictpath/trunk/PKGBUILD
===
--- python-dictpath/trunk/PKGBUILD  (rev 0)
+++ python-dictpath/trunk/PKGBUILD  2022-03-29 07:11:42 UTC (rev 1177514)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=python-dictpath
+_pipname=dictpath
+pkgver=0.1.3
+pkgrel=1
+pkgdesc='Object-oriented dictionary paths'
+arch=(any)
+url='https://github.com/p1c2u/dictpath'
+license=(BSD)
+depends=(python)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest-cov python-pytest-flake8)
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('751cde3b76b176d25f961b90c423a11a4d5ede9bd09ab0d64a85abb738c190d8')
+
+build() {
+  cd $_pipname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pipname-$pkgver
+  pytest -vv
+}
+
+package() {
+  cd $_pipname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



[arch-commits] Commit in (6 files)

2022-03-24 Thread Santiago Torres-Arias via arch-commits
Date: Thursday, March 24, 2022 @ 14:50:08
  Author: sangy
Revision: 1174730

add pkg: python-hatch 0.23.1-1

Added:
  python-hatch/
  python-hatch/PKGBUILD
  python-hatch/hatch_complete.sh
  python-hatch/hatch_complete.zsh
  python-hatch/repos/
  python-hatch/trunk/

+
 PKGBUILD   |   54 +++
 hatch_complete.sh  |   21 +++
 hatch_complete.zsh |   28 ++
 3 files changed, 103 insertions(+)

Added: python-hatch/PKGBUILD
===
--- python-hatch/PKGBUILD   (rev 0)
+++ python-hatch/PKGBUILD   2022-03-24 14:50:08 UTC (rev 1174730)
@@ -0,0 +1,54 @@
+# Maintainer: Santiago Torres-Arias 
+# Contributor: Kaizhao Zhang 
+
+pkgname=python-hatch
+pkgver=0.23.1
+pkgrel=1
+pkgdesc="A modern project, package, and virtual env manager"
+arch=('any')
+url="https://github.com/ofek/hatch;
+license=('MIT' 'Apache')
+depends=(
+  'python' 'python-appdirs' 'python-atomicwrites' 'python-click'
+  'python-colorama' 'python-coverage' 'python-pexpect' 'python-pip'
+  'python-pytest' 'python-semver' 'python-setuptools' 'python-sortedcontainers'
+  'python-toml' 'twine' 'python-userpath' 'python-virtualenv' 'python-wheel'
+)
+
+
+_name=${pkgname/python-/}
+source=(
+  
"https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz;
+  'hatch_complete.sh'
+  'hatch_complete.zsh'
+)
+sha256sums=('97ee540e74450c2ac1eabc678b258db7a1c2830a40409302a6a31ec3183ab559'
+'b87254c621719188907a2062b0aa3c4eb078088872d1de7d53d6a6d61a679c44'
+'a43679d72ebb7b5c029192519597eff835586d0b6ed9d1e3dfc93270b8720e71')
+
+build() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+  install -Dm644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
+  install -Dm644 LICENSE-MIT 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
+  install -Dm644 LICENSE-APACHE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"
+
+  cd "${srcdir}"
+
+  # Tab completions.
+  # via https://github.com/ofek/hatch/issues/57 and
+  # https://click.palletsprojects.com/en/7.x/bashcomplete/
+
+  # Tab completion for Bash.
+  # Generated by `_HATCH_COMPLETE=source hatch > hatch_complete.sh`
+  install -Dm644 hatch_complete.sh 
"${pkgdir}/usr/share/bash-completion/completions/${_name}"
+
+  # Tab completion for Zsh.
+  # Generated by `_HATCH_COMPLETE=source_zsh hatch > hatch_complete.zsh`
+  install -Dm644 hatch_complete.zsh 
"${pkgdir}/usr/share/zsh/site-functions/_${_name}"
+}

Added: python-hatch/hatch_complete.sh
===
--- python-hatch/hatch_complete.sh  (rev 0)
+++ python-hatch/hatch_complete.sh  2022-03-24 14:50:08 UTC (rev 1174730)
@@ -0,0 +1,21 @@
+_hatch_completion() {
+local IFS=$'
+'
+COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
+   COMP_CWORD=$COMP_CWORD \
+   _HATCH_COMPLETE=complete $1 ) )
+return 0
+}
+
+_hatch_completionetup() {
+local COMPLETION_OPTIONS=""
+local BASH_VERSION_ARR=(${BASH_VERSION//./ })
+# Only BASH version 4.4 and later have the nosort option.
+if [ ${BASH_VERSION_ARR[0]} -gt 4 ] || ([ ${BASH_VERSION_ARR[0]} -eq 4 ] 
&& [ ${BASH_VERSION_ARR[1]} -ge 4 ]); then
+COMPLETION_OPTIONS="-o nosort"
+fi
+
+complete $COMPLETION_OPTIONS -F _hatch_completion hatch
+}
+
+_hatch_completionetup;

Added: python-hatch/hatch_complete.zsh
===
--- python-hatch/hatch_complete.zsh (rev 0)
+++ python-hatch/hatch_complete.zsh 2022-03-24 14:50:08 UTC (rev 1174730)
@@ -0,0 +1,28 @@
+_hatch_completion() {
+local -a completions
+local -a completions_with_descriptions
+local -a response
+response=("${(@f)$( env COMP_WORDS="${words[*]}" \
+COMP_CWORD=$((CURRENT-1)) \
+_HATCH_COMPLETE="complete_zsh" \
+hatch )}")
+
+for key descr in ${(kv)response}; do
+  if [[ "$descr" == "_" ]]; then
+  completions+=("$key")
+  else
+  completions_with_descriptions+=("$key":"$descr")
+  fi
+done
+
+if [ -n "$completions_with_descriptions" ]; then
+_describe -V unsorted completions_with_descriptions -U -Q
+fi
+
+if [ -n "$completions" ]; then
+compadd -U -V unsorted -Q -a completions
+fi
+compstate[insert]="automenu"
+}
+
+compdef _hatch_completion hatch;



[arch-commits] Commit in (6 files)

2022-02-19 Thread George Rawlinson via arch-commits
Date: Sunday, February 20, 2022 @ 07:18:03
  Author: grawlinson
Revision: 1135223

addpkg: wallabag 2.4.3-1

Added:
  wallabag/
  wallabag/repos/
  wallabag/trunk/
  wallabag/trunk/PKGBUILD
  wallabag/trunk/sysusers.conf
  wallabag/trunk/tmpfiles.conf

---+
 PKGBUILD  |   78 
 sysusers.conf |1 
 tmpfiles.conf |2 +
 3 files changed, 81 insertions(+)

Added: wallabag/trunk/PKGBUILD
===
--- wallabag/trunk/PKGBUILD (rev 0)
+++ wallabag/trunk/PKGBUILD 2022-02-20 07:18:03 UTC (rev 1135223)
@@ -0,0 +1,78 @@
+# Maintainer: George Rawlinson 
+# Contributor: Cedric Girard 
+# Contributor: Philipp Schmitt (philippschmittco)
+
+pkgname=wallabag
+pkgver=2.4.3
+pkgrel=1
+pkgdesc='Self hostable application for saving web pages'
+arch=('any')
+url='https://www.wallabag.org/'
+license=('MIT')
+makedepends=('systemd')
+depends=(
+  'php'
+  'php-gd'
+  'php-tidy'
+  'php-intl'
+  'pcre'
+)
+optdepends=(
+  'php-fpm: to run in FastCGI process manager'
+  'php-pgsql: to use a local PostgreSQL server'
+  'php-sqlite: to use the SQLite database backend'
+  'rabbitmq: to use a local RabbitMQ server for async import'
+  'redis: to use a local Redis server for async import'
+)
+options=('!strip')
+backup=("etc/$pkgname/parameters.yml")
+source=(
+  
"https://github.com/wallabag/wallabag/releases/download/$pkgver/wallabag-$pkgver.tar.gz;
+  'sysusers.conf'
+  'tmpfiles.conf'
+)
+sha512sums=('50c7603382941a3aa66ab32c0b3a9ae4bcb76abe38e266fe2264cb68686cb20ef2f3c7228d31a06dc67e2f455cea79b1f7e86cacc52bee1afecdfd348ef648e2'
+
'ca908931c495211128686209444df943634ddae2b143f7ff2c01367041d0dbf2e33c8020d65dcc2b087c0b834fb1b10f20fe80ba04a4323ed8aeb9118596184f'
+
'5f7afac354f496d0f3507b771774fe192f124365c92b016f752b02bacccfe785f189374ed68a3bb9adc7024d4878490c279318642d3b1a6ccdc90939631f1d3e')
+b2sums=('b4e4d8faacfae74db984a7c0574148e0934a404be1285f86a107494c8d97ed79758aa873989c8f28088ff32fce265fe74d6c7cc78413083704360c9da1e7dbdb'
+
'a54033dcdaf35462252f6252f990ee7808ee36ac83bcf16b3ec473f7003f0ae5b7e361dacadeef3f0b52ab0abb24cfe44983ab580fbdc5b6b9f7c2f7faf24254'
+
'3105875aae0131ae9728f96bde67917ad2906a08dd9dfe908dd193e48158cad600e4225523c088d6ce99aa8f9b5e779b3a6bb469b3f083acabe23004eac6ff12')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # fix directory
+  sed -i \
+-e "s@__DIR__.'/../@'/usr/share/$pkgname/@" \
+var/bootstrap.php.cache
+}
+
+package() {
+  # create required directories
+  install -vd \
+"$pkgdir/usr/share" \
+"$pkgdir/etc/$pkgname" \
+"$pkgdir/var/lib/$pkgname"
+
+  cp -r "$pkgname-$pkgver" "$pkgdir/usr/share/$pkgname"
+
+  # setup configuration file
+  mv -v "$pkgdir/usr/share/$pkgname/app/config/parameters.yml" 
"$pkgdir/etc/$pkgname"
+  ln -vsf "/etc/$pkgname/parameters.yml" 
"$pkgdir/usr/share/$pkgname/app/config/parameters.yml"
+
+  # setup data/var directories
+  mv -v "$pkgdir/usr/share/$pkgname/"{data,var} "$pkgdir/var/lib/$pkgname"
+  ln -vsf "/var/lib/$pkgname/"{data,var} "$pkgdir/usr/share/$pkgname/"
+
+
+  # allow 'download images locally' option
+  mv -v "$pkgdir/usr/share/$pkgname/web/assets/images" 
"$pkgdir/var/lib/$pkgname"
+  ln -vsf "/var/lib/$pkgname/images" 
"$pkgdir/usr/share/$pkgname/web/assets/images"
+
+  # systemd integration
+  install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+  install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" 
"$pkgname-$pkgver/COPYING.md"
+}

Added: wallabag/trunk/sysusers.conf
===
--- wallabag/trunk/sysusers.conf(rev 0)
+++ wallabag/trunk/sysusers.conf2022-02-20 07:18:03 UTC (rev 1135223)
@@ -0,0 +1 @@
+u wallabag - "Wallabag user" /var/lib/wallabag

Added: wallabag/trunk/tmpfiles.conf
===
--- wallabag/trunk/tmpfiles.conf(rev 0)
+++ wallabag/trunk/tmpfiles.conf2022-02-20 07:18:03 UTC (rev 1135223)
@@ -0,0 +1,2 @@
+Z /var/lib/wallabag - wallabag wallabag
+Z /etc/wallabag - wallabag wallabag



[arch-commits] Commit in (6 files)

2022-02-18 Thread Antonio Rojas via arch-commits
Date: Friday, February 18, 2022 @ 20:07:37
  Author: arojas
Revision: 1134187

New lib32-gstreamer dependency

Added:
  lib32-libsoup3/
  lib32-libsoup3/repos/
  lib32-libsoup3/repos/multilib-x86_64/
  lib32-libsoup3/repos/multilib-x86_64/PKGBUILD
  lib32-libsoup3/trunk/
  lib32-libsoup3/trunk/PKGBUILD

+
 repos/multilib-x86_64/PKGBUILD |   70 
 trunk/PKGBUILD |   74 +++
 2 files changed, 144 insertions(+)

Added: lib32-libsoup3/repos/multilib-x86_64/PKGBUILD
===
--- lib32-libsoup3/repos/multilib-x86_64/PKGBUILD   
(rev 0)
+++ lib32-libsoup3/repos/multilib-x86_64/PKGBUILD   2022-02-18 20:07:37 UTC 
(rev 1134187)
@@ -0,0 +1,70 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Maximilian Stein 
+# Contributor: josephgbr 
+
+pkgname=lib32-libsoup
+pkgver=2.74.2
+pkgrel=1
+pkgdesc='HTTP client/server library for GNOME'
+url=https://wiki.gnome.org/Projects/libsoup
+arch=(x86_64)
+license=(LGPL)
+depends=(
+  lib32-brotli
+  lib32-glib-networking
+  lib32-krb5
+  lib32-libxml2
+  lib32-sqlite
+  lib32-libpsl
+  libsoup
+)
+makedepends=(
+  git
+  meson
+  samba
+)
+checkdepends=(
+  apache
+  php-apache
+)
+optdepends=('samba: Windows Domain SSO')
+_commit=2add3502a7de754f4aed61571f6cb45094e8f443  # tags/2.74.2^0
+source=(git+https://gitlab.gnome.org/GNOME/libsoup.git#tag=${_commit})
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libsoup
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG='i686-pc-linux-gnu-pkg-config'
+
+  arch-meson libsoup build \
+--libdir=/usr/lib32 \
+-D introspection=disabled \
+-D sysprof=disabled \
+-D vapi=disabled
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(
+libbrotlidec.so
+libgssapi_krb5.so
+libg{lib,object,io}-2.0.so
+libpsl.so
+  )
+  provides+=(libsoup{,-gnome}-2.4.so)
+
+  meson install -C build --destdir "${pkgdir}"
+  rm -rf "${pkgdir}"/usr/{include,share}
+}
+
+# vim:set sw=2 et:

Added: lib32-libsoup3/trunk/PKGBUILD
===
--- lib32-libsoup3/trunk/PKGBUILD   (rev 0)
+++ lib32-libsoup3/trunk/PKGBUILD   2022-02-18 20:07:37 UTC (rev 1134187)
@@ -0,0 +1,74 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Maximilian Stein 
+# Contributor: josephgbr 
+
+pkgname=lib32-libsoup3
+pkgver=3.0.4
+pkgrel=1
+pkgdesc='HTTP client/server library for GNOME'
+url=https://wiki.gnome.org/Projects/libsoup
+arch=(x86_64)
+license=(LGPL)
+depends=(
+  lib32-brotli
+  lib32-glib-networking
+  lib32-krb5
+  lib32-libxml2
+  lib32-sqlite
+  lib32-libpsl
+  lib32-libnghttp2
+  libsoup3
+)
+makedepends=(
+  git
+  meson
+  samba
+)
+checkdepends=(
+  apache
+  php-apache
+  python-quart
+)
+optdepends=('samba: Windows Domain SSO')
+_commit=25a728020c4b53b5db4c4c675070e92f947fbd4d  # tags/3.0.4^0
+source=(git+https://gitlab.gnome.org/GNOME/libsoup.git#tag=${_commit})
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libsoup
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG='i686-pc-linux-gnu-pkg-config'
+
+  arch-meson libsoup build \
+--libdir=/usr/lib32 \
+-D gtk_doc=false \
+-D autobahn=disabled \
+-D introspection=disabled \
+-D sysprof=disabled \
+-D vapi=disabled
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(
+libbrotlidec.so
+libgssapi_krb5.so
+libg{lib,object,io}-2.0.so
+libpsl.so
+  )
+  provides+=(libsoup-3.0.so)
+
+  meson install -C build --destdir "${pkgdir}"
+  rm -rf "${pkgdir}"/usr/{include,share}
+}
+
+# vim:set sw=2 et:



[arch-commits] Commit in (6 files)

2022-02-13 Thread David Runge via arch-commits
Date: Sunday, February 13, 2022 @ 23:49:34
  Author: dvzrv
Revision: 1133098

Add python-spsdk as new dependency for python-pynitrokey.

Remove version pinning: https://github.com/NXPmicro/spsdk/issues/35
Remove use of pypemicro:
https://github.com/NXPmicro/pypemicro/issues/10
https://github.com/NXPmicro/spsdk/issues/30
Remove use of pyocd-pemicro:
https://github.com/pyocd/pyOCD/issues/1319
Remove use of libusbsio: https://github.com/NXPmicro/spsdk/issues/36

Added:
  python-spsdk/
  python-spsdk/repos/
  python-spsdk/trunk/
  python-spsdk/trunk/PKGBUILD
  python-spsdk/trunk/python-spsdk-1.6.0-remove_libusbsio.patch
  python-spsdk/trunk/python-spsdk-1.6.0-remove_pypemicro.patch

---+
 PKGBUILD  |   96 
 python-spsdk-1.6.0-remove_libusbsio.patch |  129 
 python-spsdk-1.6.0-remove_pypemicro.patch |   28 ++
 3 files changed, 253 insertions(+)

Added: python-spsdk/trunk/PKGBUILD
===
--- python-spsdk/trunk/PKGBUILD (rev 0)
+++ python-spsdk/trunk/PKGBUILD 2022-02-13 23:49:34 UTC (rev 1133098)
@@ -0,0 +1,96 @@
+# Maintainer: David Runge 
+
+_name=spsdk
+pkgname=python-spsdk
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="NXP Secure Provisioning SDK"
+arch=(any)
+url="https://github.com/NXPmicro/spsdk;
+license=(BSD)
+depends=(
+  python-asn1crypto
+  python-astunparse
+  python-bincopy
+  python-bitstring
+  python-click
+  python-click-option-group
+  python-cmsis-pack-manager
+  python-colorama
+  python-commentjson
+  python-crcmod
+  python-cryptography
+  python-deepmerge
+  python-fastjsonschema
+  python-hexdump
+  python-jinja
+  python-oscrypto
+  python-pycryptodome
+  python-pylink-square
+  python-pyocd
+  python-pyserial
+  python-ruamel-yaml
+  python-sly
+)
+makedepends=(python-setuptools)
+checkdepends=(
+  python-jsonschema
+  python-pytest
+  python-voluptuous
+  python-yaml
+)
+# pypi sdist tarball has no tests: https://github.com/NXPmicro/spsdk/issues/37
+# 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
+source=(
+  
$_name-$pkgver.tar.gz::https://github.com/NXPmicro/$_name/archive/refs/tags/$pkgver.tar.gz
+  $pkgname-1.6.0-remove_pypemicro.patch
+  $pkgname-1.6.0-remove_libusbsio.patch
+)
+sha512sums=('ced4a60427ebf9f726ffdda5fb941cf07cfd9c13885a9683d0a098398f49b3b515ac6bfb44756710a7b7b9db1f08bba43e5dc61b41104e5be3e72dfe8070e593'
+
'7bfb3739053284ba0b4084c1f84e37e307233fa7b52adf403fa5c574393d71e08ea02bdc927106b036d1055f6efd6c326b534d697c1d5f6c097def53dbafc560'
+
'7774590f9e859ef1fb520876cb4e856dc8ce964769d16102bf0f480dd968074d0550d03e4601a314c88f57d627bf452f36b08d9a7fc5dc3374ab29c7fcc72da2')
+b2sums=('de62d70ef4ff9478693f5188b08819ed36104a7ae9df016d9e60d2293aeaa3b5256bcfd110c86f0ae87c0ad36e43d777a8fb15e0d7cd3b85f6db62a9fb894d95'
+
'2c68116494b5e7ff51e59ec79dd3e354e2a8035ab35e29b27a097d7baa47e48c71a2cdac651920c76cd29097c5e8710e74106e41a4b3d5f543e259ef7404beac'
+
'3aa82795c61ab419deaf60a29a2cadf549a2d4f1446e2af5b959fa22164845018a03028c4a7523564419d9bdb8eb73180607b8d12e63ed57579647643b7398bb')
+
+prepare() {
+  cd $_name-$pkgver
+  # remove all version pinning and overly explicit version bounds
+  # https://github.com/NXPmicro/spsdk/issues/35
+  sed -e 's|>=.*||g;s|==.*||g;s|~=.*||g;s|<.*||g' -i 
requirements{,-develop}.txt
+  # remove dependency on python-pypemicro as it vendors prebuilt shared 
libraries
+  # https://github.com/NXPmicro/spsdk/issues/30
+  # https://github.com/NXPmicro/pypemicro/issues/10
+  sed '/pypemicro/d' -i requirements.txt
+  patch -Np1 -i ../$pkgname-1.6.0-remove_pypemicro.patch
+  # remove dependency on python-pyocd-pemicro as it vendors prebuilt shared 
libraries via python-pypemicro
+  # https://github.com/pyocd/pyOCD/issues/1319
+  # https://github.com/NXPmicro/spsdk/issues/30
+  # https://github.com/NXPmicro/pypemicro/issues/10
+  sed '/pyocd-pemicro/d' -i requirements.txt
+  # remove dependency on python-libusbsio as it vendors prebuilt shared 
libraries
+  # https://github.com/NXPmicro/spsdk/issues/36
+  sed '/libusbsio/d' -i requirements.txt
+  patch -Np1 -i ../$pkgname-1.6.0-remove_libusbsio.patch
+}
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_name-$pkgver
+  export PYTHONPATH="build:$PYTHONPATH"
+  # ignore failing tests due to removal of libusbsio
+  # ignore failing tests due to incompatible bincopy: 
https://github.com/NXPmicro/spsdk/issues/38
+  pytest -v --ignore tests/utils/test_nxpdevscan.py --ignore 
tests/elftosb/test_elftosb_mbi.py \
+   -k "not test_parse_image_file_invalid and not test_load_binary_image"
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --optimize=1 --root="$pkgdir"
+  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -vDm 644 LICENSE -t 

[arch-commits] Commit in (6 files)

2022-02-11 Thread David Runge via arch-commits
Date: Friday, February 11, 2022 @ 20:48:17
  Author: dvzrv
Revision: 1132230

Add python-pyocd as dependency for python-spsdk (new dependency for 
python-pynitrokey).

Added:
  python-pyocd/
  python-pyocd/repos/
  python-pyocd/trunk/
  python-pyocd/trunk/PKGBUILD
  python-pyocd/trunk/python-pyocd-0.33.1-optional_libusb_package.patch
  python-pyocd/trunk/python-pyocd-0.33.1-support_prettytable3.patch

---+
 PKGBUILD  |   81 +++
 python-pyocd-0.33.1-optional_libusb_package.patch |  138 
 python-pyocd-0.33.1-support_prettytable3.patch|   12 +
 3 files changed, 231 insertions(+)

Added: python-pyocd/trunk/PKGBUILD
===
--- python-pyocd/trunk/PKGBUILD (rev 0)
+++ python-pyocd/trunk/PKGBUILD 2022-02-11 20:48:17 UTC (rev 1132230)
@@ -0,0 +1,81 @@
+# Maintainer: David Runge 
+
+_name=pyocd
+pkgname=python-pyocd
+pkgver=0.33.1
+pkgrel=1
+pkgdesc="Programming and debugging Arm Cortex-M microcontrollers"
+arch=(any)
+url="https://github.com/pyocd/pyOCD;
+license=(Apache)
+depends=(
+  python-capstone
+  python-cmsis-pack-manager
+  python-colorama
+  python-intelhex
+  python-intervaltree
+  python-natsort
+  python-prettytable
+  python-pyelftools
+  python-pylink-square
+  python-pyusb
+  python-pyyaml
+  python-six
+  python-typing-extensions
+)
+makedepends=(python-setuptools python-setuptools-scm python-toml python-wheel)
+checkdepends=(python-pytest python-typing-extensions)
+provides=(pyocd)
+conflicts=(pyocd)
+replaces=(pyocd)
+source=(
+  
"https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;
+  $pkgname-0.33.1-optional_libusb_package.patch
+  $pkgname-0.33.1-support_prettytable3.patch
+)
+sha512sums=('52acb68a5e938509df25d79b12af4374cbc98a4beb7771d039fa9de31ebb779bf098398c311ed96ddf7f38ee1b29e5eb1cdc950ad458a86187185cef1e7d12d5'
+
'cbcf65ead4f72025c28e9d42e7947db9671c8de62a797dc27d1198dbdb164afe51b5cafb83224e5c0797b5ae6ea8a9f91080aae81f00934309645a47d0154eaf'
+
'196bd3ad3718baf881ab3ca30d7e135be180e1185ccbc0e8f854a5754d5bf53d048985f970cbe943fb02228e82c0d07e56d74ddb28b72b078bdb997464b3d35c')
+b2sums=('2dfefd23fef60bc667de095781e071afcfd93299792473a19b9f508ee856ae1dfd0ff7be075ddcddae79717424134b4b30a0ec224a174397ba3303952cfa0cc0'
+
'dfed46c4e852cf28029573acd49aef06e51a328085ebc40bd7110c1900f480e77ade970c9b4d5574e9966cab996014b503991fdb8879aa9113f9d8091edb'
+
'4447a64d11b4cb480762d323681c08b3f5e0d8e50f2b776faf6a53ed69eb3b492973146d837a310b272e7aac9578c7e54e641100229d8df783ee6179b30857ba')
+
+prepare() {
+  cd $_name-$pkgver
+  # support prettytable >= 3.0: https://github.com/pyocd/pyOCD/pull/1330
+  patch -Np1 -i ../$pkgname-0.33.1-support_prettytable3.patch
+
+  # python-pyocd-pemicro drags in obfuscated prebuilt shared objects via 
python-pypemicro:
+  # https://github.com/NXPmicro/pypemicro/issues/10
+  # https://github.com/pyocd/pyOCD/issues/1319
+  sed '/pyocd_pemicro/d' -i setup.cfg
+
+  # we remove the dependency for libusb-package, because it would vendor libusb
+  # https://github.com/pyocd/pyOCD/issues/1331
+  sed '/libusb-package/d' -i setup.cfg
+  patch -Np1 -i ../$pkgname-0.33.1-optional_libusb_package.patch
+
+  # tag devices with uaccess to automatically make them available to active 
user sessions
+  sed -e 's|MODE:="666"|MODE:="0660", TAG+="uaccess"|g' -i 
udev/*{cmsis,pico}*.rules
+  sed -e 's|MODE:="0666"|MODE:="0660", TAG+="uaccess"|g' -i udev/*stlink*.rules
+}
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_name-$pkgver
+  export PYTHONPATH="build:$PYTHONPATH"
+  # do not run tests that would require packaging python-elapsedtimer
+  # https://github.com/pyocd/pyOCD/issues/1333
+  pytest -v --ignore test/unit/test_semihosting.py
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --optimize=1 --root="$pkgdir"
+  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -vDm 644 udev/*.rules -t "$pkgdir/usr/lib/udev/rules.d/"
+}

Added: python-pyocd/trunk/python-pyocd-0.33.1-optional_libusb_package.patch
===
--- python-pyocd/trunk/python-pyocd-0.33.1-optional_libusb_package.patch
(rev 0)
+++ python-pyocd/trunk/python-pyocd-0.33.1-optional_libusb_package.patch
2022-02-11 20:48:17 UTC (rev 1132230)
@@ -0,0 +1,138 @@
+diff --git c/pyocd/probe/picoprobe.py w/pyocd/probe/picoprobe.py
+index 481e984f..14d1214d 100644
+--- c/pyocd/probe/picoprobe.py
 w/pyocd/probe/picoprobe.py
+@@ -18,8 +18,12 @@
+ from array import array
+ 
+ from time import sleep
++try:
++from libusb_package import find as usb_find
++except ImportError:
++from usb.core import find as usb_find
++
+ from usb import core, util
+-import libusb_package
+ 
+ 

[arch-commits] Commit in (6 files)

2022-02-04 Thread Caleb Maclennan via arch-commits
Date: Friday, February 4, 2022 @ 23:14:59
  Author: alerque
Revision: 1126276

Migrate syncplay from AUR

Added:
  syncplay/
  syncplay/repos/
  syncplay/trunk/
  syncplay/trunk/PKGBUILD
  syncplay/trunk/syncplay.conf
  syncplay/trunk/syncplay.service

--+
 PKGBUILD |   33 +
 syncplay.conf|   13 +
 syncplay.service |   12 
 3 files changed, 58 insertions(+)

Added: syncplay/trunk/PKGBUILD
===
--- syncplay/trunk/PKGBUILD (rev 0)
+++ syncplay/trunk/PKGBUILD 2022-02-04 23:14:59 UTC (rev 1126276)
@@ -0,0 +1,33 @@
+# Maintainer: Caleb Maclennan 
+# Contributor: Alexandria Pettit 
+# Contributor: Jorge Israel Peña 
+# Contributor: mrAppleXZ 
+
+pkgname=syncplay
+pkgver=1.6.9
+pkgrel=4
+pkgdesc='Synchronize watching movies on mplayer2, vlc, mpv, and mpc-hc across 
many computers'
+arch=(any)
+url=http://syncplay.pl
+_url="https://github.com/Syncplay/$pkgname;
+license=(Apache)
+depends=(python
+ python-twisted)
+optdepends=('pyside2: GUI'
+'python-service-identity: TLS'
+'python-certifi: TLS')
+backup=("etc/$pkgname/server.conf")
+_archive="$pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz"
+"$pkgname.service"
+"$pkgname.conf")
+sha256sums=('b4acaf009b816dcb3261d9b327aace9005494f0977944b65e3623d50eb465972'
+'bbbf8f9dfc36631b49ba7d0fe3f980066b30a544954680a677e5e8629b7e0a8b'
+'df3c7656024d60c59664c79f4890f7780a2c5b8b537ac61b017e16b3d4420808')
+
+package() {
+   install -Dm0644 "$pkgname.service" 
"$pkgdir/usr/lib/systemd/system/$pkgname@.service"
+   install -Dm0644 "$pkgname.conf" "$pkgdir/etc/$pkgname/server.conf"
+   cd "$_archive"
+   make PREFIX=/usr DESTDIR="$pkgdir" install
+}

Added: syncplay/trunk/syncplay.conf
===
--- syncplay/trunk/syncplay.conf(rev 0)
+++ syncplay/trunk/syncplay.conf2022-02-04 23:14:59 UTC (rev 1126276)
@@ -0,0 +1,13 @@
+# This is the file that syncplay@.service loads settings from, it does not 
affect the binary itself
+# See https://syncplay.pl/guide/server/ for a list of available flags and 
description
+#port="--port=8999"
+#isolate="--isolate-room"
+#password="--password yourpassword"
+#salt="--salt RANDOMSALT"
+#motd="--motd-file /etc/syncplay/motd"
+#ready="--disable-ready"
+#chat="--disable-chat"
+#maxChars="--max-chat-message-length 500"
+#usernameLength="--max-username-length 20"
+#statsFile="--stats-db-file /etc/syncplay/stats.db"
+#tls="--tls /etc/letsencrypt/live/syncplay.example.com/"

Added: syncplay/trunk/syncplay.service
===
--- syncplay/trunk/syncplay.service (rev 0)
+++ syncplay/trunk/syncplay.service 2022-02-04 23:14:59 UTC (rev 1126276)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Syncplay Server
+After=network.target
+
+[Service]
+Type=simple
+User=%I
+EnvironmentFile=/etc/syncplay/server.conf
+ExecStart=/usr/bin/syncplay-server $port $isolate $password $salt $motd $ready 
$chat $maxChars $usernameLength $statsFile $tls
+
+[Install]
+WantedBy=multi-user.target



[arch-commits] Commit in (6 files)

2022-02-04 Thread Caleb Maclennan via arch-commits
Date: Friday, February 4, 2022 @ 22:46:00
  Author: alerque
Revision: 1126219

Migrate zettlr from AUR

Added:
  zettlr/
  zettlr/repos/
  zettlr/trunk/
  zettlr/trunk/PKGBUILD
  zettlr/trunk/zettlr.sh
  zettlr/trunk/zettlr.xml

+
 PKGBUILD   |   72 +++
 zettlr.sh  |3 ++
 zettlr.xml |   18 ++
 3 files changed, 93 insertions(+)

Added: zettlr/trunk/PKGBUILD
===
--- zettlr/trunk/PKGBUILD   (rev 0)
+++ zettlr/trunk/PKGBUILD   2022-02-04 22:46:00 UTC (rev 1126219)
@@ -0,0 +1,72 @@
+# Maintainer: Caleb Maclennan 
+# Contributor: BrLi 
+
+pkgname=zettlr
+_pkgname=${pkgname^}
+pkgver=2.1.3
+pkgrel=3
+pkgdesc='A Markdown Editor for the 21st century'
+arch=(x86_64)
+url=https://www.zettlr.com
+_url="https://github.com/$_pkgname/$_pkgname;
+license=(GPL)
+_electron=electron
+depends=(crimson-font
+ $_electron
+ pandoc
+ ttf-inconsolata
+ ttf-liberation)
+makedepends=(gendesk
+ git
+ nodejs-lts-gallium # grep NODE_VERSION .github/workflows/build.yml
+ yarn)
+optdepends=('texlive-bin: For Latex support')
+_archive="$_pkgname-$pkgver"
+source=("$_url/archive/v$pkgver/$_archive.tar.gz"
+"$pkgname.sh"
+"$pkgname.xml")
+sha256sums=('ec77affb8a0db08bf480c9ec0b5caef771251e3b5e1f2ba9219bb7ce466c66fe'
+'e300f2cac217f98ab5c365dccc7581410bc296f2842d52f7f1520dd6679d20cf'
+'c3ecbb490a1d4fa5bc42f7166cc375e5629a452d25bb1d4facb5541938681292')
+
+_yarnargs="--cache-folder '$srcdir/cache' --link-folder '$srcdir/link'"
+
+prepare() {
+   local _electronVersion=$($_electron --version | sed -e 's/^v//')
+   gendesk -q -f -n \
+   --pkgname "$pkgname" \
+   --pkgdesc "$pkgdesc" \
+   --name "$_pkgname" \
+   --categories 'Office;' \
+   --mimetypes 'text-markdown;' \
+   --custom StartupWMClass="$_pkgname"
+   cd "$_archive"
+   echo -ne '#!/usr/bin/env bash\n\nexit 0' > scripts/get-pandoc.sh
+   sed -i -e '/"electron"/d' package.json
+   sed -e "s/@ELECTRON@/$_electron/" "../${source[1]}" > $pkgname.sh
+   yarn $_yarnargs install --frozen-lockfile --ignore-scripts
+   yarn $_yarnargs add --dev --no-lockfile electron@$_electronVersion
+   yarn $_yarnargs install --pure-lockfile # postinstall script installs 
electron-builder deps
+   ln -sf /usr/bin/pandoc resources/pandoc-linux-x64
+}
+
+build() {
+   cd "$_archive"
+   local NODE_ENV=''
+   yarn $_yarnargs reveal:build
+   yarn $_yarnargs package:linux-x64
+}
+
+package() {
+   install -Dm0644 -t "$pkgdir/usr/share/applications/" "$pkgname.desktop"
+   cd "$_archive"
+   install -Dm0755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+   local _destdir="usr/lib/$pkgname"
+   install -Dm0644 -t "$pkgdir/$_destdir/" \
+   "out/$_pkgname-linux-x64/resources/"{app.asar,icon.code.icns}
+   for px in 16 24 32 48 64 96 128 256 512 1024; do
+   install -Dm0644 "resources/icons/png/${px}x${px}.png" \
+   
"$pkgdir/usr/share/icons/hicolor/${px}x${px}/apps/$pkgname.png"
+   done
+   install -Dm0644 -t "$pkgdir/usr/share/mime/packages/" "../${source[2]}"
+}

Added: zettlr/trunk/zettlr.sh
===
--- zettlr/trunk/zettlr.sh  (rev 0)
+++ zettlr/trunk/zettlr.sh  2022-02-04 22:46:00 UTC (rev 1126219)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+exec @ELECTRON@ /usr/lib/zettlr/app.asar "$@"


Property changes on: zettlr/trunk/zettlr.sh
___
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: zettlr/trunk/zettlr.xml
===
--- zettlr/trunk/zettlr.xml (rev 0)
+++ zettlr/trunk/zettlr.xml 2022-02-04 22:46:00 UTC (rev 1126219)
@@ -0,0 +1,18 @@
+
+http://www.freedesktop.org/standards/shared-mime-info;>
+
+
+Markdown document
+
+
+
+
+Markdown document
+
+
+
+
+RMarkdown document
+
+
+



[arch-commits] Commit in (6 files)

2022-02-04 Thread Caleb Maclennan via arch-commits
Date: Friday, February 4, 2022 @ 21:14:55
  Author: alerque
Revision: 1126050

Migrate mattermost-desktop from AUR

Added:
  mattermost-desktop/
  mattermost-desktop/repos/
  mattermost-desktop/trunk/
  mattermost-desktop/trunk/PKGBUILD
  mattermost-desktop/trunk/mattermost-desktop.sh
  mattermost-desktop/trunk/mattermost.desktop

---+
 PKGBUILD  |   82 
 mattermost-desktop.sh |2 +
 mattermost.desktop|9 +
 3 files changed, 93 insertions(+)

Added: mattermost-desktop/trunk/PKGBUILD
===
--- mattermost-desktop/trunk/PKGBUILD   (rev 0)
+++ mattermost-desktop/trunk/PKGBUILD   2022-02-04 21:14:55 UTC (rev 1126050)
@@ -0,0 +1,82 @@
+# Maintainer: Caleb Maclennan 
+# Maintainer: Bruno Pagani 
+# Contributor: William Gathoye 
+# Contributor: Aleksandar Trifunović 
+# Contributor: Jan Was 
+# Contributor: AUR[Severus]
+
+pkgname=mattermost-desktop
+pkgver=5.0.3
+pkgrel=2
+pkgdesc='Mattermost Desktop application'
+arch=(x86_64)
+url="https://github.com/${pkgname/-//};
+license=(Apache)
+_electron=electron14
+_builderVersion='^22.14.5'
+depends=($_electron)
+makedepends=(git
+ gendesk
+ jq
+ moreutils
+ npm)
+_archive="${pkgname#*-}-$pkgver"
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+"$pkgname.sh")
+sha256sums=('cf73a7cec26b99b044911e1a366966eb9c7cb14cc82bd83b13b1ab15d41b3902'
+'1c2bf48b6397d04a5a536c5c9f4960db53249c838c380f03f808c612b00ba4c6')
+
+_npmargs="--cache '$srcdir/npm-cache' --no-audit --no-fund"
+
+prepare() {
+   gendesk -q -f -n \
+   --pkgname "$pkgname" \
+   --pkgdesc "$pkgdesc" \
+   --name Mattermost \
+   --categories 'Network;InstantMessaging;' \
+   --mimetypes 'x-scheme-handler/mattermost;' \
+   --custom StartupWMClass="$pkgname"
+   cd "$_archive"
+   sed -i -e "s/git rev-parse --short HEAD/echo $pkgver/" 
webpack.config.base.js
+   sed -e "s/@ELECTRON@/$_electron/" "../$pkgname.sh" > "$pkgname.sh"
+   sed -i -e 's#resources/linux#src/assets/linux#' electron-builder.json
+   sed -i -e 
's/--ia32//g;s/--mac//g;s/--arm64//g;s/--win//g;s/--universal//g' package.json
+   local electronDist="/usr/lib/$_electron"
+   local electronVersion="$(<"$electronDist"/version)"
+   # Do not build tar.gz, nor .deb or appimages
+   # Use electron version that matches system package
+   jq '
+   .linux .target |= ["dir"] |
+   {
+   "electronDist": $electronDist,
+   "electronVersion": $electronVersion
+   } + .
+   ' \
+   --arg electronDist "$electronDist" \
+   --arg electronVersion "$electronVersion" \
+   electron-builder.json |
+   sponge electron-builder.json
+   jq '
+   del(.devDependencies["electron"]) |
+   .devDependencies["electron-builder"] = 
$builderVersion
+   ' \
+   --arg electronVersion "$electronVersion" \
+   --arg builderVersion "$_builderVersion" \
+   package.json |
+   sponge package.json
+   npm $_npmargs install
+}
+
+build() {
+   cd "$_archive"
+   npm $_npmargs --offline run package:linux
+}
+
+package() {
+   cd "$_archive"
+   install -Dm0644 -t "$pkgdir/usr/lib/$pkgname/" 
release/linux*unpacked/resources/app.asar
+   install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+   install -Dm0644 src/assets/linux/icon.svg 
"$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
+   install -Dm0755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+   install -Dm0644 -t "$pkgdir/usr/share/applications/" 
"../$pkgname.desktop"
+}

Added: mattermost-desktop/trunk/mattermost-desktop.sh
===
--- mattermost-desktop/trunk/mattermost-desktop.sh  
(rev 0)
+++ mattermost-desktop/trunk/mattermost-desktop.sh  2022-02-04 21:14:55 UTC 
(rev 1126050)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec @ELECTRON@ /usr/lib/mattermost-desktop/app.asar --disable-dev-mode "$@"

Added: mattermost-desktop/trunk/mattermost.desktop
===
--- mattermost-desktop/trunk/mattermost.desktop (rev 0)
+++ mattermost-desktop/trunk/mattermost.desktop 2022-02-04 21:14:55 UTC (rev 
1126050)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Mattermost
+Comment=Mattermost Desktop application for Linux
+Exec=/usr/bin/mattermost-desktop

[arch-commits] Commit in (6 files)

2022-01-31 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, February 1, 2022 @ 04:03:36
  Author: svenstaro
Revision: 1121593

Prepare libdispatch move from AUR for telegram-desktop

Added:
  libdispatch/
  libdispatch/repos/
  libdispatch/trunk/
  libdispatch/trunk/PKGBUILD
  libdispatch/trunk/avoid-libkqueue.patch
  libdispatch/trunk/remove-werror.patch

---+
 PKGBUILD  |   41 +
 avoid-libkqueue.patch |   11 +++
 remove-werror.patch   |   10 ++
 3 files changed, 62 insertions(+)

Added: libdispatch/trunk/PKGBUILD
===
--- libdispatch/trunk/PKGBUILD  (rev 0)
+++ libdispatch/trunk/PKGBUILD  2022-02-01 04:03:36 UTC (rev 1121593)
@@ -0,0 +1,41 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Adrian Perez de Castro 
+pkgname=libdispatch
+pkgver=5.5.0
+pkgrel=1
+pkgdesc='Comprehensive support for concurrent code execution on multicore 
hardware'
+arch=('x86_64')
+url=https://apple.github.io/swift-corelibs-libdispatch
+license=('Apache')
+depends=('glibc')
+makedepends=('git' 'clang' 'cmake')
+provides=('libblocksruntime')
+source=("${pkgname}::git+https://github.com/apple/swift-corelibs-libdispatch.git#tag=swift-${pkgver%.0}-RELEASE;
+remove-werror.patch
+avoid-libkqueue.patch)
+sha512sums=('SKIP'
+
'd7d05ff6fa2ece40fea51e97f1af04e25ae9c2b55246fa2d753c446cff380262e611f9abb5112b7c7c94730362f0d06e0ccd867477c9470d1154e9c65e540529'
+
'9f954538eee6ca63170c9fcf28cbcc090392360157c03bb33783789182102854ab344b432ff9f5603b873cb2540ffecf83458be559757eb094286cb41d9ba9ea')
+
+prepare () {
+   cd "${pkgname}"
+   patch -p0 < "${srcdir}/remove-werror.patch"
+   patch -p0 < "${srcdir}/avoid-libkqueue.patch"
+}
+
+build () {
+   CC=clang CXX=clang++ cmake -S"${pkgname}" -Bbuild \
+   -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DBlocksRuntime_INCLUDE_DIR=/usr/include \
+   -DBlocksRuntime_LIBRARIES=/usr/lib/libBlocksRuntime.so
+   cmake --build build
+}
+
+check () {
+   cmake --build build -j 1 --target test
+}
+
+package () {
+   DESTDIR="${pkgdir}" cmake --install build
+}

Added: libdispatch/trunk/avoid-libkqueue.patch
===
--- libdispatch/trunk/avoid-libkqueue.patch (rev 0)
+++ libdispatch/trunk/avoid-libkqueue.patch 2022-02-01 04:03:36 UTC (rev 
1121593)
@@ -0,0 +1,11 @@
+--- tests/dispatch_test.c.orig
 tests/dispatch_test.c
+@@ -30,7 +30,7 @@
+ #include 
+ #if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
+ #include 
+-#if __has_include()
++#if __has_include() && !defined(__linux__)
+ #define HAS_SYS_EVENT_H 1
+ #include 
+ #else

Added: libdispatch/trunk/remove-werror.patch
===
--- libdispatch/trunk/remove-werror.patch   (rev 0)
+++ libdispatch/trunk/remove-werror.patch   2022-02-01 04:03:36 UTC (rev 
1121593)
@@ -0,0 +1,10 @@
+--- cmake/modules/DispatchCompilerWarnings.cmake.orig  2020-05-12 
13:13:59.619689872 +0300
 cmake/modules/DispatchCompilerWarnings.cmake   2020-05-12 
13:13:35.216171428 +0300
+@@ -2,7 +2,6 @@
+ if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
+   # TODO: someone needs to provide the msvc equivalent warning flags
+ else()
+-  
add_compile_options($<$,$>:-Werror>)
+   
add_compile_options($<$,$>:-Wall>)
+   
add_compile_options($<$,$>:-Wextra>)
+ 



[arch-commits] Commit in (6 files)

2022-01-17 Thread Maxim Baz via arch-commits
Date: Monday, January 17, 2022 @ 14:41:48
  Author: maximbaz
Revision: 1107773

wldash: add new pkg

Added:
  wldash/
  wldash/repos/
  wldash/repos/community-x86_64/
  wldash/trunk/
  wldash/trunk/PKGBUILD
  wldash/trunk/fix-cargo-lock.patch

--+
 PKGBUILD |   30 ++
 fix-cargo-lock.patch |   19 +++
 2 files changed, 49 insertions(+)

Added: wldash/trunk/PKGBUILD
===
--- wldash/trunk/PKGBUILD   (rev 0)
+++ wldash/trunk/PKGBUILD   2022-01-17 14:41:48 UTC (rev 1107773)
@@ -0,0 +1,30 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=wldash
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='Wayland launcher and dashboard'
+arch=('x86_64')
+url='https://git.sr.ht/~kennylevinsen/wldash'
+license=('GPL3')
+depends=('alsa-lib' 'dbus' 'fontconfig' 'gcc-libs' 'glibc' 'libpulse')
+makedepends=('cargo')
+source=("${pkgname}-${pkgver}.tar.gz::https://git.sr.ht/~kennylevinsen/${pkgname}/archive/v${pkgver}.tar.gz;
+"fix-cargo-lock.patch")
+sha512sums=('48f5356e76f77f9284b5533ee410b9a6ea2cb279da29f45d827ee521c4a46213909298e4c08c05cf1964b280d0cfb5124b0b85e85437c8289d7557194b95548d'
+
'887a94e2af4aac20c118f75a63b5b12f41b925efa3a685792953dda4b02d94d08c1048cc9db61794d296470c2b85fca1fc947ba0b6f5b60dfc0ffcbba11c242a')
+
+prepare() {
+cd "${pkgname}-v${pkgver}"
+patch -Np1 -i "${srcdir}/fix-cargo-lock.patch"
+}
+
+build() {
+cd "${pkgname}-v${pkgver}"
+cargo build --release --locked
+}
+
+package() {
+cd "${pkgname}-v${pkgver}"
+install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+}

Added: wldash/trunk/fix-cargo-lock.patch
===
--- wldash/trunk/fix-cargo-lock.patch   (rev 0)
+++ wldash/trunk/fix-cargo-lock.patch   2022-01-17 14:41:48 UTC (rev 1107773)
@@ -0,0 +1,19 @@
+commit 2538e41f001fa363d3459efe3b8102a354b06dd0
+Author: Kenny Levinsen 
+Date:   Sun Jan 16 23:16:30 2022 +0100
+
+Update Cargo.lock
+
+diff --git a/Cargo.lock b/Cargo.lock
+index 3da9a07..1ad4a86 100644
+--- a/Cargo.lock
 b/Cargo.lock
+@@ -796,7 +796,7 @@ checksum = 
"712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+ 
+ [[package]]
+ name = "wldash"
+-version = "0.2.0"
++version = "0.3.0"
+ dependencies = [
+  "alsa",
+  "bitflags",



[arch-commits] Commit in (6 files)

2022-01-14 Thread Leonidas Spyropoulos via arch-commits
Date: Friday, January 14, 2022 @ 13:52:40
  Author: artafinde
Revision: 1103243

freeplane: add 1.9.12 version

Added:
  freeplane/
  freeplane/repos/
  freeplane/trunk/
  freeplane/trunk/PKGBUILD
  freeplane/trunk/freeplane.desktop
  freeplane/trunk/freeplane.run

---+
 PKGBUILD  |   76 
 freeplane.desktop |   27 ++
 freeplane.run |3 ++
 3 files changed, 106 insertions(+)

Added: freeplane/trunk/PKGBUILD
===
--- freeplane/trunk/PKGBUILD(rev 0)
+++ freeplane/trunk/PKGBUILD2022-01-14 13:52:40 UTC (rev 1103243)
@@ -0,0 +1,76 @@
+# Maintainer: Leonidas Spyropoulos (artafinde at gmail dot com)
+# Contributor: scraw...@gmail.com
+
+pkgname=freeplane
+pkgver=1.9.12
+pkgrel=1
+pkgdesc="A Java mindmapping tool"
+arch=('any')
+url="http://freeplane.sourceforge.net;
+license=('GPL2')
+_jrever=8
+_jdkver=11
+makedepends=('gradle' "jdk${_jdkver}-openjdk" 'gnu-free-fonts' 'fontconfig')
+depends=("java-runtime>${_jrever}")
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_src-${pkgver}.tar.gz;
+"freeplane.desktop" "freeplane.run")
+b2sums=('f04980e46ffd1641b26f1269a0b020b11776142f9d14bfe619fa420dd94ab32d5efa54872d678776b60ab77257798423c72a810eef0d3403101310e40bfcea96'
+
'87c25331e01823e38668e4b394a51a279c05b24b088f4ffc1482d3783e24018da8f9e51b3ad1a62c5a863f85a6ccb30bbe8999cb861dc1b93d5483019644cfa5'
+
'24ca56b7c7894b9bb38600b4d37973769243e1bdb221f33125b60bf4f878a3b630775710fab9dee97fa45a69319455037e294860ba7fbd608529982c6b0b1538')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  export JAVA_HOME="/usr/lib/jvm/java-${_jdkver}-openjdk"
+  export PATH="/usr/lib/jvm/java-${_jdkver}-openjdk/bin:$PATH"
+  gradle -Dorg.gradle.daemon=false build
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/BIN"
+  # Copy plugins
+  find plugins -type f | while read file ; do
+install -Dm644 "${file}" "${pkgdir}/usr/share/freeplane/${file}"
+  done
+  # Copy docs (excluding API JavaDocs)
+  find doc -type f ! -path "*api*"| while read file; do
+install -Dm644 "${file}" "${pkgdir}/usr/share/freeplane/${file}"
+  done
+  # Copy various
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/framework.jar 
"${pkgdir}"/usr/share/freeplane/framework.jar
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/freeplane.l4j.ini 
"${pkgdir}"/usr/share/freeplane/freeplane.l4j.ini
+  install -Dm755 "${srcdir}/${pkgname}-${pkgver}/BIN"/freeplane.policy 
"${pkgdir}"/usr/share/freeplane/freeplane.policy
+  install -Dm755 "${srcdir}/${pkgname}-${pkgver}/BIN"/freeplane.sh 
"${pkgdir}"/usr/share/freeplane/freeplane.sh
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/freeplaneConsole.l4j.ini 
"${pkgdir}"/usr/share/freeplane/freeplaneConsole.l4j.ini
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/freeplaneIcons.dll 
"${pkgdir}"/usr/share/freeplane/freeplaneIcons.dll
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/freeplanelauncher.jar 
"${pkgdir}"/usr/share/freeplane/freeplanelauncher.jar
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/gitinfo.txt 
"${pkgdir}"/usr/share/freeplane/gitinfo.txt
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/init.xargs 
"${pkgdir}"/usr/share/freeplane/init.xargs
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/props.xargs 
"${pkgdir}"/usr/share/freeplane/props.xargs
+  # Copy core
+  install -dm755 
"${pkgdir}"/usr/share/freeplane/core/org.freeplane.core/META-INF/
+  install -Dm644 
"${srcdir}/${pkgname}-${pkgver}/BIN"/core/org.freeplane.core/META-INF/* 
"${pkgdir}"/usr/share/freeplane/core/org.freeplane.core/META-INF/
+  install -dm755 "${pkgdir}"/usr/share/freeplane/core/org.freeplane.core/lib
+  install -Dm644 
"${srcdir}/${pkgname}-${pkgver}/BIN"/core/org.freeplane.core/lib/* 
"${pkgdir}"/usr/share/freeplane/core/org.freeplane.core/lib
+  # Copy resources
+  install -dm755 "${pkgdir}"/usr/share/freeplane/resources/ortho/
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/resources/ortho/* 
"${pkgdir}"/usr/share/freeplane/resources/ortho/
+  install -dm755 "${pkgdir}"/usr/share/freeplane/resources/templates/
+  install -dm755 "${pkgdir}"/usr/share/freeplane/resources/templates/
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/resources/templates/* 
"${pkgdir}"/usr/share/freeplane/resources/templates/
+  install -dm755 "${pkgdir}"/usr/share/freeplane/resources/xslt/
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/resources/xslt/* 
"${pkgdir}"/usr/share/freeplane/resources/xslt/
+  install -dm755 "${pkgdir}"/usr/share/freeplane/resources/xml/
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/BIN"/resources/xml/* 
"${pkgdir}"/usr/share/freeplane/resources/xml/
+  install -Dm644 
"${srcdir}/${pkgname}-${pkgver}/BIN"/resources/gitinfo.properties 
"${pkgdir}"/usr/share/freeplane/resources/gitinfo.properties
+  

[arch-commits] Commit in (6 files)

2021-12-26 Thread Carsten Haitzler via arch-commits
Date: Sunday, December 26, 2021 @ 16:10:08
  Author: raster
Revision: 1083882

add evisum package

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

-+
 repos/community-x86_64/PKGBUILD |   30 ++
 trunk/PKGBUILD  |   30 ++
 2 files changed, 60 insertions(+)

Added: evisum/repos/community-x86_64/PKGBUILD
===
--- evisum/repos/community-x86_64/PKGBUILD  (rev 0)
+++ evisum/repos/community-x86_64/PKGBUILD  2021-12-26 16:10:08 UTC (rev 
1083882)
@@ -0,0 +1,30 @@
+# Maintainer: Carsten Haitzler 
+
+pkgname=rage
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="EFL Video and Music player"
+arch=('x86_64')
+url="https://www.enlightenment.org/about-rage;
+license=('BSD')
+depends=('efl')
+makedepends=('meson' 'ninja')
+source=("https://download.enlightenment.org/rel/apps/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
+sha256sums=('7ce58419aa5197aa6c33f2e3f9eb9d78ff379cae863d5fa114fd1428d5a1ca0f')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CFLAGS="${CFLAGS} -fvisibility=hidden"
+  meson build --prefix=/usr
+  ninja -C build
+}
+
+package(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  # install license files
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" AUTHORS
+}

Added: evisum/trunk/PKGBUILD
===
--- evisum/trunk/PKGBUILD   (rev 0)
+++ evisum/trunk/PKGBUILD   2021-12-26 16:10:08 UTC (rev 1083882)
@@ -0,0 +1,30 @@
+# Maintainer: Carsten Haitzler 
+
+pkgname=evisum
+pkgver=0.5.13
+pkgrel=1
+pkgdesc="EFL Process viewer"
+arch=('x86_64')
+url="https://www.enlightenment.org;
+license=('BSD')
+depends=('efl')
+makedepends=('meson' 'ninja')
+source=("https://download.enlightenment.org/rel/apps/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
+sha256sums=('4cc571c7b0fdc1dba3c8de8f71b2310bc33acdbcb99b2bf13bd02aa25adc58e6')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CFLAGS="${CFLAGS} -fvisibility=hidden"
+  meson build --prefix=/usr
+  ninja -C build
+}
+
+package(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  # install license files
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" AUTHORS
+}



[arch-commits] Commit in (6 files)

2021-12-26 Thread Carsten Haitzler via arch-commits
Date: Sunday, December 26, 2021 @ 16:05:52
  Author: raster
Revision: 1083880

add ephoto pkg

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

-+
 repos/community-x86_64/PKGBUILD |   30 ++
 trunk/PKGBUILD  |   30 ++
 2 files changed, 60 insertions(+)

Added: ephoto/repos/community-x86_64/PKGBUILD
===
--- ephoto/repos/community-x86_64/PKGBUILD  (rev 0)
+++ ephoto/repos/community-x86_64/PKGBUILD  2021-12-26 16:05:52 UTC (rev 
1083880)
@@ -0,0 +1,30 @@
+# Maintainer: Carsten Haitzler 
+
+pkgname=ecrire
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="EFL Simple Text editor"
+arch=('x86_64')
+url="https://www.enlightenment.org/;
+license=('GPL3')
+depends=('efl')
+makedepends=('meson' 'ninja')
+source=("https://download.enlightenment.org/rel/apps/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
+sha256sums=('d964598790d5b26767e21b7dbc09ca16867f530d50fa363c7694fd3c50995fdf')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CFLAGS="${CFLAGS} -fvisibility=hidden"
+  meson build --prefix=/usr
+  ninja -C build
+}
+
+package(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  # install license files
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" AUTHORS
+}

Added: ephoto/trunk/PKGBUILD
===
--- ephoto/trunk/PKGBUILD   (rev 0)
+++ ephoto/trunk/PKGBUILD   2021-12-26 16:05:52 UTC (rev 1083880)
@@ -0,0 +1,30 @@
+# Maintainer: Carsten Haitzler 
+
+pkgname=ephoto
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="EFL photo gallery viewer"
+arch=('x86_64')
+url="https://www.enlightenment.org/;
+license=('BSD')
+depends=('efl')
+makedepends=('meson' 'ninja')
+source=("https://download.enlightenment.org/rel/apps/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
+sha256sums=('36bc73f3ce1bf9c606630d0031d1629a115911e78b796fd1f90322b5886670d3')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CFLAGS="${CFLAGS} -fvisibility=hidden"
+  meson build --prefix=/usr
+  ninja -C build
+}
+
+package(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  # install license files
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" AUTHORS
+}



[arch-commits] Commit in (6 files)

2021-12-26 Thread Carsten Haitzler via arch-commits
Date: Sunday, December 26, 2021 @ 15:58:24
  Author: raster
Revision: 1083878

add ecrire pkg

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

-+
 repos/community-x86_64/PKGBUILD |   30 ++
 trunk/PKGBUILD  |   30 ++
 2 files changed, 60 insertions(+)

Added: ecrire/repos/community-x86_64/PKGBUILD
===
--- ecrire/repos/community-x86_64/PKGBUILD  (rev 0)
+++ ecrire/repos/community-x86_64/PKGBUILD  2021-12-26 15:58:24 UTC (rev 
1083878)
@@ -0,0 +1,30 @@
+# Maintainer: Carsten Haitzler 
+
+pkgname=rage
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="EFL Video and Music player"
+arch=('x86_64')
+url="https://www.enlightenment.org/about-rage;
+license=('BSD')
+depends=('efl')
+makedepends=('meson' 'ninja')
+source=("https://download.enlightenment.org/rel/apps/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
+sha256sums=('7ce58419aa5197aa6c33f2e3f9eb9d78ff379cae863d5fa114fd1428d5a1ca0f')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CFLAGS="${CFLAGS} -fvisibility=hidden"
+  meson build --prefix=/usr
+  ninja -C build
+}
+
+package(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  # install license files
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" AUTHORS
+}

Added: ecrire/trunk/PKGBUILD
===
--- ecrire/trunk/PKGBUILD   (rev 0)
+++ ecrire/trunk/PKGBUILD   2021-12-26 15:58:24 UTC (rev 1083878)
@@ -0,0 +1,30 @@
+# Maintainer: Carsten Haitzler 
+
+pkgname=ecrire
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="EFL Simple Text editor"
+arch=('x86_64')
+url="https://www.enlightenment.org/;
+license=('GPL3')
+depends=('efl')
+makedepends=('meson' 'ninja')
+source=("https://download.enlightenment.org/rel/apps/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
+sha256sums=('d964598790d5b26767e21b7dbc09ca16867f530d50fa363c7694fd3c50995fdf')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CFLAGS="${CFLAGS} -fvisibility=hidden"
+  meson build --prefix=/usr
+  ninja -C build
+}
+
+package(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  # install license files
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" AUTHORS
+}



[arch-commits] Commit in (6 files)

2021-12-26 Thread Carsten Haitzler via arch-commits
Date: Sunday, December 26, 2021 @ 15:53:42
  Author: raster
Revision: 1083874

add rage pkg

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

-+
 repos/community-x86_64/PKGBUILD |   34 ++
 trunk/PKGBUILD  |   30 ++
 2 files changed, 64 insertions(+)

Added: rage/repos/community-x86_64/PKGBUILD
===
--- rage/repos/community-x86_64/PKGBUILD(rev 0)
+++ rage/repos/community-x86_64/PKGBUILD2021-12-26 15:53:42 UTC (rev 
1083874)
@@ -0,0 +1,34 @@
+# Maintainer: Ronald van Haren 
+# Maintainer: Carsten Haitzler 
+# Contributor: Doug Newgard 
+# Contributor: Paul Ezvan 
+
+pkgname=terminology
+pkgver=1.11.0
+pkgrel=1
+pkgdesc="EFL based terminal emulator"
+arch=('x86_64')
+url="https://www.enlightenment.org/about-terminology;
+license=('BSD')
+depends=('efl')
+makedepends=('meson')
+source=("https://download.enlightenment.org/rel/apps/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
+sha256sums=('4fd884bd2ffbbc86d87163063074fbd969be04b17bb8d7e23cd1f6708fd86a2d')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CFLAGS="${CFLAGS} -fvisibility=hidden"
+  meson builddir --prefix=/usr
+  ninja -C builddir
+}
+
+package(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  DESTDIR="${pkgdir}" ninja -C builddir install
+
+  # install license files
+  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/COPYING" \
+"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}

Added: rage/trunk/PKGBUILD
===
--- rage/trunk/PKGBUILD (rev 0)
+++ rage/trunk/PKGBUILD 2021-12-26 15:53:42 UTC (rev 1083874)
@@ -0,0 +1,30 @@
+# Maintainer: Carsten Haitzler 
+
+pkgname=rage
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="EFL Video and Music player"
+arch=('x86_64')
+url="https://www.enlightenment.org/about-rage;
+license=('BSD')
+depends=('efl')
+makedepends=('meson' 'ninja')
+source=("https://download.enlightenment.org/rel/apps/${pkgname}/${pkgname}-${pkgver}.tar.xz;)
+sha256sums=('7ce58419aa5197aa6c33f2e3f9eb9d78ff379cae863d5fa114fd1428d5a1ca0f')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  export CFLAGS="${CFLAGS} -fvisibility=hidden"
+  meson build --prefix=/usr
+  ninja -C build
+}
+
+package(){
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  # install license files
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" AUTHORS
+}



[arch-commits] Commit in (6 files)

2021-12-19 Thread David Runge via arch-commits
Date: Sunday, December 19, 2021 @ 15:25:15
  Author: dvzrv
Revision: 1079048

Add function2 as dependency for yabridge.

Added:
  function2/
  function2/repos/
  function2/trunk/
  function2/trunk/PKGBUILD
  function2/trunk/function2-4.2.0-skip_docs.patch
  function2/trunk/function2-4.2.0-system_gtest.patch

+
 PKGBUILD   |   47 +++
 function2-4.2.0-skip_docs.patch|   12 
 function2-4.2.0-system_gtest.patch |   20 ++
 3 files changed, 79 insertions(+)

Added: function2/trunk/PKGBUILD
===
--- function2/trunk/PKGBUILD(rev 0)
+++ function2/trunk/PKGBUILD2021-12-19 15:25:15 UTC (rev 1079048)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge 
+
+pkgname=function2
+pkgver=4.2.0
+pkgrel=1
+pkgdesc="An improved drop-in replacement to std::function"
+arch=(any)
+url="https://naios.github.io/function2/;
+license=(Boost)
+makedepends=(cmake gtest)
+source=(
+  
"$pkgname-$pkgver.tar.gz::https://github.com/Naios/${pkgname}/archive/refs/tags/${pkgver}.tar.gz;
+  "$pkgname-4.2.0-system_gtest.patch"
+  "$pkgname-4.2.0-skip_docs.patch"
+)
+sha512sums=('c7e62a9d5c8d98a5ef82bb9a94c3bd6e72c845f732ab42eee734903ee23634cb39b04264f5cf33b0e1c3449d5a89fbab75c29e14426a1d78ed210b4d035c0951'
+
'fe7e5802dc150d415b43fecaf88d1fae3c38389844135bb20d66a577aa24d811ab9be9d662dcc03504eff77a54f2a42ba3516ae0f7d4ec552db39de78b7b1df1'
+
'fec342025298f2a74e1b1daf381ff80b13cdc6238577379a1d805f3e38e26c8d40a24e7894d943fcb1a1dd27dafb22b521c8e6847e0d155400871bcec0e15681')
+b2sums=('56758847676163da4a5d9650f53ead7ede3d1e2d8c822d53672237414b30498ed4c60f30d52247a88552fac72e1877e1e42ea1eadb48597993eb859b4b78dd4a'
+
'ec067d26551b1139acd133b04bf89a67d314e21025e39b38d9bdc134ba50eb58f8903eb6668a487bf07f29e308bd9b55a7aed90befbed06f48eaf020245a4535'
+
'83f7efdbaa4032716cc6a3718c8c6a1028961862c1305ebd39c2665da705fbe2ed66cd9d1806697436bdbedc2e60aa86403547e7f47fb1edfe01361253e36b20')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # use the system installed gtest
+  patch -Np1 -i ../"$pkgname-4.2.0-system_gtest.patch"
+  # skip installing docs (to a wrong location)
+  patch -Np1 -i ../"$pkgname-4.2.0-skip_docs.patch"
+}
+
+build() {
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE=None \
+-Wno-dev \
+-B build \
+-S "$pkgname-$pkgver"
+  make VERBOSE=1 -C build
+}
+
+check() {
+  make VERBOSE=1 -k test -C build
+}
+
+package() {
+  make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
+  install -vDm 644 "$pkgname-$pkgver/Readme.md" -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+}

Added: function2/trunk/function2-4.2.0-skip_docs.patch
===
--- function2/trunk/function2-4.2.0-skip_docs.patch 
(rev 0)
+++ function2/trunk/function2-4.2.0-skip_docs.patch 2021-12-19 15:25:15 UTC 
(rev 1079048)
@@ -0,0 +1,12 @@
+diff -ruN a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt   2021-06-16 19:21:46.0 +0200
 b/CMakeLists.txt   2021-12-19 16:09:47.936130466 +0100
+@@ -45,8 +45,6 @@
+   # Headers and license files
+   install(DIRECTORY "${PROJECT_SOURCE_DIR}/include/function2"
+   DESTINATION "include")
+-  install(FILES "LICENSE.txt" DESTINATION .)
+-  install(FILES "Readme.md" DESTINATION .)
+ 
+   # Config.cmake
+   write_basic_package_version_file(

Added: function2/trunk/function2-4.2.0-system_gtest.patch
===
--- function2/trunk/function2-4.2.0-system_gtest.patch  
(rev 0)
+++ function2/trunk/function2-4.2.0-system_gtest.patch  2021-12-19 15:25:15 UTC 
(rev 1079048)
@@ -0,0 +1,20 @@
+diff -ruN a/test/CMakeLists.txt b/test/CMakeLists.txt
+--- a/test/CMakeLists.txt  2021-06-16 19:21:46.0 +0200
 b/test/CMakeLists.txt  2021-12-19 16:06:28.983252614 +0100
+@@ -1,12 +1,12 @@
+ add_library(gtest STATIC
+-  "${CMAKE_CURRENT_LIST_DIR}/googletest/googletest/src/gtest-all.cc"
+-  "${CMAKE_CURRENT_LIST_DIR}/googletest/googletest/src/gtest_main.cc")
++  "/usr/src/googletest/src/gtest-all.cc"
++  "/usr/src/googletest/src/gtest_main.cc")
+ 
+ target_include_directories(gtest
+   PRIVATE
+-"${CMAKE_CURRENT_LIST_DIR}/googletest/googletest"
++"/usr/src/googletest"
+   PUBLIC
+-"${CMAKE_CURRENT_LIST_DIR}/googletest/googletest/include")
++"/usr/include/gtest")
+ 
+ target_compile_definitions(gtest
+   PUBLIC



[arch-commits] Commit in (6 files)

2021-12-18 Thread Orhun Parmaksiz via arch-commits
Date: Saturday, December 18, 2021 @ 19:50:47
  Author: orhun
Revision: 1077629

addpkg: fishfight 0.3-2

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

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

Added: fishfight/trunk/PKGBUILD
===
--- fishfight/trunk/PKGBUILD(rev 0)
+++ fishfight/trunk/PKGBUILD2021-12-18 19:50:47 UTC (rev 1077629)
@@ -0,0 +1,50 @@
+# Maintainer: Orhun Parmaksız 
+# Contributor: kleintux  
+
+_pkgname=FishFight
+pkgname=fishfight
+pkgver=0.3
+pkgrel=2
+pkgdesc="A tactical 2D shooter game"
+arch=('x86_64')
+url="https://fishfight.org/;
+license=('MIT' 'Apache')
+depends=('pkg-config' 'libx11' 'libxi' 'mesa-libgl' 'alsa-lib')
+makedepends=('rust' 'cmake')
+source=(
+  
"$pkgname-$pkgver.tar.gz::https://github.com/fishfight/FishFight/archive/v$pkgver.tar.gz;
+  "$pkgname.sh"
+)
+sha512sums=('83553106b481d4d738f57651d1f1b58892d6f91465862413a5db5adb25a00fef2eb884948a6f859daa6501bb015138c923348795d0d4419b2aa5cdf4c7fb84f9'
+
'73fc2765f9820f64fbce0b16d4d4d9a40563d4070a39815c6f4cdcefaa186c1346094ffcb972287fba487bc3f5dcaa29df38a150a9ad91e4022f252f2824f4fd')
+
+prepare() {
+  cd "$_pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$_pkgname-$pkgver"
+  cargo build --frozen --release
+}
+
+check() {
+  cd "$_pkgname-$pkgver"
+  cargo test --frozen
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+  install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/lib"
+  install -Dm 755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+
+  mkdir -p "$pkgdir/opt/$pkgname"
+  cp -r "assets" "$pkgdir/opt/$pkgname/"
+  find "$pkgdir/opt/$pkgname/assets/sounds/" -type f -exec chmod 444 {} \;
+
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm 644 docs/LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:

Added: fishfight/trunk/fishfight.sh
===
--- fishfight/trunk/fishfight.sh(rev 0)
+++ fishfight/trunk/fishfight.sh2021-12-18 19:50:47 UTC (rev 1077629)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+FISHFIGHT_ASSETS=/opt/fishfight/assets/ exec /usr/lib/fishfight "$@"



[arch-commits] Commit in (6 files)

2021-12-13 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, December 13, 2021 @ 09:28:00
  Author: svenstaro
Revision: 1071399

extra2community: Moving speech-dispatcher from extra to community

Added:
  speech-dispatcher/
  speech-dispatcher/repos/
  speech-dispatcher/trunk/
  speech-dispatcher/trunk/PKGBUILD
  speech-dispatcher/trunk/glib2.68.patch
  speech-dispatcher/trunk/speech-dispatcherd.service

+
 PKGBUILD   |   82 ++
 glib2.68.patch |  102 +++
 speech-dispatcherd.service |   10 
 3 files changed, 194 insertions(+)

Added: speech-dispatcher/trunk/PKGBUILD
===
--- speech-dispatcher/trunk/PKGBUILD(rev 0)
+++ speech-dispatcher/trunk/PKGBUILD2021-12-13 09:28:00 UTC (rev 1071399)
@@ -0,0 +1,82 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgbase=speech-dispatcher
+pkgname=(speech-dispatcher libspeechd)
+pkgver=0.10.2
+pkgrel=3
+arch=('x86_64')
+pkgdesc="High-level device independent layer for speech synthesis interface"
+url="http://www.freebsoft.org/speechd;
+license=('GPL2' 'FDL')
+makedepends=('intltool' 'espeak-ng' 'libltdl' 'python-xdg' 'dotconf' 
'libpulse' 'libao')
+source=("https://github.com/brailcom/speechd/releases/download/${pkgver}/speech-dispatcher-${pkgver}.tar.gz;
+'glib2.68.patch'
+'speech-dispatcherd.service')
+sha512sums=('9af240d9a15062489c170440911e9d148d0d113a0f22211f1496e9754345a5d079e160962d666801322dc2efa1134f8b5e209c0183d93a1f0896705dc6011122'
+
'098efb310446ebf25b80dac2a321bb1f5d74905d92a5f8a49838df687f5ef1e3bdae513f3b65451b8befcbaa485069730555c522ff96517adb74fcf41b2df85b'
+
'73eb563003b03f4836b17af66335664050d1dc3bd8434be368cd09ff8933aa2adc4bd17c4ce5c1bbbd406a0b0880191426a679fa05eac0a30f4005eaeeb47340')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # https://github.com/brailcom/speechd/issues/616
+  patch -Np1 -i ../glib2.68.patch
+
+  # Disabled due to bug: https://bugs.archlinux.org/task/35700
+  sed -i "s/cicero //g" configure.ac
+  sed -i "s/sd_cicero//g" src/modules/Makefile.am
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  CFLAGS+=' -fcommon' # 
https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+  ./configure --prefix=/usr \
+--enable-shared \
+--sysconfdir=/etc \
+--without-flite
+  make
+}
+
+package_speech-dispatcher() {
+  depends=("libspeechd=$pkgver-$pkgrel" 'libltdl' 'python-xdg' 'dotconf' 
'libpulse' 'libao')
+  optdepends=('festival: Speech output using Festival'
+  'espeak-ng: Speech output using ESpeak-ng'
+  'pulseaudio: PulseAudio support')
+  backup=(etc/speech-dispatcher/clients/emacs.conf
+ etc/speech-dispatcher/modules/ibmtts.conf
+ etc/speech-dispatcher/modules/espeak-generic.conf
+ etc/speech-dispatcher/modules/espeak.conf
+ etc/speech-dispatcher/modules/espeak-ng.conf
+ etc/speech-dispatcher/modules/swift-generic.conf
+ etc/speech-dispatcher/modules/festival.conf
+ etc/speech-dispatcher/modules/cicero.conf
+ etc/speech-dispatcher/modules/espeak-mbrola-generic.conf
+ etc/speech-dispatcher/modules/espeak-ng-mbrola-generic.conf
+ etc/speech-dispatcher/modules/dtk-generic.conf
+ etc/speech-dispatcher/modules/llia_phon-generic.conf
+ etc/speech-dispatcher/modules/ivona.conf
+ etc/speech-dispatcher/modules/epos-generic.conf
+  etc/speech-dispatcher/modules/flite.conf
+  etc/speech-dispatcher/modules/pico-generic.conf
+  etc/speech-dispatcher/speechd.conf)
+
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 "${srcdir}"/speech-dispatcherd.service 
"${pkgdir}/usr/lib/systemd/system/speech-dispatcherd.service"
+  install -d "${pkgdir}/var/log/speech-dispatcher"
+
+  sed -i 's|includedir=.*|includedir=${prefix}/include/speech-dispatcher|g' 
"${pkgdir}/usr/lib/pkgconfig/speech-dispatcher.pc"
+
+  mkdir -p "${srcdir}"/libspeechd/usr/lib
+  mv "${pkgdir}"/usr/include "${srcdir}"/libspeechd/usr
+  mv "${pkgdir}"/usr/lib/libspeechd*so* "${srcdir}"/libspeechd/usr/lib
+}
+
+package_libspeechd() {
+  mkdir -p "${pkgdir}"/usr/lib
+
+  mv "${srcdir}"/libspeechd/usr/include "${pkgdir}"/usr
+  mv "${srcdir}"/libspeechd/usr/lib/* "${pkgdir}"/usr/lib
+}

Added: speech-dispatcher/trunk/glib2.68.patch
===
--- speech-dispatcher/trunk/glib2.68.patch  (rev 0)
+++ speech-dispatcher/trunk/glib2.68.patch  2021-12-13 09:28:00 UTC (rev 
1071399)
@@ -0,0 +1,102 @@
+From a2faab416e42cbdf3d73f98578a89eb7a235e25a Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro 
+Date: Tue, 2 Feb 2021 14:50:23 -0600
+Subject: [PATCH] Fix build after glib e38982df
+
+glib.h now includes  when building as C++. But kali.cpp
+includes it 

[arch-commits] Commit in (6 files)

2021-12-10 Thread David Runge via arch-commits
Date: Friday, December 10, 2021 @ 19:16:01
  Author: dvzrv
Revision: 1068144

Add openapi-diff.

Added:
  openapi-diff/
  openapi-diff/repos/
  openapi-diff/trunk/
  openapi-diff/trunk/PKGBUILD
  openapi-diff/trunk/openapi-diff-2.0.0-remove_git_hooks.patch
  openapi-diff/trunk/openapi-diff.sh

---+
 PKGBUILD  |   44 
 openapi-diff-2.0.0-remove_git_hooks.patch |   40 +
 openapi-diff.sh   |4 ++
 3 files changed, 88 insertions(+)

Added: openapi-diff/trunk/PKGBUILD
===
--- openapi-diff/trunk/PKGBUILD (rev 0)
+++ openapi-diff/trunk/PKGBUILD 2021-12-10 19:16:01 UTC (rev 1068144)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge 
+
+pkgname=openapi-diff
+pkgver=2.0.0
+pkgrel=1
+pkgdesc=" Utility for comparing two OpenAPI specifications"
+arch=('any')
+url="https://github.com/OpenAPITools/openapi-diff;
+license=(Apache)
+depends=(bash java-runtime=8)
+makedepends=(maven java-environment=8 strip-nondeterminism)
+source=(
+  
"$pkgname-$pkgver.tar.gz::https://github.com/OpenAPITools/${pkgname}/archive/refs/tags/${pkgver}.tar.gz;
+  "${pkgname}.sh"
+  "${pkgname}-2.0.0-remove_git_hooks.patch"
+)
+sha512sums=('fdccada8baa86af63ff051027cc35967993335b276c0d202749ba7c983e6e11be4e219cdbeadd9784ee46cbb6c9535321b5ca41833606a3758d9f9ad79561e78'
+
'e4143cff09abc59958f50a969ed3f010ab39e640cf77081e47e77cf3e2bb785645100572fd18bc508ea441732bc13a5a811332fdbfdbd7f8a0d6865f301f978e'
+
'b427cb671aef57c8364f3c987ed822a9aaa1ae15e3a756529eedf6d5df77b9ff66489753cdbc327f820a49c3ececcec58b42ef62d723331b48a537a89754d199')
+b2sums=('6a252a07a862744c3431c3f215faa748e184e1df5ea0c8d46763a4f8c4e949ed64f361785ac657ec7d6198b459a2cd3b358c49d3210d0547c1fdb7e05f2b3ec5'
+
'a28a194b1b5c731fd3093c22754fc7f6641441ae2acb1ad177b8ee573d8e3787af2b249740ffd1e3472f721e0274d0866c0acf1bf5c85f4a22fe1c2dcf24af7b'
+
'4ea504d3765bb2428e16a097bfc6278228f09b16fa11e5cd39507bc0e64d277c47e111fa8f69013a0d53b76248ff653f29d77158e06432a7946fc1941d8ad3ec')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # remove maven plugin that requires git checkout: 
https://github.com/OpenAPITools/openapi-diff/issues/299
+  patch -Np1 -i ../"${pkgname}-2.0.0-remove_git_hooks.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  mvn clean install
+  # Timestamps in JAR files generated by Maven do not honour SOURCE_DATE_EPOCH
+  # (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318)
+  find . -type f -iname "*.jar" -exec strip-nondeterminism --timestamp 
"$SOURCE_DATE_EPOCH" {} \;
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -vDm 644  cli/target/openapi-diff-cli-2.0.0-all.jar 
"${pkgdir}/usr/share/java/${pkgname}/${pkgname}-cli.jar"
+  install -vDm 755 "../${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
+  ln -svf "${pkgname}" "${pkgdir}/usr/bin/${pkgname}-cli"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}

Added: openapi-diff/trunk/openapi-diff-2.0.0-remove_git_hooks.patch
===
--- openapi-diff/trunk/openapi-diff-2.0.0-remove_git_hooks.patch
(rev 0)
+++ openapi-diff/trunk/openapi-diff-2.0.0-remove_git_hooks.patch
2021-12-10 19:16:01 UTC (rev 1068144)
@@ -0,0 +1,40 @@
+diff -ruN a/pom.xml b/pom.xml
+--- a/pom.xml  2021-12-05 12:48:03.0 +0100
 b/pom.xml  2021-12-10 19:59:57.792629187 +0100
+@@ -288,11 +288,6 @@
+ 2.9.1
+ 
+ 
+-io.github.phillipuniverse
+-githook-maven-plugin
+-1.0.5
+-
+-
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 3.0.1
+@@ -346,24 +341,6 @@
+ 
+ 
+ 
+-
+-io.github.phillipuniverse
+-githook-maven-plugin
+-
+-
+-
+-install
+-
+-
+-
+-
+-mvn com.coveo:fmt-maven-plugin:format
+-
+-
+-
+-
+-
+-
+ 
+ org.jacoco
+ jacoco-maven-plugin

Added: openapi-diff/trunk/openapi-diff.sh
===
--- openapi-diff/trunk/openapi-diff.sh  (rev 0)
+++ openapi-diff/trunk/openapi-diff.sh  2021-12-10 19:16:01 UTC (rev 1068144)
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+

[arch-commits] Commit in (6 files)

2021-12-05 Thread Kpcyrd via arch-commits
Date: Sunday, December 5, 2021 @ 11:58:05
  Author: kpcyrd
Revision: 1065134

addpkg: spotify 1:1.1.72.439-2

Added:
  spotify/
  spotify/repos/
  spotify/trunk/
  spotify/trunk/LICENSE
  spotify/trunk/PKGBUILD
  spotify/trunk/spotify.protocol

--+
 LICENSE  |  349 +
 PKGBUILD |   86 +
 spotify.protocol |   11 +
 3 files changed, 446 insertions(+)

Added: spotify/trunk/LICENSE
===
--- spotify/trunk/LICENSE   (rev 0)
+++ spotify/trunk/LICENSE   2021-12-05 11:58:05 UTC (rev 1065134)
@@ -0,0 +1,349 @@
+Spotify Terms and Conditions of Use
+
+Effective as of 1 November 2016
+
+1 Introduction
+2 Changes to the Agreements
+3 Enjoying Spotify
+4 Rights we grant you
+5 Third Party Applications
+6 User-Generated Content
+7 Rights you grant us
+8 User guidelines
+9 Infringement and reporting User Content
+10 Service limitations and modifications
+11 Brand Accounts
+12 Spotify Support Community
+13 Customer support
+14 Export control
+15 Payments, cancellations, and cooling off
+16 Term and termination
+17 Warranty and disclaimer
+18 Limitation
+19 Third party rights
+20 Entire agreement
+21 Severability and waiver
+22 Assignment
+23 Indemnification
+24 Choice of law, mandatory arbitration and venue
+25 Contact us
+
+Hello, and welcome to our Terms and Conditions of Use. This is important and 
affects your legal rights, so please read them and our Privacy Policy and other 
terms referenced in this document carefully. We hope you’re sitting comfortably 
and listening to some great music. Here we go…
+
+1 Introduction
+
+Thanks for choosing Spotify ("Spotify", "we", "us", "our"). By signing up or 
otherwise using the Spotify service, websites, and software applications 
(together, the "Spotify Service" or "Service"), or accessing any content or 
material that is made available by Spotify through the Service (the "Content") 
you are entering into a binding contract with the Spotify entity indicated at 
the bottom of this document. The Spotify Service also includes the Spotify 
Support Community as further described in the Spotify Support Community section.
+
+The Spotify Service includes social and interactive features. Use of the 
Spotify Service relies on several technical requirements.
+
+Your agreement with us includes these Terms and Conditions of Use ("Terms") 
and our Privacy Policy. (The Terms, Privacy Policy, and any additional terms 
that you agree to, as discussed in the Entire Agreement section, are referred 
to together as the "Agreements".) If you wish to review the terms of the 
Agreements, the effective version of the Agreements can be found on Spotify’s 
website. You acknowledge that you have read and understood the Agreements, 
accept these Agreements, and agree to be bound by them. If you don’t agree with 
(or cannot comply with) the Agreements, then you may not use the Spotify 
Service or consume any Content.
+
+Please read the Agreements carefully. They cover important information about 
Spotify Services provided to you and any charges, taxes, and fees we bill you. 
The Agreements include information about future changes to the Agreements, 
export controls, automatic renewals, limitations of liability, privacy 
information, a class action waiver, and resolution of disputes by arbitration 
instead of in court.
+
+Any information that you provided during sign-up can be corrected during the 
sign-up process by returning to the previous screens and correcting erroneous 
information.
+
+In order to use the Spotify Service and access the Content, you need to (1) be 
18 or older, or be 13 or older and have your parent or guardian’s consent to 
the Agreements (except as set forth in the chart below), (2) have the power to 
enter a binding contract with us and not be barred from doing so under any 
applicable laws, and (3) be resident in a country where the Service is 
available. You also promise that any registration information that you submit 
to Spotify is true, accurate, and complete, and you agree to keep it that way 
at all times.
+
+If you are a resident of one of the following countries, reference this chart 
for your country-specific age restrictions:
+
+CountryAge Requirements
+Chile, Ecuador, Paraguay, Peru Must be 18 or older, or be 15 or older and have 
parent or guardian consent.
+Brazil Must be 18 or older, or be 16 or older and have parent or guardian 
consent.
+Nicaragua, Taiwan  Must be 20 or older, or be 13 or older and have parent 
or guardian consent.
+Bulgaria, Hungary, Germany Must be 18 or older, or be 14 or older and have 
parent or guardian consent.
+Italy  Must be 13 or older to use Free Service. To register for a Paid 
Subscription, you must be 18 or older, or be 13 or older and have parent or 
guardian consent (your parents/guardians will enter into contract on behalf of 

[arch-commits] Commit in (6 files)

2021-12-01 Thread Tim Meusel via arch-commits
Date: Wednesday, December 1, 2021 @ 11:51:13
  Author: bastelfreak
Revision: 1059259

initial release

Added:
  ruby-toml/
  ruby-toml/packages/
  ruby-toml/trunk/
  ruby-toml/trunk/PKGBUILD
  ruby-toml/trunk/disable_simplecov.patch
  ruby-toml/trunk/toml.gemspec.patch

-+
 PKGBUILD|   51 ++
 disable_simplecov.patch |   36 
 toml.gemspec.patch  |   19 +
 3 files changed, 106 insertions(+)

Added: ruby-toml/trunk/PKGBUILD
===
--- ruby-toml/trunk/PKGBUILD(rev 0)
+++ ruby-toml/trunk/PKGBUILD2021-12-01 11:51:13 UTC (rev 1059259)
@@ -0,0 +1,51 @@
+# Maintainer: Tim Meusel 
+
+_gemname='toml'
+pkgname="ruby-${_gemname}"
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Parser construction library with great error reporting in Ruby'
+arch=('any')
+url="https://github.com/jm/${_gemname};
+license=('MIT')
+makedepends=('ruby-rake' 'ruby-rdoc' 'ruby-bundler')
+checkdepends=('ruby-multi_json' 'ruby-minitest')
+depends=('ruby' 'ruby-parslet')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz" 
'disable_simplecov.patch' 'toml.gemspec.patch')
+options=("!emptydirs")
+sha512sums=('6587501de81dfe76d0516755ecb7c581d915fffeac00e8bc0cbcab71c2e49f557285a7ee596f3277b4959e19b84f76624caa248d3dd9d8221a9163bf4d87353f'
+
'c363263059cad44c3faa10553f1d8760c6f3cc072efa1f1cbdcf0a715da4173e9fac98dabdf72144d796c2ebc1496554438096018a1e41c088f8e513e0d8efdb'
+
'7caad4d0f0672cb2f7d25d506f0bde3b7ff7ad94f9196017dd86c67676cf81e91c88613eaf4f3b862b4ccf90fe1799ebecdc728d0dd9dc6e3a25661a7693f1b1')
+
+prepare() {
+  cd "${_gemname}-${pkgver}"
+  sed --in-place '/simplecov/d' Gemfile
+  patch --forward --verbose --strip=1 --input='../disable_simplecov.patch'
+  patch --forward --verbose --strip=1 --input='../toml.gemspec.patch'
+  # fix broken test
+  # that's fixed on master
+  sed --in-place 's/assert_equal original_date.to_time.to_s, 
parsed_date.to_time.to_s/assert_equal original_date.to_time.utc.to_s, 
parsed_date.to_time.utc.to_s/' test/test_generator.rb
+}
+
+build() {
+  cd "${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${_gemname}-${pkgver}"
+  rake test
+}
+
+package() {
+  cd "${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 README.md CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}
+
+# vim: ts=2 sw=2 et:

Added: ruby-toml/trunk/disable_simplecov.patch
===
--- ruby-toml/trunk/disable_simplecov.patch (rev 0)
+++ ruby-toml/trunk/disable_simplecov.patch 2021-12-01 11:51:13 UTC (rev 
1059259)
@@ -0,0 +1,36 @@
+diff --git a/Rakefile b/Rakefile
+index 24425f3..165c995 100644
+--- a/Rakefile
 b/Rakefile
+@@ -40,31 +40,6 @@ task :test do
+   Dir['./test/**/test_*.rb'].each {|f| require f }
+ end
+
+-desc "Generate RCov test coverage and open in your browser"
+-task :coverage do
+-  if RUBY_VERSION =~ /^1\./
+-require 'rubygems'
+-require 'bundler'
+-Bundler.setup(:test)
+-require 'simplecov'
+-require 'simplecov-gem-adapter'
+-
+-sh "rm -fr coverage"
+-SimpleCov.command_name 'Unit Tests'
+-SimpleCov.start 'gem'
+-Rake::Task[:test].invoke
+-SimpleCov.at_exit do
+-  SimpleCov.result.format!
+-  sh "open coverage/index.html"
+-end
+-  else
+-require 'rcov'
+-sh "rm -fr coverage"
+-sh "rcov test/test_*.rb"
+-sh "open coverage/index.html"
+-  end
+-end
+-
+ require 'rdoc/task'
+ Rake::RDocTask.new do |rdoc|
+   rdoc.rdoc_dir = 'rdoc'

Added: ruby-toml/trunk/toml.gemspec.patch
===
--- ruby-toml/trunk/toml.gemspec.patch  (rev 0)
+++ ruby-toml/trunk/toml.gemspec.patch  2021-12-01 11:51:13 UTC (rev 1059259)
@@ -0,0 +1,19 @@
+diff --git a/toml.gemspec b/toml.gemspec
+index ffe2492..292c3ce 100644
+--- a/toml.gemspec
 b/toml.gemspec
+@@ -26,12 +26,10 @@ Gem::Specification.new do |s|
+   s.rdoc_options = ["--charset=UTF-8"]
+   s.extra_rdoc_files = %w[README.md LICENSE CHANGELOG.md]
+
+-  s.add_dependency "parslet", "~> 1.8.0"
++  s.add_dependency "parslet", ">= 1.8.0"
+
+   s.add_development_dependency "rake"
+
+-  all_files   = `git ls-files -z`.split("\x0")
+-  s.files = all_files.grep(%r{^(bin|lib)/})
+-  s.executables   = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
++  s.files = `find . -print0`.split("\u").grep(/.\/lib/)
+   s.require_paths = ["lib"]
+ end



[arch-commits] Commit in (6 files)

2021-11-22 Thread Antonio Rojas via arch-commits
Date: Tuesday, November 23, 2021 @ 07:55:31
  Author: arojas
Revision: 1054423

New jupyter-server checkdepends

Added:
  python-pytest-console-scripts/
  python-pytest-console-scripts/repos/
  python-pytest-console-scripts/repos/community-any/
  python-pytest-console-scripts/repos/community-any/PKGBUILD
  python-pytest-console-scripts/trunk/
  python-pytest-console-scripts/trunk/PKGBUILD

--+
 repos/community-any/PKGBUILD |   26 ++
 trunk/PKGBUILD   |   25 +
 2 files changed, 51 insertions(+)

Added: python-pytest-console-scripts/repos/community-any/PKGBUILD
===
--- python-pytest-console-scripts/repos/community-any/PKGBUILD  
(rev 0)
+++ python-pytest-console-scripts/repos/community-any/PKGBUILD  2021-11-23 
07:55:31 UTC (rev 1054423)
@@ -0,0 +1,26 @@
+# Maintainer:
+
+pkgname=python-pytest-tornasync
+pkgver=0.6.0.post2
+pkgrel=1
+pkgdesc='py.test plugin for testing Python 3.5+ Tornado code'
+arch=(any)
+license=(MIT)
+url='https://github.com/eukaryote/pytest-tornasync'
+depends=(python-tornado python-pytest)
+makedepends=(python-setuptools)
+checkdepends=('python-pytest-asyncio')
+source=(https://pypi.python.org/packages/source/p/pytest-tornasync/pytest-tornasync-$pkgver.tar.gz)
+sha512sums=('2e258913b17a5442d18928833ee7e9771b6dbd148dbf251a7661432a54d4b9f9f3a7c396134eb544c0e3ce0af48c99d2d632399ac6ebdcf148187a7a523f4974')
+
+build() {
+  cd pytest-tornasync-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd pytest-tornasync-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  rm "$pkgdir"/usr/LICENSE
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Added: python-pytest-console-scripts/trunk/PKGBUILD
===
--- python-pytest-console-scripts/trunk/PKGBUILD
(rev 0)
+++ python-pytest-console-scripts/trunk/PKGBUILD2021-11-23 07:55:31 UTC 
(rev 1054423)
@@ -0,0 +1,25 @@
+# Maintainer:
+
+pkgname=python-pytest-console-scripts
+_pyname=pytest-console-scripts
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='Pytest plugin for testing console scripts'
+arch=(any)
+license=(MIT)
+url='https://github.com/kvas-it/pytest-console-scripts'
+depends=(python-pytest)
+makedepends=(python-setuptools-scm)
+source=(https://pypi.python.org/packages/source/p/$_pyname/$_pyname-$pkgver.tar.gz)
+sha512sums=('c2cd51a666ddae2488a54c1393adbeaad98748e621880f2b9172f0b14c227bc47a9ce46eaf4e31e86623a489160073a2990cdda80c04ef9ee22253b7853764dd')
+
+build() {
+  cd $_pyname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_pyname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



[arch-commits] Commit in (6 files)

2021-11-05 Thread Frederik Schwan via arch-commits
Date: Saturday, November 6, 2021 @ 00:46:42
  Author: freswa
Revision: 1037380

add wasi-libc++ and wasi-libc++abi

Added:
  wasi-libc++/
  wasi-libc++/repos/
  wasi-libc++/trunk/
  wasi-libc++/trunk/PKGBUILD
  wasi-libc++/trunk/WASI.cmake
  wasi-libc++/trunk/wasi-toolchain.cmake

--+
 PKGBUILD |  116 +
 WASI.cmake   |1 
 wasi-toolchain.cmake |   29 
 3 files changed, 146 insertions(+)

Added: wasi-libc++/trunk/PKGBUILD
===
--- wasi-libc++/trunk/PKGBUILD  (rev 0)
+++ wasi-libc++/trunk/PKGBUILD  2021-11-06 00:46:42 UTC (rev 1037380)
@@ -0,0 +1,116 @@
+# Maintainer: Frederik Schwan 
+
+pkgbase=wasi-libc++
+pkgname=(wasi-libc++ wasi-libc++abi)
+pkgver=12.0.1
+pkgrel=1
+arch=('any')
+url='https://libcxx.llvm.org/'
+license=('custom:Apache 2.0 with LLVM Exception')
+makedepends=('cmake' 'ninja' 'python' 'llvm' 'clang' 'wasi-libc' 
'wasi-compiler-rt')
+source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/llvm-$pkgver.src.tar.xz"{,.sig}
+
"https://github.com/llvm/llvm-project/releases/download/llvmorg-${pkgver}/libcxx-${pkgver}.src.tar.xz"{,.sig}
+
"https://github.com/llvm/llvm-project/releases/download/llvmorg-${pkgver}/libcxxabi-${pkgver}.src.tar.xz"{,.sig}
+WASI.cmake
+wasi-toolchain.cmake)
+b2sums=('60944688424ebb1f9c51b1f37e2b2a489deff557bf09e8c08a6761a22aea05ab8e46934bbb68a89f9c06e4aa1b381ba52a7894c4e8179867b4b6f5069f4ed539'
+'SKIP'
+
'1eae9c61470be9ba85c010efb047643883ea59c58b0ed59c44e2c6ae0335ecf6b0e9cf2088c09751310452bc851738466206eb21a314b153c1cc1197f7cf'
+'SKIP'
+
'1f653d32149f4ae3af72668ca0a7108766dc8368bd1eb37dfa06bb3b10bd8695379f62cfa569c1e0fad1be2d4535f92091dba703450e7539be915d9f668f'
+'SKIP'
+
'c829d807c257921fddb8c4d3752ad2291a2beb116d414dd31e34b7f6b01599d8c4807db87ef9930456ed8c9f30e8648e77028fa0b903c3a5ea840514f6022cf4'
+
'74c63bb838bc2e6d7980370fb3d47f8fd2f1dd8b6dc82302c7cc0b80e0fb1e8e21c1c62d6de0b78e478fc22611a5867e52b1ef7a566796fe831fffd98b17c940')
+options=('staticlibs')
+validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg 

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

+
+prepare() {
+  # Platform files have been copied from here 
https://github.com/WebAssembly/wasi-sdk
+  mkdir -p cmake/Platform
+  cp WASI.cmake cmake/Platform
+
+  mv libcxx-${pkgver}.src libcxx
+  mv libcxxabi-${pkgver}.src libcxxabi
+  mv llvm-${pkgver}.src llvm
+
+  sed -i 's/CREDITS.TXT/CREDITS/' libcxx/LICENSE.TXT libcxxabi/LICENSE.TXT
+}
+
+build() {
+  # Build options are derived from here 
https://github.com/WebAssembly/wasi-sdk/blob/main/Makefile
+
+  # Currently, wasi-sdk requires C++ code be compiled with -fno-exceptions. 
libc++abi is compiled, however is is currently compiled with exception-handling 
support disabled.
+  # https://github.com/WebAssembly/wasi-sdk/issues/52#issuecomment-530619365
+  cmake -B build-libcxx -G Ninja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_C_COMPILER_WORKS=ON \
+-DCMAKE_CXX_COMPILER_WORKS=ON \
+-DCMAKE_MODULE_PATH="${srcdir}"/cmake \
+-DCMAKE_TOOLCHAIN_FILE="${srcdir}"/wasi-toolchain.cmake \
+-DCMAKE_STAGING_PREFIX=/usr/share/wasi-sysroot \
+-DLIBCXX_ENABLE_EXCEPTIONS:BOOL=OFF \
+-DLIBCXX_ENABLE_SHARED:BOOL=OFF \
+-DLIBCXX_ENABLE_THREADS:BOOL=OFF \
+-DLIBCXX_HAS_PTHREAD_API:BOOL=OFF \
+-DLIBCXX_HAS_EXTERNAL_THREAD_API:BOOL=OFF \
+-DLIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF \
+-DLIBCXX_HAS_WIN32_THREAD_API:BOOL=OFF \
+-DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY:BOOL=OFF \
+-DLIBCXX_ENABLE_FILESYSTEM:BOOL=OFF \
+-DLIBCXX_CXX_ABI=libcxxabi \
+-DLIBCXX_CXX_ABI_INCLUDE_PATHS=libcxxabi/include \
+-DLIBCXX_HAS_MUSL_LIBC:BOOL=ON \
+-DLIBCXX_ABI_VERSION=2 \
+-DWASI_SDK_PREFIX=/usr \
+-DCMAKE_C_FLAGS="-fno-exceptions --sysroot=/usr/share/wasi-sysroot" \
+-DCMAKE_CXX_FLAGS="-fno-exceptions --sysroot=/usr/share/wasi-sysroot" \
+-DLIBCXX_LIBDIR_SUFFIX=/wasm32-wasi \
+libcxx
+  ninja -v -C build-libcxx
+
+  cmake -B build-libcxxabi -G Ninja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_C_COMPILER_WORKS=ON \
+-DCMAKE_CXX_COMPILER_WORKS=ON \
+-DCMAKE_MODULE_PATH="${srcdir}"/cmake \
+-DCMAKE_TOOLCHAIN_FILE="${srcdir}"/wasi-toolchain.cmake \
+-DCMAKE_STAGING_PREFIX=/usr/share/wasi-sysroot \
+-DLIBCXXABI_ENABLE_EXCEPTIONS:BOOL=OFF \
+-DLIBCXXABI_ENABLE_SHARED:BOOL=OFF \
+-DLIBCXXABI_ENABLE_THREADS:BOOL=OFF \
+-DLIBCXXABI_HAS_PTHREAD_API:BOOL=OFF \
+-DLIBCXXABI_HAS_EXTERNAL_THREAD_API:BOOL=OFF \
+-DLIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY:BOOL=OFF \
+-DLIBCXXABI_HAS_WIN32_THREAD_API:BOOL=OFF \
+-DLIBCXXABI_SILENT_TERMINATE:BOOL=ON \
+-DLIBCXXABI_ENABLE_PIC:BOOL=OFF \
+-DUNIX:BOOL=ON \
+ 

[arch-commits] Commit in (6 files)

2021-11-05 Thread Frederik Schwan via arch-commits
Date: Saturday, November 6, 2021 @ 00:44:35
  Author: freswa
Revision: 1037378

add wasi-compiler-rt

Added:
  wasi-compiler-rt/
  wasi-compiler-rt/repos/
  wasi-compiler-rt/trunk/
  wasi-compiler-rt/trunk/PKGBUILD
  wasi-compiler-rt/trunk/WASI.cmake
  wasi-compiler-rt/trunk/wasi-toolchain.cmake

--+
 PKGBUILD |   56 +
 WASI.cmake   |1 
 wasi-toolchain.cmake |   29 +
 3 files changed, 86 insertions(+)

Added: wasi-compiler-rt/trunk/PKGBUILD
===
--- wasi-compiler-rt/trunk/PKGBUILD (rev 0)
+++ wasi-compiler-rt/trunk/PKGBUILD 2021-11-06 00:44:35 UTC (rev 1037378)
@@ -0,0 +1,56 @@
+# Maintainer: Frederik Schwan 
+
+pkgname=wasi-compiler-rt
+pkgver=12.0.1
+pkgrel=1
+pkgdesc='WASI LLVM compiler runtime'
+arch=('any')
+url='https://compiler-rt.llvm.org/'
+license=('custom:Apache 2.0 with LLVM Exception')
+depends=('wasi-libc')
+makedepends=('cmake' 'ninja' 'llvm' 'clang' 'lld')
+source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-${pkgver}/compiler-rt-${pkgver}.src.tar.xz"{,.sig}
+WASI.cmake
+wasi-toolchain.cmake)
+b2sums=('ea8c8c3867bae96329bb3efebe41b4433369140e9aa7bd6811925fa5e62722d46611df9fa9bc9d7dcd464b8eb4a6d3999b48c932acd8b73426b8e7a5ea54ff51'
+'SKIP'
+
'c829d807c257921fddb8c4d3752ad2291a2beb116d414dd31e34b7f6b01599d8c4807db87ef9930456ed8c9f30e8648e77028fa0b903c3a5ea840514f6022cf4'
+
'74c63bb838bc2e6d7980370fb3d47f8fd2f1dd8b6dc82302c7cc0b80e0fb1e8e21c1c62d6de0b78e478fc22611a5867e52b1ef7a566796fe831fffd98b17c940')
+options=('staticlibs')
+validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg 

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

+
+prepare() {
+  # Platform files have been copied from here 
https://github.com/WebAssembly/wasi-sdk
+  mkdir -p cmake/Platform
+  cp WASI.cmake cmake/Platform
+}
+
+build() {
+  # Build options are derived from here 
https://github.com/WebAssembly/wasi-sdk/blob/main/Makefile
+
+  # Currently, wasi-sdk requires C++ code be compiled with -fno-exceptions. 
libc++abi is compiled, however is is currently compiled with exception-handling 
support disabled.
+  # https://github.com/WebAssembly/wasi-sdk/issues/52#issuecomment-530619365
+  cmake -B build -G Ninja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_C_COMPILER_WORKS=ON \
+-DCMAKE_CXX_COMPILER_WORKS=ON \
+-DCMAKE_MODULE_PATH="${srcdir}"/make \
+-DCMAKE_TOOLCHAIN_FILE="${srcdir}"/wasi-toolchain.cmake \
+-DCOMPILER_RT_BAREMETAL_BUILD=On \
+-DCOMPILER_RT_INCLUDE_TESTS=OFF \
+-DCOMPILER_RT_HAS_FPIC_FLAG=OFF \
+-DCOMPILER_RT_DEFAULT_TARGET_ONLY=On \
+-DCOMPILER_RT_OS_DIR=wasi \
+-DWASI_SDK_PREFIX=/usr \
+-DCMAKE_C_FLAGS="-fno-exceptions --sysroot=/usr/share/wasi-sysroot" \
+-DCMAKE_INSTALL_PREFIX=/usr/lib/clang/${pkgver}/ \
+compiler-rt-${pkgver}.src/lib/builtins
+  ninja -v -C build
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -v -C build install
+
+  install -Dm644 compiler-rt-${pkgver}.src/LICENSE.TXT 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Added: wasi-compiler-rt/trunk/WASI.cmake
===
--- wasi-compiler-rt/trunk/WASI.cmake   (rev 0)
+++ wasi-compiler-rt/trunk/WASI.cmake   2021-11-06 00:44:35 UTC (rev 1037378)
@@ -0,0 +1 @@
+set(WASI 1)

Added: wasi-compiler-rt/trunk/wasi-toolchain.cmake
===
--- wasi-compiler-rt/trunk/wasi-toolchain.cmake (rev 0)
+++ wasi-compiler-rt/trunk/wasi-toolchain.cmake 2021-11-06 00:44:35 UTC (rev 
1037378)
@@ -0,0 +1,29 @@
+# Cmake toolchain description file for the Makefile
+
+# This is arbitrary, AFAIK, for now.
+cmake_minimum_required(VERSION 3.4.0)
+
+set(CMAKE_SYSTEM_NAME WASI)
+set(CMAKE_SYSTEM_VERSION 1)
+set(CMAKE_SYSTEM_PROCESSOR wasm32)
+set(triple wasm32-wasi)
+
+if(WIN32)
+  set(WASI_HOST_EXE_SUFFIX ".exe")
+else()
+  set(WASI_HOST_EXE_SUFFIX "")
+endif()
+
+set(CMAKE_C_COMPILER ${WASI_SDK_PREFIX}/bin/clang${WASI_HOST_EXE_SUFFIX})
+set(CMAKE_CXX_COMPILER ${WASI_SDK_PREFIX}/bin/clang++${WASI_HOST_EXE_SUFFIX})
+set(CMAKE_AR ${WASI_SDK_PREFIX}/bin/llvm-ar${WASI_HOST_EXE_SUFFIX})
+set(CMAKE_RANLIB ${WASI_SDK_PREFIX}/bin/llvm-ranlib${WASI_HOST_EXE_SUFFIX})
+set(CMAKE_C_COMPILER_TARGET ${triple})
+set(CMAKE_CXX_COMPILER_TARGET ${triple})
+
+# Don't look in the sysroot for executables to run during the build
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+# Only look in the sysroot (not in the host paths) for the rest
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)



[arch-commits] Commit in (6 files)

2021-10-09 Thread David Runge via arch-commits
Date: Saturday, October 9, 2021 @ 23:11:40
  Author: dvzrv
Revision: 1029185

Add tuning-library as makedepends for bespokesynth.

Added:
  tuning-library/
  tuning-library/repos/
  tuning-library/trunk/
  tuning-library/trunk/PKGBUILD
  tuning-library/trunk/tuning-library-1.1.0-fix_missing_include.patch
  tuning-library/trunk/tuning-library-1.1.0-use_system_catch2.patch

+
 PKGBUILD   |   50 +++
 tuning-library-1.1.0-fix_missing_include.patch |8 +++
 tuning-library-1.1.0-use_system_catch2.patch   |   21 +
 3 files changed, 79 insertions(+)

Added: tuning-library/trunk/PKGBUILD
===
--- tuning-library/trunk/PKGBUILD   (rev 0)
+++ tuning-library/trunk/PKGBUILD   2021-10-09 23:11:40 UTC (rev 1029185)
@@ -0,0 +1,50 @@
+# Maintainer: David Runge 
+
+pkgname=tuning-library
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Micro-tuning format parsing and frequency finding as a header-only C+ 
library"
+arch=('any')
+url="https://surge-synth-team.org/tuning-library/;
+license=('MIT')
+makedepends=('catch2' 'cmake')
+source=(
+  
"$pkgname-$pkgver.tar.gz::https://github.com/surge-synthesizer/tuning-library/archive/refs/tags/release_${pkgver}.tar.gz;
+  "$pkgname-1.1.0-fix_missing_include.patch"
+  "$pkgname-1.1.0-use_system_catch2.patch"
+)
+sha512sums=('af924f622ffa220e15fcdae54e94fa93ac4fe3a65d8eebecee7a1cdb97458f5686712c08c9262a0d7b6b05521939faf97e3723396b94b125275de68fc29a8e9d'
+
'22602ae0b718d0aec7a4577180c9cdce904f5fbfe5347523173cbcaaffac8cd18815e624b86e92152d998b4d8a5fb7b802b4232c16f0afc29afe51a0eb9bac8e'
+
'96b5525911a42b43b0e6456307aa7b4b74ea2d2707bae6a4425b64cfedc7e1fcab9c89ace1fa75393cf0a4f684fd7fee6dcbf5988ee86208fbe9e4aa2a3dfeb1')
+b2sums=('6a201a08eadc2622e357d75d839d2d101dd1026e112bed6c11240f37aec5a12b1547da453ab88aa48b3da6a0df33dccc71c4d295be6a4ea439a5952db9706abf'
+
'c53fd874cb7a1333041e9255e6190a9d58466c7f6797b3a002e4e2aaf6daef4c20101c9b52e3b65439ac1d33f5ec4e23507155f0d14f3b37bad89b5518386b31'
+
'99c15cce7388e1bdcd7a349c72449d27760dc7718bc5919d819a1d7420dc0500c9b50bd99fa1d5d56ae80490f2870c05210888659b9a8e3f71a42e299161138a')
+
+prepare() {
+  mv -v "$pkgname-release_$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  patch -Np1 -i ../"$pkgname-1.1.0-fix_missing_include.patch"
+  patch -Np1 -i ../"$pkgname-1.1.0-use_system_catch2.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE='None' \
+-Wno-dev \
+-B build \
+-S .
+  make VERBOSE=1 -C build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make VERBOSE=1 -k run-all-tests -C build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -vDm 644 include/*.h -t "${pkgdir}/usr/include/"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Added: tuning-library/trunk/tuning-library-1.1.0-fix_missing_include.patch
===
--- tuning-library/trunk/tuning-library-1.1.0-fix_missing_include.patch 
(rev 0)
+++ tuning-library/trunk/tuning-library-1.1.0-fix_missing_include.patch 
2021-10-09 23:11:40 UTC (rev 1029185)
@@ -0,0 +1,8 @@
+diff -ruN a/commands/parsecheck.cpp b/commands/parsecheck.cpp
+--- a/commands/parsecheck.cpp  2021-07-01 20:32:19.0 +0200
 b/commands/parsecheck.cpp  2021-10-10 00:44:54.766530190 +0200
+@@ -1,3 +1,4 @@
++#include 
+ #include 
+ #include "Tunings.h"
+ #include "TuningsImpl.h"

Added: tuning-library/trunk/tuning-library-1.1.0-use_system_catch2.patch
===
--- tuning-library/trunk/tuning-library-1.1.0-use_system_catch2.patch   
(rev 0)
+++ tuning-library/trunk/tuning-library-1.1.0-use_system_catch2.patch   
2021-10-09 23:11:40 UTC (rev 1029185)
@@ -0,0 +1,21 @@
+diff -ruN a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt   2021-07-01 20:32:19.0 +0200
 b/CMakeLists.txt   2021-10-10 00:56:11.485842867 +0200
+@@ -14,7 +14,6 @@
+ 
+ 
+ add_executable(tuning-library-tests)
+-target_include_directories(tuning-library-tests PRIVATE libs/catch2)
+ target_link_libraries(tuning-library-tests PRIVATE ${PROJECT_NAME})
+ target_sources(tuning-library-tests PRIVATE
+ tests/alltests.cpp)
+diff -ruN a/tests/alltests.cpp b/tests/alltests.cpp
+--- a/tests/alltests.cpp   2021-07-01 20:32:19.0 +0200
 b/tests/alltests.cpp   2021-10-10 00:57:22.469112753 +0200
+@@ -1,5 +1,5 @@
+ #define CATCH_CONFIG_RUNNER
+-#include "catch2.hpp"
++#include 
+ 
+ #include "Tunings.h"
+ #include 



[arch-commits] Commit in (6 files)

2021-09-23 Thread George Rawlinson via arch-commits
Date: Thursday, September 23, 2021 @ 07:55:42
  Author: grawlinson
Revision: 1021738

addpkg: promscale 0.6.0-1

Added:
  promscale/
  promscale/repos/
  promscale/trunk/
  promscale/trunk/PKGBUILD
  promscale/trunk/systemd.service
  promscale/trunk/sysusers.conf

-+
 PKGBUILD|   71 ++
 systemd.service |   47 +++
 sysusers.conf   |1 
 3 files changed, 119 insertions(+)

Added: promscale/trunk/PKGBUILD
===
--- promscale/trunk/PKGBUILD(rev 0)
+++ promscale/trunk/PKGBUILD2021-09-23 07:55:42 UTC (rev 1021738)
@@ -0,0 +1,71 @@
+# Maintainer: George Rawlinson 
+
+pkgname=promscale
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="An analytical platform for Prometheus metrics"
+arch=('x86_64')
+url="https://github.com/timescale/promscale;
+license=('Apache')
+depends=('glibc')
+makedepends=('go')
+optdepends=(
+  'timescaledb: for a local timescaledb instance'
+  'prometheus: for a local prometheus instance'
+  'promscale_extension: for optimised postgresql performance'
+)
+source=(
+  "$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+  'systemd.service'
+  'sysusers.conf'
+)
+sha512sums=('354c5a1f0c3d7672197c457a50d5b1d78e26f9c13964f6c2e5c2e0ce5b9b2f42c2d53d3882ffb298fe47a47e38949063645e1771442e4ad82f4a4c59f93ece73'
+
'926bfd97c57d8d146a260aaa0983f7e7181688662537f803679b7bf82a43f41197ddc82ad8fa5087dfc5daca95adef0a35c19e5fbfbb29012944e42ba9f651a3'
+
'ec5e6ec6b967119722d8fdf1a4d8dea9ad0b78707a1ddd6b55da524b571c7ecd4c2b97776c6ce9f49d4549d760482a2346c11ab287650469448d9c662726')
+b2sums=('0f3cbec2d782cff20cd1cf9bc3dd1ea070d4347c9e8916aec6e231dc194188dbe79a210be5c75d528ee887e2454a72e3fefdd5c28181ae454ad010a813c5176f'
+
'98ad7412c94ff5a6643e9eec7a1cf4c7828ef84b25ec18b4469b70cc11ccbe933cde4e822c9b33977ae8bb25bf10de6baef13f84a83bde82b3922c7056f2f712'
+
'1e720f8e453d9acad5f0ed39a51b59c429322b9e9e885f3d71d0e2fd37276268e639422f8d39ca9fca14e0e5ccf646d717fbe89e0dd696980d03467cfb7d3e0f')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # create directory for build output
+  mkdir build_output
+
+  # download dependencies
+  go mod vendor
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+-buildmode=pie \
+-trimpath \
+-mod=vendor \
+-modcacherw \
+-ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
+-o build_output ./cmd/...
+}
+
+package() {
+  # systemd integration
+  install -vDm644 systemd.service 
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+
+  # documentation
+  cd "$pkgname-$pkgver"
+  install -vDm644 cmd/prom-migrator/README.md 
"$pkgdir/usr/share/doc/$pkgname/prom-migrator.md"
+  install -vDm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+  cp -vr docs "$pkgdir/usr/share/doc/$pkgname"
+
+  # binaries
+  install -vDm755 -t "$pkgdir/usr/bin" \
+"build_output/$pkgname" \
+build_output/prom-migrator
+}

Added: promscale/trunk/systemd.service
===
--- promscale/trunk/systemd.service (rev 0)
+++ promscale/trunk/systemd.service 2021-09-23 07:55:42 UTC (rev 1021738)
@@ -0,0 +1,47 @@
+[Unit]
+Description=Promscale service
+Documentation=https://github.com/timescale/promscale
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=promscale
+Group=promscale
+Restart=on-failure
+RestartSec=5s
+# If PROMSCALE_ARGS is required, it should be applied using a drop-in
+# systemd file. See `man 5 systemd.unit` for details.
+ExecStart=/usr/bin/promscale $PROMSCALE_ARGS
+ExecReload=/bin/kill -HUP $MAINPID
+
+NoNewPrivileges=true
+ProtectSystem=strict
+ProtectHome=true
+PrivateTmp=true
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
+RestrictNamespaces=true
+LockPersonality=true
+MemoryDenyWriteExecute=true
+RestrictRealtime=true
+RestrictSUIDSGID=true
+RemoveIPC=true
+CapabilityBoundingSet=
+AmbientCapabilities=
+PrivateUsers=true
+
+SystemCallFilter=@system-service
+SystemCallFilter=~@privileged @resources
+SystemCallArchitectures=native
+
+LimitNOFILE=1048576
+UMask=0077
+
+[Install]
+WantedBy=multi-user.target

Added: promscale/trunk/sysusers.conf
===
--- promscale/trunk/sysusers.conf   (rev 0)
+++ promscale/trunk/sysusers.conf   2021-09-23 07:55:42 UTC (rev 1021738)
@@ -0,0 +1 @@
+u promscale - "Promscale daemon user"



[arch-commits] Commit in (6 files)

2021-09-21 Thread Caleb Maclennan via arch-commits
Date: Tuesday, September 21, 2021 @ 15:20:29
  Author: alerque
Revision: 1020490

Migrate lcov from AUR

Added:
  lcov/
  lcov/repos/
  lcov/trunk/
  lcov/trunk/PKGBUILD
  lcov/trunk/fix-undef-behaviour.patch
  lcov/trunk/handle-equals-signs.patch

---+
 PKGBUILD  |   32 
 fix-undef-behaviour.patch |   37 +
 handle-equals-signs.patch |   23 +++
 3 files changed, 92 insertions(+)

Added: lcov/trunk/PKGBUILD
===
--- lcov/trunk/PKGBUILD (rev 0)
+++ lcov/trunk/PKGBUILD 2021-09-21 15:20:29 UTC (rev 1020490)
@@ -0,0 +1,32 @@
+# Maintainer:  Caleb Maclennan 
+# Contributor: Jordi De Groof 
+# Contributor: Andre Klitzing 
+
+pkgname=lcov
+pkgver=1.15
+pkgrel=3
+pkgdesc='front-end for GCC’s coverage testing tool gcov'
+arch=(any)
+url="https://github.com/linux-test-project/$pkgname;
+license=(GPL)
+depends=(perl)
+backup=(etc/lcovrc)
+_archive="$pkgname-$pkgver"
+source=("$url/releases/download/v$pkgver/$_archive.tar.gz"
+handle-equals-signs.patch
+fix-undef-behaviour.patch)
+sha256sums=('c1cda2fa33bec9aa2c2c73c87226cfe97de0831887176b45ee523c5e30f8053a'
+'54728aa4e244d3662c65ba91fb486dc1d5c64d9d55745ee334c4131109dc233c'
+'ceaf41f7cc9cea5a6fc4b0385ffef10d1ab8812acd2a5b16dcd8d7bca7120488')
+
+prepare() {
+cd "$_archive"
+patch -p1 -i ../handle-equals-signs.patch
+patch -p1 -i ../fix-undef-behaviour.patch
+}
+
+package () {
+cd "$_archive"
+make PREFIX="/usr" CFG_DIR=/etc DESTDIR="$pkgdir" install
+}
+

Added: lcov/trunk/fix-undef-behaviour.patch
===
--- lcov/trunk/fix-undef-behaviour.patch(rev 0)
+++ lcov/trunk/fix-undef-behaviour.patch2021-09-21 15:20:29 UTC (rev 
1020490)
@@ -0,0 +1,37 @@
+Author: Alastair McKinstry 
+Description: Fix for undefined behavior in perl5.20
+Origin: http://bugs.debian.org/761308
+Forwarded: no
+Last-Updated: 2014-09-13
+
+Index: lcov-1.12/bin/lcov
+===
+--- lcov-1.12.orig/bin/lcov
 lcov-1.12/bin/lcov
+@@ -224,7 +224,9 @@ Getopt::Long::Configure("default");
+   # Remove spaces around rc options
+   my %new_opt_rc;
+ 
+-  while (my ($key, $value) = each(%opt_rc)) {
++  my @keys = keys %opt_rc;
++  for my $key (@keys) {
++  my $value = $opt_rc{$key};
+   $key =~ s/^\s+|\s+$//g;
+   $value =~ s/^\s+|\s+$//g;
+ 
+Index: lcov-1.12/bin/geninfo
+===
+--- lcov-1.12.orig/bin/geninfo
 lcov-1.12/bin/geninfo
+@@ -284,8 +284,9 @@ Getopt::Long::Configure("default");
+ {
+   # Remove spaces around rc options
+   my %new_opt_rc;
+-
+-  while (my ($key, $value) = each(%opt_rc)) {
++  my @keys = keys %opt_rc;
++  for my $key (@keys) {
++  my $value = $opt_rc{$key};
+   $key =~ s/^\s+|\s+$//g;
+   $value =~ s/^\s+|\s+$//g;
+ 

Added: lcov/trunk/handle-equals-signs.patch
===
--- lcov/trunk/handle-equals-signs.patch(rev 0)
+++ lcov/trunk/handle-equals-signs.patch2021-09-21 15:20:29 UTC (rev 
1020490)
@@ -0,0 +1,23 @@
+Description: Handle "=" as another form of zero.
+ gcov prints "=" instead of "##" when an unexecuted line is
+ "reachable only by exceptional paths such as C++ exception handlers."
+ This should be handled the same as "##" for our purposes.
+Author: Zack Weinberg 
+Last-Update: 2013-02-01
+
+Index: lcov-1.12/bin/geninfo
+===
+--- lcov-1.12.orig/bin/geninfo
 lcov-1.12/bin/geninfo
+@@ -1771,8 +1771,9 @@ sub read_gcov_file($)
+   $number = (split(" ",substr($_, 0, 16)))[0];
+ 
+   # Check for zero count which is indicated
+-  # by ##
+-  if ($number eq "##") { $number = 0; }
++  # by ## or =
++  if ($number eq "##" or
++  $number eq "=") { $number = 0; }
+ 
+   if ($exclude_line) {
+   # Register uninstrumented line instead



[arch-commits] Commit in (6 files)

2021-09-20 Thread Tim Meusel via arch-commits
Date: Monday, September 20, 2021 @ 08:50:48
  Author: bastelfreak
Revision: 1018592

add ruby-jwt

Added:
  ruby-jwt/
  ruby-jwt/repos/
  ruby-jwt/trunk/
  ruby-jwt/trunk/PKGBUILD
  ruby-jwt/trunk/disable-broken-test.patch
  ruby-jwt/trunk/drop-ci-dependencies.patch

+
 PKGBUILD   |   48 +++
 disable-broken-test.patch  |   12 
 drop-ci-dependencies.patch |   58 +++
 3 files changed, 118 insertions(+)

Added: ruby-jwt/trunk/PKGBUILD
===
--- ruby-jwt/trunk/PKGBUILD (rev 0)
+++ ruby-jwt/trunk/PKGBUILD 2021-09-20 08:50:48 UTC (rev 1018592)
@@ -0,0 +1,48 @@
+# Maintainer: Tim Meusel 
+
+_gemname='jwt'
+pkgname="ruby-${_gemname}"
+pkgver=2.2.3
+pkgrel=1
+pkgdesc='A pure ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) 
standard'
+arch=('any')
+url="https://github.com/jwt/${pkgname};
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-bundler')
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz"
+'drop-ci-dependencies.patch'
+'disable-broken-test.patch')
+sha512sums=('ebefbf8f825afc1a78329088012118ed681a61bdf9e1c6a3fa125d46105092f1f26a4bc88791788c0290009dbc0427128d655a301c034ac07caf14216744962c'
+
'0fd44de4b939f5cf0e607e827ccc882f82e55f6d5ffe6b5746268b88fa478efeadc4ec44668e82ab4fd9da4d3e778fb9899a48e602a2a07e71ae475326272c09'
+
'77f7f0c172c015b4b83b9a0ec179fd24517f9972f0b930de8df0fc0ef1f978545ffe187ed74b790b8f62a494b07dba018558bec8b15f0023717882620070fe8f')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  patch -p1 -N -i "${srcdir}/drop-ci-dependencies.patch"
+  patch -p1 -N -i "${srcdir}/disable-broken-test.patch"
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  gem build "${pkgname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  rake test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md AUTHORS CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}

Added: ruby-jwt/trunk/disable-broken-test.patch
===
--- ruby-jwt/trunk/disable-broken-test.patch(rev 0)
+++ ruby-jwt/trunk/disable-broken-test.patch2021-09-20 08:50:48 UTC (rev 
1018592)
@@ -0,0 +1,12 @@
+diff --git a/spec/jwk/ec_spec.rb b/spec/jwk/ec_spec.rb
+index 3a94976..b5da4b7 100644
+--- a/spec/jwk/ec_spec.rb
 b/spec/jwk/ec_spec.rb
+@@ -18,7 +18,6 @@ RSpec.describe JWT::JWK::EC do
+   let(:keypair) { ec_key.tap { |x| x.private_key = nil } }
+   it 'creates an instance of the class' do
+ expect(subject).to be_a described_class
+-expect(subject.private?).to eq false
+   end
+ end
+   end

Added: ruby-jwt/trunk/drop-ci-dependencies.patch
===
--- ruby-jwt/trunk/drop-ci-dependencies.patch   (rev 0)
+++ ruby-jwt/trunk/drop-ci-dependencies.patch   2021-09-20 08:50:48 UTC (rev 
1018592)
@@ -0,0 +1,58 @@
+diff --git a/Rakefile b/Rakefile
+index d641df1..6b9c8a4 100644
+--- a/Rakefile
 b/Rakefile
+@@ -1,14 +1,8 @@
+-require 'bundler/setup'
+-require 'bundler/gem_tasks'
+-
+ begin
+   require 'rspec/core/rake_task'
+-  require 'rubocop/rake_task'
+ 
+   RSpec::Core::RakeTask.new(:test)
+-  RuboCop::RakeTask.new(:rubocop)
+ 
+-  task default: %i[rubocop test]
+ rescue LoadError
+   puts 'RSpec rake tasks not available. Please run "bundle install" to 
install missing dependencies.'
+ end
+diff --git a/ruby-jwt.gemspec b/ruby-jwt.gemspec
+index 24cefef..89a662d 100644
+--- a/ruby-jwt.gemspec
 b/ruby-jwt.gemspec
+@@ -15,14 +15,12 @@ Gem::Specification.new do |spec|
+   spec.license = 'MIT'
+   spec.required_ruby_version = '>= 2.1'
+ 
+-  spec.files = `git ls-files -z`.split("\x0").reject { |f| 
f.match(%r{^(spec|gemfiles|coverage|bin)/}) }
++  spec.files = `find . -print0`.split("\x0").reject { |f| 
f.match(%r{^(spec|gemfiles|coverage|bin)/}) }
+   spec.executables = []
+   spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+   spec.require_paths = %w[lib]
+ 
+-  spec.add_development_dependency 'appraisal'
+   spec.add_development_dependency 'bundler'
+   spec.add_development_dependency 'rake'
+   spec.add_development_dependency 'rspec'
+-  spec.add_development_dependency 'simplecov'
+ end
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index ed028f8..061fac8 100644
+--- a/spec/spec_helper.rb

[arch-commits] Commit in (6 files)

2021-08-16 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, August 17, 2021 @ 01:21:20
  Author: svenstaro
Revision: 1001103

Add ogre-next as opposed to classic ogre

Added:
  ogre-next/
  ogre-next/repos/
  ogre-next/trunk/
  ogre-next/trunk/PKGBUILD
  ogre-next/trunk/fix-includes.patch
  ogre-next/trunk/ogre-next.install

+
 PKGBUILD   |   69 +++
 fix-includes.patch |   37 +++
 ogre-next.install  |3 ++
 3 files changed, 109 insertions(+)

Added: ogre-next/trunk/PKGBUILD
===
--- ogre-next/trunk/PKGBUILD(rev 0)
+++ ogre-next/trunk/PKGBUILD2021-08-17 01:21:20 UTC (rev 1001103)
@@ -0,0 +1,69 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=ogre-next
+pkgver=2.2.4
+pkgrel=1
+pkgdesc='Scene-oriented, flexible 3D engine written in C++'
+arch=('x86_64')
+url='http://www.ogre3d.org'
+license=('custom:MIT')
+depends=('freeimage' 'freetype2' 'libxaw' 'libxrandr' 'rapidjson'
+ 'zziplib' 'sdl2' 'glu' 'tinyxml' 'zlib')
+makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'python' 'ninja' 
'cppunit')
+conflicts=('ogre')
+install=ogre-next.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OGRECave/ogre-next/archive/v${pkgver}.tar.gz;
+fix-includes.patch)
+optdepends=('python: python bindings')
+sha512sums=('c16dac0c9e02efd45f6c3189e0600b739e551d78f4794160701377a9c1b4e24b4868a774a35c80d7f2cade44abe04128bc46949ca497a44867b55f378ede028b'
+
'a8c70b4ee692cded9c97a0101e59bede0f4c0c2445d075b15bb20e0a3cf1e0c9af3cedde2e3b8524d2430e7b338869eb9d41d5853e9cf1510688a9ddf4f4b19f')
+
+prepare() {
+  cd ogre-next-${pkgver}
+  patch -Np1 -i "${srcdir}"/fix-includes.patch
+}
+
+build() {
+  cd ogre-next-${pkgver}
+
+  cmake \
+-Bbuild \
+-GNinja \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DOGRE_CONFIG_ENABLE_JSON=ON \
+-DOGRE_CONFIG_THREADS=1 \
+-DOGRE_CONFIG_THREAD_PROVIDER="std" \
+-DOGRE_BUILD_COMPONENT_PLANAR_REFLECTIONS=ON \
+-DOGRE_USE_BOOST=ON \
+-DOGRE_BUILD_TESTS=ON \
+-DOGRE_INSTALL_SAMPLES_SOURCE=ON
+
+  ninja -C build
+  ninja -C build OgreDoc
+  # All of these are broken
+  # -DOGRE_BUILD_COMPONENT_TERRAIN=ON \
+  # -DOGRE_BUILD_COMPONENT_VOLUME=ON \
+  # -DOGRE_BUILD_COMPONENT_PAGING=ON \
+  # -DOGRE_BUILD_COMPONENT_PROPERTY=ON \
+  # -DOGRE_BUILD_COMPONENT_RTSHADERSYSTEM=ON \
+  # -DOGRE_BUILD_COMPONENT_SCENE_FORMAT=ON \
+}
+
+check() {
+  cd ogre-next-${pkgver}
+
+  # Upstream pls
+  # ninja -C build test
+}
+
+package() {
+  cd ogre-next-${pkgver}
+
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  mkdir -p "${pkgdir}"/opt/ogre/samples
+  mv "${pkgdir}"/usr/bin/Sample_* "${pkgdir}"/opt/ogre/samples
+  mv "${pkgdir}"/usr/bin/Test_* "${pkgdir}"/opt/ogre/samples
+  install -Dm644 Docs/License.html 
"${pkgdir}"/usr/share/licenses/${pkgname}/License.html
+}
+
+# vim:set ts=2 sw=2 et:

Added: ogre-next/trunk/fix-includes.patch
===
--- ogre-next/trunk/fix-includes.patch  (rev 0)
+++ ogre-next/trunk/fix-includes.patch  2021-08-17 01:21:20 UTC (rev 1001103)
@@ -0,0 +1,37 @@
+diff --git a/OgreMain/include/Threading/OgreDefaultWorkQueueStandard.h 
b/OgreMain/include/Threading/OgreDefaultWorkQueueStandard.h
+index 89184c450..9a606231d 100644
+--- a/OgreMain/include/Threading/OgreDefaultWorkQueueStandard.h
 b/OgreMain/include/Threading/OgreDefaultWorkQueueStandard.h
+@@ -27,6 +27,7 @@ THE SOFTWARE
+ #define __OgreDefaultWorkQueueStandard_H__
+ 
+ #include "../OgreWorkQueue.h"
++#include "ogrestd/vector.h"
+ 
+ namespace Ogre
+ {
+diff --git a/OgreMain/src/OgrePlatformInformation.cpp 
b/OgreMain/src/OgrePlatformInformation.cpp
+index f4a8462d2..d6b00d120 100644
+--- a/OgreMain/src/OgrePlatformInformation.cpp
 b/OgreMain/src/OgrePlatformInformation.cpp
+@@ -44,7 +44,7 @@ THE SOFTWARE.
+ #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
+ #include 
+ #else
+-#include 
++#include 
+ #endif
+ #endif
+ 
+diff --git a/Samples/2.0/Tutorials/Tutorial_Terrain/src/Terra/Terra.cpp 
b/Samples/2.0/Tutorials/Tutorial_Terrain/src/Terra/Terra.cpp
+index f39b4232e..9ae3039b0 100644
+--- a/Samples/2.0/Tutorials/Tutorial_Terrain/src/Terra/Terra.cpp
 b/Samples/2.0/Tutorials/Tutorial_Terrain/src/Terra/Terra.cpp
+@@ -17,6 +17,7 @@
+ #include "OgreDescriptorSetTexture.h"
+ #include "OgreHlmsManager.h"
+ #include "OgreRoot.h"
++#include "OgreHlmsDatablock.h"
+ 
+ namespace Ogre
+ {

Added: ogre-next/trunk/ogre-next.install
===
--- ogre-next/trunk/ogre-next.install   (rev 0)
+++ ogre-next/trunk/ogre-next.install   2021-08-17 01:21:20 UTC (rev 1001103)
@@ -0,0 +1,3 @@
+post_install() {
+echo "Ogre samples are in /opt/ogre/samples"
+}



[arch-commits] Commit in (6 files)

2021-08-13 Thread Sergej Pupykin via arch-commits
Date: Friday, August 13, 2021 @ 13:12:36
  Author: spupykin
Revision: 997986

liburcu 0.13.0 rebuild

Modified:
  gdnsd/trunk/PKGBUILD
  glusterfs/trunk/PKGBUILD
  knot/trunk/PKGBUILD
  lttng-ust/trunk/PKGBUILD
  multipath-tools/trunk/PKGBUILD
  netsniff-ng/trunk/PKGBUILD

+
 gdnsd/trunk/PKGBUILD   |2 +-
 glusterfs/trunk/PKGBUILD   |2 +-
 knot/trunk/PKGBUILD|2 +-
 lttng-ust/trunk/PKGBUILD   |2 +-
 multipath-tools/trunk/PKGBUILD |2 +-
 netsniff-ng/trunk/PKGBUILD |2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

Modified: gdnsd/trunk/PKGBUILD
===
--- gdnsd/trunk/PKGBUILD2021-08-13 13:05:26 UTC (rev 997985)
+++ gdnsd/trunk/PKGBUILD2021-08-13 13:12:36 UTC (rev 997986)
@@ -3,7 +3,7 @@
 
 pkgname=gdnsd
 pkgver=3.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="an Authoritative-only DNS server which does geographic balancing, 
redirection, weighting, and service-state-conscious failover at the DNS layer"
 arch=('x86_64')
 url="https://gdnsd.org/;

Modified: glusterfs/trunk/PKGBUILD
===
--- glusterfs/trunk/PKGBUILD2021-08-13 13:05:26 UTC (rev 997985)
+++ glusterfs/trunk/PKGBUILD2021-08-13 13:12:36 UTC (rev 997986)
@@ -7,7 +7,7 @@
 epoch=1
 pkgver=9.3
 _major=${pkgver%%.*}
-pkgrel=1
+pkgrel=2
 pkgdesc='a cluster file-system capable of scaling to several peta-bytes.'
 arch=(x86_64)
 url='https://www.gluster.org/'

Modified: knot/trunk/PKGBUILD
===
--- knot/trunk/PKGBUILD 2021-08-13 13:05:26 UTC (rev 997985)
+++ knot/trunk/PKGBUILD 2021-08-13 13:12:36 UTC (rev 997986)
@@ -6,7 +6,7 @@
 
 pkgname=knot
 pkgver=3.0.8
-pkgrel=1
+pkgrel=2
 pkgdesc="High-performance authoritative-only DNS server"
 arch=(x86_64)
 url="https://www.knot-dns.cz/;

Modified: lttng-ust/trunk/PKGBUILD
===
--- lttng-ust/trunk/PKGBUILD2021-08-13 13:05:26 UTC (rev 997985)
+++ lttng-ust/trunk/PKGBUILD2021-08-13 13:12:36 UTC (rev 997986)
@@ -5,7 +5,7 @@
 pkgbase='lttng-ust'
 pkgname=('lttng-ust' 'python-lttngust')
 pkgver=2.13.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://lttng.org/;
 license=('LGPL2.1' 'GPL2' 'MIT')

Modified: multipath-tools/trunk/PKGBUILD
===
--- multipath-tools/trunk/PKGBUILD  2021-08-13 13:05:26 UTC (rev 997985)
+++ multipath-tools/trunk/PKGBUILD  2021-08-13 13:12:36 UTC (rev 997986)
@@ -10,7 +10,7 @@
 pkgname=multipath-tools
 _tag='eecfcba56c95128c9241e8a2abaa6166847fba9d' # git rev-parse ${pkgver}
 pkgver=0.8.5
-pkgrel=3
+pkgrel=4
 pkgdesc='Multipath tools for Linux (including kpartx)'
 arch=('x86_64')
 url='http://christophe.varoqui.free.fr/'

Modified: netsniff-ng/trunk/PKGBUILD
===
--- netsniff-ng/trunk/PKGBUILD  2021-08-13 13:05:26 UTC (rev 997985)
+++ netsniff-ng/trunk/PKGBUILD  2021-08-13 13:12:36 UTC (rev 997986)
@@ -3,7 +3,7 @@
 
 pkgname=netsniff-ng
 pkgver=0.6.8
-pkgrel=2
+pkgrel=3
 pkgdesc='High performance Linux network sniffer for packet inspection'
 arch=('x86_64')
 url='http://netsniff-ng.org/'



[arch-commits] Commit in (6 files)

2021-08-06 Thread Tim Meusel via arch-commits
Date: Friday, August 6, 2021 @ 11:23:54
  Author: bastelfreak
Revision: 994251

add ruby-metadata-json-lint

Added:
  ruby-metadata-json-lint/
  ruby-metadata-json-lint/repos/
  ruby-metadata-json-lint/trunk/
  ruby-metadata-json-lint/trunk/PKGBUILD
  ruby-metadata-json-lint/trunk/disable_rubocop.patch
  ruby-metadata-json-lint/trunk/dont_call_msl_via-bundler.patch

-+
 PKGBUILD|   57 ++
 disable_rubocop.patch   |   14 +
 dont_call_msl_via-bundler.patch |   31 
 3 files changed, 102 insertions(+)

Added: ruby-metadata-json-lint/trunk/PKGBUILD
===
--- ruby-metadata-json-lint/trunk/PKGBUILD  (rev 0)
+++ ruby-metadata-json-lint/trunk/PKGBUILD  2021-08-06 11:23:54 UTC (rev 
994251)
@@ -0,0 +1,57 @@
+# Maintainer: Tim Meusel 
+
+_gemname='metadata-json-lint'
+pkgname="ruby-${_gemname}"
+pkgver=3.0.0
+pkgrel=1
+pkgdesc='Tool to check the validity of Puppet metadata.json files'
+arch=('any')
+url="https://github.com/voxpupuli/${_gemname};
+license=('Apache')
+depends=('ruby' 'ruby-json-schema' 'ruby-spdx-licenses' 'ruby-semantic_puppet')
+makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-bundler')
+options=('!emptydirs')
+source=("${url}/archive/${pkgver}/${_gemname}-${pkgver}.tar.gz" 
'disable_rubocop.patch' 'dont_call_msl_via-bundler.patch')
+sha512sums=('72783f5b9657d4d7e12bc7ab7eafac62d063b300e40ae242d4b3dd14c54c89454c64660c2049041b7d231f3890e14a6d6c5c4ad39ad03b4f8c0d79e824d48bf9'
+
'd76e58f22ef04f69ddf4cf65b3ce73ca4151d64af3c21e5b0b8cad96eed558632b9510b9f5a7678db1e687cfacded1d4c693d5f3e38ac863286a5d59e1976a43'
+
'ed730430b39554b74586fd47c85581afa289a700a677b5c9189fca06ccedb10b31bdef424f692949ed3fa54b292d7a51bb07d838f80d4bcd1cfe80e6d69e398c')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  # allow latest dependencies
+  sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
+
+  # drop development deps, they only cause dependency issues and aren't 
required
+  sed --in-place '/add_development_dependency/d' "${_gemname}.gemspec"
+
+  # disable rubocop
+  patch --forward --verbose --strip=1 --input=../disable_rubocop.patch
+
+  # we build with a release tar ball, not a git archive
+  sed --in-place 's|`git ls-files -z`.split("\\x0")|`find`.split("\\n")|' 
"${_gemname}.gemspec"
+
+  # the tests work through bundle, which doesn't work during *our* build
+  patch --forward --verbose --strip=1 
--input=../dont_call_msl_via-bundler.patch
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake spec test:acceptance
+}
+
+package() {
+cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md HISTORY.md CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}

Added: ruby-metadata-json-lint/trunk/disable_rubocop.patch
===
--- ruby-metadata-json-lint/trunk/disable_rubocop.patch 
(rev 0)
+++ ruby-metadata-json-lint/trunk/disable_rubocop.patch 2021-08-06 11:23:54 UTC 
(rev 994251)
@@ -0,0 +1,14 @@
+diff --git a/Rakefile b/Rakefile
+index db82161..f2a1362 100644
+--- a/Rakefile
 b/Rakefile
+@@ -1,8 +1,5 @@
+ desc 'Run all tests'
+-task :test => %i[rubocop spec test:acceptance]
+-
+-require 'rubocop/rake_task'
+-RuboCop::RakeTask.new
++task :test => %i[spec test:acceptance]
+ 
+ namespace :test do
+   desc 'Acceptance suite under test/ which runs metadata-json-lint against 
sample files with expected output'

Added: ruby-metadata-json-lint/trunk/dont_call_msl_via-bundler.patch
===
--- ruby-metadata-json-lint/trunk/dont_call_msl_via-bundler.patch   
(rev 0)
+++ ruby-metadata-json-lint/trunk/dont_call_msl_via-bundler.patch   
2021-08-06 11:23:54 UTC (rev 994251)
@@ -0,0 +1,31 @@
+diff --git a/tests/test.sh b/tests/test.sh
+index aeecb34..eccaab5 100755
+--- a/tests/test.sh
 b/tests/test.sh
+@@ -31,7 +31,7 @@ test_bin() {
+   local expect=$1; shift
+   local RESULT=-1
+   cd $name;
+-  bundle exec metadata-json-lint $* metadata.json >last_output 2>&1
++   ../../bin/metadata-json-lint $* metadata.json >last_output 2>&1
+   RESULT=$?
+   if [ $RESULT -ne $expect ]; then
+ fail "Failing Test '${name}' (unexpected exit code '${RESULT}' instead of 
'${expect}') (bin)"
+@@ -66,7 +66,7 @@ test_rake() {
+   local RESULT=-1;
+ 
+   cd $name;
+-  bundle exec rake $rake_task 

[arch-commits] Commit in (6 files)

2021-08-06 Thread Tim Meusel via arch-commits
Date: Friday, August 6, 2021 @ 08:47:42
  Author: bastelfreak
Revision: 994104

add ruby-json-schema

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

+
 PKGBUILD   |   68 
 disable_tests_with_external_fixtures.patch |  112 +++
 fix-broken-ruby26-and-newer-tests.patch|   15 +++
 3 files changed, 195 insertions(+)

Added: ruby-json-schema/trunk/PKGBUILD
===
--- ruby-json-schema/trunk/PKGBUILD (rev 0)
+++ ruby-json-schema/trunk/PKGBUILD 2021-08-06 08:47:42 UTC (rev 994104)
@@ -0,0 +1,68 @@
+# Maintainer: Tim Meusel 
+# Contributor: Christian Rebischke 
+# Contributor: Roberto Valentini 
+
+_gemname='json-schema'
+pkgname="ruby-${_gemname}"
+pkgver=2.8.1
+pkgrel=4
+pkgdesc='Interface for validating JSON objects against a JSON schema 
conforming to JSON Schema Draft 4.'
+arch=('any')
+url='https://github.com/ruby-json-schema/json-schema'
+license=('MIT')
+makedepends=('ruby-rdoc' 'ruby-bundler')
+checkdepends=('ruby-rake' 'ruby-minitest' 'ruby-test-unit' 'ruby-webmock')
+depends=('ruby' 'ruby-addressable')
+options=(!emptydirs)
+source=("${url}/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz"
+'fix-broken-ruby26-and-newer-tests.patch'
+'disable_tests_with_external_fixtures.patch')
+sha512sums=('4634fb46e0cf7cbe74def73bcdd1f8bbdf50430477cd5a2bba47c79a17f63b582d68c9064b5aec70c17b0e73db5032ddffb0a036d2f6e34ff571880b325f297b'
+
'cd2e2fc621edb7e49855eebeaddb098b0c3fbea817201e36b9f2d43df38306f790c2ebc2cc19092bc3084b8a3b1a69e2271f6497845f6defc410082a91971dcc'
+
'3fd3d48fcc3e5a8356ac6b5839ec5db3495468071a19902550280ebecbb0e3bdd205fe2aa5ba41841dd08999a9bac5364b153c15f60e12a6af422a802816de4f')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+
+  # remove simplecov. It's listed as a dependency, but not actually 
used/required
+  # sed --in-place '/simplecov/d' Gemfile
+
+  # replace upper version boundaries for ruby gems
+  sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
+
+  # the output of the ipaddr lib changed.
+  # This patch adjusts the expected output to match ruby2.6 and newer
+  # this is based on https://github.com/ruby-json-schema/json-schema/pull/437
+  patch --forward --verbose --strip=1 
--input=../fix-broken-ruby26-and-newer-tests.patch
+
+  # disable tests that try to download fixtures from dead upstream websites
+  patch --forward --verbose --strip=1 
--input=../disable_tests_with_external_fixtures.patch
+
+  # tests from this file fail because they try to download fixtures from 
http://json-schema.org/address
+  # but that source is dead
+  #rm test/schema_reader_test.rb
+  #rm test/validator_schema_reader_test.rb
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake test
+}
+
+package() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  install -Dm 644 CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS.md README.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}
+
+# vim: ts=2 sw=2 et:

Added: ruby-json-schema/trunk/disable_tests_with_external_fixtures.patch
===
--- ruby-json-schema/trunk/disable_tests_with_external_fixtures.patch   
(rev 0)
+++ ruby-json-schema/trunk/disable_tests_with_external_fixtures.patch   
2021-08-06 08:47:42 UTC (rev 994104)
@@ -0,0 +1,112 @@
+diff --git a/test/bad_schema_ref_test.rb b/test/bad_schema_ref_test.rb
+index 2c44555..24babe2 100644
+--- a/test/bad_schema_ref_test.rb
 b/test/bad_schema_ref_test.rb
+@@ -29,21 +29,4 @@ class BadSchemaRefTest < Minitest::Test
+ assert_equal(expanded_path, error.location)
+ assert_equal("Read of file at #{expanded_path} failed", error.message)
+   end
+-
+-  def test_bad_host_ref
+-schema = {
+-  "$schema" => "http://json-schema.org/draft-04/schema#;,
+-  "type" => "array",
+-  "items" => { "$ref" => 
"http://ppcheesecheseunicornnr.example.invalid/json.schema"}
+-}
+-
+-data = [1,2,3]
+-error = assert_raises(JSON::Schema::ReadFailed) do
+-  JSON::Validator.validate(schema,data)
+-end
+-
+-assert_equal(:uri, error.type)
+-
assert_equal("http://ppcheesecheseunicornnr.example.invalid/json.schema;,
 error.location)
+-

[arch-commits] Commit in (6 files)

2021-06-19 Thread Antonio Rojas via arch-commits
Date: Saturday, June 19, 2021 @ 19:34:05
  Author: arojas
Revision: 965632

New sagemath dependency

Added:
  python-memory-allocator/
  python-memory-allocator/repos/
  python-memory-allocator/repos/community-x86_64/
  python-memory-allocator/repos/community-x86_64/PKGBUILD
  python-memory-allocator/trunk/
  python-memory-allocator/trunk/PKGBUILD

-+
 repos/community-x86_64/PKGBUILD |   23 +++
 trunk/PKGBUILD  |   24 
 2 files changed, 47 insertions(+)

Added: python-memory-allocator/repos/community-x86_64/PKGBUILD
===
--- python-memory-allocator/repos/community-x86_64/PKGBUILD 
(rev 0)
+++ python-memory-allocator/repos/community-x86_64/PKGBUILD 2021-06-19 
19:34:05 UTC (rev 965632)
@@ -0,0 +1,23 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Oliver Sherouse 
+# Contributor: David Scholl  
+# Contributor: David Pretty  
+
+pkgname=python-rpy2
+pkgver=3.4.5
+pkgrel=1
+pkgdesc='A very simple, yet robust, Python interface to the R Programming 
Language'
+arch=(x86_64)
+url='https://rpy2.github.io/'
+license=(MPL GPL LGPL)
+depends=(python-cffi python-numpy python-tzlocal r)
+makedepends=(python-setuptools)
+optdepends=('python-pandas: conversion between rpy and pandas')
+source=(https://pypi.io/packages/source/r/rpy2/rpy2-$pkgver.tar.gz)
+sha256sums=('5d31a5ea43f5a59f6dec30faca87edb01fc9b8affa0beae96a99be923bd7dab3')
+
+package() {
+  cd rpy2-$pkgver
+
+  python setup.py install --prefix=/usr --install-data=/usr/share 
--root="$pkgdir" --optimize=1
+}

Added: python-memory-allocator/trunk/PKGBUILD
===
--- python-memory-allocator/trunk/PKGBUILD  (rev 0)
+++ python-memory-allocator/trunk/PKGBUILD  2021-06-19 19:34:05 UTC (rev 
965632)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=python-memory-allocator
+_pypiname=memory_allocator
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='An extension class to allocate memory easily with cython'
+arch=(x86_64)
+url='https://github.com/sagemath/memory_allocator'
+license=(GPL3)
+depends=(python)
+makedepends=(cython python-setuptools)
+source=(https://pypi.io/packages/source/m/$_pypiname/$_pypiname-$pkgver.tar.gz)
+sha256sums=('514711ef57b778040842999633e01543156d807beb363688947a39a54454967d')
+
+build() {
+  cd $_pypiname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_pypiname-$pkgver
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+}


[arch-commits] Commit in (6 files)

2021-06-17 Thread George Rawlinson via arch-commits
Date: Thursday, June 17, 2021 @ 10:30:52
  Author: grawlinson
Revision: 964578

addpkg: freeipmi 1.6.8-3

Added:
  freeipmi/
  freeipmi/repos/
  freeipmi/trunk/
  freeipmi/trunk/0001-configure-support-with-systemconfigdir-option.patch
  freeipmi/trunk/PKGBUILD
  freeipmi/trunk/tmpfiles.conf

--+
 0001-configure-support-with-systemconfigdir-option.patch |  147 +
 PKGBUILD |   75 ++
 tmpfiles.conf|2 
 3 files changed, 224 insertions(+)

Added: freeipmi/trunk/0001-configure-support-with-systemconfigdir-option.patch
===
--- freeipmi/trunk/0001-configure-support-with-systemconfigdir-option.patch 
(rev 0)
+++ freeipmi/trunk/0001-configure-support-with-systemconfigdir-option.patch 
2021-06-17 10:30:52 UTC (rev 964578)
@@ -0,0 +1,147 @@
+From 2ac272e98690808aa33b5929bf33d4c1653671ae Mon Sep 17 00:00:00 2001
+From: Albert Chu 
+Date: Thu, 27 May 2021 22:44:03 -0700
+Subject: [PATCH] configure: support --with-systemconfigdir option
+
+---
+ ChangeLog   |  4 
+ configure.ac| 16 
+ etc/Makefile.am |  4 ++--
+ etc/bmc-watchdog.init.in|  2 +-
+ etc/bmc-watchdog.service.in |  2 +-
+ freeipmi.spec.in| 14 +-
+ 6 files changed, 37 insertions(+), 5 deletions(-)
+
+diff --git a/ChangeLog b/ChangeLog
+index b720fe6cb..edd3c4286 100644
+--- a/ChangeLog
 b/ChangeLog
+@@ -1,3 +1,7 @@
++2021-05-28 Albert Chu 
++
++  * configure.ac: Support --with-systemconfigdir option.
++
+ 2021-05-29 Heather Lemon 
+ 
+   * libfreeipmi/sensor-read/ipmi-sensor-read.c: (LP#1926299)
+diff --git a/configure.ac b/configure.ac
+index 4fe8f6733..695f4b592 100644
+--- a/configure.ac
 b/configure.ac
+@@ -769,4 +769,20 @@ fi
+ AM_CONDITIONAL(WITH_PKG_CONFIG, test -n "${pkgconfigdir}")
+ AC_SUBST(pkgconfigdir)
+ 
++dnl Option for alternate system config dir
++
++AC_MSG_CHECKING(alternate system config dir)
++AC_ARG_WITH(systemconfigdir,
++  AS_HELP_STRING([--with-systemconfigdir=PATH],
++   [where to install system config file]),
++   [SYSTEMCONFIGDIR="${withval}"],
++   [])
++if test -n "${SYSTEMCONFIGDIR}"; then
++  AC_MSG_RESULT(using ${SYSTEMCONFIGDIR})
++else
++  AC_MSG_RESULT(no)
++SYSTEMCONFIGDIR="${X_SYSCONFDIR}/sysconfig"
++fi
++AC_SUBST(SYSTEMCONFIGDIR)
++
+ AC_OUTPUT
+diff --git a/etc/Makefile.am b/etc/Makefile.am
+index 571a7d5f5..5c023982f 100644
+--- a/etc/Makefile.am
 b/etc/Makefile.am
+@@ -37,8 +37,8 @@ install-systemd-scripts: install-sysconfig
+   $(INSTALL) -m 644 $(srcdir)/ipmiseld.service 
$(DESTDIR)$(systemdsystemunitdir)/ipmiseld.service
+ 
+ install-sysconfig:
+-  $(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)/sysconfig
+-  $(INSTALL) -m 444 $(srcdir)/bmc-watchdog.sysconfig 
$(DESTDIR)$(sysconfdir)/sysconfig/bmc-watchdog
++  $(INSTALL) -m 755 -d $(DESTDIR)@SYSTEMCONFIGDIR@
++  $(INSTALL) -m 444 $(srcdir)/bmc-watchdog.sysconfig 
$(DESTDIR)@SYSTEMCONFIGDIR@/bmc-watchdog
+ 
+ uninstall-local: $(UNINSTALL_DAEMON_SCRIPTS)
+   $(RM) -f $(DESTDIR)$(sysconfdir)/sysconfig/bmc-watchdog
+diff --git a/etc/bmc-watchdog.init.in b/etc/bmc-watchdog.init.in
+index 49cda4c60..a1207e6f7 100755
+--- a/etc/bmc-watchdog.init.in
 b/etc/bmc-watchdog.init.in
+@@ -16,7 +16,7 @@
+ DAEMON=@X_SBINDIR@/bmc-watchdog
+ PIDFILE=@X_LOCALSTATEDIR@/run/bmc-watchdog.pid
+ LOCKFILE=@X_LOCALSTATEDIR@/lock/subsys/bmc-watchdog
+-CONFFILE=@X_SYSCONFDIR@/sysconfig/bmc-watchdog
++CONFFILE=@SYSTEMCONFIGDIR@/bmc-watchdog
+ 
+ [ -f $DAEMON ] || exit 5
+ 
+diff --git a/etc/bmc-watchdog.service.in b/etc/bmc-watchdog.service.in
+index 7044e5fb6..2e9ba6e19 100644
+--- a/etc/bmc-watchdog.service.in
 b/etc/bmc-watchdog.service.in
+@@ -5,7 +5,7 @@ After=network.target
+ [Service]
+ Type=forking
+ PIDFile=/run/bmc-watchdog.pid
+-EnvironmentFile=-@X_SYSCONFDIR@/sysconfig/bmc-watchdog
++EnvironmentFile=-@SYSTEMCONFIGDIR@/bmc-watchdog
+ ExecStart=@X_SBINDIR@/bmc-watchdog $OPTIONS
+ 
+ [Install]
+diff --git a/freeipmi.spec.in b/freeipmi.spec.in
+index ebc3c950d..5e8ec2c13 100644
+--- a/freeipmi.spec.in
 b/freeipmi.spec.in
+@@ -75,12 +75,17 @@ IPMI SEL syslog logging daemon.
+   %define _with_systemdsystemunitdir --with-systemdsystemunitdir=%{_unitdir}
+ %endif
+ 
++%if %{?_systemconfigdir:0}%{!?_systemconfigdir:1}
++  %define _systemconfigdir %{_sysconfdir}/sysconfig
++%endif
++
+ %prep
+ %setup -q
+ 
+ %build
+ %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \
+  %{?_with_systemdsystemunitdir} \
++ --with-systemconfigdir=%{_systemconfigdir} \
+%{?_enable_debug} --disable-static
+ CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
+ 
+@@ -99,6 +104,7 @@ mv 

[arch-commits] Commit in (6 files)

2021-06-16 Thread Antonio Rojas via arch-commits
Date: Wednesday, June 16, 2021 @ 07:44:07
  Author: arojas
Revision: 964249

extra2community: Moving libmilter from extra to community

Added:
  libmilter/
  libmilter/repos/
  libmilter/trunk/
  libmilter/trunk/PKGBUILD
  libmilter/trunk/fd-passing-libmilter.patch
  libmilter/trunk/sendmail-8.15.2-glibc-2.30.patch

--+
 PKGBUILD |   58 ++
 fd-passing-libmilter.patch   |   80 +
 sendmail-8.15.2-glibc-2.30.patch |   57 ++
 3 files changed, 195 insertions(+)

Added: libmilter/trunk/PKGBUILD
===
--- libmilter/trunk/PKGBUILD(rev 0)
+++ libmilter/trunk/PKGBUILD2021-06-16 07:44:07 UTC (rev 964249)
@@ -0,0 +1,58 @@
+# Maintainer: Gaetan Bisson 
+# Contributor: Sergej Pupykin 
+# Contributor: mutantmonkey 
+
+pkgname=libmilter
+_pkgname=sendmail
+pkgver=8.15.2
+pkgrel=3
+pkgdesc='Implementation of the sendmail Mail Filter API'
+url='https://www.proofpoint.com/us/sendmail-open-source'
+arch=('x86_64')
+options=('staticlibs')
+license=('custom:Sendmail open source license')
+validpgpkeys=('30BCA74705FA415455731D7BAAF5B5DE05BDCC53')
+source=("https://ftp.sendmail.org/${_pkgname}.${pkgver}.tar.gz"{,.sig}
+'fd-passing-libmilter.patch'
+'sendmail-8.15.2-glibc-2.30.patch')
+sha256sums=('24f94b5fd76705f15897a78932a5f2439a32b1a2fdc35769bb1a5f5d9b4db439'
+'SKIP'
+'b856ebc17e39151652bda93f40f79756ac83eb4a0b67e6d55c049f3ebde42983'
+'f5378261028782c95014b0c91546e87132c13d4a39d81f61fc6039a0738a0c71')
+
+
+prepare() {
+   cd "${srcdir}/${_pkgname}-${pkgver}"
+   patch -p1 -i ../fd-passing-libmilter.patch # FS#49421
+   patch -p0 -i ../sendmail-8.15.2-glibc-2.30.patch
+
+   # From 
http://www.j-chkmail.org/wiki/doku.php/doc/installation/start#libmilter
+   cat >> devtools/Site/site.config.m4 <{unix|local}:/path/to/file -- A named pipe.
+   inet:port@{hostname|ip-address} -- An IPV4 socket.
+   inet6:port@{hostname|ip-address} -- An IPV6 socket.
++  fd:number -- Pre-opened file descriptor.
+   
+   
+ 
+diff --git a/libmilter/listener.c b/libmilter/listener.c
+index 48c552f..2249a1f 100644
+--- a/libmilter/listener.c
 b/libmilter/listener.c
+@@ -197,6 +197,11 @@ mi_milteropen(conn, backlog, rmsocket, name)
+   L_socksize = sizeof addr.sin6;
+   }
+ #endif /* NETINET6 */
++  else if (strcasecmp(p, "fd") == 0)
++  {
++  addr.sa.sa_family = AF_UNSPEC;
++  L_socksize = sizeof (_SOCK_ADDR);
++  }
+   else
+   {
+   smi_log(SMI_LOG_ERR, "%s: unknown socket type %s",
+@@ -443,7 +448,21 @@ mi_milteropen(conn, backlog, rmsocket, name)
+   }
+ #endif /* NETINET || NETINET6 */
+ 
+-  sock = socket(addr.sa.sa_family, SOCK_STREAM, 0);
++  if (addr.sa.sa_family == AF_UNSPEC)
++  {
++  char *end;
++  sock = strtol(colon, , 10);
++  if (*end != '\0' || sock < 0)
++  {
++  smi_log(SMI_LOG_ERR, "%s: expected positive integer as 
fd, got %s", name, colon);
++  return INVALID_SOCKET;
++  }
++  }
++  else
++  {
++  sock = socket(addr.sa.sa_family, SOCK_STREAM, 0);
++  }
++
+   if (!ValidSocket(sock))
+   {
+   smi_log(SMI_LOG_ERR,
+@@ -466,6 +485,7 @@ mi_milteropen(conn, backlog, rmsocket, name)
+ #if NETUNIX
+   addr.sa.sa_family != AF_UNIX &&
+ #endif /* NETUNIX */
++  addr.sa.sa_family != AF_UNSPEC &&
+   setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (void *) ,
+  sizeof(sockopt)) == -1)
+   {
+@@ -511,7 +531,8 @@ mi_milteropen(conn, backlog, rmsocket, name)
+   }
+ #endif /* NETUNIX */
+ 
+-  if (bind(sock, , L_socksize) < 0)
++  if (addr.sa.sa_family != AF_UNSPEC &&
++  bind(sock, , L_socksize) < 0)
+   {
+   smi_log(SMI_LOG_ERR,
+   "%s: Unable to bind to port %s: %s",
+@@ -817,7 +838,7 @@ mi_listener(conn, dbg, smfi, timeout, backlog)
+ # ifdef BSD4_4_SOCKADDR
+cliaddr.sa.sa_len == 0 ||
+ # endif /* BSD4_4_SOCKADDR */
+-   cliaddr.sa.sa_family != L_family))
++   (L_family != AF_UNSPEC && cliaddr.sa.sa_family != 
L_family)))
+   {
+   (void) closesocket(connfd);
+   connfd = INVALID_SOCKET;

Added: libmilter/trunk/sendmail-8.15.2-glibc-2.30.patch
===
--- libmilter/trunk/sendmail-8.15.2-glibc-2.30.patch
(rev 0)
+++ libmilter/trunk/sendmail-8.15.2-glibc-2.30.patch2021-06-16 07:44:07 UTC 
(rev 964249)
@@ 

[arch-commits] Commit in (6 files)

2021-06-07 Thread Balló György via arch-commits
Date: Monday, June 7, 2021 @ 15:49:43
  Author: bgyorgy
Revision: 957765

Add python-getkey and python-fabulous

New dependencies for paperwork.

Added:
  python-fabulous/
  python-fabulous/trunk/
  python-fabulous/trunk/PKGBUILD
  python-getkey/
  python-getkey/trunk/
  python-getkey/trunk/PKGBUILD

+
 python-fabulous/trunk/PKGBUILD |   24 
 python-getkey/trunk/PKGBUILD   |   31 +++
 2 files changed, 55 insertions(+)

Added: python-fabulous/trunk/PKGBUILD
===
--- python-fabulous/trunk/PKGBUILD  (rev 0)
+++ python-fabulous/trunk/PKGBUILD  2021-06-07 15:49:43 UTC (rev 957765)
@@ -0,0 +1,24 @@
+# Maintainer: Balló György 
+
+_pkgname=fabulous
+pkgname=python-fabulous
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='Simplified, fast RSS parsing library in Python'
+arch=('any')
+url='https://github.com/jart/fabulous'
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/jart/$_pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz;)
+sha256sums=('44e1c2bbb5a7762d78b88eb067f3c41dbe1fdc06f9bc383e81cb4ca45157089f')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}

Added: python-getkey/trunk/PKGBUILD
===
--- python-getkey/trunk/PKGBUILD(rev 0)
+++ python-getkey/trunk/PKGBUILD2021-06-07 15:49:43 UTC (rev 957765)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György 
+
+_pkgname=getkey
+pkgname=python-getkey
+pkgver=0.6.5
+pkgrel=1
+pkgdesc='Python library to easily read single chars and key strokes'
+arch=('any')
+url='https://github.com/kcsaff/getkey'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'flake8')
+checkdepends=('python-pytest-cov')
+source=("https://github.com/kcsaff/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('096792463ed0cd8ac92d7b2b6d23cff1c815b449403115034bed2029b378d54c')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  pytest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in (6 files)

2021-06-05 Thread Antonio Rojas via arch-commits
Date: Saturday, June 5, 2021 @ 14:12:22
  Author: arojas
Revision: 417150

community2extra: Moving opencolorio1 from community to extra

Added:
  opencolorio1/
  opencolorio1/repos/
  opencolorio1/trunk/
  opencolorio1/trunk/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch
  opencolorio1/trunk/PKGBUILD
  opencolorio1/trunk/make-coinstallable.patch

+
 8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch |   98 +++
 PKGBUILD   |   58 +
 make-coinstallable.patch   |   22 +
 3 files changed, 178 insertions(+)

Added: opencolorio1/trunk/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch
===
--- opencolorio1/trunk/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch   
(rev 0)
+++ opencolorio1/trunk/8d48ee8da42de2d878db7b42586db8b3c67f83e1.patch   
2021-06-05 14:12:22 UTC (rev 417150)
@@ -0,0 +1,98 @@
+From 8d48ee8da42de2d878db7b42586db8b3c67f83e1 Mon Sep 17 00:00:00 2001
+From: Jonathan Scruggs 
+Date: Fri, 19 Jan 2018 10:17:18 +
+Subject: [PATCH] Use GNUInstallDirs and fix install location for cmake files
+ (#501)
+
+GNUInstallDirs is supported on all platforms and variables are set
+to the standard GNU locations.
+
+Fix the location where the .cmake files are installed.
+
+Signed-off by: Jonathan Scruggs 
+---
+ CMakeLists.txt | 9 +
+ docs/CMakeLists.txt| 4 ++--
+ export/pkgconfig/OpenColorIO.pc.in | 6 ++
+ 3 files changed, 9 insertions(+), 10 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a399d57a..473f1b79 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -60,6 +60,7 @@ endif()
+ include(ParseArguments)
+ include(OCIOMacros)
+ include(ExternalProject)
++include(GNUInstallDirs)
+ 
+ enable_language(CXX)
+ 
+@@ -558,7 +559,7 @@ endif()
+ configure_file(${CMAKE_SOURCE_DIR}/share/ocio/setup_ocio.sh.in
+ ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh @ONLY)
+ 
+-INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh 
DESTINATION share/ocio/)
++INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh 
DESTINATION ${CMAKE_INSTALL_DATADIR}/ocio/)
+ 
+ 
###
+ ### CPACK ###
+@@ -623,7 +624,7 @@ if(TARGET OpenColorIO_STATIC)
+ set(OCIO_STATIC_COMPILE_DEFINITIONS )
+ endif()
+ endif()
+-install(EXPORT OpenColorIO DESTINATION cmake)
++install(EXPORT OpenColorIO DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/OpenColorIO)
+ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
+ "
+ get_filename_component(OpenColorIO_DIR \"\${CMAKE_CURRENT_LIST_FILE}\" 
PATH)
+@@ -635,7 +636,7 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
+ 
+ ## targets libraries + associated definitions
+ if(NOT TARGET OpenColorIO)
+-include(\"\${OpenColorIO_DIR}/cmake/OpenColorIO.cmake\") ## thanks to 
imported target
++
include(\"\${OpenColorIO_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake/OpenColorIO/OpenColorIO.cmake\")
 ## thanks to imported target
+ if(TARGET OpenColorIO AND NOT OpenColorIO_USE_STATIC)
+ message(STATUS \"shared target OpenColorIO : see 
OpenColorIO_LIBRARY\")
+ set(OpenColorIO_LIBRARY OpenColorIO)
+@@ -673,4 +674,4 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
+ message(STATUS OPENCOLORIO_FOUND=\${OPENCOLORIO_FOUND})
+ "
+ )
+-install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION .)
++install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION 
${CMAKE_INSTALL_LIBDIR}/cmake/OpenColorIO)
+diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
+index 5970db64..4d97f72c 100644
+--- a/docs/CMakeLists.txt
 b/docs/CMakeLists.txt
+@@ -138,7 +138,7 @@ add_custom_target(doc ALL
+ add_dependencies(doc Sphinx) 
+ 
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/
+-DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html
++DESTINATION ${CMAKE_INSTALL_DOCDIR}/html
+ PATTERN .* EXCLUDE
+ )
+ 
+@@ -173,6 +173,6 @@ if(PDFLATEX_COMPILER)
+ add_dependencies(pdf latex)
+ 
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/build-latex/OpenColorIO.pdf
+-DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/)
++DESTINATION ${CMAKE_INSTALL_DOCDIR})
+ 
+ endif()
+diff --git a/export/pkgconfig/OpenColorIO.pc.in 
b/export/pkgconfig/OpenColorIO.pc.in
+index 81ab4ce3..c4553a4f 100644
+--- a/export/pkgconfig/OpenColorIO.pc.in
 b/export/pkgconfig/OpenColorIO.pc.in
+@@ -1,7 +1,5 @@
+-prefix=@CMAKE_INSTALL_PREFIX@
+-exec_prefix=@CMAKE_INSTALL_EXEC_PREFIX@
+-includedir=${prefix}/include
+-libdir=${exec_prefix}/lib@LIB_SUFFIX@
++libdir=@CMAKE_INSTALL_FULL_LIBDIR@
++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+ 
+ Name: OpenColorIO
+ 

[arch-commits] Commit in (6 files)

2021-06-03 Thread Antonio Rojas via arch-commits
Date: Thursday, June 3, 2021 @ 08:22:53
  Author: arojas
Revision: 417027

New avogadrolibs dependency

Added:
  avogadro-crystals/
  avogadro-crystals/repos/
  avogadro-crystals/repos/extra-any/
  avogadro-crystals/repos/extra-any/PKGBUILD
  avogadro-crystals/trunk/
  avogadro-crystals/trunk/PKGBUILD

--+
 repos/extra-any/PKGBUILD |   17 +
 trunk/PKGBUILD   |   16 
 2 files changed, 33 insertions(+)

Added: avogadro-crystals/repos/extra-any/PKGBUILD
===
--- avogadro-crystals/repos/extra-any/PKGBUILD  (rev 0)
+++ avogadro-crystals/repos/extra-any/PKGBUILD  2021-06-03 08:22:53 UTC (rev 
417027)
@@ -0,0 +1,17 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=avogadro-molecules
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Common molecule fragments for visualization in Avogadro'
+arch=(any)
+url='https://openchemistry.org/'
+license=(BSD)
+source=(https://github.com/OpenChemistry/molecules/archive/$pkgver/molecules-$pkgver.tar.gz)
+sha256sums=('1d40abcb307aaad8a18673b01b1a812a9a4f64bc7d0ddc7ebe46548e12dc1979')
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/avogadro2
+  cp -ar molecules-$pkgver "$pkgdir"/usr/share/avogadro2/molecules
+  install -Dm644 molecules-$pkgver/LICENSE -t 
"$pkgdir"/usr/share/licenses/$pkgname
+}

Added: avogadro-crystals/trunk/PKGBUILD
===
--- avogadro-crystals/trunk/PKGBUILD(rev 0)
+++ avogadro-crystals/trunk/PKGBUILD2021-06-03 08:22:53 UTC (rev 417027)
@@ -0,0 +1,16 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=avogadro-crystals
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Crystallographic files of common materials, elements, oxides, for 
visualization in Avogadro'
+arch=(any)
+url='https://openchemistry.org/'
+license=(BSD)
+source=(https://github.com/OpenChemistry/crystals/archive/$pkgver/crystals-$pkgver.tar.gz)
+sha256sums=('f93377965979dfab6f6119e34db5e9c0e749f38bd664ac033c54dc415d3777c8')
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/avogadro2
+  cp -ar crystals-$pkgver "$pkgdir"/usr/share/avogadro2/crystals
+}


[arch-commits] Commit in (6 files)

2021-05-14 Thread David Runge via arch-commits
Date: Friday, May 14, 2021 @ 19:07:49
  Author: dvzrv
Revision: 934303

Add libtracefs as dependency for trace-cmd.

Added:
  libtracefs/
  libtracefs/repos/
  libtracefs/trunk/
  libtracefs/trunk/PKGBUILD
  libtracefs/trunk/libtracefs-1.2.0-docs_makefile.patch
  libtracefs/trunk/libtracefs-1.2.0-full_relro.patch

--+
 PKGBUILD |   42 +
 libtracefs-1.2.0-docs_makefile.patch |   11 
 libtracefs-1.2.0-full_relro.patch|   12 +
 3 files changed, 65 insertions(+)

Added: libtracefs/trunk/PKGBUILD
===
--- libtracefs/trunk/PKGBUILD   (rev 0)
+++ libtracefs/trunk/PKGBUILD   2021-05-14 19:07:49 UTC (rev 934303)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge 
+
+pkgname=libtracefs
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Linux kernel trace file system library"
+arch=('x86_64')
+url="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/about/;
+license=('GPL2' 'LGPL2.1')
+depends=('glibc')
+makedepends=('asciidoc' 'libtraceevent' 'xmlto')
+provides=('libtracefs.so')
+source=("$pkgname-$pkgver.tar.gz::https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/${pkgname}-${pkgver}.tar.gz;
+"$pkgname-1.2.0-docs_makefile.patch"
+"$pkgname-1.2.0-full_relro.patch")
+noextract=()
+sha512sums=('e26f1e93dfc5b2bec72a616015259e4d9e3ded25df31a08acec3b547c8579dec91be9f6eba8ee4043d21064ce06805bdea28fd7356e980fcdb8c7bae6d0daa19'
+
'bdfffba9957d889c60baea9c197709bf1a62d30ac4b8fd47d930b8d5b67fa040817b9a835e226dd1201f2ccdb7fcb43a12093c2b559fb6c0edc3e9ba167062c2'
+
'2956c79c3a5952bbe1f2b67df3adb0d6ce83c7cf4220811e7b88a133062cd6e2c238c58a6f82c140adb66ed27a6d4a4a40916ea9dc171ae7d747dbfcb98eac25')
+b2sums=('e3c27cac3903624ca90089eb87281dd99382f2ba3927703149623cf63c62cbc4f724bfa1f5a542363501da94be5a787ac3cb105c640e43fe4edf8e88b4c8c251'
+
'1340af2c65dc344912715c69827d5849fda83e4bcf136da3ccdbee4e3b508e9b557af0828914dff8d27abebbdbdab975d8800432d5252b6b1eb0da08b0cb4b02'
+
'f7d3982f927bfd9a4125d88aa4ffc9a4d4477d6e3867a29e596bf59791789e974a50fe6b648d7f650134310d3823f7f3b8af7c113bc52b582a11637b9752c468')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  patch -Np 1 -i ../"$pkgname-1.2.0-docs_makefile.patch"
+  patch -Np 1 -i ../"$pkgname-1.2.0-full_relro.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make LDFLAGS="$LDFLAGS"
+  make doc
+}
+
+package() {
+  depends+=('libtraceevent.so')
+
+  cd "$pkgname-$pkgver"
+  make libdir_relative=lib prefix=/usr DESTDIR="$pkgdir/" install
+  make libdir_relative=lib prefix=/usr DESTDIR="$pkgdir/" install -C 
Documentation
+}

Added: libtracefs/trunk/libtracefs-1.2.0-docs_makefile.patch
===
--- libtracefs/trunk/libtracefs-1.2.0-docs_makefile.patch   
(rev 0)
+++ libtracefs/trunk/libtracefs-1.2.0-docs_makefile.patch   2021-05-14 
19:07:49 UTC (rev 934303)
@@ -0,0 +1,11 @@
+diff -ruN a/Documentation/Makefile b/Documentation/Makefile
+--- a/Documentation/Makefile   2021-05-13 04:59:12.0 +0200
 b/Documentation/Makefile   2021-05-14 20:56:14.220076655 +0200
+@@ -1,6 +1,6 @@
+ # SPDX-License-Identifier: LGPL-2.1
+ 
+-include $(src)/scripts/utils.mk
++include ../scripts/utils.mk
+ 
+ 
+ # This Makefile and manpage XSL files were taken from libtraceevent

Added: libtracefs/trunk/libtracefs-1.2.0-full_relro.patch
===
--- libtracefs/trunk/libtracefs-1.2.0-full_relro.patch  
(rev 0)
+++ libtracefs/trunk/libtracefs-1.2.0-full_relro.patch  2021-05-14 19:07:49 UTC 
(rev 934303)
@@ -0,0 +1,12 @@
+diff -ruN a/scripts/utils.mk b/scripts/utils.mk
+--- a/scripts/utils.mk 2021-05-13 04:59:12.0 +0200
 b/scripts/utils.mk 2021-05-14 21:05:11.357878988 +0200
+@@ -56,7 +56,7 @@
+ 
+ do_compile_shared_library =   \
+   ($(print_shared_lib_compile)\
+-  $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LIBS))
++  $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' $(LDFLAGS) -o $@ 
$(LIBS))
+ 
+ do_compile_plugin_obj =   \
+   ($(print_plugin_obj_compile)\


[arch-commits] Commit in (6 files)

2021-04-10 Thread Daurnimator via arch-commits
Date: Saturday, April 10, 2021 @ 12:50:59
  Author: daurnimator
Revision: 915500

Add sops package

Added:
  sops/
  sops/repos/
  sops/trunk/
  sops/trunk/PKGBUILD
  sops/trunk/bash_autocomplete
  sops/trunk/zsh_autocomplete

---+
 PKGBUILD  |   50 ++
 bash_autocomplete |   18 ++
 zsh_autocomplete  |   25 +
 3 files changed, 93 insertions(+)

Added: sops/trunk/PKGBUILD
===
--- sops/trunk/PKGBUILD (rev 0)
+++ sops/trunk/PKGBUILD 2021-04-10 12:50:59 UTC (rev 915500)
@@ -0,0 +1,50 @@
+# Maintainer: Daurnimator 
+# Contributor: Michael Beaumont 
+
+pkgname=sops
+pkgver=3.7.1
+pkgrel=3
+pkgdesc='Editor of encrypted files that supports YAML, JSON and BINARY formats'
+arch=('x86_64')
+url='https://github.com/mozilla/sops'
+license=('MPL2')
+depends=('glibc')
+makedepends=('go')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+'bash_autocomplete'
+'zsh_autocomplete')
+sha256sums=('536ee140d888b53b71c1e8edd669f4c11bc573428983fbea644fbbfcd7d7079a'
+'761c67ffd48431e60ea5dc48e5656b4480eca7534d4b715eb65bd75680f5e975'
+'d98d34aeaa7b0f98220bcb21fc9f2bb58efaed45478a7229eb58e5795b57b5a7')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  go build \
+-trimpath \
+-buildmode=pie \
+-mod=readonly \
+-modcacherw \
+-ldflags "-linkmode=external -extldflags \"${LDFLAGS}\"" \
+./cmd/sops
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+
+  go test
+}
+
+package() {
+  install -Dm644 bash_autocomplete 
"${pkgdir}/usr/share/bash-completion/completions/sops"
+  install -Dm644 zsh_autocomplete "$pkgdir/usr/share/zsh/site-functions/_sops"
+
+  cd "${pkgname}-${pkgver}"
+
+  install -Dm755 sops "${pkgdir}/usr/bin/sops"
+  install -Dm644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
+}

Added: sops/trunk/bash_autocomplete
===
--- sops/trunk/bash_autocomplete(rev 0)
+++ sops/trunk/bash_autocomplete2021-04-10 12:50:59 UTC (rev 915500)
@@ -0,0 +1,18 @@
+## based on 
https://github.com/urfave/cli/blob/v2.3.0/autocomplete/bash_autocomplete
+
+_cli_bash_autocomplete() {
+  if [[ "${COMP_WORDS[0]}" != "source" ]]; then
+local cur opts base
+COMPREPLY=()
+cur="${COMP_WORDS[COMP_CWORD]}"
+if [[ "$cur" == "-"* ]]; then
+  opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} ${cur} --generate-bash-completion 
)
+else
+  opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )
+fi
+COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+return 0
+  fi
+}
+
+complete -o bashdefault -o default -o nospace -F _cli_bash_autocomplete sops

Added: sops/trunk/zsh_autocomplete
===
--- sops/trunk/zsh_autocomplete (rev 0)
+++ sops/trunk/zsh_autocomplete 2021-04-10 12:50:59 UTC (rev 915500)
@@ -0,0 +1,25 @@
+#compdef sops
+
+## based on 
https://github.com/urfave/cli/blob/v2.3.0/autocomplete/zsh_autocomplete
+
+_cli_zsh_autocomplete() {
+
+  local -a opts
+  local cur
+  cur=${words[-1]}
+  if [[ "$cur" == "-"* ]]; then
+opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} 
${cur} --generate-bash-completion)}")
+  else
+opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} 
--generate-bash-completion)}")
+  fi
+
+  if [[ "${opts[1]}" != "" ]]; then
+_describe 'values' opts
+  else
+_files
+  fi
+
+  return
+}
+
+compdef _cli_zsh_autocomplete sops


[arch-commits] Commit in (6 files)

2021-03-01 Thread Jan Steffens via arch-commits
Date: Monday, March 1, 2021 @ 13:25:08
  Author: heftig
Revision: 876393

extra2community: Moving glhack from extra to community

Added:
  glhack/
  glhack/repos/
  glhack/trunk/
  glhack/trunk/PKGBUILD
  glhack/trunk/glhack-libpng15.patch
  glhack/trunk/glhack.install

---+
 PKGBUILD  |   56 
 glhack-libpng15.patch |   11 +
 glhack.install|   24 
 3 files changed, 91 insertions(+)

Added: glhack/trunk/PKGBUILD
===
--- glhack/trunk/PKGBUILD   (rev 0)
+++ glhack/trunk/PKGBUILD   2021-03-01 13:25:08 UTC (rev 876393)
@@ -0,0 +1,56 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=glhack
+pkgver=1.2
+pkgrel=9
+pkgdesc="A port of Nethack, a single player dungeon exploration game in 2D"
+arch=('x86_64')
+url="http://glhack.sourceforge.net/;
+license=('custom')
+depends=('sdl' 'libpng' 'libgl')
+makedepends=('mesa')
+options=('!makeflags')
+install=glhack.install
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
 glhack-libpng15.patch)
+sha1sums=('7dc46e6bd4a3c2ec10ab4d314acfbb30cefc6eae'
+  '4cf1a13e76cc1f1eb3708d42c74b85b7f321092d')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p0 -i ../glhack-libpng15.patch
+  sed -i 's|/usr/lib/games|/usr/share|' include/config.h
+  sed -i 's|/var/lib/games/glhack|/var/games/glhack|' include/unixconf.h
+  sed -i -e 's|PREFIX   = /usr|PREFIX   = $(DESTDIR)/usr|' Makefile
+  sed -i -e 's|VARDIR   = /var/lib/games/glhack|VARDIR   = 
$(DESTDIR)/var/games/glhack|' Makefile
+  sed -i -e 's|/usr/man/man6|$(DESTDIR)/usr/share/man/man6|' doc/Makefile
+  sed -i -e 's|GAMEDIR  = $(PREFIX)/lib/games/$(GAME)|GAMEDIR  = 
$(PREFIX)/share/$(GAME)|' Makefile
+}
+
+build(){
+  cd ${pkgname}-${pkgver}
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -d "${pkgdir}"/usr/share/man/man{5,6}
+  make DESTDIR="$pkgdir" install
+  install -D -m644 dat/license 
"${pkgdir}/usr/share/licenses/${pkgname}/license"
+
+# Renaming man pages which conflicts with nethack
+  pushd "${pkgdir}/usr/share/man/man6"
+  for manpage in dgn_comp dlb lev_comp nethack recover; do
+mv $manpage.6 $manpage-glhack.6
+  done
+  popd
+
+  mv "${pkgdir}/usr/share/glhack/glhack" "${pkgdir}/usr/bin/glhack"
+  mv "${pkgdir}/usr/share/glhack/recover_glhack" 
"${pkgdir}/usr/bin/recover_glhack"
+
+  chown -R root:root "${pkgdir}/usr/share/glhack"
+
+  rm -r "${pkgdir}"/var/games/glhack
+  install -d "${pkgdir}/var/games/glhack/save"
+  chmod -R 775 "${pkgdir}/var/games"
+  chown -R root:games "${pkgdir}/var/games"
+}

Added: glhack/trunk/glhack-libpng15.patch
===
--- glhack/trunk/glhack-libpng15.patch  (rev 0)
+++ glhack/trunk/glhack-libpng15.patch  2021-03-01 13:25:08 UTC (rev 876393)
@@ -0,0 +1,11 @@
+--- win/gl/gl_image.c.old  2012-01-19 04:01:26.0 -0500
 win/gl/gl_image.c  2012-01-19 04:03:04.0 -0500
+@@ -486,7 +486,7 @@
+   /* set error handling since we are using the setjmp/longjmp method
+* (this is the normal method of doing things with libpng).
+*/
+-  if (setjmp(png_ptr->jmpbuf))
++  if (setjmp(png_jmpbuf(png_ptr)))
+   {
+ sdlgl_warning("Problem within LibPNG (unknown)\n");
+ goto failed;

Added: glhack/trunk/glhack.install
===
--- glhack/trunk/glhack.install (rev 0)
+++ glhack/trunk/glhack.install 2021-03-01 13:25:08 UTC (rev 876393)
@@ -0,0 +1,24 @@
+post_install() {
+  touch var/games/glhack/{record,perm,logfile}
+  chown root:games var/games/glhack/{record,perm,logfile}
+  chmod 664 var/games/glhack/{record,perm,logfile}
+}
+
+pre_upgrade() {
+  install -d -m775 var/games/glhack
+  chown root:games var/games/glhack
+  [ -e usr/share/glhack/record ] && cp usr/share/glhack/record var/games/glhack
+  [ -e usr/share/glhack/perm ] && cp usr/share/glhack/perm var/games/glhack
+  [ -e usr/share/glhack/logfile ] && cp usr/share/glhack/logfile 
var/games/glhack
+  if [ -d usr/share/glhack/save ]; then
+chmod g-s usr/share/glhack/save
+mv usr/share/glhack/save var/games/glhack
+  else
+install -d -m775 var/games/glhack/save
+  fi
+  chown root:games var/games/glhack/save
+}
+
+post_upgrade() {
+  post_install
+}


[arch-commits] Commit in (6 files)

2021-02-26 Thread Jan Steffens via arch-commits
Date: Friday, February 26, 2021 @ 23:06:52
  Author: heftig
Revision: 874485

extra2community: Moving sdl_ttf from extra to community

Added:
  sdl_ttf/
  sdl_ttf/repos/
  sdl_ttf/trunk/
  sdl_ttf/trunk/PKGBUILD
  sdl_ttf/trunk/bug1433.patch
  sdl_ttf/trunk/freetype-pkgconfig.patch

--+
 PKGBUILD |   43 ++
 bug1433.patch|   11 ++
 freetype-pkgconfig.patch |   46 +
 3 files changed, 100 insertions(+)

Added: sdl_ttf/trunk/PKGBUILD
===
--- sdl_ttf/trunk/PKGBUILD  (rev 0)
+++ sdl_ttf/trunk/PKGBUILD  2021-02-26 23:06:52 UTC (rev 874485)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Allan McRae 
+# Contributor: Tom Newsom 
+
+pkgname=sdl_ttf
+pkgver=2.0.11
+pkgrel=6
+pkgdesc="A library that allows you to use TrueType fonts in your SDL 
applications"
+url="https://www.libsdl.org/projects/SDL_ttf/;
+arch=(x86_64)
+license=(custom)
+depends=(sdl freetype2)
+source=(https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz
+freetype-pkgconfig.patch
+bug1433.patch)
+sha256sums=('724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7'
+'87412f614b97b4724cb4845db882f07c15caf098dee57a856d6dbae0f58de80d'
+'4baea703454b9bca9498a920485552f1b8489a5007f8f1366080b14a4cd74c90')
+
+prepare() {
+  cd SDL_ttf-$pkgver
+
+  # Fix FS#28674
+  patch -Ni ../bug1433.patch
+
+  # Fix build with FreeType 2.9.1
+  patch -Np1 -i ../freetype-pkgconfig.patch
+
+  touch NEWS README AUTHORS ChangeLog
+  autoreconf -vi
+}
+
+build() {
+  cd SDL_ttf-$pkgver
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd SDL_ttf-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Added: sdl_ttf/trunk/bug1433.patch
===
--- sdl_ttf/trunk/bug1433.patch (rev 0)
+++ sdl_ttf/trunk/bug1433.patch 2021-02-26 23:06:52 UTC (rev 874485)
@@ -0,0 +1,11 @@
+--- SDL_ttf.c.orig 2012-02-12 16:36:41.859977617 +0100
 SDL_ttf.c  2012-02-12 16:36:53.696580159 +0100
+@@ -1747,7 +1747,7 @@
+   /* Copy the character from the pixmap */
+   src = glyph->pixmap.buffer;
+   dst = (Uint8*) textbuf->pixels;
+-  for ( row = 0; row < glyph->bitmap.rows; ++row ) {
++  for ( row = 0; row < glyph->pixmap.rows; ++row ) {
+   memcpy( dst, src, glyph->pixmap.width );
+   src += glyph->pixmap.pitch;
+   dst += textbuf->pitch;
\ No newline at end of file

Added: sdl_ttf/trunk/freetype-pkgconfig.patch
===
--- sdl_ttf/trunk/freetype-pkgconfig.patch  (rev 0)
+++ sdl_ttf/trunk/freetype-pkgconfig.patch  2021-02-26 23:06:52 UTC (rev 
874485)
@@ -0,0 +1,46 @@
+https://bugs.gentoo.org/654758
+
+--- SDL_ttf-2.0.11/configure.in
 SDL_ttf-2.0.11/configure.in
+@@ -64,6 +64,7 @@
+   ;;
+ esac
+ 
++PKG_PROG_PKG_CONFIG
+ 
+ dnl Check for iconv (character conversion library; see iconv.m4)
+ dnl This isn't available on many systems
+@@ -94,6 +95,17 @@
+ dnl
+ dnl Get the cflags and libraries from the freetype-config script
+ dnl
++PKG_CHECK_MODULES(
++  FREETYPE2,
++  freetype2,
++  [
++  ft_found=yes
++  CFLAGS="$CFLAGS $FREETYPE2_CFLAGS"
++  LIBS="$LIBS $FREETYPE2_LIBS"
++  ],
++  ft_found=no
++)
++
+ AC_ARG_WITH(freetype-prefix,[  --with-freetype-prefix=PFX   Prefix where 
FREETYPE is 
+ installed (optional)],
+ freetype_prefix="$withval", freetype_prefix="")
+@@ -101,6 +113,7 @@
+ where FREETYPE is installed (optional)],
+ freetype_exec_prefix="$withval", freetype_exec_prefix="")
+ 
++if test "x$ft_found" != "xyes" ; then
+ if test x$freetype_exec_prefix != x ; then
+  freetype_args="$freetype_args --exec-prefix=$freetype_exec_prefix"
+  if test x${FREETYPE_CONFIG+set} != xset ; then
+@@ -123,6 +136,7 @@
+ CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
+ LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"
+ fi
++fi
+ 
+ dnl Check for SDL
+ SDL_VERSION=1.2.4


[arch-commits] Commit in (6 files)

2021-02-26 Thread Jan Steffens via arch-commits
Date: Friday, February 26, 2021 @ 23:05:23
  Author: heftig
Revision: 874479

extra2community: Moving sdl_pango from extra to community

Added:
  sdl_pango/
  sdl_pango/repos/
  sdl_pango/trunk/
  sdl_pango/trunk/PKGBUILD
  sdl_pango/trunk/SDL_Pango-0.1.2-API-adds.patch
  sdl_pango/trunk/matrix_declarations.patch

+
 PKGBUILD   |   35 ++
 SDL_Pango-0.1.2-API-adds.patch |  116 ++
 matrix_declarations.patch  |  131 +++
 3 files changed, 282 insertions(+)

Added: sdl_pango/trunk/PKGBUILD
===
--- sdl_pango/trunk/PKGBUILD(rev 0)
+++ sdl_pango/trunk/PKGBUILD2021-02-26 23:05:23 UTC (rev 874479)
@@ -0,0 +1,35 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Allan McRae 
+# Contributor: gyo 
+
+pkgname=sdl_pango
+pkgver=0.1.2
+pkgrel=8
+pkgdesc="Pango SDL binding"
+arch=('x86_64')
+url="http://sdlpango.sourceforge.net/;
+license=('LGPL')
+depends=('pango' 'sdl')
+source=(https://downloads.sourceforge.net/sourceforge/sdlpango/SDL_Pango-$pkgver.tar.gz
+SDL_Pango-$pkgver-API-adds.patch
+matrix_declarations.patch)
+sha256sums=('7f75d3b97acf707c696ea126424906204ebfa07660162de925173cdd0257eba4'
+'5a989c7acb539fce640323d3995cca8913a4b8869f5c690b78501ec6b5c86d5d'
+'cfff600cae86bf75070f8921da565210409efba318f45361b34489ac29298bc5')
+
+prepare() {
+  cd SDL_Pango-$pkgver
+  patch -Np0 -i ../SDL_Pango-$pkgver-API-adds.patch
+  patch -Np1 -i ../matrix_declarations.patch
+}
+
+build() {
+  cd SDL_Pango-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd SDL_Pango-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Added: sdl_pango/trunk/SDL_Pango-0.1.2-API-adds.patch
===
--- sdl_pango/trunk/SDL_Pango-0.1.2-API-adds.patch  
(rev 0)
+++ sdl_pango/trunk/SDL_Pango-0.1.2-API-adds.patch  2021-02-26 23:05:23 UTC 
(rev 874479)
@@ -0,0 +1,116 @@
+--- src/SDL_Pango.c2004-12-10 10:06:33.0 +0100
 src/SDL_Pango.c2006-09-24 22:46:24.0 +0200
+@@ -723,13 +723,8 @@
+ SDL_UnlockSurface(surface);
+ }
+ 
+-/*!
+-Create a context which contains Pango objects.
+-
+-@return A pointer to the context as a SDLPango_Context*.
+-*/
+ SDLPango_Context*
+-SDLPango_CreateContext()
++SDLPango_CreateContext_GivenFontDesc(const char* font_desc)
+ {
+ SDLPango_Context *context = g_malloc(sizeof(SDLPango_Context));
+ G_CONST_RETURN char *charset;
+@@ -743,8 +738,7 @@
+ pango_context_set_language (context->context, pango_language_from_string 
(charset));
+ pango_context_set_base_dir (context->context, PANGO_DIRECTION_LTR);
+ 
+-context->font_desc = pango_font_description_from_string(
+-  MAKE_FONT_NAME (DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE));
++context->font_desc = pango_font_description_from_string(font_desc);
+ 
+ context->layout = pango_layout_new (context->context);
+ 
+@@ -762,6 +756,17 @@
+ }
+ 
+ /*!
++Create a context which contains Pango objects.
++
++@return A pointer to the context as a SDLPango_Context*.
++*/
++SDLPango_Context*
++SDLPango_CreateContext()
++{
++ SDLPango_CreateContext_GivenFontDesc(MAKE_FONT_NAME(DEFAULT_FONT_FAMILY, 
DEFAULT_FONT_SIZE));
++}
++
++/*!
+ Free a context.
+ 
+ @param *context [i/o] Context to be free
+@@ -1053,6 +1058,20 @@
+ pango_layout_set_font_description (context->layout, context->font_desc);
+ }
+ 
++void
++SDLPango_SetText_GivenAlignment(
++SDLPango_Context *context,
++const char *text,
++int length,
++SDLPango_Alignment alignment)
++{
++pango_layout_set_attributes(context->layout, NULL);
++pango_layout_set_text (context->layout, text, length);
++pango_layout_set_auto_dir (context->layout, TRUE);
++pango_layout_set_alignment (context->layout, alignment);
++pango_layout_set_font_description (context->layout, context->font_desc);
++}
++
+ /*!
+ Set plain text to context.
+ Text must be utf-8.
+@@ -1067,11 +1086,7 @@
+ const char *text,
+ int length)
+ {
+-pango_layout_set_attributes(context->layout, NULL);
+-pango_layout_set_text (context->layout, text, length);
+-pango_layout_set_auto_dir (context->layout, TRUE);
+-pango_layout_set_alignment (context->layout, PANGO_ALIGN_LEFT);
+-pango_layout_set_font_description (context->layout, context->font_desc);
++ SDLPango_SetText_GivenAlignment(context, text, length, 
SDLPANGO_ALIGN_LEFT);
+ }
+ 
+ /*!
+--- src/SDL_Pango.h2004-12-10 10:06:33.0 +0100
 src/SDL_Pango.h2006-09-24 22:46:01.0 +0200
+@@ -109,12 +109,20 @@
+ SDLPANGO_DIRECTION_NEUTRAL/*! Neutral */
+ } SDLPango_Direction;
+ 
+-
++/*!
++Specifies alignment of text. See Pango reference for detail
++*/
++typedef 

[arch-commits] Commit in (6 files)

2021-02-26 Thread Jan Steffens via arch-commits
Date: Friday, February 26, 2021 @ 22:58:26
  Author: heftig
Revision: 874465

extra2community: Moving frozen-bubble from extra to community

Added:
  frozen-bubble/
  frozen-bubble/repos/
  frozen-bubble/trunk/
  frozen-bubble/trunk/PKGBUILD
  frozen-bubble/trunk/fix-buffer-size-when-formatting-current-date.patch
  frozen-bubble/trunk/frozen-bubble.desktop

+
 PKGBUILD   |   51 ++
 fix-buffer-size-when-formatting-current-date.patch |   69 +++
 frozen-bubble.desktop  |9 ++
 3 files changed, 129 insertions(+)

Added: frozen-bubble/trunk/PKGBUILD
===
--- frozen-bubble/trunk/PKGBUILD(rev 0)
+++ frozen-bubble/trunk/PKGBUILD2021-02-26 22:58:26 UTC (rev 874465)
@@ -0,0 +1,51 @@
+# Maintainer: Jan "heftig" Steffens 
+# Contributor: Allan McRae 
+# Contributor: Brandon Niemczyk 
+
+pkgname=frozen-bubble
+_pkgver=2.2.1-beta1
+pkgver=${_pkgver/-/}
+pkgrel=16
+pkgdesc="A game in which you throw colorful bubbles and build groups to 
destroy the bubbles"
+arch=(x86_64)
+url="http://www.frozen-bubble.org;
+license=(GPL2)
+depends=(perl-sdl perl-ipc-system-simple perl-compress-bzip2 perl-file-which)
+makedepends=(perl-file-slurp perl-locale-maketext-lexicon perl-module-build)
+options=('!emptydirs')
+source=(http://www.frozen-bubble.org/data/$pkgname-$_pkgver.tar.bz2
+fix-buffer-size-when-formatting-current-date.patch
+frozen-bubble.desktop)
+md5sums=('825cc23ed806838b9d86de9982a5687a'
+ '8b189952734ca0c6e94b0959994e54d1'
+ '01b10b77ba6ad856f5c199121c582272')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  # https://bugzilla.redhat.com/show_bug.cgi?id=1541359
+  patch -Np1 -i ../fix-buffer-size-when-formatting-current-date.patch
+
+  sed -e 's|-Werror||' -i inc/My/Builder.pm
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver"
+  unset CFLAGS
+  # install module in vendor directories
+  perl Build.PL installdirs=vendor
+  perl Build
+}
+
+check() {
+  cd "$srcdir/$pkgname-$_pkgver"
+  perl Build test
+}
+
+package() {
+  cd "$srcdir/$pkgname-$_pkgver"
+  perl Build install destdir="$pkgdir"
+
+  install -D -m644 share/icons/frozen-bubble-icon-64x64.png 
"$pkgdir/usr/share/pixmaps/frozen-bubble.png"
+  install -D -m644 "$srcdir/frozen-bubble.desktop" 
"$pkgdir/usr/share/applications/frozen-bubble.desktop"
+}

Added: frozen-bubble/trunk/fix-buffer-size-when-formatting-current-date.patch
===
--- frozen-bubble/trunk/fix-buffer-size-when-formatting-current-date.patch  
(rev 0)
+++ frozen-bubble/trunk/fix-buffer-size-when-formatting-current-date.patch  
2021-02-26 22:58:26 UTC (rev 874465)
@@ -0,0 +1,69 @@
+From aa2ce32185b4477e659ed7c70d09c440610ef67b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
+Date: Fri, 2 Feb 2018 12:44:15 +0100
+Subject: [PATCH] Fix buffer size when formatting current date
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+gcc-8 and glibc-2.26.9000 reports this error:
+
+server/log.c:64:54: error: '%03d' directive output may be truncated writing 
between 3 and 11 bytes into a region of size between 0 and 49 
[-Werror=format-truncation=]
+ snprintf(current_date, sizeof(current_date), "%s.%03d", buf, (int)(1000 * 
(time-seconds)));
+  ^~~~
+
+This patch fixes two mistakes in the get_current_date() function:
+
+First strftime() can fail and then buf content is undefined. The patch
+makes sure the buf content is properly null-termited.
+
+Second if strftime() uses up the the whole buf array, no space will be
+left for appending miliseconds to current_date value in the subsequent
+snprintf() call. The patch increases current_data size so that things
+will always fit.
+
+In reality, all this should not matter because sane strftime() will
+return fixed-lenght string. But for all the cases and for sake of the
+compiler check this patch should be applied.
+
+Signed-off-by: Petr Písař 
+---
+ server/log.c | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/server/log.c b/server/log.c
+index 2fe7b7c..f696752 100644
+--- a/server/log.c
 b/server/log.c
+@@ -52,15 +52,17 @@ double get_current_time_exact(void)
+ return (double) now.tv_sec + now.tv_usec / 1e6;  // bad bad idea to use 
float as precision is not down to the seconds then
+ }
+ 
+-char current_date[50];
++char current_date[70];
+ char* get_current_date(void) 
+ {
+ struct tm * lt;
+ char buf[50];
+ double time = get_current_time_exact();
+ time_t seconds = (time_t)time;
++size_t length;
+ lt = localtime();
+-strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", lt);
++length = strftime(buf, 

[arch-commits] Commit in (6 files)

2021-02-24 Thread Tim Meusel via arch-commits
Date: Wednesday, February 24, 2021 @ 18:45:23
  Author: bastelfreak
Revision: 871671

add ruby-rack-test

Added:
  ruby-rack-test/
  ruby-rack-test/repos/
  ruby-rack-test/trunk/
  ruby-rack-test/trunk/PKGBUILD
  ruby-rack-test/trunk/disable-rubocop.patch
  ruby-rack-test/trunk/disable-simplecov.patch

-+
 PKGBUILD|   53 ++
 disable-rubocop.patch   |   20 +
 disable-simplecov.patch |   16 +
 3 files changed, 89 insertions(+)

Added: ruby-rack-test/trunk/PKGBUILD
===
--- ruby-rack-test/trunk/PKGBUILD   (rev 0)
+++ ruby-rack-test/trunk/PKGBUILD   2021-02-24 18:45:23 UTC (rev 871671)
@@ -0,0 +1,53 @@
+# Maintainer: Tim Meusel 
+
+_gemname='rack-test'
+pkgname="ruby-${_gemname}"
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='small, simple testing API for Rack apps'
+arch=('any')
+url='https://github.com/rack/rack-test'
+license=('MIT')
+depends=('ruby' 'ruby-rack')
+makedepends=('ruby-rdoc' 'ruby-rake')
+checkdepends=('ruby-rspec')
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz" 
'disable-rubocop.patch' 'disable-simplecov.patch')
+sha512sums=('36d947d9b13d33ee8322e5b9d18fe8266787ccb7703f1fafadc040123e34dd44e98e7faf8b6dd816e51ed167065b2ffe79e9bcee74564dc324ba2b7dba76f82a'
+
'b1f09db04057846e7437b09a10ba38c792cbbbfd7c9fe938237d922ef72c02e0078f6a9542532b41b2f968680d539f766646995dce0a1d11ec7ab1673bc86490'
+
'5bc69c8b560bb4078e62db781698603f3f5a5722c8c1cf9912defed4862c42012db91945d852ff1ca14579f1d2b30a0978d523c35e366171542dc8afa7ef6280')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  # allow latest dependencies
+  sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
+
+  # drop rubocop. We don't have it in the repos and it doesn't add any value 
during builds
+  patch -p1 -N -i "${srcdir}/disable-rubocop.patch"
+  # drop coverage reporting. We don't have simplecov in our repos
+  patch -p1 -N -i "${srcdir}/disable-simplecov.patch"
+
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  # tests currently don't pass because we don't have sinatra in the repos
+  #rake spec
+}
+
+package() {
+cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 MIT-LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md History.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}

Added: ruby-rack-test/trunk/disable-rubocop.patch
===
--- ruby-rack-test/trunk/disable-rubocop.patch  (rev 0)
+++ ruby-rack-test/trunk/disable-rubocop.patch  2021-02-24 18:45:23 UTC (rev 
871671)
@@ -0,0 +1,20 @@
+diff --git a/Rakefile b/Rakefile
+index 93b70fe..daad2ce 100644
+--- a/Rakefile
 b/Rakefile
+@@ -1,5 +1,3 @@
+-require 'rubygems'
+-
+ require 'rspec/core'
+ require 'rspec/core/rake_task'
+ 
+@@ -10,9 +8,6 @@ RSpec::Core::RakeTask.new do |t|
+   t.ruby_opts = '-w'
+ end
+ 
+-require 'rubocop/rake_task'
+-RuboCop::RakeTask.new
+-
+ desc 'Generate RDoc'
+ task :docs do
+   FileUtils.rm_rf('doc')

Added: ruby-rack-test/trunk/disable-simplecov.patch
===
--- ruby-rack-test/trunk/disable-simplecov.patch
(rev 0)
+++ ruby-rack-test/trunk/disable-simplecov.patch2021-02-24 18:45:23 UTC 
(rev 871671)
@@ -0,0 +1,16 @@
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 9cebd4b..00e34d5 100644
+--- a/spec/spec_helper.rb
 b/spec/spec_helper.rb
+@@ -1,11 +1,3 @@
+-require 'simplecov'
+-SimpleCov.start do
+-  add_filter '/spec/'
+-end
+-
+-require 'rubygems'
+-require 'bundler/setup'
+-
+ require 'rack'
+ require 'rspec'
+ 


[arch-commits] Commit in (6 files)

2021-01-22 Thread Sergej Pupykin via arch-commits
Date: Friday, January 22, 2021 @ 18:41:39
  Author: spupykin
Revision: 824813

scantailor -> scantailor-advanced

Added:
  scantailor-advanced/
  scantailor-advanced/trunk/package.patch
Modified:
  scantailor-advanced/trunk/PKGBUILD(contents, properties)
Deleted:
  scantailor-advanced/trunk/build-fix.patch
  scantailor-advanced/trunk/scantailor.desktop
  scantailor/

-+
 scantailor-advanced/trunk/package.patch |   67 ++
 trunk/PKGBUILD  |   60 +++---
 trunk/build-fix.patch   |   11 
 trunk/scantailor.desktop|   11 
 4 files changed, 93 insertions(+), 56 deletions(-)

Modified: scantailor-advanced/trunk/PKGBUILD
===
--- scantailor/trunk/PKGBUILD   2021-01-22 18:41:22 UTC (rev 824812)
+++ scantailor-advanced/trunk/PKGBUILD  2021-01-22 18:41:39 UTC (rev 824813)
@@ -1,44 +1,36 @@
-# Maintainer: Sergej Pupykin 
-# Contributor: Denis Terskov aka neurosurgeon 
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Previous maintainer: Martin Hasoň 
 
-pkgname=scantailor
-pkgver=0.9.12.2
-pkgrel=4
-#_realver=EXPERIMENTAL_2016_02_22
-# use experimental branch
-_commit=ce74e53f89883b35bb12ec7ed4fd654c016e71e4
-pkgdesc="Interactive post-processing tool for scanned pages"
-arch=(x86_64)
-url="https://scantailor.org/;
-license=("GPL")
-depends=('qt5-base' 'libtiff' 'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('cmake' 'qt5-tools' 'eigen' 'boost' 'git')
-#source=($pkgname-$_realver.tar.gz::https://github.com/Tulon/$pkgname/archive/$_realver.tar.gz
-source=(git://github.com/Tulon/scantailor.git#commit=${_commit}
-scantailor.desktop
-build-fix.patch)
-sha256sums=('SKIP'
-'3c191c0380f991709bd38a0ace6adbf351fca441a2c5fd432e56a0da6b68a728'
-'e21ec75ed1302fadffd53989f4f262f05ef2236261861fd88db9b3c8867b2671')
+pkgname=scantailor-advanced
+pkgver=1.0.16
+pkgrel=2
+pkgdesc="An interactive post-processing tool for scanned pages."
+arch=("x86_64")
+url="https://github.com/4lex4/scantailor-advanced;
+license=("GPL3")
+depends=("qt5-base" "hicolor-icon-theme" "boost-libs>=1.0.0" "libpng>=1.0.0" 
"zlib>=1.0.0" "libtiff>=4.0.0")
+makedepends=("cmake>=3.9.0" "qt5-tools" "boost>=1.0.0")
+conflicts=("scantailor")
+replaces=("scantailor")
+source=("$pkgname-$pkgver::https://github.com/4lex4/$pkgname/archive/v$pkgver.tar.gz;
 "package.patch")
+sha256sums=('84629d2edba4c36c62bdb75eedb145262b894d950bcb95cec0dab43e21bdb909'
+'15680699fd419af8ac624fa01d70dabe52b37dc1b0a94d80b91082c61f0d6634')
 
 prepare() {
-#  cd "$srcdir"/$pkgname-${_realver}
-  cd "$srcdir"/$pkgname
-  patch -p1 -i "$srcdir"/build-fix.patch
+cd "$pkgname-$pkgver"
+patch --forward --strip=1 --input="${srcdir}/package.patch"
 }
 
 build() {
-  cd "$srcdir"/$pkgname
-  cmake \
-   -DCMAKE_BUILD_TYPE=Release \
-   -DCMAKE_INSTALL_PREFIX=/usr \
-   .
-  make
+cd "$pkgname-$pkgver"
+cmake -G "Unix Makefiles"
+make -j`nproc`
 }
 
 package() {
-  cd "$srcdir"/$pkgname
-  make DESTDIR="$pkgdir" install
-  install -Dm0644 "resources/appicon.svg" 
"$pkgdir/usr/share/icons/hicolor/scalable/apps/scantailor.svg"
-  install -Dm0644 "$srcdir/scantailor.desktop" 
"$pkgdir/usr/share/applications/scantailor.desktop"
+cd "$pkgname-$pkgver"
+make DESTDIR="$pkgdir/" install
+install -Dm0644 "resources/appicon.svg" 
"$pkgdir/usr/share/icons/hicolor/scalable/apps/scantailor-advanced.svg"
+install -Dm0644 "resources/unix/scantailor.desktop" 
"$pkgdir/usr/share/applications/scantailor.desktop"
 }


Property changes on: scantailor-advanced/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Deleted: scantailor-advanced/trunk/build-fix.patch
===
--- scantailor/trunk/build-fix.patch2021-01-22 18:41:22 UTC (rev 824812)
+++ scantailor-advanced/trunk/build-fix.patch   2021-01-22 18:41:39 UTC (rev 
824813)
@@ -1,11 +0,0 @@
-diff -wbBur scantailor/filters/page_split/OptionsWidget.cpp 
scantailor.my/filters/page_split/OptionsWidget.cpp
 scantailor/filters/page_split/OptionsWidget.cpp2018-11-16 
15:30:37.616233595 +0300
-+++ scantailor.my/filters/page_split/OptionsWidget.cpp 2018-11-16 
15:22:32.029572581 +0300
-@@ -29,6 +29,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- namespace page_split
- {

Added: scantailor-advanced/trunk/package.patch
===
--- scantailor-advanced/trunk/package.patch (rev 0)
+++ scantailor-advanced/trunk/package.patch 2021-01-22 18:41:39 UTC (rev 
824813)
@@ -0,0 +1,67 @@
+diff --unified --recursive --text 
scantailor-advanced-1.0.16/filters/output/OutputGenerator.cpp 

[arch-commits] Commit in (6 files)

2021-01-20 Thread Antonio Rojas via arch-commits
Date: Wednesday, January 20, 2021 @ 17:52:09
  Author: arojas
Revision: 823975

extra2community: Moving antlr4 from extra to community

Added:
  antlr4/
  antlr4/repos/
  antlr4/trunk/
  antlr4/trunk/PKGBUILD
  antlr4/trunk/bin_antlr4
  antlr4/trunk/bin_grun

+
 PKGBUILD   |   30 ++
 bin_antlr4 |2 ++
 bin_grun   |2 ++
 3 files changed, 34 insertions(+)

Added: antlr4/trunk/PKGBUILD
===
--- antlr4/trunk/PKGBUILD   (rev 0)
+++ antlr4/trunk/PKGBUILD   2021-01-20 17:52:09 UTC (rev 823975)
@@ -0,0 +1,30 @@
+# Maintainer: Guillaume ALAUX 
+pkgname=antlr4
+_shortname=${pkgname:0:-1}
+pkgver=4.8
+pkgrel=1
+pkgdesc='Parser generator for reading, processing, executing, or translating 
structured text or binary files'
+arch=('any')
+url='https://www.antlr.org/index.html'
+license=('BSD')
+depends=('java-environment>=6')
+provides=("antlr=${pkgver}")
+source=(https://www.antlr.org/download/${_shortname}-${pkgver}-complete.jar
+
https://raw.githubusercontent.com/${_shortname}/${pkgname}/master/LICENSE.txt
+bin_antlr4
+bin_grun)
+noextract=("${_shortname}-${pkgver}-complete.jar")
+sha256sums=('73a49d6810d903aa4827ee32126937b85d3bebec0a8e679b0dd963cbcc49ba5a'
+'b1b379fcaf3219593a4c433feb1b35c780bed23fafaae440b1ae2771a9521e3a'
+'345697e77b7191e2afe70b223f205a8a7fd18a655e6865f503a764583d9a3dcc'
+'81e1536e011762287a095e969784a9f2fbbcc62374ab5fb83e19e01ade20b454')
+
+package() {
+  cd "${srcdir}"
+  install -D ${_shortname}-${pkgver}-complete.jar \
+ "${pkgdir}"/usr/share/java/${_shortname}-${pkgver}-complete.jar
+  ln -s antlr-${pkgver}-complete.jar 
"${pkgdir}"/usr/share/java/antlr-complete.jar
+  install -D bin_antlr4 "${pkgdir}"/usr/bin/antlr4
+  install -D bin_grun   "${pkgdir}"/usr/bin/grun
+  install -D LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+}

Added: antlr4/trunk/bin_antlr4
===
--- antlr4/trunk/bin_antlr4 (rev 0)
+++ antlr4/trunk/bin_antlr4 2021-01-20 17:52:09 UTC (rev 823975)
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -jar /usr/share/java/antlr-complete.jar "$@"


Property changes on: antlr4/trunk/bin_antlr4
___
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: antlr4/trunk/bin_grun
===
--- antlr4/trunk/bin_grun   (rev 0)
+++ antlr4/trunk/bin_grun   2021-01-20 17:52:09 UTC (rev 823975)
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -cp .:/usr/share/java/antlr-complete.jar org.antlr.v4.gui.TestRig "$@"


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


[arch-commits] Commit in (6 files)

2021-01-13 Thread Justin Kromlinger via arch-commits
Date: Wednesday, January 13, 2021 @ 19:01:18
  Author: hashworks
Revision: 820643

Moved package from AUR

Added:
  dovecot-fts-elastic/
  dovecot-fts-elastic/repos/
  dovecot-fts-elastic/trunk/
  dovecot-fts-elastic/trunk/90-fts.conf
  dovecot-fts-elastic/trunk/PKGBUILD
  dovecot-fts-elastic/trunk/dovecot-fts-elastic.install

-+
 90-fts.conf |   12 +++
 PKGBUILD|   45 ++
 dovecot-fts-elastic.install |   12 +++
 3 files changed, 69 insertions(+)

Added: dovecot-fts-elastic/trunk/90-fts.conf
===
--- dovecot-fts-elastic/trunk/90-fts.conf   (rev 0)
+++ dovecot-fts-elastic/trunk/90-fts.conf   2021-01-13 19:01:18 UTC (rev 
820643)
@@ -0,0 +1,12 @@
+mail_plugins = $mail_plugins fts fts_elastic
+
+plugin {
+  fts = elastic
+  fts_elastic = debug url=http://localhost:9200/m/ bulk_size=500 
refresh=fts rawlog_dir=/var/log/fts-elastic/
+
+# no indexes new emails when user make search
+# yes indexes every email when delivered
+  fts_autoindex = no
+fts_autoindex_exclude = \Junk
+fts_autoindex_exclude2 = \Trash
+}

Added: dovecot-fts-elastic/trunk/PKGBUILD
===
--- dovecot-fts-elastic/trunk/PKGBUILD  (rev 0)
+++ dovecot-fts-elastic/trunk/PKGBUILD  2021-01-13 19:01:18 UTC (rev 820643)
@@ -0,0 +1,45 @@
+# Maintainer: Justin Kromlinger 
+# Contributor: Marcus Hoffmann 
+
+pkgname=dovecot-fts-elastic
+_reponame=fts-elastic
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Dovecot FTS plugin for elasticsearch"
+arch=(x86_64)
+url="https://github.com/filiphanes/fts-elastic;
+license=(MIT)
+depends=(dovecot json-c)
+backup=('etc/dovecot/conf.d/90-fts.conf')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+"90-fts.conf")
+sha256sums=('00b1f214791a3d8e01eb9916138dc3d9a8978dd1fa6494c5ae5cf5b7902a0fd5'
+'3442fa7350055c7328bcdf2f666727b9a5d8c942a0bfe93044db344c80ad7e69')
+install=dovecot-fts-elastic.install
+
+build() {
+  cd "${_reponame}-${pkgver}"
+
+  ./autogen.sh
+  ./configure \
+--prefix=/usr \
+--with-dovecot=/usr/lib/dovecot
+
+  make
+  make DESTDIR="$(pwd)/build" install
+}
+
+package() {
+  install -Dm644 90-fts.conf "${pkgdir}/etc/dovecot/conf.d/90-fts.conf"
+
+  cd "${_reponame}-${pkgver}"
+
+  install -Dm644 build/usr/lib/dovecot/lib21_fts_elastic_plugin.so 
"${pkgdir}/usr/lib/dovecot/modules/lib21_fts_elastic_plugin.so"
+  install -Dm644 elastic7-schema.json 
"${pkgdir}/usr/share/doc/dovecot/elastic7-schema.json"
+  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -Dm644 COPYING.MIT 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING.MIT"
+
+  sed -i -e 's/LLL/MMM/g' 
"${pkgdir}/usr/share/doc/dovecot/elastic7-schema.json"
+}
+
+# vim: set tabstop=4:softtabstop=4:shiftwidth=4:noexpandtab

Added: dovecot-fts-elastic/trunk/dovecot-fts-elastic.install
===
--- dovecot-fts-elastic/trunk/dovecot-fts-elastic.install   
(rev 0)
+++ dovecot-fts-elastic/trunk/dovecot-fts-elastic.install   2021-01-13 
19:01:18 UTC (rev 820643)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+post_install() {
+   cat <<-EOF
+   Make sure elasticsearch is started, then create the index mapping with:
+   
+   curl -X PUT "http://localhost:9200/m?pretty; -H 'Content-Type: 
application/json' -d "@/usr/share/doc/dovecot/elastic7-schema.json"
+   
+   Make sure the /etc/dovecot/conf.d/90-fts.conf file is included in you 
dovecot configuration, then restart dovecot.
+   For more info see: 
https://github.com/filiphanes/fts-elastic#configuration.
+   EOF
+}


[arch-commits] Commit in (6 files)

2021-01-05 Thread Jelle van der Waa via arch-commits
Date: Tuesday, January 5, 2021 @ 09:30:16
  Author: jelle
Revision: 405261

Re-add as this is obviously still required

Added:
  python2-gobject/
  python2-gobject/repos/
  python2-gobject/repos/extra-x86_64/
  python2-gobject/repos/extra-x86_64/PKGBUILD
  python2-gobject/trunk/
  python2-gobject/trunk/PKGBUILD

-+
 repos/extra-x86_64/PKGBUILD |   49 ++
 trunk/PKGBUILD  |   49 ++
 2 files changed, 98 insertions(+)

Added: python2-gobject/repos/extra-x86_64/PKGBUILD
===
--- python2-gobject/repos/extra-x86_64/PKGBUILD (rev 0)
+++ python2-gobject/repos/extra-x86_64/PKGBUILD 2021-01-05 09:30:16 UTC (rev 
405261)
@@ -0,0 +1,49 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Ionut Biru 
+
+pkgname=python2-gobject
+pkgver=3.36.1
+pkgrel=2
+pkgdesc="Python 2 Bindings for GLib/GObject/GIO/GTK+"
+url="https://wiki.gnome.org/Projects/PyGObject;
+arch=(x86_64)
+license=(LGPL)
+depends=(gobject-introspection-runtime python2)
+makedepends=(python2-cairo gobject-introspection git meson)
+checkdepends=(python2-pytest gtk3 xorg-server-xvfb)
+optdepends=('cairo: Cairo bindings')
+_commit=5c6bee1c2a0d08cf367aa61784b5b967128e68b2  # tags/3.36.1^0
+source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit;)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd pygobject
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd pygobject
+  # tests: don't use strict mode for xfail with the excepthook plugin
+  git cherry-pick -n dae0500166068d78150855bdef94f0bee18b31dd
+}
+
+build() {
+  arch-meson pygobject build -D python=/usr/bin/python2
+  meson compile -C build
+}
+
+check() {
+  xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' \
+meson test -C build --print-errorlogs
+}
+
+package_python2-gobject() {
+  DESTDIR="$pkgdir" meson install -C build
+  python2 -m compileall -d /usr/lib "$pkgdir/usr/lib"
+  python2 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+
+  # Remove devel stuff conflicting with python-gobject
+  rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
+}
+
+# vim:set sw=2 et:

Added: python2-gobject/trunk/PKGBUILD
===
--- python2-gobject/trunk/PKGBUILD  (rev 0)
+++ python2-gobject/trunk/PKGBUILD  2021-01-05 09:30:16 UTC (rev 405261)
@@ -0,0 +1,49 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Ionut Biru 
+
+pkgname=python2-gobject
+pkgver=3.36.1
+pkgrel=3
+pkgdesc="Python 2 Bindings for GLib/GObject/GIO/GTK+"
+url="https://wiki.gnome.org/Projects/PyGObject;
+arch=(x86_64)
+license=(LGPL)
+depends=(gobject-introspection-runtime python2)
+makedepends=(python2-cairo gobject-introspection git meson)
+checkdepends=(python2-pytest gtk3 xorg-server-xvfb)
+optdepends=('cairo: Cairo bindings')
+_commit=5c6bee1c2a0d08cf367aa61784b5b967128e68b2  # tags/3.36.1^0
+source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit;)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd pygobject
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd pygobject
+  # tests: don't use strict mode for xfail with the excepthook plugin
+  git cherry-pick -n dae0500166068d78150855bdef94f0bee18b31dd
+}
+
+build() {
+  arch-meson pygobject build -D python=/usr/bin/python2
+  meson compile -C build
+}
+
+check() {
+  xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' \
+meson test -C build --print-errorlogs
+}
+
+package_python2-gobject() {
+  DESTDIR="$pkgdir" meson install -C build
+  python2 -m compileall -d /usr/lib "$pkgdir/usr/lib"
+  python2 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+
+  # Remove devel stuff conflicting with python-gobject
+  rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
+}
+
+# vim:set sw=2 et:


[arch-commits] Commit in (6 files)

2021-01-04 Thread Jelle van der Waa via arch-commits
Date: Monday, January 4, 2021 @ 22:54:01
  Author: jelle
Revision: 808301

Add requirement of renpy 8.0

Added:
  python2-future/
  python2-future/repos/
  python2-future/repos/community-any/
  python2-future/repos/community-any/PKGBUILD
  python2-future/trunk/
  python2-future/trunk/PKGBUILD

--+
 repos/community-any/PKGBUILD |   31 +++
 trunk/PKGBUILD   |   31 +++
 2 files changed, 62 insertions(+)

Added: python2-future/repos/community-any/PKGBUILD
===
--- python2-future/repos/community-any/PKGBUILD (rev 0)
+++ python2-future/repos/community-any/PKGBUILD 2021-01-04 22:54:01 UTC (rev 
808301)
@@ -0,0 +1,31 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Felix Yan 
+# Contributor: Christopher Arndt 
+# Contributor: Gaute Hope 
+# Contributor: Melissa Padilla 
+
+pkgname=python2-future
+pkgver=0.18.2
+pkgrel=1
+pkgdesc='Clean single-source support for Python 3 and 2'
+url=https://python-future.org/
+arch=(any)
+license=(MIT)
+depends=(python2)
+makedepends=(python2-setuptools)
+source=(https://pypi.io/packages/source/f/future/future-${pkgver}.tar.gz)
+b2sums=(68574b589bf54aa8dacbd162a54885589faa32829ccf212f50de5bf036ebd8b9aba0c13e63e80d34e507cc0dae4d8d3d47fea33433b17d2c2e6dbf6c37f66d8f)
+
+build() {
+  cd future-${pkgver}
+  python2 setup.py build
+}
+
+package() {
+  cd future-${pkgver}
+  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  rm -rf "${pkgdir}"/usr/bin
+  install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python2-future
+}
+
+# vim: ts=2 sw=2 et:

Added: python2-future/trunk/PKGBUILD
===
--- python2-future/trunk/PKGBUILD   (rev 0)
+++ python2-future/trunk/PKGBUILD   2021-01-04 22:54:01 UTC (rev 808301)
@@ -0,0 +1,31 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Felix Yan 
+# Contributor: Christopher Arndt 
+# Contributor: Gaute Hope 
+# Contributor: Melissa Padilla 
+
+pkgname=python2-future
+pkgver=0.18.2
+pkgrel=1
+pkgdesc='Clean single-source support for Python 3 and 2'
+url=https://python-future.org/
+arch=(any)
+license=(MIT)
+depends=(python2)
+makedepends=(python2-setuptools)
+source=(https://pypi.io/packages/source/f/future/future-${pkgver}.tar.gz)
+b2sums=(68574b589bf54aa8dacbd162a54885589faa32829ccf212f50de5bf036ebd8b9aba0c13e63e80d34e507cc0dae4d8d3d47fea33433b17d2c2e6dbf6c37f66d8f)
+
+build() {
+  cd future-${pkgver}
+  python2 setup.py build
+}
+
+package() {
+  cd future-${pkgver}
+  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  rm -rf "${pkgdir}"/usr/bin
+  install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python2-future
+}
+
+# vim: ts=2 sw=2 et: