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

2018-09-18 Thread Evangelos Foutras via arch-commits
Date: Tuesday, September 18, 2018 @ 07:22:37
  Author: foutrelis
Revision: 382949

archrelease: copy trunk to community-staging-x86_64

Added:
  glob2/repos/community-staging-x86_64/
  glob2/repos/community-staging-x86_64/PKGBUILD
(from rev 382948, glob2/trunk/PKGBUILD)
  glob2/repos/community-staging-x86_64/fix-ftbfs-gcc49.diff
(from rev 382948, glob2/trunk/fix-ftbfs-gcc49.diff)
  glob2/repos/community-staging-x86_64/glob2-0.9.4.1-gcc44.patch
(from rev 382948, glob2/trunk/glob2-0.9.4.1-gcc44.patch)

---+
 PKGBUILD  |   45 ++
 fix-ftbfs-gcc49.diff  |   14 +++
 glob2-0.9.4.1-gcc44.patch |   87 
 3 files changed, 146 insertions(+)

Copied: glob2/repos/community-staging-x86_64/PKGBUILD (from rev 382948, 
glob2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-18 07:22:37 UTC (rev 382949)
@@ -0,0 +1,45 @@
+# Maintainer: Jaroslav Lichtblau 
+# Contributor: Alexander Rødseth 
+# Contributor: Jaroslaw Swierczynski 
+# Contributor: Roman Kyrylych 
+
+pkgname=glob2
+pkgver=0.9.4.4
+pkgrel=36
+pkgdesc='An innovative Real-Time Strategy game which reduces micro-management 
by automatically assigning tasks to units'
+arch=('x86_64')
+url='http://www.globulation2.org/'
+license=('GPL3')
+depends=('boost-libs' 'sdl_net' 'sdl_image' 'sdl_ttf' 'libvorbis' 'speex' 'glu'
+ 'fribidi' 'xdg-utils' 'libgl' 'hicolor-icon-theme')
+makedepends=('scons' 'boost' 'mesa' 'patch')
+source=(http://dl.sv.nongnu.org/releases/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz
+glob2-0.9.4.1-gcc44.patch fix-ftbfs-gcc49.diff
+
glob2-gcc6.patch::"https://bitbucket.org/giszmo/glob2/commits/a9a16d8631db0176267b4f4aefd8e93767f8d247/raw/;)
+sha256sums=('0f4d898ec6b05ce27b4a12ef242cc26571304b90d2509932a4743c71311314b8'
+'3a0cfc06696d1aaf2d7948b5f6a09a8ce96492767039dc09bfc25182b92d7b7a'
+'2bf0e51ca5de8c6f4910b68522a0265e07bb32beefe13b9912b59e5954c5bfba'
+'40013ef6805694f3d96407ca5df46c4083f0d13677c75c8f05c53efbe3d33e20')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -p0 -i "$srcdir/glob2-0.9.4.1-gcc44.patch"
+  patch -p1 -i "$srcdir/fix-ftbfs-gcc49.diff"
+  patch -p1 -i "$srcdir/glob2-gcc6.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  scons LINKFLAGS="-lboost_system"
+}
+
+package () {
+  cd "$pkgname-$pkgver"
+
+  scons install BINDIR="$pkgdir/usr/bin" INSTALLDIR="$pkgdir/usr/share"
+  find "$pkgdir/usr/share" -type f -exec chmod 644 '{}' \;
+  install -Dm644 "data/icons/$pkgname-icon-48x48.png" \
+"$pkgdir/usr/share/pixmaps/$pkgname-icon-48x48.png"
+}

Copied: glob2/repos/community-staging-x86_64/fix-ftbfs-gcc49.diff (from rev 
382948, glob2/trunk/fix-ftbfs-gcc49.diff)
===
--- community-staging-x86_64/fix-ftbfs-gcc49.diff   
(rev 0)
+++ community-staging-x86_64/fix-ftbfs-gcc49.diff   2018-09-18 07:22:37 UTC 
(rev 382949)
@@ -0,0 +1,14 @@
+Index: glob2-0.9.4.4/src/Game.h
+===
+--- glob2-0.9.4.4.orig/src/Game.h  2014-07-14 10:36:36.705074927 +0800
 glob2-0.9.4.4/src/Game.h   2014-07-14 10:38:28.733077827 +0800
+@@ -148,7 +148,8 @@
+   TOP_TO_BOTTOM,
+   BOTTOM_TO_TOP
+   };
+-  
++
++public:
+   struct BuildProject
+   {
+   int posX;

Copied: glob2/repos/community-staging-x86_64/glob2-0.9.4.1-gcc44.patch (from 
rev 382948, glob2/trunk/glob2-0.9.4.1-gcc44.patch)
===
--- community-staging-x86_64/glob2-0.9.4.1-gcc44.patch  
(rev 0)
+++ community-staging-x86_64/glob2-0.9.4.1-gcc44.patch  2018-09-18 07:22:37 UTC 
(rev 382949)
@@ -0,0 +1,87 @@
+diff -up libgag/include/StreamBackend.h.orig libgag/include/StreamBackend.h
+--- libgag/include/StreamBackend.h.orig2009-03-18 03:46:47.0 
+0100
 libgag/include/StreamBackend.h 2009-06-20 14:21:10.0 +0200
+@@ -43,7 +43,7 @@ namespace GAGCore
+   virtual void flush(void) = 0;
+   virtual void read(void *data, size_t size) = 0;
+   virtual void putc(int c) = 0;
+-  virtual int getc(void) = 0;
++  virtual int get_c(void) = 0;
+   virtual void seekFromStart(int displacement) = 0;
+   virtual void seekFromEnd(int displacement) = 0;
+   virtual void seekRelative(int displacement) = 0;
+@@ -67,7 +67,7 @@ namespace GAGCore
+   virtual void flush(void) { assert(fp); fflush(fp); }
+   virtual void read(void *data, size_t size) { assert(fp); 
fread(data, size, 1, fp); }
+   virtual void putc(int c) { assert(fp); 

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

2018-05-30 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 31, 2018 @ 03:01:23
  Author: foutrelis
Revision: 333969

archrelease: copy trunk to community-staging-x86_64

Added:
  glob2/repos/community-staging-x86_64/
  glob2/repos/community-staging-x86_64/PKGBUILD
(from rev 333968, glob2/trunk/PKGBUILD)
  glob2/repos/community-staging-x86_64/fix-ftbfs-gcc49.diff
(from rev 333968, glob2/trunk/fix-ftbfs-gcc49.diff)
  glob2/repos/community-staging-x86_64/glob2-0.9.4.1-gcc44.patch
(from rev 333968, glob2/trunk/glob2-0.9.4.1-gcc44.patch)

---+
 PKGBUILD  |   46 +++
 fix-ftbfs-gcc49.diff  |   14 +++
 glob2-0.9.4.1-gcc44.patch |   87 
 3 files changed, 147 insertions(+)

Copied: glob2/repos/community-staging-x86_64/PKGBUILD (from rev 333968, 
glob2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-31 03:01:23 UTC (rev 333969)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau 
+# Contributor: Alexander Rødseth 
+# Contributor: Jaroslaw Swierczynski 
+# Contributor: Roman Kyrylych 
+
+pkgname=glob2
+pkgver=0.9.4.4
+pkgrel=35
+pkgdesc='An innovative Real-Time Strategy game which reduces micro-management 
by automatically assigning tasks to units'
+arch=('x86_64')
+url='http://www.globulation2.org/'
+license=('GPL3')
+depends=('boost-libs' 'sdl_net' 'sdl_image' 'sdl_ttf' 'libvorbis' 'speex' 'glu'
+ 'fribidi' 'xdg-utils' 'libgl' 'hicolor-icon-theme')
+makedepends=('scons' 'boost' 'mesa' 'patch')
+source=(http://dl.sv.nongnu.org/releases/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz
+glob2-0.9.4.1-gcc44.patch fix-ftbfs-gcc49.diff
+
glob2-gcc6.patch::"https://bitbucket.org/giszmo/glob2/commits/a9a16d8631db0176267b4f4aefd8e93767f8d247/raw/;)
+sha256sums=('0f4d898ec6b05ce27b4a12ef242cc26571304b90d2509932a4743c71311314b8'
+'3a0cfc06696d1aaf2d7948b5f6a09a8ce96492767039dc09bfc25182b92d7b7a'
+'2bf0e51ca5de8c6f4910b68522a0265e07bb32beefe13b9912b59e5954c5bfba'
+'40013ef6805694f3d96407ca5df46c4083f0d13677c75c8f05c53efbe3d33e20')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -p0 -i "$srcdir/glob2-0.9.4.1-gcc44.patch"
+  patch -p1 -i "$srcdir/fix-ftbfs-gcc49.diff"
+  patch -p1 -i "$srcdir/glob2-gcc6.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  scons LINKFLAGS="-lboost_system"
+}
+
+package () {
+  cd "$pkgname-$pkgver"
+
+  scons install BINDIR="$pkgdir/usr/bin" INSTALLDIR="$pkgdir/usr/share"
+  find "$pkgdir/usr/share" -type f -exec chmod 644 '{}' \;
+  install -Dm644 "data/icons/$pkgname-icon-48x48.png" \
+"$pkgdir/usr/share/pixmaps/$pkgname-icon-48x48.png"
+}

Copied: glob2/repos/community-staging-x86_64/fix-ftbfs-gcc49.diff (from rev 
333968, glob2/trunk/fix-ftbfs-gcc49.diff)
===
--- community-staging-x86_64/fix-ftbfs-gcc49.diff   
(rev 0)
+++ community-staging-x86_64/fix-ftbfs-gcc49.diff   2018-05-31 03:01:23 UTC 
(rev 333969)
@@ -0,0 +1,14 @@
+Index: glob2-0.9.4.4/src/Game.h
+===
+--- glob2-0.9.4.4.orig/src/Game.h  2014-07-14 10:36:36.705074927 +0800
 glob2-0.9.4.4/src/Game.h   2014-07-14 10:38:28.733077827 +0800
+@@ -148,7 +148,8 @@
+   TOP_TO_BOTTOM,
+   BOTTOM_TO_TOP
+   };
+-  
++
++public:
+   struct BuildProject
+   {
+   int posX;

Copied: glob2/repos/community-staging-x86_64/glob2-0.9.4.1-gcc44.patch (from 
rev 333968, glob2/trunk/glob2-0.9.4.1-gcc44.patch)
===
--- community-staging-x86_64/glob2-0.9.4.1-gcc44.patch  
(rev 0)
+++ community-staging-x86_64/glob2-0.9.4.1-gcc44.patch  2018-05-31 03:01:23 UTC 
(rev 333969)
@@ -0,0 +1,87 @@
+diff -up libgag/include/StreamBackend.h.orig libgag/include/StreamBackend.h
+--- libgag/include/StreamBackend.h.orig2009-03-18 03:46:47.0 
+0100
 libgag/include/StreamBackend.h 2009-06-20 14:21:10.0 +0200
+@@ -43,7 +43,7 @@ namespace GAGCore
+   virtual void flush(void) = 0;
+   virtual void read(void *data, size_t size) = 0;
+   virtual void putc(int c) = 0;
+-  virtual int getc(void) = 0;
++  virtual int get_c(void) = 0;
+   virtual void seekFromStart(int displacement) = 0;
+   virtual void seekFromEnd(int displacement) = 0;
+   virtual void seekRelative(int displacement) = 0;
+@@ -67,7 +67,7 @@ namespace GAGCore
+   virtual void flush(void) { assert(fp); fflush(fp); }
+   virtual void read(void *data, size_t size) { assert(fp); 
fread(data, size, 1, fp); }
+   virtual void putc(int c) { 

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

2017-12-27 Thread Jaroslav Lichtblau via arch-commits
Date: Wednesday, December 27, 2017 @ 18:23:13
  Author: jlichtblau
Revision: 276261

archrelease: copy trunk to community-staging-x86_64

Added:
  glob2/repos/community-staging-x86_64/
  glob2/repos/community-staging-x86_64/PKGBUILD
(from rev 276260, glob2/trunk/PKGBUILD)
  glob2/repos/community-staging-x86_64/fix-ftbfs-gcc49.diff
(from rev 276260, glob2/trunk/fix-ftbfs-gcc49.diff)
  glob2/repos/community-staging-x86_64/glob2-0.9.4.1-gcc44.patch
(from rev 276260, glob2/trunk/glob2-0.9.4.1-gcc44.patch)

---+
 PKGBUILD  |   46 +++
 fix-ftbfs-gcc49.diff  |   14 +++
 glob2-0.9.4.1-gcc44.patch |   87 
 3 files changed, 147 insertions(+)

Copied: glob2/repos/community-staging-x86_64/PKGBUILD (from rev 276260, 
glob2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-27 18:23:13 UTC (rev 276261)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau 
+# Contributor: Alexander Rødseth 
+# Contributor: Jaroslaw Swierczynski 
+# Contributor: Roman Kyrylych 
+
+pkgname=glob2
+pkgver=0.9.4.4
+pkgrel=34
+pkgdesc='An innovative Real-Time Strategy game which reduces micro-management 
by automatically assigning tasks to units'
+arch=('x86_64')
+url='http://www.globulation2.org/'
+license=('GPL3')
+depends=('boost-libs' 'sdl_net' 'sdl_image' 'sdl_ttf' 'libvorbis' 'speex' 'glu'
+ 'fribidi' 'xdg-utils' 'libgl' 'hicolor-icon-theme')
+makedepends=('scons' 'boost' 'mesa' 'patch')
+source=(http://dl.sv.nongnu.org/releases/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz
+glob2-0.9.4.1-gcc44.patch fix-ftbfs-gcc49.diff
+
glob2-gcc6.patch::"https://bitbucket.org/giszmo/glob2/commits/a9a16d8631db0176267b4f4aefd8e93767f8d247/raw/;)
+sha256sums=('0f4d898ec6b05ce27b4a12ef242cc26571304b90d2509932a4743c71311314b8'
+'3a0cfc06696d1aaf2d7948b5f6a09a8ce96492767039dc09bfc25182b92d7b7a'
+'2bf0e51ca5de8c6f4910b68522a0265e07bb32beefe13b9912b59e5954c5bfba'
+'40013ef6805694f3d96407ca5df46c4083f0d13677c75c8f05c53efbe3d33e20')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -p0 -i "$srcdir/glob2-0.9.4.1-gcc44.patch"
+  patch -p1 -i "$srcdir/fix-ftbfs-gcc49.diff"
+  patch -p1 -i "$srcdir/glob2-gcc6.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  scons LINKFLAGS="-lboost_system"
+}
+
+package () {
+  cd "$pkgname-$pkgver"
+
+  scons install BINDIR="$pkgdir/usr/bin" INSTALLDIR="$pkgdir/usr/share"
+  find "$pkgdir/usr/share" -type f -exec chmod 644 '{}' \;
+  install -Dm644 "data/icons/$pkgname-icon-48x48.png" \
+"$pkgdir/usr/share/pixmaps/$pkgname-icon-48x48.png"
+}

Copied: glob2/repos/community-staging-x86_64/fix-ftbfs-gcc49.diff (from rev 
276260, glob2/trunk/fix-ftbfs-gcc49.diff)
===
--- community-staging-x86_64/fix-ftbfs-gcc49.diff   
(rev 0)
+++ community-staging-x86_64/fix-ftbfs-gcc49.diff   2017-12-27 18:23:13 UTC 
(rev 276261)
@@ -0,0 +1,14 @@
+Index: glob2-0.9.4.4/src/Game.h
+===
+--- glob2-0.9.4.4.orig/src/Game.h  2014-07-14 10:36:36.705074927 +0800
 glob2-0.9.4.4/src/Game.h   2014-07-14 10:38:28.733077827 +0800
+@@ -148,7 +148,8 @@
+   TOP_TO_BOTTOM,
+   BOTTOM_TO_TOP
+   };
+-  
++
++public:
+   struct BuildProject
+   {
+   int posX;

Copied: glob2/repos/community-staging-x86_64/glob2-0.9.4.1-gcc44.patch (from 
rev 276260, glob2/trunk/glob2-0.9.4.1-gcc44.patch)
===
--- community-staging-x86_64/glob2-0.9.4.1-gcc44.patch  
(rev 0)
+++ community-staging-x86_64/glob2-0.9.4.1-gcc44.patch  2017-12-27 18:23:13 UTC 
(rev 276261)
@@ -0,0 +1,87 @@
+diff -up libgag/include/StreamBackend.h.orig libgag/include/StreamBackend.h
+--- libgag/include/StreamBackend.h.orig2009-03-18 03:46:47.0 
+0100
 libgag/include/StreamBackend.h 2009-06-20 14:21:10.0 +0200
+@@ -43,7 +43,7 @@ namespace GAGCore
+   virtual void flush(void) = 0;
+   virtual void read(void *data, size_t size) = 0;
+   virtual void putc(int c) = 0;
+-  virtual int getc(void) = 0;
++  virtual int get_c(void) = 0;
+   virtual void seekFromStart(int displacement) = 0;
+   virtual void seekFromEnd(int displacement) = 0;
+   virtual void seekRelative(int displacement) = 0;
+@@ -67,7 +67,7 @@ namespace GAGCore
+   virtual void flush(void) { assert(fp); fflush(fp); }
+   virtual void read(void *data,