Commit Graph

1056 Commits

Author SHA1 Message Date
rdb 127cbc3b38 Windows installer improvements and fixes:
- copy .ico file
- write installer log to install.log
- restore python DLL to bin directory
2017-01-05 17:19:40 +01:00
rdb 40e981e485 makepanda: enable C++11 support by default 2017-01-04 22:47:58 +01:00
rdb fa851ae5ac Allow custom version to be passed on to makewheel when building with --wheel 2017-01-04 22:42:05 +01:00
rdb 325302b623 makewheel: support building single-arch .whl from a fat Panda build 2016-12-26 17:36:38 +01:00
rdb 8c6a2a57cb Handle symlinks correctly when correcting Mac library deps 2016-12-26 07:09:21 -05:00
rdb 741ff454ed We need to link tools that use interrogatedb with pystub again 2016-12-25 22:53:43 +01:00
rdb ab5b5e7e74 Merge branch 'release/1.9.x' 2016-12-25 22:47:22 +01:00
rdb 23a345437a makewheel changes for macOS, manylinux1, Python 2.6 2016-12-25 16:10:06 +01:00
rdb 28bb737597 Load X11 extensions dynamically; don't expect them to be there at compile time
Add x-cursor-size variable for overriding XCursor size.
2016-12-24 22:21:53 +01:00
rdb 601b6b8678 Tweaks for building with static thirdparty libs on Linux
Sneak in a function used by makewheel
2016-12-22 21:30:30 +01:00
rdb c1d6e93166 Don't link extension modules with libpython; changes to help w/ building whls
This fixes compatibility issues with homebrew Python on Mac OS X.

This introduces a --no-directscripts flag to disable building packpanda and eggcacher, which require linking with libpython (which is not available on manylinux).  When building a wheel, the packpanda and eggcacher modules can instead be added to console_scripts in the entry_points definition.
2016-12-21 17:57:13 +01:00
rdb b2ccf6c0d2 Add ability to produce .whl file
Based on original version by pennomi
Closes: #83
2016-12-19 23:35:05 +01:00
rdb 04819719fb Fix erroneous report in installer while installing libs 2016-12-19 23:32:23 +01:00
rdb 6344c05b18 Clean up dynamic loading of Win32 funcs, remove makepanda touchinput setting, remove checks for pre-WinXP 2016-12-05 17:21:09 -05:00
rdb c410d812ff Remove some settings from dtool_config.h to prevent rebuilds:
- HAVE_OPENCV
 - OPENCV_VER_23
 - HAVE_FFMPEG
 - HAVE_SWSCALE
 - HAVE_SWRESAMPLE
2016-12-05 16:32:13 -05:00
rdb 83507e413f Fix Mac OS X Snow Leopard build 2016-12-05 16:30:44 -05:00
rdb 46c8990f40 Switch to clang by default on Mac; drop burden of supporting GCC 4.2
Also get rid of that annoying message about -pthread in clang.
2016-12-05 16:14:24 -05:00
rdb 6259feb934 Fix issue building against copy of Python that was compiled with MSVC 2010 2016-11-30 00:12:26 +01:00
rdb 335debee54 Fix error building debian package 2016-11-29 23:53:57 +01:00
rdb 80af51477a Backport ability to create a pdb zipfile to 1.9 2016-11-29 22:59:51 +01:00
rdb 948ff8562d Support targeting Windows XP with MSVC 2015 2016-11-29 22:41:46 +01:00
rdb 1e2961f7ef Improve windows installer: .prc file assoc, use DOS newlines for prc, error if installing 64-bit version on 32-bit Windows 2016-11-29 21:54:51 +01:00
Mitchell Stokes 59b0913b0b Cleanup .gitignore files
Remove all .gitignore files in subdirectories and add a few new ignores
to the top-level directory .gitignore file.
2016-10-30 20:06:12 -07:00
rdb e1ea1e8fb0 Fix link error on Windows with WANT_NATIVE_NET 2016-10-24 22:51:28 +02:00
rdb 1049088f11 Clean up some of the dtool_config.h variables 2016-10-24 22:10:46 +02:00
rdb 4381412d23 Merge branch 'release/1.9.x' 2016-09-28 00:14:21 +02:00
rdb 231ca47edd Windows installer: More robust and less error-prone PATH changing 2016-09-28 00:08:28 +02:00
rdb 4fb5d19df9 Windows: add right-click file associations for .pz/.mf/.egg/.bam files, produce .zip files containing the .pdb files 2016-09-16 00:37:29 +02:00
rdb b53d58c5c6 Merge branch 'release/1.9.x' 2016-09-15 02:30:34 +02:00
rdb 7b555b17b1 Fix rare Windows install bug: clears PATH env var if longer than 1024 chars 2016-09-15 02:27:39 +02:00
rdb 6962f56915 Add back pandac.extension_native_helpers for compatibility 2016-09-14 22:45:19 +02:00
rdb a8d24ac28a Better and more robust location checking for Windows 10 SDK
Closes: #120
2016-09-02 16:12:09 +02:00
rdb 29ea65bb3f Merge branch 'release/1.9.x' 2016-08-09 01:44:21 +02:00
rdb 645d179227 Add back missing libp3pystub.a to Mac OS X SDK 2016-08-09 01:29:24 +02:00
rdb 800d3cd9c9 Fix Python compile issues on Mac; don't use framework 2016-07-20 18:46:30 -04:00
rdb 47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
rdb 46147e9a09 Maya 2016.5 on 1.9 branch; fix Maya 2016.5 build on Mac OS X 2016-06-27 01:12:51 +02:00
rdb 9963fe2c3c Fix a couple of compile warnings, reduce unnecessary includes 2016-06-23 22:59:50 +02:00
rdb fede8b8d69 Fix compile issue on Mac OS X 2016-06-22 22:24:33 +02:00
Chris Brunner e04fc75531 Added support for Maya 2016.5 2016-06-08 10:15:17 -07:00
rdb 5675e0de56 Merge branch 'release/1.9.x' 2016-06-07 22:08:00 +02:00
rdb d53b2ca80e Backport various bugfixes from master, among which:
- Fix Windows pbuffer crash on Intel cards
 - Fix crash when using pnmimage.write with unsupported format
 - Fix GLSL diagnostics on Mesa GLES2 compiler
 - Reduce warning severity when resizing immutable storage texture
 - Print more debug info when FrameBufferProperties are insufficient
 - Fix "Bam file contains objects of unknown type: MovingPart<LMatrix4f>"
 - Fix memory leak in BulletTriangleMesh
 - Fix pmerge in Python 3
