[arch-commits] Commit in megaglest/repos (10 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Mar 9 17:43:52 UTC 2017


    Date: Thursday, March 9, 2017 @ 17:43:52
  Author: svenstaro
Revision: 215413

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

Added:
  megaglest/repos/community-i686/PKGBUILD
    (from rev 215412, megaglest/trunk/PKGBUILD)
  megaglest/repos/community-x86_64/PKGBUILD
    (from rev 215412, megaglest/trunk/PKGBUILD)
Deleted:
  megaglest/repos/community-i686/PKGBUILD
  megaglest/repos/community-i686/megaglest-gcc6.patch
  megaglest/repos/community-i686/megaglest-miniupnpc2.patch
  megaglest/repos/community-i686/miniupnpc14.patch
  megaglest/repos/community-x86_64/PKGBUILD
  megaglest/repos/community-x86_64/megaglest-gcc6.patch
  megaglest/repos/community-x86_64/megaglest-miniupnpc2.patch
  megaglest/repos/community-x86_64/miniupnpc14.patch

---------------------------------------------+
 /PKGBUILD                                   |   96 ++++++++++++++++++++++++++
 community-i686/PKGBUILD                     |   48 -------------
 community-i686/megaglest-gcc6.patch         |   13 ---
 community-i686/megaglest-miniupnpc2.patch   |   14 ---
 community-i686/miniupnpc14.patch            |   22 -----
 community-x86_64/PKGBUILD                   |   48 -------------
 community-x86_64/megaglest-gcc6.patch       |   13 ---
 community-x86_64/megaglest-miniupnpc2.patch |   14 ---
 community-x86_64/miniupnpc14.patch          |   22 -----
 9 files changed, 96 insertions(+), 194 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-03-09 17:43:43 UTC (rev 215412)
+++ community-i686/PKGBUILD	2017-03-09 17:43:52 UTC (rev 215413)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
-
-pkgname=megaglest
-pkgver=3.12.0
-pkgrel=2
-pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/megaglest/"
-license=('GPL3')
-depends=('curl' 'megaglest-data' 'xerces-c' 'sdl2' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
-'libircclient' 'miniupnpc' 'wxgtk' 'glu' 'libx11')
-makedepends=('ftjam' 'cmake' 'mesa' 'git')
-source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}" megaglest-gcc6.patch megaglest-miniupnpc2.patch)
-md5sums=('SKIP'
-         'da91416d9e8e7a2ec0dde379474ecf6a'
-         '98259043b47888d0f5e2308539c07057')
-
-prepare() {
-  cd megaglest-source
-  # Fix build with GCC 6 (Fedora)
-  patch -p1 -i ../megaglest-gcc6.patch
-  # Fix build with miniupnpc 2 (Fedora)
-  patch -p1 -i ../megaglest-miniupnpc2.patch
-}
-
-build() {
-  cd megaglest-source
-
-  [[ -d build ]] && rm -r build
-  mkdir build && cd build
-
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_CXX_FLAGS="-lX11" \
-    -DWANT_GIT_STAMP=0
-  make VERBOSE=1
-}
-
-package() {
-  cd megaglest-source/build
-
-  make DESTDIR="$pkgdir" install
-}
-
-# vim: sw=2:ts=2 et:

