|
|
@ -1,7 +1,7 @@
|
|
|
|
diff -rupN --no-dereference Pillow-10.0.1/setup.py Pillow-10.0.1-new/setup.py
|
|
|
|
diff -rupN --no-dereference Pillow-10.4.0/setup.py Pillow-10.4.0-new/setup.py
|
|
|
|
--- Pillow-10.0.1/setup.py 2023-09-15 13:55:25.000000000 +0200
|
|
|
|
--- Pillow-10.4.0/setup.py 2024-07-01 07:42:12.000000000 +0200
|
|
|
|
+++ Pillow-10.0.1-new/setup.py 2023-09-18 09:36:57.608297698 +0200
|
|
|
|
+++ Pillow-10.4.0-new/setup.py 2024-07-01 20:26:44.474821670 +0200
|
|
|
|
@@ -136,7 +136,7 @@ class RequiredDependencyException(Except
|
|
|
|
@@ -140,7 +140,7 @@ class RequiredDependencyException(Except
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ diff -rupN --no-dereference Pillow-10.0.1/setup.py Pillow-10.0.1-new/setup.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def _dbg(s, tp=None):
|
|
|
|
def _dbg(s, tp=None):
|
|
|
|
@@ -509,7 +509,7 @@ class pil_build_ext(build_ext):
|
|
|
|
@@ -524,7 +524,7 @@ class pil_build_ext(build_ext):
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# add platform directories
|
|
|
|
# add platform directories
|
|
|
|
|
|
|
|
|
|
|
@ -19,7 +19,7 @@ diff -rupN --no-dereference Pillow-10.0.1/setup.py Pillow-10.0.1-new/setup.py
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
elif sys.platform == "cygwin":
|
|
|
|
elif sys.platform == "cygwin":
|
|
|
|
@@ -600,7 +600,7 @@ class pil_build_ext(build_ext):
|
|
|
|
@@ -618,7 +618,7 @@ class pil_build_ext(build_ext):
|
|
|
|
# FIXME: check /opt/stuff directories here?
|
|
|
|
# FIXME: check /opt/stuff directories here?
|
|
|
|
|
|
|
|
|
|
|
|
# standard locations
|
|
|
|
# standard locations
|
|
|
@ -28,7 +28,7 @@ diff -rupN --no-dereference Pillow-10.0.1/setup.py Pillow-10.0.1-new/setup.py
|
|
|
|
_add_directory(library_dirs, "/usr/local/lib")
|
|
|
|
_add_directory(library_dirs, "/usr/local/lib")
|
|
|
|
_add_directory(include_dirs, "/usr/local/include")
|
|
|
|
_add_directory(include_dirs, "/usr/local/include")
|
|
|
|
|
|
|
|
|
|
|
|
@@ -842,7 +842,7 @@ class pil_build_ext(build_ext):
|
|
|
|
@@ -860,7 +860,7 @@ class pil_build_ext(build_ext):
|
|
|
|
if feature.xcb:
|
|
|
|
if feature.xcb:
|
|
|
|
libs.append(feature.xcb)
|
|
|
|
libs.append(feature.xcb)
|
|
|
|
defs.append(("HAVE_XCB", None))
|
|
|
|
defs.append(("HAVE_XCB", None))
|
|
|
@ -37,7 +37,7 @@ diff -rupN --no-dereference Pillow-10.0.1/setup.py Pillow-10.0.1-new/setup.py
|
|
|
|
libs.extend(["kernel32", "user32", "gdi32"])
|
|
|
|
libs.extend(["kernel32", "user32", "gdi32"])
|
|
|
|
if struct.unpack("h", b"\0\1")[0] == 1:
|
|
|
|
if struct.unpack("h", b"\0\1")[0] == 1:
|
|
|
|
defs.append(("WORDS_BIGENDIAN", None))
|
|
|
|
defs.append(("WORDS_BIGENDIAN", None))
|
|
|
|
@@ -857,6 +857,8 @@ class pil_build_ext(build_ext):
|
|
|
|
@@ -875,6 +875,8 @@ class pil_build_ext(build_ext):
|
|
|
|
if feature.freetype:
|
|
|
|
if feature.freetype:
|
|
|
|
srcs = []
|
|
|
|
srcs = []
|
|
|
|
libs = ["freetype"]
|
|
|
|
libs = ["freetype"]
|
|
|
@ -46,7 +46,7 @@ diff -rupN --no-dereference Pillow-10.0.1/setup.py Pillow-10.0.1-new/setup.py
|
|
|
|
defs = []
|
|
|
|
defs = []
|
|
|
|
if feature.raqm:
|
|
|
|
if feature.raqm:
|
|
|
|
if not feature.want_vendor("raqm"): # using system Raqm
|
|
|
|
if not feature.want_vendor("raqm"): # using system Raqm
|
|
|
|
@@ -879,7 +881,7 @@ class pil_build_ext(build_ext):
|
|
|
|
@@ -897,7 +899,7 @@ class pil_build_ext(build_ext):
|
|
|
|
|
|
|
|
|
|
|
|
if feature.lcms:
|
|
|
|
if feature.lcms:
|
|
|
|
extra = []
|
|
|
|
extra = []
|
|
|
@ -55,7 +55,7 @@ diff -rupN --no-dereference Pillow-10.0.1/setup.py Pillow-10.0.1-new/setup.py
|
|
|
|
extra.extend(["user32", "gdi32"])
|
|
|
|
extra.extend(["user32", "gdi32"])
|
|
|
|
self._update_extension("PIL._imagingcms", [feature.lcms] + extra)
|
|
|
|
self._update_extension("PIL._imagingcms", [feature.lcms] + extra)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
@@ -898,7 +900,7 @@ class pil_build_ext(build_ext):
|
|
|
|
@@ -916,7 +918,7 @@ class pil_build_ext(build_ext):
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
self._remove_extension("PIL._webp")
|
|
|
|
self._remove_extension("PIL._webp")
|
|
|
|
|
|
|
|
|
|
|
@ -64,9 +64,9 @@ diff -rupN --no-dereference Pillow-10.0.1/setup.py Pillow-10.0.1-new/setup.py
|
|
|
|
self._update_extension("PIL._imagingtk", tk_libs)
|
|
|
|
self._update_extension("PIL._imagingtk", tk_libs)
|
|
|
|
|
|
|
|
|
|
|
|
build_ext.build_extensions(self)
|
|
|
|
build_ext.build_extensions(self)
|
|
|
|
diff -rupN --no-dereference Pillow-10.0.1/src/libImaging/ImPlatform.h Pillow-10.0.1-new/src/libImaging/ImPlatform.h
|
|
|
|
diff -rupN --no-dereference Pillow-10.4.0/src/libImaging/ImPlatform.h Pillow-10.4.0-new/src/libImaging/ImPlatform.h
|
|
|
|
--- Pillow-10.0.1/src/libImaging/ImPlatform.h 2023-09-15 13:55:25.000000000 +0200
|
|
|
|
--- Pillow-10.4.0/src/libImaging/ImPlatform.h 2024-07-01 07:42:12.000000000 +0200
|
|
|
|
+++ Pillow-10.0.1-new/src/libImaging/ImPlatform.h 2023-09-18 09:36:57.608297698 +0200
|
|
|
|
+++ Pillow-10.4.0-new/src/libImaging/ImPlatform.h 2024-07-01 20:26:44.475821670 +0200
|
|
|
|
@@ -28,7 +28,7 @@
|
|
|
|
@@ -28,7 +28,7 @@
|
|
|
|
#if defined(_WIN32) || defined(__CYGWIN__) /* WIN */
|
|
|
|
#if defined(_WIN32) || defined(__CYGWIN__) /* WIN */
|
|
|
|
|
|
|
|
|