2016-06-07 14:40:27 +02:00
rdb 3951a191a3 Fix compile issues with ffmpeg on FreeBSD and Mac OS X 2016-06-07 14:06:53 +02:00
rdb 8d05ef3022 Assorted fixes 2016-06-03 22:23:42 +02:00
rdb 0d770deeaa Add --rtdist-version option to makepanda 2016-06-03 02:40:14 +02:00
staticfox e6baa23c08
makepandacore: Add missing argument in exit reason 2016-05-21 19:21:26 -04:00
rdb 18874fa151 Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
rdb aa5f2685ab Use EXT_SUFFIX for Python modules to prevent conflict when multiple Python 3 versions are installed on Ubuntu 2016-05-06 21:21:37 +02:00
rdb 38fdb80276 Various thirdparty build fixes 2016-05-03 18:49:28 +02:00
David Rose 0b224a320a Merge branch 'master' of https://github.com/panda3d/panda3d 2016-05-02 15:05:25 -07:00
David Rose 403dd39934 add support for OpenEXR floating-point image files 2016-05-02 14:44:53 -07:00
rdb 288452a861 Changes to help with static build, allow linking OpenAL statically 2016-04-29 19:54:24 +02:00
rdb 369df86096 Fix a compile issue or two 2016-04-29 19:17:47 +02:00
rdb 6b83261ea4 Implement stb_image, support loading HDR, PSD, GIF images 2016-04-28 17:10:44 +02:00
rdb c8f59367d1 More robust location of libraries in thirdparty packages on Linux 2016-04-24 01:45:24 +02:00
rdb 879b8a5ccb Remove win-extras (smartroom/BeyondQuestion, serial, JOD, phidgets) from the Windows SDK
Let me know if you still need any of these and we'll find a better spot for them.
2016-04-22 17:38:15 +02:00
rdb 2c1cb4c313 Compile fixes for latest VRPN and TIFF 2016-04-22 17:18:27 +02:00
rdb 32bc7cd819 Changes to allow compiling Panda with MSVC 2015 2016-04-19 15:43:02 +02:00
rdb 5a2a9a3020 Merge branch 'release/1.9.x' 2016-04-12 20:46:32 +02:00
rdb 449d4c8a89 Build fix on Mac when building without libRocket 2016-04-12 18:19:55 +02:00
rdb 33ed30b178 Support defining bam factory functions in Python 2016-04-09 19:28:33 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb 54fa31ba17 StandardError -> Exception, other 2to3 changes, threaded 2to3 2016-03-25 17:13:09 +01:00
rdb 6334f2511d Let's not display deprecation warnings in release builds 2016-03-25 16:41:58 +01:00
rdb 2abad9649b Remove X11-specific stuff from egldisplay, instead using x11display as common base 2016-03-19 18:46:10 +01:00
rdb 5cfe2b89e7 Support getting FBO attachment with only 8 red bits 2016-03-12 21:05:16 +01:00
rdb 40739c6b5f Fix link issues and crashes with Android build 2016-02-06 11:46:56 +01:00
rdb ffaa7419ec Fix Android compile on Windows 2016-02-05 23:21:23 +01:00
rdb 0d1394fa23 Add makepanda instructions to compile motion trail, by user request 2016-01-30 19:15:40 +01:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 571fd7d72e Add test script to travis 2015-12-06 22:38:24 +01:00
rdb 77bf02742b Remove unused direct.http package 2015-12-06 22:36:58 +01:00
rdb 50d2e8324e Merge branch 'release/1.9.x'
Conflicts:
	.travis.yml
	direct/src/directtools/DirectLights.py
	panda/src/nativenet/buffered_datagramconnection.h
