pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import torque3d-3.9 as wip/torque3d.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Jul 30 14:45:31 2016 +0200
Changeset:	0e22e5b894a0b562e6c8aebdb287d9cae87bcba8

Added Files:
	torque3d/DESCR
	torque3d/Makefile
	torque3d/PLIST
	torque3d/distinfo
	torque3d/patches/patch-Engine_lib_libogg_include_ogg_os__types.h
	torque3d/patches/patch-Engine_lib_ljpeg_jconfig.h
	torque3d/patches/patch-Engine_lib_pcre_pcre__stringpiece.h
	torque3d/patches/patch-Engine_lib_zlib_gzwrite.c
	torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXFileio.cpp
	torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXNet.cpp
	torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXProcessControl.cpp
	torque3d/patches/patch-Engine_source_platform_types.gcc.h
	torque3d/patches/patch-Templates_Empty_web_source_npplugin_windows_nptypes.h
	torque3d/patches/patch-Templates_Full_web_source_npplugin_windows_nptypes.h

Log Message:
Import torque3d-3.9 as wip/torque3d.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0e22e5b894a0b562e6c8aebdb287d9cae87bcba8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 torque3d/DESCR                                     |  0
 torque3d/Makefile                                  | 32 ++++++++++++++++++++++
 torque3d/PLIST                                     |  1 +
 torque3d/distinfo                                  | 16 +++++++++++
 ...patch-Engine_lib_libogg_include_ogg_os__types.h | 20 ++++++++++++++
 torque3d/patches/patch-Engine_lib_ljpeg_jconfig.h  | 13 +++++++++
 .../patch-Engine_lib_pcre_pcre__stringpiece.h      | 13 +++++++++
 torque3d/patches/patch-Engine_lib_zlib_gzwrite.c   | 13 +++++++++
 ...Engine_source_platformX86UNIX_x86UNIXFileio.cpp | 13 +++++++++
 ...ch-Engine_source_platformX86UNIX_x86UNIXNet.cpp | 20 ++++++++++++++
 ...ource_platformX86UNIX_x86UNIXProcessControl.cpp | 13 +++++++++
 .../patch-Engine_source_platform_types.gcc.h       | 23 ++++++++++++++++
 ...tes_Empty_web_source_npplugin_windows_nptypes.h | 13 +++++++++
 ...ates_Full_web_source_npplugin_windows_nptypes.h | 13 +++++++++
 14 files changed, 203 insertions(+)

