Browse Source

Merge branch 'release/1.10.x'

rdb 6 years ago
parent
commit
1ea8c9f299
3 changed files with 10 additions and 1 deletions
  1. 2 0
      BACKERS.md
  2. 1 1
      direct/src/dist/FreezeTool.py
  3. 7 0
      makepanda/makepanda.py

+ 2 - 0
BACKERS.md

@@ -23,12 +23,14 @@ This is a list of all the people who are contributing financially to Panda3D.  I
 
 
 * Sam Edwards
 * Sam Edwards
 * Max Voss
 * Max Voss
+* Will Nielsen
 
 
 ## Enthusiasts
 ## Enthusiasts
 
 
 ![Benefactors](https://opencollective.com/panda3d/tiers/enthusiast.svg?avatarHeight=48&width=600)
 ![Benefactors](https://opencollective.com/panda3d/tiers/enthusiast.svg?avatarHeight=48&width=600)
 
 
 * Eric Thomson
 * Eric Thomson
+* Kyle Roach
 
 
 ## Backers
 ## Backers
 
 

+ 1 - 1
direct/src/dist/FreezeTool.py

@@ -785,7 +785,7 @@ class Freezer:
         # already-imported modules.  (Some of them might do their own
         # already-imported modules.  (Some of them might do their own
         # special path mangling.)
         # special path mangling.)
         for moduleName, module in list(sys.modules.items()):
         for moduleName, module in list(sys.modules.items()):
-            if module and hasattr(module, '__path__'):
+            if module and getattr(module, '__path__', None) is not None:
                 path = list(getattr(module, '__path__'))
                 path = list(getattr(module, '__path__'))
                 if path:
                 if path:
                     modulefinder.AddPackagePath(moduleName, path[0])
                     modulefinder.AddPackagePath(moduleName, path[0])

+ 7 - 0
makepanda/makepanda.py

@@ -799,6 +799,13 @@ if (COMPILER=="GCC"):
     SmartPkgEnable("JPEG",      "",          ("jpeg"), "jpeglib.h")
     SmartPkgEnable("JPEG",      "",          ("jpeg"), "jpeglib.h")
     SmartPkgEnable("PNG",       "libpng",    ("png"), "png.h", tool = "libpng-config")
     SmartPkgEnable("PNG",       "libpng",    ("png"), "png.h", tool = "libpng-config")
 
 
+    # Copy freetype libraries to be specified after harfbuzz libraries as well,
+    # because there's a circular dependency between the two libraries.
+    if not PkgSkip("FREETYPE") and not PkgSkip("HARFBUZZ"):
+        for (opt, name) in LIBNAMES:
+            if opt == "FREETYPE":
+                LibName("HARFBUZZ", name)
+
     if not PkgSkip("FFMPEG"):
     if not PkgSkip("FFMPEG"):
         if GetTarget() == "darwin":
         if GetTarget() == "darwin":
             LibName("FFMPEG", "-framework VideoDecodeAcceleration")
             LibName("FFMPEG", "-framework VideoDecodeAcceleration")