Author Topic: Xpdf v3.04+  (Read 442 times)

André Heldoorn

  • Hero Member
  • *****
  • Thank You
  • -Given: 117
  • -Receive: 19
  • Posts: 776
    • View Profile
Xpdf v3.04+
« on: August 24, 2019, 05:47:48 am »
The latest Xpdf @ Hobbes is v3.03. Apparently, excluding a X11 viewer,  it could be compiled without any source code changes. Is it still possible to compile (and release, please) any newer version of the CLI utilities without source code changes (https://www.xpdfreader.com/old-versions.html)?

Xpdf v4.x.y may require Qt 4 or Qt 5. The latest version (https://www.xpdfreader.com/download.html) requires Qt (5.9.7), FreeType v2.9.1, libpng v1.6.35, zlib 1.12.11 and lcms 2.9. But even v3.0.4 would be an improvement.

readme.os2 of v3.0.3:

Quote
This archive contains Xpdf 3.03 compiled for OS/2.

Only the commandline utilities are included - not the X11 PDF viewer.
The script used for compiling the unchanged Xpdf source is included in the src folder.

André Heldoorn

  • Hero Member
  • *****
  • Thank You
  • -Given: 117
  • -Receive: 19
  • Posts: 776
    • View Profile
Re: Xpdf v3.04+
« Reply #1 on: August 25, 2019, 03:00:13 pm »
It looks like v3.04 is newer than the version number suggests. The new PDFTOHTML.EXE and possible new libraries, for example. It's not a minor upgrade.

TeLLie

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 6
  • Posts: 63
    • View Profile
Re: Xpdf v3.04+
« Reply #2 on: August 25, 2019, 08:29:16 pm »
Hi Andre

I will look if i can latest to build...

Current version: 4.01.01
Released: 2019 Mar 14

Seems the cmdine builds so far, the Qt has some probs to build...

D:\Test\xpdf-4.01.01\os2\xpdf>D:\Test\xpdf-4.01.01\os2\xpdf\pdftotext.exe -v
pdftotext version 4.01.01
Copyright 1996-2019 Glyph & Cog, LLC

and
D:\Test\xpdf-4.01.01\os2\xpdf>D:\Test\xpdf-4.01.01\os2\xpdf\pdfinfo.exe C:\usr\share\cups\data\form_english.pdf
Creator:        Writer
Producer:       LibreOffice 4.0
CreationDate:   Thu Oct 31 14:48:06 2013
Tagged:         no
Form:           AcroForm
Pages:          1
Encrypted:      no
Page size:      595 x 842 pts (A4) (rotated 0 degrees)
File size:      276070 bytes
Optimized:      no
PDF version:    1.4

Will look if  i get QT build also



« Last Edit: August 25, 2019, 08:32:25 pm by TeLLie »

André Heldoorn

  • Hero Member
  • *****
  • Thank You
  • -Given: 117
  • -Receive: 19
  • Posts: 776
    • View Profile
Re: Xpdf v3.04+
« Reply #3 on: August 26, 2019, 09:10:01 am »
Seems the cmdine builds so far, the Qt has some probs to build...

Will look if  i get QT build also

Better than expected! v3.03 is quite old, and they are or were using several libraries.

Apparently the X11-based executable of v3.03 was skipped in the past. Perhaps partly due to related difficulties. Is it an option to release the command-line binaries of a previous version (or this version), and wait for our Qt 5? If so, then a Qt 5-based release will be an upgrade (or an update).

I don't know if it really requires Qt 5, and I assume v3.03 was a "lazy port" ((almost) compile only, without any extraordinary efforts). As such most of the binaries seem to be worth a "lazy port" at least.

I'll attach Xpdf OS/2 icon files (Xpdf.ICO and Xpdf80.PNG), FWIW, based on a v4.01 source file.

David Graser

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 57
  • Posts: 505
    • View Profile
Re: Xpdf v3.04+
« Reply #4 on: August 26, 2019, 08:34:48 pm »
Icons look good!