2015-12-06 22:32:12 +01:00
rdb 1bbfc1d9f6 Put .lib files for .pyd modules in built/lib, so they are packaged into the SDK 2015-12-06 15:16:48 +01:00
rdb c644e7ae49 Merge branch 'release/1.9.x' 2015-12-03 16:38:25 +01:00
rdb eb2c9f51f5 More fixes for custom incdir/libdir 2015-12-03 16:38:10 +01:00
rdb 956097b632 Merge branch 'release/1.9.x'
Conflicts:
	pandatool/src/assimp/pandaLogger.h
2015-12-03 16:14:07 +01:00
rdb 2680680df0 Fix when passing custom incdir/libdir for Eigen 2015-12-03 16:09:54 +01:00
rdb e5fac610c8 Remove unnecessary HAVE_EGL setting in dtool_config.h 2015-11-28 16:23:18 +01:00
rdb a819e9055b Merge branch 'release/1.9.x' 2015-11-25 23:42:36 +01:00
rdb f6b66fc5db Fix PhysX compile issues on Mac 2015-11-25 02:01:07 +01:00
rdb 3c2f820ad8 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/DeploymentTools.py
2015-11-24 13:39:36 +01:00
rdb 5ba93acf5c Workaround to allow building the rtdist on Mac 10.11, which removes DYLD_LIBRARY_PATH 2015-11-23 23:33:38 +01:00
rdb 37509e7c93 Fix makepanda --clean option when built dir doesn't exist yet 2015-11-23 23:33:27 +01:00
rdb 0e063694d7 Reorganise installation choices in Mac OS X installer 2015-11-23 18:06:38 +01:00
rdb 84d8298ee2 Change location of Mac tools from /Developer/Tools/Panda3D to /Developer/Panda3D/bin, to fix relative loader_path issue 2015-11-23 17:06:53 +01:00
rdb 1d86d604b2 More reliable file copy behaviour - handle directory symlinks better, too 2015-11-23 16:20:39 +01:00
rdb d3a0603a7b Include Eigen headers in the Mac OS X SDK as well 2015-11-23 16:18:35 +01:00
rdb 9eb0a9196b Fix Mac libRocket library issues in 1.9.0 (particularly on El Capitan) 2015-11-21 16:55:27 +01:00
rdb 0a9f9887f9 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/Packager.py
	direct/src/p3d/ppackage.py
	makepanda/makepandacore.py
2015-11-21 03:17:33 +01:00
rdb 5b4b6ced70 Build .exe wrapper for .p3d deploy tools on Windows 2015-11-20 20:25:46 +01:00
rdb f0e8dd4117 Build .p3d tools as part of SDK build process, if host URL and distributor are specified 2015-11-20 17:44:28 +01:00
rdb a617376e16 Merge branch 'release/1.9.x'
Conflicts:
	dtool/src/interrogate/interfaceMakerPythonNative.cxx
2015-11-20 02:37:46 +01:00
rdb 7fa407a118 Add code to locate June 2010 DirectX SDK outside of the registry 2015-11-20 02:05:18 +01:00
rdb da6d5f442c Don't require setting system PATH to import panda3d.* (backport from master) 2015-11-20 00:56:31 +01:00
rdb 9f1898b935 Fix errors with Windows filenames in CopyFile() 2015-11-19 23:27:33 +01:00
rdb 673263dc22 Copy vcruntime140.dll to bin, necessary for building with Python 3.5 2015-11-19 23:21:00 +01:00
rdb c93e50ca05 Merge branch 'release/1.9.x'
Conflicts:
	.travis.yml
	dtool/src/cppparser/cppBison.cxx.prebuilt
	dtool/src/cppparser/cppBison.yxx
	makepanda/makepanda.py
2015-11-19 18:43:13 +01:00
rdb e0dea2b342 Add --clean flag to makepanda to force a clean build 2015-11-19 15:31:24 +01:00
rdb 1d2ba26e26 Merge branch 'release/1.9.x' 2015-11-13 19:26:57 +01:00