FS#69853 - [jdk-openjdk] Wrong icon names

Attached to Project: Arch Linux
Opened by Corubba (corubba) - Tuesday, 02 March 2021, 10:47 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The `.desktop` files contain icon references like `Icon=java15-openjdk` (freedesktop-java.desktop:10) while the actual icons are installed as `java-openjdk` (PKGBUILD:239); notice the missing major version in the latter. Because of this, these application entries are displayed without their proper icons.

As far as I can tell are the "versioned" packages (jdk11-openjdk etc.) not effected by this, nor are any of the jre-openjdk*.

Attached are two patches for two possible solutions.
`reference_fix` fixes the icon references in the `.desktop` files to match the installed icon name. Please note that this will have to be fixed in all future versioned "forks" like jdk15-openjdk to include the major version again.
`install_fix` fixes the name icons are installed as. While this somewhat hardcodes the icon name, it eliminates the need to fix the versioned forks. Instead of hardcoding one could do string-foo with $pkgbase, but I don't think that would be any better or safer.

Personally, I prefer `install_fix`.


Additional info:
* package version(s)
jdk-openjdk 15.0.2.u7-1
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:16 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/java-openjdk/issues/3
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...