summaryrefslogtreecommitdiff
path: root/devel/physfs
AgeCommit message (Collapse)AuthorFilesLines
2014-03-31Update to 2.0.3:wiz6-90/+14
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.
2013-07-17catch up to changes in Makefileobache1-2/+2
(devel/readline/buildlink3.mk => mk/readline.buildlink3.mk)
2013-07-15* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yesryoon1-2/+2
are replaced with .include "../../devel/readline/buildlink3.mk", and USE_GNU_READLINE are removed, * .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE are replaced with .include "../../mk/readline.buildlink3.mk".
2012-10-31Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-09-28Disable CDROM support on Solaris, it is missing the necessary support.jperkin1-1/+7
Fixes package.
2009-08-19Fix build error on Mac OS X. PR pkg/41657yyamano2-5/+13
2009-05-20Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlibwiz2-3/+4
major change. Reported by Robert Elz in PR 41345.
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-06-12Add DESTDIR support.joerg1-1/+3
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-09-06Fix NetBSD statvfs check to be >= 299000900 not >= 200040000abs2-4/+4
No pkgrevision bumps needed.
2005-07-25Update to 1.0.1:wiz5-23/+22
07232005 - Fixed bug in zip archiver (thanks, Jörg Walter!). Updated zlib to 1.2.3, which properly includes the security fix. Fixed "make dist" to handle .svn dirs and other file changes. Removed "debian" directory. Fixed warning in physfs.c. Updated CWProjects.sit. Upped version to 1.0.1. 07132005 - Moved to zlib122, and security fix discussed here: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096 06122005 - Added support for mingw to Unix build process (thanks, Matze!). 03162005 - Readded Spanish translation. Added Brazillian Portguese translation and fixed unlocalized string in wad.c (thanks Danny!). Some MacOS Classic fixes and MPW support (thanks, Chris!). Changed CWProjects from SITX to SIT format, so MacOS Classic users can unpack it. 02152005 - Minor comment fix in platform/pocketpc.c 01052004 - Fixed HOG archiver sorting/file lookup (thanks, Chris!) 12162004 - Fixed some documentation/header comment typos (thanks, Gaetan!) 10302004 - Fixed a strcpy that should have been a strcat. (thanks, Tolga!) Removed .cvsignore files (we're in a Subversion repository, now). Build system respects external CFLAGS now. (thanks, Adam!) 09212003 - Happy September. Fixes to bootstrap on MacOS X. Seeking now tries to respect pre-buffered data.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests.agc1-1/+2
2004-12-04Set PTHREAD_AUTO_VARS to "yes" after pthread.buildlink3.mk was changedjlam1-1/+2
not to automatically add pthread-related CFLAGS, LDFLAGS, and LIBS to the configure and build processes.
2004-11-28Fix linking, so that libpthread is pulled in.wiz3-4/+30
Remove superfluous USE_PKGLOCALEDIR.
2004-11-22USE_LANGUAGES=c c++wiz1-2/+2
2004-11-12Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're addedjlam1-3/+1
automatically by pthread.buildlink3.mk. Also, factor out the pthread library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS and use it in packages where necessary (usually the ones that don't have a GNU configure script).
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-2/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-21Update to 1.0.0:wiz7-34/+20
12292003 - Updated CodeWarrior projects from CW6 to CW7, and made a bunch of patches to get the Mac Classic target building again. Removed zlib114 from CVS repository. Updated OS/2 build batch file. Added Z_PREFIX define to Unix builds that use internal zlib. Patched up some (outdated?) Visual C project files for zlib121. Patched Doxyfile and physfs.h for newer Doxygen. Fixed OS/2 build script. Tweaked Project Builder files to at least compile. Added some last minute BeOS and Cygwin build fixes. Updated Visual Studio projects and tweaked some Makefile.am crap. Made changes so Visual Studio files would pack with DOS endlines and... Upped version to 1.0.0 (woohoo!). 12222003 - Fixed a search-and-replace mistake in win32.c that preventing compiling on Windows. (thanks, Brian!) Converted VC6 .dsp to use zlib121; made Z_PREFIX=1 enabled by default to avoid link clashes; put zlib files in separate logical folder in .dsp project; updated zlib121/zconf.h to address remaining symbols that were still causing link warnings. 12182003 - WAD archiver now puts maps into subdirectories, making them accessible to the application. (Thanks, Travis!) RPM spec and Makefile.am* now package zlib_license_change.txt (Thanks, Edward!) 12142003 - Added Doom WAD support (Thanks, Travis!) 12082003 - Fixed some win32.c deficiencies that Robby Dermody pointed out (thanks!) 12072003 - Upgraded internal zlib to 1.2.1 (thanks, Adam!) Other Unix build fixes. 11112003 - Patches to make OS/2 support compile again. 11092003 - Added __PHYSFS_platformStrnicmp(), and made qpak.c case-insensitive. 09122003 - Happy September. Actually released current tree as 0.1.9. 08262003 - Added MiNT support to build process and fixed cross-compiling (thanks Patrice Mandin!) 08092003 - Some Windows build fixes (thanks, Brian Hook!) 07232003 - Upped version to 0.1.9. 07202003 - Switched to zlib license (see new LICENSE text in root of source tree, and zlib_license_switch.txt for details). Had to remove archivers/qpak.c, the Ruby bindings from the extras directory, and the Russian and Spanish translations, since those contributors couldn't be contacted. If they show up, we'll readd them to the project, otherwise we'll eventually replace their work...everyone else signed on for the change. Committed a patch to convert all tabs to spaces (Thanks, James!). Added patch to zip.c to fix crash (thanks, dillo!). Reimplmented qpak.c, by welding together bits of grp.c and zip.c. Ed contacted me, so I could readd his contributions post-license change...I'm going to keep the new qpak.c, but I've readded his Ruby bindings and Russian translations. 06112003 - Patches to globbing.c to handle corner cases (thanks, Bradley!). 06102003 - Added globbing.c to "extras" directory. 05232003 - Rewrote MacOSX/Darwin CD-ROM detection code to use IOKit, which is much much more accurate than the previous code. Updated configure.in and Makefile.am.newautomake for some MacOSX stuff. 05222003 - Fixed win32 crash if PHYSFS_init() is called with a NULL. 05182003 - PocketPC fixes (thanks, David Hedbor!) 05162003 - Compiler warning cleanup in HOG and MVL archivers (Thanks, Bradley!) 04082003 - Minor changes to extras/abs-file.h (Thanks, Adam!) 03302003 - Fixed seeking in uncompressed ZIP entries, and handle a misbehaviour in Java's JAR creation tools. Thanks to "Tree" for pointing these bugs out. Added HOG and MVL archive support for Descent I and II (Thanks, Bradley Bell!). Added example code to do case-insensitive file searches ("extras/ignorecase.*"). 03192003 - Fixed problem in PHYSFS_mkdir() when dirs to be created already exist. Fixed problem where PHYSFS_mkdir() incorrectly tripped an alarm in __PHYSFS_verifySecurity(). 03122003 - Attempt at cleaning up some type correctness for VC++6. Made QPAK archiver case-insensitive (since Quake2 has problems without it). 01302003 - Added buffering API to OS/2 build's exported symbol list. Updated CWProjects.sit and made several fixes to get physfs building on MacOS Classic again. 01282003 - Fixed seeking in buffered files opened for read. 01072003 - .NET assembly and C# wrapper by Gregory S. Read in the extras dir.
2004-09-15Fix the build on NetBSD-2.0D and later with statvfs(2).agc2-1/+27
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam1-3/+2
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-07Dump XXX lines.snj1-6/+1
2004-03-06No longer used.snj1-26/+0
2004-03-06bl3ify.snj2-7/+38
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-2/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2003-11-06Set USE_GCC_SHLIB. Fixes linking on Solaris.gavan1-1/+2
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-13fix segfault caused by running off the zip directorydillo2-1/+15
2003-07-13initial import of physfs-0.1.8dillo6-0/+96
PhysicsFS is a library to provide abstract access to various archives. It is intended for use in video games, and the design was somewhat inspired by Quake 3's file subsystem.