Copied: megaglest/repos/community-i686/PKGBUILD (from rev 215412, megaglest/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-03-09 17:43:52 UTC (rev 215413)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=megaglest
+pkgver=3.13.0
+pkgrel=1
+pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
+arch=('i686' 'x86_64')
+url="https://megaglest.org"
+license=('GPL3')
+depends=('curl' 'megaglest-data' 'xerces-c' 'sdl2' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
+'libircclient' 'miniupnpc' 'wxgtk' 'glu' 'libx11')
+makedepends=('ftjam' 'cmake' 'mesa' 'git')
+source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}" megaglest-gcc6.patch megaglest-miniupnpc2.patch)
+md5sums=('SKIP'
+         'da91416d9e8e7a2ec0dde379474ecf6a'
+         '98259043b47888d0f5e2308539c07057')
+
+prepare() {
+  cd megaglest-source
+  # Fix build with GCC 6 (Fedora)
+  # patch -p1 -i ../megaglest-gcc6.patch
+  # Fix build with miniupnpc 2 (Fedora)
+  # patch -p1 -i ../megaglest-miniupnpc2.patch
+}
+
+build() {
+  cd megaglest-source
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_CXX_FLAGS="-lX11" \
+    -DWANT_GIT_STAMP=0
+  make VERBOSE=1
+}
+
+package() {
+  cd megaglest-source/build
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim: sw=2:ts=2 et:

Deleted: community-i686/megaglest-gcc6.patch
===================================================================
--- community-i686/megaglest-gcc6.patch	2017-03-09 17:43:43 UTC (rev 215412)
+++ community-i686/megaglest-gcc6.patch	2017-03-09 17:43:52 UTC (rev 215413)
@@ -1,13 +0,0 @@
-diff -up megaglest-3.12.0/source/shared_lib/sources/platform/common/platform_common.cpp.orig megaglest-3.12.0/source/shared_lib/sources/platform/common/platform_common.cpp
---- megaglest-3.12.0/source/shared_lib/sources/platform/common/platform_common.cpp.orig	2016-06-24 07:56:09.496569134 -0300
-+++ megaglest-3.12.0/source/shared_lib/sources/platform/common/platform_common.cpp	2016-06-24 07:56:11.962569290 -0300
-@@ -124,8 +124,7 @@ tm threadsafe_localtime(const time_t &ti
- // extracting std::time_t from std:chrono for "now"
- time_t systemtime_now() {
- #if __cplusplus > 199711L
--	system_time_point system_now = std::chrono::system_clock::now();
--	return std::chrono::system_clock::to_time_t(system_now);
-+	return std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
- #else
- 	return time(NULL);
- #endif

Deleted: community-i686/megaglest-miniupnpc2.patch
===================================================================
--- community-i686/megaglest-miniupnpc2.patch	2017-03-09 17:43:43 UTC (rev 215412)
+++ community-i686/megaglest-miniupnpc2.patch	2017-03-09 17:43:52 UTC (rev 215413)
@@ -1,14 +0,0 @@
-diff -up megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp.orig megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp
---- megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp.orig	2016-06-24 08:00:27.521585488 -0300
-+++ megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp	2016-06-24 08:00:43.947586530 -0300
-@@ -2631,7 +2631,9 @@ int UPNP_Tools::upnp_init(void *param) {
- 				if(SystemFlags::VERBOSE_MODE_ENABLED) printf("UPnP device found: %s %s\n", dev->descURL, dev->st);
- 
- 				//printf("UPnP device found: [%s] [%s] lanaddr [%s]\n", dev->descURL, dev->st,lanaddr);
--#if (defined(MINIUPNPC_API_VERSION)  && MINIUPNPC_API_VERSION >= 9) || (!defined(MINIUPNPC_VERSION_PRE1_7) && !defined(MINIUPNPC_VERSION_PRE1_6))
-+#if (defined(MINIUPNPC_API_VERSION)  && MINIUPNPC_API_VERSION >= 16)
-+				char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])), 0, NULL);
-+#elif (defined(MINIUPNPC_API_VERSION)  && MINIUPNPC_API_VERSION >= 9) || (!defined(MINIUPNPC_VERSION_PRE1_7) && !defined(MINIUPNPC_VERSION_PRE1_6))
- 				char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])),0);
- #else
- 				char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])));

