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

2017-10-30 Thread Alexander Rødseth
Date: Monday, October 30, 2017 @ 14:10:18
  Author: arodseth
Revision: 264786

archrelease: copy trunk to community-x86_64, community-i686

Added:
  neko/repos/community-i686/PKGBUILD
(from rev 264785, neko/trunk/PKGBUILD)
  neko/repos/community-x86_64/PKGBUILD
(from rev 264785, neko/trunk/PKGBUILD)
Deleted:
  neko/repos/community-i686/PKGBUILD
  neko/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   88 
 community-i686/PKGBUILD   |   39 ---
 community-x86_64/PKGBUILD |   39 ---
 3 files changed, 88 insertions(+), 78 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-10-30 14:10:05 UTC (rev 264785)
+++ community-i686/PKGBUILD 2017-10-30 14:10:18 UTC (rev 264786)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F Rødseth 
-# Contributor: Daichi Shinozaki 
-# Contributor: Dwight Schauer 
-# Contributor: Stefan Husmann 
-# Contributor: Christoph Zeiler 
-# Contributor: Michael 'manveru' Fellinger 
-# Contributor: Caleb McCombs 
-# Contributor: Christian Hesse 
-
-pkgname=neko
-pkgver=2.1.0
-pkgrel=1
-pkgdesc='High-level dynamically typed programming language'
-url='http://nekovm.org/'
-license=('LGPL')
-arch=('x86_64' 'i686')
-depends=('gc' 'gtk2' 'libmariadbclient' 'sqlite' 'apache' 'mbedtls')
-makedepends=('pkgconfig' 'apr' 'git' 'ninja' 'mbedtls' 'cmake')
-options=('!strip')
-source=("git://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
-sha256sums=('SKIP')
-
-build() {
-  mkdir -p build
-  cd build
-
-  cmake "../$pkgname" \
--DCMAKE_INSTALL_PREFIX=/usr \
--DRUN_LDCONFIG=OFF \
--GNinja
-  ninja
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}
-
-# getver: nekovm.org/download
-# vim:set ts=2 sw=2 et:

Copied: neko/repos/community-i686/PKGBUILD (from rev 264785, 
neko/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-10-30 14:10:18 UTC (rev 264786)
@@ -0,0 +1,44 @@
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daichi Shinozaki 
+# Contributor: Dwight Schauer 
+# Contributor: Stefan Husmann 
+# Contributor: Christoph Zeiler 
+# Contributor: Michael 'manveru' Fellinger 
+# Contributor: Caleb McCombs 
+# Contributor: Christian Hesse 
+
+pkgname=neko
+pkgver=2.1.0
+pkgrel=3
+pkgdesc='High-level and dynamically typed programming language'
+url='http://nekovm.org/' # no https
+license=('LGPL')
+arch=('x86_64' 'i686')
+depends=('gc' 'gtk2' 'libmariadbclient' 'mbedtls' 'sqlite')
+makedepends=('apache' 'apr' 'cmake' 'git' 'mbedtls' 'ninja' 'pkgconfig')
+optdepends=('apache: for extending Apache with mod_neko')
+options=('!strip')
+source=("git+https://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}";)
+sha256sums=('SKIP')
+
+prepare() {
+  sed -i '/xlocale.h/d' "$srcdir/$pkgname/libs/std/sys.c"
+}
+
+build() {
+  mkdir -p build
+  cd build
+
+  cmake ../$pkgname \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DRUN_LDCONFIG=OFF \
+-GNinja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# getver: nekovm.org/download
+# vim: ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2017-10-30 14:10:05 UTC (rev 264785)
+++ community-x86_64/PKGBUILD   2017-10-30 14:10:18 UTC (rev 264786)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F Rødseth 
-# Contributor: Daichi Shinozaki 
-# Contributor: Dwight Schauer 
-# Contributor: Stefan Husmann 
-# Contributor: Christoph Zeiler 
-# Contributor: Michael 'manveru' Fellinger 
-# Contributor: Caleb McCombs 
-# Contributor: Christian Hesse 
-
-pkgname=neko
-pkgver=2.1.0
-pkgrel=1
-pkgdesc='High-level dynamically typed programming language'
-url='http://nekovm.org/'
-license=('LGPL')
-arch=('x86_64' 'i686')
-depends=('gc' 'gtk2' 'libmariadbclient' 'sqlite' 'apache' 'mbedtls')
-makedepends=('pkgconfig' 'apr' 'git' 'ninja' 'mbedtls' 'cmake')
-options=('!strip')
-source=("git://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
-sha256sums=('SKIP')
-
-build() {
-  mkdir -p build
-  cd build
-
-  cmake "../$pkgname" \
--DCMAKE_INSTALL_PREFIX=/usr \
--DRUN_LDCONFIG=OFF \
--GNinja
-  ninja
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}
-
-# getver: nekovm.org/download
-# vim:set ts=2 sw=2 et:

Copied: neko/repos/community-x86_64/PKGBUILD (from rev 264785, 
neko/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2017-10-30 14:10:18 UTC (rev 264786)
@@ -0,0 +1,44 @@
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daichi Shinozaki 
+# Contributor: Dwight Schauer 
+# Contributor: Stefan Husmann 
+# Contributor: Christ

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

2017-05-26 Thread Evangelos Foutras
Date: Friday, May 26, 2017 @ 08:52:36
  Author: foutrelis
Revision: 230418

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  neko/repos/community-staging-i686/
  neko/repos/community-staging-i686/PKGBUILD
(from rev 230417, neko/trunk/PKGBUILD)
  neko/repos/community-staging-x86_64/
  neko/repos/community-staging-x86_64/PKGBUILD
(from rev 230417, neko/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   39 
 community-staging-x86_64/PKGBUILD |   39 
 2 files changed, 78 insertions(+)

Copied: neko/repos/community-staging-i686/PKGBUILD (from rev 230417, 
neko/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-05-26 08:52:36 UTC (rev 230418)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daichi Shinozaki 
+# Contributor: Dwight Schauer 
+# Contributor: Stefan Husmann 
+# Contributor: Christoph Zeiler 
+# Contributor: Michael 'manveru' Fellinger 
+# Contributor: Caleb McCombs 
+# Contributor: Christian Hesse 
+
+pkgname=neko
+pkgver=2.1.0
+pkgrel=2
+pkgdesc='High-level dynamically typed programming language'
+url='http://nekovm.org/'
+license=('LGPL')
+arch=('x86_64' 'i686')
+depends=('gc' 'gtk2' 'libmariadb' 'sqlite' 'apache' 'mbedtls')
+makedepends=('pkgconfig' 'apr' 'git' 'ninja' 'mbedtls' 'cmake')
+options=('!strip')
+source=("git://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
+sha256sums=('SKIP')
+
+build() {
+  mkdir -p build
+  cd build
+
+  cmake "../$pkgname" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DRUN_LDCONFIG=OFF \
+-GNinja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# getver: nekovm.org/download
+# vim:set ts=2 sw=2 et:

Copied: neko/repos/community-staging-x86_64/PKGBUILD (from rev 230417, 
neko/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-26 08:52:36 UTC (rev 230418)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daichi Shinozaki 
+# Contributor: Dwight Schauer 
+# Contributor: Stefan Husmann 
+# Contributor: Christoph Zeiler 
+# Contributor: Michael 'manveru' Fellinger 
+# Contributor: Caleb McCombs 
+# Contributor: Christian Hesse 
+
+pkgname=neko
+pkgver=2.1.0
+pkgrel=2
+pkgdesc='High-level dynamically typed programming language'
+url='http://nekovm.org/'
+license=('LGPL')
+arch=('x86_64' 'i686')
+depends=('gc' 'gtk2' 'libmariadb' 'sqlite' 'apache' 'mbedtls')
+makedepends=('pkgconfig' 'apr' 'git' 'ninja' 'mbedtls' 'cmake')
+options=('!strip')
+source=("git://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
+sha256sums=('SKIP')
+
+build() {
+  mkdir -p build
+  cd build
+
+  cmake "../$pkgname" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DRUN_LDCONFIG=OFF \
+-GNinja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# getver: nekovm.org/download
+# vim:set ts=2 sw=2 et:


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

2016-06-28 Thread Alexander Rødseth
Date: Tuesday, June 28, 2016 @ 14:13:23
  Author: arodseth
Revision: 181502

archrelease: copy trunk to community-x86_64, community-i686

Added:
  neko/repos/community-i686/PKGBUILD
(from rev 181501, neko/trunk/PKGBUILD)
  neko/repos/community-x86_64/PKGBUILD
(from rev 181501, neko/trunk/PKGBUILD)
Deleted:
  neko/repos/community-i686/PKGBUILD
  neko/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   78 
 community-i686/PKGBUILD   |   39 --
 community-x86_64/PKGBUILD |   39 --
 3 files changed, 78 insertions(+), 78 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-06-28 14:11:53 UTC (rev 181501)
+++ community-i686/PKGBUILD 2016-06-28 14:13:23 UTC (rev 181502)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F Rødseth 
-# Contributor: Daichi Shinozaki 
-# Contributor: Dwight Schauer 
-# Contributor: Stefan Husmann 
-# Contributor: Christoph Zeiler 
-# Contributor: Michael 'manveru' Fellinger 
-# Contributor: Caleb McCombs 
-# Contributor: Christian Hesse 
-
-pkgname=neko
-pkgver=2.1.0
-pkgrel=1
-pkgdesc='High-level dynamically typed programming language'
-url='http://nekovm.org/'
-license=('LGPL')
-arch=('x86_64' 'i686')
-depends=('gc' 'gtk2' 'libmariadbclient' 'sqlite' 'apache' 'mbedtls')
-makedepends=('pkgconfig' 'apr' 'git' 'ninja' 'mbedtls' 'cmake')
-options=('!strip')
-source=("git://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
-sha256sums=('SKIP')
-
-build() {
-  mkdir -p build
-  cd build
-
-  cmake "../$pkgname" \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=lib \
--GNinja
-  ninja
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}
-
-# getver: nekovm.org/download
-# vim:set ts=2 sw=2 et:

Copied: neko/repos/community-i686/PKGBUILD (from rev 181501, 
neko/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-06-28 14:13:23 UTC (rev 181502)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daichi Shinozaki 
+# Contributor: Dwight Schauer 
+# Contributor: Stefan Husmann 
+# Contributor: Christoph Zeiler 
+# Contributor: Michael 'manveru' Fellinger 
+# Contributor: Caleb McCombs 
+# Contributor: Christian Hesse 
+
+pkgname=neko
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='High-level dynamically typed programming language'
+url='http://nekovm.org/'
+license=('LGPL')
+arch=('x86_64' 'i686')
+depends=('gc' 'gtk2' 'libmariadbclient' 'sqlite' 'apache' 'mbedtls')
+makedepends=('pkgconfig' 'apr' 'git' 'ninja' 'mbedtls' 'cmake')
+options=('!strip')
+source=("git://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
+sha256sums=('SKIP')
+
+build() {
+  mkdir -p build
+  cd build
+
+  cmake "../$pkgname" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DRUN_LDCONFIG=OFF \
+-GNinja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# getver: nekovm.org/download
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2016-06-28 14:11:53 UTC (rev 181501)
+++ community-x86_64/PKGBUILD   2016-06-28 14:13:23 UTC (rev 181502)
@@ -1,39 +0,0 @@
-# Maintainer: Alexander F Rødseth 
-# Contributor: Daichi Shinozaki 
-# Contributor: Dwight Schauer 
-# Contributor: Stefan Husmann 
-# Contributor: Christoph Zeiler 
-# Contributor: Michael 'manveru' Fellinger 
-# Contributor: Caleb McCombs 
-# Contributor: Christian Hesse 
-
-pkgname=neko
-pkgver=2.1.0
-pkgrel=1
-pkgdesc='High-level dynamically typed programming language'
-url='http://nekovm.org/'
-license=('LGPL')
-arch=('x86_64' 'i686')
-depends=('gc' 'gtk2' 'libmariadbclient' 'sqlite' 'apache' 'mbedtls')
-makedepends=('pkgconfig' 'apr' 'git' 'ninja' 'mbedtls' 'cmake')
-options=('!strip')
-source=("git://github.com/HaxeFoundation/neko#tag=v${pkgver//./-}")
-sha256sums=('SKIP')
-
-build() {
-  mkdir -p build
-  cd build
-
-  cmake "../$pkgname" \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=lib \
--GNinja
-  ninja
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}
-
-# getver: nekovm.org/download
-# vim:set ts=2 sw=2 et:

Copied: neko/repos/community-x86_64/PKGBUILD (from rev 181501, 
neko/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2016-06-28 14:13:23 UTC (rev 181502)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daichi Shinozaki 
+# Contributor: Dwight Schauer 
+# Contributor: Stefan Husmann 
+# Contributor: Christoph Zeiler 
+# Contributor: Michael 'manveru' Fellinger 
+# Contributor: Caleb McCombs 
+# Contributor: Christian Hesse 
+
+pkgname=n

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

2015-12-20 Thread Alexander Rødseth
Date: Sunday, December 20, 2015 @ 16:45:28
  Author: arodseth
Revision: 153779

archrelease: copy trunk to community-x86_64, community-i686

Added:
  neko/repos/community-i686/PKGBUILD
(from rev 153778, neko/trunk/PKGBUILD)
  neko/repos/community-i686/neko.patch
(from rev 153778, neko/trunk/neko.patch)
  neko/repos/community-x86_64/PKGBUILD
(from rev 153778, neko/trunk/PKGBUILD)
  neko/repos/community-x86_64/neko.patch
(from rev 153778, neko/trunk/neko.patch)

-+
 community-i686/PKGBUILD |   53 +
 community-i686/neko.patch   |  237 ++
 community-x86_64/PKGBUILD   |   53 +
 community-x86_64/neko.patch |  237 ++
 4 files changed, 580 insertions(+)

Copied: neko/repos/community-i686/PKGBUILD (from rev 153778, 
neko/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-12-20 15:45:28 UTC (rev 153779)
@@ -0,0 +1,53 @@
+# Maintainer: Alexander F Rødseth 
+# Contributor: Daichi Shinozaki 
+# Contributor: Dwight Schauer 
+# Contributor: Stefan Husmann 
+# Contributor: Christoph Zeiler 
+# Contributor: Michael 'manveru' Fellinger 
+# Contributor: Caleb McCombs 
+# Contributor: Christian Hesse 
+
+pkgname=neko
+pkgver=2.0.0
+pkgrel=7
+pkgdesc='High-level dynamically typed programming language'
+url='http://nekovm.org/'
+license=('LGPL')
+arch=('x86_64' 'i686')
+depends=('gc' 'gtk2' 'libmariadbclient' 'sqlite' 'apache')
+makedepends=('pkgconfig' 'apr' 'git')
+options=('!strip')
+source=("git://github.com/HaxeFoundation/neko.git#tag=v${pkgver/.0.0/-0}"
+'neko.patch')
+sha256sums=('SKIP'
+'306e70795a59600d30b5bfe448b57686bd6c3df11c7fe6413e0c7c48d83f6431')
+
+prepare() {
+  cd "$pkgname"
+
+  patch -p1 -i "$srcdir/neko.patch"
+}
+
+build() {
+  cd "$pkgname"
+
+  [ $CARCH = x86_64 ] && export CFLAGS+=" -D_64BITS"
+
+  # The Neko Makefile is a bit broken
+  for cmd in clean libneko neko std createbin compiler libs; do
+make "$cmd"
+  done
+}
+
+check() {
+  make -C "$pkgname" test
+}
+
+package() {
+  install -d "$pkgdir/usr/"{bin,lib}
+  make -C "$pkgname" INSTALL_PREFIX="$pkgdir/usr" install
+  find "$pkgdir/usr/lib" -type f -exec chmod 644 {} \;
+}
+
+# getver: nekovm.org/download
+# vim:set ts=2 sw=2 et:

Copied: neko/repos/community-i686/neko.patch (from rev 153778, 
neko/trunk/neko.patch)
===
--- community-i686/neko.patch   (rev 0)
+++ community-i686/neko.patch   2015-12-20 15:45:28 UTC (rev 153779)
@@ -0,0 +1,237 @@
+# Thanks 
http://ftp.de.debian.org/debian/pool/main/n/neko/neko_2.0.0-3.debian.tar.gz
+diff --git a/Makefile b/Makefile
+index c6b01b9..835ccbc 100644
+--- a/Makefile
 b/Makefile
+@@ -12,9 +12,9 @@
+ 
+ INSTALL_PREFIX = /usr
+ 
+-CFLAGS = -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I 
libs/common
++CFLAGS += -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common
+ EXTFLAGS = -pthread
+-MAKESO = $(CC) -shared -Wl,-Bsymbolic
++MAKESO = $(CC) -shared
+ LIBNEKO_NAME = libneko.so
+ LIBNEKO_LIBS = -ldl -lgc -lm
+ NEKOVM_FLAGS = -Lbin -lneko
+@@ -36,7 +36,7 @@ NEKO_EXEC = LD_LIBRARY_PATH=../bin:${LD_LIBRARY_PATH} 
NEKOPATH=../boot:../bin ..
+ ifeq (${os}, mingw)
+ CFLAGS = -g -Wall -O3 -momit-leaf-frame-pointer -I vm -I /usr/local/include 
-I libs/common
+ EXTFLAGS =
+-MAKESO = $(CC) -O -shared
++MAKESO = $(CC) -shared
+ LIBNEKO_NAME = neko.dll
+ LIBNEKO_LIBS = -Lbin -lgc
+ STD_NDLL_FLAGS = ${NEKOVM_FLAGS} -lws2_32
+@@ -47,7 +47,7 @@ endif
+ ifeq (${os}, osx)
+ export MACOSX_DEPLOYMENT_TARGET=10.4
+ EXTFLAGS =
+-MAKESO = ${CC}
++MAKESO = $(CC) -shared
+ LIBNEKO_NAME = libneko.dylib
+ LIBNEKO_INSTALL = -install_name @executable_path/${LIBNEKO_NAME}
+ LIBNEKO_LIBS = -ldl /opt/local/lib/libgc.a -lm -dynamiclib -single_module 
${LIBNEKO_INSTALL}
+@@ -67,7 +67,7 @@ LIBNEKO_OBJECTS = vm/alloc.o vm/builtins.o vm/callback.o 
vm/interp.o vm/load.o v
+ all: createbin libneko neko std compiler libs
+ 
+ createbin:
+-  -mkdir bin 2>/dev/null
++  mkdir -p bin 2>/dev/null
+ 
+ libneko: bin/${LIBNEKO_NAME}
+ 
+@@ -101,7 +101,6 @@ bin/${LIBNEKO_NAME}: ${LIBNEKO_OBJECTS}
+ 
+ bin/neko: $(VM_OBJECTS)
+   ${CC} ${CFLAGS} ${EXTFLAGS} -o $@ ${VM_OBJECTS} ${NEKOVM_FLAGS}
+-  strip bin/neko
+ 
+ bin/std.ndll: ${STD_OBJECTS}
+   ${MAKESO} -o $@ ${STD_OBJECTS} ${STD_NDLL_FLAGS}
+@@ -116,9 +115,9 @@ clean:
+ install:
+   cp bin/${LIBNEKO_NAME} ${INSTALL_PREFIX}/lib
+   cp bin/neko bin/nekoc bin/nekotools bin/nekoml bin/nekoml.std 
${INSTALL_PREFIX}/bin
+-  -mkdir ${INSTALL_PREFIX}/lib/neko
++  mkdir -p ${INSTALL_PREFIX}/lib/neko
+   cp bin/*.ndll ${INSTALL_PREFIX}/lib/neko
+-  -mkdir ${INSTALL_PREFIX}/include
++  mkdir -p ${INSTALL_PREFIX}/include
+   cp vm/neko*.h ${INSTALL