xpdf, bump version (#10224)

This commit is contained in:
Schrijvers Luc
2024-03-17 07:41:47 +01:00
committed by GitHub
parent dfe156d94c
commit b0f3cc11ff
2 changed files with 9 additions and 9 deletions

View File

@@ -1,14 +1,14 @@
From ffc3438d00b81e80deaa93e5741938ba733afa43 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
From 085a25f646fc0dc8b46a01bed997b76869732bce Mon Sep 17 00:00:00 2001
From: Schrijvers Luc <begasus@gmail.com>
Date: Tue, 26 Apr 2022 13:15:35 +0000
Subject: xpdf, fix ghostscript fonts detection
diff --git a/xpdf/GlobalParams.cc b/xpdf/GlobalParams.cc
index 5fd4393..8a2e8c8 100644
index 4c1ff91..5d75cea 100644
--- a/xpdf/GlobalParams.cc
+++ b/xpdf/GlobalParams.cc
@@ -84,20 +84,20 @@ static struct {
@@ -82,20 +82,20 @@ static struct {
const char *obliqueFont; // name of font to oblique
double obliqueFactor; // oblique sheer factor
} displayFontTab[] = {
@@ -43,7 +43,7 @@ index 5fd4393..8a2e8c8 100644
{NULL}
};
@@ -116,6 +116,10 @@ static const char *displayFontDirs[] = {
@@ -114,6 +114,10 @@ static const char *displayFontDirs[] = {
"/usr/share/fonts/type1/gsfonts",
#if defined(__sun) && defined(__SVR4)
"/usr/sfw/share/ghostscript/fonts",
@@ -52,8 +52,8 @@ index 5fd4393..8a2e8c8 100644
+ "/boot/system/data/fonts/psfonts",
+ "/boot/system/data/fonts/ttfonts",
#endif
#endif // _WIN32
NULL
};
--
2.35.1
2.43.2

View File

@@ -3,11 +3,11 @@ DESCRIPTION="Xpdf is a free PDF viewer and toolkit, including a text extractor,
converter, HTML converter, and more. Most of the tools are available as \
open source."
HOMEPAGE="https://www.xpdfreader.com/"
COPYRIGHT="1996-2021 Glyph & Cog, LLC."
COPYRIGHT="1996-2024 Glyph & Cog, LLC."
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://dl.xpdfreader.com/xpdf-$portVersion.tar.gz"
CHECKSUM_SHA256="63ce23fcbf76048f524c40be479ac3840d7a2cbadb6d1e0646ea77926656bade"
CHECKSUM_SHA256="92707ed5acb6584fbd73f34091fda91365654ded1f31ba72f0970022cf2a5cea"
SOURCE_DIR="xpdf-$portVersion"
PATCHES="xpdf-$portVersion.patchset"
ADDITIONAL_FILES="xpdfreader.rdef.in"