Skip to content

Commit

Permalink
Merge pull request #2233 from brogers5/xpdf-utils-update-4.04 [PUSH x…
Browse files Browse the repository at this point in the history
…pdf-utils]
  • Loading branch information
AdmiringWorm authored Sep 21, 2023
2 parents b37f740 + 762fcd3 commit 9b05639
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 15 deletions.
Binary file modified icons/xpdf-utils.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion manual/xpdf-utils/Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [<img src="https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/9de2a5aefc0c7d6facb695f0ac0017328ece49e8/icons/xpdf-utils.png" height="48" width="48" /> xpdf-utils](https://chocolatey.org/packages/xpdf-utils)
# [<img src="https://cdn.rawgit.com/chocolatey-community/chocolatey-packages/a66dc8904b32ac586c02e598aa7fd6c3c2a0d34e/icons/xpdf-utils.png" height="48" width="48" /> xpdf-utils](https://chocolatey.org/packages/xpdf-utils)

Xpdf is an open source viewer for Portable Document Format (PDF) files. (These are also sometimes also called 'Acrobat' files, from the name of Adobe's PDF software.) The Xpdf project also includes a PDF text extractor, PDF-to-PostScript converter, and various other utilities.

Expand Down
8 changes: 4 additions & 4 deletions manual/xpdf-utils/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The embedded software have been downloaded from the listed download
location on <http://www.foolabs.com/xpdf/download.html>
location on <https://www.xpdfreader.com/download.html>
and can be verified by doing the following:

1. Download the following <http://ctan.mirror.garr.it/mirrors/CTAN/support/xpdf/xpdfbin-win-3.04.zip>
1. Download the following <https://dl.xpdfreader.com/xpdf-tools-win-4.04.zip>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type: sha256
checksum: 9a69d1468f90b5ae8ee9ee37e7634d459490156e241cff0e3e95d62c6c58685d
checksum: 60ae13d4f5988005e537d99a7e5b865e9dcfab90bcf4b9a89f920da4fe2e77d6

The file 'LICENSE.txt' has been obtained from <https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>
This license is mentioned on <http://www.foolabs.com/xpdf/about.html> to be the correct license for this software.
This license is mentioned on <https://www.xpdfreader.com/opensource.html> to be the correct license for this software.
7 changes: 4 additions & 3 deletions manual/xpdf-utils/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Get-ChildItem "$toolsPath" -Filter "xpdfbin-win*" | `
Get-ChildItem "$toolsPath" -Filter "xpdf*-win*" | `
Where-Object { Test-Path $_.FullName -PathType Container } | `
ForEach-Object { Remove-Item $_.FullName -Recurse }

$packageArgs = @{
packageName = 'xpdf-utils'
fileType = 'zip'
file = "$toolsPath\xpdfbin-win-3.04.zip"
file = "$toolsPath\xpdf-tools-win-4.04.zip"
destination = $toolsPath
}

Expand All @@ -18,7 +18,8 @@ Get-ChocolateyUnzip @packageArgs
if ((Get-ProcessorBits 32) -or ($env:ChocolateyForceX86 -eq $true)) {
$dir = Get-Item "$toolsPath\*\bin64"
Remove-Item -Force -Recurse -ea 0 $dir
} else {
}
else {
$dir = Get-Item "$toolsPath\*\bin32"
Remove-Item -Force -Recurse -ea 0 $dir
}
Expand Down
2 changes: 1 addition & 1 deletion manual/xpdf-utils/update.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Remove-Item "$PSScriptRoot\tools\*.zip" -Force -ea 0
iwr "http://ctan.mirror.garr.it/mirrors/CTAN/support/xpdf/xpdfbin-win-3.04.zip" -UseBasicParsing -OutFile "$PSScriptRoot\tools\xpdfbin-win-3.04.zip"
iwr "https://dl.xpdfreader.com/xpdf-tools-win-4.04.zip" -UseBasicParsing -OutFile "$PSScriptRoot\tools\xpdf-tools-win-4.04.zip"

. "$PSScriptRoot\..\..\scripts\Set-DescriptionFromReadme.ps1"
Set-DescriptionFromReadme -SkipFirst 1
13 changes: 7 additions & 6 deletions manual/xpdf-utils/xpdf-utils.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>xpdf-utils</id>
<version>3.4.0.20170430</version>
<packageSourceUrl>https://github.com/Chocolatey/chocolatey-coreteampackages/tree/master/automatic/xpdf-utils</packageSourceUrl>
<version>4.4.0</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/manual/xpdf-utils</packageSourceUrl>
<owners>chocolatey-community</owners>
<title>Xpdf utils</title>
<authors>Glyph &amp; Cog, LLC</authors>
<projectUrl>http://www.foolabs.com/xpdf/home.html</projectUrl>
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/9de2a5aefc0c7d6facb695f0ac0017328ece49e8/icons/xpdf-utils.png</iconUrl>
<projectUrl>https://www.xpdfreader.com/</projectUrl>
<iconUrl>https://cdn.rawgit.com/chocolatey-community/chocolatey-packages/a66dc8904b32ac586c02e598aa7fd6c3c2a0d34e/icons/xpdf-utils.png</iconUrl>
<copyright>Glyph &amp; Cog, LLC</copyright>
<licenseUrl>http://www.foolabs.com/xpdf/about.html</licenseUrl>
<licenseUrl>https://www.xpdfreader.com/opensource.html</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<tags>xpdf-utils pdf xpdf pdf-utilities foss cross-platform</tags>
<summary>Xpdf utilities</summary>
<!-- Do not touch the description here in the nuspec file. Description is imported during update from the Readme.md file -->
<description>Dummy</description>
<releaseNotes>http://www.foolabs.com/xpdf/CHANGES</releaseNotes>
<docsUrl>https://www.xpdfreader.com/support.html</docsUrl>
<mailingListUrl>https://forum.xpdfreader.com/</mailingListUrl>
<dependencies />
</metadata>
<files>
Expand Down

0 comments on commit 9b05639

Please sign in to comment.