Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#64118 - [yubioath-desktop] App icon is wrongly packaged thus not detected

Attached to Project: Community Packages
Opened by Jensen McKenzie (your_doomsday) - Sunday, 13 October 2019, 14:31 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 13 October 2019, 14:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The line installing icon is as below[1]:

install -Dm 644 images/yubioath@2x.png "$pkgdir"/usr/share/pixmaps/$pkgname/yubioauth.png

There are two separate mistakes here and both of them break icon detection by system:

1. Icons in /usr/share/pixmaps shouldn't be installed in per-app subfolder (just look at what this folder contains):

Wrong: "$pkgdir"/usr/share/pixmaps/$pkgname/yubioauth.png

Correct "$pkgdir"/usr/share/pixmaps/yubioauth.png (but see below)

2. Icon name is changed during copy to a wrong one. The correct icon name should be after app name (modified case to make it more clear): yubioATH not yubioAUTH.

Wrong yubioauth.png

Correct yubioath.png

Fixing this two issues make icon detectable again.

Just yesterday I attached PKGBUILD which did all of this right[2] based on AUR version which did it right too. Unfortunately, that part wasn't included in Arch package.

Additional info:
yubioath-desktop 5.0.0-3

Steps to reproduce:
[1] https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/yubioath-desktop&id=dd0f703c6446ca4abfc9ccb938b59b80fb1721c8#n37
[2] https://bugs.archlinux.org/task/64114?getfile=17918
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Sunday, 13 October 2019, 14:36 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#64114 

Loading...