summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2014-03-31 08:29:44 +0000
committerwiz <wiz>2014-03-31 08:29:44 +0000
commit07b9360a62020033ddb0631340a370aabb2b2173 (patch)
tree8f2a40558a866783bf0ea4440ae5c1a68afb7a87 /devel
parentd5c1924f58a26ddc4dd9542e614c4da5416f8f76 (diff)
downloadpkgsrc-07b9360a62020033ddb0631340a370aabb2b2173.tar.gz
Update to 2.0.3:
2.0.3: - Source code now packaged in a .tar.bz2 instead of .tar.gz. - Fixed "make docs" for out-of-tree builds. - No longer builds annoying wxWidgets test program by default. - Fixed logic bug in UTF-8 string processing. - Fixed infinite loop on some .zip files with symlinks. - Enabled CD-ROM support on Haiku OS. - Fixed Win64 support. - Fixed OpenBSD support. - Fixed building of readline support in test program. - Fixed .zip archiver losing files in some cases. - Corrected copyright dates in license. - Other minor tweaks and fixes. 2.0.1: - Fixed building with gcc 4.4. - Workaround bug with lzma archiver not being able to reopen the same file twice. - Fixed reading of /proc/self/exe on Linux when calculating base dir. Fixes unexpected PHYSFS_init() failures. - Fixed cross-compiling problems. - Fixed building with GCC on several platforms that don't support the -fvisibility=hidden option. - Added support for building with the Mac OS X 10.6 SDK. - Fixed latin1-to-utf8 encoding conversion issue. - Fixed logic error in the OS/2 code. - Replaced some C++-style comments with C-style equivalents. - Fixed compiler warning on newer Linux systems. - Added support for GNU/Hurd. - Doxygen corrections. - Setting $HOME to a missing directory on Unix will no longer cause PHYSFS_init() to fail. - Improved CD-ROM/DVD-ROM detection for Linux systems. - Corrected file sharing permissions on Windows and PocketPC. - Other minor fixes. 2.0: PhysicsFS 2.0 offers many improvements over the 1.0 branch. - New CMake-based build system. The autotools mess is gone, as are all the specialized project files for various toolchains. We now maintain one text file that describes the project, and use CMake (http://www.cmake.org/) to generate real project files from there...it produces standard Makefiles for most Unixes and BeOS, but also project files for KDevelop, Xcode, Visual Studio 6/7/8, Watcom, Borland, and other build tools on Windows and Mac OS X. If your platform or build tool isn't supported, energy is better spent on enhancing CMake than creating another project file for PhysicsFS. OS/2 still uses a batch file to build for now, but everything else is either using CMake or will be dropped. - New archiver: lzma support (7zip archives), thanks to Dennis Schridde. - Unicode support! All PhysicsFS APIs that deal with strings now expect them to be UTF-8 encoded, and will convert behind the scenes as appropriate, so eventually your UTF-8 encoded Japanese characters will become 2-byte WCHAR strings when looking for filenames on a Windows NTFS disc, etc. Windows will try to use the appropriate codepage on Win95/98/ME, and use the actual Unicode entry points on NT/XP/Vista, CFStrings on Mac OS X, etc. The platform layers in PhysicsFS for all supported OSes are now Unicode clean, except OS/2 (to be considered). There are new PhysicsFS APIs to provide conversion between some common character encodings. - Applications may now supply their own allocators for PhysicsFS to use internally. If you don't want to supply one, PhysicsFS uses a reasonable default for the platform (such as malloc() on Unix, or CoreFoundation APIs on Mac OS X). - New API: PHYSFS_mount(). This supercedes PHYSFS_addToSearchPath(). This lets you put your archives at specific points in the interpolated file system. If you have an archive mounted to "/some/subdir" then it treats it as if every file in that archive is under the /some/subdir directory (so /path/x.txt will be accessible at /some/subdir/path/x.txt). Developers can still use PHYSFS_addToSearchPath() if source/binary compatibility with PhysicsFS 1.0.x is important, and even mix and match calls with PHYSFS_mount(). - New API: PHYSFS_isInit(), to determine if the library is ready for use when you don't have access to the results of a previous PHYSFS_init() call. - New API: PHYSFS_symbolicLinksPermitted(), to determine this state when you don't control the calls to PHYSFS_permitSymbolicLinks(). - Symlinks are now supported on Windows Vista and later: PHYSFS_isSymbolicLink() and PHYSFS_permitSymbolicLinks() work with the native filesystem as expected in the new Windows version without losing binary compatibility with older Windows releases. - Public headers no longer use size_t, so they work without any system headers pre-included. - Internal mutexes are now recursive on all platforms, which means it's now safe to call most PHYSFS_* functions from inside an enumeration callback (including performing more enumerations from inside an enumeration!) - Added unarchiver program as an example application, which actually does enumerations from inside enumerations. :) - Added initial shot at a wxWidgets-based test program, to supersede test_physfs.c ... still a work in progress. - Mac OS classic support has been dropped. It could be readded if CMake is enhanced to support CodeWarrior or MPW, and the code moves from FSSpec to FSRef functions for Unicode support. Mac OS 8/9 support will remain in the stable 1.0 branch, and Mac OS X is still, of course, fully supported everywhere. - Improvements to support Cygwin, Mingw32, and MSYS. - Mac OS X now has its own Carbon-based code, split out from unix.c, which helps with functionality like Unicode and recursive mutexes...the bits in posix.c are still used on OS X, though. - OS/2 now builds with Innotek GCC and klibc instead of EMX (although can probably still work with EMX). - Most systems can make do with PHYSFS_init(NULL) now (but still should have argv[0] for cases where they can't!). This includes Linux and systems that present a Linux-like /proc filesystem with /proc/self/exe ... - Compiles on BeOS again (was broken in 1.1.0). Haiku is now a supported target platform as well. - On GCC 4 and later, will build with -fvisibility=hidden, so the only symbols exported from the library are the public APIs. This makes the library smaller and faster when built as a shared library, not to mention prevents namespace pollution. - Reduced malloc pressure a little more (see __PHYSFS_smallAlloc() in physfs_internal.h). More to come. - Other bug fixes, cleanups, refactoring, and improvements. A LOT of internal code has changed...you can check the Mercurial repository history for specific details.
Diffstat (limited to 'devel')
-rw-r--r--devel/physfs/Makefile12
-rw-r--r--devel/physfs/PLIST7
-rw-r--r--devel/physfs/distinfo11
-rw-r--r--devel/physfs/patches/patch-aa16
-rw-r--r--devel/physfs/patches/patch-ab33
-rw-r--r--devel/physfs/patches/patch-ac25
6 files changed, 14 insertions, 90 deletions
diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile
index f202493a6e5..596f6f7ee7d 100644
--- a/devel/physfs/Makefile
+++ b/devel/physfs/Makefile
@@ -1,19 +1,17 @@
-# $NetBSD: Makefile,v 1.20 2013/07/15 02:02:21 ryoon Exp $
-#
+# $NetBSD: Makefile,v 1.21 2014/03/31 08:29:44 wiz Exp $
-DISTNAME= physfs-1.0.1
-PKGREVISION= 1
+DISTNAME= physfs-2.0.3
CATEGORIES= devel
MASTER_SITES= http://offload1.icculus.org/physfs/downloads/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.icculus.org/physfs/
COMMENT= Library providing abstract access to various archives
+LICENSE= zlib
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
+USE_CMAKE= yes
USE_LANGUAGES= c c++
-CONFIGURE_ARGS+= --enable-pthreads
PTHREAD_AUTO_VARS= yes
.include "../../mk/bsd.prefs.mk"
diff --git a/devel/physfs/PLIST b/devel/physfs/PLIST
index 9d784633ea5..2af7d0af43c 100644
--- a/devel/physfs/PLIST
+++ b/devel/physfs/PLIST
@@ -1,4 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2004/09/22 08:09:29 jlam Exp $
+@comment $NetBSD: PLIST,v 1.4 2014/03/31 08:29:44 wiz Exp $
bin/test_physfs
include/physfs.h
-lib/libphysfs.la
+lib/libphysfs.a
+lib/libphysfs.so
+lib/libphysfs.so.1
+lib/libphysfs.so.${PKGVERSION}
diff --git a/devel/physfs/distinfo b/devel/physfs/distinfo
index c7b892fc6b9..8955a3b474f 100644
--- a/devel/physfs/distinfo
+++ b/devel/physfs/distinfo
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.9 2009/08/19 08:59:46 yyamano Exp $
+$NetBSD: distinfo,v 1.10 2014/03/31 08:29:44 wiz Exp $
-SHA1 (physfs-1.0.1.tar.gz) = 48803ceb60b44a4d3b7511b7a2d66a020d86e95a
-RMD160 (physfs-1.0.1.tar.gz) = 3a3fc6f66b397fe966e5aa661e3aa415055ef3b1
-Size (physfs-1.0.1.tar.gz) = 539978 bytes
-SHA1 (patch-aa) = 3d24970fa5fbd64e4fe05b763d75a64deec57a16
-SHA1 (patch-ab) = 7428d5a16123b84e16f58381dcc8e769f5bcb8c2
-SHA1 (patch-ac) = 8d16dc12e505f720b58c6d89b36d8680da30fd6e
+SHA1 (physfs-2.0.3.tar.bz2) = 327308c777009a41bbabb9159b18c4c0ac069537
+RMD160 (physfs-2.0.3.tar.bz2) = a6122fe69bdb213409dbfc4927c7a5782e063e21
+Size (physfs-2.0.3.tar.bz2) = 560628 bytes
diff --git a/devel/physfs/patches/patch-aa b/devel/physfs/patches/patch-aa
deleted file mode 100644
index 5e9de56d136..00000000000
--- a/devel/physfs/patches/patch-aa
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/07/25 12:12:54 wiz Exp $
-
---- Makefile.in.orig 2005-07-24 02:25:52.000000000 +0200
-+++ Makefile.in
-@@ -311,11 +311,9 @@ libphysfsinclude_HEADERS = \
-
- @BUILD_MACOSX_TRUE@libphysfs_la_INCLUDES = $(ZLIB_INC)
- @BUILD_MACOSX_FALSE@libphysfs_la_LDFLAGS = \
--@BUILD_MACOSX_FALSE@ -release $(LT_RELEASE) \
- @BUILD_MACOSX_FALSE@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-
- @BUILD_MACOSX_TRUE@libphysfs_la_LDFLAGS = \
--@BUILD_MACOSX_TRUE@ -release $(LT_RELEASE) \
- @BUILD_MACOSX_TRUE@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-
- @BUILD_MACOSX_TRUE@@BUILD_TEST_PHYSFS_TRUE@test_physfs_INCLUDES = -I$(top_srcdir)
diff --git a/devel/physfs/patches/patch-ab b/devel/physfs/patches/patch-ab
deleted file mode 100644
index 57861cae9d9..00000000000
--- a/devel/physfs/patches/patch-ab
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2009/08/19 08:59:46 yyamano Exp $
-
---- configure.orig 2005-07-23 15:14:17.000000000 -0700
-+++ configure
-@@ -9682,6 +9682,7 @@ cat >>confdefs.h <<\_ACEOF
- _ACEOF
-
- have_readline="yes"
-+ LIBS="-lreadline -lcurses $LIBS"
- fi
- fi
- fi
-@@ -10378,6 +10379,20 @@ echo $ECHO_N "checking if this is FreeBS
- echo "${ECHO_T}$this_is_freebsd" >&6
- fi
-
-+this_is_netbsd=no
-+if test x$we_have_sed = xyes; then
-+ echo "$as_me:$LINENO: checking if this is NetBSD" >&5
-+echo $ECHO_N "checking if this is NetBSD... $ECHO_C" >&6
-+ x=`echo $target_os |tr A-Z a-z |sed "s/.*netbsd.*/netbsd/"`
-+ if test x$x = xnetbsd; then
-+ this_is_netbsd=yes
-+ PHYSFSLDFLAGS="$PHYSFSLDFLAGS -pthread"
-+ fi
-+
-+ echo "$as_me:$LINENO: result: $this_is_netbsd" >&5
-+echo "${ECHO_T}$this_is_netbsd" >&6
-+fi
-+
- this_is_openbsd=no
- if test x$we_have_sed = xyes; then
- echo "$as_me:$LINENO: checking if this is OpenBSD" >&5
diff --git a/devel/physfs/patches/patch-ac b/devel/physfs/patches/patch-ac
deleted file mode 100644
index 99ba14019b5..00000000000
--- a/devel/physfs/patches/patch-ac
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2005/09/06 08:10:57 abs Exp $
-
---- platform/unix.c.orig 2003-05-24 05:26:03.000000000 +0200
-+++ platform/unix.c
-@@ -212,11 +212,19 @@ char **__PHYSFS_platformDetectAvailableC
-
- #elif (defined PHYSFS_HAVE_SYS_UCRED_H)
-
-+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900)
-+#include <sys/statvfs.h>
-+
-+#define STATVFS_TYPE statvfs
-+#else
-+#define STATVFS_TYPE statfs
-+#endif
-+
- char **__PHYSFS_platformDetectAvailableCDs(void)
- {
- char **retval = (char **) malloc(sizeof (char *));
- int cd_count = 1; /* We count the NULL entry. */
-- struct statfs *mntbufp = NULL;
-+ struct STATVFS_TYPE *mntbufp = NULL;
- int mounts;
- int i;
-