pkgsrc-WIP-changes archive

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

xoreos: Update xoreos to 0.0.3



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorick>
Pushed By:	yhardy
Date:		Sun Nov 8 18:16:50 2015 +0200
Changeset:	25cc619f935340f747315191ff0f6302c915f6d8

Modified Files:
	xoreos/Makefile
	xoreos/distinfo
Removed Files:
	xoreos/patches/patch-configure.ac
	xoreos/patches/patch-m4_ax_check_zlib.m4
	xoreos/patches/patch-src_common_system.h

Log Message:
xoreos: Update xoreos to 0.0.3

xoreos 0.0.3 "Bastila" Released

   To keep things moving following the previous 0.0.2 release, we're proud to announce the release of version 0.0.3, nicknamed
   "Bastila", of xoreos and xoreos-tools.

   This release features a working script system for all targeted games, with game scripts being fired for the start of a
   campaign or module, when entering and leaving areas, and when clicking on in-game object. The singular exception is the
   Nintendo DS game Sonic Chronicles: The Dark Brotherhood, which doesn't seem to feature any scripts at all.

   The vast majority of engine functions, the functions that are called by the scripts and that do the actual work of tracking
   and changing the game state, are still missing, though. Per game there are about 850 functions (with some overlap) that
   need to be implemented. We currently have about 90, per game, of these written and working within xoreos. Moreover, many of
   the functions still missing depend on features not yet implemented.

   Apart from the script system changes, 0.0.3 also comes with support for reflective environment mapping in Neverwinter
   Nights and the two Knights of the Old Republic games. The "metallic" armor and area parts that were rendered transparent in
   xoreos are now properly reflective. This can be seen, for example, in the Sith troopers in Knights of the Old Republic, in
   various plate armor worn by NPC in Neverwinter Nights, as well as the metallic floors on the planet of Taris and the icy
   wastes of Cania. For Neverwinter Nights, xoreos now also correctly smoothes the vertex normals of (binary) models, so that
   the metallic effect is not broken by sharp polygon edges.

   Semi-transparent mask Semi-transparent mask Plus reflectivity Plus reflectivity Correctly rendered Sith trooper Correctly
   rendered Sith trooper

   Without environment map Without environment map Without normal smoothing Without normal smoothing Correctly rendered plate
   armor Correctly rendered plate armor

   On the xoreos-tools side of things, there's now a new xml2tlk tool that can convert XML files created by the tlk2xml tool
   back into a talk table TLK file. Please note that, at the moment, only non-GFF'd TLK files can be written, as used by the
   two Neverwinter Nights games, the two Knights of the Old Republic games, Jade Empire and The Witcher. TLK files as used by
   Sonic Chronicles: The Dark Brotherhood and the two Dragon Age games can not be written (they can, however, be read with the
   tlk2xml tool).

   Additionally, the convert2da tool gained the ability to write binary 2DA files, as used by the two Knights of the Old
   Republic games; and xoreostex2tga can now correctly read TPC cube maps.

   Binaries for Windows, GNU/Linux and Mac OS X are attached to the GitHub release, here for xoreos and here for xoreos-tools.
   Additionally, packages for various GNU/Linux distributions can be found on the OpenSuSE Build Service (here for xoreos,
   here for xoreos-tools) and in Arch Linux's AUR (here for xoreos, here for xoreos-tools).

   Alternatively, the repository and the source tarballs contain PKGBUILD files in dists/arch/ and a debian build directory in
   dists/debian/, which can be used to build Arch Linux and Debian/Ubuntu packages, respectively.

   And as always, we're looking for more developers to join us in our efforts to reimplement those 3D BioWare RPGs. If you
   would like to help, please feel free to contact us. :)

   URL: https://xoreos.org/blog/2015/09/30/xoreos-0-dot-0-3-bastila-released/

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

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

diffstat:
 xoreos/Makefile                          |  4 ++--
 xoreos/distinfo                          | 10 ++++------
 xoreos/patches/patch-configure.ac        | 21 ---------------------
 xoreos/patches/patch-m4_ax_check_zlib.m4 | 22 ----------------------
 xoreos/patches/patch-src_common_system.h | 17 -----------------
 5 files changed, 6 insertions(+), 68 deletions(-)

diffs:
diff --git a/xoreos/Makefile b/xoreos/Makefile
index 735358a..9423f00 100644
--- a/xoreos/Makefile
+++ b/xoreos/Makefile
@@ -2,7 +2,7 @@
 
 GITHUB_PROJECT=	xoreos
 DISTNAME=	${GITHUB_TAG}
-PKGNAME=	${GITHUB_PROJECT}-0.0.2
+PKGNAME=	${GITHUB_PROJECT}-0.0.3
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_GITHUB:=xoreos/}
 DIST_SUBDIR=	${GITHUB_PROJECT}
@@ -13,7 +13,7 @@ HOMEPAGE=	${MASTER_SITE_GITHUB:=xoreos/xoreos/}
 COMMENT=	Open source implementation of BioWare's Aurora engine
 LICENSE=	gnu-gpl-v3
 
-WRKSRC=		${WRKDIR}/xoreos-0.0.2
+WRKSRC=		${WRKDIR}/xoreos-${PKGVERSION_NOREV}
 USE_TOOLS+=	aclocal autoconf autoheader automake
 USE_LANGUAGES=	c c++
 GNU_CONFIGURE=	YES
diff --git a/xoreos/distinfo b/xoreos/distinfo
index 5806482..054adc3 100644
--- a/xoreos/distinfo
+++ b/xoreos/distinfo
@@ -1,8 +1,6 @@
 $NetBSD: distinfo,v 1.4 2015/09/05 23:04:36 yhardy Exp $
 
