[xpdf/el6] fix proper display of international strings in the title (bz 1169301)

Tom Callaway spot at fedoraproject.org
Tue Dec 2 19:12:18 UTC 2014


commit a4105b8286151b1658407ce61fd3092c4cb154f3
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Tue Dec 2 14:12:18 2014 -0500

    fix proper display of international strings in the title (bz 1169301)

 xpdf-3.04-localized.patch |   11 +++++++++++
 xpdf.spec                 |   16 +++++++++++++++-
 2 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/xpdf-3.04-localized.patch b/xpdf-3.04-localized.patch
new file mode 100644
index 0000000..504d3be
--- /dev/null
+++ b/xpdf-3.04-localized.patch
@@ -0,0 +1,11 @@
+diff -up xpdf-3.04/xpdf/XPDFApp.cc.localized xpdf-3.04/xpdf/XPDFApp.cc
+--- xpdf-3.04/xpdf/XPDFApp.cc.localized	2014-12-02 13:54:56.720680945 -0500
++++ xpdf-3.04/xpdf/XPDFApp.cc	2014-12-02 13:55:10.257585002 -0500
+@@ -125,6 +125,7 @@ static int xErrorHandler(Display *displa
+ #endif
+ 
+ XPDFApp::XPDFApp(int *argc, char *argv[]) {
++  XtSetLanguageProc(NULL, (XtLanguageProc)NULL, NULL);
+   appShell = XtAppInitialize(&appContext, xpdfAppName, xOpts, nXOpts,
+ 			     argc, argv, fallbackResources, NULL, 0);
+   display = XtDisplay(appShell);
diff --git a/xpdf.spec b/xpdf.spec
index fac658d..a7541d9 100644
--- a/xpdf.spec
+++ b/xpdf.spec
@@ -1,7 +1,7 @@
 Summary: A PDF file viewer for the X Window System
 Name: xpdf
 Version: 3.04
-Release: 2%{?dist}
+Release: 6%{?dist}
 License: GPLv2 or GPLv3
 Epoch: 1
 Url: http://www.foolabs.com/xpdf/
@@ -39,6 +39,7 @@ Patch15: xpdf-3.04-nocmap.patch
 Patch16: xpdf-3.02-fontlist.patch
 Patch19: xpdf-3.02-additionalzoom.patch
 Patch20: xpdf-3.04-pdftopng.patch
+Patch21: xpdf-3.04-localized.patch
 
 # Security patches
 
@@ -94,6 +95,7 @@ standard X fonts.
 %patch16 -p1 -b .fontlist
 %patch19 -p1
 %patch20 -p1 -b .pdftopng
+%patch21 -p1 -b .localized
 
 # security patches
 
@@ -263,6 +265,18 @@ update-desktop-database &> /dev/null ||:
 %{_datadir}/xpdf/latin2
 
 %changelog
+* Tue Dec  2 2014 Tom Callaway <spot at fedoraproject.org> - 1:3.04-6
+- fix proper display of international strings in the title (bz 1169301)
+
+* Fri Sep 12 2014 Tom Callaway <spot at fedoraproject.org> - 1:3.04-5
+- fix .desktop file
+
+* Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:3.04-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:3.04-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
 * Tue Jun  3 2014 Tom Callaway <spot at fedoraproject.org> - 1:3.04-2
 - fix "sharexpdf" typo in lang configs
 


More information about the scm-commits mailing list