SHA256
1
0
forked from pool/transfig

Accepting request 1200547 from Publishing

- Add patch transfig-gs10.03.patch
  * Avoid warnings about ignored WriteObjStms and WriteXRefStm
    directives with PDF 1.4 (boo#1230427)

OBS-URL: https://build.opensuse.org/request/show/1200547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/transfig?expand=0&rev=59
This commit is contained in:
Ana Guerrero 2024-09-13 12:27:37 +00:00 committed by Git OBS Bridge
commit 530b480f1b
3 changed files with 24 additions and 1 deletions

14
transfig-gs10.03.patch Normal file
View File

@ -0,0 +1,14 @@
---
fig2dev/dev/genpdf.c | 1 +
1 file changed, 1 insertion(+)
--- fig2dev/dev/genpdf.c
+++ fig2dev/dev/genpdf.c 2024-09-12 11:42:17.585579884 +0000
@@ -48,6 +48,7 @@
*/
#ifdef GSEXE
#define GSFMT GSEXE " -q -dSAFER -dAutoRotatePages=/None -sDEVICE=pdfwrite " \
+ "-dWriteXRefStm=false -dWriteObjStms=false " \
"-dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -o '%s' -"
#else
#define GSFMT ""

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 12 12:00:53 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Add patch transfig-gs10.03.patch
* Avoid warnings about ignored WriteObjStms and WriteXRefStm
directives with PDF 1.4 (boo#1230427)
-------------------------------------------------------------------
Tue Jul 2 06:10:51 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -27,6 +27,7 @@ Group: Productivity/Graphics/Convertors
#Source: http://sourceforge.net/projects/mcj/files/fig2dev-%%{version}.tar.xz/download#/fig2dev-%%{version}.tar.xz
Source: fig2dev-%{version}.tar.xz
Patch0: transfig-3.2.9.dif
Patch1: transfig-gs10.03.patch
Patch4: transfig-fix-afl.patch
Patch43: fig2dev-3.2.6-fig2mpdf.patch
Patch44: fig2dev-3.2.6-fig2mpdf-doc.patch
@ -68,7 +69,8 @@ releases, this command was implemented as a shell script.
%prep
%setup -q -n fig2dev-%{version}
find -type f -exec chmod a-x,go-w '{}' \;
%patch -P 0 -p0 -b .0
%patch -P 0 -p0 -b .p0
%patch -P 1 -p0 -b .p1
%patch -P 4 -p1 -b .afl
%patch -P 43 -p1 -b .mpdf
%patch -P 44 -p1 -b .mpdfdoc