diffs:
diff --git a/torque3d/DESCR b/torque3d/DESCR
new file mode 100644
index 0000000..e69de29
diff --git a/torque3d/Makefile b/torque3d/Makefile
new file mode 100644
index 0000000..b508baa
--- /dev/null
+++ b/torque3d/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+DISTNAME=	Torque3D-3.9
+PKGNAME=	${DISTNAME:tl}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=GarageGames/}
+
+MAINTAINER=	pkgsrc-users%NetBSd.org@localhost
+HOMEPAGE=	http://torque3d.org/
+COMMENT=	Open Source version of Torque 3D from GarageGames
+LICENSE=	mit
+
+CONFIGURE_DIRS=	${WRKDIR}/build
+CMAKE_ARG_PATH=	${WRKSRC}
+USE_CMAKE=	yes
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c c++
+
+CMAKE_ARGS+=	-DTORQUE_APP_NAME:STRING="TORQUE3D"
+
+PKGCONFIG_OVERRIDE+=	Engine/lib/bullet/bullet.pc.in
+PKGCONFIG_OVERRIDE+=	Engine/lib/lpng/libpng.pc.in
+PKGCONFIG_OVERRIDE+=	Engine/lib/lpng/scripts/libpng.pc.in
+PKGCONFIG_OVERRIDE+=	Engine/lib/sdl/sdl2.pc.in
+
+post-extract:
+	${RUN} mkdir -p ${WRKDIR}/build
+
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/torque3d/PLIST b/torque3d/PLIST
new file mode 100644
index 0000000..48d96a5
--- /dev/null
+++ b/torque3d/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/torque3d/distinfo b/torque3d/distinfo
new file mode 100644
index 0000000..7d6ec2a
--- /dev/null
+++ b/torque3d/distinfo
@@ -0,0 +1,16 @@
+$NetBSD$
+
+SHA1 (Torque3D-3.9.tar.gz) = ee1dcf360b1c8085e947a2d4b01cc70d2cf2f7fc
+RMD160 (Torque3D-3.9.tar.gz) = c88161909a120baaeea9908de77f97cfc0519716
+SHA512 (Torque3D-3.9.tar.gz) = 55fe619829f44e1a41d898b2658302e4f97d29f254adf27d340d84f9a823f31d4433dfb8af3008d66d8c5b51d25ad08d6bdfd7551fe879eea14b7603c358ccab
+Size (Torque3D-3.9.tar.gz) = 152712952 bytes
+SHA1 (patch-Engine_lib_libogg_include_ogg_os__types.h) = bfcd6a7e7cc62a4c735de3bb0c12f179859b493a
+SHA1 (patch-Engine_lib_ljpeg_jconfig.h) = e39fb89c13ec7ff9f5fddc84f698eab4c1a27c70
+SHA1 (patch-Engine_lib_pcre_pcre__stringpiece.h) = fca0b3578e8aa3fedc30fe2d64be2372445dd2d2
+SHA1 (patch-Engine_lib_zlib_gzwrite.c) = 8aed4872f780e61095776799066a47c19235d8a4
+SHA1 (patch-Engine_source_platformX86UNIX_x86UNIXFileio.cpp) = bea7e967c0a22ca939e45cc0477c24aa0f039115
+SHA1 (patch-Engine_source_platformX86UNIX_x86UNIXNet.cpp) = 23fc76773ddb1867ee75f03237d78760de95b832
+SHA1 (patch-Engine_source_platformX86UNIX_x86UNIXProcessControl.cpp) = c2d41dc5fb77d95ad281ccb4d9eca5f9391892ad
+SHA1 (patch-Engine_source_platform_types.gcc.h) = d69c849302ded243cf9ca3ae55b4026f8fc55e1d
+SHA1 (patch-Templates_Empty_web_source_npplugin_windows_nptypes.h) = 383eb30df544aead2601ac524c3400619c5ac5b3
+SHA1 (patch-Templates_Full_web_source_npplugin_windows_nptypes.h) = 008079b5a1a40e5d12f10e7bda5ccd8c51147803
diff --git a/torque3d/patches/patch-Engine_lib_libogg_include_ogg_os__types.h b/torque3d/patches/patch-Engine_lib_libogg_include_ogg_os__types.h
new file mode 100644
index 0000000..3ac82c6
--- /dev/null
+++ b/torque3d/patches/patch-Engine_lib_libogg_include_ogg_os__types.h
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- Engine/lib/libogg/include/ogg/os_types.h.orig	2016-07-12 13:56:01.000000000 +0000
++++ Engine/lib/libogg/include/ogg/os_types.h
+@@ -138,6 +138,15 @@
+    typedef unsigned int ogg_uint32_t;
+    typedef long long int ogg_int64_t;
+ 
++#elif defined(__NetBSD__)
++
++#  include <stdint.h>
++   typedef int16_t ogg_int16_t;
++   typedef uint16_t ogg_uint16_t;
++   typedef int32_t ogg_int32_t;
++   typedef uint32_t ogg_uint32_t;
++   typedef int64_t ogg_int64_t;
++
+ #else
+ 
+ #  include <ogg/config_types.h>
diff --git a/torque3d/patches/patch-Engine_lib_ljpeg_jconfig.h b/torque3d/patches/patch-Engine_lib_ljpeg_jconfig.h
new file mode 100644
index 0000000..ad811f2
--- /dev/null
+++ b/torque3d/patches/patch-Engine_lib_ljpeg_jconfig.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Engine/lib/ljpeg/jconfig.h.orig	2016-07-12 13:56:01.000000000 +0000
++++ Engine/lib/ljpeg/jconfig.h
+@@ -24,7 +24,7 @@
+    #define JCONFIG_INCLUDED
+ #endif
+ 
+-#if (( __GNUC__ >= 2 ) && (defined (__CYGWIN32__) || defined (__linux__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__WIN32__) || defined(SN_TARGET_PS3)) )
++#if (( __GNUC__ >= 2 ) && (defined (__CYGWIN32__) || defined (__linux__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__WIN32__) || defined(SN_TARGET_PS3)) )
+    #include "jconfig.gcc.linux.h"
+    #define JCONFIG_INCLUDED
+ #endif
diff --git a/torque3d/patches/patch-Engine_lib_pcre_pcre__stringpiece.h b/torque3d/patches/patch-Engine_lib_pcre_pcre__stringpiece.h
new file mode 100644
index 0000000..305c3fd
--- /dev/null
+++ b/torque3d/patches/patch-Engine_lib_pcre_pcre__stringpiece.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Engine/lib/pcre/pcre_stringpiece.h.orig	2016-07-12 13:56:01.000000000 +0000
++++ Engine/lib/pcre/pcre_stringpiece.h
+@@ -43,7 +43,7 @@
+ #include <iosfwd>    // for ostream forward-declaration
+ 
+ // Don't use bits/type_traits.h on Linux - Andrew Galante, GG 8/2/2009
+-#if !defined(_MSC_VER) && !defined(__CELLOS_LV2__) && !defined(__APPLE__) && !defined(__linux__)
++#if !defined(_MSC_VER) && !defined(__CELLOS_LV2__) && !defined(__APPLE__) && !defined(__linux__) && !defined(__NetBSD__)
+ #ifdef __MINGW32__
+ #define HAVE_TYPE_TRAITS
+ #include <bits/type_traits.h>
diff --git a/torque3d/patches/patch-Engine_lib_zlib_gzwrite.c b/torque3d/patches/patch-Engine_lib_zlib_gzwrite.c
new file mode 100644
index 0000000..eb18a26
--- /dev/null
+++ b/torque3d/patches/patch-Engine_lib_zlib_gzwrite.c
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Engine/lib/zlib/gzwrite.c.orig	2016-07-12 13:56:01.000000000 +0000
++++ Engine/lib/zlib/gzwrite.c
+@@ -5,6 +5,8 @@
+ 
+ #include "gzguts.h"
+ 
++#include <unistd.h>
++
+ /* Local functions */
+ local int gz_init OF((gz_statep));
+ local int gz_comp OF((gz_statep, int));
diff --git a/torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXFileio.cpp b/torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXFileio.cpp
new file mode 100644
index 0000000..ebdfb2c
--- /dev/null
+++ b/torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXFileio.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Engine/source/platformX86UNIX/x86UNIXFileio.cpp.orig	2016-07-12 13:56:01.000000000 +0000
++++ Engine/source/platformX86UNIX/x86UNIXFileio.cpp
+@@ -58,7 +58,7 @@
+  #include "cinterface/cinterface.h"
+  #include "core/volume.h"
+ 
+- #if defined(__FreeBSD__)
++ #if defined(__FreeBSD__) || defined(__NetBSD__)
+     #include <sys/types.h>
+  #endif
+  #include <utime.h>
diff --git a/torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXNet.cpp b/torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXNet.cpp
new file mode 100644
index 0000000..e672c1c
--- /dev/null
+++ b/torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXNet.cpp
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- Engine/source/platformX86UNIX/x86UNIXNet.cpp.orig	2016-07-12 13:56:01.000000000 +0000
++++ Engine/source/platformX86UNIX/x86UNIXNet.cpp
+@@ -40,12 +40,14 @@
+ #include <net/if_ppp.h>
+ #include <sys/ioctl.h>   /* ioctl() */
+ #include <net/ppp_defs.h>
+-#elif defined(__OpenBSD__) || defined(__FreeBSD__)
++#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/ioctl.h>   /* ioctl() */
+ #include <net/ppp_defs.h>
+ #endif
+ 
++#if !defined(__NetBSD__)
+ #include <netipx/ipx.h>
++#endif
+ #include <stdlib.h>
+ 
+ #include "console/console.h"
diff --git a/torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXProcessControl.cpp b/torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXProcessControl.cpp
new file mode 100644
index 0000000..b66f038
--- /dev/null
+++ b/torque3d/patches/patch-Engine_source_platformX86UNIX_x86UNIXProcessControl.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Engine/source/platformX86UNIX/x86UNIXProcessControl.cpp.orig	2016-07-12 13:56:01.000000000 +0000
++++ Engine/source/platformX86UNIX/x86UNIXProcessControl.cpp
+@@ -128,7 +128,7 @@ void ProcessControlInit()
+ 
+    // we're not interested in the exit status of child processes, so this 
+    // prevents zombies from accumulating.
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+    signal(SIGCHLD, SIG_IGN);
+ #else
+    signal(SIGCLD, SIG_IGN);
diff --git a/torque3d/patches/patch-Engine_source_platform_types.gcc.h b/torque3d/patches/patch-Engine_source_platform_types.gcc.h
new file mode 100644
index 0000000..b7a51ed
--- /dev/null
+++ b/torque3d/patches/patch-Engine_source_platform_types.gcc.h
@@ -0,0 +1,23 @@
+$NetBSD$
+
+--- Engine/source/platform/types.gcc.h.orig	2016-07-12 13:56:01.000000000 +0000
++++ Engine/source/platform/types.gcc.h
+@@ -99,6 +99,13 @@ typedef unsigned long  U64;
+ #  define TORQUE_SUPPORTS_GCC_INLINE_X86_ASM
+ #  include "platform/types.posix.h"
+ 
++#elif defined(__NetBSD__)
++#  define TORQUE_OS_STRING "NetBSD"
++#  define TORQUE_OS_NETBSD
++#  define TORQUE_SUPPORTS_NASM
++#  define TORQUE_SUPPORTS_GCC_INLINE_X86_ASM
++#  include "platform/types.posix.h"
++
+ #elif defined(__APPLE__)
+ #  define TORQUE_OS_STRING "MacOS X"
+ #  define TORQUE_OS_MAC
+@@ -176,4 +183,3 @@ typedef unsigned long  U64;
+ #endif
+ 
+ #endif // INCLUDED_TYPES_GCC_H
+-
diff --git a/torque3d/patches/patch-Templates_Empty_web_source_npplugin_windows_nptypes.h b/torque3d/patches/patch-Templates_Empty_web_source_npplugin_windows_nptypes.h
new file mode 100644
index 0000000..bc82c2e
--- /dev/null
+++ b/torque3d/patches/patch-Templates_Empty_web_source_npplugin_windows_nptypes.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Templates/Empty/web/source/npplugin/windows/nptypes.h.orig	2016-07-12 13:56:01.000000000 +0000
++++ Templates/Empty/web/source/npplugin/windows/nptypes.h
+@@ -58,7 +58,7 @@
+   #ifndef __cplusplus
+     typedef int bool;
+   #endif
+-#elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD)
++#elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD) || defined(__NetBSD__)
+   /*
+    * BSD/OS, FreeBSD, and OpenBSD ship sys/types.h that define int32_t and 
+    * u_int32_t.
diff --git a/torque3d/patches/patch-Templates_Full_web_source_npplugin_windows_nptypes.h b/torque3d/patches/patch-Templates_Full_web_source_npplugin_windows_nptypes.h
new file mode 100644
index 0000000..84125cd
--- /dev/null
+++ b/torque3d/patches/patch-Templates_Full_web_source_npplugin_windows_nptypes.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Templates/Full/web/source/npplugin/windows/nptypes.h.orig	2016-07-12 13:56:01.000000000 +0000
++++ Templates/Full/web/source/npplugin/windows/nptypes.h
+@@ -58,7 +58,7 @@
+   #ifndef __cplusplus
+     typedef int bool;
+   #endif
+-#elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD)
++#elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD) || defined(__NetBSD__)
+   /*
+    * BSD/OS, FreeBSD, and OpenBSD ship sys/types.h that define int32_t and 
+    * u_int32_t.


Home | Main Index | Thread Index | Old Index