[arch-commits] Commit in neko/repos/community-x86_64 (PKGBUILD PKGBUILD gtk3.patch)

2020-12-22 Thread Alexander Rødseth via arch-commits
Date: Tuesday, December 22, 2020 @ 13:33:10
  Author: arodseth
Revision: 781978

archrelease: copy trunk to community-x86_64

Added:
  neko/repos/community-x86_64/PKGBUILD
(from rev 781977, neko/trunk/PKGBUILD)
  neko/repos/community-x86_64/gtk3.patch
(from rev 781977, neko/trunk/gtk3.patch)
Deleted:
  neko/repos/community-x86_64/PKGBUILD

+
 PKGBUILD   |   93 +++
 gtk3.patch |  235 +++
 2 files changed, 281 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-22 13:33:03 UTC (rev 781977)
+++ PKGBUILD2020-12-22 13:33:10 UTC (rev 781978)
@@ -1,47 +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.3.0
-pkgrel=2
-pkgdesc='High-level and dynamically typed programming language'
-url='https://nekovm.org/'
-license=(LGPL)
-arch=(x86_64)
-depends=(gc gtk3 mariadb-libs mbedtls sqlite)
-makedepends=(apache apr cmake git mbedtls ninja)
-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' $pkgname/libs/std/sys.c
-
-  # Port to GTK 3
-  mv $pkgname/cmake/FindGTK2.cmake $pkgname/cmake/FindGTK3.cmake
-  sed -i 's/gtk_timeout_add/gdk_threads_add_timeout/g' $pkgname/libs/ui/ui.c
-  find $pkgname -type f -exec sed -i 
's/gtk2/gtk3/g;s/GTK2/GTK3/g;s/gtk-2/gtk-3/g;s/GTK-2/GTK-3/g;s/gtk+-2/gtk+-3/g;s/GTK+-2/GTK+-3/g'
 {} \;
-}
-
-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

