integ/base/netpbm/centos/meta_patches/0001-remove-ghostscript.patch

42 lines
1.3 KiB
Diff

From 4d8601d4eda671c7da04f7eb438e20407f33b09b Mon Sep 17 00:00:00 2001
From: zhipengl <zhipengs.liu@intel.com>
Date: Wed, 22 Aug 2018 01:02:40 +0800
Subject: 0001-remove-ghostscript.patch
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
---
SPECS/netpbm.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/SPECS/netpbm.spec b/SPECS/netpbm.spec
index 82eafb8..02dd5f8 100644
--- a/SPECS/netpbm.spec
+++ b/SPECS/netpbm.spec
@@ -31,6 +31,7 @@ Patch15: netpbm-pamtojpeg2k.patch
Patch16: netpbm-manfix.patch
Patch17: netpbm-manual-pages.patch
Patch18: netpbm-ppmfadeusage.patch
+Patch19: remove-pstopnm.patch
BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex
BuildRequires: libX11-devel, python, jasper-devel, libxml2-devel
@@ -57,7 +58,6 @@ to have the netpbm package installed.
%package progs
Summary: Tools for manipulating graphics files in netpbm supported formats
Group: Applications/Multimedia
-Requires: ghostscript
Requires: netpbm = %{version}-%{release}
%description progs
@@ -102,6 +102,7 @@ netpbm-doc. You'll also need to install the netpbm-progs package.
%patch16 -p1 -b .manfix
%patch17 -p1 -b .manual-pages
%patch18 -p1 -b .ppmfadeusage
+%patch19 -p1
rm -rf converter/other/jpeg2000/libjasper/
sed -i -e 's/SUBDIRS += libjasper//' converter/other/jpeg2000/Makefile
--
2.7.4