Extras icon indicating copy to clipboard operation
Extras copied to clipboard

[Bug]: Could not install GIMP ARM build via scoop

Open kyonmiriam opened this issue 8 months ago • 0 comments

Prerequisites

  • [X] I have written a descriptive issue title.
  • [X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • [X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

gimp

Expected/Current Behaviour

GIMP has been supported Windows on ARM since version 2.10.34. GIMP use an universal installer to to auto-detect the running platform and install the ARM build when relevant.

  • When I use the official GIMP 2.10.38 installer, it will install the ARM build.
  • But when I install GIMP via scoop it will install the x64 build.

Steps to Reproduce

PS> scoop install extras/gimp
Installing 'gimp' (2.10.38) [64bit] from 'extras' bucket
gimp-2.10.38-setup.exe (328.5 MB) [===============================================] 100%
Checking hash of gimp-2.10.38-setup.exe ... ok.
Extracting gimp-2.10.38-setup.exe ... done.
Running installer script...
Linking D:\Applications\Scoop\apps\gimp\current => D:\Applications\Scoop\apps\gimp\2.10.38
Creating shim for 'gimp-console-2.10'.
Creating shim for 'gimp-console'.
Creating shim for 'gimp'.
Creating shim for 'gimptool-2.0'.
Creating shim for 'gimptool'.
Creating shortcut for GIMP (gimp-2.10.exe)
'gimp' (2.10.38) was installed successfully!

Possible Solution

I think the installer script of GIMP should be modified to detect the platform. In fact it has already done in the official installer.

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
66435f350 (HEAD -> master, origin/master, origin/HEAD) railway: Update to version 3.9.0

'extras' bucket:
a72394fccc (HEAD -> master, origin/master, origin/HEAD) [email protected]: Fix hash (Closes #13412)

'versions' bucket:
91fecd93d (HEAD -> master, origin/master, origin/HEAD) [email protected]: Fix hash (Closes #1780)

'nirsoft' bucket:
08dbf0e (HEAD -> master, origin/master, origin/HEAD) 'updated'

'nerd-fonts' bucket:
da97035e (HEAD -> master, origin/master, origin/HEAD) LXGWNeoXiHei: Update to version 1.123.2

Scoop Config

PS> scoop config

last_update       scoop_repo                              scoop_branch
-----------       ----------                              ------------
2024/6/6 16:01:16 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

kyonmiriam avatar Jun 06 '24 08:06 kyonmiriam