Browse Source

xpdf package update

Signed-off-by: guibuilder_pel7x64builder0 <guibuilder@powerel.org>
master
guibuilder_pel7x64builder0 6 years ago
parent
commit
9cd23f652e
  1. 18
      SOURCES/fix-444648.dpatch
  2. 13
      SOURCES/xpdf-3.00-papersize.patch
  3. 51
      SOURCES/xpdf-3.03-ext.patch
  4. 22
      SOURCES/xpdf-3.04-crash.patch
  5. 53
      SOURCES/xpdf-3.04-nocmap.patch
  6. 69
      SOURCES/xpdf-4.00-64bit.patch
  7. 105
      SOURCES/xpdf-4.00-libpaperfix.patch
  8. 96
      SOURCES/xpdf-4.00-man-path-fix.patch
  9. 132
      SOURCES/xpdf-4.00-permissions.patch
  10. 188
      SOURCES/xpdf-4.00-redhat-new.patch
  11. 54
      SOURCES/xpdf-4.00-urw-base35-fonts.patch
  12. 27
      SOURCES/xpdf-4.00-versionedlib.patch
  13. BIN
      SOURCES/xpdf-4.00.tar.gz
  14. BIN
      SOURCES/xpdf-arabic-2011-aug-15.tar.gz
  15. BIN
      SOURCES/xpdf-chinese-simplified-2017-jul-25-NOCMAP.tar.gz
  16. BIN
      SOURCES/xpdf-chinese-traditional-2017-jul-25-NOCMAP.tar.gz
  17. BIN
      SOURCES/xpdf-cyrillic-2011-aug-15.tar.gz
  18. BIN
      SOURCES/xpdf-greek-2011-aug-15.tar.gz
  19. BIN
      SOURCES/xpdf-hebrew-2011-aug-15.tar.gz
  20. BIN
      SOURCES/xpdf-japanese-2017-jul-25-NOCMAP.tar.gz
  21. BIN
      SOURCES/xpdf-korean-2017-jul-25-NOCMAP.tar.gz
  22. BIN
      SOURCES/xpdf-latin2-2011-aug-15.tar.gz
  23. BIN
      SOURCES/xpdf-thai-2011-aug-15.tar.gz
  24. BIN
      SOURCES/xpdf-turkish-2011-aug-15.tar.gz
  25. 14
      SOURCES/xpdf.desktop
  26. BIN
      SOURCES/xpdf.png
  27. 872
      SPECS/xpdf.spec

18
SOURCES/fix-444648.dpatch

@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## fix-444648.dpatch by Bernhard R. Link <brlink@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Do proper PS stream encoding on 64 bit architectures

