From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3jUm-0007a0-CG for guix-patches@gnu.org; Thu, 27 Apr 2017 09:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3jUh-0005EU-Ia for guix-patches@gnu.org; Thu, 27 Apr 2017 09:30:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3jUh-0005DM-0r for guix-patches@gnu.org; Thu, 27 Apr 2017 09:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d3jUg-0007LX-PR for guix-patches@gnu.org; Thu, 27 Apr 2017 09:30:02 -0400 Subject: bug#26676: [PATCH] gnu: Add xerces-c. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20170427065236.20963-1-rekado@elephly.net> References: <20170427065236.20963-1-rekado@elephly.net> Date: Thu, 27 Apr 2017 15:29:07 +0200 Message-ID: <87h91ac730.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus , 26676@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > * gnu/packages/xml.scm (xerces-c): New variable. [...] > +(define-public xerces-c > + (package > + (name "xerces-c") > + (version "3.1.4") > + (source (origin > + (method url-fetch) > + (uri (string-append "mirror://apache/xerces/c/3/sources/" > + "xerces-c-" version ".tar.xz")) > + (sha256 > + (base32 > + "0hb29c0smqlpxj0zdm09s983z5jx37szlliccnvgh0qq91wwqwwr"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:configure-flags (list "--disable-sse2"))) SSE2 is part of the AMD64 specification[0], so enabling it for x86_64 would be slightly nicer. Other than that looks good! [0] https://en.wikipedia.org/wiki/SSE2#CPU_support > + (native-inputs > + `(("perl" ,perl))) > + (home-page "http://xerces.apache.org/xerces-c/") > + (synopsis "Validating XML parser library for C++") > + (description "Xerces-C++ is a validating XML parser written in a por= table > +subset of C++. Xerces-C++ makes it easy to give your application the ab= ility > +to read and write XML data. A shared library is provided for parsing, > +generating, manipulating, and validating XML documents using the DOM, SA= X, and > +SAX2 APIs.") > + (license license:asl2.0))) > --=20 > 2.12.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkB8iQACgkQoqBt8qM6 VPrebwf7B5CaqH37P7l46RlLNMtI2yBx91gF6AlN8EfLRZQK75uFR+iwck91sQ6w IUi+gEeztF07Zk5UGRk+36CAj8Dft/MhBPoAg7HqH29HymuafPX/IiMGHFKAWjK1 Ow0Yw25/ZWIR+mGvD7FiVywIH2FYSaD03GM/LSBtGfh+Z15nhZta61XGld0pGITI LAhJSTVMzz946Ax6dmeXiskiZ8Gt4MEmteAa+g4KNI0FxBh8vRpo048BMWF8/nDS 6kHeRPwcIpK5pMVGcn75CaU8n7f4MjChvdA92BnDRm2VEZ2FWtGaHaytL9Mal5UV UxE3MBZoyiPRW1G+jxljVXy72tQtoQ== =r1G2 -----END PGP SIGNATURE----- --=-=-=--