Commit Graph

806 Commits

Author SHA1 Message Date
rdb 3282656f0e makepanda: linking deploy-stub on Linux requires -lrt and -lutil 2017-01-25 13:34:06 +01:00
rdb 8352f27a23 makepanda: deploy-stub needs to link to libpython 2017-01-10 23:15:30 +01:00
rdb 49905bad16 Merge branch 'master' into deploy-ng 2017-01-10 22:06:59 +01:00
rdb 92dab31d80 makepanda: improve Python location code on Linux and macOS, support Python 3.x builds on macOS, drop use of pythonX-config 2017-01-10 21:00:43 +01:00
rdb e1a54f52a8 makepanda: add --no-egg/--use-egg flags to enable/disable egg features. 2017-01-09 23:58:41 +01:00
rdb f8580d753a Merge branch 'master' into deploy-ng 2017-01-09 23:53:56 +01:00
rdb 43a5f2a9f2 Fixes for Python 3.5:
- Disable conversion to Windows newlines, which is causing double Windows newlines for Config.prc
- We need to copy vcruntime140.dll to the bin directory for Python 3.5+ build using MSVC 2010 to work
2017-01-09 22:27:30 +01:00
rdb 58c1581c0c Fix .whl version when no explicit --version is specified 2017-01-08 17:20:17 -05:00
Mitchell Stokes c746296e57 makepanda: Give WHLVERSION a better default than None 2017-01-05 19:28:21 -08:00
Mitchell Stokes d6aba43492 Merge branch 'master' into deploy-ng 2017-01-05 18:12:43 -08:00
rdb 31136124c7 deploy-ng: fix issues with Python 3 / Windows / Unicode, add deploy-stubw 2017-01-06 01:42:00 +01:00
rdb 53752bd376 Remove packpanda and eggcacher, don't require libpython on Linux 2017-01-05 17:22:11 +01:00
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 c839dc60d6 Merge remote-tracking branch 'origin/master' into deploy-ng 2016-12-28 12:11:37 +01: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 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
Mitchell Stokes 3ab9bde73d deploy-ng: Only build deploy-stub if Python is available 2016-12-18 10:53:40 -08:00
rdb bae19a203b deploy-ng: changes to make it work on Windows 2016-12-08 13:21:10 +01:00
rdb 70386795f4 Merge branch 'master' into deploy-ng 2016-12-05 18:10:49 -05: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 f61fbd356d Set rpath on deploy-stub to $ORIGIN for Linux builds
This allows game runtimes to search their directory for shared
libraries instead of needing to use LD_LIBRARY_PATH.
2016-11-13 11:55:46 -08:00
Mitchell Stokes aa6e722941 Create experimental yapdt (Yet Another Panda3D Deployment Tool)
This uses FreezeTool and a new deploy-stub binary to create frozen
applications without needing a compiler when running the tool. This tool
is for experimenting with deployment options and is currently inflexible
and hacky.
2016-11-08 19:40:30 -08: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 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 6962f56915 Add back pandac.extension_native_helpers for compatibility 2016-09-14 22:45:19 +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 9963fe2c3c Fix a couple of compile warnings, reduce unnecessary includes 2016-06-23 22:59:50 +02:00
rdb 5675e0de56 Merge branch 'release/1.9.x' 2016-06-07 22:08:00 +02:00
rdb 3951a191a3 Fix compile issues with ffmpeg on FreeBSD and Mac OS X 2016-06-07 14:06:53 +02:00
rdb 0d770deeaa Add --rtdist-version option to makepanda 2016-06-03 02:40:14 +02: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 38fdb80276 Various thirdparty build fixes 2016-05-03 18:49:28 +02:00