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 B759017ADD for ; Mon, 23 Mar 2015 14:05:38 +0000 (UTC) Received: (qmail 77013 invoked by uid 500); 23 Mar 2015 14:05:26 -0000 Delivered-To: apmail-corinthia-dev-archive@corinthia.apache.org Received: (qmail 76985 invoked by uid 500); 23 Mar 2015 14:05:26 -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 76974 invoked by uid 99); 23 Mar 2015 14:05:26 -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:05:26 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 23 Mar 2015 14:05:23 +0000 Received: (qmail 76272 invoked by uid 99); 23 Mar 2015 14:05:03 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 14:05:03 +0000 Received: from [192.168.1.34] (unknown [202.44.228.43]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 6E7EE1A0058 for ; Mon, 23 Mar 2015 14:05:02 +0000 (UTC) From: Peter Kelly Content-Type: multipart/alternative; boundary="Apple-Mail=_7575E183-E9DC-46E7-B2B1-0D20DBB74CF4" 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:04:53 +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=_7575E183-E9DC-46E7-B2B1-0D20DBB74CF4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 (apologies if this is duplicated; I sent from the wrong address before) 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). =E2=80=94 Dr Peter M. Kelly pmkelly@apache.org 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=_7575E183-E9DC-46E7-B2B1-0D20DBB74CF4--