Accepting request 728166 from home:jubalh:branches:graphics

- bsc#1144255 - Drop jasper dependency from netpbm due to removal
  of jasper. Disables JPEG2000 support and stops shipping programs
  like pamtojpeg2k and jpeg2ktopam
- Add netpbm-disable-jasper.patch

OBS-URL: https://build.opensuse.org/request/show/728166
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=113
This commit is contained in:
Pedro Monreal Gonzalez 2019-09-04 08:45:23 +00:00 committed by Git OBS Bridge
parent b2cf595ce7
commit 23a1b5ca1b
3 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,13 @@
Index: netpbm-10.86.3/config.mk.in
===================================================================
--- netpbm-10.86.3.orig/config.mk.in
+++ netpbm-10.86.3/config.mk.in
@@ -482,7 +482,7 @@ JBIGLIB = $(INTERNAL_JBIGLIB)
JBIGHDR_DIR = $(INTERNAL_JBIGHDR_DIR)
# The Jasper JPEG-2000 image compression library (aka JasPer):
-JASPERLIB = -ljasper
+JASPERLIB = NONE
JASPERHDR_DIR = /usr/include/jasper
# JASPERDEPLIBS is the libraries (-l options or file names) on which
# The Jasper library depends -- i.e. what you have to link into any

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Sep 4 06:25:03 UTC 2019 - mvetter@suse.com
- bsc#1144255 - Drop jasper dependency from netpbm due to removal
of jasper. Disables JPEG2000 support and stops shipping programs
like pamtojpeg2k and jpeg2ktopam
- Add netpbm-disable-jasper.patch
-------------------------------------------------------------------
Mon Jul 8 07:49:42 UTC 2019 - Andreas Schwab <schwab@suse.de>

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -45,8 +45,9 @@ Patch7: makeman-py3.patch
Patch8: signed-char.patch
# PATCH-FIX-UPSTREAM fix dependency on byte order
Patch9: big-endian.patch
# bsc#1144255 disable jpeg2k support due to removal of jasper
Patch10: netpbm-disable-jasper.patch
BuildRequires: flex
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
@ -100,6 +101,7 @@ source package.
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
mkdir pnmtopalm # for %%doc pnmtopalm
cp -p converter/other/pnmtopalm/{LICENSE,README} pnmtopalm