Downloads:

3,458

Downloads of v 3.04:

337

Last Update:

10/11/2014

Package Maintainer(s):

Software Author(s):

  • Glyph & Cog
  • LLC

Tags:

pdf xpdf pdf-utilities

Xpdf utils

This is not the latest version of Xpdf utils available.

3.04 | Updated: 10/11/2014

Downloads:

3,458

Downloads of v 3.04:

337

Maintainer(s):

Software Author(s):

  • Glyph & Cog
  • LLC

Xpdf utils 3.04

This is not the latest version of Xpdf utils available.

All Checks are Unknown

2 Test of Unknown Status


Validation Testing Unknown


Verification Testing Unknown

To install Xpdf utils, run the following command from the command line or from PowerShell:

>

To upgrade Xpdf utils, run the following command from the command line or from PowerShell:

>

To uninstall Xpdf utils, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade xpdf-utils -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade xpdf-utils -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure xpdf-utils installed
  win_chocolatey:
    name: xpdf-utils
    state: present
    version: 3.04
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'xpdf-utils' do
  action    :install
  version  '3.04'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: xpdf-utils,
    Version: 3.04,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller xpdf-utils
{
   Name     = 'xpdf-utils'
   Ensure   = 'Present'
   Version  = '3.04'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'xpdf-utils':
  provider => 'chocolatey',
  ensure   => '3.04',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install xpdf-utils version="3.04" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was submitted prior to moderation and has not been approved. While it is likely safe for you, there is more risk involved.

Description

Xpdf is an open source viewer for Portable Document Format (PDF) files. The Xpdf project also includes a PDF text extractor, PDF-to-PostScript converter, and various other utilities.

This package is not for the Xpdf viewer itself. It only installs the Xpdf utilities:
* pdftops
* pdftotext
* pdftohtml
* pdftoppm
* pdftopng
* pdfimages
* pdfinfo
* pdffonts
* pdfdetach


tools\chocolateyInstall.ps1
try {

    $packageName = 'xpdf-utils'
    $version = '3.04'
    $url = 'ftp://ftp.foolabs.com/pub/xpdf/xpdfbin-win-3.04.zip'
    $url64bit = $url
    $unzipLocation = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
    $mainFolder = "xpdfbin-win-$version"
    
    Install-ChocolateyZipPackage $packageName $url $unzipLocation $url64bit

    $osBitness = Get-ProcessorBits

    # Remove not needed folder with binaries
    if ($osBitness -eq 64) {
        Remove-Item -Recurse (Join-Path $unzipLocation (Join-Path $mainFolder 'bin32'))
    } else {
        Remove-Item -Recurse (Join-Path $unzipLocation (Join-Path $mainFolder 'bin64'))
    }


} catch {
    Write-ChocolateyFailure $packageName $($_.Exception.Message)
    throw
}
xpdf-utils.ketarin.xml
<?xml version='1.0' encoding='utf-8'?>
<Jobs>
  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="e5230ae1-6729-4cab-1dcc-a35579f60f93">
    <SourceTemplate><![CDATA[<Jobs>
  <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="0fb30714-8ed0-4611-8f1b-cb8fec9dae91">
    <WebsiteUrl />
    <UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19</UserAgent>
    <UserNotes />
    <LastFileSize>384846</LastFileSize>
    <LastFileDate>2012-05-23T02:09:37.7748325</LastFileDate>
    <IgnoreFileInformation>false</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate xsi:nil="true" />
    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
    <VariableChangeIndicator />
    <CanBeShared>true</CanBeShared>
    <ShareApplication>false</ShareApplication>
    <ExclusiveDownload>false</ExclusiveDownload>
    <HttpReferer />
    <SetupInstructions />
    <Variables>
      <item>
        <key>
          <string>version</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>StartEnd</VariableType>
            <Regex />
            <Url><placeholder name="Url with version information" value="http://sourceforge.net/projects/gnucash/files/gnucash%20%28stable%29/" /></Url>
            <StartText>&lt;TABLE cellspacing ="1" cellpadding ="6" border = "0"&gt;
  &lt;TR&gt;
    &lt;TH class="Title" align="center" width=90&gt;7-Zip </StartText>
            <EndText>&lt;BR&gt;</EndText>
            <TextualContent />
            <Name>version</Name>
          </UrlVariable>
        </value>
      </item>
      <item>
        <key>
          <string>url64</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>Textual</VariableType>
            <Regex />
            <TextualContent>""</TextualContent>
            <Name>url64</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand />
    <ExecutePreCommand />
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <Category />
    <SourceType>FixedUrl</SourceType>
    <PreviousLocation />
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId />
    <LastUpdated>2012-05-23T02:09:37.7748325</LastUpdated>
    <TargetPath>C:\Chocolatey\_work\</TargetPath>
    <FixedDownloadUrl><placeholder name="Download Url - Optional" value="http://nowhere.com/nothing{version}.zip" /></FixedDownloadUrl>
    <Name><placeholder name="Name" value="gnucash" /></Name>
  </ApplicationJob>
</Jobs>]]></SourceTemplate>
    <WebsiteUrl />
    <UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19</UserAgent>
    <UserNotes />
    <LastFileSize>10794993</LastFileSize>
    <LastFileDate>2014-10-11T16:19:39.186642+02:00</LastFileDate>
    <IgnoreFileInformation>false</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate xsi:nil="true" />
    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
    <VariableChangeIndicator />
    <CanBeShared>true</CanBeShared>
    <ShareApplication>false</ShareApplication>
    <ExclusiveDownload>false</ExclusiveDownload>
    <HttpReferer />
    <SetupInstructions />
    <Variables>
      <item>
        <key>
          <string>version</string>
        </key>
        <value>
          <UrlVariable>
            <RegexRightToLeft>false</RegexRightToLeft>
            <VariableType>StartEnd</VariableType>
            <Regex />
            <Url>http://www.foolabs.com/xpdf/download.html</Url>
            <StartText>ftp://ftp.foolabs.com/pub/xpdf/xpdfbin-win-</StartText>
            <EndText>.zip</EndText>
            <TextualContent />
            <Name>version</Name>
          </UrlVariable>
        </value>
      </item>
    </Variables>
    <ExecuteCommand />
    <ExecutePreCommand />
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <Category />
    <SourceType>FixedUrl</SourceType>
    <PreviousLocation>C:\Chocolatey\_work\xpdfbin-win-3.04.zip</PreviousLocation>
    <DeletePreviousFile>true</DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId />
    <LastUpdated>2014-10-11T16:19:39.7121502+02:00</LastUpdated>
    <TargetPath>C:\Chocolatey\_work\</TargetPath>
    <FixedDownloadUrl>ftp://ftp.foolabs.com/pub/xpdf/xpdfbin-win-{version}.zip</FixedDownloadUrl>
    <Name>xpdf-utils</Name>
  </ApplicationJob>
</Jobs>

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Xpdf utils 3.04.0.20141011 912 Saturday, October 11, 2014 Unknown
Xpdf utils 3.04 337 Saturday, October 11, 2014 Unknown

This package has no dependencies.

Discussion for the Xpdf utils Package

Ground Rules:

  • This discussion is only about Xpdf utils and the Xpdf utils package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Xpdf utils, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus