[arch-commits] Commit in uglify-js/repos/community-any (4 files)

2018-05-07 Thread Felix Yan via arch-commits
Date: Tuesday, May 8, 2018 @ 04:52:25
  Author: felixonmars
Revision: 319652

archrelease: copy trunk to community-any

Added:
  uglify-js/repos/community-any/PKGBUILD
(from rev 319651, uglify-js/trunk/PKGBUILD)
  uglify-js/repos/community-any/uglify-js.install
(from rev 319651, uglify-js/trunk/uglify-js.install)
Deleted:
  uglify-js/repos/community-any/PKGBUILD
  uglify-js/repos/community-any/uglify-js.install

---+
 PKGBUILD  |   56 ++--
 uglify-js.install |   16 +++---
 2 files changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-08 04:51:57 UTC (rev 319651)
+++ PKGBUILD2018-05-08 04:52:25 UTC (rev 319652)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Daniel Nagy 
-
-pkgname=uglify-js
-pkgver=3.3.23
-pkgrel=1
-pkgdesc="JavaScript parser, mangler/compressor and beautifier toolkit"
-arch=('any')
-url='http://lisperator.net/uglifyjs'
-license=('BSD')
-depends=('nodejs')
-makedepends=('npm')
-install=${pkgname}.install
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('2acf8aa8b183b189f8cfea54ec9b0a0b30b44f798f625fab53e55c3d989039ace313852a8b8502458dea3cc0db262ef37b7ee7d650d78f76e2cf58a4f77beabf')
-
-package() {
-  npm install -g --user root --prefix "$pkgdir"/usr 
"$srcdir"/$pkgname-$pkgver.tgz
-  mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
-  ln -s "../../../lib/node_modules/uglify-js/LICENSE" 
"$pkgdir/usr/share/licenses/$pkgname/"
-
-  # Fix npm derp
-  find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
-}
-
-# vim:set ts=2 sw=2 et:

Copied: uglify-js/repos/community-any/PKGBUILD (from rev 319651, 
uglify-js/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-08 04:52:25 UTC (rev 319652)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+pkgname=uglify-js
+pkgver=3.3.24
+pkgrel=1
+pkgdesc="JavaScript parser, mangler/compressor and beautifier toolkit"
+arch=('any')
+url='http://lisperator.net/uglifyjs'
+license=('BSD')
+depends=('nodejs')
+makedepends=('npm')
+install=${pkgname}.install
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('852efe4c38aa22abd649c09c291c9b090ce6327133278af297d12b4665b8185c86e3ca74fdd2998b2ff99952dbb05cd4f020a70a041dc4c889cd9cad86f2f30a')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr 
"$srcdir"/$pkgname-$pkgver.tgz
+  mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
+  ln -s "../../../lib/node_modules/uglify-js/LICENSE" 
"$pkgdir/usr/share/licenses/$pkgname/"
+
+  # Fix npm derp
+  find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: uglify-js.install
===
--- uglify-js.install   2018-05-08 04:51:57 UTC (rev 319651)
+++ uglify-js.install   2018-05-08 04:52:25 UTC (rev 319652)
@@ -1,8 +0,0 @@
-post_install() {
-  # fixup permissions
-  chmod 755 /usr/lib/node_modules
-}
-
-post_upgrade() {
-  post_install
-}

Copied: uglify-js/repos/community-any/uglify-js.install (from rev 319651, 
uglify-js/trunk/uglify-js.install)
===
--- uglify-js.install   (rev 0)
+++ uglify-js.install   2018-05-08 04:52:25 UTC (rev 319652)
@@ -0,0 +1,8 @@
+post_install() {
+  # fixup permissions
+  chmod 755 /usr/lib/node_modules
+}
+
+post_upgrade() {
+  post_install
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Tuesday, May 8, 2018 @ 04:51:57
  Author: felixonmars
Revision: 319651

upgpkg: uglify-js 3.3.24-1

Modified:
  uglify-js/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 04:00:05 UTC (rev 319650)
+++ PKGBUILD2018-05-08 04:51:57 UTC (rev 319651)
@@ -3,7 +3,7 @@
 # Contributor: Daniel Nagy 
 
 pkgname=uglify-js
-pkgver=3.3.23
+pkgver=3.3.24
 pkgrel=1
 pkgdesc="JavaScript parser, mangler/compressor and beautifier toolkit"
 arch=('any')
@@ -14,7 +14,7 @@
 install=${pkgname}.install
 source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
 noextract=($pkgname-$pkgver.tgz)
-sha512sums=('2acf8aa8b183b189f8cfea54ec9b0a0b30b44f798f625fab53e55c3d989039ace313852a8b8502458dea3cc0db262ef37b7ee7d650d78f76e2cf58a4f77beabf')
+sha512sums=('852efe4c38aa22abd649c09c291c9b090ce6327133278af297d12b4665b8185c86e3ca74fdd2998b2ff99952dbb05cd4f020a70a041dc4c889cd9cad86f2f30a')
 
 package() {
   npm install -g --user root --prefix "$pkgdir"/usr 
"$srcdir"/$pkgname-$pkgver.tgz


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

2018-05-07 Thread Jan Steffens via arch-commits
Date: Tuesday, May 8, 2018 @ 04:18:37
  Author: heftig
Revision: 323489

FS#58486 Disable MPX

Modified:
  linux/trunk/PKGBUILD
  linux/trunk/config

--+
 PKGBUILD |2 +-
 config   |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 04:07:39 UTC (rev 323488)
+++ PKGBUILD2018-05-08 04:18:37 UTC (rev 323489)
@@ -31,7 +31,7 @@
 'SKIP'
 'f5ef83461054024814846eb816c76eba1b903f7e3e38c3417027b33070b60d91'
 'SKIP'
-'627aa44c65d7297b00a8a7045d606d33b6a0b982c02331a101b94d38d348082a'
+'8566a49997faf3f8678440c52578a7a0ee901e598d3b67d3bee3799fb92e8f86'
 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
 '75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919'
 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65'

Modified: config
===
--- config  2018-05-08 04:07:39 UTC (rev 323488)
+++ config  2018-05-08 04:18:37 UTC (rev 323489)
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.16.4-1 Kernel Configuration
+# Linux/x86 4.16.7-1 Kernel Configuration
 #
 CONFIG_64BIT=y
 CONFIG_X86_64=y
@@ -661,7 +661,7 @@
 CONFIG_ARCH_RANDOM=y
 CONFIG_X86_SMAP=y
 CONFIG_X86_INTEL_UMIP=y
-CONFIG_X86_INTEL_MPX=y
+# CONFIG_X86_INTEL_MPX is not set
 CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y
 CONFIG_EFI=y
 CONFIG_EFI_STUB=y


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

2018-05-07 Thread Jan Steffens via arch-commits
Date: Tuesday, May 8, 2018 @ 04:07:39
  Author: heftig
Revision: 323488

archrelease: copy trunk to testing-x86_64

Added:
  pinentry/repos/testing-x86_64/
  pinentry/repos/testing-x86_64/PKGBUILD
(from rev 323487, pinentry/trunk/PKGBUILD)
  pinentry/repos/testing-x86_64/pinentry
(from rev 323487, pinentry/trunk/pinentry)

--+
 PKGBUILD |   44 
 pinentry |3 +++
 2 files changed, 47 insertions(+)

Copied: pinentry/repos/testing-x86_64/PKGBUILD (from rev 323487, 
pinentry/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-05-08 04:07:39 UTC (rev 323488)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Tobias Powalowski 
+# Maintainer: Gaetan Bisson 
+
+pkgname=pinentry
+pkgver=1.1.0
+pkgrel=3
+pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize 
the Assuan protocol'
+url='http://gnupg.org/related_software/pinentry/'
+arch=('x86_64')
+license=('GPL')
+depends=('ncurses' 'libcap' 'libassuan' 'libsecret')
+makedepends=('gtk2' 'qt5-base' 'gcr')
+optdepends=('gtk2: gtk2 backend'
+'qt5-base: qt backend'
+'gcr: gnome3 backend')
+source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
+'pinentry')
+sha256sums=('68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570'
+'SKIP'
+'95f298d20fce379ca6ac696b269ae4d276372e07c3e90e2d473dd8d14d5b682d')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6')
+
+build() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   ./configure \
+   --prefix=/usr \
+   --enable-pinentry-tty \
+   --enable-pinentry-curses \
+   --enable-fallback-curses \
+   --enable-pinentry-emacs \
+   --enable-pinentry-gtk2 \
+   --enable-pinentry-gnome3 \
+   --enable-pinentry-qt \
+   --enable-libsecret \
+
+   make
+}
+
+package() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   make DESTDIR="${pkgdir}" install
+   install -Dt "${pkgdir}/usr/bin" ../pinentry
+}

Copied: pinentry/repos/testing-x86_64/pinentry (from rev 323487, 
pinentry/trunk/pinentry)
===
--- testing-x86_64/pinentry (rev 0)
+++ testing-x86_64/pinentry 2018-05-08 04:07:39 UTC (rev 323488)
@@ -0,0 +1,3 @@
+#!/bin/sh
+test -e /usr/lib/libgtk-x11-2.0.so.0 && exec /usr/bin/pinentry-gtk-2  "$@"
+exec /usr/bin/pinentry-curses "$@"


[arch-commits] Commit in gnome-contacts/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-05-07 Thread Jan Steffens via arch-commits
Date: Tuesday, May 8, 2018 @ 04:07:22
  Author: heftig
Revision: 323487

archrelease: copy trunk to extra-x86_64

Added:
  gnome-contacts/repos/extra-x86_64/PKGBUILD
(from rev 323486, gnome-contacts/trunk/PKGBUILD)
Deleted:
  gnome-contacts/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-08 04:06:37 UTC (rev 323486)
+++ PKGBUILD2018-05-08 04:07:22 UTC (rev 323487)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) 
-# Contributor: Ionut Biru 
-
-pkgname=gnome-contacts
-pkgver=3.28.1
-pkgrel=1
-pkgdesc="Contacts Manager for GNOME"
-url="https://wiki.gnome.org/Apps/Contacts;
-arch=(x86_64)
-license=(GPL2)
-depends=(gtk3 folks gnome-desktop dconf gnome-online-accounts libgee 
telepathy-glib cheese libchamplain)
-makedepends=(vala gobject-introspection git meson)
-groups=(gnome)
-_commit=039ac32a34b630590b487de552cf6259b8491c6e  # tags/3.28.1^0
-source=("git+https://gitlab.gnome.org/GNOME/gnome-contacts.git#commit=$_commit;)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  arch-meson $pkgname build
-  ninja -C build
-}
-
-check() {
-  cd build
-  meson test
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}

Copied: gnome-contacts/repos/extra-x86_64/PKGBUILD (from rev 323486, 
gnome-contacts/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-08 04:07:22 UTC (rev 323487)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Contributor: Ionut Biru 
+
+pkgname=gnome-contacts
+pkgver=3.28.2
+pkgrel=1
+pkgdesc="Contacts Manager for GNOME"
+url="https://wiki.gnome.org/Apps/Contacts;
+arch=(x86_64)
+license=(GPL2)
+depends=(gtk3 folks gnome-desktop dconf gnome-online-accounts libgee 
telepathy-glib cheese libchamplain)
+makedepends=(vala gobject-introspection git meson)
+groups=(gnome)
+_commit=145ca91397b1c0060d5702c7b0c1748c0aba9b2c  # tags/3.28.2^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-contacts.git#commit=$_commit;)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}


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

2018-05-07 Thread Jan Steffens via arch-commits
Date: Tuesday, May 8, 2018 @ 04:06:37
  Author: heftig
Revision: 323486

3.28.2-1

Modified:
  gnome-contacts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 04:06:32 UTC (rev 323485)
+++ PKGBUILD2018-05-08 04:06:37 UTC (rev 323486)
@@ -3,7 +3,7 @@
 # Contributor: Ionut Biru 
 
 pkgname=gnome-contacts
-pkgver=3.28.1
+pkgver=3.28.2
 pkgrel=1
 pkgdesc="Contacts Manager for GNOME"
 url="https://wiki.gnome.org/Apps/Contacts;
@@ -12,7 +12,7 @@
 depends=(gtk3 folks gnome-desktop dconf gnome-online-accounts libgee 
telepathy-glib cheese libchamplain)
 makedepends=(vala gobject-introspection git meson)
 groups=(gnome)
-_commit=039ac32a34b630590b487de552cf6259b8491c6e  # tags/3.28.1^0
+_commit=145ca91397b1c0060d5702c7b0c1748c0aba9b2c  # tags/3.28.2^0
 
source=("git+https://gitlab.gnome.org/GNOME/gnome-contacts.git#commit=$_commit;)
 sha256sums=('SKIP')
 


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

2018-05-07 Thread Jan Steffens via arch-commits
Date: Tuesday, May 8, 2018 @ 04:06:32
  Author: heftig
Revision: 323485

1.1.0-3

Modified:
  pinentry/trunk/PKGBUILD
  pinentry/trunk/pinentry

--+
 PKGBUILD |4 ++--
 pinentry |2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 02:24:16 UTC (rev 323484)
+++ PKGBUILD2018-05-08 04:06:32 UTC (rev 323485)
@@ -4,7 +4,7 @@
 
 pkgname=pinentry
 pkgver=1.1.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize 
the Assuan protocol'
 url='http://gnupg.org/related_software/pinentry/'
 arch=('x86_64')
@@ -18,7 +18,7 @@
 'pinentry')
 sha256sums=('68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570'
 'SKIP'
-'50d651d7379dc160bf08a1f888e364fb366e2658c0a709f78a3d7965c3f2224d')
+'95f298d20fce379ca6ac696b269ae4d276372e07c3e90e2d473dd8d14d5b682d')
 validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6')
 
 build() {

Modified: pinentry
===
--- pinentry2018-05-08 02:24:16 UTC (rev 323484)
+++ pinentry2018-05-08 04:06:32 UTC (rev 323485)
@@ -1,5 +1,3 @@
 #!/bin/sh
-test -e /usr/lib/libgcr-base-3.so.1  && exec /usr/bin/pinentry-gnome3 "$@"
-test -e /usr/lib/libQt5Widgets.so.5  && exec /usr/bin/pinentry-qt "$@"
 test -e /usr/lib/libgtk-x11-2.0.so.0 && exec /usr/bin/pinentry-gtk-2  "$@"
 exec /usr/bin/pinentry-curses "$@"


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:53:58
  Author: svenstaro
Revision: 319502

archrelease: copy trunk to community-staging-x86_64

Added:
  openvdb/repos/community-staging-x86_64/
  openvdb/repos/community-staging-x86_64/PKGBUILD
(from rev 319501, openvdb/trunk/PKGBUILD)

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

Copied: openvdb/repos/community-staging-x86_64/PKGBUILD (from rev 319501, 
openvdb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-08 02:53:58 UTC (rev 319502)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer : Sven-Hendrik Haase 
+
+pkgname=openvdb
+pkgver=5.1.0
+pkgrel=1
+pkgdesc='A large suite of tools for the efficient storage and manipulation of 
sparse volumetric data discretized on three-dimensional grids'
+url='https://github.com/dreamworksanimation/openvdb'
+arch=('x86_64')
+license=('MPL')
+depends=('openexr' 'boost-libs' 'intel-tbb' 'zlib' 'jemalloc' 'blosc')
+makedepends=('doxygen' 'boost' 'cmake' 'mesa' 'cppunit' 'glfw-x11' 'glu' 
'python-numpy')
+optdepends=('glfw: for tools'
+'glu: for tools'
+'python-numpy: python module')
+source=("https://github.com/dreamworksanimation/openvdb/archive/v${pkgver}.tar.gz;)
+sha512sums=('c71d040a1862f5e31f084125e9695da3ebf171788956d7d4c16f99ead26a099a81d5a9c30ba2cc61f29e32e21f822796ae34f6c62496050894087735a19489f6')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  sed -i "s|DESTINATION docs|DESTINATION share/doc/$pkgname|" 
openvdb/CMakeLists.txt
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  [[ -d build ]] && rm -rf build
+  mkdir build && cd build
+
+  export CXXFLAGS="${CXXFLAGS} -DPY_OPENVDB_USE_NUMPY"
+  cmake .. \
+-DBLOSC_LOCATION=/usr/ \
+-DTBB_LOCATION=/usr/ \
+-DUSE_GLFW3=ON \
+-DGLFW3_LOCATION=/usr/ \
+-DILMBASE_NAMESPACE_VERSIONING=OFF \
+-DOPENEXR_NAMESPACE_VERSIONING=OFF \
+-DILMBASE_LOCATION=/usr/ \
+-DOPENEXR_LOCATION=/usr/ \
+-DCPPUNIT_LOCATION=/usr/include/cppunit \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DOPENVDB_BUILD_PYTHON_MODULE=ON \
+-DOPENVDB_BUILD_DOCS=ON \
+-DOPENVDB_ABI_VERSION_NUMBER=3 \
+-DOPENVDB_BUILD_UNITTESTS=OFF
+
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
+
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim:set sw=2 sts=2 et:


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:53:54
  Author: svenstaro
Revision: 319501

upgpkg: openvdb 5.1.0-1

Modified:
  openvdb/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 02:24:41 UTC (rev 319500)
+++ PKGBUILD2018-05-08 02:53:54 UTC (rev 319501)
@@ -2,7 +2,7 @@
 # Maintainer : Sven-Hendrik Haase 
 
 pkgname=openvdb
-pkgver=5.0.0
+pkgver=5.1.0
 pkgrel=1
 pkgdesc='A large suite of tools for the efficient storage and manipulation of 
sparse volumetric data discretized on three-dimensional grids'
 url='https://github.com/dreamworksanimation/openvdb'
@@ -14,7 +14,7 @@
 'glu: for tools'
 'python-numpy: python module')
 
source=("https://github.com/dreamworksanimation/openvdb/archive/v${pkgver}.tar.gz;)
-sha512sums=('8916d54683d81144114e57f8332be43b7547e6da5d194f6147bcefd4ee9e8e7ec817f27b65adb129dfd149e6b308f4bab30591ee953ee2c319636491bf051a2b')
+sha512sums=('c71d040a1862f5e31f084125e9695da3ebf171788956d7d4c16f99ead26a099a81d5a9c30ba2cc61f29e32e21f822796ae34f6c62496050894087735a19489f6')
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -42,7 +42,8 @@
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DOPENVDB_BUILD_PYTHON_MODULE=ON \
 -DOPENVDB_BUILD_DOCS=ON \
--DOPENVDB_ENABLE_3_ABI_COMPATIBLE=ON
+-DOPENVDB_ABI_VERSION_NUMBER=3 \
+-DOPENVDB_BUILD_UNITTESTS=OFF
 
   make
 }


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:23:07
  Author: svenstaro
Revision: 319499

archrelease: copy trunk to community-x86_64

Added:
  arrayfire/repos/community-x86_64/PKGBUILD
(from rev 319498, arrayfire/trunk/PKGBUILD)
Deleted:
  arrayfire/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  124 ++---
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-08 02:22:56 UTC (rev 319498)
+++ PKGBUILD2018-05-08 02:23:07 UTC (rev 319499)
@@ -1,62 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-pkgname=arrayfire
-pkgdesc="High performance software library for parallel computing with an 
easy-to-use API"
-url='https://arrayfire.com'
-pkgver=3.5.1
-arch=('x86_64')
-pkgrel=4
-license=('BSD')
-makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 
'boost' 'git' 'python' 'ocl-icd' 'gcc6' 'cuda' 'nvidia-utils')
-depends=('cblas' 'fftw' 'boost-libs' 'lapacke' 'forge' 'freeimage' 'glfw' 
'glew')
-optdepends=('cuda: Required for using CUDA backend'
-'nvidia-utils: Required for using CUDA backend'
-'libclc: Required for using OpenCL backend')
-options=('!buildflags')
-source=("http://arrayfire.com/arrayfire_source/arrayfire-full-${pkgver}.tar.bz2;)
-sha512sums=('1b521f93abdef985f54443f42e2b0270787da1194a5cdbb06a91af285672bf66fe0e6dbba2e5616968051052ff0face5b518b27014ccd10925008ecb3e53bf76')
-
-prepare() {
-  cd "${srcdir}/arrayfire-full-${pkgver}"
-
-  # patches here
-  sed -i "/NVCC does not support GCC version 6.0/d" 
src/backend/cuda/CMakeLists.txt
-}
-
-build() {
-  cd "${srcdir}/arrayfire-full-${pkgver}"
-
-  rm -rf build
-  mkdir build && cd build
-
-  export CC=gcc-6
-  export CXX=g++-6
-  cmake .. \
-  -DCMAKE_INSTALL_PREFIX=/usr \
-  -DUSE_SYSTEM_FORGE=ON \
-  -DCOMPUTES_DETECTED_LIST="30;32;35;37;50;52;53;60;61;62" \
-  -DBUILD_CPU=ON \
-  -DBUILD_OPENCL=ON \
-  -DBUILD_NONFREE=ON \
-  -DCMAKE_BUILD_TYPE=Release \
-  -DBUILD_EXAMPLES=ON \
-  -DBUILD_DOCS=ON
-
-  make
-}
-
-# check() {
-#   cd "${srcdir}/arrayfire-full-${pkgver}/build"
-#
-#   # Some tests fail :(
-#   make test
-# }
-
-package() {
-  cd "${srcdir}/arrayfire-full-${pkgver}"
-
-  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-
-  cd build
-
-  make DESTDIR="${pkgdir}/" install
-}

Copied: arrayfire/repos/community-x86_64/PKGBUILD (from rev 319498, 
arrayfire/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-08 02:23:07 UTC (rev 319499)
@@ -0,0 +1,62 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=arrayfire
+pkgdesc="High performance software library for parallel computing with an 
easy-to-use API"
+url='https://arrayfire.com'
+pkgver=3.6.0
+arch=('x86_64')
+pkgrel=1
+license=('BSD')
+makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 
'boost' 'git' 'python' 'ocl-icd' 'cuda' 'nvidia-utils' 'clang' 'openmp')
+depends=('cblas' 'fftw' 'boost-libs' 'lapacke' 'forge' 'freeimage' 'glfw' 
'glew' 'glbinding')
+optdepends=('cuda: Required for using CUDA backend'
+'nvidia-utils: Required for using CUDA backend'
+'libclc: Required for using OpenCL backend')
+options=('!buildflags')
+source=("http://arrayfire.com/arrayfire_source/arrayfire-full-${pkgver}.tar.bz2;)
+sha512sums=('7d651a29c3ba927a3d6b8d1c461fe21e55bae2a988970c46353a2934855db1c8e150d20763faaccbac2a028b4cb6b19b61bbf3709a1052d8081f34637e686d8b')
+
+prepare() {
+  cd "${srcdir}/arrayfire-full-${pkgver}"
+
+  rm -rf build && mkdir build
+}
+
+build() {
+  cd "${srcdir}/arrayfire-full-${pkgver}"
+
+  cd build
+  export CC=clang
+  export CXX=clang++
+  cmake .. \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DAF_USE_SYSTEM_FORGE=ON \
+  -DAF_WITH_IMAGEIO=ON \
+  -DAF_WITH_GRAPHICS=ON \
+  -DAF_BUILD_CPU=ON \
+  -DAF_BUILD_OPENCL=ON \
+  -DAF_BUILD_NONFREE=ON \
+  -DAF_BUILD_EXAMPLES=ON \
+  -DAF_BUILD_DOCS=ON \
+  
-DCUDA_architecture_build_targets="3.0;3.2;3.5;3.7;5.0;5.2;5.3;6.0;6.1;6.2;7.0" 
\
+  -DCMAKE_BUILD_TYPE=Release \
+  -DCUDA_HOST_COMPILER=/usr/bin/gcc-5
+
+  make
+}
+
+# check() {
+#   cd "${srcdir}/arrayfire-full-${pkgver}/build"
+#
+#   # Some tests fail :(
+#   make test
+# }
+
+package() {
+  cd "${srcdir}/arrayfire-full-${pkgver}"
+
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+  cd build
+
+  make DESTDIR="${pkgdir}/" install
+}


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:22:46
  Author: svenstaro
Revision: 323480

upgpkg: nvidia 396.24-1

Modified:
  nvidia/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 02:21:06 UTC (rev 323479)
+++ PKGBUILD2018-05-08 02:22:46 UTC (rev 323480)
@@ -5,9 +5,9 @@
 
 pkgbase=nvidia
 pkgname=(nvidia nvidia-dkms)
-pkgver=390.48
+pkgver=396.24
 _extramodules=extramodules-4.16-ARCH
-pkgrel=13
+pkgrel=1
 pkgdesc="NVIDIA drivers for linux"
 arch=('x86_64')
 url="http://www.nvidia.com/;
@@ -14,13 +14,12 @@
 makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 
'linux-headers>=4.16' 'linux-headers<4.17')
 license=('custom')
 options=('!strip')
-source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run;
 kernel-4.16.patch)
-sha256sums=('2d4bf72801f101a85df6fd1464021380ad51f5a30df05dadaf1fb546a175a441'
+sha256sums=('59bb112b17ca72cd15fed4e521d4b52b0e9f5b8b13a95b36521f8eda978b568e'
 '622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385')
 
-_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
-
 prepare() {
 sh "${_pkg}.run" --extract-only
 cd "${_pkg}"


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:22:56
  Author: svenstaro
Revision: 319498

upgpkg: arrayfire 3.6.0-1

Modified:
  arrayfire/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 02:12:44 UTC (rev 319497)
+++ PKGBUILD2018-05-08 02:22:56 UTC (rev 319498)
@@ -6,7 +6,7 @@
 arch=('x86_64')
 pkgrel=1
 license=('BSD')
-makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 
'boost' 'git' 'python' 'ocl-icd' 'cuda' 'nvidia-utils')
+makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 
'boost' 'git' 'python' 'ocl-icd' 'cuda' 'nvidia-utils' 'clang' 'openmp')
 depends=('cblas' 'fftw' 'boost-libs' 'lapacke' 'forge' 'freeimage' 'glfw' 
'glew' 'glbinding')
 optdepends=('cuda: Required for using CUDA backend'
 'nvidia-utils: Required for using CUDA backend'
@@ -17,16 +17,16 @@
 
 prepare() {
   cd "${srcdir}/arrayfire-full-${pkgver}"
+
+  rm -rf build && mkdir build
 }
 
 build() {
   cd "${srcdir}/arrayfire-full-${pkgver}"
 
-  rm -rf build
-  mkdir build && cd build
-
-  export CC=gcc-5
-  export CXX=g++-5
+  cd build
+  export CC=clang
+  export CXX=clang++
   cmake .. \
   -DCMAKE_INSTALL_PREFIX=/usr \
   -DAF_USE_SYSTEM_FORGE=ON \
@@ -38,7 +38,8 @@
   -DAF_BUILD_EXAMPLES=ON \
   -DAF_BUILD_DOCS=ON \
   
-DCUDA_architecture_build_targets="3.0;3.2;3.5;3.7;5.0;5.2;5.3;6.0;6.1;6.2;7.0" 
\
-  -DCMAKE_BUILD_TYPE=Release
+  -DCMAKE_BUILD_TYPE=Release \
+  -DCUDA_HOST_COMPILER=/usr/bin/gcc-5
 
   make
 }


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:22:53
  Author: svenstaro
Revision: 323481

archrelease: copy trunk to staging-x86_64

Added:
  nvidia/repos/staging-x86_64/
  nvidia/repos/staging-x86_64/PKGBUILD
(from rev 323480, nvidia/trunk/PKGBUILD)
  nvidia/repos/staging-x86_64/kernel-4.16.patch
(from rev 323480, nvidia/trunk/kernel-4.16.patch)

---+
 PKGBUILD  |   86 
 kernel-4.16.patch |   33 +++
 2 files changed, 119 insertions(+)

Copied: nvidia/repos/staging-x86_64/PKGBUILD (from rev 323480, 
nvidia/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-05-08 02:22:53 UTC (rev 323481)
@@ -0,0 +1,86 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Felix Yan 
+# Contributor: Thomas Baechler 
+
+pkgbase=nvidia
+pkgname=(nvidia nvidia-dkms)
+pkgver=396.24
+_extramodules=extramodules-4.16-ARCH
+pkgrel=1
+pkgdesc="NVIDIA drivers for linux"
+arch=('x86_64')
+url="http://www.nvidia.com/;
+makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 
'linux-headers>=4.16' 'linux-headers<4.17')
+license=('custom')
+options=('!strip')
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run;
+kernel-4.16.patch)
+sha256sums=('59bb112b17ca72cd15fed4e521d4b52b0e9f5b8b13a95b36521f8eda978b568e'
+'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385')
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+
+# Restore phys_to_dma support (still needed for 396.18)
+# https://bugs.archlinux.org/task/58074
+patch -Np1 -i ../kernel-4.16.patch
+
+cp -a kernel kernel-dkms
+cd kernel-dkms
+sed -i "s/__VERSION_STRING/${pkgver}/" dkms.conf
+sed -i 's/__JOBS/`nproc`/' dkms.conf
+sed -i 's/__DKMS_MODULES//' dkms.conf
+sed -i '$iBUILT_MODULE_NAME[0]="nvidia"\
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[1]="nvidia-uvm"\
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[2]="nvidia-modeset"\
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[3]="nvidia-drm"\
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf
+
+# Gift for linux-rt guys
+sed -i 's/NV_EXCLUDE_BUILD_MODULES/IGNORE_PREEMPT_RT_PRESENCE=1 
NV_EXCLUDE_BUILD_MODULES/' dkms.conf
+}
+
+build() {
+_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+cd "${_pkg}"/kernel
+make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package_nvidia() {
+pkgdesc="NVIDIA drivers for linux"
+depends=('linux>=4.16' 'linux<4.17' "nvidia-utils=${pkgver}" 'libgl')
+
+install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
+  "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
+
+find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
+
+echo "blacklist nouveau" |
+install -Dm644 /dev/stdin 
"${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}
+
+package_nvidia-dkms() {
+pkgdesc="NVIDIA driver sources for linux"
+depends=('dkms' "nvidia-utils=$pkgver" 'libgl')
+optdepends=('linux-headers: Build the module for Arch kernel'
+'linux-lts-headers: Build the module for LTS Arch kernel')
+conflicts+=('nvidia')
+
+cd ${_pkg}
+
+install -dm 755 "${pkgdir}"/usr/src
+cp -dr --no-preserve='ownership' kernel-dkms 
"${pkgdir}/usr/src/nvidia-${pkgver}"
+
+echo "blacklist nouveau" |
+install -Dm644 /dev/stdin 
"${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}

Copied: nvidia/repos/staging-x86_64/kernel-4.16.patch (from rev 323480, 
nvidia/trunk/kernel-4.16.patch)
===
--- staging-x86_64/kernel-4.16.patch(rev 0)
+++ staging-x86_64/kernel-4.16.patch2018-05-08 02:22:53 UTC (rev 323481)
@@ -0,0 +1,33 @@
+diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h
+index 10fc418..22ef968 100644
+--- a/kernel/common/inc/nv-linux.h
 b/kernel/common/inc/nv-linux.h
+@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid)
+ 
+ #if defined(NV_VM_INSERT_PAGE_PRESENT)
+ #include 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)
+ #include 
++#else
++#include 
++#endif
+ #endif
+ 
+ #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64)
+diff --git a/kernel/conftest.sh b/kernel/conftest.sh
+index b23dbb4..42dc576 100755
+--- a/kernel/conftest.sh
 b/kernel/conftest.sh
+@@ -1906,7 +1906,12 @@ compile_test() {
+ # Determine if the phys_to_dma function is present.
+  

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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:20:58
  Author: svenstaro
Revision: 323478

upgpkg: nvidia-lts 1:396.24-1

Modified:
  nvidia-lts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 02:12:32 UTC (rev 323477)
+++ PKGBUILD2018-05-08 02:20:58 UTC (rev 323478)
@@ -2,9 +2,9 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=nvidia-lts
-pkgver=390.48
+pkgver=396.24
 _extramodules=extramodules-4.14-lts
-pkgrel=3
+pkgrel=1
 epoch=1
 arch=('x86_64')
 url="http://www.nvidia.com/;
@@ -11,11 +11,10 @@
 makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux-lts' 
'linux-lts-headers>=4.14.39')
 license=('custom')
 options=('!strip')
-source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;)
-sha512sums=('40e1f991d931d5ea1eccda68bffa7bd872eb75c158c6a54f84b5a24274112b9a26e68caeecf6ca0e543edcec917a5ed717bd83281c4a86ac649d3c73f1386966')
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run;)
+sha512sums=('dfe837804d01e903cdf980353add0227362771cd252e4a7d8aff99fc489e5535edfda51ed1a20b9d60e23f1a9e7312f23309c59c67ff0a09a9b9214e52f09077')
 
