From nobody Fri Mar 17 19:40:42 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PdZHS5QG5z3ylKX; Fri, 17 Mar 2023 19:40:52 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PdZHR5thdz3P9Z; Fri, 17 Mar 2023 19:40:51 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1679082043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c7wrDtWPbVDgIGjXq3Y5SAtjeVkTyqywjF50y6j32yY=; b=TSVKbfDlrGf8jd9TrjqgMul004GWvAVAhR8xZoDCwvIA36FxgAWQG/XC8GDoLGUi1DLAfo 0Wa5jeSkbt3YzQJTjf+IHNnxCUJDJ6AijaQ83YGU3oQ6fJyEnMoaP6jChc2O3DZC/7Fw+w aAWWrzRKeJOCnCQ42RdifHaPyOTEMXA= Received: from amy.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 8b009a34 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 17 Mar 2023 19:40:43 +0000 (UTC) Date: Fri, 17 Mar 2023 20:40:42 +0100 From: Emmanuel Vadot To: Dima Panov 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> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4PdZHR5thdz3P9Z X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Hi Dima, On Fri, 17 Mar 2023 19:34:29 GMT Dima Panov wrote: > The branch main has been updated by fluffy: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=1dd6bda76a5cf1dddd2615b2d0ee48e4fcf738f2 > > commit 1dd6bda76a5cf1dddd2615b2d0ee48e4fcf738f2 > Author: Dima Panov > AuthorDate: 2023-03-17 19:23:47 +0000 > Commit: Dima Panov > 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