Deleted: community-i686/miniupnpc14.patch
===================================================================
--- community-i686/miniupnpc14.patch	2017-03-09 17:43:43 UTC (rev 215412)
+++ community-i686/miniupnpc14.patch	2017-03-09 17:43:52 UTC (rev 215413)
@@ -1,22 +0,0 @@
-diff --git a/source/shared_lib/sources/platform/posix/socket.cpp b/source/shared_lib/sources/platform/posix/socket.cpp
-index a5d4b92..4cac74f 100644
---- a/source/shared_lib/sources/platform/posix/socket.cpp
-+++ b/source/shared_lib/sources/platform/posix/socket.cpp
-@@ -2563,10 +2563,17 @@ int UPNP_Tools::upnp_init(void *param) {
- 		const char *upnp_minissdpdsock = NULL;
- 		int upnp_sameport = 0;
- 		int upnp_ipv6 = 0;
-+#if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
-+		unsigned char upnp_ttl = 2;
-+#endif
- 		int upnp_error = 0;
- 
- #ifndef MINIUPNPC_VERSION_PRE1_6
-+# if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
-+		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, upnp_ttl, &upnp_error);
-+# else
- 		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, &upnp_error);
-+# endif
- 
- 		if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"UPnP discover returned upnp_error = %d.\n",upnp_error);
- 		if(SystemFlags::VERBOSE_MODE_ENABLED) printf("UPnP discover returned upnp_error = %d.\n",upnp_error);

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-03-09 17:43:43 UTC (rev 215412)
+++ community-x86_64/PKGBUILD	2017-03-09 17:43:52 UTC (rev 215413)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
-
-pkgname=megaglest
-pkgver=3.12.0
-pkgrel=2
-pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/megaglest/"
-license=('GPL3')
-depends=('curl' 'megaglest-data' 'xerces-c' 'sdl2' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
-'libircclient' 'miniupnpc' 'wxgtk' 'glu' 'libx11')
-makedepends=('ftjam' 'cmake' 'mesa' 'git')
-source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}" megaglest-gcc6.patch megaglest-miniupnpc2.patch)
-md5sums=('SKIP'
-         'da91416d9e8e7a2ec0dde379474ecf6a'
-         '98259043b47888d0f5e2308539c07057')
-
-prepare() {
-  cd megaglest-source
-  # Fix build with GCC 6 (Fedora)
-  patch -p1 -i ../megaglest-gcc6.patch
-  # Fix build with miniupnpc 2 (Fedora)
-  patch -p1 -i ../megaglest-miniupnpc2.patch
-}
-
-build() {
-  cd megaglest-source
-
-  [[ -d build ]] && rm -r build
-  mkdir build && cd build
-
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_CXX_FLAGS="-lX11" \
-    -DWANT_GIT_STAMP=0
-  make VERBOSE=1
-}
-
-package() {
-  cd megaglest-source/build
-
-  make DESTDIR="$pkgdir" install
-}
-
-# vim: sw=2:ts=2 et:

