From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 27 02:53:04 2017 Received: (at submit) by debbugs.gnu.org; 27 Apr 2017 06:53:04 +0000 Received: from localhost ([127.0.0.1]:42274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3dIR-0004SD-Tn for submit@debbugs.gnu.org; Thu, 27 Apr 2017 02:53:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3dIP-0004Rp-2O for submit@debbugs.gnu.org; Thu, 27 Apr 2017 02:52:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3dII-00053R-RM for submit@debbugs.gnu.org; Thu, 27 Apr 2017 02:52:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3dII-00052m-NJ for submit@debbugs.gnu.org; Thu, 27 Apr 2017 02:52:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3dIG-0005Ha-Tt for guix-patches@gnu.org; Thu, 27 Apr 2017 02:52:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3dID-0004ni-2X for guix-patches@gnu.org; Thu, 27 Apr 2017 02:52:49 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21081) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3dIC-0004kI-Pc for guix-patches@gnu.org; Thu, 27 Apr 2017 02:52:44 -0400 Received: from localhost (xd933f8e8.dyn.telefonica.de [217.51.248.232]) by mx.zohomail.com with SMTPS id 1493275960268356.4856987730352; Wed, 26 Apr 2017 23:52:40 -0700 (PDT) From: Ricardo Wurmus To: guix-patches@gnu.org Subject: [PATCH] gnu: Add xerces-c. Date: Thu, 27 Apr 2017 08:52:36 +0200 Message-Id: <20170427065236.20963-1-rekado@elephly.net> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-ZohoMail: Z_26063301 SPT_1 Z_26062608 SPT_0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) * gnu/packages/xml.scm (xerces-c): New variable. --- gnu/packages/xml.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 247107917..38dd07259 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2013, 2015 Andreas Enge ;;; Copyright © 2015 Eric Bavier ;;; Copyright © 2015 Sou Bunnbu -;;; Copyright © 2015, 2016 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus ;;; Copyright © 2015, 2016 Mark H Weaver ;;; Copyright © 2015, 2016 Efraim Flashner ;;; Copyright © 2015 Raimon Grau @@ -1145,3 +1145,28 @@ spreadsheet.") (license (list license:gpl2+ license:lgpl2.1+ license:mpl1.1)))) + +(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"))) + (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 portable +subset of C++. Xerces-C++ makes it easy to give your application the ability +to read and write XML data. A shared library is provided for parsing, +generating, manipulating, and validating XML documents using the DOM, SAX, and +SAX2 APIs.") + (license license:asl2.0))) -- 2.12.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 27 09:29:13 2017 Received: (at 26676) by debbugs.gnu.org; 27 Apr 2017 13:29:13 +0000 Received: from localhost ([127.0.0.1]:42410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3jTs-0007K3-Se for submit@debbugs.gnu.org; Thu, 27 Apr 2017 09:29:13 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3jTq-0007Jr-G8 for 26676@debbugs.gnu.org; Thu, 27 Apr 2017 09:29:11 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0B5A420708; Thu, 27 Apr 2017 09:29:10 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 27 Apr 2017 09:29:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=v4WberiTMvhnHwrzdHw++y3cnO8+kIjfYQcXk7acE LU=; b=mA29dlbr6uLi+fvGZ3pqLLNSjkFHfO6RFKWwNyI1s8Fz7AM3NqgACFW59 yvhKAxv5RYOSEUPo3zD/GYtCWZkxYBGN98hFeJtpeKblPmo6oORBQmwGPyIrgEao cXb0VPtQo1j4prxvvE8ljV1de9q3IYwsyb9uTDD1YEFaSFtVCLO6dtzKlzH3dok3 RZtycA+mNMF6kDQkzGXMAstk48RgFPXkUlxVTtcPD/PqyDNdAfQAxw0i5LhEfTla pnqryPpGbK7ll71FzEt6apOK2Qz+lRPpBg7FJ+5/bV8Z9V0hK2WBpdc41kQJTTN3 GeLiP3BPokKwgJKi5w8E4wBfkBipA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=v4WberiTMvhnHwrzdH w++y3cnO8+kIjfYQcXk7acELU=; b=Bu4fG77E/1HtrGTbygmWtt4bW/QOeJYbVm pbRIrwVMz3sEk5N+BmDITF/I8EKO1zCA8KtGwp1SzZgnIcTCbshA8RuyXBo3J/Ju 54zaP3B/4vFafcrNXntYFHfP6/Gg0eYEWrrwq8MTq8cVkBRMJXClm4udRCa/klU+ LFiDd5TGVC0DrL0kmE1hXvJ8WzKnLqNGevTBSQG+lhHwTlU13iQWRqLKlZAkNM2O T3IETr3vQkV/sWTTvf+olr6X28TvlP3YoO0gd6QtQELobPrknHMa63lOqiFf3wZo 1AB0mqADh56sHBc84KGk+fFQBXfLU2lv+UtIOoHODeSI7C8Rt8Ug== X-ME-Sender: X-Sasl-enc: tGCjB5UGXiwXoMNgA4yPL4iXmy1ihkPuqY2UsXG4V/yW 1493299749 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 8674A7E320; Thu, 27 Apr 2017 09:29:09 -0400 (EDT) From: Marius Bakke To: Ricardo Wurmus , 26676@debbugs.gnu.org Subject: Re: bug#26676: [PATCH] gnu: Add xerces-c. In-Reply-To: <20170427065236.20963-1-rekado@elephly.net> References: <20170427065236.20963-1-rekado@elephly.net> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) 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" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26676 Cc: Ricardo Wurmus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 28 11:48:23 2017 Received: (at 26676-done) by debbugs.gnu.org; 28 Apr 2017 15:48:23 +0000 Received: from localhost ([127.0.0.1]:44893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4886-0002WP-U3 for submit@debbugs.gnu.org; Fri, 28 Apr 2017 11:48:23 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4885-0002WH-Fa for 26676-done@debbugs.gnu.org; Fri, 28 Apr 2017 11:48:21 -0400 Received: from localhost (port-92-200-17-209.dynamic.qsc.de [92.200.17.209]) by mx.zohomail.com with SMTPS id 14933944983761000.7068640935194; Fri, 28 Apr 2017 08:48:18 -0700 (PDT) References: <20170427065236.20963-1-rekado@elephly.net> <87h91ac730.fsf@fastmail.com> User-agent: mu4e 0.9.18; emacs 25.1.1 From: Ricardo Wurmus To: Marius Bakke Subject: Re: bug#26676: [PATCH] gnu: Add xerces-c. In-reply-to: <87h91ac730.fsf@fastmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 28 Apr 2017 17:48:15 +0200 Message-ID: <877f24y1mo.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 26676-done Cc: 26676-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Marius Bakke writes: > 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 Ah, you’re right. I pushed it with a fix with commit 162a4a032^. Thanks for the review! -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From unknown Fri Sep 12 04:34:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 27 May 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator