Skip to content

Commit

Permalink
AU: 3 updated - djv freecad ultradefrag
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Oct 13, 2018
1 parent da6d7cf commit 86755ca
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 30 deletions.
2 changes: 1 addition & 1 deletion automatic/djv/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/efc9e0914779661ad7aa88e9dbde0333cfb81f12/icons/djv.png" width="48" height="48"/> [djv](https://chocolatey.org/packages/djv)
# <img src="https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@efc9e0914779661ad7aa88e9dbde0333cfb81f12/icons/djv.png" width="48" height="48"/> [djv](https://chocolatey.org/packages/djv)


DJV Imaging provides professional movie playback software for film production, VFX, and computer animation.
Expand Down
4 changes: 2 additions & 2 deletions automatic/djv/djv.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>djv</id>
<version>1.1.0.20170207</version>
<version>1.2.1</version>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/djv</packageSourceUrl>
<owners>chocolatey, Redsandro</owners>
<title>DJV Imaging</title>
<authors>Darby Johnston</authors>
<projectUrl>http://djv.sourceforge.net/</projectUrl>
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/efc9e0914779661ad7aa88e9dbde0333cfb81f12/icons/djv.png</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@efc9e0914779661ad7aa88e9dbde0333cfb81f12/icons/djv.png</iconUrl>
<copyright>2004–2014 Darby Johnston</copyright>
<licenseUrl>http://djv.sourceforge.net/djvLegal.html</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand Down
6 changes: 3 additions & 3 deletions automatic/djv/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ 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://djv.sourceforge.net/index.html>
location on <http://djv.sourceforge.net/Download.html>
and can be verified by doing the following:

1. Download the following <http://sourceforge.net/projects/djv/files/djv-stable/1.1.0/djv-1.1.0-Windows-64.exe/download>
1. Download the following <https://sourceforge.net/projects/djv/files/djv-stable/1.2.1/djv-1.2.1-Windows-x64.exe/download>
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: 8C2F99AC709D93301D1E7BAE6103238DBACD48AB6CA6D052B7B8A114338C56DE
checksum: 6C91BD340EF52CB3DEC3B6BD7B57C0A6430196BAE6AEA7761D56BEE9F710FFA3

The file 'LICENSE.txt' has been obtained from <http://djv.sourceforge.net/djvLegal.html>
6 changes: 3 additions & 3 deletions automatic/djv/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

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

if ((Get-ProcessorBits 32) -or $env:chocolateyForceX86 -eq $true)
if ((Get-OSArchitectureWidth 32) -or $env:chocolateyForceX86 -eq $true)
{ Write-Error "32-bit is no longer supported. Please install version 1.0.5.20170203" }

$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
file = "$toolsPath\djv-1.1.0-Windows-64.exe"
file = "$toolsPath\djv-1.2.1-Windows-x64.exe"
softwareName = 'djv-*'
silentArgs = '/S'
validExitCodes = @(0)
}

Install-ChocolateyInstallPackage @packageArgs

