rdb
fd5258fe09
makepanda: Skip building TinyOsxGraphicsWindow when building 64-bit
...
Also disable linking AGL on macOS SDK 26.0, which has removed it
2025-11-12 11:39:22 +01:00
rdb
c2de5c306f
makepanda: Don't link p3dcparse with pystub
...
pystub doesn't really define enough symbols to be useful with newer Python versions, and it seems that there are compile errors with python 3.13t on manylinux2014 due to conflicts with the Python library itself
2024-10-30 20:19:05 +01:00
rdb
e238588118
makepanda: Fix wrong flag for excluding pythonXX_d.lib
2024-10-30 13:17:11 +01:00
rdb
b6ec48b27c
Fix invalid metadata version 2.0 (should be 2.1)
2024-05-28 22:28:37 +02:00
rdb
d44f9ae3dc
makepanda: Use new dist hooks location introduced by 1f41edd
...
Fixes #1624
2024-03-27 12:01:53 +01:00
rdb
06b9e3af8b
makepanda: Remove net.py(d) file if present
...
In anticipation of #1466
[skip ci]
2024-03-01 17:50:48 +01:00
Mitchell Stokes
521cad206d
makepanda: Stop using deprecated distutils ( #1549 )
...
Just duplicating locations.py from direct. It's a bit ugly, but
makepanda is getting phased out anyways.
Co-authored-by: rdb <git@rdb.name>
2023-10-13 10:13:28 +02:00
rdb
d5263b597b
makepanda: Strip version suffixes when parsing setup.cfg metadata
...
Fixes #1539
2023-10-09 17:02:57 +02:00
rdb
dcc96a60b1
makepanda: Make version parsing in CreatePandaVersionFiles more robust
2023-10-09 16:50:59 +02:00
rdb
0a8e4e31f8
makepanda: Add handling for manylinux_2_28
...
Note that this version drops 32-bit intel support
2022-12-06 14:43:06 +01:00
rdb
50cfdebd9c
pstats: Integrate Python profiler with PStats
...
Enabled with `pstats-python-profiler 1`, requires recent version of PStats server.
Currently, it is limited to the main thread only. Support for other threads may be added at a later date.
2022-11-29 16:00:09 +01:00
rdb
03d411c937
dist: Workaround to disable autodiscovery in setuptools>=61.0.0
...
See #1394 - creates a new finalize_distribution_options entry point that makes sure that either `py_modules` or `packages` is present, otherwise setuptools will activate its new auto-discovery system, even for custom commands that don't need setuptools' discovery system.
However, this is not a great solution, because it applies when running all setuptools commands, not just build_apps.
2022-11-19 13:14:18 +01:00
rdb
84a69e1689
makepanda: Don't re-export harfbuzz symbols from libpanda.so
...
Shot in the dark at fixing #1391 (but this change is a good idea anyway)
2022-11-13 11:25:45 +01:00
rdb
587f9f7bcd
makepanda: Fix issues when building on arm64 without `--arch` flag
...
Logic in various places seems to assume `OSX_ARCHS` contains `arm64` in this case
2022-10-31 19:25:47 +01:00
rdb
77e3033c42
makepanda: Fix ExecutionEnvironment.args being empty on Linux
2022-10-19 15:45:40 +02:00
rdb
cd7abbb797
makepanda: Copy missing CMotionTrail header file
2022-10-17 16:39:42 +02:00
rdb
8617eb917c
makepanda: Force DT_RPATH instead of DT_RUNPATH for deploy-stub
...
Fixes #1358
2022-08-31 10:28:08 +02:00
rdb
c966a6898c
makepanda: Fix naming of wheels for macOS 12.0
2022-08-31 09:22:40 +02:00
rdb
6fb2acc9cd
makepanda: Always build tinydisplay, even without X11, for offline rendering
...
Closes #1288
Co-authored-by: Brian Gontowski <brian@gontowski.com>
2022-05-10 15:58:34 +02:00
rdb
b401884f1c
makepanda: Support building with OpenEXR 3.0 or 3.1 on Windows
2022-02-07 11:12:10 +01:00
rdb
a37dfa727e
makepanda: Support building with mimalloc on Windows, experimentally
...
Partial backport of 07545bc9e3 for Windows, requires building with `--override USE_MEMORY_MIMALLOC=1 --override USE_DELETED_CHAIN=UNDEF` for optimum effect
2022-02-06 15:29:25 +01:00
rdb
a12359275f
makepanda: Support building with OpenSSL 1.1.1 on Windows
2022-02-06 15:29:21 +01:00
rdb
bd37e8776f
makepanda: Fix platform tag on aarch64 manylinux
...
Wheels ended up being tagged as i686.
2022-01-14 09:58:57 +01:00
Stephen A. Imhoff
e3a49050a0
Correct location searched for 64-bit libc-2.24
2022-01-03 22:57:03 +00:00
rdb
ce0d020cfd
makepanda: Add handling for Windows 11 SDK
2021-12-31 13:10:20 +01:00
Stephen A. Imhoff
a723567a3a
Add manylinux_2_24 for building
2021-12-30 21:59:08 +00:00
rdb
987f2f036b
makepanda: Fix clang crash on macOS when compiling Objective-C++ code
2021-12-26 12:30:00 +01:00
Stephen A. Imhoff
c2635d2498
makepanda: Add rpmversion for packaging.
...
Closes #1220
2021-12-26 12:30:00 +01:00
Daniel
afadb556a2
maya: Add support for Maya 2022
...
Closes #1213
2021-12-12 22:20:21 +01:00
Daniel
6acb94f451
makepanda: Support Visual Studio 2022
...
Closes #1214
2021-12-12 22:18:47 +01:00
rdb
985ec3061c
makepanda: Fix deprecated spelling for threading API
...
The new spelling is available since Python 2.6, so there is no chance of breakage here.
2021-12-04 20:37:14 +01:00
rdb
9410418840
pnmimagetypes: Changes to support compilation with OpenEXR 3.0.1
2021-05-11 11:38:40 +02:00
rdb
7be4b7c3bb
device: Support evdev gamepads on FreeBSD
2021-04-05 17:14:30 +02:00
rdb
94806801e3
Add p3headlessgl render plug-in on Linux using EGL as fallback for GLX
...
Fixes #1086
2021-03-23 15:04:20 +01:00
rdb
2531f09024
makepanda: Don't enable X11 on Android
2021-03-21 14:55:46 +01:00
rdb
57f7d04231
makepanda: Don't set HAVE_GLX in dtool_config.h
...
It's only used for disambiguation in pandagl.cxx, we don't need to expose this, and it should be possible to build pandagl.cxx without GLX
2021-02-24 17:34:56 +01:00
rdb
d4830f40f0
makepanda: Fix strftime error using SOURCE_DATE_EPOCH on Windows
...
Seems to occur when using Python 2.7
2021-02-24 15:51:45 +01:00
rdb
f84111a693
makepanda: Don't disable Cg/FMODEx on macOS without arch flags
...
Fixes #1119
2021-02-24 09:46:53 +01:00
rdb
28615c6a9e
interval: Support awaiting CInterval from coroutines
...
This is a partial implementation of #909 - it is somewhat inefficient (not suspending the task using a future) and does not implement cancellation. A more complete implementation may follow in 1.11.0.
2021-02-07 12:40:58 +01:00
rdb
54638bfc10
dtoolutil: Allow overriding PandaSystem::get_build_date()
...
This is useful to create bit-for-bit reproducible builds. In the buildbots, we set it to the timestamp of the latest commit.
2021-01-18 16:41:22 +01:00
rdb
8924b77da4
egldisplay: Backport changes for creating headless EGL contexts
...
Backport of fbc4947455 and 9f1289b492
See #557
2021-01-17 16:46:57 +01:00
rdb
6690b2d86e
makepanda: Fix build error when flex is absent
2021-01-02 19:29:56 +01:00
rdb
748dd61615
makepanda: Require flex 2.5.9 for building egg lexer
...
Otherwise, fall back to prebuilt file instead
2021-01-02 12:55:34 +01:00
rdb
c77593f3f0
egg: add pickle support to most EggData classes
2021-01-01 17:06:23 +01:00
rdb
8852c835fc
collide: Support pickling for CollisionTraverser, HandlerEvent+Queue
...
Fixes #1090
2020-12-31 16:57:34 +01:00
rdb
5cd6469fd8
makepanda: Don't make built/Frameworks directory unless needed
...
It is no longer needed if we don't ship Cg as a framework, see #1079
[skip ci]
2020-12-21 22:10:53 +01:00
rdb
2d65738a18
makepanda: Respect lib-10.6 dir when copying dylibs/running install_name_tool
...
In the 1.10.8 thirdparty packages, OpenCV is split into a lib folder and a lib-10.6 folder, so we should use the proper dylibs to still be able to target 10.6
2020-12-19 14:10:51 +01:00
rdb
9544911127
makepanda: fix error building with --universal flag
...
[skip ci]
2020-12-18 12:54:35 +01:00
rdb
a18edf54b7
makepanda: Changes to support build for macOS 11.0 / arm64
...
Besides use of --universal with --osxtarget 11, it's now also possible to create a fat build with ARM64 by using --osxtarget 10.9 --arch x86_64 --arch arm64 (it will use the 11.x SDK but target 10.9)
FMOD Ex is also being disabled when building against the 10.14 SDK or higher, because the necessary libstdc++.6.0.9.dylib is no longer being shipped. FMOD Ex, libRocket and Cg are all disabled on ARM64 (FMOD Ex and Cg don't have the binaries available, libRocket could theoretically be built but there's no point as there won't be an ARM64 build of Python 2.7, and besides, we've deprecated it anyway).
Fixes #1062
2020-12-17 13:00:22 +01:00
rdb
10ef9b3456
makepanda: recognize --osxtarget 11, --universal should add arm64
2020-12-15 12:32:40 +01:00