From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6C8cCJ9h2GSzRwAASxT56A (envelope-from ) for ; Sun, 13 Aug 2023 06:52:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gJQVCJ9h2GSsMgEA9RJhRA (envelope-from ) for ; Sun, 13 Aug 2023 06:52:47 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9C82E51337 for ; Sun, 13 Aug 2023 06:52:46 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=okeHcjlK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691902366; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YlyC12j7Sr2whzZVc2XLfc9ahXEzQgkFFPxpY6AQZX0=; b=TWEGQI9lxePfizEemP5+gh24rlDj1/cyEqRsO4g8lBQnr49WlUyZHiN9Zm4AtY9RFSr4ZT 6Cc0TAHNjzAkIYvn0rR4pEAuVDHqxmjHXoueGfiFH5AdhQ0632NQLpDvJuxP+rWvp1VMCu IRaUvNJY7DL0x6mLICbb+ZBy+bXYid7aIwZgAEPkbBxJFKydCKMNKULGQa2AEJDqaEuwAM RKEQnfe4RLoplbhZJTddeEC8fA3ZaJzklxzFJSYDo6CI0y+qewNzadH8rS/fKwlO3/+J3t OpbE1acIyjuVWbEIPbma+A7QSBYfaxRSZVUezfUBr5Mn84Gl0Oq7eqZBPmEwQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=okeHcjlK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691902366; a=rsa-sha256; cv=none; b=XxERfv2YVPwvXLp2KJJUhsvSeH+ZL6zORfGq/sJ0T2aMcZtWSxGJBRKNY3+j5GcT10qCb/ hrnSpEZbaNyGhGDM2DiD4DzFcZVHr6rJodFiKv9jDA8rfW4Hmpx+5BN6km4TFbxdxIWC9Z ZMyGj+aU00dZ6bWtx3FQuhPCs5teoxe8a8yDOA0OF6iX8h1igVDWLEKXlh+UOLhJKXgh5K lIbEr6sQUxOAJkLMZwfPxgRVH+sl1SppP6u/+gwZmfV5HCnqe3pLMdiO8H98kijXhsJscL 2FNcLa0hz1EkpPGGiuRkeaUmR+JlAYuMJTdNvyoKD7tUsihVgOOi1t66v7TjIw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qV35H-000356-OW; Sun, 13 Aug 2023 00:52:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qV359-00034c-PV for guix-patches@gnu.org; Sun, 13 Aug 2023 00:52:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qV359-0000rW-HS for guix-patches@gnu.org; Sun, 13 Aug 2023 00:52:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qV359-0001VR-Co; Sun, 13 Aug 2023 00:52:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64255] [PATCH v3 2/2] gnu: utfcpp: Update to 3.2.4. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Sun, 13 Aug 2023 04:52:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64255 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64255@debbugs.gnu.org Cc: Hilton Chain , Reza Housseini , Liliana Marie Prikler , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-Xcc: Liliana Marie Prikler , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 64255-submit@debbugs.gnu.org id=B64255.16919023145753 (code B ref 64255); Sun, 13 Aug 2023 04:52:03 +0000 Received: (at 64255) by debbugs.gnu.org; 13 Aug 2023 04:51:54 +0000 Received: from localhost ([127.0.0.1]:57883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qV350-0001Uj-1W for submit@debbugs.gnu.org; Sun, 13 Aug 2023 00:51:54 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:60402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qV34x-0001UU-8Y for 64255@debbugs.gnu.org; Sun, 13 Aug 2023 00:51:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691902300; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YlyC12j7Sr2whzZVc2XLfc9ahXEzQgkFFPxpY6AQZX0=; b=okeHcjlKoi9zzXpm6AThYAnP6Nwwz3RsfRdSMr3jCPecY1TraA7caawDq3wEbb4nuIWLit XrJ8crpO/6eKtaNaYmPD8WOCVtcJAONRnTJv2rHkBJ/rb6uF0r8kXOEBdgEgXvVmZSseKQ dg3Ojg4AozrL1ytNezaEwaXUCUOuA/RyF589FqmUz9hCkt3EnOw6WaHrPw7Yl+fRYI/LUB UKrHwWPwmEJOrJzl99ITVqveYq8aSLBGCMwJFJQbnXWu807wK6JQlPuL/Aw5Siiyprnh6r AdLdn7eFe4b7G9w6yNrmTyeiMJGxSotmgNBJMYq5OcssDNy4Xe49xlzUVQv3Wg== Date: Sun, 13 Aug 2023 12:51:11 +0800 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.68 X-Spam-Score: -3.68 X-Migadu-Queue-Id: 9C82E51337 X-Migadu-Scanner: mx2.migadu.com X-TUID: 216VQmKQsxKE From: Reza Housseini * gnu/packages/textutils.scm (utfcpp): Update to 3.2.4. [snippet]: Unbundle ftest. [arguments]: Remove field. [native-inputs]: Add ftest. * gnu/packages/games.scm (warzone2100)<#:phases>: Adjust 'fix-utfcpp-include. * gnu/packages/video.scm (mkvtoolnix)<#:phases>: Add 'fix-utfcpp-include. Co-authored-by: Hilton Chain --- gnu/packages/games.scm | 2 +- gnu/packages/textutils.scm | 27 +++++++++++++-------------- gnu/packages/video.scm | 5 +++++ 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index bf5c680042..9ba5d4a964 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -5573,7 +5573,7 @@ (define-public warzone2100 (lambda _ (substitute* "lib/framework/wzstring.cpp" (("") - "")))) + "")))) (add-after 'unpack 'link-tests-with-qt (lambda _ (substitute* "tests/Makefile.am" diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 4e026fc6f9..508a954254 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -25,6 +25,8 @@ ;;; Copyright © 2021 Felix Gruber ;;; Copyright © 2021 Bonface Munyoki Kilyungi ;;; Copyright © 2022 Gabriel Wicki +;;; Copyright © 2023 Reza Housseini +;;; Copyright © 2023 Hilton Chain ;;; ;;; This file is part of GNU Guix. ;;; @@ -690,29 +692,26 @@ (define-public catdoc (define-public utfcpp (package (name "utfcpp") - (version "2.3.5") + (version "3.2.4") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/nemtrif/utfcpp") (commit (string-append "v" version)))) (file-name (git-file-name name version)) + (modules '((guix build utils))) + ;; Unbundle ftest + (snippet + '(begin + (delete-file-recursively "extern") + (substitute* (find-files "tests" "\\.cpp") + (("\"../extern/ftest/ftest.h\"") + "")))) (sha256 (base32 - "1gr98d826z6wa58r1s5i7rz7q2x3r31v7zj0pjjlrc7gfxwklr4s")))) + "0p18cbdk57ilbgcgprgqp7fgysb5i0nidczbhc5rnxkiiw4jvxgn")))) (build-system cmake-build-system) - (arguments - `(#:out-of-source? #f - #:phases - (modify-phases %standard-phases - (replace 'install ; no install target - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (include (string-append out "/include")) - (doc (string-append out "/share/doc/" ,name))) - (copy-recursively "source" include) - (install-file "README.md" doc) - #t)))))) + (native-inputs (list ftest)) (home-page "https://github.com/nemtrif/utfcpp") (synopsis "Portable C++ library for handling UTF-8") (description "UTF8-CPP is a C++ library for handling UTF-8 encoded text diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 7df68e8f53..6355acfd4e 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1054,6 +1054,11 @@ (define-public mkvtoolnix "--enable-precompiled-headers=no") #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-utfcpp-include + (lambda _ + (substitute* "src/common/strings/utf8.cpp" + (("") + "")))) (add-after 'unpack 'patch-relative-file-names (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) -- 2.41.0