Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2023 20:40:42 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Dima Panov <fluffy@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 1dd6bda76a5c - main - Mk/Uses/kde.mk: set up UTF-8 locale as default on build environment (+)
Message-ID:  <20230317204042.77d2319c314af4d86ea06d21@bidouilliste.com>
In-Reply-To: <202303171934.32HJYTCt070314@gitrepo.freebsd.org>
References:  <202303171934.32HJYTCt070314@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

 Hi Dima,

On Fri, 17 Mar 2023 19:34:29 GMT
Dima Panov <fluffy@FreeBSD.org> wrote:

> The branch main has been updated by fluffy:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=1dd6bda76a5cf1dddd2615b2d0ee48e4fcf738f2
> 
> commit 1dd6bda76a5cf1dddd2615b2d0ee48e4fcf738f2
> Author:     Dima Panov <fluffy@FreeBSD.org>
> AuthorDate: 2023-03-17 19:23:47 +0000
> Commit:     Dima Panov <fluffy@FreeBSD.org>
> CommitDate: 2023-03-17 19:23:47 +0000
> 
>     Mk/Uses/kde.mk: set up UTF-8 locale as default on build environment (+)
>     
>     Recently we discovered a bug with plasma apps parsing non-latin strings when
>     pure C locale was used at compile stage which leads to save and display
>     broken strings full of "?" symbols.
>     
>     Fix it by set a full UTF-8 locale for the build process.
>     
>     Idea:   arrowd
>     Tests:  fluffy
>     
>     Sponsored by:   Serenity Cybersecurity, LLC
> ---
>  Mk/Uses/kde.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Mk/Uses/kde.mk b/Mk/Uses/kde.mk
> index 716e0abef6ba..21a541dc5a66 100644
> --- a/Mk/Uses/kde.mk
> +++ b/Mk/Uses/kde.mk
> @@ -189,6 +189,8 @@ IGNORE?=		unknown CATEGORY value '${_KDE_CATEGORY}' #'
>  .    endif #defined(_KDE_CATEGORY)
>  
>  # ==============================================================================
> +# === SET UP LOCALE ENVIRONMENT =================================================
> +USE_LOCALE?=	en_US.UTF-8

 Does C.UTF-8 works for this ?
 Asking before on a pkgbase system C.UTF-8 is always present while any
other is optional (installed from the FreeBSD-locales package which
contain everything).

 Cheers,

>  # === SET UP CMAKE ENVIRONMENT =================================================
>  # Help cmake to find files when testing ports with non-default PREFIX.


-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230317204042.77d2319c314af4d86ea06d21>