Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 882695

Summary: app-i18n/freewnn: replace egrep by grep -E
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal CC: csfore
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2022-11-24 09:44:30 UTC
As currently ebuild is modifying egrep call in Makefiles, it would be a good opportiny to use grep -E instead of deprecated egrep


       sed -i \
                -e "s/egrep -v/egrep -av/" \
                PubdicPlus/Makefile.in \
                Wnn/pubdicplus/Makefile.in \
                cWnn/[ct]dic/Makefile.in \
                kWnn/kdic/Makefile.in

Thanks
Comment 1 Christopher Fore 2024-01-16 00:04:16 UTC
This seems to result in an error when replacing `egrep` with `grep -E`:

```
make[1]: *** [..//makerule.mk:277: all] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-i18n/freewnn-1.1.1_alpha23-r1/work/FreeWnn-1.1.1-a023/Wnn'
make: *** [makerule.mk:277: all] Error 1
```
Comment 2 Larry the Git Cow gentoo-dev 2024-06-19 20:35:36 UTC
The bug has been closed via the following commit(s):

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

commit ac079847af0dc04fd3837629266edd4dd8acd3a3
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-06-19 20:35:00 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-06-19 20:35:00 +0000

    app-i18n/freewnn: EAPI=8, refactor
    
    Closes: https://bugs.gentoo.org/882695
    Closes: https://bugs.gentoo.org/906006
    Closes: https://bugs.gentoo.org/891481
    Closes: https://bugs.gentoo.org/841434
    Closes: https://bugs.gentoo.org/922572
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 .../files/freewnn-1.1.1-implicit-configure.patch   | 19 +++++++
 ...3-r1.ebuild => freewnn-1.1.1_alpha23-r2.ebuild} | 58 ++++++++++++++--------
 2 files changed, 55 insertions(+), 22 deletions(-)