Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883589 - x11-misc/xdg-utils: xdg-open uses obsolete egrep shortcut
Summary: x11-misc/xdg-utils: xdg-open uses obsolete egrep shortcut
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL: https://gitlab.freedesktop.org/xdg/xd...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-11-29 12:47 UTC by Hanno Böck
Modified: 2022-12-04 14:50 UTC (History)
0 users

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 Hanno Böck gentoo-dev 2022-11-29 12:47:40 UTC
Run xdg-open on anything:
$ xdg-open xyz
egrep: warning: egrep is obsolescent; using /bin/grep -E

This causes followup problems in some applications that don't expect additional stderr output from xdg-open.

egrep is obsolete and throws a warning with the latest grep version. Here's an upstream PR (not yet merged): https://gitlab.freedesktop.org/xdg/xdg-utils/-/merge_requests/21
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-29 20:58:15 UTC
Thanks and please feel free to apply it.
Comment 2 Larry the Git Cow gentoo-dev 2022-12-04 14:50:40 UTC
The bug has been closed via the following commit(s):

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

commit 26c9331be2f01733984f7f46720bd517772df369
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2022-12-04 14:41:16 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2022-12-04 14:49:22 +0000

    x11-misc/xdg-utils: Don't use egrep
    
    Closes: https://bugs.gentoo.org/883589
    Thanks-to: Hanno Böck
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 x11-misc/xdg-utils/files/xdg-utils-egrep.patch     | 25 +++++++
 .../xdg-utils/xdg-utils-1.1.3_p20210805-r1.ebuild  | 87 ++++++++++++++++++++++
 2 files changed, 112 insertions(+)