Accepting request 1200287 from graphics

- fix tiff output error ignored by upstream: inkscape_1.3.2_fix_tiff.patch

OBS-URL: https://build.opensuse.org/request/show/1200287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/inkscape?expand=0&rev=134
This commit is contained in:
Ana Guerrero 2024-09-13 12:26:10 +00:00 committed by Git OBS Bridge
commit a00cba2951
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 12 11:01:00 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>
- fix tiff output error ignored by upstream: inkscape_1.3.2_fix_tiff.patch
-------------------------------------------------------------------
Tue Jul 2 15:12:33 UTC 2024 - pgajdos@suse.com

View File

@ -42,6 +42,8 @@ Patch2: inkscape-poppler-c++20.patch
Patch3: inkscape-poppler-24.05.0.patch
# https://gitlab.com/inkscape/inkscape/-/commit/877fc26483f74f951eab516f1b57b136780a8c78
Patch4: inkscape-poppler-c++20-2.patch
# https://gitlab.com/inkscape/extensions/-/issues/553
Patch5: inkscape_1.3.2_fix_tiff.patch
BuildRequires: cmake
BuildRequires: double-conversion-devel

View File

@ -0,0 +1,11 @@
diff -ur inkscape-1.3.2_2023-11-25_091e20ef0f/share/extensions/raster_output_tiff.py inkscape-1.3.2_2023-11-25_091e20ef0f_fix/share/extensions/raster_output_tiff.py
--- inkscape-1.3.2_2023-11-25_091e20ef0f/share/extensions/raster_output_tiff.py 2023-03-26 19:12:31.000000000 +0200
+++ inkscape-1.3.2_2023-11-25_091e20ef0f_fix/share/extensions/raster_output_tiff.py 2024-09-12 13:02:36.671294086 +0200
@@ -20,7 +20,6 @@
format="tiff",
compression=(self.options.compression or None),
dpi=self.img.info["dpi"],
- quality=100,
)
stream.write(tempstream.getvalue())
# TODO: Add other fields such as copyright etc.