-SHA1 (xoreos/v0.0.2.tar.gz) = 953582a7542ab643c6b743a7ec69eac049077cd7
-RMD160 (xoreos/v0.0.2.tar.gz) = 93f52cf9910846e94545919359268de60b9c6c22
-Size (xoreos/v0.0.2.tar.gz) = 2188862 bytes
-SHA1 (patch-configure.ac) = f262de829b22b9253b08de25cd735003f0335004
-SHA1 (patch-m4_ax_check_zlib.m4) = 8893146ce8d6467933f1fde3694df9c4e0cfd0f9
-SHA1 (patch-src_common_system.h) = 7b7c46d251680da48cb62508862b1148f26355e5
+SHA1 (xoreos/v0.0.3.tar.gz) = 81e1e4bd8b0afaaf7ca54f1315f79b7afdd61c9b
+RMD160 (xoreos/v0.0.3.tar.gz) = c56366451644ed7a2eb3f0ad5428fd3d039abc34
+SHA512 (xoreos/v0.0.3.tar.gz) = 47c9e4f8f7782caea6a23d5dd80dde7c539ec230d1fbc5c30f8bb8e2eb695182a48037e6a9c5f512efe3280de42596c9ac6de99cc56b90688732a3a75f5b0bbb
+Size (xoreos/v0.0.3.tar.gz) = 2467596 bytes
diff --git a/xoreos/patches/patch-configure.ac b/xoreos/patches/patch-configure.ac
deleted file mode 100644
index 63c05d0..0000000
--- a/xoreos/patches/patch-configure.ac
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.2 2015/09/05 23:04:36 yhardy Exp $
-
-Relax version checks so that NetBSD built in libraries can be used.
-Builds and runs successfully.
-
-https://github.com/xoreos/xoreos/commit/dd0868b4d4d7de4fbcb3c6d2f4019ccb1d59c899
-https://github.com/xoreos/xoreos/commit/d23e00f44f1c03549ff4778b6a9818d07013bfe5
-
---- configure.ac.orig	2015-07-27 08:05:52.000000000 +0000
-+++ configure.ac
-@@ -107,8 +107,8 @@ AC_CHECK_FUNCS([strtof])
- 
- dnl General purpose libraries
- AX_CHECK_ICONV( , AC_MSG_ERROR([No useable iconv() function found!]))
--AX_CHECK_ZLIB(1, 2, 3, 4, , AC_MSG_ERROR([zlib(>= 1.2.3.4) is required and could not be found!]))
--AX_CHECK_LZMA(5, 0, 5, 2, , AC_MSG_ERROR([liblzma(>= 5.0.5) is required and could not be found!]))
-+AX_CHECK_ZLIB(1, 2, 3, 0, , AC_MSG_ERROR([zlib(>= 1.2.3) is required and could not be found!]))
-+AX_CHECK_LZMA(5, 0, 3, 2, , AC_MSG_ERROR([liblzma(>= 5.0.3) is required and could not be found!]))
- AX_CHECK_XML2(2, 8, 0, , AC_MSG_ERROR([libxml2(>= 2.8.0) is required and could not be found!]))
- 
- dnl Graphic libraries
diff --git a/xoreos/patches/patch-m4_ax_check_zlib.m4 b/xoreos/patches/patch-m4_ax_check_zlib.m4
deleted file mode 100644
index c2107df..0000000
--- a/xoreos/patches/patch-m4_ax_check_zlib.m4
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-m4_ax_check_zlib.m4,v 1.1 2015/09/05 23:04:36 yhardy Exp $
-
-BUILD: Use ZLIB_VERNUM to check for the correct zlib version
-
-https://github.com/xoreos/xoreos/commit/5c3716b72126295331055cf95d53e35240447bdd
-
-diff --git a/m4/ax_check_zlib.m4 b/m4/ax_check_zlib.m4
-index aae4e77..8eba895 100644
---- m4/ax_check_zlib.m4
-+++ m4/ax_check_zlib.m4
-@@ -32,10 +32,7 @@ AC_DEFUN([AX_CHECK_ZLIB], [
- #include <zlib.h>
- 
- int main(int argc, char **argv) {
--#if  (ZLIB_VER_MAJOR  < $1) || \
--    ((ZLIB_VER_MAJOR == $1) && (ZLIB_VER_MINOR  < $2)) || \
--    ((ZLIB_VER_MAJOR == $1) && (ZLIB_VER_MINOR == $2) && (ZLIB_VER_REVISION  < $3)) || \
--    ((ZLIB_VER_MAJOR == $1) && (ZLIB_VER_MINOR == $2) && (ZLIB_VER_REVISION == $3) && (ZLIB_VER_SUBREVISION < $4))
-+#if ZLIB_VERNUM < (($1 * 4096) + ($2 * 256) + ($3 * 16) + $4)
- 	#error zlib version too low
- #endif
- 
diff --git a/xoreos/patches/patch-src_common_system.h b/xoreos/patches/patch-src_common_system.h
deleted file mode 100644
index 962801e..0000000
--- a/xoreos/patches/patch-src_common_system.h
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-src_common_system.h,v 1.2 2015/09/05 23:04:36 yhardy Exp $
-
-Make sure that std::rand() is defined for all the files
-where it is needed. Should actually be done this way:
-
-https://github.com/xoreos/xoreos/commit/d678a6f7f9a9850123a512da89efe6f3a7d3e0e1
-
---- src/common/system.h.orig	2015-07-27 08:05:52.000000000 +0000
-+++ src/common/system.h
-@@ -97,6 +97,7 @@
- 	#endif
- 
- #elif defined(UNIX)
-+	#include <cstdlib>
- 
- 	#if defined(HAVE_CONFIG_H)
- 		#if defined(WORDS_BIGENDIAN)


Home | Main Index | Thread Index | Old Index