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:
commit
530b480f1b
14
transfig-gs10.03.patch
Normal file
14
transfig-gs10.03.patch
Normal 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 ""
|
@ -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>
|
Tue Jul 2 06:10:51 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -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: http://sourceforge.net/projects/mcj/files/fig2dev-%%{version}.tar.xz/download#/fig2dev-%%{version}.tar.xz
|
||||||
Source: fig2dev-%{version}.tar.xz
|
Source: fig2dev-%{version}.tar.xz
|
||||||
Patch0: transfig-3.2.9.dif
|
Patch0: transfig-3.2.9.dif
|
||||||
|
Patch1: transfig-gs10.03.patch
|
||||||
Patch4: transfig-fix-afl.patch
|
Patch4: transfig-fix-afl.patch
|
||||||
Patch43: fig2dev-3.2.6-fig2mpdf.patch
|
Patch43: fig2dev-3.2.6-fig2mpdf.patch
|
||||||
Patch44: fig2dev-3.2.6-fig2mpdf-doc.patch
|
Patch44: fig2dev-3.2.6-fig2mpdf-doc.patch
|
||||||
@ -68,7 +69,8 @@ releases, this command was implemented as a shell script.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n fig2dev-%{version}
|
%setup -q -n fig2dev-%{version}
|
||||||
find -type f -exec chmod a-x,go-w '{}' \;
|
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 4 -p1 -b .afl
|
||||||
%patch -P 43 -p1 -b .mpdf
|
%patch -P 43 -p1 -b .mpdf
|
||||||
%patch -P 44 -p1 -b .mpdfdoc
|
%patch -P 44 -p1 -b .mpdfdoc
|
||||||
|
Loading…
Reference in New Issue
Block a user