File: 0001-Disable-probe-for-Jasper-library.patch

package info (click to toggle)
digikam 4%3A8.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 345,728 kB
  • sloc: cpp: 916,833; xml: 145,398; ansic: 46,748; sh: 7,211; python: 2,681; javascript: 1,818; yacc: 958; perl: 685; objc: 340; lex: 315; java: 54; makefile: 39; ruby: 14
file content (26 lines) | stat: -rw-r--r-- 983 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Steve Robbins <steve@sumost.ca>
Date: Fri, 30 Jun 2023 22:39:34 -0500
Subject: Disable probe for Jasper library

Forwarded: not-needed

Jasper has been removed from debian: https://tracker.debian.org/news/809216/jasper-removed-from-testing/
What follows is the original patch description.

Jasper is due to be removed from Debian so it would be a bug to link with it -- c.f. #818219.
However, the upstream build process always probes for Jasper and at present the list of
build-dependencies also pulls in Jasper dev libraries.  So we need to disable the probe.
---
 core/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

--- salsa.orig/core/CMakeLists.txt
+++ salsa/core/CMakeLists.txt
@@ -107,7 +107,6 @@
 endif()
 
 find_package(PkgConfig)
-find_package(Jasper)                               # For JPEG 2000 support.
 find_package(Eigen3)                               # For Refocus tool.
 
 # -- ImageMagick checks and adjustments ---------------------------------------