Return-Path: X-Original-To: apmail-corinthia-dev-archive@minotaur.apache.org Delivered-To: apmail-corinthia-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0436B17ACD for ; Mon, 23 Mar 2015 14:03:56 +0000 (UTC) Received: (qmail 74180 invoked by uid 500); 23 Mar 2015 14:03:55 -0000 Delivered-To: apmail-corinthia-dev-archive@corinthia.apache.org Received: (qmail 74149 invoked by uid 500); 23 Mar 2015 14:03:55 -0000 Mailing-List: contact dev-help@corinthia.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@corinthia.incubator.apache.org Delivered-To: mailing list dev@corinthia.incubator.apache.org Received: (qmail 74137 invoked by uid 99); 23 Mar 2015 14:03:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 14:03:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kellypmk@gmail.com designates 209.85.192.181 as permitted sender) Received: from [209.85.192.181] (HELO mail-pd0-f181.google.com) (209.85.192.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 14:03:50 +0000 Received: by pdbni2 with SMTP id ni2so188681674pdb.1 for ; Mon, 23 Mar 2015 07:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=cMBxZpJ9DLL7jIBErliFYibu+NUiasYvllO/TExcmGo=; b=NkYXSrxy0M7Qdl9jENhfM5OnoZveQ6fe8G0dIwdil1F7kQ//hmRdanVZxkOQhb8O7R oLxRpZrBd58B/2Toe5y+CMQQBjxTiJ0HxxUa2/ErtTnGHnrVm3elp0SLHDXc6/3t6g4X a9V50CfljqeqN51wCug3UlKBO3LAskafq0PVy+IfQHa2W5+3nzf+HbX6kJE4Qs1kVyA7 PFII8bkKebYhHtrTVRWuLBgRi24CthC8qqWWQ92yU6ShfdBdhDK7lJQkL2WIr3+ZU/rH nS8uoZrFdh6H+iUUC+QfHe21pXRN/0Btfn6zo9g+QF+XXeNIZfTc+HiWlueMegSRrPoo dm9w== X-Received: by 10.68.164.161 with SMTP id yr1mr21608838pbb.22.1427119409817; Mon, 23 Mar 2015 07:03:29 -0700 (PDT) Received: from [192.168.1.34] ([202.44.228.43]) by mx.google.com with ESMTPSA id aj17sm1203300pac.21.2015.03.23.07.03.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Mar 2015 07:03:28 -0700 (PDT) From: Peter Kelly Content-Type: multipart/alternative; boundary="Apple-Mail=_DF559973-EE69-4DB7-AB05-891CB82DCD7E" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2090\)) Subject: Re: libxml2 and iconv question, do we really need iconv ? Date: Mon, 23 Mar 2015 21:03:20 +0700 References: To: dev@corinthia.incubator.apache.org In-Reply-To: X-Mailer: Apple Mail (2.2090) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_DF559973-EE69-4DB7-AB05-891CB82DCD7E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I have about 70% of an XML parser done that I haven=E2=80=99t gotten = around to finishing yet. Once that=E2=80=99s completed, we don=E2=80=99t = need libxml. I can=E2=80=99t remember if we need iconv; it=E2=80=99s = used for character set conversions but DocFormats is UTF-8 native (as is = libxml), and support for UTF-16 would not be hard (if it=E2=80=99s even = needed). I would strongly argue against keeping sources of libraries in our = repositories except in the case where we have made changes to those = libraries. If we do that we have to include all of SDL_image and thus = all of SDL, and that leads to quite a big repository. The same goes for = libz etc. Most projects have lots and lots of dependencies and are = handled just fine by standard package dependency systems e.g. apt-get. Furthermore, we want to use the system libxml where available, both to = take advantage of shared libraries (libxml only needs to exist in memory = once, the OS maps it into the address space of each process that uses = it), and for security updates (system libxml updated due to = vulnerability, programs using DocFormats are still vulnerable until we = go and update our own version). -- Dr. Peter M. Kelly kellypmk@gmail.com http://www.kellypmk.net/ PGP key: http://www.kellypmk.net/pgp-key = (fingerprint 5435 6718 59F0 DD1F BFA0 5E46 2523 BAA1 44AE 2966) > On 23 Mar 2015, at 3:29 pm, jan i wrote: >=20 > Hi. >=20 > I am nearly finished with the x64 port for windows, I have compiled = all > libraries we need. >=20 > I wanted to see if we could keep the library sources in our Repo, and > integrate them in our build > system, as it would simplify things. Since I am biased I asked on > general@i.a.o to get the opinion > of outside Mentors. I got a few responses (strangely enough all in > private), and it turns out many projects do as I suggest. >=20 > However one of the others mentors found a license problem with iconv. = We do > not use iconv, but by default libxml2 does. I can configure libxml2 = not to > include iconv, but I wanted to ask in here, if we need the = functionality ? >=20 > If not my plan has changed a bit, and I will include the sources in > platform, make a single commit with each original source, noting the = URL > and version in the commit text (and add it to LICENSE). Then I will = add my > changes, which will be solely CMAKE files NO source changes. >=20 > Having the source in our build system, will also allow us to decide = how to > handle other platforms. >=20 > Rgds > jan I. --Apple-Mail=_DF559973-EE69-4DB7-AB05-891CB82DCD7E--