123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
- index 8f33537..dad3d0c 100755
- --- a/Mac/BuildScript/build-installer.py
- +++ b/Mac/BuildScript/build-installer.py
- @@ -264,17 +264,17 @@ def library_recipes():
- tk_patches = ['tk868_on_10_8_10_9.patch']
-
- else:
- - tcl_tk_ver='8.6.12'
- - tcl_checksum='87ea890821d2221f2ab5157bc5eb885f'
- + tcl_tk_ver='8.6.13'
- + tcl_checksum='0e4358aade2f5db8a8b6f2f6d9481ec2'
-
- - tk_checksum='1d6dcf6120356e3d211e056dff5e462a'
- + tk_checksum='95adc33d55a133ee29bc9f81efdf31b2'
- tk_patches = [ ]
-
-
- result.extend([
- dict(
- name="Tcl %s"%(tcl_tk_ver,),
- - url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl%s-src.tar.gz"%(tcl_tk_ver,),
- + url="https://fossies.org/linux/misc/tcl%s-src.tar.gz"%(tcl_tk_ver,),
- checksum=tcl_checksum,
- buildDir="unix",
- configure_pre=[
- @@ -291,7 +291,7 @@ def library_recipes():
- ),
- dict(
- name="Tk %s"%(tcl_tk_ver,),
- - url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk%s-src.tar.gz"%(tcl_tk_ver,),
- + url="https://fossies.org/linux/misc/tk%s-src.tar.gz"%(tcl_tk_ver,),
- checksum=tk_checksum,
- patches=tk_patches,
- buildDir="unix",
- @@ -318,6 +318,7 @@ def library_recipes():
- checksum='ef68674fb47a8b8e741b34e429d86e9d',
- configure_pre=[
- '--disable-dependency-tracking',
- + '--disable-nls'
- ]
- ),
- ])
- @@ -347,7 +348,7 @@ def library_recipes():
- "--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib"%(getVersion(),),
- ],
- patchscripts=[
- - ("ftp://ftp.invisible-island.net/ncurses//5.9/ncurses-5.9-20120616-patch.sh.bz2",
- + ("https://src.fedoraproject.org/repo/pkgs/ncurses/ncurses-5.9-20120616-patch.sh.bz2/f54bf02a349f96a7c4f0d00922f3a0d4/ncurses-5.9-20120616-patch.sh.bz2",
- "f54bf02a349f96a7c4f0d00922f3a0d4"),
- ],
- useLDFlags=False,
- @@ -1011,19 +1012,29 @@ def buildRecipe(recipe, basedir, archList):
- configure_args.remove('--disable-shared')
- configure_args.extend(args)
-
- - if recipe.get('useLDFlags', 1):
- - configure_args.extend([
- - "CFLAGS=%s-mmacosx-version-min=%s -arch %s "
- - "-I%s/usr/local/include"%(
- - recipe.get('extra_cflags', ''),
- + if not recipe.get('suppressCFlags', False):
- + if recipe.get('useLDFlags', 1):
- + configure_args.extend([
- + "CFLAGS=%s-mmacosx-version-min=%s -arch %s "
- + "-I%s/usr/local/include"%(
- + recipe.get('extra_cflags', ''),
- + DEPTARGET,
- + ' -arch '.join(archList),
- + shellQuote(basedir)[1:-1],),
- + "LDFLAGS=-mmacosx-version-min=%s -L%s/usr/local/lib -arch %s"%(
- DEPTARGET,
- - ' -arch '.join(archList),
- - shellQuote(basedir)[1:-1],),
- - "LDFLAGS=-mmacosx-version-min=%s -L%s/usr/local/lib -arch %s"%(
- - DEPTARGET,
- - shellQuote(basedir)[1:-1],
- - ' -arch '.join(archList)),
- - ])
- + shellQuote(basedir)[1:-1],
- + ' -arch '.join(archList)),
- + ])
- + else:
- + configure_args.extend([
- + "CFLAGS=%s-mmacosx-version-min=%s -arch %s "
- + "-I%s/usr/local/include"%(
- + recipe.get('extra_cflags', ''),
- + DEPTARGET,
- + ' -arch '.join(archList),
- + shellQuote(basedir)[1:-1],),
- + ])
- else:
- configure_args.extend([
- "CFLAGS=%s-mmacosx-version-min=%s -arch %s "
- @@ -1546,8 +1557,9 @@ def buildInstaller():
- pkgroot = os.path.join(outdir, 'Python.mpkg', 'Contents')
- pkgcontents = os.path.join(pkgroot, 'Packages')
- os.makedirs(pkgcontents)
- - for recipe in pkg_recipes():
- - packageFromRecipe(pkgcontents, recipe)
- +
- + #o3de modification: We don't need packages for our purposes, so we return immediately:
- + return
-
- rsrcDir = os.path.join(pkgroot, 'Resources')
- diff --git a/Doc/Makefile b/Doc/Makefile
- index 4188f88..324acc4 100644
- --- a/Doc/Makefile
- +++ b/Doc/Makefile
- @@ -12,7 +12,7 @@ JOBS = auto
- PAPER =
- SOURCES =
- DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
- -SPHINXERRORHANDLING = -W
- +SPHINXERRORHANDLING =
- # Internal variables.
- PAPEROPT_a4 = -D latex_elements.papersize=a4paper
- diff --git a/Doc/requirements.txt b/Doc/requirements.txt
- index f43ce2c..2578393 100644
- --- a/Doc/requirements.txt
- +++ b/Doc/requirements.txt
- @@ -3,13 +3,13 @@
- # Sphinx version is pinned so that new versions that introduce new warnings
- # won't suddenly cause build failures. Updating the version is fine as long
- # as no warnings are raised by doing so.
- -sphinx==3.4.3
- +sphinx
- # Docutils version is pinned to a version compatible with Sphinx
- # version <3.5.4. It can be removed after bumping Sphinx version to at
- # least 3.5.4.
- -docutils==0.17.1
- +docutils
- # Jinja version is pinned to a version compatible with Sphinx version <4.5.
- -jinja2==3.0.3
- +jinja2
- blurb
|