Copied: megaglest/repos/community-x86_64/PKGBUILD (from rev 215412, megaglest/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-03-09 17:43:52 UTC (rev 215413)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=megaglest
+pkgver=3.13.0
+pkgrel=1
+pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
+arch=('i686' 'x86_64')
+url="https://megaglest.org"
+license=('GPL3')
+depends=('curl' 'megaglest-data' 'xerces-c' 'sdl2' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
+'libircclient' 'miniupnpc' 'wxgtk' 'glu' 'libx11')
+makedepends=('ftjam' 'cmake' 'mesa' 'git')
+source=("git+https://github.com/MegaGlest/megaglest-source.git#tag=${pkgver}" megaglest-gcc6.patch megaglest-miniupnpc2.patch)
+md5sums=('SKIP'
+         'da91416d9e8e7a2ec0dde379474ecf6a'
+         '98259043b47888d0f5e2308539c07057')
+
+prepare() {
+  cd megaglest-source
+  # Fix build with GCC 6 (Fedora)
+  # patch -p1 -i ../megaglest-gcc6.patch
+  # Fix build with miniupnpc 2 (Fedora)
+  # patch -p1 -i ../megaglest-miniupnpc2.patch
+}
+
+build() {
+  cd megaglest-source
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_CXX_FLAGS="-lX11" \
+    -DWANT_GIT_STAMP=0
+  make VERBOSE=1
+}
+
+package() {
+  cd megaglest-source/build
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim: sw=2:ts=2 et:

Deleted: community-x86_64/megaglest-gcc6.patch
===================================================================
--- community-x86_64/megaglest-gcc6.patch	2017-03-09 17:43:43 UTC (rev 215412)
+++ community-x86_64/megaglest-gcc6.patch	2017-03-09 17:43:52 UTC (rev 215413)
@@ -1,13 +0,0 @@
-diff -up megaglest-3.12.0/source/shared_lib/sources/platform/common/platform_common.cpp.orig megaglest-3.12.0/source/shared_lib/sources/platform/common/platform_common.cpp
---- megaglest-3.12.0/source/shared_lib/sources/platform/common/platform_common.cpp.orig	2016-06-24 07:56:09.496569134 -0300
-+++ megaglest-3.12.0/source/shared_lib/sources/platform/common/platform_common.cpp	2016-06-24 07:56:11.962569290 -0300
-@@ -124,8 +124,7 @@ tm threadsafe_localtime(const time_t &ti
- // extracting std::time_t from std:chrono for "now"
- time_t systemtime_now() {
- #if __cplusplus > 199711L
--	system_time_point system_now = std::chrono::system_clock::now();
--	return std::chrono::system_clock::to_time_t(system_now);
-+	return std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
- #else
- 	return time(NULL);
- #endif

Deleted: community-x86_64/megaglest-miniupnpc2.patch
===================================================================
--- community-x86_64/megaglest-miniupnpc2.patch	2017-03-09 17:43:43 UTC (rev 215412)
+++ community-x86_64/megaglest-miniupnpc2.patch	2017-03-09 17:43:52 UTC (rev 215413)
@@ -1,14 +0,0 @@
-diff -up megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp.orig megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp
---- megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp.orig	2016-06-24 08:00:27.521585488 -0300
-+++ megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp	2016-06-24 08:00:43.947586530 -0300
-@@ -2631,7 +2631,9 @@ int UPNP_Tools::upnp_init(void *param) {
- 				if(SystemFlags::VERBOSE_MODE_ENABLED) printf("UPnP device found: %s %s\n", dev->descURL, dev->st);
- 
- 				//printf("UPnP device found: [%s] [%s] lanaddr [%s]\n", dev->descURL, dev->st,lanaddr);
--#if (defined(MINIUPNPC_API_VERSION)  && MINIUPNPC_API_VERSION >= 9) || (!defined(MINIUPNPC_VERSION_PRE1_7) && !defined(MINIUPNPC_VERSION_PRE1_6))
-+#if (defined(MINIUPNPC_API_VERSION)  && MINIUPNPC_API_VERSION >= 16)
-+				char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])), 0, NULL);
-+#elif (defined(MINIUPNPC_API_VERSION)  && MINIUPNPC_API_VERSION >= 9) || (!defined(MINIUPNPC_VERSION_PRE1_7) && !defined(MINIUPNPC_VERSION_PRE1_6))
- 				char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])),0);
- #else
- 				char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])));

Deleted: community-x86_64/miniupnpc14.patch
===================================================================
--- community-x86_64/miniupnpc14.patch	2017-03-09 17:43:43 UTC (rev 215412)
+++ community-x86_64/miniupnpc14.patch	2017-03-09 17:43:52 UTC (rev 215413)
@@ -1,22 +0,0 @@
-diff --git a/source/shared_lib/sources/platform/posix/socket.cpp b/source/shared_lib/sources/platform/posix/socket.cpp
-index a5d4b92..4cac74f 100644
---- a/source/shared_lib/sources/platform/posix/socket.cpp
-+++ b/source/shared_lib/sources/platform/posix/socket.cpp
-@@ -2563,10 +2563,17 @@ int UPNP_Tools::upnp_init(void *param) {
- 		const char *upnp_minissdpdsock = NULL;
- 		int upnp_sameport = 0;
- 		int upnp_ipv6 = 0;
-+#if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
-+		unsigned char upnp_ttl = 2;
-+#endif
- 		int upnp_error = 0;
- 
- #ifndef MINIUPNPC_VERSION_PRE1_6
-+# if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
-+		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, upnp_ttl, &upnp_error);
-+# else
- 		devlist = upnpDiscover(upnp_delay, upnp_multicastif, upnp_minissdpdsock, upnp_sameport, upnp_ipv6, &upnp_error);
-+# endif
- 
- 		if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"UPnP discover returned upnp_error = %d.\n",upnp_error);
- 		if(SystemFlags::VERBOSE_MODE_ENABLED) printf("UPnP discover returned upnp_error = %d.\n",upnp_error);



More information about the arch-commits mailing list