From patchwork Sat Dec 4 22:03:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 34968 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7AB2A27BBEA; Sat, 4 Dec 2021 22:04:25 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 40AEA27BBE9 for ; Sat, 4 Dec 2021 22:04:25 +0000 (GMT) Received: from localhost ([::1]:38298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtd8o-0006bA-HB for patchwork@mira.cbaines.net; Sat, 04 Dec 2021 17:04:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtd8V-0006aZ-8T for guix-patches@gnu.org; Sat, 04 Dec 2021 17:04:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtd8U-0003PN-UZ for guix-patches@gnu.org; Sat, 04 Dec 2021 17:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtd8U-00067Z-Q3 for guix-patches@gnu.org; Sat, 04 Dec 2021 17:04:02 -0500 Subject: bug#51640: [PATCH guix 0/1] [PATCH] Adds libphonenumber Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 04 Dec 2021 22:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51640 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ~rdesfo Cc: 51640-done@debbugs.gnu.org, ~rdesfo , rdes@protonmail.com Mail-Followup-To: 51640@debbugs.gnu.org, ludo@gnu.org, rdesfo@protonmail.com Received: via spool by 51640-done@debbugs.gnu.org id=D51640.163865542123456 (code D ref 51640); Sat, 04 Dec 2021 22:04:02 +0000 Received: (at 51640-done) by debbugs.gnu.org; 4 Dec 2021 22:03:41 +0000 Received: from localhost ([127.0.0.1]:55556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtd89-00066G-9H for submit@debbugs.gnu.org; Sat, 04 Dec 2021 17:03:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtd87-00065y-EO for 51640-done@debbugs.gnu.org; Sat, 04 Dec 2021 17:03:39 -0500 Received: from [2001:470:142:3::e] (port=49506 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtd82-0003Lo-5F; Sat, 04 Dec 2021 17:03:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=qsYhBM0/udc8UW4pXRnD+C8WLvUqmgHPbbrlmb+qaF4=; b=FTknhbOHUwBjR/EocORq uDo9xqrSWcqEpUD5yMbtmschUjo+JbvZs4bMJgOKtOq9LhgdlaEJwuD2/kw4m4Z9FClM2sJA2Htsx JncQuOEbiZ7SND9PY5wLKt3LJL/kI72eYigi2qIR3TpQ+H5jUGD6sBR4sUlUuBwRr3FeDyLntVnsc MRceHUQNsmGkszyYty9jEWg5BghVTJpXDvSD3rJivLocaWl6wyFfGJTIR7Qe/KkqKT6RDRUYzyhm2 yfrWYdSeb5g2WRRKlYpeEnrBVcfDNjnFQiasfnlPuB9SOaYDLV0B29S2pJIJtHvgFtSqxxiNJ2gtP 250b9TNHfek4jw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64420 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtd82-0002Zm-1w; Sat, 04 Dec 2021 17:03:34 -0500 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <163621595987.14225.8793005658266325764-0@git.sr.ht> <163621595987.14225.8793005658266325764-1@git.sr.ht> Date: Sat, 04 Dec 2021 23:03:31 +0100 In-Reply-To: <163621595987.14225.8793005658266325764-1@git.sr.ht> (rdesfo@git.sr.ht's message of "Sun, 12 Sep 2021 16:24:01 -0400") Message-ID: <87lf10uix8.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, ~rdesfo skribis: > From: Ryan Desfosses > > * gnu/package/messaging.scm (libphonenumber): New variable Applied with the changes below, thanks! Ludo’. diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 93f469a968..2e3afb510e 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2791,11 +2791,11 @@ (define-public libphonenumber (base32 "06y3mh1d1mks6d0ynxp3980g712nkf8l5nyljpybsk326b246hg9")))) (arguments - `(#:tests? #f ; no tests + `(#:test-target "tests" #:phases (modify-phases %standard-phases (add-after 'unpack 'change-directory - (lambda _ (chdir "cpp") #t))))) + (lambda _ (chdir "cpp")))))) (build-system cmake-build-system) (native-inputs `(("googletest" ,googletest) @@ -2804,8 +2804,10 @@ (define-public libphonenumber `(("boost" ,boost) ("protobuf" ,protobuf) ("icu4c" ,icu4c))) - (synopsis "Google's i18n library for parsing and using phone numbers") - (description "Google's i18n library for parsing and using phone numbers") + (synopsis "Library for parsing and using phone numbers") + (description + "This package provides a C++ library for parsing, formatting, and +validating international phone numbers.") (home-page "https://github.com/google/libphonenumber") (license license:asl2.0)))