Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936844 - x11-misc/xdg-utils: xdg-mime typo introduced from xdg-utils-1.2.1-qtpaths.patch affecting xdg-utils-v1.2.1-r4 and maybe earlier
Summary: x11-misc/xdg-utils: xdg-mime typo introduced from xdg-utils-1.2.1-qtpaths.pat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-28 17:03 UTC by Andrew Waggoner
Modified: 2024-07-28 17:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Waggoner 2024-07-28 17:03:31 UTC
xdg-utils-v1.2.1-r4 reports an error when using xdg-mime:

/usr/bin/xdg-mime: line 904: [: missing `]'


This can be tracked to the qtpaths patch, here's the relevant line:

 +    elif [ x"$KDE_SESSION_VERSION" = x"5" ; then

Where we're just missing the bracket.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-28 17:07:36 UTC
Pff. Thanks.
Comment 2 Larry the Git Cow gentoo-dev 2024-07-28 17:12:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab5f906c946fa46807aefe86f42a8252f3f1313b

commit ab5f906c946fa46807aefe86f42a8252f3f1313b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-28 17:11:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-28 17:11:54 +0000

    x11-misc/xdg-utils: fix another typo(!)
    
    Closes: https://bugs.gentoo.org/936844
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/xdg-utils/files/xdg-utils-1.2.1-qtpaths.patch                  | 2 +-
 .../xdg-utils/{xdg-utils-1.2.1-r5.ebuild => xdg-utils-1.2.1-r6.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 3 Andrew Waggoner 2024-07-28 17:18:14 UTC
(In reply to Sam James from comment #1)
> Pff. Thanks.

It helped me dip my toes into the gentoo bug tracker, so it was good for me too :)