@DPATCH@
--- xpdf-3.02/xpdf/Stream.cc.BAD 2008-12-10 12:16:16.000000000 -0500
+++ xpdf-3.02/xpdf/Stream.cc 2008-12-10 12:16:21.000000000 -0500
@@ -4514,7 +4514,7 @@ void ASCII85Encoder::reset() {
GBool ASCII85Encoder::fillBuf() {
Guint t;
char buf1[5];
- int c0, c1, c2, c3;
+ unsigned int c0, c1, c2, c3;
int n, i;
if (eof) {

13
SOURCES/xpdf-3.00-papersize.patch

@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
--- xpdf-3.00/xpdf/config.h.orig 2004-11-29 17:14:12.583102885 +0100
+++ xpdf-3.00/xpdf/config.h 2004-11-29 17:14:54.312235643 +0100
@@ -41,8 +41,8 @@
#define defPaperWidth 595 // ISO A4 (210x297 mm)
#define defPaperHeight 842
#else
-#define defPaperWidth 612 // American letter (8.5x11")
-#define defPaperHeight 792
+#define defPaperWidth -1 // match
+#define defPaperHeight -1
#endif
//------------------------------------------------------------------------

51
SOURCES/xpdf-3.03-ext.patch

@ -0,0 +1,51 @@ @@ -0,0 +1,51 @@
diff -up xpdf-3.03/goo/gfile.cc.ext xpdf-3.03/goo/gfile.cc
--- xpdf-3.03/goo/gfile.cc.ext 2011-08-15 17:08:53.000000000 -0400
+++ xpdf-3.03/goo/gfile.cc 2011-08-22 13:43:54.540304026 -0400
@@ -507,32 +507,14 @@ GBool openTempFile(GString **name, FILE
char *s;
int fd;
- if (ext) {
-#if HAVE_MKSTEMPS
- if ((s = getenv("TMPDIR"))) {
- *name = new GString(s);
- } else {
- *name = new GString("/tmp");
- }
- (*name)->append("/XXXXXX")->append(ext);
- fd = mkstemps((*name)->getCString(), strlen(ext));
-#else
- if (!(s = tmpnam(NULL))) {
- return gFalse;
- }
+#if HAVE_MKSTEMP
+ if ((s = getenv("TMPDIR"))) {
*name = new GString(s);
- (*name)->append(ext);
- fd = open((*name)->getCString(), O_WRONLY | O_CREAT | O_EXCL, 0600);
-#endif
} else {
-#if HAVE_MKSTEMP
- if ((s = getenv("TMPDIR"))) {
- *name = new GString(s);
- } else {
- *name = new GString("/tmp");
- }
- (*name)->append("/XXXXXX");
- fd = mkstemp((*name)->getCString());
+ *name = new GString("/tmp");
+ }
+ (*name)->append("/XXXXXX");
+ fd = mkstemp((*name)->getCString());
#else // HAVE_MKSTEMP
if (!(s = tmpnam(NULL))) {
return gFalse;
@@ -540,7 +522,7 @@ GBool openTempFile(GString **name, FILE
*name = new GString(s);
fd = open((*name)->getCString(), O_WRONLY | O_CREAT | O_EXCL, 0600);
#endif // HAVE_MKSTEMP
- }
+
if (fd < 0 || !(*f = fdopen(fd, mode))) {
delete *name;
*name = NULL;

22
SOURCES/xpdf-3.04-crash.patch

@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
diff -up xpdf-3.04/fofi/FoFiType1.cc.crash xpdf-3.04/fofi/FoFiType1.cc
--- xpdf-3.04/fofi/FoFiType1.cc.crash 2014-05-28 14:50:50.000000000 -0400
+++ xpdf-3.04/fofi/FoFiType1.cc 2014-05-29 14:56:09.199571189 -0400
@@ -268,9 +268,14 @@ void FoFiType1::parse() {
}
}
} else {
- if (strtok(buf, " \t") &&
- (p = strtok(NULL, " \t\n\r")) && !strcmp(p, "def")) {
- break;
+ p = strtok(buf, " \t\n\r");
+ if (p)
+ {
+ if (!strcmp(p, "def")) break;
+ if (!strcmp(p, "readonly")) break;
+ // the spec does not says this but i'm mantaining old xpdf behaviour that accepts "foo def" as end of the encoding array
+ p = strtok(buf, " \t\n\r");
+ if (p && !strcmp(p, "def")) break;
}
}
}
diff -up xpdf-3.04/splash/Splash.cc.crash xpdf-3.04/splash/Splash.cc

53
SOURCES/xpdf-3.04-nocmap.patch

@ -0,0 +1,53 @@ @@ -0,0 +1,53 @@
diff -up xpdf-3.04/xpdf-chinese-simplified/add-to-xpdfrc.orig xpdf-3.04/xpdf-chinese-simplified/add-to-xpdfrc
--- xpdf-3.04/xpdf-chinese-simplified/add-to-xpdfrc.orig 2014-05-29 15:01:29.238318492 -0400
+++ xpdf-3.04/xpdf-chinese-simplified/add-to-xpdfrc 2014-05-29 15:02:30.453883329 -0400
@@ -3,7 +3,7 @@ cidToUnicode Adobe-GB1 /usr/share/xpdf/ch
unicodeMap ISO-2022-CN /usr/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
unicodeMap EUC-CN /usr/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
unicodeMap GBK /usr/share/xpdf/chinese-simplified/GBK.unicodeMap
-cMapDir Adobe-GB1 /usr/share/xpdf/chinese-simplified/CMap
-toUnicodeDir /usr/share/xpdf/chinese-simplified/CMap
+#cMapDir Adobe-GB1 /usr/share/xpdf/chinese-simplified/CMap
+#toUnicodeDir /usr/share/xpdf/chinese-simplified/CMap
#fontFileCC Adobe-GB1 /usr/..../gkai00mp.ttf
#----- end Chinese Simplified support package
diff -up xpdf-3.04/xpdf-chinese-traditional/add-to-xpdfrc.orig xpdf-3.04/xpdf-chinese-traditional/add-to-xpdfrc
--- xpdf-3.04/xpdf-chinese-traditional/add-to-xpdfrc.orig 2014-05-29 15:01:29.237318499 -0400
+++ xpdf-3.04/xpdf-chinese-traditional/add-to-xpdfrc 2014-05-29 15:02:01.979085766 -0400
@@ -2,7 +2,7 @@
cidToUnicode Adobe-CNS1 /usr/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
unicodeMap Big5 /usr/share/xpdf/chinese-traditional/Big5.unicodeMap
unicodeMap Big5ascii /usr/share/xpdf/chinese-traditional/Big5ascii.unicodeMap
-cMapDir Adobe-CNS1 /usr/share/xpdf/chinese-traditional/CMap
-toUnicodeDir /usr/share/xpdf/chinese-traditional/CMap
+#cMapDir Adobe-CNS1 /usr/share/xpdf/chinese-traditional/CMap
+#toUnicodeDir /usr/share/xpdf/chinese-traditional/CMap
#fontFileCC Adobe-CNS1 /usr/..../bkai00mp.ttf
#----- end Chinese Traditional support package
diff -up xpdf-3.04/xpdf-japanese/add-to-xpdfrc.orig xpdf-3.04/xpdf-japanese/add-to-xpdfrc
--- xpdf-3.04/xpdf-japanese/add-to-xpdfrc.orig 2014-05-29 15:01:29.238318492 -0400
+++ xpdf-3.04/xpdf-japanese/add-to-xpdfrc 2014-05-29 15:02:43.814788329 -0400
@@ -3,7 +3,7 @@ cidToUnicode Adobe-Japan1 /usr/share/xpdf
unicodeMap ISO-2022-JP /usr/share/xpdf/japanese/ISO-2022-JP.unicodeMap
unicodeMap EUC-JP /usr/share/xpdf/japanese/EUC-JP.unicodeMap
unicodeMap Shift-JIS /usr/share/xpdf/japanese/Shift-JIS.unicodeMap
-cMapDir Adobe-Japan1 /usr/share/xpdf/japanese/CMap
-toUnicodeDir /usr/share/xpdf/japanese/CMap
+#cMapDir Adobe-Japan1 /usr/share/xpdf/japanese/CMap
+#toUnicodeDir /usr/share/xpdf/japanese/CMap
#fontFileCC Adobe-Japan1 /usr/..../kochi-mincho.ttf
#----- end Japanese support package
diff -up xpdf-3.04/xpdf-korean/add-to-xpdfrc.orig xpdf-3.04/xpdf-korean/add-to-xpdfrc
--- xpdf-3.04/xpdf-korean/add-to-xpdfrc.orig 2014-05-29 15:01:29.238318492 -0400
+++ xpdf-3.04/xpdf-korean/add-to-xpdfrc 2014-05-29 15:02:16.581981953 -0400
@@ -1,8 +1,8 @@
#----- begin Korean support package (2011-sep-02)
cidToUnicode Adobe-Korea1 /usr/share/xpdf/korean/Adobe-Korea1.cidToUnicode
unicodeMap ISO-2022-KR /usr/share/xpdf/korean/ISO-2022-KR.unicodeMap
-cMapDir Adobe-Korea1 /usr/share/xpdf/korean/CMap
-toUnicodeDir /usr/share/xpdf/korean/CMap
+#cMapDir Adobe-Korea1 /usr/share/xpdf/korean/CMap
+#toUnicodeDir /usr/share/xpdf/korean/CMap
#fontFileCC Adobe-Korea1 /usr/..../batang.ttf"
#fontFileCC Unidocs-Korea1 /usr/..../batang.ttf"
#----- end Korean support package

69
SOURCES/xpdf-4.00-64bit.patch

@ -0,0 +1,69 @@ @@ -0,0 +1,69 @@
diff -up xpdf-4.00/goo/gmem.cc.alloc xpdf-4.00/goo/gmem.cc
--- xpdf-4.00/goo/gmem.cc.alloc 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/goo/gmem.cc 2017-08-16 18:01:21.363210992 -0400
@@ -78,8 +78,8 @@ static int gMaxMemInUse = 0;
#endif /* DEBUG_MEM */
#ifdef DEBUG_MEM
-void *gmalloc(int size, int ignore) GMEM_EXCEP {
- int size1;
+void *gmalloc(size_t size, int ignore) GMEM_EXCEP {
+ size_t size1;
char *mem;
GMemHdr *hdr;
void *data;
@@ -128,7 +128,7 @@ void *gmalloc(int size, int ignore) GMEM
return data;
}
#else
-void *gmalloc(int size) GMEM_EXCEP {
+void *gmalloc(size_t size) GMEM_EXCEP {
void *p;
if (size < 0) {
@@ -144,11 +144,11 @@ void *gmalloc(int size) GMEM_EXCEP {
}
#endif
-void *grealloc(void *p, int size) GMEM_EXCEP {
+void *grealloc(void *p, size_t size) GMEM_EXCEP {
#ifdef DEBUG_MEM
GMemHdr *hdr;
void *q;
- int oldSize;
+ size_t oldSize;
if (size < 0) {
gMemError("Invalid memory allocation size");
@@ -224,7 +224,7 @@ void *greallocn(void *p, int nObjs, int
void gfree(void *p) {
#ifdef DEBUG_MEM
- int size;
+ size_t size;
GMemHdr *hdr;
unsigned long *trl, *clr;
diff -up xpdf-4.00/goo/gmem.h.alloc xpdf-4.00/goo/gmem.h
--- xpdf-4.00/goo/gmem.h.alloc 2017-08-16 17:59:32.770952926 -0400
+++ xpdf-4.00/goo/gmem.h 2017-08-16 18:02:14.289874604 -0400
@@ -37,16 +37,16 @@ extern "C" {
* returns NULL.
*/
#ifdef DEBUG_MEM
-extern void *gmalloc(int size, int ignore = 0) GMEM_EXCEP;
+extern void *gmalloc(size_t size, int ignore = 0) GMEM_EXCEP;
#else
-extern void *gmalloc(int size) GMEM_EXCEP;
+extern void *gmalloc(size_t size) GMEM_EXCEP;
#endif
/*
* Same as realloc, but prints error message and exits if realloc()
* returns NULL. If <p> is NULL, calls malloc instead of realloc().
*/
-extern void *grealloc(void *p, int size) GMEM_EXCEP;
+extern void *grealloc(void *p, size_t size) GMEM_EXCEP;
/*
* These are similar to gmalloc and grealloc, but take an object count

105
SOURCES/xpdf-4.00-libpaperfix.patch

@ -0,0 +1,105 @@ @@ -0,0 +1,105 @@
diff -up xpdf-4.00/xpdf/CMakeLists.txt.paperfix xpdf-4.00/xpdf/CMakeLists.txt
--- xpdf-4.00/xpdf/CMakeLists.txt.paperfix 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/xpdf/CMakeLists.txt 2017-08-16 19:40:19.103263736 -0400
@@ -108,7 +108,7 @@ if (HAVE_SPLASH)
target_link_libraries(pdftops goo fofi splash
${FREETYPE_LIBRARY} ${FREETYPE_OTHER_LIBS}
${DTYPE_LIBRARY}
- ${LCMS_LIBRARY})
+ ${LCMS_LIBRARY} ${HAVE_PAPER_H})
else ()
add_executable(pdftops
$<TARGET_OBJECTS:xpdf_objs>
@@ -116,7 +116,7 @@ else ()
PSOutputDev.cc
pdftops.cc
)
- target_link_libraries(pdftops goo fofi ${LCMS_LIBRARY})
+ target_link_libraries(pdftops goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
endif ()
install(TARGETS pdftops RUNTIME DESTINATION bin)
install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftops.1 DESTINATION man/man1)
@@ -128,7 +128,7 @@ add_executable(pdftotext
TextOutputDev.cc
pdftotext.cc
)
-target_link_libraries(pdftotext goo fofi ${LCMS_LIBRARY})
+target_link_libraries(pdftotext goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdftotext RUNTIME DESTINATION bin)
install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftotext.1 DESTINATION man/man1)
@@ -145,7 +145,7 @@ if (HAVE_SPLASH AND PNG_FOUND)
target_link_libraries(pdftohtml goo fofi splash
${FREETYPE_LIBRARY} ${FREETYPE_OTHER_LIBS}
${DTYPE_LIBRARY}
- ${LCMS_LIBRARY} ${PNG_LIBRARIES})
+ ${LCMS_LIBRARY} ${PNG_LIBRARIES} ${HAVE_PAPER_H})
install(TARGETS pdftohtml RUNTIME DESTINATION bin)
install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftohtml.1 DESTINATION man/man1)
endif ()
@@ -156,7 +156,7 @@ add_executable(pdfinfo
$<TARGET_OBJECTS:xpdf_objs>
pdfinfo.cc
)
-target_link_libraries(pdfinfo goo fofi ${LCMS_LIBRARY})
+target_link_libraries(pdfinfo goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdfinfo RUNTIME DESTINATION bin)
install(FILES ${PROJECT_SOURCE_DIR}/doc/pdfinfo.1 DESTINATION man/man1)
@@ -166,7 +166,7 @@ add_executable(pdffonts
$<TARGET_OBJECTS:xpdf_objs>
pdffonts.cc
)
-target_link_libraries(pdffonts goo fofi ${LCMS_LIBRARY})
+target_link_libraries(pdffonts goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdffonts RUNTIME DESTINATION bin)
install(FILES ${PROJECT_SOURCE_DIR}/doc/pdffonts.1 DESTINATION man/man1)
@@ -176,7 +176,7 @@ add_executable(pdfdetach
$<TARGET_OBJECTS:xpdf_objs>
pdfdetach.cc
)
-target_link_libraries(pdfdetach goo fofi ${LCMS_LIBRARY})
+target_link_libraries(pdfdetach goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdfdetach RUNTIME DESTINATION bin)
install(FILES ${PROJECT_SOURCE_DIR}/doc/pdfdetach.1 DESTINATION man/man1)
@@ -191,7 +191,7 @@ if (HAVE_SPLASH)
target_link_libraries(pdftoppm goo fofi splash
${FREETYPE_LIBRARY} ${FREETYPE_OTHER_LIBS}
${DTYPE_LIBRARY}
- ${LCMS_LIBRARY})
+ ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdftoppm RUNTIME DESTINATION bin)
install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftoppm.1 DESTINATION man/man1)
endif ()
@@ -207,7 +207,7 @@ if (HAVE_SPLASH AND PNG_FOUND)
target_link_libraries(pdftopng goo fofi splash
${FREETYPE_LIBRARY} ${FREETYPE_OTHER_LIBS}
${DTYPE_LIBRARY}
- ${LCMS_LIBRARY} ${PNG_LIBRARIES})
+ ${LCMS_LIBRARY} ${PNG_LIBRARIES} ${HAVE_PAPER_H})
install(TARGETS pdftopng RUNTIME DESTINATION bin)
install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftopng.1 DESTINATION man/man1)
endif ()
@@ -219,7 +219,7 @@ add_executable(pdfimages
ImageOutputDev.cc
pdfimages.cc
)
-target_link_libraries(pdfimages goo fofi ${LCMS_LIBRARY})
+target_link_libraries(pdfimages goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdfimages RUNTIME DESTINATION bin)
install(FILES ${PROJECT_SOURCE_DIR}/doc/pdfimages.1 DESTINATION man/man1)
diff -up xpdf-4.00/xpdf-qt/CMakeLists.txt.paperfix xpdf-4.00/xpdf-qt/CMakeLists.txt
--- xpdf-4.00/xpdf-qt/CMakeLists.txt.paperfix 2017-08-16 19:39:23.275757290 -0400
+++ xpdf-4.00/xpdf-qt/CMakeLists.txt 2017-08-16 19:39:47.810100923 -0400
@@ -83,7 +83,7 @@ if ((QT4_FOUND OR Qt5Widgets_FOUND)
target_link_libraries(xpdf ${QT_LIBRARIES} ${EXTRA_QT_LIBRARIES}
${FREETYPE_LIBRARY} ${FREETYPE_OTHER_LIBS}
${DTYPE_LIBRARY} ${LCMS_LIBRARY}
- ${CMAKE_THREAD_LIBS_INIT})
+ ${CMAKE_THREAD_LIBS_INIT} ${HAVE_PAPER_H})
set_property(TARGET xpdf PROPERTY WIN32_EXECUTABLE 1)
install(TARGETS xpdf RUNTIME DESTINATION bin)

96
SOURCES/xpdf-4.00-man-path-fix.patch

@ -0,0 +1,96 @@ @@ -0,0 +1,96 @@
diff -up xpdf-4.00/xpdf/CMakeLists.txt.manfix xpdf-4.00/xpdf/CMakeLists.txt
--- xpdf-4.00/xpdf/CMakeLists.txt.manfix 2017-08-16 19:43:23.612344976 -0400
+++ xpdf-4.00/xpdf/CMakeLists.txt 2017-08-16 19:43:46.189746281 -0400
@@ -119,7 +119,7 @@ else ()
target_link_libraries(pdftops goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
endif ()
install(TARGETS pdftops RUNTIME DESTINATION bin)
-install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftops.1 DESTINATION man/man1)
+install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftops.1 DESTINATION share/man/man1)
#--- pdftotext
@@ -130,7 +130,7 @@ add_executable(pdftotext
)
target_link_libraries(pdftotext goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdftotext RUNTIME DESTINATION bin)
-install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftotext.1 DESTINATION man/man1)
+install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftotext.1 DESTINATION share/man/man1)
#--- pdftohtml
@@ -147,7 +147,7 @@ if (HAVE_SPLASH AND PNG_FOUND)
${DTYPE_LIBRARY}
${LCMS_LIBRARY} ${PNG_LIBRARIES} ${HAVE_PAPER_H})
install(TARGETS pdftohtml RUNTIME DESTINATION bin)
- install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftohtml.1 DESTINATION man/man1)
+ install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftohtml.1 DESTINATION share/man/man1)
endif ()
#--- pdfinfo
@@ -158,7 +158,7 @@ add_executable(pdfinfo
)
target_link_libraries(pdfinfo goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdfinfo RUNTIME DESTINATION bin)
-install(FILES ${PROJECT_SOURCE_DIR}/doc/pdfinfo.1 DESTINATION man/man1)
+install(FILES ${PROJECT_SOURCE_DIR}/doc/pdfinfo.1 DESTINATION share/man/man1)
#--- pdffonts
@@ -168,7 +168,7 @@ add_executable(pdffonts
)
target_link_libraries(pdffonts goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdffonts RUNTIME DESTINATION bin)
-install(FILES ${PROJECT_SOURCE_DIR}/doc/pdffonts.1 DESTINATION man/man1)
+install(FILES ${PROJECT_SOURCE_DIR}/doc/pdffonts.1 DESTINATION share/man/man1)
#--- pdfdetach
@@ -178,7 +178,7 @@ add_executable(pdfdetach
)
target_link_libraries(pdfdetach goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdfdetach RUNTIME DESTINATION bin)
-install(FILES ${PROJECT_SOURCE_DIR}/doc/pdfdetach.1 DESTINATION man/man1)
+install(FILES ${PROJECT_SOURCE_DIR}/doc/pdfdetach.1 DESTINATION share/man/man1)
#--- pdftoppm
@@ -193,7 +193,7 @@ if (HAVE_SPLASH)
${DTYPE_LIBRARY}
${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdftoppm RUNTIME DESTINATION bin)
- install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftoppm.1 DESTINATION man/man1)
+ install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftoppm.1 DESTINATION share/man/man1)
endif ()
#--- pdftopng
@@ -209,7 +209,7 @@ if (HAVE_SPLASH AND PNG_FOUND)
${DTYPE_LIBRARY}
${LCMS_LIBRARY} ${PNG_LIBRARIES} ${HAVE_PAPER_H})
install(TARGETS pdftopng RUNTIME DESTINATION bin)
- install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftopng.1 DESTINATION man/man1)
+ install(FILES ${PROJECT_SOURCE_DIR}/doc/pdftopng.1 DESTINATION share/man/man1)
endif ()
#--- pdfimages
@@ -221,8 +221,8 @@ add_executable(pdfimages
)
target_link_libraries(pdfimages goo fofi ${LCMS_LIBRARY} ${HAVE_PAPER_H})
install(TARGETS pdfimages RUNTIME DESTINATION bin)
-install(FILES ${PROJECT_SOURCE_DIR}/doc/pdfimages.1 DESTINATION man/man1)
+install(FILES ${PROJECT_SOURCE_DIR}/doc/pdfimages.1 DESTINATION share/man/man1)
#--- xpdfrc man page
-install(FILES ${PROJECT_SOURCE_DIR}/doc/xpdfrc.5 DESTINATION man/man5)
+install(FILES ${PROJECT_SOURCE_DIR}/doc/xpdfrc.5 DESTINATION share/man/man5)
diff -up xpdf-4.00/xpdf-qt/CMakeLists.txt.manfix xpdf-4.00/xpdf-qt/CMakeLists.txt
--- xpdf-4.00/xpdf-qt/CMakeLists.txt.manfix 2017-08-16 19:44:45.218180999 -0400
+++ xpdf-4.00/xpdf-qt/CMakeLists.txt 2017-08-16 19:44:50.394043748 -0400
@@ -87,5 +87,5 @@ if ((QT4_FOUND OR Qt5Widgets_FOUND)
set_property(TARGET xpdf PROPERTY WIN32_EXECUTABLE 1)
install(TARGETS xpdf RUNTIME DESTINATION bin)
- install(FILES ${PROJECT_SOURCE_DIR}/doc/xpdf.1 DESTINATION man/man1)
+ install(FILES ${PROJECT_SOURCE_DIR}/doc/xpdf.1 DESTINATION share/man/man1)
endif ()

132
SOURCES/xpdf-4.00-permissions.patch

@ -0,0 +1,132 @@ @@ -0,0 +1,132 @@
diff -up xpdf-4.00/xpdf/PDFCore.cc.permissions xpdf-4.00/xpdf/PDFCore.cc
diff -up xpdf-4.00/xpdf/pdfimages.cc.permissions xpdf-4.00/xpdf/pdfimages.cc
--- xpdf-4.00/xpdf/pdfimages.cc.permissions 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/xpdf/pdfimages.cc 2017-08-16 18:08:04.474032500 -0400
@@ -4,6 +4,8 @@
//
// Copyright 1998-2003 Glyph & Cog, LLC
//
+// Modified for Debian by Hamish Moffatt, 22 May 2002.
+//
//========================================================================
#include <aconf.h>
@@ -126,12 +128,14 @@ int main(int argc, char *argv[]) {
}
// check for copy permission
+#ifdef ENFORCE_PERMISSIONS
if (!doc->okToCopy()) {
error(errNotAllowed, -1,
"Copying of images from this document is not allowed.");
exitCode = 3;
goto err1;
}
+#endif
// get page range
if (firstPage < 1)
diff -up xpdf-4.00/xpdf/pdftohtml.cc.permissions xpdf-4.00/xpdf/pdftohtml.cc
--- xpdf-4.00/xpdf/pdftohtml.cc.permissions 2017-08-16 18:10:36.656189850 -0400
+++ xpdf-4.00/xpdf/pdftohtml.cc 2017-08-16 18:11:06.127445692 -0400
@@ -137,6 +137,7 @@ int main(int argc, char *argv[]) {
goto err1;
}
+#ifdef ENFORCE_PERMISSIONS
// check for copy permission
if (!doc->okToCopy()) {
error(errNotAllowed, -1,
@@ -144,6 +145,7 @@ int main(int argc, char *argv[]) {
exitCode = 3;
goto err1;
}
+#endif
// get page range
if (firstPage < 1) {
diff -up xpdf-4.00/xpdf/pdftops.cc.permissions xpdf-4.00/xpdf/pdftops.cc
--- xpdf-4.00/xpdf/pdftops.cc.permissions 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/xpdf/pdftops.cc 2017-08-16 18:08:04.475032475 -0400
@@ -4,6 +4,8 @@
//
// Copyright 1996-2003 Glyph & Cog, LLC
//
+// Modified for Debian by Hamish Moffatt, 22 May 2002.
+//
//========================================================================
#include <aconf.h>
@@ -321,12 +323,14 @@ int main(int argc, char *argv[]) {
goto err1;
}
+#ifdef ENFORCE_PERMISSIONS
// check for print permission
if (!doc->okToPrint()) {
error(errNotAllowed, -1, "Printing this document is not allowed.");
exitCode = 3;
goto err1;
}
+#endif
// construct PostScript file name
if (argc == 3) {
diff -up xpdf-4.00/xpdf/pdftotext.cc.permissions xpdf-4.00/xpdf/pdftotext.cc
--- xpdf-4.00/xpdf/pdftotext.cc.permissions 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/xpdf/pdftotext.cc 2017-08-16 18:08:04.475032475 -0400
@@ -4,6 +4,8 @@
//
// Copyright 1997-2013 Glyph & Cog, LLC
//
+// Modified for Debian by Hamish Moffatt, 22 May 2002.
+//
//========================================================================
#include <aconf.h>
@@ -198,6 +200,7 @@ int main(int argc, char *argv[]) {
goto err2;
}
+#ifdef ENFORCE_PERMISSIONS
// check for copy permission
if (!doc->okToCopy()) {
error(errNotAllowed, -1,
@@ -205,6 +208,7 @@ int main(int argc, char *argv[]) {
exitCode = 3;
goto err2;
}
+#endif
// construct text file name
if (argc == 3) {
diff -up xpdf-4.00/xpdf-qt/QtPDFCore.cc.permissions xpdf-4.00/xpdf-qt/QtPDFCore.cc
--- xpdf-4.00/xpdf-qt/QtPDFCore.cc.permissions 2017-08-16 18:09:45.169489907 -0400
+++ xpdf-4.00/xpdf-qt/QtPDFCore.cc 2017-08-16 18:10:14.375752439 -0400
@@ -429,9 +429,11 @@ QString QtPDFCore::getSelectedTextQStrin
QChar c;
int i;
+#ifdef ENFORCE_PERMISSIONS
if (!doc->okToCopy()) {
return "";
}
+#endif
if (!(s = getSelectedText())) {
return "";
}
diff -up xpdf-4.00/xpdf-qt/XpdfWidget.cc.permissions xpdf-4.00/xpdf-qt/XpdfWidget.cc
--- xpdf-4.00/xpdf-qt/XpdfWidget.cc.permissions 2017-08-16 18:12:40.775055809 -0400
+++ xpdf-4.00/xpdf-qt/XpdfWidget.cc 2017-08-16 18:12:45.835928020 -0400
@@ -1399,7 +1399,11 @@ bool XpdfWidget::okToExtractText() const
if (!core->getDoc()) {
return false;
}
+#ifdef ENFORCE_PERMISSIONS
return (bool)core->getDoc()->okToCopy();
+#else
+ return true;
+#endif
} catch (GMemException e) {
return false;
}

188
SOURCES/xpdf-4.00-redhat-new.patch

@ -0,0 +1,188 @@ @@ -0,0 +1,188 @@
diff -up xpdf-4.00/doc/sample-xpdfrc.new xpdf-4.00/doc/sample-xpdfrc
--- xpdf-4.00/doc/sample-xpdfrc.new 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/doc/sample-xpdfrc 2017-08-16 17:55:27.293145138 -0400
@@ -56,7 +56,7 @@
# Set the default PostScript file or command.
-#psFile "|lpr -Pmyprinter"
+psFile "|lpr"
# Set the default PostScript paper size -- this can be letter, legal,
# A4, or A3. You can also specify a paper size as width and height
@@ -88,4 +88,19 @@
# clicked.
#launchCommand viewer-script
-#urlCommand "netscape -remote 'openURL(%s)'"
+urlCommand "xdg-open '%s'"
+
+# CJK
+include /etc/xpdf/add-to-xpdfrc.japanese
+include /etc/xpdf/add-to-xpdfrc.korean
+include /etc/xpdf/add-to-xpdfrc.chinese-simplified
+include /etc/xpdf/add-to-xpdfrc.chinese-traditional
+# Others
+include /etc/xpdf/add-to-xpdfrc.arabic
+include /etc/xpdf/add-to-xpdfrc.cyrillic
+include /etc/xpdf/add-to-xpdfrc.greek
+include /etc/xpdf/add-to-xpdfrc.hebrew
+include /etc/xpdf/add-to-xpdfrc.latin2
+include /etc/xpdf/add-to-xpdfrc.thai
+include /etc/xpdf/add-to-xpdfrc.turkish
+
diff -up xpdf-4.00/doc/xpdfrc.5.new xpdf-4.00/doc/xpdfrc.5
--- xpdf-4.00/doc/xpdfrc.5.new 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/doc/xpdfrc.5 2017-08-16 17:49:01.852839167 -0400
@@ -7,7 +7,7 @@ All of the Xpdf tools read a single conf
.I .xpdfrc
file in your home directory, it will be read. Otherwise, a
system-wide configuration file will be read from
-.IR /usr/local/etc/xpdfrc ,
+.IR /etc/xpdfrc ,
if it exists. (This is its default location; depending on build
options, it may be placed elsewhere.) On Win32 systems, the
.I xpdfrc
@@ -731,7 +731,7 @@ urlCommand "netscape \-remote 'open
.fi
.SH FILES
.TP
-.B /usr/local/etc/xpdfrc
+.B /etc/xpdfrc
This is the default location for the system-wide configuration file.
Depending on build options, it may be placed elsewhere.
.TP
diff -up xpdf-4.00/xpdf-arabic/add-to-xpdfrc.new xpdf-4.00/xpdf-arabic/add-to-xpdfrc
--- xpdf-4.00/xpdf-arabic/add-to-xpdfrc.new 2017-08-16 17:52:28.453655573 -0400
+++ xpdf-4.00/xpdf-arabic/add-to-xpdfrc 2017-08-16 17:52:35.275483522 -0400
@@ -1,3 +1,3 @@
#----- begin Arabic support package (2011-aug-15)
-unicodeMap ISO-8859-6 /usr/local/share/xpdf/arabic/ISO-8859-6.unicodeMap
+unicodeMap ISO-8859-6 /usr/share/xpdf/arabic/ISO-8859-6.unicodeMap
#----- end Arabic support package
diff -up xpdf-4.00/xpdf-chinese-simplified/add-to-xpdfrc.new xpdf-4.00/xpdf-chinese-simplified/add-to-xpdfrc
--- xpdf-4.00/xpdf-chinese-simplified/add-to-xpdfrc.new 2017-08-16 17:49:01.852839167 -0400
+++ xpdf-4.00/xpdf-chinese-simplified/add-to-xpdfrc 2017-08-16 17:50:45.754245711 -0400
@@ -1,9 +1,9 @@
#----- begin Chinese Simplified support package (2011-sep-02)
-cidToUnicode Adobe-GB1 /usr/local/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
-unicodeMap ISO-2022-CN /usr/local/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
-unicodeMap EUC-CN /usr/local/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
-unicodeMap GBK /usr/local/share/xpdf/chinese-simplified/GBK.unicodeMap
-cMapDir Adobe-GB1 /usr/local/share/xpdf/chinese-simplified/CMap
-toUnicodeDir /usr/local/share/xpdf/chinese-simplified/CMap
+cidToUnicode Adobe-GB1 /usr/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
+unicodeMap ISO-2022-CN /usr/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
+unicodeMap EUC-CN /usr/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
+unicodeMap GBK /usr/share/xpdf/chinese-simplified/GBK.unicodeMap
+cMapDir Adobe-GB1 /usr/share/xpdf/chinese-simplified/CMap
+toUnicodeDir /usr/share/xpdf/chinese-simplified/CMap
#fontFileCC Adobe-GB1 /usr/..../NotoSansCJKsc-Regular.otf
#----- end Chinese Simplified support package
diff -up xpdf-4.00/xpdf-chinese-traditional/add-to-xpdfrc.new xpdf-4.00/xpdf-chinese-traditional/add-to-xpdfrc
--- xpdf-4.00/xpdf-chinese-traditional/add-to-xpdfrc.new 2017-08-16 17:49:01.852839167 -0400
+++ xpdf-4.00/xpdf-chinese-traditional/add-to-xpdfrc 2017-08-16 17:51:00.657869833 -0400
@@ -1,8 +1,8 @@
#----- begin Chinese Traditional support package (2011-sep-02)
-cidToUnicode Adobe-CNS1 /usr/local/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
-unicodeMap Big5 /usr/local/share/xpdf/chinese-traditional/Big5.unicodeMap
-unicodeMap Big5ascii /usr/local/share/xpdf/chinese-traditional/Big5ascii.unicodeMap
-cMapDir Adobe-CNS1 /usr/local/share/xpdf/chinese-traditional/CMap
-toUnicodeDir /usr/local/share/xpdf/chinese-traditional/CMap
+cidToUnicode Adobe-CNS1 /usr/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
+unicodeMap Big5 /usr/share/xpdf/chinese-traditional/Big5.unicodeMap
+unicodeMap Big5ascii /usr/share/xpdf/chinese-traditional/Big5ascii.unicodeMap
+cMapDir Adobe-CNS1 /usr/share/xpdf/chinese-traditional/CMap
+toUnicodeDir /usr/share/xpdf/chinese-traditional/CMap
#fontFileCC Adobe-CNS1 /usr/..../NotoSansCJKtc-Regular.otf"
#----- end Chinese Traditional support package
diff -up xpdf-4.00/xpdf-cyrillic/add-to-xpdfrc.new xpdf-4.00/xpdf-cyrillic/add-to-xpdfrc
--- xpdf-4.00/xpdf-cyrillic/add-to-xpdfrc.new 2011-08-15 17:24:29.000000000 -0400
+++ xpdf-4.00/xpdf-cyrillic/add-to-xpdfrc 2017-08-16 17:49:01.852839167 -0400
@@ -1,4 +1,4 @@
#----- begin Cyrillic support package (2011-aug-15)
-nameToUnicode /usr/local/share/xpdf/cyrillic/Bulgarian.nameToUnicode
-unicodeMap KOI8-R /usr/local/share/xpdf/cyrillic/KOI8-R.unicodeMap
+nameToUnicode /usr/share/xpdf/cyrillic/Bulgarian.nameToUnicode
+unicodeMap KOI8-R /usr/share/xpdf/cyrillic/KOI8-R.unicodeMap
#----- end Cyrillic support package
diff -up xpdf-4.00/xpdf-greek/add-to-xpdfrc.new xpdf-4.00/xpdf-greek/add-to-xpdfrc
--- xpdf-4.00/xpdf-greek/add-to-xpdfrc.new 2017-08-16 17:52:59.677868080 -0400
+++ xpdf-4.00/xpdf-greek/add-to-xpdfrc 2017-08-16 17:53:08.733639688 -0400
@@ -1,4 +1,4 @@
#----- begin Greek support package (2011-aug-15)
-nameToUnicode /usr/local/share/xpdf/greek/Greek.nameToUnicode
-unicodeMap ISO-8859-7 /usr/local/share/xpdf/greek/ISO-8859-7.unicodeMap
+nameToUnicode /usr/share/xpdf/greek/Greek.nameToUnicode
+unicodeMap ISO-8859-7 /usr/share/xpdf/greek/ISO-8859-7.unicodeMap
#----- end Greek support package
diff -up xpdf-4.00/xpdf-hebrew/add-to-xpdfrc.new xpdf-4.00/xpdf-hebrew/add-to-xpdfrc
--- xpdf-4.00/xpdf-hebrew/add-to-xpdfrc.new 2017-08-16 17:52:08.484159215 -0400
+++ xpdf-4.00/xpdf-hebrew/add-to-xpdfrc 2017-08-16 17:52:19.940870269 -0400
@@ -1,4 +1,4 @@
#----- begin Hebrew support package (2011-aug-15)
-unicodeMap ISO-8859-8 /usr/local/share/xpdf/hebrew/ISO-8859-8.unicodeMap
-unicodeMap Windows-1255 /usr/local/share/xpdf/hebrew/Windows-1255.unicodeMap
+unicodeMap ISO-8859-8 /usr/share/xpdf/hebrew/ISO-8859-8.unicodeMap
+unicodeMap Windows-1255 /usr/share/xpdf/hebrew/Windows-1255.unicodeMap
#----- end Hebrew support package
diff -up xpdf-4.00/xpdf-japanese/add-to-xpdfrc.new xpdf-4.00/xpdf-japanese/add-to-xpdfrc
--- xpdf-4.00/xpdf-japanese/add-to-xpdfrc.new 2017-08-16 17:49:01.852839167 -0400
+++ xpdf-4.00/xpdf-japanese/add-to-xpdfrc 2017-08-16 17:50:00.990367958 -0400
@@ -1,9 +1,9 @@
#----- begin Japanese support package (2011-sep-02)
-cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
-unicodeMap ISO-2022-JP /usr/local/share/xpdf/japanese/ISO-2022-JP.unicodeMap
-unicodeMap EUC-JP /usr/local/share/xpdf/japanese/EUC-JP.unicodeMap
-unicodeMap Shift-JIS /usr/local/share/xpdf/japanese/Shift-JIS.unicodeMap
-cMapDir Adobe-Japan1 /usr/local/share/xpdf/japanese/CMap
-toUnicodeDir /usr/local/share/xpdf/japanese/CMap
+cidToUnicode Adobe-Japan1 /usr/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
+unicodeMap ISO-2022-JP /usr/share/xpdf/japanese/ISO-2022-JP.unicodeMap
+unicodeMap EUC-JP /usr/share/xpdf/japanese/EUC-JP.unicodeMap
+unicodeMap Shift-JIS /usr/share/xpdf/japanese/Shift-JIS.unicodeMap
+cMapDir Adobe-Japan1 /usr/share/xpdf/japanese/CMap
+toUnicodeDir /usr/share/xpdf/japanese/CMap
#fontFileCC Adobe-Japan1 /usr/..../NotoSansCJKjp-Regular.otf
#----- end Japanese support package
diff -up xpdf-4.00/xpdf-korean/add-to-xpdfrc.new xpdf-4.00/xpdf-korean/add-to-xpdfrc
--- xpdf-4.00/xpdf-korean/add-to-xpdfrc.new 2017-08-16 17:49:01.853839142 -0400
+++ xpdf-4.00/xpdf-korean/add-to-xpdfrc 2017-08-16 17:50:22.453833361 -0400
@@ -1,7 +1,7 @@
#----- begin Korean support package (2011-sep-02)
-cidToUnicode Adobe-Korea1 /usr/local/share/xpdf/korean/Adobe-Korea1.cidToUnicode
-unicodeMap ISO-2022-KR /usr/local/share/xpdf/korean/ISO-2022-KR.unicodeMap
-cMapDir Adobe-Korea1 /usr/local/share/xpdf/korean/CMap
-toUnicodeDir /usr/local/share/xpdf/korean/CMap
+cidToUnicode Adobe-Korea1 /usr/share/xpdf/korean/Adobe-Korea1.cidToUnicode
+unicodeMap ISO-2022-KR /usr/share/xpdf/korean/ISO-2022-KR.unicodeMap
+cMapDir Adobe-Korea1 /usr/share/xpdf/korean/CMap
+toUnicodeDir /usr/share/xpdf/korean/CMap
#fontFileCC Adobe-Korea1 /usr/..../NotoSansCJKkr-Regular.otf
#----- end Korean support package
diff -up xpdf-4.00/xpdf-latin2/add-to-xpdfrc.new xpdf-4.00/xpdf-latin2/add-to-xpdfrc
--- xpdf-4.00/xpdf-latin2/add-to-xpdfrc.new 2017-08-16 17:52:45.862216519 -0400
+++ xpdf-4.00/xpdf-latin2/add-to-xpdfrc 2017-08-16 17:52:51.658070344 -0400
@@ -1,3 +1,3 @@
#----- begin Latin2 support package (2011-aug-15)
-unicodeMap Latin2 /usr/local/share/xpdf/latin2/Latin2.unicodeMap
+unicodeMap Latin2 /usr/share/xpdf/latin2/Latin2.unicodeMap
#----- end Latin2 support package
diff -up xpdf-4.00/xpdf-thai/add-to-xpdfrc.new xpdf-4.00/xpdf-thai/add-to-xpdfrc
--- xpdf-4.00/xpdf-thai/add-to-xpdfrc.new 2011-08-15 17:24:29.000000000 -0400
+++ xpdf-4.00/xpdf-thai/add-to-xpdfrc 2017-08-16 17:49:01.853839142 -0400
@@ -1,4 +1,4 @@
#----- begin Thai support package (2011-aug-15)
-nameToUnicode /usr/local/share/xpdf/thai/Thai.nameToUnicode
-unicodeMap TIS-620 /usr/local/share/xpdf/thai/TIS-620.unicodeMap
+nameToUnicode /usr/share/xpdf/thai/Thai.nameToUnicode
+unicodeMap TIS-620 /usr/share/xpdf/thai/TIS-620.unicodeMap
#----- end Thai support package
diff -up xpdf-4.00/xpdf-turkish/add-to-xpdfrc.new xpdf-4.00/xpdf-turkish/add-to-xpdfrc
--- xpdf-4.00/xpdf-turkish/add-to-xpdfrc.new 2017-08-16 17:53:20.954331475 -0400
+++ xpdf-4.00/xpdf-turkish/add-to-xpdfrc 2017-08-16 17:53:28.037152842 -0400
@@ -1,3 +1,3 @@
#----- begin Turkish support package (2011-aug-15)
-unicodeMap ISO-8859-9 /usr/local/share/xpdf/turkish/ISO-8859-9.unicodeMap
+unicodeMap ISO-8859-9 /usr/share/xpdf/turkish/ISO-8859-9.unicodeMap
#----- end Turkish support package

54
SOURCES/xpdf-4.00-urw-base35-fonts.patch

@ -0,0 +1,54 @@ @@ -0,0 +1,54 @@
--- xpdf-4.00/xpdf/GlobalParams.cc.orig 2017-08-08 18:22:50.000000000 -0500
+++ xpdf-4.00/xpdf/GlobalParams.cc 2017-11-06 03:18:35.636604800 -0600
@@ -78,20 +78,20 @@ static struct {
const char *obliqueFont; // name of font to oblique
double obliqueFactor; // oblique sheer factor
} displayFontTab[] = {
- {"Courier", "n022003l.pfb", "cour.ttf", "Courier", "Courier", NULL, 0},
- {"Courier-Bold", "n022004l.pfb", "courbd.ttf", "Courier", "Courier Bold", NULL, 0},
- {"Courier-BoldOblique", "n022024l.pfb", "courbi.ttf", "Courier", "Courier Bold Oblique", "Courier-Bold", 0.212557},
- {"Courier-Oblique", "n022023l.pfb", "couri.ttf", "Courier", "Courier Oblique", "Courier", 0.212557},
- {"Helvetica", "n019003l.pfb", "arial.ttf", "Helvetica", "Helvetica", NULL, 0},
- {"Helvetica-Bold", "n019004l.pfb", "arialbd.ttf", "Helvetica", "Helvetica-Bold", NULL, 0},
- {"Helvetica-BoldOblique", "n019024l.pfb", "arialbi.ttf", "Helvetica", "Helvetica Bold Oblique", "Helvetica-Bold", 0.212557},
- {"Helvetica-Oblique", "n019023l.pfb", "ariali.ttf", "Helvetica", "Helvetica Oblique", "Helvetica", 0.212557},
- {"Symbol", "s050000l.pfb", NULL, "Symbol", "Symbol", NULL, 0},
- {"Times-Bold", "n021004l.pfb", "timesbd.ttf", "Times", "Times-Bold", NULL, 0},
- {"Times-BoldItalic", "n021024l.pfb", "timesbi.ttf", "Times", "Times-BoldItalic", NULL, 0},
- {"Times-Italic", "n021023l.pfb", "timesi.ttf", "Times", "Times-Italic", NULL, 0},
- {"Times-Roman", "n021003l.pfb", "times.ttf", "Times", "Times-Roman", NULL, 0},
- {"ZapfDingbats", "d050000l.pfb", NULL, "ZapfDingbats", "Zapf Dingbats", NULL, 0},
+ {"Courier", "NimbusMonoPS-Regular.t1", "cour.ttf", "Courier", "Courier", NULL, 0},
+ {"Courier-Bold", "NimbusMonoPS-Bold.t1", "courbd.ttf", "Courier", "Courier Bold", NULL, 0},
+ {"Courier-BoldOblique", "NimbusMonoPS-BoldItalic.t1", "courbi.ttf", "Courier", "Courier Bold Oblique", "Courier-Bold", 0.212557},
+ {"Courier-Oblique", "NimbusMonoPS-Italic.t1", "couri.ttf", "Courier", "Courier Oblique", "Courier", 0.212557},
+ {"Helvetica", "NimbusSans-Regular.t1", "arial.ttf", "Helvetica", "Helvetica", NULL, 0},
+ {"Helvetica-Bold", "NimbusSans-Bold.t1", "arialbd.ttf", "Helvetica", "Helvetica-Bold", NULL, 0},
+ {"Helvetica-BoldOblique", "NimbusSans-BoldItalic.t1", "arialbi.ttf", "Helvetica", "Helvetica Bold Oblique", "Helvetica-Bold", 0.212557},
+ {"Helvetica-Oblique", "NimbusSans-Italic.t1", "ariali.ttf", "Helvetica", "Helvetica Oblique", "Helvetica", 0.212557},
+ {"Symbol", "StandardSymbolsPS.t1", NULL, "Symbol", "Symbol", NULL, 0},
+ {"Times-Bold", "NimbusRoman-Bold.t1", "timesbd.ttf", "Times", "Times-Bold", NULL, 0},
+ {"Times-BoldItalic", "NimbusRoman-BoldItalic.t1", "timesbi.ttf", "Times", "Times-BoldItalic", NULL, 0},
+ {"Times-Italic", "NimbusRoman-Italic.t1", "timesi.ttf", "Times", "Times-Italic", NULL, 0},
+ {"Times-Roman", "NimbusRoman-Regular.t1", "times.ttf", "Times", "Times-Roman", NULL, 0},
+ {"ZapfDingbats", "D050000L.t1", NULL, "ZapfDingbats", "Zapf Dingbats", NULL, 0},
{NULL}
};
@@ -103,6 +103,7 @@ static const char *displayFontDirs[] = {
};
#else
static const char *displayFontDirs[] = {
+ "/usr/share/fonts/urw-base35",
"/usr/share/ghostscript/fonts",
"/usr/local/share/ghostscript/fonts",
"/usr/share/fonts/default/Type1",
@@ -2213,7 +2216,7 @@ FILE *GlobalParams::findToUnicodeFile(GS
}
GString *GlobalParams::findFontFile(GString *fontName) {
- static const char *exts[] = { ".pfa", ".pfb", ".ttf", ".ttc" };
+ static const char *exts[] = { ".pfa", ".pfb", ".t1", ".ttf", ".ttc" };
GString *path, *dir;
#ifdef _WIN32
GString *fontNameU;

27
SOURCES/xpdf-4.00-versionedlib.patch

@ -0,0 +1,27 @@ @@ -0,0 +1,27 @@
diff -up xpdf-4.00/fofi/CMakeLists.txt.versionedlib xpdf-4.00/fofi/CMakeLists.txt
--- xpdf-4.00/fofi/CMakeLists.txt.versionedlib 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/fofi/CMakeLists.txt 2017-08-16 20:06:18.106884951 -0400
@@ -24,3 +24,5 @@ add_library(fofi_objs OBJECT
add_library(fofi
$<TARGET_OBJECTS:fofi_objs>
)
+
+set_target_properties(fofi PROPERTIES VERSION 4 SOVERSION 4)
diff -up xpdf-4.00/goo/CMakeLists.txt.versionedlib xpdf-4.00/goo/CMakeLists.txt
--- xpdf-4.00/goo/CMakeLists.txt.versionedlib 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/goo/CMakeLists.txt 2017-08-16 20:06:00.525277924 -0400
@@ -25,3 +25,5 @@ add_library(goo_objs OBJECT
add_library(goo
$<TARGET_OBJECTS:goo_objs>
)
+
+set_target_properties(goo PROPERTIES VERSION 4 SOVERSION 4)
diff -up xpdf-4.00/splash/CMakeLists.txt.versionedlib xpdf-4.00/splash/CMakeLists.txt
--- xpdf-4.00/splash/CMakeLists.txt.versionedlib 2017-08-08 19:22:50.000000000 -0400
+++ xpdf-4.00/splash/CMakeLists.txt 2017-08-16 20:06:41.204368689 -0400
@@ -44,4 +44,5 @@ if (HAVE_SPLASH)
add_library(splash
$<TARGET_OBJECTS:splash_objs>
)
+ set_target_properties(splash PROPERTIES VERSION 4 SOVERSION 4)
endif ()

BIN
SOURCES/xpdf-4.00.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-arabic-2011-aug-15.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-chinese-simplified-2017-jul-25-NOCMAP.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-chinese-traditional-2017-jul-25-NOCMAP.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-cyrillic-2011-aug-15.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-greek-2011-aug-15.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-hebrew-2011-aug-15.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-japanese-2017-jul-25-NOCMAP.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-korean-2017-jul-25-NOCMAP.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-latin2-2011-aug-15.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-thai-2011-aug-15.tar.gz

Binary file not shown.

BIN
SOURCES/xpdf-turkish-2011-aug-15.tar.gz

Binary file not shown.

14
SOURCES/xpdf.desktop

@ -0,0 +1,14 @@ @@ -0,0 +1,14 @@
[Desktop Entry]
Categories=Graphics;
X-Desktop-File-Install-Version=0.2
Name=Xpdf PDF Viewer
Name[sv]=Xpdf PDF-visare
Name[de]=Xpdf PDF-Betrachter
Comment=View Adobe PDF (acrobat) files
Comment[sv]=Visar Adobe PDF-filer (acrobat-filer)
Comment[de]=PDF-Betrachter
Exec=xpdf %f
Terminal=false
Type=Application
Icon=xpdf
MimeType=application/pdf;

BIN
SOURCES/xpdf.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B

872
SPECS/xpdf.spec

@ -0,0 +1,872 @@ @@ -0,0 +1,872 @@
Summary: A PDF file viewer for the X Window System
Name: xpdf
Version: 4.00
Release: 7%{?dist}
License: (GPLv2 or GPLv3) and BSD
Epoch: 1
Url: http://www.xpdfreader.com/
Group: Applications/Publishing

Source0: http://www.xpdfreader.com/dl/%{name}-%{version}.tar.gz
# We have to pull the following CMap files out due to non-free license.
# CMap/Adobe-GB1-UCS2
# CMap/GBK-EUC-UCS2
# CMap/GBpc-EUC-UCS2
# CMap/GBpc-EUC-UCS2C
# Source3: http://www.xpdfreader.com/dl/xpdf-chinese-simplified.tar.gz
Source3: xpdf-chinese-simplified-2017-jul-25-NOCMAP.tar.gz
# CMap/Adobe-CNS1-UCS2
# CMap/B5pc-UCS2
# CMap/B5pc-UCS2C
# CMap/ETen-B5-UCS2
# Source4: http://www.xpdfreader.com/dl/xpdf-chinese-traditional.tar.gz
Source4: xpdf-chinese-traditional-2017-jul-25-NOCMAP.tar.gz
# CMap/90ms-RKSJ-UCS2
# CMap/90pv-RKSJ-UCS2
# CMap/90pv-RKSJ-UCS2C
# CMap/Adobe-Japan1-UCS2
# Source5: http://www.xpdfreader.com/dl/xpdf-japanese.tar.gz
Source5: xpdf-japanese-2017-jul-25-NOCMAP.tar.gz
# CMap/Adobe-Korea1-UCS2
# CMap/KSCms-UHC-UCS2
# CMap/KSCpc-EUC-UCS2
# CMap/KSCpc-EUC-UCS2C
# Source6: http://www.xpdfreader.com/dl/xpdf-korean.tar.gz
Source6: xpdf-korean-2017-jul-25-NOCMAP.tar.gz
# cyrillic and thai don't have CMap files to worry about.
Source7: ftp://ftp.foolabs.com/pub/xpdf/xpdf-cyrillic-2011-aug-15.tar.gz
Source8: ftp://ftp.foolabs.com/pub/xpdf/xpdf-thai-2011-aug-15.tar.gz
Source10: xpdf.desktop
Source11: xpdf.png
Source12: ftp://ftp.foolabs.com/pub/xpdf/xpdf-arabic-2011-aug-15.tar.gz
Source13: ftp://ftp.foolabs.com/pub/xpdf/xpdf-greek-2011-aug-15.tar.gz
Source14: ftp://ftp.foolabs.com/pub/xpdf/xpdf-hebrew-2011-aug-15.tar.gz
Source15: ftp://ftp.foolabs.com/pub/xpdf/xpdf-latin2-2011-aug-15.tar.gz
Source16: ftp://ftp.foolabs.com/pub/xpdf/xpdf-turkish-2011-aug-15.tar.gz

Patch0: xpdf-4.00-redhat-new.patch
Patch3: xpdf-3.03-ext.patch
Patch9: xpdf-3.00-papersize.patch
Patch11: xpdf-3.04-crash.patch
Patch12: xpdf-4.00-64bit.patch
Patch15: xpdf-3.04-nocmap.patch
Patch23: xpdf-4.00-libpaperfix.patch
Patch24: xpdf-4.00-man-path-fix.patch
Patch25: xpdf-4.00-versionedlib.patch
Patch26: xpdf-4.00-urw-base35-fonts.patch

# Security patches

# Debian patches
Patch200: xpdf-4.00-permissions.patch
# Proper stream encoding on 64bit platforms
Patch203: fix-444648.dpatch

Requires: urw-fonts
Requires: xdg-utils
Requires: poppler-utils
Requires: xorg-x11-fonts-ISO8859-1-75dpi
Requires: xorg-x11-fonts-ISO8859-1-100dpi
Requires: qt5-qtsvg

BuildRequires: qt5-devel, cmake
BuildRequires: freetype-devel >= 2.1.7
BuildRequires: desktop-file-utils
BuildRequires: libpaper-devel
BuildRequires: libpng-devel
BuildRequires: libXpm-devel
BuildRequires: cups-devel

Provides: %{name}-chinese-simplified = %{version}-%{release}
Obsoletes: %{name}-chinese-simplified
Provides: %{name}-chinese-traditional = %{version}-%{release}
Obsoletes: %{name}-chinese-traditional
Provides: %{name}-korean = %{version}-%{release}
Obsoletes: %{name}-korean
Provides: %{name}-japanese = %{version}-%{release}
Obsoletes: %{name}-japanese


%description
Xpdf is an X Window System based viewer for Portable Document Format
(PDF) files. Xpdf is a small and efficient program which uses
standard X fonts.

%package devel
Requires: %{name}%{_isa} = %{epoch}:%{version}-%{release}
Summary: Development files for xpdf libraries

%description devel
Development files for xpdf libraries.

%prep
%setup -q -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 12 -a 13 -a 14 -a 15 -a 16
%patch0 -p1 -b .new
%patch3 -p1 -b .ext
%patch9 -p1 -b .papersize
%patch11 -p1 -b .crash
%patch12 -p1 -b .alloc
%patch23 -p1 -b .paperfix
%patch24 -p1 -b .manfix
%patch25 -p1 -b .versionedlib
%patch26 -p1 -b .urw-font-fix

# security patches

# debian patches
%patch200 -p1 -b .permissions
%patch203 -p1 -b .64bit-stream

# Comment out unused urlCommand option
sed -i 's|urlCommand|#urlCommand|g' doc/sample-xpdfrc

%build
find -name "*orig" | xargs rm -f

# This may seem pointless, but in the unlikely event that _sysconfdir != /etc ...
for file in doc/*.1 doc/*.5 xpdf-*/README; do
sed -i -e 's:/etc/xpdfrc:%{_sysconfdir}/xpdfrc:g' $file
done
# Same action for _datadir.
for file in xpdf-*/README xpdf-*/add-to-xpdfrc; do
sed -i -e 's:/usr/share/:%{_datadir}/:g' $file
sed -i -e 's:/usr/local/share/:%{_datadir}/:g' $file
done

export CFLAGS="%{optflags} -fPIC"
export CXXFLAGS="%{optflags} -Wno-deprecated -fPIC"
%cmake -DMULTITHREADED=ON -DOPI_SUPPORT=ON -DXPDFWIDGET_PRINTING=1 -DSYSTEM_XPDFRC="%{_sysconfdir}/xpdfrc"

make %{?_smp_mflags}
make xpdf %{?_smp_mflags}

%install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/xpdf/arabic \
$RPM_BUILD_ROOT%{_datadir}/xpdf/chinese-simplified \
$RPM_BUILD_ROOT%{_datadir}/xpdf/chinese-traditional \
$RPM_BUILD_ROOT%{_datadir}/xpdf/cyrillic \
$RPM_BUILD_ROOT%{_datadir}/xpdf/greek \
$RPM_BUILD_ROOT%{_datadir}/xpdf/hebrew \
$RPM_BUILD_ROOT%{_datadir}/xpdf/japanese \
$RPM_BUILD_ROOT%{_datadir}/xpdf/korean \
$RPM_BUILD_ROOT%{_datadir}/xpdf/latin2 \
$RPM_BUILD_ROOT%{_datadir}/xpdf/thai \
$RPM_BUILD_ROOT%{_datadir}/xpdf/turkish \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps

make install DESTDIR=$RPM_BUILD_ROOT

# Y U NO INSTALL LIBS?!?
mkdir -p $RPM_BUILD_ROOT%{_libdir}
cp -a fofi/libfofi.so* $RPM_BUILD_ROOT%{_libdir}
cp -a goo/libgoo.so* $RPM_BUILD_ROOT%{_libdir}
cp -a splash/libsplash.so* $RPM_BUILD_ROOT%{_libdir}

# headers
mkdir -p $RPM_BUILD_ROOT%{_includedir}/xpdf/fofi
mkdir -p $RPM_BUILD_ROOT%{_includedir}/xpdf/goo
mkdir -p $RPM_BUILD_ROOT%{_includedir}/xpdf/splash
cp -a fofi/*.h $RPM_BUILD_ROOT%{_includedir}/xpdf/fofi/
cp -a goo/*.h $RPM_BUILD_ROOT%{_includedir}/xpdf/goo/
cp -a splash/*.h $RPM_BUILD_ROOT%{_includedir}/xpdf/splash/

mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
%if 0%{?rhel} > 5 || 0%{?fedora}
desktop-file-install \
%else
desktop-file-install --vendor "fedora" \
%endif
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Fedora \
%{SOURCE10}
install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/xpdf.png

cp -pr xpdf-arabic/* $RPM_BUILD_ROOT%{_datadir}/xpdf/arabic/
cp -pr xpdf-chinese-simplified/* $RPM_BUILD_ROOT%{_datadir}/xpdf/chinese-simplified/
cp -pr xpdf-chinese-traditional/* $RPM_BUILD_ROOT%{_datadir}/xpdf/chinese-traditional/
cp -pr xpdf-cyrillic/* $RPM_BUILD_ROOT%{_datadir}/xpdf/cyrillic/
cp -pr xpdf-greek/* $RPM_BUILD_ROOT%{_datadir}/xpdf/greek/
cp -pr xpdf-hebrew/* $RPM_BUILD_ROOT%{_datadir}/xpdf/hebrew/
cp -pr xpdf-japanese/* $RPM_BUILD_ROOT%{_datadir}/xpdf/japanese/
cp -pr xpdf-korean/* $RPM_BUILD_ROOT%{_datadir}/xpdf/korean/
cp -pr xpdf-latin2/* $RPM_BUILD_ROOT%{_datadir}/xpdf/latin2/
cp -pr xpdf-thai/* $RPM_BUILD_ROOT%{_datadir}/xpdf/thai/
cp -pr xpdf-turkish/* $RPM_BUILD_ROOT%{_datadir}/xpdf/turkish/

# poppler provides all utilities now
# http://bugzilla.redhat.com/bugzillA/SHow_bug.cgi?id=177446
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219032
%if 0%{?rhel} > 6 || 0%{?fedora}
rm $RPM_BUILD_ROOT%{_bindir}/pdfdetach
%endif
rm $RPM_BUILD_ROOT%{_bindir}/pdffonts
rm $RPM_BUILD_ROOT%{_bindir}/pdfimages
rm $RPM_BUILD_ROOT%{_bindir}/pdfinfo
rm $RPM_BUILD_ROOT%{_bindir}/pdftohtml
rm $RPM_BUILD_ROOT%{_bindir}/pdftops
rm $RPM_BUILD_ROOT%{_bindir}/pdftotext
%if 0%{?rhel} > 5 || 0%{?fedora} > 6
rm $RPM_BUILD_ROOT%{_bindir}/pdftoppm
rm $RPM_BUILD_ROOT%{_mandir}/man1/pdftoppm.1*
%endif
%if 0%{?rhel} > 6 || 0%{?fedora}
rm $RPM_BUILD_ROOT%{_mandir}/man1/pdfdetach.1*
%endif
rm $RPM_BUILD_ROOT%{_mandir}/man1/pdffonts.1*
rm $RPM_BUILD_ROOT%{_mandir}/man1/pdfimages.1*
rm $RPM_BUILD_ROOT%{_mandir}/man1/pdfinfo.1*
rm $RPM_BUILD_ROOT%{_mandir}/man1/pdftohtml.1*
rm $RPM_BUILD_ROOT%{_mandir}/man1/pdftops.1*
rm $RPM_BUILD_ROOT%{_mandir}/man1/pdftotext.1*

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xpdf/
for i in arabic chinese-simplified chinese-traditional cyrillic greek hebrew japanese korean latin2 thai turkish; do
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/$i/README README.$i
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/$i/add-to-xpdfrc $RPM_BUILD_ROOT%{_sysconfdir}/xpdf/add-to-xpdfrc.$i
done

# xpdfrc cleanup
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/
cp -a doc/sample-xpdfrc $RPM_BUILD_ROOT%{_sysconfdir}/xpdfrc
sed -i -e 's:/usr/local/share/:%{_datadir}/:g' $RPM_BUILD_ROOT%{_sysconfdir}/xpdfrc

%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
update-desktop-database &> /dev/null ||:

%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
update-desktop-database &> /dev/null ||:

%files
%license COPYING COPYING3
%doc CHANGES README README.*
%{_bindir}/xpdf
%{_bindir}/pdftopng
%{_libdir}/lib*.so.*
%{_mandir}/man?/pdftopng*
%{_mandir}/man?/xpdf*
%if 0%{?rhel} > 5 || 0%{?fedora} > 6
# Do Nothing.
%else
%{_bindir}/pdftoppm
%{_mandir}/man?/pdftoppm*
%endif
%if 0%{?rhel}
%if 0%{?rhel} < 7
%{_bindir}/pdfdetach
%{_mandir}/man?/pdfdetach*
%endif
%endif
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdfrc
%dir %{_sysconfdir}/xpdf
%lang(ar) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.arabic
%lang(zh_CN) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.chinese-simplified
%lang(zh_TW) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.chinese-traditional
%lang(el) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.greek
%lang(iw) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.hebrew
%lang(ja) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.japanese
%lang(ko) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.korean
%lang(th) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.thai
%lang(tr) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.turkish
# cyrillic and latin2 are not langs, many languages are cyrillic/latin2
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.cyrillic
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/xpdf/add-to-xpdfrc.latin2
%{_datadir}/icons/hicolor/48x48/apps/xpdf.png
%dir %{_datadir}/xpdf
%{_datadir}/applications/*
%lang(ar) %{_datadir}/xpdf/arabic
%lang(zh_CN) %{_datadir}/xpdf/chinese-simplified
%lang(zh_TW) %{_datadir}/xpdf/chinese-traditional
%lang(el) %{_datadir}/xpdf/greek
%lang(iw) %{_datadir}/xpdf/hebrew
%lang(ja) %{_datadir}/xpdf/japanese
%lang(ko) %{_datadir}/xpdf/korean
%lang(th) %{_datadir}/xpdf/thai
%lang(tr) %{_datadir}/xpdf/turkish
%{_datadir}/xpdf/cyrillic
%{_datadir}/xpdf/latin2

%files devel
%{_includedir}/xpdf/
%{_libdir}/lib*.so

%changelog
* Mon Apr 30 2018 Tom Callaway <spot@fedoraproject.org> - 1:4.00-7
- add Requires: qt5-qtsvg to ensure icons are shown

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.00-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Mon Nov 27 2017 Tom Callaway <spot@fedoraproject.org> - 1:4.00-5
- enable printing support. I hate cmake. thanks to Henrique Martins.

* Mon Nov 13 2017 Tom Callaway <spot@fedoraproject.org> - 1:4.00-4
- tell xpdf where to find the system copy of xpdfrc
- comment out unused urlCommand option from xpdfrc

* Tue Nov 7 2017 Tom Callaway <spot@fedoraproject.org> - 1:4.00-3
- fix URW font handling (thanks to Yaakov Selkowitz)

* Wed Aug 23 2017 Tom Callaway <spot@fedoraproject.org> 1:4.00-2
- fix macro typo

* Wed Aug 16 2017 Tom Callaway <spot@fedoraproject.org> 1:4.00-1
- update to 4.00

* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.04-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.04-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.04-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.04-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Mon Jul 27 2015 Tom Callaway <spot@fedoraproject.org> - 1:3.04-11
- fix output resolution of png file output (thanks to Kevin Farshaw, bz1246666)

* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.04-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Mon May 11 2015 Tom Callaway <spot@fedoraproject.org> - 1:3.04-9
- RHEL 7 does not need pdfdetach

* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1:3.04-8
- Rebuilt for GCC 5 C++11 ABI change

* Mon Jan 12 2015 Tom Callaway <spot@fedoraproject.org> - 1:3.04-7
- add BR: libXpm-devel, drop --with-gzip (no longer exists)

* Tue Dec 2 2014 Tom Callaway <spot@fedoraproject.org> - 1:3.04-6
- fix proper display of international strings in the title (bz 1169301)

* Fri Sep 12 2014 Tom Callaway <spot@fedoraproject.org> - 1:3.04-5
- fix .desktop file

* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@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@lists.fedoraproject.org> - 1:3.04-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Tue Jun 3 2014 Tom Callaway <spot@fedoraproject.org> - 1:3.04-2
- fix "sharexpdf" typo in lang configs

* Thu May 29 2014 Tom Callaway <spot@fedoraproject.org> - 1:3.04-1
- update to 3.04
- update all patches, langpacks
- use motif instead of lesstif where possible
- fix pdftopng to install (not in poppler right now)

* Sun Sep 22 2013 Tom Callaway <spot@fedoraproject.org> - 1:3.03-8.1
- rhel still needs pdfdetach in xpdf

* Sun Sep 22 2013 Tom Callaway <spot@fedoraproject.org> - 1:3.03-8
- fix CVE-2012-2142
- fix issue with icon name in .desktop file (except on el5)

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.03-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1:3.03-6
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077

* Wed Nov 14 2012 Tom Callaway <spot@fedoraproject.org> - 1:3.03-5
- fix desktop file to invoke xpdf with a file param (bz874644)

* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.03-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Fri May 25 2012 Tom Callaway <spot@fedoraproject.org> - 1:3.03-3
- drop pdfdetach, poppler-utils has it now

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.03-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Mon Aug 22 2011 Tom Callaway <spot@fedoraproject.org> - 1:3.03-1
- update to 3.03

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.02-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Fri Jan 21 2011 Tom Callaway <spot@fedoraproject.org> - 1:3.02-17
- Added pdftoppm for el5 or older, since it is not included in poppler-utils on el5
- Thanks to Ingvar Hagelund.

* Fri Oct 22 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.02-16
- apply xpdf-3.02pl5 security patch to fix:
CVE-2010-3702, CVS-2010-3704

* Fri Oct 16 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.02-15
- apply xpdf-3.02pl4 security patch to fix:
CVE-2009-3603, CVE-2009-3604, CVE-2009-3605, CVE-2009-3606
CVE-2009-3608, CVE-2009-3609

* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.02-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Thu Apr 16 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.02-13
- apply xpdf-3.02pl3 security patch to fix:
CVE-2009-0799, CVE-2009-0800, CVE-2009-1179, CVE-2009-1180
CVE-2009-1181, CVE-2009-1182, CVE-2009-1183

* Wed Mar 4 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.02-12
- add Requires: xorg-x11-fonts-ISO8859-1-100dpi (bz 485404)

* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.02-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Wed Feb 11 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.02-10
- cleanup crash patch a bit (bz 483664)
- improve support for more mouse buttons (bz 483669)

* Wed Dec 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.02-9
- apply debian patches

* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 1:3.02-8
- Fix Patch0:/%%patch mismatch.

* Thu Jun 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.02-7
- add missing Requires: xorg-x11-fonts-ISO8859-1-75dpi

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:3.02-6
- Autorebuild for GCC 4.3

* Wed Jan 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.02-5
- use xdg-utils instead of htmlview (bz 313311)

* Fri Nov 9 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.02-4
- resolve 372461, 372471, 372481

* Tue Aug 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.02-3
- fix PDF printing on x86_64 (bz 253601)
- add mouse buttons 8 and 9 (bz 255401)
- add extra zoom types (bz 251855)
- rebuild for BuildID

* Mon Aug 6 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.02-2
- fix font list parsing to squelch noise (bz 250709)
- cleanup add-to-xpdfrc files, update xpdfrc to include them by default

* Wed Aug 1 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.02-1
- bump to 3.02
- patch in security fix
- add arabic, greek, hebrew, latin2, turkish lang support

* Mon Dec 18 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-28
- Requires: poppler-utils

* Thu Dec 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-27
- drop the xpdf-utils subpackage, poppler-utils ate it all

* Mon Sep 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-26
- get rid of goo/vms_* since they have questionable licensing

* Mon Sep 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-25
- patch thai/cyrillic files for proper pathing

* Mon Sep 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-24
- get rid of non-free CMap files
- actually use thai/cyrillic sources
- patch out the references to using CMap files

* Mon Sep 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-23
- new patch missed README files, fixed

* Mon Sep 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-22
- use latest localized files
- fix redhat patch to work with new localized files

* Mon Sep 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-21
- use sane cp flags
- remove hardcoded X-Red-Hat-Base from .desktop
- mark the extra config files with their lang
- get rid of unnecessary Requires post,postun

* Sun Sep 24 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-20
- use the proper icon

* Sat Sep 23 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-19
- get rid of unnecessary BR fileutils, findutils
- get rid of duplicate R poppler-utils on main package
- use _sysconfdir/xpdf hierarchy, own add-to-xpdfrc as config files
- README files for each lang should be doc files, rename with lang ext
- ensure that files reflect macro settings
- use _sysconfdir macro
- remove files without -rf
- no need for /etc/X11/applnk/Graphics
- update xpdf-3.01-redhat.patch accordingly

* Sat Sep 23 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-18
- use t1lib
- remove non-utf8 character from old changelog
- put png icon in hicolor/48x48/apps
- use appropriate desktop scriptlets
- set vendor="fedora"
- move R:poppler-utils to xpdf-utils
- remove period from xpdf-utils summary
- add provides for everything we obsolete
- get rid of autoconf, Xprint patch, just pass --without-Xp-library
- add libpaper as BR

* Fri Sep 22 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:3.01-17
- move to Fedora Extras, use desktop-file-install

* Wed Aug 09 2006 Than Ngo <than@redhat.com> 1:3.01-16
- fix #200608, install icon in the wrong dir

* Fri Jul 14 2006 Than Ngo <than@redhat.com> 1:3.01-15
- fix build problem with new freetype

* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:3.01-14.1
- rebuild

* Wed Jun 28 2006 Than Ngo <than@redhat.com> 1:3.01-14
- fix #197090, BR: autoconf

* Fri May 5 2006 Adam Jackson <ajackson@redhat.com> 1:3.01-13
- Remove spurious libXp dependency

* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:3.01-12.1
- bump again for double-long bug on ppc(64)

* Tue Feb 07 2006 Than Ngo <than@redhat.com> 3.01-12
- apply patch to fix buffer overflow issue in the xpdf codebase
when handling splash images CVE-2006-0301 (#179423)

* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:3.01-11.1
- rebuilt for new gcc4.1 snapshot and glibc changes

* Mon Jan 23 2006 Than Ngo <than@redhat.com> 3.01-11
- add correct app-defaults directory #178545

* Wed Jan 18 2006 Ray Strode <rstrode@redhat.de> 3.01-10
- remove requires line in utils subpackage

* Wed Jan 18 2006 Ray Strode <rstrode@redhat.de> 3.01-9
- remove pdf command-line utilities and require poppler ones
instead (bug 177446).

* Wed Jan 18 2006 Than Ngo <than@redhat.com> 3.01-8
- add new subpackage xpdf-utils

* Tue Jan 10 2006 Karsten Hopp <karsten@redhat.de> 3.01-7
- add patches to fix CVE-2005-3191 and CAN-2005-3193

* Mon Dec 12 2005 Than Ngo <than@redhat.com> 3.01-6
- rebuilt against new openmotif-2.3

* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt

* Wed Nov 09 2005 Than Ngo <than@redhat.com> 3.01-5
- add correct Simplified/Traditional Chinese fonts #170989

* Tue Nov 08 2005 Than Ngo <than@redhat.com> 3.01-4
- get rid of XFree86-devel

* Thu Oct 13 2005 Matthias Clasen <mclasen@redhat.com> 3.01-3
- don't use freetype internals

* Fri Oct 07 2005 Than Ngo <than@redhat.com> 3.01-2
- apply upstream patch to fix resize/redraw bug #166569

* Thu Aug 18 2005 Than Ngo <than@redhat.com> 3.01-1
- update to 3.01

* Thu Aug 11 2005 Than Ngo <than@redhat.com> 3.00-24
- change Kochi fonts to Sazanami fonts #165678

* Tue Aug 09 2005 Than Ngo <than@redhat.com> 3.00-23
- apply patch to fix xpdf DoS, CAN-2005-2097 #163918

* Mon Jul 25 2005 Than Ngo <than@redhat.com> 3.00-22
- fix allocation size 64bit architectures

* Mon Jul 25 2005 Than Ngo <than@redhat.com> 3.00-21
- fix xpdf crash #163807

* Mon Jun 13 2005 Than Ngo <than@redhat.com> 3.00-20
- urlCommand launches htmlview #160176
- fix gcc4 build problem

* Mon May 23 2005 Than Ngo <than@redhat.com> 3.00-19
- apply patch to fix texts in non-embedded cjk font disappear, (#158509)

* Sat Mar 05 2005 Than Ngo <than@redhat.com> 1:3.00-18
- rebuilt

* Thu Feb 10 2005 Than Ngo <than@redhat.com> 1:3.00-17
- More fixing of CAN-2004-0888 patch (bug #135393)

* Wed Jan 26 2005 Than Ngo <than@redhat.com> 1:3.00-16
- Add patch to fix handling CID font encodings in freetype version >= 2.1.8 (bug #135066)

* Thu Jan 20 2005 Than Ngo <than@redhat.com> 1:3.00-15
- Applied patch to fix CAN-2005-0064 (bug #145050)

* Wed Dec 22 2004 Tim Waugh <twaugh@redhat.com> 1:3.00-14
- Applied patch to fix CAN-2004-1125 (bug #143500).

* Mon Nov 29 2004 Than Ngo <than@redhat.com> 1:3.00-13
- set match as default psPaperSize #141131

* Tue Oct 26 2004 Than Ngo <than@redhat.com> 1:3.00-12
- bump release

* Tue Oct 26 2004 Than Ngo <than@redhat.com> 1:3.00-11
- don't link against t1lib, use freetype2 for rendering

* Thu Oct 21 2004 Than Ngo <than@redhat.com> 1:3.00-10
- apply patch to fix CAN-2004-0888

* Thu Oct 21 2004 Than Ngo <than@redhat.com> 1:3.00-9
- fix xpdf crash #136633

* Tue Oct 12 2004 Than Ngo <than@redhat.com> 1:3.00-8
- fix default fonts setting

* Mon Oct 11 2004 Than Ngo <than@redhat.com> 3.00-7
- fix locale issue #133911

* Thu Oct 07 2004 Than Ngo <than@redhat.com> 1:3.00-6
- Fix xpdf crash when selecting outline without page reference,
thanks Ulrich Drepper, bz #134993

* Thu Jun 24 2004 Than Ngo <than@redhat.com> 1:3.00-5
- update t1lib upstream
- add cjk font patch, thanks to Yukihiro Nakai, bug #123540
- fix a bug in font rasterizer, bug #125559
- improve menue entry, bug #125850

* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Fri Feb 20 2004 Than Ngo <than@redhat.com> 3.00-3
- better fix for building with freetype 2.1.7

* Tue Feb 17 2004 Than Ngo <than@redhat.com> 3.00-2
- t1lib-5.0.1

* Tue Jan 27 2004 Than Ngo <than@redhat.com> 3.00-1
- 3.00 release
- add patch file to built with new freetype-2.1.7

* Mon Oct 13 2003 Than Ngo <than@redhat.com> 1:2.03-1
- 2.03
- remove xpdf-2.02pl1.patch, which is included in 2.03
- fix warning issue (bug #106313)
- fix huge memory leak, (bug #89552)

* Tue Jul 29 2003 Than Ngo <than@redhat.com> 1:2.02-9
- rebuild

* Tue Jul 29 2003 Than Ngo <than@redhat.com> 1:2.02-8
- add missing icon (bug #100780)
- fix a bug xpdf resource

* Tue Jun 17 2003 Than Ngo <than@redhat.com> 2.02-7
- fixes a security hole

* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Mon May 5 2003 Than Ngo <than@redhat.com> 2.02-4.1
- merge sub packages to main package (bug #87750)

* Fri May 2 2003 Than Ngo <than@redhat.com> 2.02-3.1
- don't install backup files

* Mon Mar 31 2003 Than Ngo <than@redhat.com> 2.02-2
- build with freetype in RHL, #79680
- unsafe temporary files, #79682
- add Xfree86-devel in buildprereq
- build with -O0 on ppc, gcc bug

* Tue Mar 25 2003 Than Ngo <than@redhat.com> 2.02-1
- 2.02
- adjust some patch files for 2.02

* Tue Feb 18 2003 Than Ngo <than@redhat.com> 2.01-8
- own /usr/share/xpdf, #73983
- remove debug unused infos, #84197

* Tue Feb 4 2003 Than Ngo <than@redhat.com> 2.01-7
- fix #82634

* Mon Feb 3 2003 Than Ngo <than@redhat.com> 2.01-6
- fix #82633

* Mon Jan 27 2003 Than Ngo <than@redhat.com> 2.01-5
- added locale patch from ynakai@redhat.com, bug #82638

* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt

* Mon Jan 20 2003 Than Ngo <than@redhat.com> 2.01-3
- Security fixes.

* Sun Dec 8 2002 Than Ngo <than@redhat.com> 2.01-2
- urlCommand launches htmlview (bug #76694)

* Fri Dec 6 2002 Than Ngo <than@redhat.com> 2.01-1
- update to 2.01

* Wed Nov 6 2002 Than Ngo <than@redhat.com> 2.00-1
- update to 2.00
- adapt a patch file for 2.00
- build against openmotif

* Fri Sep 20 2002 Than Ngo <than@redhat.com> 1.01-9
- Build against new freetype

* Mon Aug 26 2002 Than Ngo <than@redhat.com> 1.01-8
- add descriptive name (bug #71673)

* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
- rebuilt with gcc-3.2 (we hope)

* Wed Jul 24 2002 Than Ngo <than@redhat.com> 1.01-6
- desktop file issue (bug #69554)

* Tue Jul 23 2002 Tim Powers <timp@redhat.com> 1.01-5
- build using gcc-3.2-0.1

* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.01-4
- automated rebuild

* Sun Jun 2 2002 Than Ngo <than@redhat.com> 1.01-3
- fix a bug in open file dialog (bug #39844)
- 1.01 handles Type 3 fonts (bug #48843)

* Sun May 26 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Thu May 23 2002 Harald Hoyer <harald@redhat.de> 1.01-1
- xpdf-1.01, freetype-2.0.9

* Sun Mar 17 2002 Than Ngo <than@redhat.com> 1.00-3
- rebuild

* Thu Feb 21 2002 Than Ngo <than@redhat.com> 1.00-2
- fix Bad 'urlCommand' (bug #59730)

* Tue Feb 05 2002 Than Ngo <than@redhat.com> 1.00-1
- update to 1.00 (bug #59239, #48904)
- remove some patch files, which are included in 1.00
- sub packages for chinese-simplified, chinese-traditional, japanese and korean

* Fri Jan 25 2002 Than Ngo <than@redhat.com> 0.93-4
- rebuild in rawhide

* Mon Nov 12 2001 Than Ngo <than@redhat.com> 0.93-2
- enable Chinese GB font support
- enable Chinese CNS font support
- enable use of FreeType 2

* Mon Oct 29 2001 Than Ngo <than@redhat.com> 0.93-1
- update to 0.93

* Wed Sep 12 2001 Tim Powers <timp@redhat.com>
- rebuild with new gcc and binutils

* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.

* Fri Apr 27 2001 Bill Nottingham <notting@redhat.com>
- rebuild for C++ exception handling on ia64

* Wed Mar 28 2001 Than Ngo <than@redhat.com>
- add german translation into desktop file
- move desktop file to /etc/X11/applnk/Graphics (Bug #32720)

* Tue Jan 02 2001 Than Ngo <than@redhat.com>
- added a default URL handler script with a corresponding definition
in Xpdf, thanks to Michal Jaegermann <michal@harddata.com> (Bug #23112)

* Mon Dec 04 2000 Than Ngo <than@redhat.com>
- updated to 0.92 (Bug #16646)
- remove some patches, which included in xpdf-0.92

* Mon Oct 16 2000 Than Ngo <than@redhat.com>
- rebuild for 7.1

* Wed Oct 11 2000 Than Ngo <than@redhat.com>
- fix update problem (Bug #17924)

* Thu Aug 17 2000 Than Ngo <than@redhat.com>
- update to 0.91 (Bug #9961 and many major bugs)

* Sun Aug 06 2000 Than Ngo <than@redhat.de>
- added swedish translation (Bug 15312)

* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Sun Jul 2 2000 Jakub Jelinek <jakub@redhat.com>
- Rebuild with new C++

* Fri Jun 16 2000 Than Ngo <than@redhat.de>
- enable Japanese font support

* Fri Jun 16 2000 Preston Brown <pbrown@redhat.com>
- FHS paths
- better .desktop entry file

* Tue Jun 06 2000 Than Ngo <than@redhat.de>
- fix xpdf crashes on some data streams (Bug# 10154) (thanks Derek)
- add %%defattr
- use rpm macros

* Tue May 23 2000 Ngo Than <than@redhat.de>
- fix problem with loading fonts

* Sun May 21 2000 Ngo Than <than@redhat.de>
- put man pages in /usr/share/man/*
- update t1lib-1.0.1

* Mon May 08 2000 Trond Eivind Glomsrod <teg@redhat.com>
- fixed URL

* Fri Feb 11 2000 Preston Brown <pbrown@redhat.com>
- build for inclusion in 6.2.

* Wed Feb 09 2000 Jakub Jelinek <jakub@redhat.com>
- include decryption patches

* Mon Feb 07 2000 Presto Brown <pbrown@redhat.com>
- rebuild to gzip man pages

* Mon Aug 30 1999 Preston Brown <pbrown@redhat.com>
- upgrade to xpdf 0.90, include t1lib Type1 rasterizer
- fix zapfdingbats font mapping issue

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 4)

* Wed Mar 17 1999 Preston Brown <pbrown@redhat.com>
- converted wmconfig to desktop entry

* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
- Injected new description and group.

* Mon Nov 30 1998 Preston Brown <pbrown@redhat.com>
- updated to 0.80

* Fri Nov 06 1998 Preston Brown <pbrown@redhat.com>
- patched to compile with new, stricter egcs

* Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
- updated to 0.7a

* Thu Nov 20 1997 Otto Hammersmith <otto@redhat.com>
- added changelog
- added wmconfig
Loading…
Cancel
Save