File: 0028-Tweak-link-options-for-embedded-PoDoFo.patch

package info (click to toggle)
calibre 8.15.0%2Bds%2B~0.10.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 445,088 kB
  • sloc: python: 456,101; cpp: 151,500; ansic: 85,816; javascript: 57,787; xml: 1,247; sh: 957; sql: 735; objc: 330; makefile: 78; sed: 3
file content (23 lines) | stat: -rw-r--r-- 1,093 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Mon, 22 Sep 2025 03:27:39 +0900
Subject: Tweak link options for embedded PoDoFo

Forwarded: not-needed
---
 setup/extensions.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup/extensions.json b/setup/extensions.json
index d16e03f..462d777 100644
--- a/setup/extensions.json
+++ b/setup/extensions.json
@@ -128,7 +128,8 @@
         "name": "podofo",
         "sources": "calibre/utils/podofo/utils.cpp calibre/utils/podofo/output.cpp calibre/utils/podofo/doc.cpp calibre/utils/podofo/outline.cpp calibre/utils/podofo/fonts.cpp calibre/utils/podofo/impose.cpp calibre/utils/podofo/images.cpp calibre/utils/podofo/outlines.cpp calibre/utils/podofo/podofo.cpp",
         "headers": "calibre/utils/podofo/global.h",
-        "libraries": "!podofo",
+        "libraries": "!podofo podofo_private ssl crypto fontconfig freetype xml2 png tiff jpeg z",
+        "ldflags": "-Lpodofo/src/podofo/private",
         "lib_dirs": "!podofo_lib_dirs",
         "inc_dirs": "!podofo_inc_dirs",
         "error": "!podofo_error",