From nobody Tue Jul 19 07:10:00 2022 X-Original-To: freebsd-ports@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 4Ln92X4dv8z4WY0g for ; Tue, 19 Jul 2022 07:10:12 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ln92X49H6z3lxQ for ; Tue, 19 Jul 2022 07:10:12 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658214612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NPEgIUFGTGZj8oIR9yGVqmgQw/SlwXKobaZTItEPmQo=; b=CHLAX+UKUlzh9Phzus6M5TTMqNGIJIQAfUgGhEUOdH5IjxrBdsXBSBxQq93bnWLBW4W03K tmBnHoKxSbPdPs+BarOWqftrf2yZnq5TEk4Kd6R42wjwhB+05vl5Kvm7PznztCE85DbqHA 2WqEwUk8fpPGDCR5LYNsjdbJmPvTbhUYEVJnX8LsaRn/W1h1nr8Ir7DL3dDQe/NK4SO3ED gnMelXeWsC260YN+FC+tS4HESJfiTOLz0QOqpS9nD2BctVjJENngkUxIwdZ0a5pAc55nwP ITWahFys2/FWca3zPmlqGH69k7dDDJUGOA1s/wqaRPEZ0TalRwVH5Xp6fUymyw== Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Ln92X3FxXzYNB for ; Tue, 19 Jul 2022 07:10:12 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-10c8e8d973eso29872957fac.5 for ; Tue, 19 Jul 2022 00:10:12 -0700 (PDT) X-Gm-Message-State: AJIora+kQbVSrLhRZKmSQB6jZ602BbUxds8QzevVrXvF3srod4aFPgZI duCYJvYUnS1K6gHiJdw+hSM+NP+RH9MGCW5ggQw= X-Google-Smtp-Source: AGRyM1tt+ZNWXbX23sGpryBrMy26O2a37RnJJke/MYc0YerKpEPJiTyiLCb7GnbgfHudeYoEBigjxzh2F9bthNbZiG0= X-Received: by 2002:a05:6870:972c:b0:10c:151d:4df8 with SMTP id n44-20020a056870972c00b0010c151d4df8mr19084863oaq.210.1658214611836; Tue, 19 Jul 2022 00:10:11 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: <20220718123248.cp7dvstux6gcpaxe@nexus.home.palmen-it.de> <20220718124025.xmn7pff7ryxcwtfq@nexus.home.palmen-it.de> In-Reply-To: <20220718124025.xmn7pff7ryxcwtfq@nexus.home.palmen-it.de> From: Nuno Teixeira Date: Tue, 19 Jul 2022 08:10:00 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: USES=iconv Q/A issues: ...not declared as a dependency To: FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000e6668005e4232c94" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658214612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NPEgIUFGTGZj8oIR9yGVqmgQw/SlwXKobaZTItEPmQo=; b=wdwjvjB8tmOmLHquhCa+MeNvkkIqvtfXGbTLQ2gCgYUD076U3FLETNS05bUuuh25hOwbTV B7CtUOqqpQ0DuMlj+h3yHsEvoVMmFlmZd/MePD6kNVPt7k4mCdD97Acx+8aufFLGFaN7lP FUaq1yOpJm4q5hPr2QCYGJ6GiJamKtn3vfBZLTBL5O1/soD6kC40wbPJ9NeMz5N3y8mYn2 VT8ihHUik58sel7crgk0zBwBKPIQewaFeLTKidaYvDnz8qy4mwAkXVPXrry2lXCwNrKMr1 ZEZKaaS8x5OpFXIzOYsHaa+Z2ZVNCp1D93wcBDHGnfxsNUyt3s8iUI7fTyl4vg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658214612; a=rsa-sha256; cv=none; b=nHEtKC2aaOzC5av0OjkGu7s3XUeKr8Sfv8Zsq4QJiE4yIA/eXMPdgASntBVaxuUP4jjOI2 WatS/v5PNT9N3dsJq4q77xsgl2vXtbUapSrIeVGVKmlbyPSAm2VDw7Drw/kLNN1cAoyy/d sSckRIuB7CEcxk9p6vI2BQUe175EUhjCbB3peSQMznt0boUZcn4QI18JSJJetOaG/hdZHX 5aadNBOM2prTHacefIchL051oGrdPzvNKkhQJ5B0q6mOr4++MyvKe3S9aKu8oR3E9mMLSS Lvw9mEQD80+mcNWuajSoqDec4GaEB3QXmJjryhpKTAKSQA6hJ83lEo0Bpma1dQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --000000000000e6668005e4232c94 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I found: translit in: --- src/core/utilities.cpp: iconv_t conv =3D iconv_open("ASCII//TRANSLIT", "UTF-8"); --- Maybe best option is 'iconv:translit'? Cheers Felix Palmen escreveu no dia segunda, 18/07/2022 =C3= =A0(s) 13:40: > * Felix Palmen [20220718 14:32]: > > CMakeLists.txt detects and uses it, although the implementation in base > > libc would be sufficient. > > In fact, with the build picking up the external libiconv automatically, > it's hard to tell the implementation in base libc would be sufficient > indeed. You'd have to analyze the source I guess... > > BR, Felix > > -- > Dipl.-Inform. Felix Palmen ,.//.......... > {web} http://palmen-it.de {jabber} [see email] ,//palmen-it.de > {pgp public key} http://palmen-it.de/pub.txt // """"""""""" > {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A > --000000000000e6668005e4232c94 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I found: translit in:
---
src/core/utilities.cpp: =C2=A0iconv_t conv =3D ic= onv_open("ASCII//TRANSLIT", "UTF-8");
---

Maybe best option is 'iconv:translit'?
<= div>
Cheers

Felix Palmen <felix@palmen-it.de> escreveu no dia segunda, 18/07/20= 22 =C3=A0(s) 13:40:
* Felix Palmen <felix@palmen-it.de> [20220718 14:32]:
> CMakeLists.txt detects and uses it, although the implementation in bas= e
> libc would be sufficient.

In fact, with the build picking up the external libiconv automatically,
it's hard to tell the implementation in base libc would be sufficient indeed. You'd have to analyze the source I guess...

BR, Felix

--
=C2=A0Dipl.-Inform. Felix Palmen=C2=A0 <felix@palmen-it.de>=C2=A0 =C2=A0,.//........= ..
=C2=A0{web}=C2=A0 http://palmen-it.de=C2=A0 {jabber} [see email]=C2=A0 =C2=A0= ,//pal= men-it.de
=C2=A0{pgp public key}=C2=A0 =C2=A0 =C2=A0http://palmen-it.de/pub.txt= =C2=A0 =C2=A0//=C2=A0 =C2=A0""""""""= ;"""
=C2=A0{pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A
--000000000000e6668005e4232c94--