Commit Graph

295 Commits

Author SHA1 Message Date
rdb ba606bd283 Don't tuck away the plugin installer in some directory 2009-11-30 14:30:24 +00:00
rdb ee274fe75b # OSX needs the -R argument to "cp" to copy symbolic links correctly, it doesn't have -d. How weird. 2009-11-29 18:02:07 +00:00
rdb 7f4bb9e9c3 Preserve symlinks when copying the libraries, on OSX 2009-11-29 14:48:31 +00:00
rdb dc28741f60 Sorry, we *can* rely on hdiutil's output value. 2009-11-29 13:08:16 +00:00
rdb 255f09f978 We can't rely on hdiutil's return value 2009-11-29 13:03:01 +00:00
rdb c97791c734 Explicit chmod 2009-11-29 12:31:37 +00:00
rdb 66626a1c34 Explicitly set permissions for debian control directory 2009-11-29 11:50:31 +00:00
rdb 2b1f09a032 Add --nocolor option to forcibly disable output coloring 2009-11-28 16:01:27 +00:00
rdb 3ccc0d4603 Fix issues with pkg-config result not being read out properly always, resulting in gtk-stats not being built 2009-11-27 19:40:09 +00:00
rdb cffb6fcdcd Add MAKEPANDA defsymbol to export module init function as initlibp3dtoolconfig instead of initlibdtoolconfig 2009-11-26 17:28:33 +00:00
rdb 887a0daf01 Fix module load issues on Linux, I think. 2009-11-25 19:43:10 +00:00
rdb fd6b34f6e2 ptloader is also a dynamic module 2009-11-25 07:53:37 +00:00
rdb 4bb50f3b0e Audio and display libraries should not be versioned 2009-11-25 07:51:41 +00:00
rdb eb295d96fa HAVE_P3D_PLUGIN 2009-11-25 07:29:32 +00:00
rdb 6286526551 Oops, forgot quotes 2009-11-24 19:09:56 +00:00
rdb 29f6399d7c Unset DEFAULT_PRC_DIR for plugin build, and set logfile directories to compiled-in defaults 2009-11-24 18:57:49 +00:00
gogg 4042ec4e9a Add _SCL_SECURE and _SCL_THROWS (AKA checked iterators) settings to dtool_config generation. See: http://msdn.microsoft.com/en-us/library/aa985965.aspx 2009-11-23 19:26:17 +00:00
rdb f448429ee3 Respect LDFLAGS environment variable on unix 2009-11-23 16:23:01 +00:00
rdb 222741c365 Fix compilation errors with plugin build 2009-11-22 12:05:46 +00:00
rdb e0bc983296 Support prebuilt p3d files. Also, let's disable the new library system for the rtdist build until we have pythonwrapper<>c++lib separation working well. 2009-11-21 18:21:58 +00:00
rdb 02db4e5ae1 Pass -soname to the GNU linker 2009-11-19 18:48:35 +00:00
rdb 3469e528ba This should fix libswscale problems for real, I think 2009-11-19 13:52:10 +00:00
Bei Yang b2dad16e42 Added Maya 2010 support
Added some BIGOBJ flags as well as NOD:LIBCMT to MFC ignore flags
2009-11-18 17:24:32 +00:00
rdb 1f6b7283bc OSX convention for libraries is libpanda.1.7.0.dylib, not libpanda.dylib.1.7.0 2009-11-18 09:24:02 +00:00
rdb fbc94e1b20 Apparently, the order of ffmpeg libraries on the linker command-line matters, when they are statically linked 2009-11-16 15:38:04 +00:00
rdb 1f3069c7e1 Fix typo 2009-11-16 13:32:24 +00:00
rdb 825edbb06a Proper libp3vision compliation 2009-11-16 13:13:03 +00:00
rdb 906033ed79 Library is now version numbered on UNIX (e.g. libp3dtool.so.1.7.0) 2009-11-16 13:09:35 +00:00
rdb 30d06fc9cf correct libswscale detection (I hope), add libp3vision 2009-11-16 12:44:18 +00:00
rdb d1cf678e74 Fix conflicting function names, and split up ffmpeg and swscale as thirdparty libs 2009-11-16 08:31:37 +00:00
rdb c7b77fb6f0 Automatically locate potentially conflicting ppremake and makepanda libraries on the library path, and warn if it finds them 2009-11-15 08:39:50 +00:00
rdb a22c4ffa62 Fix to find xulrunner correctly on openSUSE. Also, the OSX installer should now automatically uninstall 1.6.x, remove the chunk from .bash_profile and configure ~/.MacOSX/environment.plist. 2009-11-15 08:18:15 +00:00
rdb 4a380d4208 Fix custom outputdir code 2009-11-13 14:34:59 +00:00
rdb 7e334e781e We can't apply two resource files to the same file if they each specify an icon 2009-11-11 15:18:17 +00:00
rdb 9126fad01b Resource file fixes - and added resource file generation for ActiveX plugin 2009-11-11 15:16:02 +00:00
rdb a565600ea0 Resource file generation (not for activex yet), cleaner system for moving around potentially conflicting ppremake files, and bugfix for --osxtarget 2009-11-11 12:37:44 +00:00
rdb 54ea5fbf3b brand new OSX metapackage installer 2009-11-11 11:49:57 +00:00
rdb 603ffa7215 New panda3d.* import structure 2009-11-04 16:15:49 +00:00
rdb 66669906b9 Apply patch from Nz (aka Gogg) to support overriding dtool_config/prc_parameter variables from command-line 2009-10-30 13:47:15 +00:00
rdb c1a6111753 More OSX universal binary and crosscompilation stuff. Added -mmacosx-version-min 2009-10-29 13:49:44 +00:00
rdb 0cb686d5a9 Fix for missing -isysroot on commandline in rtdist build on OSX 2009-10-29 08:43:43 +00:00
rdb 1acc929b5a Fix for proper location of X11 2009-10-29 07:05:37 +00:00
rdb 5895933fb5 Apply fixes from Hypnos 2009-10-29 07:01:14 +00:00
rdb c2874f3c9b Experimental: --osxtarget 2009-10-28 20:00:46 +00:00
rdb b594cb7dbd X11 is also plugin requirement 2009-10-28 16:38:08 +00:00
rdb 1e07f44712 Don't try to locate that much thirdparty packages in a runtime build 2009-10-28 15:46:15 +00:00
rdb aa719e845c Workaround OSX p3dcert crash in Wx by compiling p3dcert with optimize level 2 2009-10-28 15:42:24 +00:00
rdb e669fa07f3 Don't depend on pandatool for the runtime 2009-10-28 13:57:23 +00:00
rdb 4a22b8f104 Fix nppanda3d crash on OSX, I hope 2009-10-28 13:33:30 +00:00
rdb 0f383eaccb Snow Leopard doesn't support PPC anymore, apparently 2009-10-28 13:29:28 +00:00
rdb 788541d38b Fix cross-compilation on OSX Leopard 2009-10-28 13:27:52 +00:00
rdb 7937aef9e9 Fix browser plugin issues on windows 2009-10-27 15:38:35 +00:00
rdb a784967166 Fix plugin crash on OSX 2009-10-27 14:37:49 +00:00
rdb b2c85f0322 Fixes for MFC linking on windows 2009-10-27 13:51:24 +00:00
rdb 32c5b3b66d Fix small issue on windows 2009-10-26 16:40:14 +00:00
rdb 019b6ebeab Now don't break the linux build 2009-10-26 16:08:20 +00:00
rdb 13b23ef618 Fix bug in makepanda with linking of temporary static libraries into dynamic libraries 2009-10-26 15:41:21 +00:00
rdb cd50df5693 Oops, this belongs in coreapi, not in the runtime 2009-10-26 15:37:21 +00:00
rdb 0a44c21557 subprocbuffer; fixes OSX plugin crash (I hope) 2009-10-26 15:33:11 +00:00
rdb e02bd5afda Various fixes, am too lazy to check what exactly I did here 2009-10-26 15:05:18 +00:00
rdb 0f1bf6212a MFC stuff. Compile ActiveX plugin on Windows 2009-10-26 10:19:05 +00:00
rdb d208973a68 Fix for OSX 2009-10-25 18:10:48 +00:00
rdb 3d52ca5e05 Plugin needs libpng and libjpeg as well 2009-10-25 17:39:07 +00:00
rdb cc747af818 p3dpythonw, libp3dpython 2009-10-25 14:26:38 +00:00
rdb 12d0c3f765 Link nppanda3d.dll/.so dynamically, even when LINK_ALL_STATIC is enabled 2009-10-25 07:46:32 +00:00
rdb 270d79658e Move the model-cache to ~/Library/Caches/, as well 2009-10-24 19:01:51 +00:00
rdb 8882312968 Experimental.
* Real support for LINK_ALL_STATIC in makepanda
* Split rtdist and plugin build systems
* Build both application bundle and 'panda3d' executable on Mac
* Get 'models' package working well.
2009-10-24 18:29:07 +00:00
rdb e9e69c9e10 Another minor mistake 2009-10-24 09:45:17 +00:00
rdb 0435142f77 Minor mistake 2009-10-24 09:40:56 +00:00
rdb f176b9fd1d * Attempt at making a Panda3D.app application bundle for the runtime on OSX
* Don't link python into panda3d.exe - link pystub instead
* Invoke ppackage.py with -OO, depending on optimize mode
* Don't attempt to pzip the models if compiled without zlib
2009-10-24 09:29:32 +00:00
rdb 3b52f1c49b make_installer.py now ported to OSX 2009-10-22 13:37:26 +00:00
rdb bd3220b55a Oops, don't break for linux/win 2009-10-21 18:44:36 +00:00
rdb 4324018227 Missed one case 2009-10-21 18:43:29 +00:00
rdb 4a0548bfca find_root_dir_assist 2009-10-21 18:30:20 +00:00
rdb f8576df31f Bug fix for windows runtime build 2009-10-21 17:34:22 +00:00
rdb 000bd60935 Bugfix when compiling without pytohn 2009-10-20 18:49:31 +00:00
rdb d4cebac397 Remove RUNTIME_PLATFORM stuff - this is now handled in dtool_platform.h 2009-10-20 11:13:54 +00:00
rdb 60499275aa Don't cross-compile on OSX for the runtime build 2009-10-20 11:11:03 +00:00
rdb ac0992bc87 I don't trust linking against the Python framework for the runtime build. 2009-10-20 08:39:55 +00:00
rdb 7795094ea8 Fix carbon issues on OSX 2009-10-20 08:13:21 +00:00
rdb 4e9896ab9e Assorted stuff. Also, removed the part about Python framework detection on OSX - makepanda now compiles against the version of Python you are running it from. 2009-10-19 18:43:50 +00:00
rdb 63d6ed7ae4 New stuff for makepanda:
* Compile fixes for FCollada on Unix
* Compile correctly against WxWidgets on Windows and OSX
* Now supports .idl/.tlb/.ocx on Windows
* Step towards getting the ActiveX plugin compiled
* pkg-config fixes
2009-10-19 11:58:34 +00:00
rdb a2ee3a779a Invoke make_installer.py for the windows runtime build 2009-10-18 16:50:15 +00:00
rdb 422587532d Fix problems with incorrect side-by-side configuration on Windows 2009-10-18 13:23:14 +00:00
rdb 5d84be4214 Fixes for plugin versioning 2009-10-17 18:35:40 +00:00
rdb 68f224ff08 Experimental; copy the whole 'direct' tree to 'built' to avoid the hacky __init__.py (which we can't use anymore because of the way the runtime is packaged) 2009-10-17 14:33:01 +00:00
rdb 16a549218d Fix a minor issue with the runtime build 2009-10-17 06:32:28 +00:00
rdb c2be49507f Make CgGL optional if Cg wasn't found 2009-10-16 13:52:32 +00:00
rdb b008651714 Fix silly mistake with %{python_sitearch} 2009-10-15 15:17:10 +00:00
rdb 1dc5aab1e8 Closes: 450015 2009-10-14 17:08:58 +00:00
rdb 831a885370 Put chmod, ranlib and strip in the right place 2009-10-14 06:55:25 +00:00
rdb e96a8443a3 Some generic fixes, and fcollada build fixes, and I added plugin_version stuff. 2009-10-14 06:46:25 +00:00
rdb 4df192c752 No GLX on osx 2009-09-22 18:57:56 +00:00
rdb a76d9682b4 CgGL is in the Cg framework on OSX 2009-09-22 17:27:04 +00:00
rdb 1d42c6dd43 Proper CgGL linking 2009-09-22 16:21:42 +00:00
rdb 067c6ec0a8 Fix include dir issue with freetype 2009-09-21 11:00:49 +00:00
rdb f4cf3bfdd4 Overhaul of makepanda's thirdparty package handling. It now supports searching the system for thirdparty packages, and makes great use of pkg-config. 2009-09-20 19:23:17 +00:00
rdb 9261a7baad - Integrate new plugin certificate tool
- Support for wx-config (needed to compile p3dcert)
- Added some flags that make sure the windows linker won't accidentally pick up symbols from the debug runtime
- Some generic linker fixes
2009-09-19 09:05:14 +00:00
rdb f97959e94b Full rewrite of ppython. Instead of invoking the python interpreter by launching it's process, it interfaces to the Python API to import the script as module.
Basically, it's a hybrid between what it used to be and what the scripts would be, frozen.
The advantage of the first is that ppython is now a very small wrapper instead of the hacky problematic mess it used to be.
The advantage of the second is that the scripts are not as big as if they would be frozen. And they can be modified.
2009-09-18 16:08:30 +00:00
rdb 141fa88c7c Fix compile issue with ppython tools 2009-09-18 14:34:15 +00:00