ls $toolsPath\*.exe | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" '' } }
Get-ChildItem $toolsPath\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" '' } }
6 changes: 3 additions & 3 deletions automatic/djv/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'djv*'
softwareName = 'djv-*'
fileType = 'exe'
silentArgs = '/S'
validExitCodes= @(@(0))
Expand All @@ -13,7 +13,7 @@ $uninstalled = $false
[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
$packageArgs['file'] = "$($_.UninstallString)"

Uninstall-ChocolateyPackage @packageArgs
Expand All @@ -24,5 +24,5 @@ if ($key.Count -eq 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert the package maintainer that the following keys were matched:"
$key | % { Write-Warning "- $($_.DisplayName)" }
$key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
2 changes: 1 addition & 1 deletion automatic/freecad/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/edba4a5849ff756e767cba86641bea97ff5721fe/icons/freecad.svg" width="48" height="48"/> [freecad](https://chocolatey.org/packages/freecad)
# <img src="https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@edba4a5849ff756e767cba86641bea97ff5721fe/icons/freecad.svg" width="48" height="48"/> [freecad](https://chocolatey.org/packages/freecad)


FreeCAD is a general purpose feature-based, parametric 3D modeler for CAD, MCAD, CAx, CAE and PLM, aimed directly at mechanical engineering and product design but also fits a wider range of uses in engineering, such as architecture or other engineering specialties. It is 100 % Open Source and extremely modular, allowing for very advanced extension and customization.
Expand Down
4 changes: 2 additions & 2 deletions automatic/freecad/freecad.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>freecad</id>
<version>0.17.13528</version>
<version>0.17.13541</version>
<title>FreeCAD</title>
<owners>chocolatey,purity</owners>
<authors>Jürgen Riegel</authors>
<licenseUrl>http://www.freecadweb.org/wiki/index.php?title=Licence</licenseUrl>
<projectUrl>http://www.freecadweb.org/</projectUrl>
<projectSourceUrl>https://github.com/FreeCAD/FreeCAD/</projectSourceUrl>
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/edba4a5849ff756e767cba86641bea97ff5721fe/icons/freecad.svg</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@edba4a5849ff756e767cba86641bea97ff5721fe/icons/freecad.svg</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<bugTrackerUrl>https://www.freecadweb.org/tracker/my_view_page.php</bugTrackerUrl>
<!-- Do not touch the description here in the nuspec file. Description is imported during update from the Readme.md file -->
Expand Down
4 changes: 2 additions & 2 deletions automatic/freecad/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ $packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = 'https://github.com/FreeCAD/FreeCAD/releases/download/0.17/FreeCAD-0.17.13528.5c3f7bf-WIN-x86-installer.exe'
url64 = 'https://github.com/FreeCAD/FreeCAD/releases/download/0.17/FreeCAD-0.17.13528.5c3f7bf-WIN-x64-installer.exe'
url64 = 'https://github.com/FreeCAD/FreeCAD/releases/download/0.17/FreeCAD-0.17.13541.9948ee4-WIN-x64-installer.exe'
softwareName = 'FreeCAD*'
checksum = '688aac826ae59c7995ac4a9dd5b8c2ced00127058794bd56d985095a889f6a30'
checksumType = 'sha256'
checksum64 = 'e733ea54b337131eef6ae4b21801ce8e4f3fe602c1a7ea6b2e8f73f02c5a850d'
checksum64 = '88bd9dd9f34d0d804b7380079cb2f32fe19e3b78fa0f9bcbf3d848d2fa17eee9'
checksumType64 = 'sha256'
silentArgs = '/S'
validExitCodes = @(0)
Expand Down
2 changes: 1 addition & 1 deletion automatic/ultradefrag/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/f47c573f12e0505f678bcdbe75624d128704f393/icons/ultradefrag.png" width="48" height="48"/> [ultradefrag](https://chocolatey.org/packages/ultradefrag)
# <img src="https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@f47c573f12e0505f678bcdbe75624d128704f393/icons/ultradefrag.png" width="48" height="48"/> [ultradefrag](https://chocolatey.org/packages/ultradefrag)


UltraDefrag is an open source disk defragmenter for Windows. It eliminates the file fragmentation problem speeding up the computers which need less mechanical work to read continuous data from disks. UltraDefrag can fix almost everything including files which are usually locked - it launches inside of the Windows boot process when most of the files are still not in use.
Expand Down
12 changes: 6 additions & 6 deletions automatic/ultradefrag/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$ErrorActionPreference = 'Stop'
$ErrorActionPreference = 'Stop'

$pp = Get-PackageParameters
$silentArgs = '/S /FULL=1'
Expand All @@ -8,11 +8,11 @@ $silentArgs += if ($pp.NoBootInterface) { " /BOOT=0"; Write-Host 'Boot inte

$packageArgs = @{
packageName = 'ultradefrag'
fileType = 'exe'
url = 'https://downloads.sourceforge.net/ultradefrag/ultradefrag-7.0.2.bin.i386.exe'
url64bit = 'https://downloads.sourceforge.net/ultradefrag/ultradefrag-7.0.2.bin.amd64.exe'
checksum = '69ea62c2987b869bcd21e7a7a7ae65d01ee9a853ace33b5bc973bbcbaa8a4123'
checksum64 = '34cfc8b7a2b43891e0a7527fc27549b2b3372330f82cf95d32c1744429d2820f'
fileType = ''
url = 'https://sourceforge.net/projects/ultradefrag/files/stable-release/7.1.1/ultradefrag-7.1.1.bin.i386.exe/download'
url64bit = 'https://sourceforge.net/projects/ultradefrag/files/stable-release/7.1.1/ultradefrag-7.1.1.bin.amd64.exe/download'
checksum = 'b73a848214a4d527b2d17054e134ed3732c082cee8cd90bd888973eff54ea953'
checksum64 = '6f9a0200c75d432af0f8a3585e5ad9aa6e41dbadeb29a365d7033d66770fbc48'
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = $silentArgs
Expand Down
4 changes: 2 additions & 2 deletions automatic/ultradefrag/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $softwareNamePattern = 'Ultra Defragmenter'

[array] $key = Get-UninstallRegistryKey $softwareNamePattern
if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
$packageArgs = @{
packageName = $packageName
silentArgs = "/x86=0 /S"
Expand All @@ -25,6 +25,6 @@ elseif ($key.Count -gt 1) {
Write-Warning "$key.Count matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $_.DisplayName"}
$key | ForEach-Object {Write-Warning "- $_.DisplayName"}
}

9 changes: 5 additions & 4 deletions automatic/ultradefrag/ultradefrag.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<id>ultradefrag</id>
<title>UltraDefrag</title>
<owners>chocolatey</owners>
<version>7.0.2</version>
<version>7.1.1</version>
<authors>Dmitri Arkhangelski et al.</authors>
<summary>UltraDefrag is a powerful Open Source Defragmentation tool for the Windows Platform</summary>
<description>
<description><![CDATA[
UltraDefrag is an open source disk defragmenter for Windows. It eliminates the file fragmentation problem speeding up the computers which need less mechanical work to read continuous data from disks. UltraDefrag can fix almost everything including files which are usually locked - it launches inside of the Windows boot process when most of the files are still not in use.
## Features
Expand Down Expand Up @@ -36,14 +36,15 @@ UltraDefrag is an open source disk defragmenter for Windows. It eliminates the f
* `/DisableUsageTracking` - disable the usage tracking. SEE: https://sourceforge.net/p/ultradefrag/discussion/709672/thread/657b0ebe/#0e65
* `/NoBootInterface` - install __without__ the boot time interface.
</description>
Example: `choco install ultradefrag --params "/NoShellExtension /NoBootInterface"`
]]></description>
<projectUrl>http://ultradefrag.sourceforge.net/en/index.html</projectUrl>
<tags>file-system foss disk defragment defragmenter ntfs registry files admin</tags>
<copyright>UltraDefrag Development Team</copyright>
<docsUrl>http://ultradefrag.sourceforge.net/handbook</docsUrl>
<licenseUrl>http://ultradefrag.sourceforge.net/handbook/Credits.html</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/f47c573f12e0505f678bcdbe75624d128704f393/icons/ultradefrag.png</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@f47c573f12e0505f678bcdbe75624d128704f393/icons/ultradefrag.png</iconUrl>
<releaseNotes></releaseNotes>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/ultradefrag</packageSourceUrl>
<projectSourceUrl>https://sourceforge.net/p/ultradefrag/code/HEAD/tree</projectSourceUrl>
Expand Down

0 comments on commit 86755ca

Please sign in to comment.