Copied: neko/repos/community-x86_64/PKGBUILD (from rev 781977, 
neko/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-22 13:33:10 UTC (rev 781978)
@@ -0,0 +1,46 @@
+# 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.3.0
+pkgrel=3
+pkgdesc='High-level and dynamically typed programming language'
+url='https://nekovm.org/'
+license=(LGPL)
+arch=(x86_64)
+depends=(gc gtk3 mariadb-libs mbedtls sqlite)
+makedepends=(apache apr cmake git mbedtls ninja)
+optdepends=('apache: for extending Apache with mod_neko')
+options=(!strip)
+source=("git+https://github.com/HaxeFoundation/neko#tag=v${pkgver//./-};
+gtk3.patch)
+sha256sums=('SKIP'
+'c2e5428fffd5eec737c5ce6f165e2cb38f3943340dd24a06b8f39db7b6b7c544')
+
+prepare() {
+  cd $pkgname
+  sed -i '/xlocale.h/d' libs/std/sys.c
+  patch -p1 -i ../gtk3.patch
+}
+
+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

Copied: neko/repos/community-x86_64/gtk3.patch (from rev 781977, 
neko/trunk/gtk3.patch)
===
--- gtk3.patch  (rev 0)
+++ gtk3.patch  2020-12-22 13:33:10 UTC (rev 781978)
@@ -0,0 +1,235 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 930c1ab..0e150cb 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -44,7 +44,7 @@ set(NEKO_VERSION 
${NEKO_VERSION_MAJOR}.${NEKO_VERSION_MINOR}.${NEKO_VERSION_PATC
+ TEST_BIG_ENDIAN(NEKO_BIG_ENDIAN)
+ 
+ option(WITH_REGEXP "Build Perl-compatible regex support." ON)
+-option(WITH_UI "Build GTK-2 UI support." ON)
++option(WITH_UI "Build GTK-3 UI support." ON)
+ option(WITH_SSL "Build SSL support." ON)
+ option(WITH_MYSQL "Build MySQL support." ON)
+ option(WITH_SQLITE "Build Sqlite support." ON)
+diff --git a/README.md b/README.md
+index 70c16b3..3965608 100644
+--- a/README.md
 b/README.md
+@@ -25,7 +25,7 @@ Users of other Linux/FreeBSD distributions should build Neko 
from source. See be
+ 
+ Neko can be built using CMake (version 3.x is recommended) and one of the C 
compilers listed as follows:
+ 
+- * Windows: Visual Studio 2010 / 2013 / 2015 / 2017 
++ * Windows: Visual Studio 2010 / 2013 / 2015 / 2017
+  * Mac: XCode (with its "Command line tools")
+  * Linux: gcc (can be obtained by installing the "build-essential" 
Debian/Ubuntu package)
+ 
+@@ -41,7 +41,7 @@ Neko needs to link with various third-party libraries, 

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

2020-12-22 Thread Alexander Rødseth via arch-commits
Date: Tuesday, December 22, 2020 @ 12:38:03
  Author: arodseth
Revision: 781962

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-22 12:37:58 UTC (rev 781961)
+++ PKGBUILD2020-12-22 12:38:03 UTC (rev 781962)
@@ -1,43 +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.3.0
-pkgrel=1
-pkgdesc='High-level and dynamically typed programming language'
-url='https://nekovm.org/'
-license=(LGPL)
-arch=(x86_64)
-depends=(gc gtk2 mariadb-libs mbedtls sqlite)
-makedepends=(apache apr cmake git mbedtls ninja)
-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' $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:

Copied: neko/repos/community-x86_64/PKGBUILD (from rev 781961, 
neko/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-22 12:38:03 UTC (rev 781962)
@@ -0,0 +1,47 @@
+# 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.3.0
+pkgrel=2
+pkgdesc='High-level and dynamically typed programming language'
+url='https://nekovm.org/'
+license=(LGPL)
+arch=(x86_64)
+depends=(gc gtk3 mariadb-libs mbedtls sqlite)
+makedepends=(apache apr cmake git mbedtls ninja)
+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' $pkgname/libs/std/sys.c
+
+  # Port to GTK 3
+  mv $pkgname/cmake/FindGTK2.cmake $pkgname/cmake/FindGTK3.cmake
+  sed -i 's/gtk_timeout_add/gdk_threads_add_timeout/g' $pkgname/libs/ui/ui.c
+  find $pkgname -type f -exec sed -i 
's/gtk2/gtk3/g;s/GTK2/GTK3/g;s/gtk-2/gtk-3/g;s/GTK-2/GTK-3/g;s/gtk+-2/gtk+-3/g;s/GTK+-2/GTK+-3/g'
 {} \;
+}
+
+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


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

2019-10-27 Thread Alexander Rødseth via arch-commits
Date: Sunday, October 27, 2019 @ 11:43:47
  Author: arodseth
Revision: 520743

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2019-10-27 11:43:40 UTC (rev 520742)
+++ PKGBUILD2019-10-27 11:43:47 UTC (rev 520743)
@@ -1,43 +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.2.0
-pkgrel=6
-pkgdesc='High-level and dynamically typed programming language'
-url='https://nekovm.org/'
-license=(LGPL)
-arch=(x86_64)
-depends=(gc gtk2 mariadb-libs mbedtls sqlite)
-makedepends=(apache apr cmake git mbedtls ninja)
-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' $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:

Copied: neko/repos/community-x86_64/PKGBUILD (from rev 520742, 
neko/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-10-27 11:43:47 UTC (rev 520743)
@@ -0,0 +1,43 @@
+# 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.3.0
+pkgrel=1
+pkgdesc='High-level and dynamically typed programming language'
+url='https://nekovm.org/'
+license=(LGPL)
+arch=(x86_64)
+depends=(gc gtk2 mariadb-libs mbedtls sqlite)
+makedepends=(apache apr cmake git mbedtls ninja)
+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' $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:


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

2019-02-21 Thread Alexander Rødseth via arch-commits
Date: Thursday, February 21, 2019 @ 11:31:59
  Author: arodseth
Revision: 434972

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2019-02-21 11:31:52 UTC (rev 434971)
+++ PKGBUILD2019-02-21 11:31:59 UTC (rev 434972)
@@ -1,44 +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.2.0
-pkgrel=5
-pkgdesc='High-level and dynamically typed programming language'
-url='http://nekovm.org/' # no https
-license=('LGPL')
-arch=('x86_64')
-depends=('gc' 'gtk2' 'mariadb-libs' 'mbedtls' 'sqlite')
-makedepends=('apache' 'apr' 'cmake' 'git' 'mbedtls' 'ninja')
-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' "$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:

Copied: neko/repos/community-x86_64/PKGBUILD (from rev 434971, 
neko/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-02-21 11:31:59 UTC (rev 434972)
@@ -0,0 +1,43 @@
+# 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.2.0
+pkgrel=6
+pkgdesc='High-level and dynamically typed programming language'
+url='https://nekovm.org/'
+license=(LGPL)
+arch=(x86_64)
+depends=(gc gtk2 mariadb-libs mbedtls sqlite)
+makedepends=(apache apr cmake git mbedtls ninja)
+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' $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:


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

2018-01-11 Thread Alexander Rødseth via arch-commits
Date: Thursday, January 11, 2018 @ 12:36:30
  Author: arodseth
Revision: 281324

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-01-11 12:32:37 UTC (rev 281323)
+++ PKGBUILD2018-01-11 12:36:30 UTC (rev 281324)
@@ -1,44 +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=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:

Copied: neko/repos/community-x86_64/PKGBUILD (from rev 281323, 
neko/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-01-11 12:36:30 UTC (rev 281324)
@@ -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.2.0
+pkgrel=1
+pkgdesc='High-level and dynamically typed programming language'
+url='http://nekovm.org/' # no https
+license=('LGPL')
+arch=('x86_64')
+depends=('gc' 'gtk2' 'libmariadbclient' 'mbedtls' 'sqlite')
+makedepends=('apache' 'apr' 'cmake' 'git' 'mbedtls' 'ninja')
+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' "$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: