chtof / chocolatey-packages

Apache License 2.0
12 stars 36 forks source link

Poppler version out of date #75

Open AJDurant opened 2 years ago

AJDurant commented 2 years ago

The location for the Poppler build is no longer being updated, but newer packages are available on https://anaconda.org/conda-forge/poppler/files is the package able to be updated to use this as the source?

fedelibre commented 1 year ago

Any chance to upgrade this package?

0.89 was released in May 2020. It would be nice to have a more up-to-date version. I need at least 21.08 version to build an application. What is preventing the update? I have no experience with Windows unfortunately.

chtof commented 1 year ago

Review in progress: https://community.chocolatey.org/packages/poppler/22.11.0

christian-haider commented 1 year ago

I just installed (for the first time) this package:

PS C:\Windows\system32> choco upgrade poppler -y
Chocolatey v1.4.0
Upgrading the following packages:
poppler
By upgrading, you accept licenses for the packages.
poppler is not installed. Installing...
Progress: Downloading poppler 22.11.0... 100%
Progress: Downloading poppler 22.11.0... 100%

poppler v22.11.0 [Approved]
poppler package files upgrade completed. Performing other installation steps.
 The upgrade of poppler was successful.
  Software install location not explicitly set, it could be in package or
  default install location of installer.

Chocolatey upgraded 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

The archive is "installed" to C:\ProgramData\chocolatey\lib\poppler\tools\poppler-22.11.0-ha6c1112_0.tar.bz2, but it is not extracted/shims generated for the tools e.g. pdftotxt.exe .....

Maybe this helps https://github.com/chocolatey/choco/issues/386 and https://github.com/Tervis-Tumbler/au-packages/blob/master/kafka/tools/chocolateyinstall.ps1#L14

fedelibre commented 1 year ago

Same problem here using Chocolatey v2.0.0

ekoam commented 1 year ago

Same issue here with Chocolatey v2.1.0-alpha-20230614. I saw that the Get-ChocolateyUnzip line was commented out in the install file. Perhaps this was the reason, but it was probably because things did not work as expected. To verify this, I tried to manually update the poppler package from anaconda's website and unzip it with 7z, but the binaries did not work. I then built the package with conda. Some other libraries were downloaded and included. After that, the binaries worked properly. So it seems that those binaries cannot work independently without the conda environment. However, I found this github repository that provided up-to-date pre-built binaries for Windows. Perhaps give it a try.

jpluimers commented 1 year ago

The archive is "installed" to C:\ProgramData\chocolatey\lib\poppler\tools\poppler-22.11.0-ha6c1112_0.tar.bz2, but it is not extracted/shims generated for the tools e.g. pdftotxt.exe .....

The most recent version that still installs is choco install poppler --version=0.89.0

What works fine too is scoop install poppler which installs poppler from the most recent https://github.com/oschwartz10612/poppler-windows/releases/ which currently installs version 23.08.0.

Much slower to install ischoco install miktex. It installs version 20.10.0, but prefixes the executables with miktex- and does not put them in the path. Also these executables load way slower than the choco install poppler --version=0.89.0 and scoop install poppler installed versions.