-_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
-
 prepare() {
 sh "${_pkg}.run" --extract-only
 cd "${_pkg}"


[arch-commits] Commit in nvidia-lts/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:21:06
  Author: svenstaro
Revision: 323479

archrelease: copy trunk to staging-x86_64

Added:
  nvidia-lts/repos/staging-x86_64/
  nvidia-lts/repos/staging-x86_64/PKGBUILD
(from rev 323478, nvidia-lts/trunk/PKGBUILD)

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

Copied: nvidia-lts/repos/staging-x86_64/PKGBUILD (from rev 323478, 
nvidia-lts/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-05-08 02:21:06 UTC (rev 323479)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=nvidia-lts
+pkgver=396.24
+_extramodules=extramodules-4.14-lts
+pkgrel=1
+epoch=1
+arch=('x86_64')
+url="http://www.nvidia.com/;
+makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux-lts' 
'linux-lts-headers>=4.14.39')
+license=('custom')
+options=('!strip')
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run;)
+sha512sums=('dfe837804d01e903cdf980353add0227362771cd252e4a7d8aff99fc489e5535edfda51ed1a20b9d60e23f1a9e7312f23309c59c67ff0a09a9b9214e52f09077')
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+}
+
+build() {
+_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+cd "${_pkg}"/kernel
+make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package() {
+pkgdesc="NVIDIA drivers for linux-lts"
+depends=('linux-lts>=4.14.39' "nvidia-utils=${pkgver}" 'libgl')
+
+install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
+  "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
+
+find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
+
+echo "blacklist nouveau" |
+  install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}


[arch-commits] Commit in lib32-nvidia-utils/repos (2 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:12:44
  Author: svenstaro
Revision: 319497

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-nvidia-utils/repos/multilib-staging-x86_64/
  lib32-nvidia-utils/repos/multilib-staging-x86_64/PKGBUILD
(from rev 319496, lib32-nvidia-utils/trunk/PKGBUILD)

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

Copied: lib32-nvidia-utils/repos/multilib-staging-x86_64/PKGBUILD (from rev 
319496, lib32-nvidia-utils/trunk/PKGBUILD)
===
--- multilib-staging-x86_64/PKGBUILD(rev 0)
+++ multilib-staging-x86_64/PKGBUILD2018-05-08 02:12:44 UTC (rev 319497)
@@ -0,0 +1,113 @@
+# $Id$
+# Maintainer: Thomas Baechler 
+# Contributor: James Rayner 
+
+_pkgbasename=nvidia-utils
+pkgbase=lib32-$_pkgbasename
+pkgname=('lib32-nvidia-utils' 'lib32-opencl-nvidia')
+pkgver=396.24
+pkgrel=1
+arch=('x86_64')
+url="http://www.nvidia.com/;
+#makedepends=('nvidia-libgl')  # To avoid conflict during installation in the 
build chroot
+license=('custom')
+options=('!strip')
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run;)
+sha512sums=('dfe837804d01e903cdf980353add0227362771cd252e4a7d8aff99fc489e5535edfda51ed1a20b9d60e23f1a9e7312f23309c59c67ff0a09a9b9214e52f09077')
+
+create_links() {
+# create soname links
+for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do
+_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 
'SONAME.*: \[\K[^]]*' || true)
+_base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/')
+[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
+[[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}"
+done
+}
+
+build() {
+sh ${_pkg}.run --extract-only
+}
+
+package_lib32-opencl-nvidia() {
+pkgdesc="OpenCL implemention for NVIDIA (32-bit)"
+depends=('lib32-zlib' 'lib32-gcc-libs')
+optdepends=('opencl-headers: headers necessary for OpenCL development')
+provides=('lib32-opencl-driver')
+
+cd "${_pkg}"
+
+# OpenCL
+install -D -m755 "libnvidia-compiler.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}"
+install -D -m755 "libnvidia-opencl.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}"
+
+create_links
+
+mkdir -p "${pkgdir}/usr/share/licenses"
+ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-opencl-nvidia"
+}
+
+package_lib32-nvidia-utils() {
+pkgdesc="NVIDIA drivers utilities (32-bit)"
+depends=('lib32-zlib' 'lib32-gcc-libs' 'lib32-libglvnd' 'nvidia-utils')
+optdepends=('lib32-opencl-nvidia')
+conflicts=('lib32-nvidia-libgl')
+provides=('lib32-vulkan-driver' 'lib32-opengl-driver' 'lib32-nvidia-libgl')
+replaces=('lib32-nvidia-libgl')
+
+cd "${_pkg}"
+
+# GLX extension module for X - useless ?
+install -D -m755 "libglx.so.${pkgver}" 
"${pkgdir}/usr/lib32/nvidia/xorg/modules/extensions/libglx.so.${pkgver}"
+ln -s "libglx.so.${pkgver}" 
"${pkgdir}/usr/lib32/nvidia/xorg/modules/extensions/libglx.so" # X doesn't find 
glx otherwise
+install -D -m755 "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLX_nvidia.so.${pkgver}"
+# now in lib32-mesa driver
+#ln -s "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLX_indirect.so.0"
+
+# Wayland stuff
+install -D -m755 "libnvidia-egl-wayland.so.1.0.3" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1.0.3"
+ln -s "libnvidia-egl-wayland.so.1.0.3" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1"
+
+# OpenGL libraries
+install -D -m755 "libEGL_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libEGL_nvidia.so.${pkgver}"
+install -D -m755 "libGLESv1_CM_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLESv1_CM_nvidia.so.${pkgver}"
+install -D -m755 "libGLESv2_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLESv2_nvidia.so.${pkgver}"
+
+# OpenGL core library
+install -D -m755 "libnvidia-glcore.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}"
+install -D -m755 "libnvidia-eglcore.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-eglcore.so.${pkgver}"
+install -D -m755 "libnvidia-glsi.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-glsi.so.${pkgver}"
+
+# misc
+install -D -m755 "libnvidia-ifr.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-ifr.so.${pkgver}"
+install -D -m755 "libnvidia-fbc.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-fbc.so.${pkgver}"
+install -D -m755 "libnvidia-encode.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-encode.so.${pkgver}"
+install -D -m755 "libnvidia-cfg.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}"
+install -D -m755 "libnvidia-ml.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}"
+install -D -m755 

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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:12:22
  Author: svenstaro
Revision: 323476

upgpkg: nvidia-utils 396.24-1

Modified:
  nvidia-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 01:52:22 UTC (rev 323475)
+++ PKGBUILD2018-05-08 02:12:22 UTC (rev 323476)
@@ -5,20 +5,20 @@
 
 pkgbase=nvidia-utils
 pkgname=('nvidia-utils' 'opencl-nvidia')
-pkgver=390.48
+pkgver=396.24
 pkgrel=1
 arch=('x86_64')
 url="http://www.nvidia.com/;
 license=('custom')
 options=('!strip')
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
 source=('nvidia-drm-outputclass.conf'
 'nvidia-utils.sysusers'
-
"http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;)
+
"https://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run;)
 
sha512sums=('c49d246a519731bfab9d22afa5c2dd2d366db06d80182738b84881e93cd697c783f16ee04819275c05597bb063451a5d6102fbc562cd078d2a374533a23cea48'
 
'4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
-
'40e1f991d931d5ea1eccda68bffa7bd872eb75c158c6a54f84b5a24274112b9a26e68caeecf6ca0e543edcec917a5ed717bd83281c4a86ac649d3c73f1386966')
+
'dfe837804d01e903cdf980353add0227362771cd252e4a7d8aff99fc489e5535edfda51ed1a20b9d60e23f1a9e7312f23309c59c67ff0a09a9b9214e52f09077')
 
-_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
 
 create_links() {
 # create soname links
@@ -82,8 +82,8 @@
 #ln -s "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libGLX_indirect.so.0"
 
 # Wayland stuff
-install -D -m755 "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1.0.2"
-ln -s "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1"
+install -D -m755 "libnvidia-egl-wayland.so.1.0.3" 
"${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1.0.3"
+ln -s "libnvidia-egl-wayland.so.1.0.3" 
"${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1"
 install -D -m644 "10_nvidia_wayland.json" 
"${pkgdir}/usr/share/egl/egl_external_platform.d/10_nvidia_wayland.json"
 
 # OpenGL libraries
@@ -103,6 +103,8 @@
 install -D -m755 "libnvidia-encode.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-encode.so.${pkgver}"
 install -D -m755 "libnvidia-cfg.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-cfg.so.${pkgver}"
 install -D -m755 "libnvidia-ml.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-ml.so.${pkgver}"
+install -D -m755 "libnvidia-wfb.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-wfb.so.${pkgver}"
+install -D -m755 "libnvidia-glvkspirv.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-glvkspirv.so.${pkgver}"
 
 # Vulkan ICD
 install -D -m644 "nvidia_icd.json.template" 
"${pkgdir}/usr/share/vulkan/icd.d/nvidia_icd.json"


[arch-commits] Commit in nvidia-utils/repos (5 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:12:32
  Author: svenstaro
Revision: 323477

archrelease: copy trunk to staging-x86_64

Added:
  nvidia-utils/repos/staging-x86_64/
  nvidia-utils/repos/staging-x86_64/PKGBUILD
(from rev 323476, nvidia-utils/trunk/PKGBUILD)
  nvidia-utils/repos/staging-x86_64/nvidia-drm-outputclass.conf
(from rev 323476, nvidia-utils/trunk/nvidia-drm-outputclass.conf)
  nvidia-utils/repos/staging-x86_64/nvidia-utils.install
(from rev 323476, nvidia-utils/trunk/nvidia-utils.install)
  nvidia-utils/repos/staging-x86_64/nvidia-utils.sysusers
(from rev 323476, nvidia-utils/trunk/nvidia-utils.sysusers)

-+
 PKGBUILD|  175 ++
 nvidia-drm-outputclass.conf |   15 +++
 nvidia-utils.install|7 +
 nvidia-utils.sysusers   |1 
 4 files changed, 198 insertions(+)

Copied: nvidia-utils/repos/staging-x86_64/PKGBUILD (from rev 323476, 
nvidia-utils/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-05-08 02:12:32 UTC (rev 323477)
@@ -0,0 +1,175 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Thomas Baechler 
+# Contributor: James Rayner 
+
+pkgbase=nvidia-utils
+pkgname=('nvidia-utils' 'opencl-nvidia')
+pkgver=396.24
+pkgrel=1
+arch=('x86_64')
+url="http://www.nvidia.com/;
+license=('custom')
+options=('!strip')
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=('nvidia-drm-outputclass.conf'
+'nvidia-utils.sysusers'
+
"https://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run;)
+sha512sums=('c49d246a519731bfab9d22afa5c2dd2d366db06d80182738b84881e93cd697c783f16ee04819275c05597bb063451a5d6102fbc562cd078d2a374533a23cea48'
+
'4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
+
'dfe837804d01e903cdf980353add0227362771cd252e4a7d8aff99fc489e5535edfda51ed1a20b9d60e23f1a9e7312f23309c59c67ff0a09a9b9214e52f09077')
+
+
+create_links() {
+# create soname links
+find "$pkgdir" -type f -name '*.so*' ! -path '*xorg/*' -print0 | while 
read -d $'\0' _lib; do
+_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 
'SONAME.*: \[\K[^]]*' || true)
+_base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/')
+[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
+[[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}"
+done
+}
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+bsdtar -xf nvidia-persistenced-init.tar.bz2
+
+sed -i 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' nvidia_icd.json.template
+}
+
+package_opencl-nvidia() {
+pkgdesc="OpenCL implemention for NVIDIA"
+depends=('zlib')
+optdepends=('opencl-headers: headers necessary for OpenCL development')
+provides=('opencl-driver')
+cd "${_pkg}"
+
+# OpenCL
+install -D -m644 nvidia.icd "${pkgdir}/etc/OpenCL/vendors/nvidia.icd"
+install -D -m755 "libnvidia-compiler.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-compiler.so.${pkgver}"
+install -D -m755 "libnvidia-opencl.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-opencl.so.${pkgver}"
+
+create_links
+
+mkdir -p "${pkgdir}/usr/share/licenses"
+ln -s nvidia "${pkgdir}/usr/share/licenses/opencl-nvidia"
+}
+
+package_nvidia-utils() {
+pkgdesc="NVIDIA drivers utilities"
+depends=('xorg-server' 'libglvnd')
+optdepends=('nvidia-settings: configuration tool'
+'xorg-server-devel: nvidia-xconfig'
+'opencl-nvidia: OpenCL support')
+conflicts=('nvidia-libgl')
+provides=('vulkan-driver' 'opengl-driver' 'nvidia-libgl')
+replaces=('nvidia-libgl')
+install="${pkgname}.install"
+
+cd "${_pkg}"
+
+# X driver
+install -D -m755 nvidia_drv.so 
"${pkgdir}/usr/lib/xorg/modules/drivers/nvidia_drv.so"
+
+# GLX extension module for X
+install -D -m755 "libglx.so.${pkgver}" 
"${pkgdir}/usr/lib/nvidia/xorg/libglx.so.${pkgver}"
+ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglx.so.1"
# X doesn't find glx otherwise
+ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglx.so"  
# X doesn't find glx otherwise
+
+install -D -m755 "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libGLX_nvidia.so.${pkgver}"
+# now in mesa driver
+#ln -s "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libGLX_indirect.so.0"
+
+# Wayland stuff
+install -D -m755 "libnvidia-egl-wayland.so.1.0.3" 
"${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1.0.3"
+ln -s "libnvidia-egl-wayland.so.1.0.3" 
"${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1"
+install -D -m644 "10_nvidia_wayland.json" 
"${pkgdir}/usr/share/egl/egl_external_platform.d/10_nvidia_wayland.json"

[arch-commits] Commit in lib32-nvidia-utils/trunk (PKGBUILD)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 02:12:35
  Author: svenstaro
Revision: 319496

upgpkg: lib32-nvidia-utils 396.24-1

Modified:
  lib32-nvidia-utils/trunk/PKGBUILD

--+
 PKGBUILD |   17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 01:53:49 UTC (rev 319495)
+++ PKGBUILD2018-05-08 02:12:35 UTC (rev 319496)
@@ -5,7 +5,7 @@
 _pkgbasename=nvidia-utils
 pkgbase=lib32-$_pkgbasename
 pkgname=('lib32-nvidia-utils' 'lib32-opencl-nvidia')
-pkgver=390.48
+pkgver=396.24
 pkgrel=1
 arch=('x86_64')
 url="http://www.nvidia.com/;
@@ -12,12 +12,10 @@
 #makedepends=('nvidia-libgl')  # To avoid conflict during installation in the 
build chroot
 license=('custom')
 options=('!strip')
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run;)
+sha512sums=('dfe837804d01e903cdf980353add0227362771cd252e4a7d8aff99fc489e5535edfda51ed1a20b9d60e23f1a9e7312f23309c59c67ff0a09a9b9214e52f09077')
 
-_arch='x86'
-_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
-source=("https://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run;)
-sha512sums=('9d80616abbf1f95c89bb3e6bda864708adc887a62ccdf8865e956c305bb013b0e54ffb3f495805363ee60a9115ab5fb38adf1534750a6afb69a457a4d034daeb')
-
 create_links() {
 # create soname links
 for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do
@@ -42,7 +40,7 @@
 
 # OpenCL
 install -D -m755 "libnvidia-compiler.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}"
-install -D -m755 "libnvidia-opencl.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}" 
+install -D -m755 "libnvidia-opencl.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}"
 
 create_links
 
@@ -68,8 +66,8 @@
 #ln -s "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLX_indirect.so.0"
 
 # Wayland stuff
-install -D -m755 "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1.0.2"
-ln -s "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1"
+install -D -m755 "libnvidia-egl-wayland.so.1.0.3" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1.0.3"
+ln -s "libnvidia-egl-wayland.so.1.0.3" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1"
 
 # OpenGL libraries
 install -D -m755 "libEGL_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libEGL_nvidia.so.${pkgver}"
@@ -88,6 +86,7 @@
 install -D -m755 "libnvidia-cfg.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}"
 install -D -m755 "libnvidia-ml.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}"
 install -D -m755 "libnvidia-wfb.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-wfb.so.${pkgver}"
+install -D -m755 "libnvidia-glvkspirv.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-glvkspirv.so.${pkgver}"
 
 # VDPAU
 install -D -m755 "libvdpau_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.so.${pkgver}"


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

2018-05-07 Thread Kyle Keen via arch-commits
Date: Tuesday, May 8, 2018 @ 01:53:49
  Author: kkeen
Revision: 319495

archrelease: copy trunk to community-any

Added:
  ps_mem/repos/community-any/PKGBUILD
(from rev 319494, ps_mem/trunk/PKGBUILD)
Deleted:
  ps_mem/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-08 01:53:26 UTC (rev 319494)
+++ PKGBUILD2018-05-08 01:53:49 UTC (rev 319495)
@@ -1,25 +0,0 @@
-# $Id:
-# Maintainer : Martin Wimpress 
-# Contributor: Kyle Keen 
-# Contributor: Ali Gündüz 
-
-pkgname=ps_mem
-pkgver=3.9
-pkgrel=1
-pkgdesc="List processes by memory usage"
-arch=('any')
-url="http://www.pixelbeat.org/scripts/;
-license=('GPL')
-# Compatible with both Python 2.x and 3.x
-depends=('python')
-makedepends=('git')
-source=("${pkgname}::git+https://github.com/pixelb/${pkgname}.git#commit=f0891def54f1edb7;)
-md5sums=('SKIP')
-
-package() {
-  cd "${srcdir}/${pkgname}"
-  install -D -m 755 ps_mem.py "${pkgdir}/usr/bin/${pkgname}"
-  install -D -m 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-  install -D -m 644 "${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-

Copied: ps_mem/repos/community-any/PKGBUILD (from rev 319494, 
ps_mem/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-08 01:53:49 UTC (rev 319495)
@@ -0,0 +1,25 @@
+# $Id:
+# Maintainer : Martin Wimpress 
+# Contributor: Kyle Keen 
+# Contributor: Ali Gündüz 
+
+pkgname=ps_mem
+pkgver=3.11
+pkgrel=1
+pkgdesc="List processes by memory usage"
+arch=('any')
+url="http://www.pixelbeat.org/scripts/;
+license=('GPL')
+# Compatible with both Python 2.x and 3.x
+depends=('python')
+makedepends=('git')
+source=("${pkgname}::git+https://github.com/pixelb/${pkgname}.git#commit=bfc18bf3d2af0e04;)
+md5sums=('SKIP')
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  install -D -m 755 ps_mem.py "${pkgdir}/usr/bin/${pkgname}"
+  install -D -m 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -D -m 644 "${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+


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

2018-05-07 Thread Kyle Keen via arch-commits
Date: Tuesday, May 8, 2018 @ 01:53:26
  Author: kkeen
Revision: 319494

upgpkg: ps_mem 3.11-1

Modified:
  ps_mem/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 01:42:52 UTC (rev 319493)
+++ PKGBUILD2018-05-08 01:53:26 UTC (rev 319494)
@@ -4,7 +4,7 @@
 # Contributor: Ali Gündüz 
 
 pkgname=ps_mem
-pkgver=3.9
+pkgver=3.11
 pkgrel=1
 pkgdesc="List processes by memory usage"
 arch=('any')
@@ -13,7 +13,7 @@
 # Compatible with both Python 2.x and 3.x
 depends=('python')
 makedepends=('git')
-source=("${pkgname}::git+https://github.com/pixelb/${pkgname}.git#commit=f0891def54f1edb7;)
+source=("${pkgname}::git+https://github.com/pixelb/${pkgname}.git#commit=bfc18bf3d2af0e04;)
 md5sums=('SKIP')
 
 package() {


[arch-commits] Commit in nvidia-390xx-lts/repos (extra-x86_64 extra-x86_64/PKGBUILD)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:52:22
  Author: svenstaro
Revision: 323475

archrelease: copy trunk to extra-x86_64

Added:
  nvidia-390xx-lts/repos/extra-x86_64/
  nvidia-390xx-lts/repos/extra-x86_64/PKGBUILD
(from rev 323474, nvidia-390xx-lts/trunk/PKGBUILD)

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

Copied: nvidia-390xx-lts/repos/extra-x86_64/PKGBUILD (from rev 323474, 
nvidia-390xx-lts/trunk/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2018-05-08 01:52:22 UTC (rev 323475)
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 323392 2018-05-05 18:28:00Z andyrtr $
+# Maintainer: Eric Bélanger 
+
+pkgname=nvidia-390xx-lts
+pkgver=390.48
+_extramodules=extramodules-4.14-lts
+pkgrel=1
+epoch=1
+arch=('x86_64')
+url="http://www.nvidia.com/;
+makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 
'linux-lts-headers>=4.14.39')
+license=('custom')
+options=('!strip')
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;)
+sha512sums=('40e1f991d931d5ea1eccda68bffa7bd872eb75c158c6a54f84b5a24274112b9a26e68caeecf6ca0e543edcec917a5ed717bd83281c4a86ac649d3c73f1386966')
+
+_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+}
+
+build() {
+_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+cd "${_pkg}"/kernel
+make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package() {
+pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch"
+depends=('linux-lts>=4.14.39' "nvidia-390xx-utils=${pkgver}" 'libgl')
+
+install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
+  "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
+
+find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
+
+echo "blacklist nouveau" |
+  install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}


[arch-commits] Commit in nvidia-390xx/trunk (kernel-4.16.patch)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:51:57
  Author: svenstaro
Revision: 323473

upgpkg: nvidia-390xx 390.48-1

Added:
  nvidia-390xx/trunk/kernel-4.16.patch

---+
 kernel-4.16.patch |   33 +
 1 file changed, 33 insertions(+)

Added: kernel-4.16.patch
===
--- kernel-4.16.patch   (rev 0)
+++ kernel-4.16.patch   2018-05-08 01:51:57 UTC (rev 323473)
@@ -0,0 +1,33 @@
+diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h
+index 10fc418..22ef968 100644
+--- a/kernel/common/inc/nv-linux.h
 b/kernel/common/inc/nv-linux.h
+@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid)
+ 
+ #if defined(NV_VM_INSERT_PAGE_PRESENT)
+ #include 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)
+ #include 
++#else
++#include 
++#endif
+ #endif
+ 
+ #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64)
+diff --git a/kernel/conftest.sh b/kernel/conftest.sh
+index b23dbb4..42dc576 100755
+--- a/kernel/conftest.sh
 b/kernel/conftest.sh
+@@ -1906,7 +1906,12 @@ compile_test() {
+ # Determine if the phys_to_dma function is present.
+ #
+ CODE="
++#include 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)
+ #include 
++#else
++#include 
++#endif
+ void conftest_phys_to_dma(void) {
+ phys_to_dma();
+ }"


[arch-commits] Commit in nvidia-390xx/repos (3 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:52:05
  Author: svenstaro
Revision: 323474

archrelease: copy trunk to extra-x86_64

Added:
  nvidia-390xx/repos/extra-x86_64/
  nvidia-390xx/repos/extra-x86_64/PKGBUILD
(from rev 323473, nvidia-390xx/trunk/PKGBUILD)
  nvidia-390xx/repos/extra-x86_64/kernel-4.16.patch
(from rev 323473, nvidia-390xx/trunk/kernel-4.16.patch)

---+
 PKGBUILD  |   87 
 kernel-4.16.patch |   33 +++
 2 files changed, 120 insertions(+)

Copied: nvidia-390xx/repos/extra-x86_64/PKGBUILD (from rev 323473, 
nvidia-390xx/trunk/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2018-05-08 01:52:05 UTC (rev 323474)
@@ -0,0 +1,87 @@
+# $Id: PKGBUILD 323322 2018-05-02 22:38:55Z heftig $
+# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Felix Yan 
+# Contributor: Thomas Baechler 
+
+pkgbase=nvidia-390xx
+pkgname=(nvidia-390xx nvidia-390xx-dkms)
+pkgver=390.48
+_extramodules=extramodules-4.16-ARCH
+pkgrel=1
+pkgdesc="NVIDIA drivers for linux, 390xx legacy branch"
+arch=('x86_64')
+url="http://www.nvidia.com/;
+makedepends=("nvidia-390xx-utils=${pkgver}" 'linux' 'linux-headers>=4.16' 
'linux-headers<4.17')
+license=('custom')
+options=('!strip')
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;
+kernel-4.16.patch)
+sha256sums=('2d4bf72801f101a85df6fd1464021380ad51f5a30df05dadaf1fb546a175a441'
+'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385')
+
+_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+
+# Restore phys_to_dma support (still needed for 396.18)
+# https://bugs.archlinux.org/task/58074
+patch -Np1 -i ../kernel-4.16.patch
+
+cp -a kernel kernel-dkms
+cd kernel-dkms
+sed -i "s/__VERSION_STRING/${pkgver}/" dkms.conf
+sed -i 's/__JOBS/`nproc`/' dkms.conf
+sed -i 's/__DKMS_MODULES//' dkms.conf
+sed -i '$iBUILT_MODULE_NAME[0]="nvidia"\
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[1]="nvidia-uvm"\
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[2]="nvidia-modeset"\
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[3]="nvidia-drm"\
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf
+
+# Gift for linux-rt guys
+sed -i 's/NV_EXCLUDE_BUILD_MODULES/IGNORE_PREEMPT_RT_PRESENCE=1 
NV_EXCLUDE_BUILD_MODULES/' dkms.conf
+}
+
+build() {
+_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+cd "${_pkg}"/kernel
+make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package_nvidia-390xx() {
+pkgdesc="NVIDIA drivers for linux, 390xx legacy branch"
+depends=('linux>=4.16' 'linux<4.17' "nvidia-390xx-utils=${pkgver}" 'libgl')
+
+install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
+  "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
+
+find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
+
+echo "blacklist nouveau" |
+install -Dm644 /dev/stdin 
"${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}
+
+package_nvidia-390xx-dkms() {
+pkgdesc="NVIDIA driver sources for linux, 390xx legacy branch"
+depends=('dkms' "nvidia-390xx-utils=$pkgver" 'libgl')
+optdepends=('linux-headers: Build the module for Arch kernel'
+'linux-lts-headers: Build the module for LTS Arch kernel')
+conflicts+=('nvidia-390xx')
+
+cd ${_pkg}
+
+install -dm 755 "${pkgdir}"/usr/src
+cp -dr --no-preserve='ownership' kernel-dkms 
"${pkgdir}/usr/src/nvidia-${pkgver}"
+
+echo "blacklist nouveau" |
+install -Dm644 /dev/stdin 
"${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}

Copied: nvidia-390xx/repos/extra-x86_64/kernel-4.16.patch (from rev 323473, 
nvidia-390xx/trunk/kernel-4.16.patch)
===
--- extra-x86_64/kernel-4.16.patch  (rev 0)
+++ extra-x86_64/kernel-4.16.patch  2018-05-08 01:52:05 UTC (rev 323474)
@@ -0,0 +1,33 @@
+diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h
+index 10fc418..22ef968 100644
+--- a/kernel/common/inc/nv-linux.h
 b/kernel/common/inc/nv-linux.h
+@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid)
+ 
+ #if defined(NV_VM_INSERT_PAGE_PRESENT)
+ #include 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)
+ #include 
++#else
++#include 
++#endif
+ #endif
+ 
+ #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64)
+diff 

[arch-commits] Commit in lib32-nvidia-390xx-utils/repos (2 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:42:52
  Author: svenstaro
Revision: 319493

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-nvidia-390xx-utils/repos/multilib-x86_64/
  lib32-nvidia-390xx-utils/repos/multilib-x86_64/PKGBUILD
(from rev 319492, lib32-nvidia-390xx-utils/trunk/PKGBUILD)

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

Copied: lib32-nvidia-390xx-utils/repos/multilib-x86_64/PKGBUILD (from rev 
319492, lib32-nvidia-390xx-utils/trunk/PKGBUILD)
===
--- multilib-x86_64/PKGBUILD(rev 0)
+++ multilib-x86_64/PKGBUILD2018-05-08 01:42:52 UTC (rev 319493)
@@ -0,0 +1,112 @@
+# $Id: PKGBUILD 313215 2018-03-29 01:04:34Z svenstaro $
+# Maintainer: Thomas Baechler 
+# Contributor: James Rayner 
+
+_pkgbasename=nvidia-390xx-utils
+pkgbase=lib32-$_pkgbasename
+pkgname=('lib32-nvidia-390xx-utils' 'lib32-opencl-nvidia-390xx')
+pkgver=390.48
+pkgrel=1
+arch=('x86_64')
+url="http://www.nvidia.com/;
+#makedepends=('nvidia-libgl')  # To avoid conflict during installation in the 
build chroot
+license=('custom')
+options=('!strip')
+
+_arch='x86'
+_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
+source=("https://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run;)
+sha512sums=('9d80616abbf1f95c89bb3e6bda864708adc887a62ccdf8865e956c305bb013b0e54ffb3f495805363ee60a9115ab5fb38adf1534750a6afb69a457a4d034daeb')
+
+create_links() {
+# create soname links
+for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do
+_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 
'SONAME.*: \[\K[^]]*' || true)
+_base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/')
+[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
+[[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}"
+done
+}
+
+build() {
+sh ${_pkg}.run --extract-only
+}
+
+package_lib32-opencl-nvidia-390xx() {
+pkgdesc="OpenCL implemention for NVIDIA (32-bit), 390xx legacy branch"
+depends=('lib32-zlib' 'lib32-gcc-libs')
+optdepends=('opencl-headers: headers necessary for OpenCL development')
+provides=('lib32-opencl-driver')
+
+cd "${_pkg}"
+
+# OpenCL
+install -D -m755 "libnvidia-compiler.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}"
+install -D -m755 "libnvidia-opencl.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}"
+
+create_links
+
+mkdir -p "${pkgdir}/usr/share/licenses"
+ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-opencl-nvidia"
+}
+
+package_lib32-nvidia-390xx-utils() {
+pkgdesc="NVIDIA drivers utilities (32-bit), 390xx legacy branch"
+depends=('lib32-zlib' 'lib32-gcc-libs' 'lib32-libglvnd' 
'nvidia-390xx-utils')
+optdepends=('lib32-opencl-nvidia-390xx: OpenCL support')
+provides=('lib32-vulkan-driver' 'lib32-opengl-driver' 
'lib32-nvidia-390xx-libgl')
+
+cd "${_pkg}"
+
+# GLX extension module for X - useless ?
+install -D -m755 "libglx.so.${pkgver}" 
"${pkgdir}/usr/lib32/nvidia/xorg/modules/extensions/libglx.so.${pkgver}"
+ln -s "libglx.so.${pkgver}" 
"${pkgdir}/usr/lib32/nvidia/xorg/modules/extensions/libglx.so" # X doesn't find 
glx otherwise
+install -D -m755 "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLX_nvidia.so.${pkgver}"
+# now in lib32-mesa driver
+#ln -s "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLX_indirect.so.0"
+
+# Wayland stuff
+install -D -m755 "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1.0.2"
+ln -s "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1"
+
+# OpenGL libraries
+install -D -m755 "libEGL_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libEGL_nvidia.so.${pkgver}"
+install -D -m755 "libGLESv1_CM_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLESv1_CM_nvidia.so.${pkgver}"
+install -D -m755 "libGLESv2_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLESv2_nvidia.so.${pkgver}"
+
+# OpenGL core library
+install -D -m755 "libnvidia-glcore.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}"
+install -D -m755 "libnvidia-eglcore.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-eglcore.so.${pkgver}"
+install -D -m755 "libnvidia-glsi.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-glsi.so.${pkgver}"
+
+# misc
+install -D -m755 "libnvidia-ifr.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-ifr.so.${pkgver}"
+install -D -m755 "libnvidia-fbc.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-fbc.so.${pkgver}"
+install -D -m755 "libnvidia-encode.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-encode.so.${pkgver}"
+install -D -m755 "libnvidia-cfg.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}"
+install -D -m755 

[arch-commits] Commit in nvidia-390xx-utils/repos (5 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:42:27
  Author: svenstaro
Revision: 323472

archrelease: copy trunk to extra-x86_64

Added:
  nvidia-390xx-utils/repos/extra-x86_64/
  nvidia-390xx-utils/repos/extra-x86_64/PKGBUILD
(from rev 323471, nvidia-390xx-utils/trunk/PKGBUILD)
  nvidia-390xx-utils/repos/extra-x86_64/nvidia-390xx-utils.install
(from rev 323471, nvidia-390xx-utils/trunk/nvidia-390xx-utils.install)
  nvidia-390xx-utils/repos/extra-x86_64/nvidia-390xx-utils.sysusers
(from rev 323471, nvidia-390xx-utils/trunk/nvidia-390xx-utils.sysusers)
  nvidia-390xx-utils/repos/extra-x86_64/nvidia-drm-outputclass.conf
(from rev 323471, nvidia-390xx-utils/trunk/nvidia-drm-outputclass.conf)

-+
 PKGBUILD|  173 ++
 nvidia-390xx-utils.install  |7 +
 nvidia-390xx-utils.sysusers |1 
 nvidia-drm-outputclass.conf |   15 +++
 4 files changed, 196 insertions(+)

Copied: nvidia-390xx-utils/repos/extra-x86_64/PKGBUILD (from rev 323471, 
nvidia-390xx-utils/trunk/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2018-05-08 01:42:27 UTC (rev 323472)
@@ -0,0 +1,173 @@
+# $Id: PKGBUILD 320563 2018-03-29 01:00:48Z svenstaro $
+# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Thomas Baechler 
+# Contributor: James Rayner 
+
+pkgbase=nvidia-390xx-utils
+pkgname=('nvidia-390xx-utils' 'opencl-nvidia-390xx')
+pkgver=390.48
+pkgrel=1
+arch=('x86_64')
+url="http://www.nvidia.com/;
+license=('custom')
+options=('!strip')
+source=('nvidia-drm-outputclass.conf'
+'nvidia-390xx-utils.sysusers'
+
"http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;)
+sha512sums=('c49d246a519731bfab9d22afa5c2dd2d366db06d80182738b84881e93cd697c783f16ee04819275c05597bb063451a5d6102fbc562cd078d2a374533a23cea48'
+
'4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
+
'40e1f991d931d5ea1eccda68bffa7bd872eb75c158c6a54f84b5a24274112b9a26e68caeecf6ca0e543edcec917a5ed717bd83281c4a86ac649d3c73f1386966')
+
+_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
+
+create_links() {
+# create soname links
+find "$pkgdir" -type f -name '*.so*' ! -path '*xorg/*' -print0 | while 
read -d $'\0' _lib; do
+_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 
'SONAME.*: \[\K[^]]*' || true)
+_base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/')
+[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
+[[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}"
+done
+}
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+bsdtar -xf nvidia-persistenced-init.tar.bz2
+
+sed -i 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' nvidia_icd.json.template
+}
+
+package_opencl-nvidia-390xx() {
+pkgdesc="OpenCL implemention for NVIDIA"
+depends=('zlib')
+optdepends=('opencl-headers: headers necessary for OpenCL development')
+provides=('opencl-driver')
+cd "${_pkg}"
+
+# OpenCL
+install -D -m644 nvidia.icd "${pkgdir}/etc/OpenCL/vendors/nvidia.icd"
+install -D -m755 "libnvidia-compiler.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-compiler.so.${pkgver}"
+install -D -m755 "libnvidia-opencl.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-opencl.so.${pkgver}"
+
+create_links
+
+mkdir -p "${pkgdir}/usr/share/licenses"
+ln -s nvidia "${pkgdir}/usr/share/licenses/opencl-nvidia"
+}
+
+package_nvidia-390xx-utils() {
+pkgdesc="NVIDIA drivers utilities"
+depends=('xorg-server' 'libglvnd')
+optdepends=('nvidia-settings: configuration tool'
+'xorg-server-devel: nvidia-xconfig'
+'opencl-nvidia-390xx: OpenCL support')
+conflicts=('nvidia-390xx-libgl' 'nvidia-390xx-libgl')
+provides=('vulkan-driver' 'opengl-driver' 'nvidia-390xx-libgl')
+replaces=('nvidia-390xx-libgl')
+install="${pkgname}.install"
+
+cd "${_pkg}"
+
+# X driver
+install -D -m755 nvidia_drv.so 
"${pkgdir}/usr/lib/xorg/modules/drivers/nvidia_drv.so"
+
+# GLX extension module for X
+install -D -m755 "libglx.so.${pkgver}" 
"${pkgdir}/usr/lib/nvidia/xorg/libglx.so.${pkgver}"
+ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglx.so.1"
# X doesn't find glx otherwise
+ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglx.so"  
# X doesn't find glx otherwise
+
+install -D -m755 "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libGLX_nvidia.so.${pkgver}"
+# now in mesa driver
+#ln -s "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libGLX_indirect.so.0"
+
+# Wayland stuff
+install -D -m755 "libnvidia-egl-wayland.so.1.0.2" 

[arch-commits] Commit in nvidia-390xx-utils/trunk (4 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:42:11
  Author: svenstaro
Revision: 323471

upgpkg: nvidia-390xx-utils 390.48-1

Added:
  nvidia-390xx-utils/trunk/nvidia-390xx-utils.install
  nvidia-390xx-utils/trunk/nvidia-390xx-utils.sysusers
  nvidia-390xx-utils/trunk/nvidia-drm-outputclass.conf
Modified:
  nvidia-390xx-utils/trunk/PKGBUILD

-+
 PKGBUILD|4 ++--
 nvidia-390xx-utils.install  |7 +++
 nvidia-390xx-utils.sysusers |1 +
 nvidia-drm-outputclass.conf |   15 +++
 4 files changed, 25 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 01:26:21 UTC (rev 323470)
+++ PKGBUILD2018-05-08 01:42:11 UTC (rev 323471)
@@ -12,7 +12,7 @@
 license=('custom')
 options=('!strip')
 source=('nvidia-drm-outputclass.conf'
-'nvidia-utils.sysusers'
+'nvidia-390xx-utils.sysusers'
 
"http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;)
 
sha512sums=('c49d246a519731bfab9d22afa5c2dd2d366db06d80182738b84881e93cd697c783f16ee04819275c05597bb063451a5d6102fbc562cd078d2a374533a23cea48'
 
'4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
@@ -167,7 +167,7 @@
 # distro specific files must be installed in /usr/share/X11/xorg.conf.d
 install -D -m644 "${srcdir}/nvidia-drm-outputclass.conf" 
"${pkgdir}/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf"
 
-install -Dm644 "${srcdir}/nvidia-utils.sysusers" 
"${pkgdir}/usr/lib/sysusers.d/$pkgname.conf"
+install -Dm644 "${srcdir}/nvidia-390xx-utils.sysusers" 
"${pkgdir}/usr/lib/sysusers.d/$pkgname.conf"
 
 create_links
 }

Added: nvidia-390xx-utils.install
===
--- nvidia-390xx-utils.install  (rev 0)
+++ nvidia-390xx-utils.install  2018-05-08 01:42:11 UTC (rev 323471)
@@ -0,0 +1,7 @@
+post_upgrade() {
+  echo "If you run into trouble with CUDA not being available, run 
nvidia-modprobe first."
+}
+
+post_install() {
+  post_upgrade
+}

Added: nvidia-390xx-utils.sysusers
===
--- nvidia-390xx-utils.sysusers (rev 0)
+++ nvidia-390xx-utils.sysusers 2018-05-08 01:42:11 UTC (rev 323471)
@@ -0,0 +1 @@
+u nvidia-persistenced 143 'NVIDIA Persistence Daemon'

Added: nvidia-drm-outputclass.conf
===
--- nvidia-drm-outputclass.conf (rev 0)
+++ nvidia-drm-outputclass.conf 2018-05-08 01:42:11 UTC (rev 323471)
@@ -0,0 +1,15 @@
+Section "OutputClass"
+Identifier "intel"
+MatchDriver "i915"
+Driver "modesetting"
+EndSection
+
+Section "OutputClass"
+Identifier "nvidia"
+MatchDriver "nvidia-drm"
+Driver "nvidia"
+Option "AllowEmptyInitialConfiguration"
+Option "PrimaryGPU" "yes"
+ModulePath "/usr/lib/nvidia/xorg"
+ModulePath "/usr/lib/xorg/modules"
+EndSection


[arch-commits] Commit in lib32-nvidia-390xx-utils/trunk (PKGBUILD)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:42:41
  Author: svenstaro
Revision: 319492

upgpkg: lib32-nvidia-390xx-utils 390.48-1

Modified:
  lib32-nvidia-390xx-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 01:33:54 UTC (rev 319491)
+++ PKGBUILD2018-05-08 01:42:41 UTC (rev 319492)
@@ -4,7 +4,7 @@
 
 _pkgbasename=nvidia-390xx-utils
 pkgbase=lib32-$_pkgbasename
-pkgname=('lib32-nvidia-utils' 'lib32-opencl-nvidia')
+pkgname=('lib32-nvidia-390xx-utils' 'lib32-opencl-nvidia-390xx')
 pkgver=390.48
 pkgrel=1
 arch=('x86_64')


[arch-commits] Commit in (4 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:33:54
  Author: svenstaro
Revision: 319491

Prepare to fork 390xx nvidia driver series

Added:
  lib32-nvidia-390xx-utils/
  lib32-nvidia-390xx-utils/repos/
  lib32-nvidia-390xx-utils/trunk/
  lib32-nvidia-390xx-utils/trunk/PKGBUILD

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

Added: lib32-nvidia-390xx-utils/trunk/PKGBUILD
===
--- lib32-nvidia-390xx-utils/trunk/PKGBUILD (rev 0)
+++ lib32-nvidia-390xx-utils/trunk/PKGBUILD 2018-05-08 01:33:54 UTC (rev 
319491)
@@ -0,0 +1,112 @@
+# $Id: PKGBUILD 313215 2018-03-29 01:04:34Z svenstaro $
+# Maintainer: Thomas Baechler 
+# Contributor: James Rayner 
+
+_pkgbasename=nvidia-390xx-utils
+pkgbase=lib32-$_pkgbasename
+pkgname=('lib32-nvidia-utils' 'lib32-opencl-nvidia')
+pkgver=390.48
+pkgrel=1
+arch=('x86_64')
+url="http://www.nvidia.com/;
+#makedepends=('nvidia-libgl')  # To avoid conflict during installation in the 
build chroot
+license=('custom')
+options=('!strip')
+
+_arch='x86'
+_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
+source=("https://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run;)
+sha512sums=('9d80616abbf1f95c89bb3e6bda864708adc887a62ccdf8865e956c305bb013b0e54ffb3f495805363ee60a9115ab5fb38adf1534750a6afb69a457a4d034daeb')
+
+create_links() {
+# create soname links
+for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do
+_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 
'SONAME.*: \[\K[^]]*' || true)
+_base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/')
+[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
+[[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}"
+done
+}
+
+build() {
+sh ${_pkg}.run --extract-only
+}
+
+package_lib32-opencl-nvidia-390xx() {
+pkgdesc="OpenCL implemention for NVIDIA (32-bit), 390xx legacy branch"
+depends=('lib32-zlib' 'lib32-gcc-libs')
+optdepends=('opencl-headers: headers necessary for OpenCL development')
+provides=('lib32-opencl-driver')
+
+cd "${_pkg}"
+
+# OpenCL
+install -D -m755 "libnvidia-compiler.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}"
+install -D -m755 "libnvidia-opencl.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}"
+
+create_links
+
+mkdir -p "${pkgdir}/usr/share/licenses"
+ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-opencl-nvidia"
+}
+
+package_lib32-nvidia-390xx-utils() {
+pkgdesc="NVIDIA drivers utilities (32-bit), 390xx legacy branch"
+depends=('lib32-zlib' 'lib32-gcc-libs' 'lib32-libglvnd' 
'nvidia-390xx-utils')
+optdepends=('lib32-opencl-nvidia-390xx: OpenCL support')
+provides=('lib32-vulkan-driver' 'lib32-opengl-driver' 
'lib32-nvidia-390xx-libgl')
+
+cd "${_pkg}"
+
+# GLX extension module for X - useless ?
+install -D -m755 "libglx.so.${pkgver}" 
"${pkgdir}/usr/lib32/nvidia/xorg/modules/extensions/libglx.so.${pkgver}"
+ln -s "libglx.so.${pkgver}" 
"${pkgdir}/usr/lib32/nvidia/xorg/modules/extensions/libglx.so" # X doesn't find 
glx otherwise
+install -D -m755 "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLX_nvidia.so.${pkgver}"
+# now in lib32-mesa driver
+#ln -s "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLX_indirect.so.0"
+
+# Wayland stuff
+install -D -m755 "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1.0.2"
+ln -s "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1"
+
+# OpenGL libraries
+install -D -m755 "libEGL_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libEGL_nvidia.so.${pkgver}"
+install -D -m755 "libGLESv1_CM_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLESv1_CM_nvidia.so.${pkgver}"
+install -D -m755 "libGLESv2_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib32/libGLESv2_nvidia.so.${pkgver}"
+
+# OpenGL core library
+install -D -m755 "libnvidia-glcore.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}"
+install -D -m755 "libnvidia-eglcore.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-eglcore.so.${pkgver}"
+install -D -m755 "libnvidia-glsi.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-glsi.so.${pkgver}"
+
+# misc
+install -D -m755 "libnvidia-ifr.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-ifr.so.${pkgver}"
+install -D -m755 "libnvidia-fbc.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-fbc.so.${pkgver}"
+install -D -m755 "libnvidia-encode.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-encode.so.${pkgver}"
+install -D -m755 "libnvidia-cfg.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}"
+install -D -m755 "libnvidia-ml.so.${pkgver}" 
"${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}"
+install -D -m755 

[arch-commits] Commit in (4 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:25:56
  Author: svenstaro
Revision: 323468

Prepare to fork 390xx nvidia driver series

Added:
  nvidia-390xx/
  nvidia-390xx/repos/
  nvidia-390xx/trunk/
  nvidia-390xx/trunk/PKGBUILD

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

Added: nvidia-390xx/trunk/PKGBUILD
===
--- nvidia-390xx/trunk/PKGBUILD (rev 0)
+++ nvidia-390xx/trunk/PKGBUILD 2018-05-08 01:25:56 UTC (rev 323468)
@@ -0,0 +1,87 @@
+# $Id: PKGBUILD 323322 2018-05-02 22:38:55Z heftig $
+# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Felix Yan 
+# Contributor: Thomas Baechler 
+
+pkgbase=nvidia-390xx
+pkgname=(nvidia-390xx nvidia-390xx-dkms)
+pkgver=390.48
+_extramodules=extramodules-4.16-ARCH
+pkgrel=1
+pkgdesc="NVIDIA drivers for linux, 390xx legacy branch"
+arch=('x86_64')
+url="http://www.nvidia.com/;
+makedepends=("nvidia-390xx-utils=${pkgver}" 'linux' 'linux-headers>=4.16' 
'linux-headers<4.17')
+license=('custom')
+options=('!strip')
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;
+kernel-4.16.patch)
+sha256sums=('2d4bf72801f101a85df6fd1464021380ad51f5a30df05dadaf1fb546a175a441'
+'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385')
+
+_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+
+# Restore phys_to_dma support (still needed for 396.18)
+# https://bugs.archlinux.org/task/58074
+patch -Np1 -i ../kernel-4.16.patch
+
+cp -a kernel kernel-dkms
+cd kernel-dkms
+sed -i "s/__VERSION_STRING/${pkgver}/" dkms.conf
+sed -i 's/__JOBS/`nproc`/' dkms.conf
+sed -i 's/__DKMS_MODULES//' dkms.conf
+sed -i '$iBUILT_MODULE_NAME[0]="nvidia"\
+DEST_MODULE_LOCATION[0]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[1]="nvidia-uvm"\
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[2]="nvidia-modeset"\
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[3]="nvidia-drm"\
+DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf
+
+# Gift for linux-rt guys
+sed -i 's/NV_EXCLUDE_BUILD_MODULES/IGNORE_PREEMPT_RT_PRESENCE=1 
NV_EXCLUDE_BUILD_MODULES/' dkms.conf
+}
+
+build() {
+_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+cd "${_pkg}"/kernel
+make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package_nvidia-390xx() {
+pkgdesc="NVIDIA drivers for linux, 390xx legacy branch"
+depends=('linux>=4.16' 'linux<4.17' "nvidia-390xx-utils=${pkgver}" 'libgl')
+
+install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
+  "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
+
+find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
+
+echo "blacklist nouveau" |
+install -Dm644 /dev/stdin 
"${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}
+
+package_nvidia-390xx-dkms() {
+pkgdesc="NVIDIA driver sources for linux, 390xx legacy branch"
+depends=('dkms' "nvidia-390xx-utils=$pkgver" 'libgl')
+optdepends=('linux-headers: Build the module for Arch kernel'
+'linux-lts-headers: Build the module for LTS Arch kernel')
+conflicts+=('nvidia-390xx')
+
+cd ${_pkg}
+
+install -dm 755 "${pkgdir}"/usr/src
+cp -dr --no-preserve='ownership' kernel-dkms 
"${pkgdir}/usr/src/nvidia-${pkgver}"
+
+echo "blacklist nouveau" |
+install -Dm644 /dev/stdin 
"${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}


[arch-commits] Commit in (4 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:26:21
  Author: svenstaro
Revision: 323470

Prepare to fork 390xx nvidia driver series

Added:
  nvidia-390xx-utils/
  nvidia-390xx-utils/repos/
  nvidia-390xx-utils/trunk/
  nvidia-390xx-utils/trunk/PKGBUILD

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

Added: nvidia-390xx-utils/trunk/PKGBUILD
===
--- nvidia-390xx-utils/trunk/PKGBUILD   (rev 0)
+++ nvidia-390xx-utils/trunk/PKGBUILD   2018-05-08 01:26:21 UTC (rev 323470)
@@ -0,0 +1,173 @@
+# $Id: PKGBUILD 320563 2018-03-29 01:00:48Z svenstaro $
+# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Thomas Baechler 
+# Contributor: James Rayner 
+
+pkgbase=nvidia-390xx-utils
+pkgname=('nvidia-390xx-utils' 'opencl-nvidia-390xx')
+pkgver=390.48
+pkgrel=1
+arch=('x86_64')
+url="http://www.nvidia.com/;
+license=('custom')
+options=('!strip')
+source=('nvidia-drm-outputclass.conf'
+'nvidia-utils.sysusers'
+
"http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;)
+sha512sums=('c49d246a519731bfab9d22afa5c2dd2d366db06d80182738b84881e93cd697c783f16ee04819275c05597bb063451a5d6102fbc562cd078d2a374533a23cea48'
+
'4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
+
'40e1f991d931d5ea1eccda68bffa7bd872eb75c158c6a54f84b5a24274112b9a26e68caeecf6ca0e543edcec917a5ed717bd83281c4a86ac649d3c73f1386966')
+
+_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
+
+create_links() {
+# create soname links
+find "$pkgdir" -type f -name '*.so*' ! -path '*xorg/*' -print0 | while 
read -d $'\0' _lib; do
+_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 
'SONAME.*: \[\K[^]]*' || true)
+_base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/')
+[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
+[[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}"
+done
+}
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+bsdtar -xf nvidia-persistenced-init.tar.bz2
+
+sed -i 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' nvidia_icd.json.template
+}
+
+package_opencl-nvidia-390xx() {
+pkgdesc="OpenCL implemention for NVIDIA"
+depends=('zlib')
+optdepends=('opencl-headers: headers necessary for OpenCL development')
+provides=('opencl-driver')
+cd "${_pkg}"
+
+# OpenCL
+install -D -m644 nvidia.icd "${pkgdir}/etc/OpenCL/vendors/nvidia.icd"
+install -D -m755 "libnvidia-compiler.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-compiler.so.${pkgver}"
+install -D -m755 "libnvidia-opencl.so.${pkgver}" 
"${pkgdir}/usr/lib/libnvidia-opencl.so.${pkgver}"
+
+create_links
+
+mkdir -p "${pkgdir}/usr/share/licenses"
+ln -s nvidia "${pkgdir}/usr/share/licenses/opencl-nvidia"
+}
+
+package_nvidia-390xx-utils() {
+pkgdesc="NVIDIA drivers utilities"
+depends=('xorg-server' 'libglvnd')
+optdepends=('nvidia-settings: configuration tool'
+'xorg-server-devel: nvidia-xconfig'
+'opencl-nvidia-390xx: OpenCL support')
+conflicts=('nvidia-390xx-libgl' 'nvidia-390xx-libgl')
+provides=('vulkan-driver' 'opengl-driver' 'nvidia-390xx-libgl')
+replaces=('nvidia-390xx-libgl')
+install="${pkgname}.install"
+
+cd "${_pkg}"
+
+# X driver
+install -D -m755 nvidia_drv.so 
"${pkgdir}/usr/lib/xorg/modules/drivers/nvidia_drv.so"
+
+# GLX extension module for X
+install -D -m755 "libglx.so.${pkgver}" 
"${pkgdir}/usr/lib/nvidia/xorg/libglx.so.${pkgver}"
+ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglx.so.1"
# X doesn't find glx otherwise
+ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglx.so"  
# X doesn't find glx otherwise
+
+install -D -m755 "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libGLX_nvidia.so.${pkgver}"
+# now in mesa driver
+#ln -s "libGLX_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libGLX_indirect.so.0"
+
+# Wayland stuff
+install -D -m755 "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1.0.2"
+ln -s "libnvidia-egl-wayland.so.1.0.2" 
"${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1"
+install -D -m644 "10_nvidia_wayland.json" 
"${pkgdir}/usr/share/egl/egl_external_platform.d/10_nvidia_wayland.json"
+
+# OpenGL libraries
+install -D -m755 "libEGL_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libEGL_nvidia.so.${pkgver}"
+install -D -m755 "libGLESv1_CM_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libGLESv1_CM_nvidia.so.${pkgver}"
+install -D -m755 "libGLESv2_nvidia.so.${pkgver}" 
"${pkgdir}/usr/lib/libGLESv2_nvidia.so.${pkgver}"
+install -D -m644 "10_nvidia.json" 

[arch-commits] Commit in (4 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:26:12
  Author: svenstaro
Revision: 323469

Prepare to fork 390xx nvidia driver series

Added:
  nvidia-390xx-lts/
  nvidia-390xx-lts/repos/
  nvidia-390xx-lts/trunk/
  nvidia-390xx-lts/trunk/PKGBUILD

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

Added: nvidia-390xx-lts/trunk/PKGBUILD
===
--- nvidia-390xx-lts/trunk/PKGBUILD (rev 0)
+++ nvidia-390xx-lts/trunk/PKGBUILD 2018-05-08 01:26:12 UTC (rev 323469)
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 323392 2018-05-05 18:28:00Z andyrtr $
+# Maintainer: Eric Bélanger 
+
+pkgname=nvidia-390xx-lts
+pkgver=390.48
+_extramodules=extramodules-4.14-lts
+pkgrel=1
+epoch=1
+arch=('x86_64')
+url="http://www.nvidia.com/;
+makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 
'linux-lts-headers>=4.14.39')
+license=('custom')
+options=('!strip')
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run;)
+sha512sums=('40e1f991d931d5ea1eccda68bffa7bd872eb75c158c6a54f84b5a24274112b9a26e68caeecf6ca0e543edcec917a5ed717bd83281c4a86ac649d3c73f1386966')
+
+_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+}
+
+build() {
+_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+cd "${_pkg}"/kernel
+make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package() {
+pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch"
+depends=('linux-lts>=4.14.39' "nvidia-390xx-utils=${pkgver}" 'libgl')
+
+install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
+  "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
+
+find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
+
+echo "blacklist nouveau" |
+  install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}


[arch-commits] Commit in nvidia-340xx-utils/trunk (PKGBUILD)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:23:27
  Author: svenstaro
Revision: 323467

Remove old stuff

Modified:
  nvidia-340xx-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 00:25:45 UTC (rev 323466)
+++ PKGBUILD2018-05-08 01:23:27 UTC (rev 323467)
@@ -18,7 +18,6 @@
 
'ea61d463148435b6c0d16203c06372e5dc93443607ece0709f789c5c08909a3ec51c1994df97b835bba58008cdc7fe588e403006eb00631482a2a9854a81ec0a'
 
'4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499')
 
-[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
 [[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
 
 create_links() {
@@ -62,7 +61,7 @@
 optdepends=('gtk2: nvidia-settings'
 'xorg-server-devel: nvidia-xconfig'
 'opencl-nvidia-340xx: OpenCL support')
-conflicts=('nvidia-304xx-utils' 'nvidia-utils' 'nvidia-340xx-libgl')
+conflicts=('nvidia-utils' 'nvidia-340xx-libgl')
 provides=('libgl' 'libgles' 'libegl' 'nvidia-utils' 'nvidia-340xx-libgl')
 replaces=('nvidia-340xx-libgl')
 install="${pkgname}.install"


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:04:33
  Author: svenstaro
Revision: 319489

upgpkg: dwarffortress 0.44.10-1

Modified:
  dwarffortress/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-08 00:58:45 UTC (rev 319488)
+++ PKGBUILD2018-05-08 01:04:33 UTC (rev 319489)
@@ -3,8 +3,8 @@
 # Contributor: Daenyth 
 # Contributor: djnm 
 pkgname=dwarffortress
-pkgver=0.44.09
-_pkgver=44_09
+pkgver=0.44.10
+_pkgver=44_10
 pkgrel=1
 pkgdesc="A single-player fantasy game in which you build a dwarven outpost or 
play an adventurer in a randomly generated world"
 arch=(x86_64)
@@ -28,7 +28,7 @@
 '211eaec6559d4fd5c08341dbed1f27bfab997a57bdf61fd268f9940e244652c5'
 'e79e3d945c6cc0da58f4ca30a210c7bf1bc3149fd10406d1262a6214eb40445a'
 '83183abc70b11944720b0d86f4efd07468f786b03fa52fe429ca8e371f708e0f'
-'beb11c4e2757eb2edd8079a18b51e1dc8c9b42ed384cfc7ff6f88637ad9f51c1')
+'e2d69eeff5737a27328294bd607364e25ca910c1bc1d7f146a29ab61e12015b3')
 
 build() {
   cd $srcdir/dwarf_fortress_unfuck


[arch-commits] Commit in dwarffortress/repos/community-x86_64 (10 files)

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 01:04:43
  Author: svenstaro
Revision: 319490

archrelease: copy trunk to community-x86_64

Added:
  dwarffortress/repos/community-x86_64/PKGBUILD
(from rev 319489, dwarffortress/trunk/PKGBUILD)
  dwarffortress/repos/community-x86_64/dwarffortress
(from rev 319489, dwarffortress/trunk/dwarffortress)
  dwarffortress/repos/community-x86_64/dwarffortress.desktop
(from rev 319489, dwarffortress/trunk/dwarffortress.desktop)
  dwarffortress/repos/community-x86_64/dwarffortress.install
(from rev 319489, dwarffortress/trunk/dwarffortress.install)
  dwarffortress/repos/community-x86_64/dwarffortress.png
(from rev 319489, dwarffortress/trunk/dwarffortress.png)
Deleted:
  dwarffortress/repos/community-x86_64/PKGBUILD
  dwarffortress/repos/community-x86_64/dwarffortress
  dwarffortress/repos/community-x86_64/dwarffortress.desktop
  dwarffortress/repos/community-x86_64/dwarffortress.install
  dwarffortress/repos/community-x86_64/dwarffortress.png

---+
 PKGBUILD  |  132 
 dwarffortress |   40 +++---
 dwarffortress.desktop |   18 +++---
 dwarffortress.install |   18 +++---
 4 files changed, 104 insertions(+), 104 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-08 01:04:33 UTC (rev 319489)
+++ PKGBUILD2018-05-08 01:04:43 UTC (rev 319490)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Daenyth 
-# Contributor: djnm 
-pkgname=dwarffortress
-pkgver=0.44.09
-_pkgver=44_09
-pkgrel=1
-pkgdesc="A single-player fantasy game in which you build a dwarven outpost or 
play an adventurer in a randomly generated world"
-arch=(x86_64)
-url="http://www.bay12games.com/dwarves/;
-license=('custom:dwarffortress')
-depends=(gtk2 glu sdl_image libsndfile openal sdl_ttf glew gcc-libs glib2)
-makedepends=(git cmake)
-optdepends=('nvidia-utils: If you have nvidia graphics'
-'alsa-lib: for alsa sound'
-'libpulse: for pulse sound')
-options=('!strip' '!buildflags')
-install=${pkgname}.install
-# I made a fucking github repo with the sole purpose of unfucking df a bit
-# We try to compile whatever little bit of df is open source
-source=(git://github.com/svenstaro/dwarf_fortress_unfuck.git#tag=${pkgver}
-dwarffortress
-dwarffortress.desktop
-dwarffortress.png
-http://www.bay12games.com/dwarves/df_${_pkgver}_linux.tar.bz2)
-sha256sums=('SKIP'
-'211eaec6559d4fd5c08341dbed1f27bfab997a57bdf61fd268f9940e244652c5'
-'e79e3d945c6cc0da58f4ca30a210c7bf1bc3149fd10406d1262a6214eb40445a'
-'83183abc70b11944720b0d86f4efd07468f786b03fa52fe429ca8e371f708e0f'
-'beb11c4e2757eb2edd8079a18b51e1dc8c9b42ed384cfc7ff6f88637ad9f51c1')
-
-build() {
-  cd $srcdir/dwarf_fortress_unfuck
-
-  cmake .
-  make
-}
-
-package() {
-  install -dm755 $pkgdir/opt/
-  cp -r $srcdir/df_linux $pkgdir/opt/$pkgname
-  rm -r $pkgdir/opt/$pkgname/df $pkgdir/opt/$pkgname/libs/* 
$pkgdir/opt/$pkgname/g_src
-
-  find $pkgdir/opt/$pkgname -type d -exec chmod 755 {} +
-  find $pkgdir/opt/$pkgname -type f -exec chmod 644 {} +
-
-  install -Dm755 $srcdir/df_linux/libs/Dwarf_Fortress 
$pkgdir/opt/$pkgname/libs/Dwarf_Fortress
-  install -Dm755 $srcdir/dwarf_fortress_unfuck/libgraphics.so 
$pkgdir/opt/$pkgname/libs/libgraphics.so
-  install -Dm755 $srcdir/dwarffortress $pkgdir/usr/bin/$pkgname
-
-  # No idea why we need this. Really. This isn't being loaded dynamically, 
it's not linked and
-  # in general there is no indication this is being used. However, it doesn't 
work without this symlink.
-  ln -s /usr/lib/libpng.so $pkgdir/opt/$pkgname/libs/libpng.so.3
-
-  # Set pkgname in runscript
-  sed -i "s/^pkgname=.*/pkgname=$pkgname/" $pkgdir/usr/bin/$pkgname
-
-  # Desktop launcher with icon
-  install -Dm644 $srcdir/dwarffortress.desktop 
$pkgdir/usr/share/applications/"$pkgname".desktop
-  install -Dm644 $srcdir/dwarffortress.png 
$pkgdir/usr/share/pixmaps/"$pkgname".png
-
-  install -Dm644 $srcdir/df_linux/readme.txt 
$pkgdir/usr/share/licenses/$pkgname/readme.txt
-}
-
-# vim:set ts=2 sw=2 et:

Copied: dwarffortress/repos/community-x86_64/PKGBUILD (from rev 319489, 
dwarffortress/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-08 01:04:43 UTC (rev 319490)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Daenyth 
+# Contributor: djnm 
+pkgname=dwarffortress
+pkgver=0.44.10
+_pkgver=44_10
+pkgrel=1
+pkgdesc="A single-player fantasy game in which you build a dwarven outpost or 
play an adventurer in a randomly generated world"
+arch=(x86_64)
+url="http://www.bay12games.com/dwarves/;

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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 00:58:45
  Author: svenstaro
Revision: 319488

archrelease: copy trunk to community-x86_64

Added:
  tensorboard/repos/community-x86_64/PKGBUILD
(from rev 319487, tensorboard/trunk/PKGBUILD)
Deleted:
  tensorboard/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-08 00:58:37 UTC (rev 319487)
+++ PKGBUILD2018-05-08 00:58:45 UTC (rev 319488)
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 244979 2017-07-13 15:39:06Z svenstaro $
-# Maintainer: Sven-Hendrik Haase 
-
-pkgname=tensorboard
-pkgver=1.7.0
-pkgrel=1
-pkgdesc="TensorFlow's Visualization Toolkit"
-url='https://github.com/tensorflow/tensorboard'
-arch=('x86_64')
-license=('APACHE')
-depends=('python' 'python-werkzeug' 'python-numpy' 'python-bleach' 
'python-wheel' 'python-markdown'
- 'python-html5lib' 'python-protobuf' 'python-setuptools' 
'python-tensorflow')
-makedepends=('bazel' 'tree')
-source=("https://github.com/tensorflow/tensorboard/archive/${pkgver}.tar.gz;)
-sha512sums=('1a57745675f404f2c566c2e356329c9e2b98899e9b350fe77f7018dae9d2c34d52dfdea8de5e02cc699d1c0819a9ec1d78df51e88f97c09ef2f72f808ab7a800')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  bazel build tensorboard:tensorboard
-  bazel build //tensorboard/pip_package:build_pip_package
-
-  mkdir pypackage
-  cp -R 
bazel-bin/tensorboard/pip_package/build_pip_package.runfiles/org_tensorflow_tensorboard/external
 pypackage
-  cp -R 
bazel-bin/tensorboard/pip_package/build_pip_package.runfiles/org_tensorflow_tensorboard/tensorboard
 pypackage
-  cp tensorboard/pip_package/MANIFEST.in pypackage
-  cp README.md pypackage
-  cp tensorboard/pip_package/setup.py pypackage
-  cd pypackage
-  python setup.py build
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  cd pypackage
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  rm -rf "$pkgdir"/usr/lib/python3.6/site-packages/external/
-
-  
_requires="$pkgdir"/usr/lib/python3.6/site-packages/tensorboard-${pkgver}-py3.6.egg-info/requires.txt
-  # This is ugly: We need to patch it to use current bleach and html5lib
-  # because old ones are not even compatible with Python 3.6 and we don't have
-  # those in Arch of course.
-  sed -i 's/bleach==.*/bleach/' ${_requires}
-  sed -i 's/html5lib==.*/html5lib/' ${_requires}
-  # Other ugly hack: workaround for issues 650
-  # https://github.com/tensorflow/tensorboard/issues/650
-  sed -i '/^futures/d' ${_requires}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tensorboard/repos/community-x86_64/PKGBUILD (from rev 319487, 
tensorboard/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-08 00:58:45 UTC (rev 319488)
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD 244979 2017-07-13 15:39:06Z svenstaro $
+# Maintainer: Sven-Hendrik Haase 
+
+pkgname=tensorboard
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="TensorFlow's Visualization Toolkit"
+url='https://github.com/tensorflow/tensorboard'
+arch=('x86_64')
+license=('APACHE')
+depends=('python' 'python-werkzeug' 'python-numpy' 'python-bleach' 
'python-wheel' 'python-markdown'
+ 'python-html5lib' 'python-protobuf' 'python-setuptools' 
'python-tensorflow')
+makedepends=('bazel' 'tree')
+source=("https://github.com/tensorflow/tensorboard/archive/${pkgver}.tar.gz;)
+sha512sums=('ade93a6a1df68c2e811745ced2d6684711254ce94c660cfb668f7ee7bbd453a9fbccab9bfe1040c43a754ad78c3e63882b058a76984a1ce9669e1c1f996d')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  bazel build tensorboard:tensorboard
+  bazel build //tensorboard/pip_package:build_pip_package
+
+  mkdir pypackage
+  cp -R 
bazel-bin/tensorboard/pip_package/build_pip_package.runfiles/org_tensorflow_tensorboard/external
 pypackage
+  cp -R 
bazel-bin/tensorboard/pip_package/build_pip_package.runfiles/org_tensorflow_tensorboard/tensorboard
 pypackage
+  cp tensorboard/pip_package/MANIFEST.in pypackage
+  cp README.md pypackage
+  cp tensorboard/pip_package/setup.py pypackage
+  cd pypackage
+  python setup.py build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  cd pypackage
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  rm -rf "$pkgdir"/usr/lib/python3.6/site-packages/external/
+
+  
_requires="$pkgdir"/usr/lib/python3.6/site-packages/tensorboard-${pkgver}-py3.6.egg-info/requires.txt
+  # This is ugly: We need to patch it to use current bleach and html5lib
+  # because old ones are not even compatible with Python 3.6 and we don't have
+  # those in Arch of course.
+  sed -i 's/bleach==.*/bleach/' ${_requires}
+  sed -i 's/html5lib==.*/html5lib/' ${_requires}
+  # Other 

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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Tuesday, May 8, 2018 @ 00:58:37
  Author: svenstaro
Revision: 319487

upgpkg: tensorboard 1.8.0-1

Modified:
  tensorboard/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 23:10:39 UTC (rev 319486)
+++ PKGBUILD2018-05-08 00:58:37 UTC (rev 319487)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=tensorboard
-pkgver=1.7.0
+pkgver=1.8.0
 pkgrel=1
 pkgdesc="TensorFlow's Visualization Toolkit"
 url='https://github.com/tensorflow/tensorboard'
@@ -12,7 +12,7 @@
  'python-html5lib' 'python-protobuf' 'python-setuptools' 
'python-tensorflow')
 makedepends=('bazel' 'tree')
 source=("https://github.com/tensorflow/tensorboard/archive/${pkgver}.tar.gz;)
-sha512sums=('1a57745675f404f2c566c2e356329c9e2b98899e9b350fe77f7018dae9d2c34d52dfdea8de5e02cc699d1c0819a9ec1d78df51e88f97c09ef2f72f808ab7a800')
+sha512sums=('ade93a6a1df68c2e811745ced2d6684711254ce94c660cfb668f7ee7bbd453a9fbccab9bfe1040c43a754ad78c3e63882b058a76984a1ce9669e1c1f996d')
 
 build() {
   cd "$pkgname-$pkgver"


[arch-commits] Commit in linux-hardened/trunk (PKGBUILD config.x86_64)

2018-05-07 Thread Levente Polyak via arch-commits
Date: Tuesday, May 8, 2018 @ 00:25:31
  Author: anthraxx
Revision: 323465

upgpkg: linux-hardened 4.16.7.b-1

- bpf hardening
- always enable kpti, if one trusts the vendor statement, disable it
- page poisoning
- no kexec file

Modified:
  linux-hardened/trunk/PKGBUILD
  linux-hardened/trunk/config.x86_64

---+
 PKGBUILD  |6 +++---
 config.x86_64 |   14 ++
 2 files changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 22:31:53 UTC (rev 323464)
+++ PKGBUILD2018-05-08 00:25:31 UTC (rev 323465)
@@ -6,7 +6,7 @@
 pkgbase=linux-hardened
 _srcname=linux-4.16
 _pkgver=4.16.7
-pkgver=${_pkgver}.a
+pkgver=${_pkgver}.b
 pkgrel=1
 url='https://github.com/anthraxx/linux-hardened'
 arch=('x86_64')
@@ -32,9 +32,9 @@
 'SKIP'
 'f5ef83461054024814846eb816c76eba1b903f7e3e38c3417027b33070b60d91'
 'SKIP'
-'263b331ee4f18ae9500541265ca2d37764d4b25a2541aa9824e92909456e2285'
+'3dc7b94bd1907a4e9381da29b23442c8c418e682b1ed17642258f88b1010a8c5'
 'SKIP'
-'8e1484d775b378be0cb424674ac66e5e96a0ab1adbde3bb5b4f9ad0be75d5993'
+'fe48716a74a7934d0519194c222fe2d21eaf199fe74fcbc55b1f0b41a514a299'
 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
 '75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919'
 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65'

Modified: config.x86_64
===
--- config.x86_64   2018-05-07 22:31:53 UTC (rev 323464)
+++ config.x86_64   2018-05-08 00:25:31 UTC (rev 323465)
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.16.6 Kernel Configuration
+# Linux/x86 4.16.7 Kernel Configuration
 #
 CONFIG_64BIT=y
 CONFIG_X86_64=y
@@ -274,8 +274,6 @@
 CONFIG_SYSTEM_DATA_VERIFICATION=y
 CONFIG_PROFILING=y
 CONFIG_TRACEPOINTS=y
-CONFIG_CRASH_CORE=y
-CONFIG_KEXEC_CORE=y
 CONFIG_OPROFILE=m
 # CONFIG_OPROFILE_EVENT_MULTIPLEX is not set
 CONFIG_HAVE_OPROFILE=y
@@ -680,8 +678,7 @@
 CONFIG_HZ=300
 CONFIG_SCHED_HRTICK=y
 # CONFIG_KEXEC is not set
-CONFIG_KEXEC_FILE=y
-# CONFIG_KEXEC_VERIFY_SIG is not set
+# CONFIG_KEXEC_FILE is not set
 CONFIG_CRASH_DUMP=y
 CONFIG_PHYSICAL_START=0x100
 CONFIG_RELOCATABLE=y
@@ -697,7 +694,7 @@
 # CONFIG_LEGACY_VSYSCALL_EMULATE is not set
 CONFIG_LEGACY_VSYSCALL_NONE=y
 CONFIG_CMDLINE_BOOL=y
-CONFIG_CMDLINE="audit=0"
+CONFIG_CMDLINE="audit=0 slub_debug=P page_poison=1 slab_nomerge pti=on"
 # CONFIG_CMDLINE_OVERRIDE is not set
 # CONFIG_MODIFY_LDT_SYSCALL is not set
 CONFIG_HAVE_LIVEPATCH=y
@@ -8590,7 +8587,6 @@
 #
 # CONFIG_EFI_VARS is not set
 CONFIG_EFI_ESRT=y
-CONFIG_EFI_RUNTIME_MAP=y
 # CONFIG_EFI_FAKE_MEMMAP is not set
 CONFIG_EFI_RUNTIME_WRAPPERS=y
 CONFIG_EFI_CAPSULE_LOADER=m
@@ -8985,7 +8981,9 @@
 #
 # CONFIG_PAGE_EXTENSION is not set
 # CONFIG_DEBUG_PAGEALLOC is not set
-# CONFIG_PAGE_POISONING is not set
+CONFIG_PAGE_POISONING=y
+CONFIG_PAGE_POISONING_NO_SANITY=y
+CONFIG_PAGE_POISONING_ZERO=y
 # CONFIG_DEBUG_PAGE_REF is not set
 # CONFIG_DEBUG_RODATA_TEST is not set
 # CONFIG_DEBUG_OBJECTS is not set


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

2018-05-07 Thread Levente Polyak via arch-commits
Date: Tuesday, May 8, 2018 @ 00:25:45
  Author: anthraxx
Revision: 323466

archrelease: copy trunk to extra-x86_64

Added:
  linux-hardened/repos/extra-x86_64/60-linux.hook
(from rev 323465, linux-hardened/trunk/60-linux.hook)
  linux-hardened/repos/extra-x86_64/90-linux.hook
(from rev 323465, linux-hardened/trunk/90-linux.hook)
  linux-hardened/repos/extra-x86_64/PKGBUILD
(from rev 323465, linux-hardened/trunk/PKGBUILD)
  linux-hardened/repos/extra-x86_64/config.x86_64
(from rev 323465, linux-hardened/trunk/config.x86_64)
  
linux-hardened/repos/extra-x86_64/drm-i915-edp-Only-use-the-alternate-fixed-mode-if-its-asked-for.patch
(from rev 323465, 
linux-hardened/trunk/drm-i915-edp-Only-use-the-alternate-fixed-mode-if-its-asked-for.patch)
  linux-hardened/repos/extra-x86_64/linux.install
(from rev 323465, linux-hardened/trunk/linux.install)
  linux-hardened/repos/extra-x86_64/linux.preset
(from rev 323465, linux-hardened/trunk/linux.preset)
  
linux-hardened/repos/extra-x86_64/partially-revert-swiotlb-remove-various-exports.patch
(from rev 323465, 
linux-hardened/trunk/partially-revert-swiotlb-remove-various-exports.patch)
Deleted:
  linux-hardened/repos/extra-x86_64/60-linux.hook
  linux-hardened/repos/extra-x86_64/90-linux.hook
  linux-hardened/repos/extra-x86_64/PKGBUILD
  linux-hardened/repos/extra-x86_64/config.x86_64
  
linux-hardened/repos/extra-x86_64/drm-i915-edp-Only-use-the-alternate-fixed-mode-if-its-asked-for.patch
  linux-hardened/repos/extra-x86_64/linux.install
  linux-hardened/repos/extra-x86_64/linux.preset
  
linux-hardened/repos/extra-x86_64/partially-revert-swiotlb-remove-various-exports.patch

---+
 60-linux.hook |   24 
 90-linux.hook |   22 
 PKGBUILD  |  514 
 config.x86_64 |19218 
--
 drm-i915-edp-Only-use-the-alternate-fixed-mode-if-its-asked-for.patch |   78 
 linux.install |   22 
 linux.preset  |   28 
 partially-revert-swiotlb-remove-various-exports.patch |   52 
 8 files changed, 9978 insertions(+), 9980 deletions(-)

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


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

2018-05-07 Thread Eli Schwartz via arch-commits
Date: Monday, May 7, 2018 @ 23:10:21
  Author: eschwartz
Revision: 319485

upgpkg: llpp 27-2

libmupdf static library rebuild

Modified:
  llpp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 22:16:36 UTC (rev 319484)
+++ PKGBUILD2018-05-07 23:10:21 UTC (rev 319485)
@@ -6,7 +6,7 @@
 pkgver=27
 # Often breaks with mupdf, which means I'll occasionally need to pin a 
specific commit.
 _commit=87faa123127cc0746c28531874af7aaef1feb574
-pkgrel=1
+pkgrel=2
 pkgdesc='opengl accelerated pdf viewer based on mupdf'
 arch=('x86_64')
 url="https://github.com/moosotc/${pkgname};


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

2018-05-07 Thread Eli Schwartz via arch-commits
Date: Monday, May 7, 2018 @ 23:10:39
  Author: eschwartz
Revision: 319486

archrelease: copy trunk to community-x86_64

Added:
  llpp/repos/community-x86_64/Makefile
(from rev 319485, llpp/trunk/Makefile)
  llpp/repos/community-x86_64/PKGBUILD
(from rev 319485, llpp/trunk/PKGBUILD)
  llpp/repos/community-x86_64/no-quit-on-escape.patch
(from rev 319485, llpp/trunk/no-quit-on-escape.patch)
Deleted:
  llpp/repos/community-x86_64/Makefile
  llpp/repos/community-x86_64/PKGBUILD
  llpp/repos/community-x86_64/no-quit-on-escape.patch

-+
 Makefile|  172 +++---
 PKGBUILD|  137 ++--
 no-quit-on-escape.patch |   66 -
 3 files changed, 188 insertions(+), 187 deletions(-)

Deleted: Makefile
===
--- Makefile2018-05-07 23:10:21 UTC (rev 319485)
+++ Makefile2018-05-07 23:10:39 UTC (rev 319486)
@@ -1,86 +0,0 @@
-VERSION = $(shell test -d .git && git describe --tags --dirty 2>/dev/null)
-ifeq "${VERSION}" ""
-VERSION = 26b
-endif
-
-# paths
-PREFIX ?= /usr/local
-
-# includes and libs
-INCS = -I/usr/include -I/usr/include/freetype2 -include ft2build.h
-LIBS = -L/usr/lib -lX11 -lpthread -lmupdf -lmupdfthird -ljbig2dec -lcrypto \
-   -lz -lopenjp2 -ljpeg -lfreetype -lharfbuzz
-
-CPPFLAGS += -D_GNU_SOURCE -DFFP
-CFLAGS += -g -std=c99 -pedantic -Wall -Wextra -Wshadow ${INCS} ${CPPFLAGS}
-LDFLAGS += -g ${LIBS}
-
-# ocaml
-CAMLOPT = ocamlopt
-CAMLFLAGS = -g -w +a -safe-string -I +lablGL
-
-VPATH = wsi/x11
-
-SRC = utils.ml keys.ml wsi.ml parser.ml config.ml main.ml
-OBJ = help.cmx ${SRC:.ml=.cmx}
-MOD = unix.cmxa str.cmxa lablgl.cmxa
-SRCMANS = $(wildcard man/*.man)
-MANS = ${SRCMANS:.man=.1}
-
-DISTFILES := Makefile ${SRC} link.c glfont.c keysym2ucs.c wsi.mli
-DISTFILES += mkhelp.sh KEYS README BUILDING
-DISTFILES += misc/ man/
-
-all: llpp ${MANS}
-
-llpp: ${OBJ} link.o
-   ${CAMLOPT} -o $@ ${CAMLFLAGS} link.o -cclib '${LDFLAGS}' ${MOD} ${OBJ}
-
-main.cmx: main.ml utils.cmx config.cmx
-   ${CAMLOPT} -c -o $@ ${CAMLFLAGS} -thread $^
-
-wsi.cmx: wsi.cmi utils.cmx keys.cmx
-
-wsi.cmi: utils.cmx
-
-help.ml: mkhelp.sh KEYS
-   sh mkhelp.sh KEYS ${VERSION} > $@
-
-config.cmx: wsi.cmi parser.cmx utils.cmx help.cmx
-
-parser.cmx: utils.cmx
-
-link.o: glfont.c keysym2ucs.c
-
-.SUFFIXES: .ml .mli .cmo .cmi .cmx .mll .mly
-
-.c.o:
-   ${CAMLOPT} -c -o $@ ${CAMLFLAGS} -cc ${CC} -ccopt '${CFLAGS}' $<
-
-.ml.cmx:
-   ${CAMLOPT} -c -o $@ ${CAMLFLAGS} $<
-
-.mli.cmi:
-   ${CAMLOPT} -c -o $@ ${CAMLFLAGS} $<
-
-%.1: %.man man/asciidoc.conf
-   a2x -d manpage -f manpage --asciidoc-opts="-f man/asciidoc.conf 
--out-file=$@.xml" $<
-
-.PHONY: all clean dist install
-
-clean:
-   ${RM} llpp link.o help.ml ${OBJ} ${OBJ:.cmx=.cmi} ${OBJ:.cmx=.o} 
${MANS} ${MANS:.1=.xml}
-
-dist: clean
-   mkdir llpp-${VERSION}
-   cp -r ${DISTFILES} llpp-${VERSION}
-   tar czf llpp-${VERSION}.tar.gz llpp-${VERSION}
-   rm -rf llpp-${VERSION}
-
-install:
-   install -Dm755 llpp ${DESTDIR}${PREFIX}/bin/llpp
-   install -Dm644 -t ${DESTDIR}${PREFIX}/share/man/man1  man/*.1
-   install -Dm755 misc/llppac ${DESTDIR}${PREFIX}/bin/llppac
-   install -Dm755 misc/llpphtml ${DESTDIR}${PREFIX}/bin/llpphtml
-   install -Dm644 misc/llpp.desktop 
${DESTDIR}${PREFIX}/share/applications/llpp.desktop
-   install -Dm644 README ${DESTDIR}${PREFIX}/share/licenses/llpp/README

Copied: llpp/repos/community-x86_64/Makefile (from rev 319485, 
llpp/trunk/Makefile)
===
--- Makefile(rev 0)
+++ Makefile2018-05-07 23:10:39 UTC (rev 319486)
@@ -0,0 +1,86 @@
+VERSION = $(shell test -d .git && git describe --tags --dirty 2>/dev/null)
+ifeq "$(VERSION)" ""
+VERSION = 26b
+endif
+
+# paths
+PREFIX ?= /usr/local
+
+# includes and libs
+INCS = -I/usr/include -I/usr/include/freetype2 -include ft2build.h
+LIBS = -L/usr/lib -lX11 -lpthread -lmupdf -lmupdfthird -ljbig2dec -lcrypto \
+   -lz -lopenjp2 -ljpeg -lfreetype -lharfbuzz
+
+CPPFLAGS += -D_GNU_SOURCE -DFFP
+CFLAGS += -g -std=c99 -pedantic -Wall -Wextra -Wshadow $(INCS) $(CPPFLAGS)
+LDFLAGS += -g $(LIBS)
+
+# ocaml
+CAMLOPT = ocamlopt
+CAMLFLAGS = -g -w +a -safe-string -I +lablGL
+
+VPATH = wsi/x11
+
+SRC = utils.ml keys.ml wsi.ml parser.ml config.ml main.ml
+OBJ = help.cmx $(SRC:.ml=.cmx)
+MOD = unix.cmxa str.cmxa lablgl.cmxa
+SRCMANS = $(wildcard man/*.man)
+MANS = $(SRCMANS:.man=.1)
+
+DISTFILES := Makefile $(SRC) link.c glfont.c keysym2ucs.c wsi.mli
+DISTFILES += mkhelp.sh KEYS README BUILDING
+DISTFILES += misc/ man/
+
+all: llpp $(MANS)
+
+llpp: $(OBJ) link.o
+   $(CAMLOPT) -o $@ $(CAMLFLAGS) link.o -cclib '$(LDFLAGS)' $(MOD) $(OBJ)
+
+main.cmx: main.ml utils.cmx config.cmx
+   $(CAMLOPT) -c -o $@ $(CAMLFLAGS) -thread $^
+
+wsi.cmx: 

[arch-commits] Commit in grub/trunk (2 files)

2018-05-07 Thread Christian Hesse via arch-commits
Date: Monday, May 7, 2018 @ 22:31:53
  Author: eworm
Revision: 323464

more freetype fixes, build with GCC 8.x

Added:
  grub/trunk/0008-Fix-packed-not-aligned-error-on-GCC-8.patch
Modified:
  grub/trunk/PKGBUILD

--+
 0008-Fix-packed-not-aligned-error-on-GCC-8.patch |   72 +
 PKGBUILD |7 ++
 2 files changed, 79 insertions(+)

Added: 0008-Fix-packed-not-aligned-error-on-GCC-8.patch
===
--- 0008-Fix-packed-not-aligned-error-on-GCC-8.patch
(rev 0)
+++ 0008-Fix-packed-not-aligned-error-on-GCC-8.patch2018-05-07 22:31:53 UTC 
(rev 323464)
@@ -0,0 +1,72 @@
+From 563b1da6e6ae7af46cc8354cadb5dab416989f0a Mon Sep 17 00:00:00 2001
+From: Michael Chang 
+Date: Mon, 26 Mar 2018 16:52:34 +0800
+Subject: Fix packed-not-aligned error on GCC 8
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+When building with GCC 8, there are several errors regarding 
packed-not-aligned.
+
+./include/grub/gpt_partition.h:79:1: error: alignment 1 of ‘struct 
grub_gpt_partentry’ is less than 8 [-Werror=packed-not-aligned]
+
+This patch fixes the build error by cleaning up the ambiguity of placing
+aligned structure in a packed one. In "struct grub_btrfs_time" and "struct
+grub_gpt_part_type", the aligned attribute seems to be superfluous, and also
+has to be packed, to ensure the structure is bit-to-bit mapped to the format
+laid on disk. I think we could blame to copy and paste error here for the
+mistake. In "struct efi_variable", we have to use grub_efi_packed_guid_t, as
+the name suggests. :)
+
+Signed-off-by: Michael Chang 
+Tested-by: Michael Chang 
+Tested-by: Paul Menzel 
+Reviewed-by: Daniel Kiper 
+---
+ grub-core/fs/btrfs.c  | 2 +-
+ include/grub/efiemu/runtime.h | 2 +-
+ include/grub/gpt_partition.h  | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/grub-core/fs/btrfs.c b/grub-core/fs/btrfs.c
+index 4849c1ceb..be195448d 100644
+--- a/grub-core/fs/btrfs.c
 b/grub-core/fs/btrfs.c
+@@ -175,7 +175,7 @@ struct grub_btrfs_time
+ {
+   grub_int64_t sec;
+   grub_uint32_t nanosec;
+-} __attribute__ ((aligned (4)));
++} GRUB_PACKED;
+ 
+ struct grub_btrfs_inode
+ {
+diff --git a/include/grub/efiemu/runtime.h b/include/grub/efiemu/runtime.h
+index 9b6b729f4..36d2dedf4 100644
+--- a/include/grub/efiemu/runtime.h
 b/include/grub/efiemu/runtime.h
+@@ -29,7 +29,7 @@ struct grub_efiemu_ptv_rel
+ 
+ struct efi_variable
+ {
+-  grub_efi_guid_t guid;
++  grub_efi_packed_guid_t guid;
+   grub_uint32_t namelen;
+   grub_uint32_t size;
+   grub_efi_uint32_t attributes;
+diff --git a/include/grub/gpt_partition.h b/include/grub/gpt_partition.h
+index 1b32f6725..9668a68c3 100644
+--- a/include/grub/gpt_partition.h
 b/include/grub/gpt_partition.h
+@@ -28,7 +28,7 @@ struct grub_gpt_part_type
+   grub_uint16_t data2;
+   grub_uint16_t data3;
+   grub_uint8_t data4[8];
+-} __attribute__ ((aligned(8)));
++} GRUB_PACKED;
+ typedef struct grub_gpt_part_type grub_gpt_part_type_t;
+ 
+ #define GRUB_GPT_PARTITION_TYPE_EMPTY \
+-- 
+cgit v1.1-33-g03f6
+

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 22:16:03 UTC (rev 323463)
+++ PKGBUILD2018-05-07 22:31:53 UTC (rev 323464)
@@ -65,6 +65,7 @@
 
'0005-Allow_GRUB_to_mount_ext234_filesystems_that_have_the_encryption_feature.patch'
 
'0006-tsc-Change-default-tsc-calibration-method-to-pmtimer-on-EFI-systems.patch'
 
'0007-grub-mkconfig_10_linux_Support_multiple_early_initrd_images.patch'
+'0008-Fix-packed-not-aligned-error-on-GCC-8.patch'
 'grub.default'
 'grub.cfg')
 
@@ -78,6 +79,7 @@
 '535422c510a050d41efe7720dbe54de29e04bdb8f86fd5aea5feb0b24f7abe46'
 'c38f2b2caae33008b35a37d8293d8bf13bf6fd779a4504925da1837fd007aeb5'
 'e43566c4fe3b1b87e677167323d4716b82ac0810410a9d8dc7fbf415c8db2b8a'
+'e84b8de569c7e6b73263758c35cf95c6516fde85d4ed451991427864f6a4e5a8'
 '74e5dd2090a153c10a7b9599b73bb09e70fddc6a019dd41641b0f10b9d773d82'
 'c5e4f3836130c6885e9273c21f057263eba53f4b7c0e2f111f6e5f2e487a47ad')
 
@@ -104,6 +106,9 @@
msg "Support multiple early initrd images"
patch -Np1 -i 
"${srcdir}/0007-grub-mkconfig_10_linux_Support_multiple_early_initrd_images.patch"
 
+   msg "Fix packed-not-aligned error on GCC 8"
+   patch -Np1 -i 
"${srcdir}/0008-Fix-packed-not-aligned-error-on-GCC-8.patch"
+
msg "Fix DejaVuSans.ttf location so that grub-mkfont can create *.pf2 
files for starfield theme"
sed 's|/usr/share/fonts/dejavu|/usr/share/fonts/dejavu 
/usr/share/fonts/TTF|g' -i "configure.ac"
 
@@ -204,6 

[arch-commits] Commit in remmina/repos/community-x86_64 (4 files)

2018-05-07 Thread Eli Schwartz via arch-commits
Date: Monday, May 7, 2018 @ 22:16:36
  Author: eschwartz
Revision: 319484

archrelease: copy trunk to community-x86_64

Added:
  remmina/repos/community-x86_64/PKGBUILD
(from rev 319483, remmina/trunk/PKGBUILD)
  remmina/repos/community-x86_64/fix-freerdp-name.patch
(from rev 319483, remmina/trunk/fix-freerdp-name.patch)
Deleted:
  remmina/repos/community-x86_64/PKGBUILD
  remmina/repos/community-x86_64/fix-freerdp-name.patch

+
 PKGBUILD   |   91 +--
 fix-freerdp-name.patch |   40 ++--
 2 files changed, 62 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-07 22:16:20 UTC (rev 319483)
+++ PKGBUILD2018-05-07 22:16:36 UTC (rev 319484)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-
-pkgname=remmina
-epoch=1
-pkgver=1.2.0rcgit.29
-pkgrel=1
-pkgdesc="remote desktop client written in GTK+"
-arch=(x86_64)
-url="http://www.remmina.org/;
-license=('GPL')
-depends=('gtk3' 'zlib' 'libjpeg' 'libssh' 'avahi' 'vte3'
-'libgcrypt' 'libxdmcp' 'libsecret' 'webkit2gtk')
-makedepends=('intltool' 'pkgconfig' 'cmake' 'libgnome-keyring'
- 'avahi' 'libxkbfile' 'freerdp' 'telepathy-glib'
- 'libvncserver' 'spice-protocol' 'spice-gtk3')
-optdepends=('libxkbfile'
-'freerdp'
-'telepathy-glib'
-'gnome-keyring'
-'nxproxy'
-'spice-gtk3'
-'xorg-server-xephyr: XDMCP support'
-'libvncserver: VNC client/server support')
-replaces=('remmina-plugins')
-provides=('remmina-plugins')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/v${pkgver/rc/-rc}.tar.gz;
-
"https://github.com/FreeRDP/Remmina/commit/5d00c7920a4b8c7d781160b7188747b422f130a3.patch;)
-sha256sums=('24fdcc8b69f8563c464b6ac77dd6bf93a1c963d90f8a114e1a3abad9af2b8682'
-'7df065f2243911c2f47e1bf91498c9494d19f1d3f154b3402b99d2572383126f')
-
-prepare() {
-  cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
-#  patch -p1 < "$srcdir"/5d00c7920a4b8c7d781160b7188747b422f130a3.patch
-}
-
-build() {
-  cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
-  cmake \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=/usr/lib \
--DWITH_APPINDICATOR=OFF .
-  make
-}
-
-package() {
-  cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
-  make DESTDIR="$pkgdir" install
-}

Copied: remmina/repos/community-x86_64/PKGBUILD (from rev 319483, 
remmina/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-07 22:16:36 UTC (rev 319484)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+
+pkgname=remmina
+epoch=1
+pkgver=1.2.0rcgit.29
+pkgrel=2
+pkgdesc="remote desktop client written in GTK+"
+arch=(x86_64)
+url="https://www.remmina.org/;
+license=('GPL')
+depends=('gtk3' 'zlib' 'libjpeg' 'libssh' 'avahi' 'vte3'
+'libgcrypt' 'libxdmcp' 'libsecret' 'webkit2gtk')
+makedepends=('intltool' 'cmake' 'libgnome-keyring'
+ 'avahi' 'libxkbfile' 'freerdp' 'telepathy-glib'
+ 'libvncserver' 'spice-protocol' 'spice-gtk3')
+optdepends=('libxkbfile'
+'freerdp'
+'telepathy-glib'
+'gnome-keyring'
+'nxproxy'
+'spice-gtk3'
+'xorg-server-xephyr: XDMCP support'
+'libvncserver: VNC client/server support')
+replaces=('remmina-plugins')
+provides=('remmina-plugins')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/v${pkgver/rc/-rc}.tar.gz;)
+sha256sums=('24fdcc8b69f8563c464b6ac77dd6bf93a1c963d90f8a114e1a3abad9af2b8682')
+
+build() {
+  cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
+  cmake \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+-DWITH_APPINDICATOR=OFF .
+  make
+}
+
+package() {
+  cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
+  make DESTDIR="$pkgdir" install
+}

Deleted: fix-freerdp-name.patch
===
--- fix-freerdp-name.patch  2018-05-07 22:16:20 UTC (rev 319483)
+++ fix-freerdp-name.patch  2018-05-07 22:16:36 UTC (rev 319484)
@@ -1,20 +0,0 @@
-diff -wbBur Remmina-1.2.0-rcgit.17/cmake/FindFREERDP.cmake 
Remmina-1.2.0-rcgit.17.my/cmake/FindFREERDP.cmake
 Remmina-1.2.0-rcgit.17/cmake/FindFREERDP.cmake 2016-12-22 
11:59:08.0 +0300
-+++ Remmina-1.2.0-rcgit.17.my/cmake/FindFREERDP.cmake  2017-02-01 
18:28:39.771764112 +0300
-@@ -30,13 +30,13 @@
- find_path(WINPR_INCLUDE_DIR NAMES winpr/winpr.h
-   HINTS ${PC_FREERDP_INCLUDEDIR} ${PC_FREERDP_INCLUDE_DIRS} 
${CMAKE_PREFIX_PATH}/include/winpr2/)
- 
--find_library(FREERDP_LIBRARY NAMES freerdp
-+find_library(FREERDP_LIBRARY NAMES freerdp2
-   HINTS ${PC_FREERDP_LIBDIR} ${PC_FREERDP_LIBRARY_DIRS})
- 

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

2018-05-07 Thread Eli Schwartz via arch-commits
Date: Monday, May 7, 2018 @ 22:16:20
  Author: eschwartz
Revision: 319483

upgpkg: remmina 1:1.2.0rcgit.29-2

Rebuild for FS#58265
Remove obsolete patch
Update url to HTTPS

Modified:
  remmina/trunk/PKGBUILD

--+
 PKGBUILD |   17 +
 1 file changed, 5 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 22:06:18 UTC (rev 319482)
+++ PKGBUILD2018-05-07 22:16:20 UTC (rev 319483)
@@ -4,14 +4,14 @@
 pkgname=remmina
 epoch=1
 pkgver=1.2.0rcgit.29
-pkgrel=1
+pkgrel=2
 pkgdesc="remote desktop client written in GTK+"
 arch=(x86_64)
-url="http://www.remmina.org/;
+url="https://www.remmina.org/;
 license=('GPL')
 depends=('gtk3' 'zlib' 'libjpeg' 'libssh' 'avahi' 'vte3'
 'libgcrypt' 'libxdmcp' 'libsecret' 'webkit2gtk')
-makedepends=('intltool' 'pkgconfig' 'cmake' 'libgnome-keyring'
+makedepends=('intltool' 'cmake' 'libgnome-keyring'
  'avahi' 'libxkbfile' 'freerdp' 'telepathy-glib'
  'libvncserver' 'spice-protocol' 'spice-gtk3')
 optdepends=('libxkbfile'
@@ -24,16 +24,9 @@
 'libvncserver: VNC client/server support')
 replaces=('remmina-plugins')
 provides=('remmina-plugins')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/v${pkgver/rc/-rc}.tar.gz;
-
"https://github.com/FreeRDP/Remmina/commit/5d00c7920a4b8c7d781160b7188747b422f130a3.patch;)
-sha256sums=('24fdcc8b69f8563c464b6ac77dd6bf93a1c963d90f8a114e1a3abad9af2b8682'
-'7df065f2243911c2f47e1bf91498c9494d19f1d3f154b3402b99d2572383126f')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/v${pkgver/rc/-rc}.tar.gz;)
+sha256sums=('24fdcc8b69f8563c464b6ac77dd6bf93a1c963d90f8a114e1a3abad9af2b8682')
 
-prepare() {
-  cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
-#  patch -p1 < "$srcdir"/5d00c7920a4b8c7d781160b7188747b422f130a3.patch
-}
-
 build() {
   cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
   cmake \


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

2018-05-07 Thread Christian Hesse via arch-commits
Date: Monday, May 7, 2018 @ 22:16:03
  Author: eworm
Revision: 323463

fix build with freetype2 >= 2.9.1-1

Modified:
  grub/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 22:02:20 UTC (rev 323462)
+++ PKGBUILD2018-05-07 22:16:03 UTC (rev 323463)
@@ -156,6 +156,7 @@
 
msg "Run ./configure for bios build"
./configure \
+   FREETYPE="pkg-config freetype2" \
--with-platform="pc" \
--target="i386" \
"${_EFIEMU}" \


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, May 7, 2018 @ 22:06:18
  Author: svenstaro
Revision: 319482

archrelease: copy trunk to community-x86_64

Added:
  forge/repos/community-x86_64/PKGBUILD
(from rev 319481, forge/trunk/PKGBUILD)
Deleted:
  forge/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-07 22:06:09 UTC (rev 319481)
+++ PKGBUILD2018-05-07 22:06:18 UTC (rev 319482)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-pkgname=forge
-pkgdesc="High Performance Visualizations"
-url='https://github.com/arrayfire/forge'
-pkgver=1.0.1
-arch=('i686' 'x86_64')
-pkgrel=2
-epoch=1
-license=('BSD')
-makedepends=('cmake' 'doxygen' 'graphviz' 'git' 'python' 'glm' 'gcc6' 'boost')
-depends=('glfw' 'freetype2' 'fontconfig' 'freeimage')
-source=(https://github.com/arrayfire/forge/archive/v${pkgver}.tar.gz)
-sha512sums=('08cf80d6020f85a44fc505bf47bbfcad201b75d5ee15a004ff485e9965896cca4e24e706b789b0a41bc0acf9296112368a2e98dbead0bd57dca1ff9fca57927d')
-options=('!buildflags')
-
-build() {
-  cd forge-${pkgver}
-
-  rm -rf build
-  mkdir build && cd build
-
-  export CC=gcc-6
-  export CXX=g++-6
-  cmake .. \
-  -DCMAKE_INSTALL_PREFIX=/usr \
-  -DBUILD_EXAMPLES=ON \
-  -DBUILD_DOCUMENTATION=ON
-
-  make
-}
-
-package() {
-  cd forge-${pkgver}
-
-  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-
-  cd build
-
-  make DESTDIR="${pkgdir}/" install
-}

Copied: forge/repos/community-x86_64/PKGBUILD (from rev 319481, 
forge/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-07 22:06:18 UTC (rev 319482)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=forge
+pkgdesc="High Performance Visualizations"
+url='https://github.com/arrayfire/forge'
+pkgver=1.1.0
+_afver=af3.6.0
+arch=('x86_64')
+pkgrel=1
+epoch=1
+license=('BSD')
+makedepends=('cmake' 'doxygen' 'graphviz' 'git' 'python' 'glm' 'boost')
+depends=('glfw' 'freetype2' 'fontconfig' 'freeimage' 'glbinding')
+source=(https://github.com/arrayfire/forge/archive/${_afver}.tar.gz)
+sha512sums=('e26ac048b7f2708c0b4bc06a99fd7bec2be870e0c73bd4a8cfa733d6a96f61a7261b0baab71bcb1cdb1969f3d133f85f5bca57ff74e1d166776cfe642fdbd16b')
+options=('!buildflags')
+
+build() {
+  cd forge-${_afver}
+
+  rm -rf build
+  mkdir build && cd build
+
+  cmake .. \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DBUILD_EXAMPLES=ON \
+  -DBUILD_DOCUMENTATION=ON
+
+  make
+}
+
+package() {
+  cd forge-${_afver}
+
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+  cd build
+
+  make DESTDIR="${pkgdir}/" install
+}


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, May 7, 2018 @ 22:06:09
  Author: svenstaro
Revision: 319481

upgpkg: forge 1:1.1.0-1

Modified:
  forge/trunk/PKGBUILD

--+
 PKGBUILD |   19 +--
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 22:02:47 UTC (rev 319480)
+++ PKGBUILD2018-05-07 22:06:09 UTC (rev 319481)
@@ -2,25 +2,24 @@
 pkgname=forge
 pkgdesc="High Performance Visualizations"
 url='https://github.com/arrayfire/forge'
-pkgver=1.0.1
+pkgver=1.1.0
+_afver=af3.6.0
 arch=('x86_64')
-pkgrel=2
+pkgrel=1
 epoch=1
 license=('BSD')
-makedepends=('cmake' 'doxygen' 'graphviz' 'git' 'python' 'glm' 'gcc6' 'boost')
-depends=('glfw' 'freetype2' 'fontconfig' 'freeimage')
-source=(https://github.com/arrayfire/forge/archive/v${pkgver}.tar.gz)
-sha512sums=('08cf80d6020f85a44fc505bf47bbfcad201b75d5ee15a004ff485e9965896cca4e24e706b789b0a41bc0acf9296112368a2e98dbead0bd57dca1ff9fca57927d')
+makedepends=('cmake' 'doxygen' 'graphviz' 'git' 'python' 'glm' 'boost')
+depends=('glfw' 'freetype2' 'fontconfig' 'freeimage' 'glbinding')
+source=(https://github.com/arrayfire/forge/archive/${_afver}.tar.gz)
+sha512sums=('e26ac048b7f2708c0b4bc06a99fd7bec2be870e0c73bd4a8cfa733d6a96f61a7261b0baab71bcb1cdb1969f3d133f85f5bca57ff74e1d166776cfe642fdbd16b')
 options=('!buildflags')
 
 build() {
-  cd forge-${pkgver}
+  cd forge-${_afver}
 
   rm -rf build
   mkdir build && cd build
 
-  export CC=gcc-6
-  export CXX=g++-6
   cmake .. \
   -DCMAKE_INSTALL_PREFIX=/usr \
   -DBUILD_EXAMPLES=ON \
@@ -30,7 +29,7 @@
 }
 
 package() {
-  cd forge-${pkgver}
+  cd forge-${_afver}
 
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 


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

2018-05-07 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, May 7, 2018 @ 22:02:47
  Author: svenstaro
Revision: 319480

Prepare more

Modified:
  arrayfire/trunk/PKGBUILD

--+
 PKGBUILD |   32 +---
 1 file changed, 17 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:58:23 UTC (rev 319479)
+++ PKGBUILD2018-05-07 22:02:47 UTC (rev 319480)
@@ -7,7 +7,7 @@
 pkgrel=1
 license=('BSD')
 makedepends=('cmake' 'graphviz' 'doxygen' 'opencl-headers' 'glfw' 'glew' 
'boost' 'git' 'python' 'ocl-icd' 'cuda' 'nvidia-utils')
-depends=('cblas' 'fftw' 'boost-libs' 'lapacke' 'forge' 'freeimage' 'glfw' 
'glew')
+depends=('cblas' 'fftw' 'boost-libs' 'lapacke' 'forge' 'freeimage' 'glfw' 
'glew' 'glbinding')
 optdepends=('cuda: Required for using CUDA backend'
 'nvidia-utils: Required for using CUDA backend'
 'libclc: Required for using OpenCL backend')
@@ -29,25 +29,27 @@
   export CXX=g++-5
   cmake .. \
   -DCMAKE_INSTALL_PREFIX=/usr \
-  -DUSE_SYSTEM_FORGE=ON \
-  -DCOMPUTES_DETECTED_LIST="30;32;35;37;50;52;53;60;61;62" \
-  -DBUILD_CPU=ON \
-  -DBUILD_OPENCL=ON \
-  -DBUILD_NONFREE=ON \
-  -DCMAKE_BUILD_TYPE=Release \
-  -DBUILD_EXAMPLES=ON \
-  -DBUILD_DOCS=ON
+  -DAF_USE_SYSTEM_FORGE=ON \
+  -DAF_WITH_IMAGEIO=ON \
+  -DAF_WITH_GRAPHICS=ON \
+  -DAF_BUILD_CPU=ON \
+  -DAF_BUILD_OPENCL=ON \
+  -DAF_BUILD_NONFREE=ON \
+  -DAF_BUILD_EXAMPLES=ON \
+  -DAF_BUILD_DOCS=ON \
+  
-DCUDA_architecture_build_targets="3.0;3.2;3.5;3.7;5.0;5.2;5.3;6.0;6.1;6.2;7.0" 
\
+  -DCMAKE_BUILD_TYPE=Release
 
   make
 }
 
-check() {
-  cd "${srcdir}/arrayfire-full-${pkgver}/build"
+# check() {
+#   cd "${srcdir}/arrayfire-full-${pkgver}/build"
+#
+#   # Some tests fail :(
+#   make test
+# }
 
-  # Some tests fail :(
-  make test
-}
-
 package() {
   cd "${srcdir}/arrayfire-full-${pkgver}"
 


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

2018-05-07 Thread Christian Hesse via arch-commits
Date: Monday, May 7, 2018 @ 22:02:20
  Author: eworm
Revision: 323462

install systemd-shutdown to initramfs

Modified:
  systemd/trunk/PKGBUILD
  systemd/trunk/initcpio-install-systemd

--+
 PKGBUILD |2 +-
 initcpio-install-systemd |1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:14:04 UTC (rev 323461)
+++ PKGBUILD2018-05-07 22:02:20 UTC (rev 323462)
@@ -43,7 +43,7 @@
 'SKIP'
 
'9348683829190628e25b7b3300fd880c426d555bde330d5fc5150a9a54b3ad9d4d1f2e69ea1dc6d6f086693dacc53c5af30f1fa7ad9b479791fd77bcdafa430e'
 
'f0d933e8c6064ed830dec54049b0a01e27be87203208f6ae982f10fb4eddc7258cb2919d594cbfb9a33e74c3510cfd682f3416ba8e804387ab87d1a217eb4b73'
-
'3214b80fb5e3a9eed026dc1d6f23a3785c34b03dd09cba536ad4413322fc0d83936ec3d140ad11ffbf527b4bb8b83887044209c453bd1a25d22d6b9cbcd88288'
+
'01de24951a05d38eca6b615a7645beb3677ca0e0f87638d133649f6dc14dcd2ea82594a60b793c31b14493a286d1d11a0d25617f54dbfa02be237652c8faa691'
 
'a25b28af2e8c516c3a2eec4e64b8c7f70c21f974af4a955a4a9d45fd3e3ff0d2a98b4419fe425d47152d5acae77d64e69d8d014a7209524b75a81b0edb10bf3a'
 
'61032d29241b74a0f28446f8cf1be0e8ec46d0847a61dadb2a4f096e8686d5f57fe5c72bcf386003f6520bc4b5856c32d63bf3efe7eb0bc0deefc9f68159e648'
 
'c416e2121df83067376bcaacb58c05b01990f4614ad9de657d74b6da3efa441af251d13bf21e3f0f71ddcb4c9ea658b81da3d915667dc5c309c87ec32a1cb5a5'

Modified: initcpio-install-systemd
===
--- initcpio-install-systemd2018-05-07 21:14:04 UTC (rev 323461)
+++ initcpio-install-systemd2018-05-07 22:02:20 UTC (rev 323462)
@@ -112,6 +112,7 @@
 map add_binary \
 /usr/bin/systemd-tmpfiles \
 /usr/lib/systemd/systemd-hibernate-resume \
+/usr/lib/systemd/systemd-shutdown \
 /usr/lib/systemd/systemd-sulogin-shell \
 /usr/lib/systemd/system-generators/systemd-fstab-generator \
 /usr/lib/systemd/system-generators/systemd-gpt-auto-generator \


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:58:23
  Author: felixonmars
Revision: 319479

archrelease: copy trunk to community-staging-x86_64

Added:
  cblrepo/repos/community-staging-x86_64/
  cblrepo/repos/community-staging-x86_64/PKGBUILD
(from rev 319478, cblrepo/trunk/PKGBUILD)

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

Copied: cblrepo/repos/community-staging-x86_64/PKGBUILD (from rev 319478, 
cblrepo/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:58:23 UTC (rev 319479)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=cblrepo
+pkgver=0.24.0
+pkgrel=78
+pkgdesc="Tool to maintain a database of CABAL packages and their dependencies"
+url="https://github.com/magthe/cblrepo;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-ansi-wl-pprint" "haskell-mtl" 
"haskell-optparse-applicative"
+ "haskell-safe" "haskell-stringsearch" "haskell-tar" "haskell-text" 
"haskell-unixutils"
+ "haskell-utf8-string" "haskell-vector" "haskell-zlib")
+makedepends=('ghc')
+source=("https://github.com/MaskRay/cblrepo/archive/771cb062435b7ef5511f77187f051b1a0e908f69.tar.gz;)
+sha256sums=('cc671f14ddb9cf1eea5f04be0d97fb8600da8551b56440375838079aa8bccb71')
+
+prepare() {
+mv cblrepo-771cb062435b7ef5511f77187f051b1a0e908f69 cblrepo-$pkgver
+sed -i 's/optparse-applicative ==0.13.*,/optparse-applicative >=0.13,/' 
cblrepo-$pkgver/cblrepo.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:58:02
  Author: felixonmars
Revision: 319478

upgpkg: cblrepo 0.24.0-78

rebuild with scientific,0.3.6.1

Modified:
  cblrepo/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:57:07 UTC (rev 319477)
+++ PKGBUILD2018-05-07 21:58:02 UTC (rev 319478)
@@ -3,7 +3,7 @@
 
 pkgname=cblrepo
 pkgver=0.24.0
-pkgrel=77
+pkgrel=78
 pkgdesc="Tool to maintain a database of CABAL packages and their dependencies"
 url="https://github.com/magthe/cblrepo;
 license=("Apache")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:57:07
  Author: felixonmars
Revision: 319477

archrelease: copy trunk to community-staging-x86_64

Added:
  cgrep/repos/community-staging-x86_64/
  cgrep/repos/community-staging-x86_64/PKGBUILD
(from rev 319476, cgrep/trunk/PKGBUILD)

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

Copied: cgrep/repos/community-staging-x86_64/PKGBUILD (from rev 319476, 
cgrep/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:57:07 UTC (rev 319477)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=cgrep
+pkgver=6.6.25
+pkgrel=2
+pkgdesc="A context-aware grep for source codes"
+url="http://awgn.github.io/cgrep/;
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-async' 
'haskell-cmdargs'
+ 'haskell-dlist' 'haskell-either' 'haskell-exceptions' 'haskell-mtl' 
'haskell-regex-base'
+ 'haskell-regex-pcre' 'haskell-regex-posix' 'haskell-safe' 
'haskell-split' 'haskell-stm'
+ 'haskell-stringsearch' 'haskell-unix-compat' 'haskell-unicode-show'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-yaml')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('d3b5a9c249034de37645cfcd6711d701dc5e51fd35f1d5a2c77e9a0c470965f9d268ea3ee523fdc92029e5161688122ed8e04590ca81c7b7b601abec5b2e5e42')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build
+}
+
+package() {
+cd $pkgname-$pkgver
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:56:46
  Author: felixonmars
Revision: 319476

upgpkg: cgrep 6.6.25-2

rebuild with scientific,0.3.6.1

Modified:
  cgrep/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:55:36 UTC (rev 319475)
+++ PKGBUILD2018-05-07 21:56:46 UTC (rev 319476)
@@ -4,7 +4,7 @@
 
 pkgname=cgrep
 pkgver=6.6.25
-pkgrel=1
+pkgrel=2
 pkgdesc="A context-aware grep for source codes"
 url="http://awgn.github.io/cgrep/;
 license=("GPL2")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:55:36
  Author: felixonmars
Revision: 319475

archrelease: copy trunk to community-staging-x86_64

Added:
  cryptol/repos/community-staging-x86_64/
  cryptol/repos/community-staging-x86_64/PKGBUILD
(from rev 319474, cryptol/trunk/PKGBUILD)

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

Copied: cryptol/repos/community-staging-x86_64/PKGBUILD (from rev 319474, 
cryptol/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:55:36 UTC (rev 319475)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=cryptol
+pkgver=2.5.0
+pkgrel=49
+pkgdesc="The Language of Cryptography"
+url="http://www.cryptol.net;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'z3' 'haskell-base-compat' 'haskell-async' 
'haskell-gitrev' 'haskell-graphscc'
+ 'haskell-heredoc' 'haskell-monad-control' 'haskell-monadlib' 
'haskell-old-time'
+ 'haskell-presburger' 'haskell-quickcheck' 'haskell-random' 
'haskell-sbv' 'haskell-smtlib'
+ 'haskell-simple-smt' 'haskell-syb' 'haskell-text' 'haskell-tf-random'
+ 'haskell-transformers-base' 'haskell-utf8-string' 'haskell-mtl' 
'haskell-ansi-terminal')
+makedepends=('ghc' 'alex' 'happy')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('e528c2b75853f559a0e122286734fce373150a458a5af2a74020240629f9f550747f30f50c16d261326e94f4060497af43951f0253dc6885043cf21aab849265')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-static -f-relocatable
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:55:16
  Author: felixonmars
Revision: 319474

upgpkg: cryptol 2.5.0-49

rebuild with scientific,0.3.6.1

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:52:44 UTC (rev 319473)
+++ PKGBUILD2018-05-07 21:55:16 UTC (rev 319474)
@@ -3,7 +3,7 @@
 
 pkgname=cryptol
 pkgver=2.5.0
-pkgrel=48
+pkgrel=49
 pkgdesc="The Language of Cryptography"
 url="http://www.cryptol.net;
 license=("custom:BSD3")


[arch-commits] Commit in mupdf/repos/community-x86_64 (9 files)

2018-05-07 Thread Christian Hesse via arch-commits
Date: Monday, May 7, 2018 @ 21:52:44
  Author: eworm
Revision: 319473

archrelease: copy trunk to community-x86_64

Added:
  mupdf/repos/community-x86_64/PKGBUILD
(from rev 319472, mupdf/trunk/PKGBUILD)
  mupdf/repos/community-x86_64/mupdf.desktop
(from rev 319472, mupdf/trunk/mupdf.desktop)
  mupdf/repos/community-x86_64/mupdf.xpm
(from rev 319472, mupdf/trunk/mupdf.xpm)
Deleted:
  mupdf/repos/community-x86_64/0001-mupdf-openjpeg.patch
  mupdf/repos/community-x86_64/PKGBUILD
  mupdf/repos/community-x86_64/mupdf-1.12.0-security-roundup.patch
  mupdf/repos/community-x86_64/mupdf-CVE-2017-17858.patch
  mupdf/repos/community-x86_64/mupdf.desktop
  mupdf/repos/community-x86_64/mupdf.xpm

-+
 0001-mupdf-openjpeg.patch   |   35 
 PKGBUILD|  253 --
 mupdf-1.12.0-security-roundup.patch |  131 -
 mupdf-CVE-2017-17858.patch  |  101 -
 mupdf.desktop   |   30 ++--
 5 files changed, 135 insertions(+), 415 deletions(-)

Deleted: 0001-mupdf-openjpeg.patch
===
--- 0001-mupdf-openjpeg.patch   2018-05-07 21:52:32 UTC (rev 319472)
+++ 0001-mupdf-openjpeg.patch   2018-05-07 21:52:44 UTC (rev 319473)
@@ -1,35 +0,0 @@
-diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c
-index 65699ba..5f36221 100644
 a/source/fitz/load-jpx.c
-+++ b/source/fitz/load-jpx.c
-@@ -445,14 +445,18 @@ fz_load_jpx_info(fz_context *ctx, const unsigned char 
*data, size_t size, int *w
- 
- #else /* HAVE_LURATECH */
- 
-+#ifdef __cplusplus
-+extern "C"
-+{
- #define OPJ_STATIC
- #define OPJ_HAVE_INTTYPES_H
- #if !defined(_MSC_VER) || _MSC_VER >= 1600
- #define OPJ_HAVE_STDINT_H
- #endif
-+#endif
- #define USE_JPIP
- 
--#include 
-+#include 
- 
- struct fz_jpxd_s
- {
-@@ -930,6 +934,10 @@ fz_load_jpx_info(fz_context *ctx, const unsigned char 
*data, size_t size, int *w
-   *yresp = state.yres;
- }
- 
-+#ifdef __cplusplus
-+}
-+#endif
-+
- #endif /* HAVE_LURATECH */
- 
- #else /* FZ_ENABLE_JPX */

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-07 21:52:32 UTC (rev 319472)
+++ PKGBUILD2018-05-07 21:52:44 UTC (rev 319473)
@@ -1,133 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse 
-# Contributor: Bartłomiej Piotrowski 
-# Contributor: Brad Fanella 
-# Contributor: Stefan Husmann 
-# Contributor: Pierre-Paul Paquin 
-# Contributor: xduugu
-
-pkgbase=mupdf
-pkgname=(libmupdf mupdf mupdf-gl mupdf-tools)
-pkgver=1.12.0
-pkgrel=2
-_openjpeg_version=2.3
-pkgdesc='Lightweight PDF and XPS viewer'
-arch=('x86_64')
-url='http://mupdf.com'
-license=('AGPL3')
-makedepends=('curl' 'desktop-file-utils' 'freetype2' 'freeglut' 'glu' 
'harfbuzz'
- 'jbig2dec' 'libjpeg' 'mesa-libgl' 'openjpeg2' 'libxext')
-# we need static libs for zathura-pdf-mupdf
-options=('staticlibs')
-source=("https://mupdf.com/downloads/mupdf-${pkgver/_/}-source.tar.xz;
-'0001-mupdf-openjpeg.patch'
-"mupdf-1.12.0-security-roundup.patch"
-"mupdf-CVE-2017-17858.patch"
-'mupdf.desktop'
-'mupdf.xpm')
-sha256sums=('577b3820c6b23d319be91e0e06080263598aa0662d9a7c50af500eb6f003322d'
-'e4be458dabc577e687c3abfa1ae03bd62e8727cfa24f25b8eb23384263486605'
-'04d0b69d2af9839e3bbaf89af05fadc635312dd4a7f536e087450dc13d3aa180'
-'61e5528761a1be9361ccbda07faa669070cca8e8ad7320fa82eaa9fd72eb4b01'
-'ccff66979249bd4ab4ba8918660f194eb90eb0ae231b16e36a6cecdcf471883f'
-'a435f44425f5432c074dee745d8fbaeb879038ec1f1ec64f037c74662f09aca8')
-
-prepare() {
-  cd $pkgbase-${pkgver/_/}-source
-
-  # security fixes
-  patch -Np1 < ../mupdf-1.12.0-security-roundup.patch
-  patch -Np1 < ../mupdf-CVE-2017-17858.patch
-
-  # remove bundled packages, we want our system libraries
-  rm -rf 
thirdparty/{curl,freeglut,freetype,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib}
-
-  # fix function for openjpeg
-  patch -Np1 < "${srcdir}/0001-mupdf-openjpeg.patch"
-  sed -i "s/__OPENJPEG__VERSION__/${_openjpeg_version}/" source/fitz/load-jpx.c
-
-  # fix includes for jbig2dec
-  sed '/^JBIG2DEC_CFLAGS :=/s|$| -I./include/mupdf|' -i Makethird
-
-  # this does not build with openssl 1.1.0, so disable checks
-  sed -i 's/pkg-config --exists \(libcrypto\|openssl\)/false/' Makerules
-}
-
-build() {
-  CFLAGS+=' -fPIC'
-  CXXFLAGS+=' -fPIC'
-  export CFLAGS CXXFLAGS
-
-  cd $pkgbase-${pkgver/_/}-source
-  make build=release
-}
-
-package_libmupdf() {
-  pkgdesc='Library for Lightweight PDF and XPS viewer'
-
-  cd $pkgbase-${pkgver/_/}-source
-
-  make build=release prefix="$pkgdir"/usr install
-
-  rm -rf "$pkgdir"/usr/{bin,share/man}
-  mv "$pkgdir"/usr/share/doc/mupdf "$pkgdir"/usr/share/doc/libmupdf
-
-  find 

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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:52:09
  Author: felixonmars
Revision: 319471

archrelease: copy trunk to community-staging-x86_64

Added:
  darcs/repos/community-staging-x86_64/
  darcs/repos/community-staging-x86_64/PKGBUILD
(from rev 319470, darcs/trunk/PKGBUILD)

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

Copied: darcs/repos/community-staging-x86_64/PKGBUILD (from rev 319470, 
darcs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:52:09 UTC (rev 319471)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=darcs
+pkgver=2.14.0
+pkgrel=7
+pkgdesc="A distributed, interactive, smart revision control system"
+url="http://darcs.net;
+license=("GPL2")
+arch=('x86_64')
+depends=('curl' 'ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-cryptohash' 'haskell-data-ordlist' 'haskell-fgl' 
'haskell-graphviz'
+ 'haskell-hashable' 'haskell-html' 'haskell-http' 'haskell-knob' 
'haskell-mmap'
+ 'haskell-mtl' 'haskell-network' 'haskell-network-uri' 
'haskell-old-time' 'haskell-parsec'
+ 'haskell-sandi' 'haskell-random' 'haskell-regex-applicative' 
'haskell-regex-compat-tdfa'
+ 'haskell-stm' 'haskell-tar' 'haskell-text' 'haskell-unix-compat' 
'haskell-utf8-string'
+ 'haskell-vector' 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'haskell-cmdargs' 'haskell-findbin' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-shelly' 'haskell-split' 'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('a9c90b4d1a5caa395682405123702452a45382771795a5bd5c8d1a6816ca4411ca0bebc9188e9b396774e7db75289c73de9630dac388070d140ce20e7537fd46')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/shelly   >= 1.6.8 && < 1.7,/shelly   >= 1.6.8,/' 
$pkgname.cabal
+
+sed -e 's/^ghc /ghc -dynamic /' \
+-e 's/ ghc / ghc -dynamic /' \
+-i tests/*.sh tests/lib
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcurl -fpkgconfig -f-static -fterminfo -fthreaded -fexecutable \
+-f-rts -foptimize -f-warn-as-error -f-libiconv
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+chmod 644 "${pkgdir}/usr/share/man/man1/darcs.1"
+
+install -Dm644 contrib/darcs_completion 
"${pkgdir}/usr/share/bash-completion/completions/darcs"
+install -Dm644 contrib/_darcs.zsh 
"${pkgdir}/usr/share/zsh/site-functions/_darcs"
+}


[arch-commits] Commit in mupdf/trunk (4 files)

2018-05-07 Thread Christian Hesse via arch-commits
Date: Monday, May 7, 2018 @ 21:52:32
  Author: eworm
Revision: 319472

upgpkg: mupdf 1.13.0-1

new upstream release

Modified:
  mupdf/trunk/PKGBUILD
Deleted:
  mupdf/trunk/0001-mupdf-openjpeg.patch
  mupdf/trunk/mupdf-1.12.0-security-roundup.patch
  mupdf/trunk/mupdf-CVE-2017-17858.patch

-+
 0001-mupdf-openjpeg.patch   |   35 -
 PKGBUILD|   29 ++-
 mupdf-1.12.0-security-roundup.patch |  131 --
 mupdf-CVE-2017-17858.patch  |  101 --
 4 files changed, 8 insertions(+), 288 deletions(-)

Deleted: 0001-mupdf-openjpeg.patch
===
--- 0001-mupdf-openjpeg.patch   2018-05-07 21:52:09 UTC (rev 319471)
+++ 0001-mupdf-openjpeg.patch   2018-05-07 21:52:32 UTC (rev 319472)
@@ -1,35 +0,0 @@
-diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c
-index 65699ba..5f36221 100644
 a/source/fitz/load-jpx.c
-+++ b/source/fitz/load-jpx.c
-@@ -445,14 +445,18 @@ fz_load_jpx_info(fz_context *ctx, const unsigned char 
*data, size_t size, int *w
- 
- #else /* HAVE_LURATECH */
- 
-+#ifdef __cplusplus
-+extern "C"
-+{
- #define OPJ_STATIC
- #define OPJ_HAVE_INTTYPES_H
- #if !defined(_MSC_VER) || _MSC_VER >= 1600
- #define OPJ_HAVE_STDINT_H
- #endif
-+#endif
- #define USE_JPIP
- 
--#include 
-+#include 
- 
- struct fz_jpxd_s
- {
-@@ -930,6 +934,10 @@ fz_load_jpx_info(fz_context *ctx, const unsigned char 
*data, size_t size, int *w
-   *yresp = state.yres;
- }
- 
-+#ifdef __cplusplus
-+}
-+#endif
-+
- #endif /* HAVE_LURATECH */
- 
- #else /* FZ_ENABLE_JPX */

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:52:09 UTC (rev 319471)
+++ PKGBUILD2018-05-07 21:52:32 UTC (rev 319472)
@@ -8,9 +8,8 @@
 
 pkgbase=mupdf
 pkgname=(libmupdf mupdf mupdf-gl mupdf-tools)
-pkgver=1.12.0
-pkgrel=2
-_openjpeg_version=2.3
+pkgver=1.13.0
+pkgrel=1
 pkgdesc='Lightweight PDF and XPS viewer'
 arch=('x86_64')
 url='http://mupdf.com'
@@ -20,15 +19,9 @@
 # we need static libs for zathura-pdf-mupdf
 options=('staticlibs')
 source=("https://mupdf.com/downloads/mupdf-${pkgver/_/}-source.tar.xz;
-'0001-mupdf-openjpeg.patch'
-"mupdf-1.12.0-security-roundup.patch"
-"mupdf-CVE-2017-17858.patch"
 'mupdf.desktop'
 'mupdf.xpm')
-sha256sums=('577b3820c6b23d319be91e0e06080263598aa0662d9a7c50af500eb6f003322d'
-'e4be458dabc577e687c3abfa1ae03bd62e8727cfa24f25b8eb23384263486605'
-'04d0b69d2af9839e3bbaf89af05fadc635312dd4a7f536e087450dc13d3aa180'
-'61e5528761a1be9361ccbda07faa669070cca8e8ad7320fa82eaa9fd72eb4b01'
+sha256sums=('746698e0d5cd113bdcb8f65d096772029edea8cf20704f0d15c96cb5449a4904'
 'ccff66979249bd4ab4ba8918660f194eb90eb0ae231b16e36a6cecdcf471883f'
 'a435f44425f5432c074dee745d8fbaeb879038ec1f1ec64f037c74662f09aca8')
 
@@ -35,17 +28,9 @@
 prepare() {
   cd $pkgbase-${pkgver/_/}-source
 
-  # security fixes
-  patch -Np1 < ../mupdf-1.12.0-security-roundup.patch
-  patch -Np1 < ../mupdf-CVE-2017-17858.patch
-
   # remove bundled packages, we want our system libraries
-  rm -rf 
thirdparty/{curl,freeglut,freetype,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib}
+  rm -rf 
thirdparty/{curl,freeglut,freetype,harfbuzz,jbig2dec,lcms2,libjpeg,openjpeg,zlib}
 
-  # fix function for openjpeg
-  patch -Np1 < "${srcdir}/0001-mupdf-openjpeg.patch"
-  sed -i "s/__OPENJPEG__VERSION__/${_openjpeg_version}/" source/fitz/load-jpx.c
-
   # fix includes for jbig2dec
   sed '/^JBIG2DEC_CFLAGS :=/s|$| -I./include/mupdf|' -i Makethird
 
@@ -59,7 +44,7 @@
   export CFLAGS CXXFLAGS
 
   cd $pkgbase-${pkgver/_/}-source
-  make build=release
+  make build=release libs apps extra
 }
 
 package_libmupdf() {
@@ -97,7 +82,7 @@
 package_mupdf-gl() {
   pkgdesc='Lightweight PDF and XPS viewer with OpenGL backend'
   conflicts=('mupdf')
-  provides=('mupdf')
+  provides=("mupdf=${pkgver}")
   depends=('desktop-file-utils' 'freetype2' 'freeglut' 'glu' 'harfbuzz' 
'jbig2dec'
'libjpeg' 'openjpeg2')
 
@@ -124,6 +109,8 @@
 
   install -D -m0755 build/release/mutool "$pkgdir"/usr/bin/mutool
   install -D -m0755 build/release/mujstest "$pkgdir"/usr/bin/mujstest
+  install -D -m0755 build/release/muraster "$pkgdir"/usr/bin/muraster
+  install -D -m0755 build/release/mjsgen "$pkgdir"/usr/bin/mjsgen
 
   install -D -m0644 docs/man/mutool.1 "$pkgdir"/usr/share/man/man1/mutool.1
 

Deleted: mupdf-1.12.0-security-roundup.patch
===
--- mupdf-1.12.0-security-roundup.patch 2018-05-07 21:52:09 UTC (rev 319471)
+++ mupdf-1.12.0-security-roundup.patch 2018-05-07 21:52:32 UTC (rev 319472)
@@ -1,131 +0,0 @@
-From 22339500c243e564eadf564b5ae2925e1caf44a9 Mon Sep 17 00:00:00 2001
-From: Sebastian Rasmussen 
-Date: Sun, 21 Jan 2018 21:08:07 +0100

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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:51:48
  Author: felixonmars
Revision: 319470

upgpkg: darcs 2.14.0-7

rebuild with scientific,0.3.6.1

Modified:
  darcs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:41:59 UTC (rev 319469)
+++ PKGBUILD2018-05-07 21:51:48 UTC (rev 319470)
@@ -4,7 +4,7 @@
 
 pkgname=darcs
 pkgver=2.14.0
-pkgrel=6
+pkgrel=7
 pkgdesc="A distributed, interactive, smart revision control system"
 url="http://darcs.net;
 license=("GPL2")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:41:59
  Author: felixonmars
Revision: 319469

archrelease: copy trunk to community-staging-x86_64

Added:
  git-annex/repos/community-staging-x86_64/
  git-annex/repos/community-staging-x86_64/PKGBUILD
(from rev 319468, git-annex/trunk/PKGBUILD)

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 319468, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:41:59 UTC (rev 319469)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=6.20180427
+pkgrel=2
+pkgdesc="Manage files with git, without checking their contents into git"
+url="http://git-annex.branchable.com/;
+license=("AGPL3")
+arch=('x86_64')
+depends=('git' 'rsync' 'ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-aws'
+ 'haskell-blaze-builder' 'haskell-bloomfilter' 'haskell-byteable' 
'haskell-case-insensitive'
+ 'haskell-clientsession' 'haskell-concurrent-output' 'haskell-conduit' 
'haskell-crypto-api'
+ 'haskell-cryptonite' 'haskell-data-default' 'haskell-dav' 
'haskell-dbus'
+ 'haskell-disk-free-space' 'haskell-dlist' 'haskell-dns' 
'haskell-edit-distance'
+ 'haskell-esqueleto' 'haskell-exceptions' 'haskell-fdo-notify' 
'haskell-feed'
+ 'haskell-hinotify' 'haskell-hslogger' 'haskell-http-client' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-ifelse' 'haskell-magic' 'haskell-memory'
+ 'haskell-monad-control' 'haskell-monad-logger' 'haskell-mountpoints' 
'haskell-mtl'
+ 'haskell-network' 'haskell-network-info' 'haskell-network-multicast' 
'haskell-network-uri'
+ 'haskell-old-locale' 'haskell-optparse-applicative' 
'haskell-path-pieces'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-quickcheck' 'haskell-random' 'haskell-regex-tdfa' 
'haskell-resourcet'
+ 'haskell-safesemaphore' 'haskell-sandi' 'haskell-securemem' 
'haskell-shakespeare'
+ 'haskell-socks' 'haskell-split' 'haskell-stm' 'haskell-stm-chans' 
'haskell-tagsoup'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun'
+ 'haskell-text' 'haskell-torrent' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-uuid' 'haskell-vector' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp' 'haskell-warp-tls' 'haskell-yesod' 
'haskell-yesod-core' 'haskell-yesod-form'
+ 'haskell-yesod-static')
+makedepends=('chrpath' 'ghc')
+source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver;)
+sha512sums=('SKIP')
+
+build() {
+  cd git-annex
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla \
+--docdir="/usr/share/doc/$pkgname" \
+-fnetwork-uri -fconcurrentoutput -ftorrentparser \
+-f-androidsplice -f-android -fproduction -fpairing -fwebapp \
+-fassistant -fwebdav -fs3 -f-benchmark -fdbus -fmagicmime
+  runhaskell Setup build
+}
+
+package() {
+  cd git-annex
+  runhaskell Setup copy --destdir="$pkgdir"
+  make GHC="ghc -dynamic" BUILDER=true DESTDIR="$pkgdir" -j1 install-misc
+
+  rm "$pkgdir"/usr/share/doc/git-annex/COPYRIGHT
+  rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:41:38
  Author: felixonmars
Revision: 319468

upgpkg: git-annex 6.20180427-2

rebuild with scientific,0.3.6.1

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:35:29 UTC (rev 319467)
+++ PKGBUILD2018-05-07 21:41:38 UTC (rev 319468)
@@ -4,7 +4,7 @@
 
 pkgname=git-annex
 pkgver=6.20180427
-pkgrel=1
+pkgrel=2
 pkgdesc="Manage files with git, without checking their contents into git"
 url="http://git-annex.branchable.com/;
 license=("AGPL3")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:35:29
  Author: felixonmars
Revision: 319467

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-binary-tagged/repos/community-staging-x86_64/
  haskell-binary-tagged/repos/community-staging-x86_64/PKGBUILD
(from rev 319466, haskell-binary-tagged/trunk/PKGBUILD)

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

Copied: haskell-binary-tagged/repos/community-staging-x86_64/PKGBUILD (from rev 
319466, haskell-binary-tagged/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:35:29 UTC (rev 319467)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=binary-tagged
+pkgname=haskell-binary-tagged
+pkgver=0.1.4.2
+pkgrel=56
+pkgdesc="Tagged binary serialisation."
+url="https://github.com/phadej/binary-tagged#readme;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-base16-bytestring" 
"haskell-generics-sop"
+ "haskell-hashable" "haskell-scientific" "haskell-semigroups" 
"haskell-sha" "haskell-tagged"
+ "haskell-text" "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('311fab8c2bac00cb6785cb144e25ed58b2efce85e5dc64e30e2b5a2a16cdc784')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-e 's/, vector   >=0.10 && <0.12/, vector  
 >=0.10/' \
+-e 's/, aeson>=0.8  && <1.1/, aeson
>=0.8/' \
+-e 's/, generics-sop >=0.1  && <0.3/, generics-sop 
>=0.1/' \
+-e 's/, time >=1.4  && <1.7/, time 
>=1.4/' \
+-e 's/base >=4.7  && <4.10/base
 >=4.7/' \
+-i ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:35:08
  Author: felixonmars
Revision: 319466

upgpkg: haskell-binary-tagged 0.1.4.2-56

rebuild with scientific,0.3.6.1

Modified:
  haskell-binary-tagged/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:34:25 UTC (rev 319465)
+++ PKGBUILD2018-05-07 21:35:08 UTC (rev 319466)
@@ -5,7 +5,7 @@
 _hkgname=binary-tagged
 pkgname=haskell-binary-tagged
 pkgver=0.1.4.2
-pkgrel=55
+pkgrel=56
 pkgdesc="Tagged binary serialisation."
 url="https://github.com/phadej/binary-tagged#readme;
 license=("custom:BSD3")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:34:25
  Author: felixonmars
Revision: 319465

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-bower-json/repos/community-staging-x86_64/
  haskell-bower-json/repos/community-staging-x86_64/PKGBUILD
(from rev 319464, haskell-bower-json/trunk/PKGBUILD)

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

Copied: haskell-bower-json/repos/community-staging-x86_64/PKGBUILD (from rev 
319464, haskell-bower-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:34:25 UTC (rev 319465)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=bower-json
+pkgname=haskell-bower-json
+pkgver=1.0.0.1
+pkgrel=48
+pkgdesc="Read bower.json from Haskell"
+url="https://github.com/hdgarrood/bower-json;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-aeson-better-errors" 
"haskell-mtl" "haskell-scientific"
+ "haskell-text" "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('7aa954e2b1bf79307db710c158108bd9ddb45b333ca96072cdbfaf96c77b7e73')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:34:05
  Author: felixonmars
Revision: 319464

upgpkg: haskell-bower-json 1.0.0.1-48

rebuild with scientific,0.3.6.1

Modified:
  haskell-bower-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:33:20 UTC (rev 319463)
+++ PKGBUILD2018-05-07 21:34:05 UTC (rev 319464)
@@ -5,7 +5,7 @@
 _hkgname=bower-json
 pkgname=haskell-bower-json
 pkgver=1.0.0.1
-pkgrel=47
+pkgrel=48
 pkgdesc="Read bower.json from Haskell"
 url="https://github.com/hdgarrood/bower-json;
 license=("MIT")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:33:20
  Author: felixonmars
Revision: 319463

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-configurator/repos/community-staging-x86_64/PKGBUILD (from rev 
319462, haskell-configurator/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:33:20 UTC (rev 319463)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=configurator
+pkgname=haskell-configurator
+pkgver=0.3.0.0
+pkgrel=36
+pkgdesc="Configuration management"
+url="https://github.com/bos/configurator;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-hashable' 'haskell-text' 
'haskell-unix-compat'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c4c95b3182874c87c4b6b8e74bf8e39ec7528b49f06e9a02baed5fa4aa90a22a9504f59e881c17616ef95a1aa5450b431df8cc9317ef837d8e821f330e303c9')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-developer
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:33:00
  Author: felixonmars
Revision: 319462

upgpkg: haskell-configurator 0.3.0.0-36

rebuild with scientific,0.3.6.1

Modified:
  haskell-configurator/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:32:15 UTC (rev 319461)
+++ PKGBUILD2018-05-07 21:33:00 UTC (rev 319462)
@@ -4,7 +4,7 @@
 _hkgname=configurator
 pkgname=haskell-configurator
 pkgver=0.3.0.0
-pkgrel=35
+pkgrel=36
 pkgdesc="Configuration management"
 url="https://github.com/bos/configurator;
 license=('custom:BSD3')


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:32:15
  Author: felixonmars
Revision: 319461

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-criterion/repos/community-staging-x86_64/PKGBUILD (from rev 
319460, haskell-criterion/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:32:15 UTC (rev 319461)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=criterion
+pkgname=haskell-criterion
+pkgver=1.4.0.0
+pkgrel=22
+pkgdesc="Robust, reliable performance measurement and analysis"
+url="http://www.serpentine.com/criterion;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-wl-pprint' 'haskell-cassava' 
'haskell-code-page'
+ 'haskell-exceptions' 'haskell-glob' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-microstache' 'haskell-mtl' 'haskell-mwc-random' 
'haskell-optparse-applicative'
+ 'haskell-parsec' 'haskell-semigroups' 'haskell-statistics' 
'haskell-text'
+ 'haskell-transformers-compat' 'haskell-vector' 
'haskell-vector-algorithms')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5be073a1137dfd403a082760c9e956fcc434403b4dd1e7f04753c9d2a5061c91561d5f4e57e856953d10166f5c1f0cd210162733604706026c2e0981bce0')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-fast -f-embed-data-files
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:31:53
  Author: felixonmars
Revision: 319460

upgpkg: haskell-criterion 1.4.0.0-22

rebuild with scientific,0.3.6.1

Modified:
  haskell-criterion/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:29:57 UTC (rev 319459)
+++ PKGBUILD2018-05-07 21:31:53 UTC (rev 319460)
@@ -5,7 +5,7 @@
 _hkgname=criterion
 pkgname=haskell-criterion
 pkgver=1.4.0.0
-pkgrel=21
+pkgrel=22
 pkgdesc="Robust, reliable performance measurement and analysis"
 url="http://www.serpentine.com/criterion;
 license=("custom:BSD3")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:29:57
  Author: felixonmars
Revision: 319459

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cryptohash-conduit/repos/community-staging-x86_64/
  haskell-cryptohash-conduit/repos/community-staging-x86_64/PKGBUILD
(from rev 319458, haskell-cryptohash-conduit/trunk/PKGBUILD)

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

Copied: haskell-cryptohash-conduit/repos/community-staging-x86_64/PKGBUILD 
(from rev 319458, haskell-cryptohash-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:29:57 UTC (rev 319459)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cryptohash-conduit
+pkgname=haskell-cryptohash-conduit
+pkgver=0.1.1
+pkgrel=157
+pkgdesc="cryptohash conduit"
+url="https://github.com/vincenthz/hs-cryptohash-conduit;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-conduit" "haskell-conduit-extra" 
"haskell-cryptohash"
+ "haskell-resourcet")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6382a05b35bae34b53fd1ad6d897c25ca149ed852360c8f775587efcd3c29e45ff854f96ddbc9b446e04a4dd5698b1f5e2af754345f7d5af8f587b73b57fdec0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:29:36
  Author: felixonmars
Revision: 319458

upgpkg: haskell-cryptohash-conduit 0.1.1-157

rebuild with scientific,0.3.6.1

Modified:
  haskell-cryptohash-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:28:57 UTC (rev 319457)
+++ PKGBUILD2018-05-07 21:29:36 UTC (rev 319458)
@@ -5,7 +5,7 @@
 _hkgname=cryptohash-conduit
 pkgname=haskell-cryptohash-conduit
 pkgver=0.1.1
-pkgrel=156
+pkgrel=157
 pkgdesc="cryptohash conduit"
 url="https://github.com/vincenthz/hs-cryptohash-conduit;
 license=("custom:BSD3")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:28:57
  Author: felixonmars
Revision: 319457

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
319456, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:28:57 UTC (rev 319457)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.11.0.0
+pkgrel=73
+pkgdesc="A static website compiler library"
+url="http://jaspervdj.be/hakyll;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptohash'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-mtl' 
'haskell-network'
+ 'haskell-network-uri' 'haskell-optparse-applicative' 'pandoc' 
'pandoc-citeproc'
+ 'haskell-parsec' 'haskell-random' 'haskell-regex-base' 
'haskell-regex-tdfa'
+ 'haskell-resourcet' 'haskell-scientific' 'haskell-tagsoup' 
'haskell-text'
+ 'haskell-time-locale-compat' 'haskell-unordered-containers' 
'haskell-vector' 'haskell-wai'
+ 'haskell-wai-app-static' 'haskell-warp' 'haskell-yaml')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('49870a0bc3de15f5842306a93f7c909703860701a7a59c73415b7580084e2b8413084d12f3baa3aff834e3245a8693e6386dc89989c74c2d7e5828fe7baaa4ee')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/tasty-quickcheck   >= 0.8  && < 0.10,/tasty-quickcheck   
>= 0.8,/' $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcheckexternal -fwatchserver -fpreviewserver
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:28:36
  Author: felixonmars
Revision: 319456

upgpkg: haskell-hakyll 4.11.0.0-73

rebuild with scientific,0.3.6.1

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:26:31 UTC (rev 319455)
+++ PKGBUILD2018-05-07 21:28:36 UTC (rev 319456)
@@ -5,7 +5,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.11.0.0
-pkgrel=72
+pkgrel=73
 pkgdesc="A static website compiler library"
 url="http://jaspervdj.be/hakyll;
 license=("custom:BSD3")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:26:31
  Author: felixonmars
Revision: 319455

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hit/repos/community-staging-x86_64/PKGBUILD (from rev 319454, 
haskell-hit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:26:31 UTC (rev 319455)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hit
+pkgname=haskell-hit
+pkgver=0.6.3
+pkgrel=84
+pkgdesc="Git operations in haskell"
+url="https://github.com/vincenthz/hit;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-attoparsec" "haskell-byteable" 
"haskell-cryptohash" "haskell-hashable"
+ "haskell-hashtables" "haskell-hourglass" "haskell-mtl" 
"haskell-parsec" "haskell-patience"
+ "haskell-random" "haskell-system-fileio" "haskell-system-filepath" 
"haskell-unix-compat"
+ "haskell-utf8-string" "haskell-vector" "haskell-zlib" 
"haskell-zlib-bindings")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('82ccfeb77a439caa1792f1ae29535636764be9e6e94f75973f37a86db6627a492e57da835954384ef8468799de9f0897e20905f65dad256fe3547a4248d5fffc')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fexecutable -f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:26:02
  Author: felixonmars
Revision: 319454

upgpkg: haskell-hit 0.6.3-84

rebuild with scientific,0.3.6.1

Modified:
  haskell-hit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:24:57 UTC (rev 319453)
+++ PKGBUILD2018-05-07 21:26:02 UTC (rev 319454)
@@ -5,7 +5,7 @@
 _hkgname=hit
 pkgname=haskell-hit
 pkgver=0.6.3
-pkgrel=83
+pkgrel=84
 pkgdesc="Git operations in haskell"
 url="https://github.com/vincenthz/hit;
 license=("custom:BSD3")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:24:57
  Author: felixonmars
Revision: 319453

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-jwt/repos/community-staging-x86_64/PKGBUILD (from rev 319452, 
haskell-jwt/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:24:57 UTC (rev 319453)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=jwt
+pkgname=haskell-jwt
+pkgver=0.7.2
+pkgrel=48
+pkgdesc="JSON Web Token (JWT) decoding and encoding"
+url="https://bitbucket.org/ssaasen/haskell-jwt;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-cryptonite" "haskell-memory" "haskell-text" 
"haskell-aeson"
+ "haskell-unordered-containers" "haskell-scientific" 
"haskell-data-default"
+ "haskell-http-types" "haskell-vector" "haskell-semigroups" 
"haskell-network-uri")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('17967413d21399596a236bc8169d9e030bb85e2b1c349c6e470543767cc20a31')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:24:35
  Author: felixonmars
Revision: 319452

upgpkg: haskell-jwt 0.7.2-48

rebuild with scientific,0.3.6.1

Modified:
  haskell-jwt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:23:50 UTC (rev 319451)
+++ PKGBUILD2018-05-07 21:24:35 UTC (rev 319452)
@@ -5,7 +5,7 @@
 _hkgname=jwt
 pkgname=haskell-jwt
 pkgver=0.7.2
-pkgrel=47
+pkgrel=48
 pkgdesc="JSON Web Token (JWT) decoding and encoding"
 url="https://bitbucket.org/ssaasen/haskell-jwt;
 license=("MIT")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:23:50
  Author: felixonmars
Revision: 319451

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-microlens-aeson/repos/community-staging-x86_64/
  haskell-microlens-aeson/repos/community-staging-x86_64/PKGBUILD
(from rev 319450, haskell-microlens-aeson/trunk/PKGBUILD)

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

Copied: haskell-microlens-aeson/repos/community-staging-x86_64/PKGBUILD (from 
rev 319450, haskell-microlens-aeson/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:23:50 UTC (rev 319451)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=microlens-aeson
+pkgname=haskell-microlens-aeson
+pkgver=2.3.0
+pkgrel=5
+pkgdesc="Law-abiding lenses for Aeson, using microlens"
+url="https://github.com/fosskers/microlens-aeson/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-hashable' 
'haskell-microlens'
+ 'haskell-scientific' 'haskell-text' 'haskell-unordered-containers' 
'haskell-vector')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('675c92fdb5f40a5c3c73c93555d55844a5b6b999717545682d80f5fe75b43f8b998af22164b98a034a6e8eea7590bbe1c253b69de6ed2bf411308942108ca804')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:23:27
  Author: felixonmars
Revision: 319450

upgpkg: haskell-microlens-aeson 2.3.0-5

rebuild with scientific,0.3.6.1

Modified:
  haskell-microlens-aeson/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:22:37 UTC (rev 319449)
+++ PKGBUILD2018-05-07 21:23:27 UTC (rev 319450)
@@ -4,7 +4,7 @@
 _hkgname=microlens-aeson
 pkgname=haskell-microlens-aeson
 pkgver=2.3.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Law-abiding lenses for Aeson, using microlens"
 url="https://github.com/fosskers/microlens-aeson/;
 license=('MIT')


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:22:14
  Author: felixonmars
Revision: 319448

upgpkg: haskell-shake 0.16.4-5

rebuild with scientific,0.3.6.1

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:15:19 UTC (rev 319447)
+++ PKGBUILD2018-05-07 21:22:14 UTC (rev 319448)
@@ -5,7 +5,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.16.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="http://shakebuild.com;
 license=("custom:BSD3")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:22:37
  Author: felixonmars
Revision: 319449

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 319448, 
haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:22:37 UTC (rev 319449)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.16.4
+pkgrel=5
+pkgdesc="Build system library, like Make, but more accurate dependencies."
+url="http://shakebuild.com;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-hashable' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-primitive' 'haskell-random' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4a517a3730836d5e31c700e455f738d7798460525efdb25499b52fd579dfaaad9d3758fa924b720e1a6c803419eeefdbcc52cec5d60cb5917ae6334454935246')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/ghc --make/ghc -dynamic --make/' src/Test/Command.hs
+sed -e 's/runhaskell Setup.hs configure/runhaskell Setup.hs configure 
--enable-executable-dynamic --disable-library-vanilla/' \
+-e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
+-i src/Test/Docs.hs
+sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs
+sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname"  --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-portable
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:15:19
  Author: felixonmars
Revision: 319447

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sourcemap/repos/community-staging-x86_64/PKGBUILD (from rev 
319446, haskell-sourcemap/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:15:19 UTC (rev 319447)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sourcemap
+pkgname=haskell-sourcemap
+pkgver=0.1.6
+pkgrel=58
+pkgdesc="Implementation of source maps as proposed by Google and Mozilla."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-attoparsec" "haskell-text" 
"haskell-unordered-containers"
+ "haskell-utf8-string")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('b9a04cccb4fe7eea8b37a2eaf2bc776eae5640038ab76fb948c5a3ea09a9ce7a')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:14:59
  Author: felixonmars
Revision: 319446

upgpkg: haskell-sourcemap 0.1.6-58

rebuild with scientific,0.3.6.1

Modified:
  haskell-sourcemap/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:14:25 UTC (rev 319445)
+++ PKGBUILD2018-05-07 21:14:59 UTC (rev 319446)
@@ -5,7 +5,7 @@
 _hkgname=sourcemap
 pkgname=haskell-sourcemap
 pkgver=0.1.6
-pkgrel=57
+pkgrel=58
 pkgdesc="Implementation of source maps as proposed by Google and Mozilla."
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")


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

2018-05-07 Thread Christian Hesse via arch-commits
Date: Monday, May 7, 2018 @ 21:14:04
  Author: eworm
Revision: 323461

archrelease: copy trunk to testing-any

Added:
  intel-ucode/repos/testing-any/
  intel-ucode/repos/testing-any/LICENSE
(from rev 323460, intel-ucode/trunk/LICENSE)
  intel-ucode/repos/testing-any/PKGBUILD
(from rev 323460, intel-ucode/trunk/PKGBUILD)

--+
 LICENSE  |  123 +
 PKGBUILD |   34 
 2 files changed, 157 insertions(+)

Copied: intel-ucode/repos/testing-any/LICENSE (from rev 323460, 
intel-ucode/trunk/LICENSE)
===
--- testing-any/LICENSE (rev 0)
+++ testing-any/LICENSE 2018-05-07 21:14:04 UTC (rev 323461)
@@ -0,0 +1,123 @@
+INTEL SOFTWARE LICENSE AGREEMENT
+
+IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING.
+Do not use or load this software and any associated materials (collectively,
+the "Software") until you have carefully read the following terms and
+conditions. By loading or using the Software, you agree to the terms of this
+Agreement. If you do not wish to so agree, do not install or use the Software.
+
+LICENSES: Please Note:
+- If you are a network administrator, the "Site License" below shall
+apply to you.
+- If you are an end user, the "Single User License" shall apply to you.
+- If you are an original equipment manufacturer (OEM), the "OEM License"
+shall apply to you.
+
+SITE LICENSE. You may copy the Software onto your organization's computers
+for your organization's use, and you may make a reasonable number of
+back-up copies of the Software, subject to these conditions:
+
+1. This Software is licensed for use only in conjunction with Intel
+component products. Use of the Software in conjunction with non-Intel
+component products is not licensed hereunder.
+2. You may not copy, modify, rent, sell, distribute or transfer any part
+of the Software except as provided in this Agreement, and you agree to
+prevent unauthorized copying of the Software.
+3. You may not reverse engineer, decompile, or disassemble the Software.
+4. You may not sublicense or permit simultaneous use of the Software by
+more than one user.
+5. The Software may include portions offered on terms in addition to those
+set out here, as set out in a license accompanying those portions.
+
+SINGLE USER LICENSE. You may copy the Software onto a single computer for
+your personal, noncommercial use, and you may make one back-up copy of the
+Software, subject to these conditions:
+
+1. This Software is licensed for use only in conjunction with Intel
+component products. Use of the Software in conjunction with non-Intel
+component products is not licensed hereunder.
+2. You may not copy, modify, rent, sell, distribute or transfer any part
+of the Software except as provided in this Agreement, and you agree to
+prevent unauthorized copying of the Software.
+3. You may not reverse engineer, decompile, or disassemble the Software.
+4. You may not sublicense or permit simultaneous use of the Software by
+more than one user.
+5. The Software may include portions offered on terms in addition to those
+set out here, as set out in a license accompanying those portions.
+
+OEM LICENSE: You may reproduce and distribute the Software only as an
+integral part of or incorporated in Your product or as a standalone
+Software maintenance update for existing end users of Your products,
+excluding any other standalone products, subject to these conditions:
+
+1. This Software is licensed for use only in conjunction with Intel
+component products. Use of the Software in conjunction with non-Intel
+component products is not licensed hereunder.
+2. You may not copy, modify, rent, sell, distribute or transfer any part
+of the Software except as provided in this Agreement, and you agree to
+prevent unauthorized copying of the Software.
+3. You may not reverse engineer, decompile, or disassemble the Software.
+4. You may only distribute the Software to your customers pursuant to a
+written license agreement. Such license agreement may be a "break-the-
+seal" license agreement. At a minimum such license shall safeguard
+Intel's ownership rights to the Software.
+5. The Software may include portions offered on terms in addition to those
+set out here, as set out in a license accompanying those portions.
+
+NO OTHER RIGHTS. No rights or licenses are granted by Intel to You, expressly
+or by implication, with respect to any proprietary information or patent,
+copyright, mask work, trademark, trade secret, or other intellectual property
+right owned or controlled by Intel, except as expressly provided in this
+Agreement.
+
+OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software
+remains with Intel or its suppliers. The Software is copyrighted and
+protected by the laws of the United States and other countries, and
+international treaty provisions. You may not remove any 

[arch-commits] Commit in (coxeter3)

2018-05-07 Thread Antonio Rojas via arch-commits
Date: Monday, May 7, 2018 @ 21:14:25
  Author: arojas
Revision: 319445

Replaced with coxeter fork

Deleted:
  coxeter3/


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

2018-05-07 Thread Christian Hesse via arch-commits
Date: Monday, May 7, 2018 @ 21:14:00
  Author: eworm
Revision: 323460

upgpkg: intel-ucode 20180425-1

* new upstream release
* use iucode-tool to build binary bundle
* remove ancient upgrade instructions
* general cleanups

Modified:
  intel-ucode/trunk/PKGBUILD
Deleted:
  intel-ucode/trunk/intel-microcode2ucode.c
  intel-ucode/trunk/intel-ucode.install

-+
 PKGBUILD|   34 --
 intel-microcode2ucode.c |  156 --
 intel-ucode.install |   13 ---
 3 files changed, 14 insertions(+), 189 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:10:30 UTC (rev 323459)
+++ PKGBUILD2018-05-07 21:14:00 UTC (rev 323460)
@@ -2,39 +2,33 @@
 # Maintainer: Thomas Bächler 
 
 pkgname=intel-ucode
-pkgver=20180312
+pkgver=20180425
 # Some random "download id" that intel has in their downloadcenter
-_dlid=27591
+_dlid=27776
 pkgrel=1
-pkgdesc="Microcode update files for Intel CPUs"
+pkgdesc='Microcode update files for Intel CPUs'
 arch=('any')
-install=$pkgname.install
-url="https://downloadcenter.intel.com/SearchResult.aspx?lang=eng=processor%20microcode%20data%20file;
+url='https://downloadcenter.intel.com/SearchResult.aspx?lang=eng=processor%20microcode%20data%20file'
 replaces=('microcode_ctl')
+makedepends=('iucode-tool')
 license=('custom')
 source=("https://downloadmirror.intel.com/${_dlid}/eng/microcode-${pkgver}.tgz;
-'LICENSE'
-'intel-microcode2ucode.c')
-sha256sums=('0b381face2df1b0a829dc4fa8fa93f47f39e11b1c9c22ebd44f8614657c1e779'
-'6983e83ec10c6467fb9101ea496e0443f0574c805907155118e2c9f0bbea97b6'
-'5af76d7e23768c94ab03fbf0d280b30fccd9c1ce697111cf6d51955c5a98')
+'LICENSE')
+sha256sums=('f0d2492f4561e2559f6c9471b231cb8262d45762c0e7cccf787be5c189b4e2d6'
+'6983e83ec10c6467fb9101ea496e0443f0574c805907155118e2c9f0bbea97b6')
 
 build() {
   cd "$srcdir"
 
-  gcc -Wall ${CFLAGS} -o intel-microcode2ucode intel-microcode2ucode.c
-
-  ./intel-microcode2ucode ./microcode.dat
+  rm -f intel-ucode{,-with-caveats}/list
+  mkdir -p kernel/x86/microcode
+  iucode_tool -w kernel/x86/microcode/GenuineIntel.bin 
intel-ucode{,-with-caveats}/
+  echo kernel/x86/microcode/GenuineIntel.bin | bsdcpio -o -H newc -R 0:0 > 
intel-ucode.img
 }
 
 package() {
   cd "$srcdir"
 
-  install -d -m755 "${pkgdir}"/boot
-
-  mkdir -p kernel/x86/microcode
-  mv microcode.bin kernel/x86/microcode/GenuineIntel.bin
-  echo kernel/x86/microcode/GenuineIntel.bin | bsdcpio -o -H newc -R 0:0 > 
"${pkgdir}"/boot/intel-ucode.img
-
-  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+  install -D -m0644 intel-ucode.img "${pkgdir}"/boot/intel-ucode.img
+  install -D -m0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }

Deleted: intel-microcode2ucode.c
===
--- intel-microcode2ucode.c 2018-05-07 21:10:30 UTC (rev 323459)
+++ intel-microcode2ucode.c 2018-05-07 21:14:00 UTC (rev 323460)
@@ -1,156 +0,0 @@
-/*
- * Convert Intel microcode.dat into a single binary microcode.bin file
- *
- * Based on code by Kay Sievers 
- * Changed to create a single file by Thomas Bächler 
- */
-
-
-#ifndef _GNU_SOURCE
-# define _GNU_SOURCE 1
-#endif
-
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-struct microcode_header_intel {
-   unsigned int hdrver;
-   unsigned int rev;
-   unsigned int date;
-   unsigned int sig;
-   unsigned int cksum;
-   unsigned int ldrver;
-   unsigned int pf;
-   unsigned int datasize;
-   unsigned int totalsize;
-   unsigned int reserved[3];
-};
-
-union mcbuf {
-   struct microcode_header_intel hdr;
-   unsigned int i[0];
-   char c[0];
-};
-
-int main(int argc, char *argv[])
-{
-   const char *filename = "/lib/firmware/microcode.dat";
-   FILE *f;
-   char line[LINE_MAX];
-   char buf[400];
-   union mcbuf *mc;
-   size_t bufsize, count, start;
-   int rc = EXIT_SUCCESS;
-
-   if (argv[1] != NULL)
-   filename = argv[1];
-
-   count = 0;
-   mc = (union mcbuf *) buf;
-   f = fopen(filename, "re");
-   if (f == NULL) {
-   printf("open %s: %m\n", filename);
-   rc = EXIT_FAILURE;
-   goto out;
-   }
-
-   while (fgets(line, sizeof(line), f) != NULL) {
-   if (sscanf(line, "%x, %x, %x, %x",
-   >i[count],
-   >i[count + 1],
-   >i[count + 2],
-   >i[count + 3]) != 4)
-   continue;
-   count += 4;
-   }
-   fclose(f);
-
-   bufsize = count * sizeof(int);
-   printf("%s: %lu(%luk) bytes, 

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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:14:19
  Author: felixonmars
Revision: 319444

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-trifecta/repos/community-staging-x86_64/PKGBUILD (from rev 
319443, haskell-trifecta/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:14:19 UTC (rev 319444)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=trifecta
+pkgname=haskell-trifecta
+pkgver=1.7.1.1
+pkgrel=54
+pkgdesc="A modern parser combinator library with convenient diagnostics"
+url="https://github.com/ekmett/trifecta/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-ansi-terminal" "haskell-ansi-wl-pprint" 
"haskell-blaze-builder"
+ "haskell-blaze-html" "haskell-blaze-markup" "haskell-charset" 
"haskell-comonad"
+ "haskell-fingertree" "haskell-hashable" "haskell-lens" "haskell-mtl" 
"haskell-parsers"
+ "haskell-profunctors" "haskell-reducers" "haskell-semigroups" 
"haskell-unordered-containers"
+ "haskell-utf8-string")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5da4e04be3f4f02220aa730b830a50b9a5df243815d6e00051beb7274af3bc78e50cf70747e3e1f448b2966d1c3051ab589e7d99a0432620390c6193d034a602')
+
+prepare() {
+sed -i 's/ansi-terminal>= 0.6 && < 0.7,/ansi-terminal
>= 0.6,/' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:13:58
  Author: felixonmars
Revision: 319443

upgpkg: haskell-trifecta 1.7.1.1-54

rebuild with scientific,0.3.6.1

Modified:
  haskell-trifecta/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:13:42 UTC (rev 319442)
+++ PKGBUILD2018-05-07 21:13:58 UTC (rev 319443)
@@ -5,7 +5,7 @@
 _hkgname=trifecta
 pkgname=haskell-trifecta
 pkgver=1.7.1.1
-pkgrel=53
+pkgrel=54
 pkgdesc="A modern parser combinator library with convenient diagnostics"
 url="https://github.com/ekmett/trifecta/;
 license=("custom:BSD3")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:12:39
  Author: felixonmars
Revision: 319439

upgpkg: haskell-wai-websockets 3.0.1.2-7

rebuild with scientific,0.3.6.1

Modified:
  haskell-wai-websockets/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:12:01 UTC (rev 319438)
+++ PKGBUILD2018-05-07 21:12:39 UTC (rev 319439)
@@ -5,7 +5,7 @@
 _hkgname=wai-websockets
 pkgname=haskell-wai-websockets
 pkgver=3.0.1.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Provide a bridge between WAI and the websockets package."
 url="https://github.com/yesodweb/wai;
 license=("MIT")


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

2018-05-07 Thread Antonio Rojas via arch-commits
Date: Monday, May 7, 2018 @ 21:13:03
  Author: arojas
Revision: 319441

archrelease: copy trunk to community-x86_64

Added:
  coxeter/repos/community-x86_64/PKGBUILD
(from rev 319439, coxeter/trunk/PKGBUILD)
  coxeter/repos/community-x86_64/coxeter-makefile.patch
(from rev 319439, coxeter/trunk/coxeter-makefile.patch)
  coxeter/repos/community-x86_64/coxeter-sage.patch
(from rev 319439, coxeter/trunk/coxeter-sage.patch)
Deleted:
  coxeter/repos/community-x86_64/PKGBUILD
  coxeter/repos/community-x86_64/coxeter-makefile.patch
  coxeter/repos/community-x86_64/coxeter-sage.patch

+
 PKGBUILD   |   75 +
 coxeter-makefile.patch |  198 +++
 coxeter-sage.patch |  198 +++
 3 files changed, 236 insertions(+), 235 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-07 21:12:59 UTC (rev 319440)
+++ PKGBUILD2018-05-07 21:13:03 UTC (rev 319441)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas 
-
-pkgname=coxeter
-pkgver=git.20180226
-pkgrel=1
-_commit=7b5a1f0039511326aeb616afb132a5065886b9d8
-pkgdesc="A library for the study of combinatorial aspects of Coxeter group 
theory"
-arch=(x86_64)
-url="https://github.com/tscrim/coxeter;
-license=(GPL3)
-depends=(gcc-libs)
-makedepends=(git)
-conflicts=(coxeter3)
-source=("git+https://github.com/tscrim/coxeter#commit=$_commit; 
coxeter-sage.patch coxeter-makefile.patch)
-sha256sums=('SKIP'
-'668235f7858c4542d2856d6b36f2f1d18f14ffea685a96637992a14613a71688'
-'237403a2f668fea18aebee4d1bde9697cd44b5e3836f34452cfc9f401932465f')
-
-prepare() {
-  cd coxeter
-# Add Sage patches
-  patch -p1 -i ../coxeter-sage.patch
-  patch -p1 -i ../coxeter-makefile.patch
-}  
-
-build() {
-  cd coxeter
-
-  make all
-}
-
-package() {
-  cd coxeter
-  mkdir -p "$pkgdir"/usr/{lib,bin}
-  make SAGE_LOCAL="$pkgdir/usr" install
-}
-

Copied: coxeter/repos/community-x86_64/PKGBUILD (from rev 319439, 
coxeter/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-07 21:13:03 UTC (rev 319441)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas 
+
+pkgname=coxeter
+pkgver=git.20180226
+pkgrel=2
+_commit=7b5a1f0039511326aeb616afb132a5065886b9d8
+pkgdesc="A library for the study of combinatorial aspects of Coxeter group 
theory"
+arch=(x86_64)
+url="https://github.com/tscrim/coxeter;
+license=(GPL3)
+depends=(gcc-libs)
+makedepends=(git)
+conflicts=(coxeter3)
+replaces=(coxeter3)
+source=("git+https://github.com/tscrim/coxeter#commit=$_commit; 
coxeter-sage.patch coxeter-makefile.patch)
+sha256sums=('SKIP'
+'668235f7858c4542d2856d6b36f2f1d18f14ffea685a96637992a14613a71688'
+'237403a2f668fea18aebee4d1bde9697cd44b5e3836f34452cfc9f401932465f')
+
+prepare() {
+  cd coxeter
+# Add Sage patches
+  patch -p1 -i ../coxeter-sage.patch
+  patch -p1 -i ../coxeter-makefile.patch
+}  
+
+build() {
+  cd coxeter
+
+  make all
+}
+
+package() {
+  cd coxeter
+  mkdir -p "$pkgdir"/usr/{lib,bin}
+  make SAGE_LOCAL="$pkgdir/usr" install
+}
+

Deleted: coxeter-makefile.patch
===
--- coxeter-makefile.patch  2018-05-07 21:12:59 UTC (rev 319440)
+++ coxeter-makefile.patch  2018-05-07 21:13:03 UTC (rev 319441)
@@ -1,99 +0,0 @@
-diff -druN src/makefile src/makefile
 src/makefile   2013-02-14 18:26:28.0 +0100
-+++ src/makefile   2013-02-15 14:34:54.082756900 +0100
-@@ -12,6 +12,7 @@
- gflags = -c $(includedirs) -g
- 
- cflags = $(gflags) # the default setting
-+cflags = -c $(includedirs) -O2 -fPIC -g
- 
- ifdef optimize
-   NDEBUG = true
-@@ -22,18 +23,74 @@
-   cflags = $(pflags)
- endif
- 
--cc = g++
-+EXENAME = coxeter
-+LIBNAME = coxeter3
-+ifeq ($(UNAME),Darwin)
-+  EXEEXT = 
-+  LIBPREFIX = lib
-+  LIBEXT = .dylib
-+  LIBDIR = lib
-+  LINKFLAGS = -dynamiclib 
-Wl,-headerpad_max_install_names,-undefined,dynamic_lookup,-compatibility_version,3.0,-current_version,3.0,-install_name,$(SAGE_LOCAL)/lib/$(LIBPREFIX)$(LIBNAME)$(LIBEXT)
-+  LINKLIBS = 
-+else
-+ifeq ($(UNAME),CYGWIN)
-+  EXEEXT = .exe
-+  LIBPREFIX = cyg
-+  LIBEXT = .dll
-+  LIBDIR = bin
-+  IMPLIB = lib$(LIBNAME).dll.a
-+  LINKFLAGS = -shared -Wl,--out-implib=$(IMPLIB) -Wl,--export-all-symbols
-+  LINKLIBS = -lc
-+else
-+  EXEEXT = 
-+  LIBPREFIX = lib
-+  LIBEXT = .so
-+  LIBDIR = lib
-+  LINKFLAGS = -shared -Wl,-soname,libcoxeter3.so
-+  LINKLIBS = -lc
-+endif
-+endif
-+LIBRARY = $(LIBPREFIX)$(LIBNAME)$(LIBEXT)
- 
--all: coxeter #clean
-+all: coxeter executable
- 
- coxeter: $(objects)
--  $(cc) -o coxeter $(objects)
-+  $(CXX) $(LINKFLAGS) -o $(LIBRARY) $(objects) 

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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:12:59
  Author: felixonmars
Revision: 319440

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-websockets/repos/community-staging-x86_64/
  haskell-wai-websockets/repos/community-staging-x86_64/PKGBUILD
(from rev 319439, haskell-wai-websockets/trunk/PKGBUILD)

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

Copied: haskell-wai-websockets/repos/community-staging-x86_64/PKGBUILD (from 
rev 319439, haskell-wai-websockets/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:12:59 UTC (rev 319440)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-websockets
+pkgname=haskell-wai-websockets
+pkgver=3.0.1.2
+pkgrel=7
+pkgdesc="Provide a bridge between WAI and the websockets package."
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-http-types' 
'haskell-network' 'haskell-wai'
+ 'haskell-websockets')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c3415d1a36ca2f063fb1ae0ff7d3d9d271d8ff2c6099a754baed45f1c36f24cf1fa346e8e6403499cbeb329bcdf89326a9ed95f8e60111b4a879f5e51967ecc0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-example
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:12:01
  Author: felixonmars
Revision: 319438

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
319437, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:12:01 UTC (rev 319438)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.6.0
+pkgrel=16
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-mtl' 'haskell-optparse-applicative' 'haskell-semigroups' 
'haskell-split'
+ 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('99f391e5495ec1bfdef7707b49a783568b8ce610e2a5acb885bb8cb9b9c6608068667291d6b67732ec7b28c820b3cee76fb40cb96a2c952600d6763edf9251dc')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:11:41
  Author: felixonmars
Revision: 319437

upgpkg: haskell-xcffib 0.6.0-16

rebuild with scientific,0.3.6.1

Modified:
  haskell-xcffib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:11:35 UTC (rev 319436)
+++ PKGBUILD2018-05-07 21:11:41 UTC (rev 319437)
@@ -4,7 +4,7 @@
 _hkgname=xcffib
 pkgname=haskell-xcffib
 pkgver=0.6.0
-pkgrel=15
+pkgrel=16
 pkgdesc="A cffi-based python binding for X"
 url="https://github.com/tych0/xcffib;
 license=('Apache')


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

2018-05-07 Thread Antonio Rojas via arch-commits
Date: Monday, May 7, 2018 @ 21:11:35
  Author: arojas
Revision: 319436

Replace coxeter3

Modified:
  coxeter/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:10:54 UTC (rev 319435)
+++ PKGBUILD2018-05-07 21:11:35 UTC (rev 319436)
@@ -2,7 +2,7 @@
 
 pkgname=coxeter
 pkgver=git.20180226
-pkgrel=1
+pkgrel=2
 _commit=7b5a1f0039511326aeb616afb132a5065886b9d8
 pkgdesc="A library for the study of combinatorial aspects of Coxeter group 
theory"
 arch=(x86_64)
@@ -11,6 +11,7 @@
 depends=(gcc-libs)
 makedepends=(git)
 conflicts=(coxeter3)
+replaces=(coxeter3)
 source=("git+https://github.com/tscrim/coxeter#commit=$_commit; 
coxeter-sage.patch coxeter-makefile.patch)
 sha256sums=('SKIP'
 '668235f7858c4542d2856d6b36f2f1d18f14ffea685a96637992a14613a71688'


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:10:31
  Author: felixonmars
Revision: 319434

upgpkg: haskell-yesod-auth 1.4.21-144

rebuild with scientific,0.3.6.1

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:09:14 UTC (rev 319433)
+++ PKGBUILD2018-05-07 21:10:31 UTC (rev 319434)
@@ -5,7 +5,7 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.4.21
-pkgrel=143
+pkgrel=144
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:10:54
  Author: felixonmars
Revision: 319435

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-auth/repos/community-staging-x86_64/
  haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD
(from rev 319434, haskell-yesod-auth/trunk/PKGBUILD)

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

Copied: haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD (from rev 
319434, haskell-yesod-auth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:10:54 UTC (rev 319435)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-auth
+pkgname=haskell-yesod-auth
+pkgver=1.4.21
+pkgrel=144
+pkgdesc="Authentication for Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-authenticate" 
"haskell-base16-bytestring"
+ "haskell-base64-bytestring" "haskell-blaze-builder" 
"haskell-blaze-html"
+ "haskell-blaze-markup" "haskell-byteable" "haskell-conduit" 
"haskell-conduit-extra"
+ "haskell-cryptonite" "haskell-data-default" "haskell-email-validate"
+ "haskell-file-embed" "haskell-http-client" "haskell-http-conduit" 
"haskell-http-types"
+ "haskell-lifted-base" "haskell-memory" "haskell-mime-mail" 
"haskell-network-uri"
+ "haskell-nonce" "haskell-persistent" "haskell-persistent-template" 
"haskell-random"
+ "haskell-resourcet" "haskell-safe" "haskell-shakespeare" 
"haskell-text"
+ "haskell-unordered-containers" "haskell-wai" "haskell-yesod-core" 
"haskell-yesod-form"
+ "haskell-yesod-persistent")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('827cfff9ffb0f533b0cbc68cac53be1a057dde531596b57d823c14a3e737ba7c26394fd33b93dc6ad881ff6cc62e3246807f338c21ebe895be45b856460e7e23')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in wget/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-05-07 Thread Levente Polyak via arch-commits
Date: Monday, May 7, 2018 @ 21:10:30
  Author: anthraxx
Revision: 323459

archrelease: copy trunk to extra-x86_64

Added:
  wget/repos/extra-x86_64/PKGBUILD
(from rev 323458, wget/trunk/PKGBUILD)
Deleted:
  wget/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-07 21:10:22 UTC (rev 323458)
+++ PKGBUILD2018-05-07 21:10:30 UTC (rev 323459)
@@ -1,52 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Eric Bélanger 
-
-pkgname=wget
-pkgver=1.19.4
-pkgrel=3
-pkgdesc='Network utility to retrieve files from the Web'
-url='https://www.gnu.org/software/wget/wget.html'
-arch=('x86_64')
-license=('GPL3')
-depends=('glibc' 'gnutls' 'libidn' 'libutil-linux' 'libpsl' 'pcre')
-checkdepends=('perl-http-daemon' 'perl-io-socket-ssl' 'python')
-optdepends=('ca-certificates: HTTPS downloads')
-backup=('etc/wgetrc')
-source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz{,.sig})
-sha256sums=('2fc0ffb965a8dc8f1e4a89cbe834c0ae7b9c22f559ebafc84c7874ad1866559a'
-'SKIP')
-validpgpkeys=('AC404C1C0BF735C63FF4D562263D6DF2E163E1EA'
-  '7845120B07CBD8D6ECE5FF2B2A1743EDA91A35B6'
-  '1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen 

-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  cat >> doc/sample.wgetrc <
+# Maintainer: Eric Bélanger 
+
+pkgname=wget
+pkgver=1.19.5
+pkgrel=1
+pkgdesc='Network utility to retrieve files from the Web'
+url='https://www.gnu.org/software/wget/wget.html'
+arch=('x86_64')
+license=('GPL3')
+depends=('glibc' 'gnutls' 'libidn' 'libutil-linux' 'libpsl' 'pcre')
+checkdepends=('perl-http-daemon' 'perl-io-socket-ssl' 'python')
+optdepends=('ca-certificates: HTTPS downloads')
+backup=('etc/wgetrc')
+source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz{,.sig})
+sha256sums=('29fbe6f3d5408430c572a63fe32bd43d5860f32691173dfd84edc06869edca75'
+'SKIP')
+validpgpkeys=('AC404C1C0BF735C63FF4D562263D6DF2E163E1EA'
+  '7845120B07CBD8D6ECE5FF2B2A1743EDA91A35B6'
+  '1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen 

+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  cat >> doc/sample.wgetrc <

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

2018-05-07 Thread Levente Polyak via arch-commits
Date: Monday, May 7, 2018 @ 21:10:22
  Author: anthraxx
Revision: 323458

upgpkg: wget 1.19.5-1

Modified:
  wget/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 20:48:37 UTC (rev 323457)
+++ PKGBUILD2018-05-07 21:10:22 UTC (rev 323458)
@@ -2,8 +2,8 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=wget
-pkgver=1.19.4
-pkgrel=3
+pkgver=1.19.5
+pkgrel=1
 pkgdesc='Network utility to retrieve files from the Web'
 url='https://www.gnu.org/software/wget/wget.html'
 arch=('x86_64')
@@ -13,7 +13,7 @@
 optdepends=('ca-certificates: HTTPS downloads')
 backup=('etc/wgetrc')
 source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz{,.sig})
-sha256sums=('2fc0ffb965a8dc8f1e4a89cbe834c0ae7b9c22f559ebafc84c7874ad1866559a'
+sha256sums=('29fbe6f3d5408430c572a63fe32bd43d5860f32691173dfd84edc06869edca75'
 'SKIP')
 validpgpkeys=('AC404C1C0BF735C63FF4D562263D6DF2E163E1EA'
   '7845120B07CBD8D6ECE5FF2B2A1743EDA91A35B6'


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:09:14
  Author: felixonmars
Revision: 319433

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-default/repos/community-staging-x86_64/
  haskell-yesod-default/repos/community-staging-x86_64/PKGBUILD
(from rev 319431, haskell-yesod-default/trunk/PKGBUILD)

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

Copied: haskell-yesod-default/repos/community-staging-x86_64/PKGBUILD (from rev 
319431, haskell-yesod-default/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 21:09:14 UTC (rev 319433)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-default
+pkgname=haskell-yesod-default
+pkgver=1.2.0
+pkgrel=296
+pkgdesc="Default config and main functions for your yesod application 
(deprecated)"
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-yesod-core")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('f39ae1953a95c1919a9dd214d93bf81078b1dcbbac737dc9bb7339dbad9dda96')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 21:08:50
  Author: felixonmars
Revision: 319430

upgpkg: haskell-yesod-default 1.2.0-296

rebuild with scientific,0.3.6.1

Modified:
  haskell-yesod-default/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-07 21:08:27 UTC (rev 319429)
+++ PKGBUILD2018-05-07 21:08:50 UTC (rev 319430)
@@ -5,7 +5,7 @@
 _hkgname=yesod-default
 pkgname=haskell-yesod-default
 pkgver=1.2.0
-pkgrel=295
+pkgrel=296
 pkgdesc="Default config and main functions for your yesod application 
(deprecated)"
 url="http://www.yesodweb.com/;
 license=("MIT")


  1   2   3   4   5   >