From patchwork Wed Mar 19 17:00:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 40440 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 63B5227BBE2; Wed, 19 Mar 2025 17:04:15 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS 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 ECB6B27BBEB for ; Wed, 19 Mar 2025 17:04:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuwpc-0005a4-KG; Wed, 19 Mar 2025 13:03:54 -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 1tuwoq-0004q5-6g for guix-patches@gnu.org; Wed, 19 Mar 2025 13:03:13 -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 1tuwop-0007Z3-Tb for guix-patches@gnu.org; Wed, 19 Mar 2025 13:03:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=5EefmG5zdN14T7OqKNPGeXxoal7+14eFF8GdD2Bj6ts=; b=exBS1KnWlS03b+MSdtqnPAvvpIqyeSATGSGvPcY8ZF+cgAhpVmxMG3fxn2tjfo813Kd3Jg1d3TNk6f9QfC2LvBUnk6z8E880y+c9iNJXsQKLUoDNCptqBMAJS1jLuqrSXEpiZw/hoDPYWxYyRqFC4oJhov3U+s7xkPU/UbY1t4ADBVWfYgwqh3uG5sQxYndkttasvda7Qt0FyiU371dL1AxGRR8gBOO6LFumlN6ocLjgLAnu2h/SOxddGXoGzywUaY42tfRpn+YlOUUlHaqPWUaAJ2/e12dgSZ1saw+woZISIgbvTVKwEvShNkat0icVHNlc4uVbPLqsBsiZoxyXSg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuwop-0005iM-NR for guix-patches@gnu.org; Wed, 19 Mar 2025 13:03:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67755] [PATCH v6 1/8] gnu: Add jthread. Resent-From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 17:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67755@debbugs.gnu.org Cc: Sergio Pastor =?utf-8?b?UMOpcmV6?= Received: via spool by 67755-submit@debbugs.gnu.org id=B67755.174240378221939 (code B ref 67755); Wed, 19 Mar 2025 17:03:03 +0000 Received: (at 67755) by debbugs.gnu.org; 19 Mar 2025 17:03:02 +0000 Received: from localhost ([127.0.0.1]:52871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuwon-0005hZ-DD for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:02 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:48589) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuwol-0005gm-49 for 67755@debbugs.gnu.org; Wed, 19 Mar 2025 13:02:59 -0400 Received: by mail-wr1-x442.google.com with SMTP id ffacd0b85a97d-394780e98easo4601936f8f.1 for <67755@debbugs.gnu.org>; Wed, 19 Mar 2025 10:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742403773; x=1743008573; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=5EefmG5zdN14T7OqKNPGeXxoal7+14eFF8GdD2Bj6ts=; b=YEXOy6HYPN2NXzzWOeEy5YYWvxY1RvT8cF+mhTxwMj5qjjLsTrNkC/Y3Ltn5u0Dy84 dGD9kKulYNEj0AeEtoft0CJoMx0tX7dr4nvKgdXNkUxs9SqFJb5wIdea1CCBjj32tDz1 cPBXuXoSZ4uRZgtNDJLdyYpq520I7S8CyahmwvvecikYc9zHILcpTyZEIMfIEVa1UWvy MnFCVUo+M9VhPXKNPeV5o1BBClI+wwt6UiWJ6OQ2u23q6x29HfOBiFbe249KyZ9nylWD Rk/JTPAWa/lWhtH1Lt/qGX1NzZrOrkUFXDpiZuPPas8wqMk6eaRmmEs154yR1ve7cY+N UROw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742403773; x=1743008573; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5EefmG5zdN14T7OqKNPGeXxoal7+14eFF8GdD2Bj6ts=; b=mNUjnxf3iMUO/b6NwbWbBKVy4qMzx8CQ5nY9VaOmJtVtPpAt3I4INsmP0z5XktmhN0 0QWX2omu6cY9Bm4ZI/b7mHaAcy6fPW5jvpbVSc7SSAqyYzHH2OxGz5lClp6jv+7ibI+1 1FcbQVZL2AUF9lJsaRhmktwCTjoi+/U8MM+YRjKjwSlR+mCsuLjUbkrSZc+tkjKw9kru 0mP8O6CtDFGJADXgWc8NZq3GxukJeiQW3ApPTBQpZKcGH90fPA4G1TYi8B1/gP+HOQFm Phge8UX92DsSfbyxii1Ud8TnWoyUgHn2iW8ie8PmJTFlZLcof2uyL40TYxI1hj8ZUyD1 G4tg== X-Gm-Message-State: AOJu0YxNoQAXVxA7OwBX1Bt8kcmAzaoXaUyIArkOrgb7R1EI0ixIFasm BRKTm1St2U54gqrAC2K75rKXN0oTgwPilEOCYFhNQCOWGCiZGDb0H4jJDagdkto= X-Gm-Gg: ASbGncufkvcBImd48rD5fy9aLc4ZF5JsMUvstb6U9pmPDBy9J8GWMv9w7H/p2pylhbM H2lYAraoNn6a4tbMY3pIIBPWplK8/UJCSchmWMp8OXFuFoRL+kqZGZhM70njzc3UA8okMQEWybW rRDKHB8UTuDyd+arqWj21mYe1/zWguAgoFZ9BQccyjKZ4Wn80oonHrHQelJ55XNAe63sF+nECdu tLhoZR0/7bHuiQEucsPP++uEpuidGjPPA56yuePrazLrM6p6RUaaXM+VUVy5ssWB/VOt6H9ZfzM r8nvKiBfRkNSk9aMm9ZWqDCguJnEUsFvfxmw4Y84MJm4mIF34MAXwdW2kNdBfSIAVk3nnmOd9x1 ab3hoJVFgtmO44LuGwwFGuWHwpohQC6I= X-Google-Smtp-Source: AGHT+IHShM66HXHO6GmKRU6LsEu2uY4R+1xaCwyAvf0BfqlBY8u7iodNox5TysDdYU5DbcTCQAFVOw== X-Received: by 2002:a5d:6489:0:b0:390:f6aa:4e80 with SMTP id ffacd0b85a97d-39973b449bdmr4878517f8f.53.1742403772319; Wed, 19 Mar 2025 10:02:52 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c7df3419sm21049661f8f.9.2025.03.19.10.02.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 10:02:51 -0700 (PDT) From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " X-Google-Original-From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Message-ID: In-Reply-To: References: Date: Wed, 19 Mar 2025 18:00:06 +0100 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (jthread): New variable. Change-Id: I163ab0f8dbd9bc5ed0250612938f82926b07bc92 --- Note: this package appears unused in the rest of the series. gnu/packages/cpp.scm | 95 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 595ec82ccae..9673d607db1 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -118,6 +118,7 @@ (define-module (gnu packages cpp) #:use-module (gnu packages pretty-print) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages tls) + #:use-module (gnu packages tex) #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) @@ -1146,6 +1147,100 @@ (define-public nlohmann-json (define-public json-modern-cxx (deprecated-package "json-modern-cxx" nlohmann-json)) +(define-public jthread + (let ((commit "0fa8d394254886c555d6faccd0a3de819b7d47f8") + (revision "0")) + (package + (name "jthread") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/josuttis/jthread") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11cq4zh7pv86c62ah5im00gxr4cw6d396dp9117z8s271j4lrp6f")) + (snippet + ;; NOTE: remove precompiled PDFs. + #~(begin + (use-modules (guix build utils)) + (for-each (lambda (file) + (delete-file file)) + (find-files "." ".pdf")) + (delete-file-recursively "doc"))))) + (outputs '("out" "doc")) + (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (add-after 'unpack 'cd-and-generate-makefile + (lambda _ + (call-with-output-file "source/Makefile.h" + (lambda (port) + ;; GCC 2.95 fails to deal with anonymous unions in glibc's + ;; 'struct_rusage.h', so skip that. + (display "CXX17 := c++ -std=c++17 -pthread\n" port))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "make" "-C" "source")))) + (add-after 'check 'build-docs + (lambda _ + (with-directory-excursion "tex" + ;; NOTE: remove strict versioning. + (substitute* "styles.tex" + (("lst@CheckVersion\\{1.6\\}") + "lst@CheckVersion{1.10}")) + (invoke "pdflatex" "std") + (invoke "pdflatex" "std")))) ;Rerun to update references. + (replace 'install + (lambda _ + (for-each (lambda (file) + (install-file file + (string-append #$output "/include"))) + '("source/condition_variable_any2.hpp" + "source/stop_token.hpp" "source/jthread.hpp")))) + (add-after 'install 'install-doc + (lambda _ + (let ((out (string-append #$output:doc "/share/doc/"))) + (mkdir-p out) + (copy-file "tex/std.pdf" + (string-append out + #$name "-" + #$version ".pdf")))))))) + (native-inputs + (list perl + (texlive-updmap.cfg + (list texlive-ulem + texlive-rsfs + texlive-memoir + texlive-substr + texlive-xcolor + texlive-isodate + texlive-caption + texlive-relsize + texlive-extract + texlive-xpatch + texlive-xkeyval + texlive-jknapltx + texlive-booktabs + texlive-enumitem + texlive-etoolbox + texlive-listings + texlive-microtype + texlive-underscore)))) + (home-page "https://github.com/josuttis/jthread") + (synopsis "C++ class for a joining and cooperative interruptible thread") + (description + "This package provides a reference implementation of @code{std::jthread}, +a cooperatively interruptible thread that is joined upon destruction.") + (license license:cc-by4.0)))) + (define-public tomlplusplus (package (name "tomlplusplus") From patchwork Wed Mar 19 17:00:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 40444 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 07CFE27BBE9; Wed, 19 Mar 2025 17:04:14 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS 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 1BDA527BBED for ; Wed, 19 Mar 2025 17:04:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuwpk-0005o0-2K; Wed, 19 Mar 2025 13:04:00 -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 1tuwor-0004qo-U3 for guix-patches@gnu.org; Wed, 19 Mar 2025 13:03:14 -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 1tuwor-0007ZF-JU for guix-patches@gnu.org; Wed, 19 Mar 2025 13:03:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=uJGlJTTeknMm4g/Y5M8F4EV5ci4gJat16udWSDdQgM0=; b=kwn6cmOnAX7m3gYtzA6fd3eU58+9Q3QaG6cy1Fx5LrSDXa2py7Hv0Fd44ffGxcjage0Bf6sR2L9a++6jr0kI04881nPNXgjSPkMenCY2wHdWQVWApDwSEPZwOac3hiyaIxCLWiARuVG1Zavl7DSh5mZ96vGK9JFl7YSgde5wrGrNzA7i5e7LAe348d2cAzFp4XrZeMoDc825E6hwUe+FyVmUhZMcDYBe4LVUIpkWsp6GScTpsEgdQKjvYAP+wmqDn3cbWNz1h9zW8FcOBZ7SCjZVRRu4jaNb7B0E8GGabhfO65txI4TYZpdeTdJm/qFLHBUwCxQW0oRgBIa45u2HMg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuwor-0005it-Bh for guix-patches@gnu.org; Wed, 19 Mar 2025 13:03:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67755] [PATCH v6 2/8] gnu: Add plutovg. Resent-From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 17:03:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67755@debbugs.gnu.org Cc: Sergio Pastor =?utf-8?b?UMOpcmV6?= Received: via spool by 67755-submit@debbugs.gnu.org id=B67755.174240378421979 (code B ref 67755); Wed, 19 Mar 2025 17:03:05 +0000 Received: (at 67755) by debbugs.gnu.org; 19 Mar 2025 17:03:04 +0000 Received: from localhost ([127.0.0.1]:52877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuwop-0005i5-1g for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:03 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:46350) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuwol-0005gr-JR for 67755@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:00 -0400 Received: by mail-wm1-x341.google.com with SMTP id 5b1f17b1804b1-43bb6b0b898so48392365e9.1 for <67755@debbugs.gnu.org>; Wed, 19 Mar 2025 10:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742403773; x=1743008573; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=uJGlJTTeknMm4g/Y5M8F4EV5ci4gJat16udWSDdQgM0=; b=KNCqvSudBlRrS898COG1z0JUpDYIWtxhNODvWZ5H2FfUf3ogCclxgDeb+UsTKTPulS I0YLbVSeODLo7BgmISy4M1DffKtPi4NRzFXD6yDkABxeNjfnzdVFIeLtTo8FyDaq7odl ccpigbZ4wocKUCpqUz/ovAqUyqQUT3CQfv7Ujsun+9JKrKwGEdWYL9fE7HWIRT2hwf8L WouLd9Vwz58Mvf26bcFme6reUyTH2Z1kqZzpsBfgTXq8oeQk1Kl5+xfpcCIboZWI/gAq YirWYPWmw+u/kzqlExKnTZpdMRUwMqNu8jU4IJzE3y8t9LqRmDZa3MKAol382uvMQPM9 1W7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742403773; x=1743008573; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uJGlJTTeknMm4g/Y5M8F4EV5ci4gJat16udWSDdQgM0=; b=ut8JmW9cNJk9sXFw4ubWKE4ORw5jkEKAbVrp/JjOeTA9cihFnHsNN2P3fuJUerTPwe jjN4NPQ1iCIh5q42h1LG3y785GyUSaQvaVNiKgCZsMe744tFmYDQvud2PTPBo8MCH4ba GeRTqxSStswWUUvBboEYGtPM6dYUFzovhHKEUteB+TS+UtgWHBZmh77nj0Zs4LDcpbAl zHZlDZw7sjt2fyh6YHvBN4f4A7/FDFf0xGei+eWsMUbcG3ZKMjshQUXUE/jo+Bu15Xfm WHFSyAvvahe8exZ7i3duzMwmK/CfoMfts51m4KWbTJ5nOr4JZvL4xJmXMyAEJtbx+36r yvUg== X-Gm-Message-State: AOJu0Yxe6RAWmpBBa+V363CIAMLJfUtE6CZBotRkcdNOpywQFgr6HblJ LGj68Ww2Xkb2v9kgmcZgeME052gcf8TTcLtj/KEJncUl1TjVX+LEvpNsjLmkqho= X-Gm-Gg: ASbGncsbhtW/GfUWGDpJaLPfI2maLq7QJzRftTppXLwesUGoNKkjdUWRhwD9kH42p2z 9i0KPRHlKVejNLJloIBrCLDZp/FKJ5A1tS4dqA1GmBTFx4/VKVCKKleUi5nwBqwnyM7C2p8SS+1 938voz6AH8vtOt7Qjlg+VVSrTcRFpN/GCBQAO4WB4Dn5Az5hkz9AnJCTzHvNwGJ1IPQRiaF6q54 N5TJ9RIgnJgphYCuoQEV0yXQ8BcDobHTfAIzWQaoc8gefyJDTcpNZsA44WDcSX7hikIajX9nGJS eUh4jDUo/MiUSwQqj3T5cLodZqyuqiqKiQ6+ODVPlVZ7fyEVYjd3W9HQCQNlgUr2L5qbiqFgXB8 LZfYNY/XTYRea3nT7H51P X-Google-Smtp-Source: AGHT+IGe95i6LM6jTf04W4j2VWXucv2HPCCbbj2ulW0MKfLUToJSgJ83T22yRMP2C2icrBiscTkOjA== X-Received: by 2002:a05:6000:1847:b0:391:268:64a1 with SMTP id ffacd0b85a97d-39973b06e56mr3750388f8f.48.1742403773009; Wed, 19 Mar 2025 10:02:53 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c7df3419sm21049661f8f.9.2025.03.19.10.02.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 10:02:52 -0700 (PDT) From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " X-Google-Original-From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Message-ID: <427e70e62c0bcb30b5f140e971842624a2e25f9d.1742403600.git.liliana.prikler@gmail.com> In-Reply-To: References: Date: Wed, 19 Mar 2025 18:00:07 +0100 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (plutovg): New variable. Change-Id: I23d615af1545b79f07a64902c472e6a2e081af5a --- gnu/packages/cpp.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 9673d607db1..d4cf4a68ac8 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -615,6 +615,28 @@ (define-public rct (license (list license:expat ; cJSON license:bsd-4))))) ; everything else (LICENSE.txt) +(define-public plutovg + (package + (name "plutovg") + (version "0.0.13") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sammycage/plutovg") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0y2w0qhs89bnh440z1xj65vg4c71rlwinxgs3p8bvh2fmbi7lqff")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON") + #:tests? #f)) ;No tests. + (home-page "https://github.com/sammycage/plutovg") + (synopsis "Tiny 2D vector graphics library in C") + (description "PlutoVG is a standalone 2D vector graphics library in C.") + (license license:expat))) + (define-public pystring (package (name "pystring") From patchwork Wed Mar 19 17:00:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 40442 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 10A2927BBE2; Wed, 19 Mar 2025 17:04:27 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS 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 67B0B27BBEA for ; Wed, 19 Mar 2025 17:04:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuwps-0006Hy-Hn; Wed, 19 Mar 2025 13:04:08 -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 1tuwpm-00064w-NS for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:02 -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 1tuwpm-0007wO-5S for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=koMFe9IoM/3zwg0mp8oZQgL9/8nMR6fmLRhBRQcWBAc=; b=DjKc7TGBIrX8KiFCHESovQqEZMBThq1i5pnPqYot5A/MlHZszVtN/Kz1vjbx6GURNjORFdMV4FtkLhgdE6ZGIAc4IplA/pUFY7SrnH2glPGXRPO2kzXGJY7izwnhjafy9DTNVTuqAySDje10ucroMGqH21cHyT+N9tfBPZ0WhbeitBcIGW1Xe/Ke4B0C32MGxk8FNSiAhzurPxAOjgov3dai8H02cnid56eW7q0Sd5KVLufUj0RhmFrhHWzev24h1DTYE9HN0RfM/bxvLHTbWwXV2jA1yNIC+aEUuNb9QF4l2TvJJsNIBHEow2EgMqzb1cw4IKETMMcA1MF2zUeOCQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuwpl-0005lg-Vd for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67755] [PATCH v6 3/8] gnu: Add lunasvg. Resent-From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67755@debbugs.gnu.org Cc: Sergio Pastor =?utf-8?b?UMOpcmV6?= Received: via spool by 67755-submit@debbugs.gnu.org id=B67755.174240378622022 (code B ref 67755); Wed, 19 Mar 2025 17:04:01 +0000 Received: (at 67755) by debbugs.gnu.org; 19 Mar 2025 17:03:06 +0000 Received: from localhost ([127.0.0.1]:52886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuwor-0005im-2S for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:06 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:56354) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuwom-0005gs-8Q for 67755@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:01 -0400 Received: by mail-wr1-x444.google.com with SMTP id ffacd0b85a97d-399737f4fa4so699001f8f.0 for <67755@debbugs.gnu.org>; Wed, 19 Mar 2025 10:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742403774; x=1743008574; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=koMFe9IoM/3zwg0mp8oZQgL9/8nMR6fmLRhBRQcWBAc=; b=PBfM33qGH6RGCBDzCd28OBI3uD9IbApxvA6uV8IEuC1W2K/cah0q0xjgIaAM74n4EP jF0GRcgwlulPyQoOq/1xYpjHUWv/ue7DxTxPrEaHpUnZ0dmqKM5pcWT4qvPa52J1vHXs 0jXGZRkA1Fr06etu2p4AQua2xaGBzdGMm6+11bDoWyhbwws9oNPjbjaxkSkmrhr56jmI 7602iK0ab3kWXilAfiQwO86/Ll6ucWTv+97g3frTXJuY4NvdjfixZPbh2q0SBqeM2j23 iSBkPv489EdnmfGGHRZS5kq1ICYp6ZzIdsK7hBaHGYyjyO/2QFiCP8PEEOzXuA3wlDHc JPEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742403774; x=1743008574; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=koMFe9IoM/3zwg0mp8oZQgL9/8nMR6fmLRhBRQcWBAc=; b=ieoE5iAIXBfJiI3DeBSKqYLNC+ewEH66yyuBXbQ5rsEkoN4TPMe0buv+tLxbBhCQHL aJC+Qr1DY1zn6C1OfYqU6x4JocSz0DRbbgIPT903UHkqlQY423rsUMwRiOJXaX6s6Oeh vi/Pl7X5xng1KRqwLisxY+ITeyQgZvJxhXBMNyvsveg4ggwju2lHaSigtaaZ+FKpbF6u OYPyJ7YR9617+l6y4vYTFollXfE9ctbxokvDuhVOuyv1Wbbv3HRDHDbn14qwlRsxtdd8 y58E5VH+hoECxGv2fnVswNMzYc43mJG1iaa7CkrkVlht9U5ljHcjpdktGuDj15GJZ2h0 cbYw== X-Gm-Message-State: AOJu0YxcOjUnPQramO/Dhr6jMcgbPFduV0rM2Sw6lUaBIEKlc6p6JGoy vw6TJ8aJIpGIyEt/cIe2gnZRKUstLZLx8qTxaz5RIjePHtxC/X4tW7PQmFxSafU= X-Gm-Gg: ASbGncvzJxYPow8wX2dWyLTGLwdFGcKBHZdzTL1vFCGlqUFQMQUZf22FPdzHiUsWcb/ jvIo7ZtZymjT5SVkfsAnhnS8di4SbmfgzCP0XAw1MqrNNlzyGXy6nYfGjRDsXsB7LcDYzNMO8qt nvs/KK87Nl9Dt+XCn4blMUh0wcOu25EoZ3SPY6gDCyYnUJPl0uzbg3iKYHLGH0fF5Rh7XW7hY/L hzVJ4YpzPq8hXVLkEyLDMhXicRZqzd7FZIUsoQgTxX5SwAtK+67Nfmnf8q/sSlndIlnjY6504IG KwNYDk9StWGxZb3dmd+gv/aDNSzz17T8PdMCHKITO3WKWMHUpwPdYkKH00d/fasU2h/anBQfHzg s1ggSYS/l/7PvR4F5iPMH X-Google-Smtp-Source: AGHT+IFYK6og4X9m/ymYbfZt5GL9xa75QjvPRhKHyaNk/7YW0441Xuvp5nLpZWdI4WybTgTPilx3rA== X-Received: by 2002:a05:6000:18af:b0:391:13d6:c9f0 with SMTP id ffacd0b85a97d-399795e6d70mr146584f8f.47.1742403773685; Wed, 19 Mar 2025 10:02:53 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c7df3419sm21049661f8f.9.2025.03.19.10.02.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 10:02:53 -0700 (PDT) From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " X-Google-Original-From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Message-ID: In-Reply-To: References: Date: Wed, 19 Mar 2025 18:00:07 +0100 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (lunasvg): New variable. Change-Id: I77b7943e26e4e676a1575e3e33305f6f4476b401 --- gnu/packages/cpp.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index d4cf4a68ac8..48780b22af7 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -547,6 +547,32 @@ (define-public libzen operating system functions.") (license license:zlib))) +(define-public lunasvg + (package + (name "lunasvg") + (version "3.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sammycage/lunasvg") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14ppk3k6sdbf3lwhv2gjqy32vwa7ck9jcj9xfk0fxwfqbvbp6608")))) + (build-system cmake-build-system) + (inputs (list plutovg)) + (arguments + '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON") + #:tests? #f)) ;No tests. + (home-page "https://github.com/sammycage/lunasvg") + (synopsis "SVG rendering and manipulation library in C++") + (description + "LunaSVG is an SVG rendering library in C++, designed to be +lightweight and portable, offering efficient rendering and manipulation of +Scalable Vector Graphics (SVG) files.") + (license license:expat))) + (define-public rttr (package (name "rttr") From patchwork Wed Mar 19 17:00:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 40445 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 A19F927BBE9; Wed, 19 Mar 2025 17:04:33 +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=-6.5 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=ham 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 38CC027BBE2 for ; Wed, 19 Mar 2025 17:04:33 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuwpu-0006MR-5s; Wed, 19 Mar 2025 13:04:10 -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 1tuwpn-00069K-4K for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:03 -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 1tuwpm-0007wV-Mr for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=3w+U4PeSuFbjUerBxBSIeGVHG02rm3OxVMj5uRQ7WXU=; b=gMDNxmiIxU5h/iNaw4uH8UumyoVM4e/wlEOQVB1JwHkZyZyfFdzvMN8qaPSbtgf8+OsQpZTe3Jzg+vO/TIbx2plKV331exr7zuMRwP22nugQIeE/4Il/eUniMi+t6ouby8kOofz3xI4H691XpoLzosgz+DkL9RiCVF4O4YNv6VgaTGAFyzYRWcHS92CvDsZjOE7XMIWUFPoICHeghRbgu9M6p8iuJAOqRN4ydrQ89UjPkslxPZUH9oRLQaQKTtKa7+UXapyM21K3AcCfo5HkaSs9lkyzSv7ghZ1BPewG8XkNWPkKzDFXgveHTN20O1+AAEmcXO8NyqG70U5XDkLc+g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuwpm-0005ln-Dx for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67755] [PATCH v6 4/8] gnu: Add miniaudio. Resent-From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 17:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67755@debbugs.gnu.org Cc: Sergio Pastor =?utf-8?b?UMOpcmV6?= Received: via spool by 67755-submit@debbugs.gnu.org id=B67755.174240380922095 (code B ref 67755); Wed, 19 Mar 2025 17:04:02 +0000 Received: (at 67755) by debbugs.gnu.org; 19 Mar 2025 17:03:29 +0000 Received: from localhost ([127.0.0.1]:52890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuwpE-0005kI-Fg for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:29 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:56352) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuwom-0005gv-Pd for 67755@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:01 -0400 Received: by mail-wr1-x441.google.com with SMTP id ffacd0b85a97d-399737f4fa4so699011f8f.0 for <67755@debbugs.gnu.org>; Wed, 19 Mar 2025 10:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742403775; x=1743008575; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=3w+U4PeSuFbjUerBxBSIeGVHG02rm3OxVMj5uRQ7WXU=; b=jfzdreK83nLcPj9X3MBe96VcTC3e6Q8eoAaZJkvL4bFks0dRNrQ9NpYxqgbRCgyYXF Vta5njB4lDzk6bs4wgXtSfwF3TV25PdZ3u6eK2VZ4lVWzOJ29hv36vuRHGQJ29nxBtZP 614GvQaOAHU23RciWBiThZY50blUJl09jhP4+TdOu6j4v0dn6qHczQtinEyM6DRusRXK trzcXWPePj0XATKeBPdgS2M/CZPji5fjAkE8PIxt3NwmTNHGOfC68uDvGYEX4XjBJxEz t5zVbC/tR3W+6AKTv3slBQY85wMUJIzKlG/HxQeE3ONw79Ic9h4hY7VEgsqrrdlgTssU n2QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742403775; x=1743008575; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3w+U4PeSuFbjUerBxBSIeGVHG02rm3OxVMj5uRQ7WXU=; b=NSGjnbJKYU5ck0BPo3H1ovnoA5MQWMhd25HMb8Gqc76XCPX7mgT81AbIuNveKyVXCW H56QpEcuRMCcgnozCCOQHFlxIP1NlLicZ9zd5HPGXFxHSD13ai9s8sf7jCCfPIC2coia UdKeDt3p8SfKAVRmFIH/IM4J1d97W4+GzClVIkKpBOHl/JlPC0B70ITc5A0LBMZie5TK ZGeVOrdMfe1ZHPOtzW3cuWf7fWt/3FAMahuzbak666rvS73Pzo9rH7/GNGUTYMM+khP6 VLRNRt0thmJNrYQB65RKBoXZ6j4e+I54OaY3nHYiGe31IP52mZJYacNiV+jnu6L0JlDT HN8Q== X-Gm-Message-State: AOJu0YxWvjqR3C/H5C+26UMigV5PzNk0VwQRGZKOiBJVZEbURbB8FdiI oeFLrbGwKOrAmztjp0W80wf2UVV0hzgMcx5iIjblpA1DvGr2Y16w0I+VzKL9CAM= X-Gm-Gg: ASbGncva+HHuE8MtFiO5cQcOBI5uh1yBOugHI5MoGt0vwu6sGWJx+s4h7AzhGtqs9/W aO07j9G8oKS34F4P0SkMRlS8V9yloXJzx3wMQzxLqVhjeHBmI2YXH5d0rBDe8bcgppNAOG4zl6e QhFA0SjQKUgXi5rue6eJfkErxOLUgNGnmEOZJdtTdytpdv9gWy3eKgoAO2mHbDYPNuDI23nWttT tF3lscUChGu3aWAbnMuHGjODS/9TblviTF8tOw+jj+jLthpMTEt39dAmC2VVbMRKqnhCR55UNEg n6BHgR3iMv8z25/wxEoIc9TqrdS22Ak1DEmK06bynwNxlasmxgWqM5r8IknqrZT9fU3nSL7S0gx 1kHBcb58EGQ4qqHqCo0F/ X-Google-Smtp-Source: AGHT+IG4GWN1LiFKT7/zHth2WPHfUbGhGJ+8FZ06f+p9ojCy4EkmCY2ThEKyQ+6Z1LJp1jTaOkLz5g== X-Received: by 2002:a5d:47cd:0:b0:390:ed05:aa26 with SMTP id ffacd0b85a97d-399795a7c72mr209860f8f.5.1742403774379; Wed, 19 Mar 2025 10:02:54 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c7df3419sm21049661f8f.9.2025.03.19.10.02.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 10:02:54 -0700 (PDT) From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " X-Google-Original-From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Message-ID: <419841005ecce922d506dbc63fa60a824bae3a77.1742403600.git.liliana.prikler@gmail.com> In-Reply-To: References: Date: Wed, 19 Mar 2025 18:00:07 +0100 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (miniaudio): New variable. Change-Id: I27b74793dd7b80af4437e0a1b997cc87fe8822e5 --- gnu/packages/cpp.scm | 60 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 48780b22af7..4bf0e7f63fa 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1958,6 +1958,66 @@ (define (make-static-abseil-cpp version) #~(cons* "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" (delete "-DBUILD_SHARED_LIBS=ON" #$flags))))))))) +(define-public miniaudio + (package + (name "miniaudio") + (version "0.11.22") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mackron/miniaudio") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pjaiq71x24n9983vkhjxrsbraa24053h727db22b1rb2xyfrzm3")))) + (build-system gnu-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (delete 'build) + (delete 'configure) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "tests/_build" + (let ((tests '("conversion" "filtering" "generation"))) + (mkdir "bin") + ;; Compile tests + (for-each (lambda (test) + (invoke "gcc" + (string-append "../" test "/" test + ".c") + "-o" + (string-append "bin/" test) + "-ldl" + "-lm" + "-lpthread" + "-Wall" + "-Wextra" + "-Wpedantic") + (let ((bin (string-append "./bin/" test))) + (if (string= test "filtering") + ;; NOTE: the 'filtering' test + ;; requires an input file. + (invoke bin bin) + (invoke bin)))) + tests)))))) + (replace 'install + (lambda _ + (install-file "miniaudio.h" + (string-append #$output "/include")) + (copy-recursively "extras" + (string-append #$output + "/include/extras/"))))))) + (home-page "https://miniaud.io") + (synopsis "Audio playback and capture library for C and C++") + (description + "Miniaudio is an audio playback and capture library for C and C++. It is +made up of a single source file and has no external dependencies.") + (license license:expat))) + (define-public abseil-cpp-cxxstd17 (abseil-cpp-for-c++-standard abseil-cpp 17)) ;XXX: the default with GCC 11? From patchwork Wed Mar 19 17:00:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 40443 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 568F027BBEA; Wed, 19 Mar 2025 17:04:28 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS autolearn=ham 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 D196127BBE2 for ; Wed, 19 Mar 2025 17:04:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuwpz-0006YG-FP; Wed, 19 Mar 2025 13:04:15 -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 1tuwpo-0006Bq-2i for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04: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 1tuwpn-0007wg-Fg for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=qbxyoH1kfQWyJOkCzgN+WdqJ560QOfnbOoWZvjSQdGM=; b=mfSmE0N2xn/xjCljvEIJYC66xEhHYDEhczBQxeR3qklP8NPcPn8WeME8Cq9TcMTKvMcVWbfFPJ7sSCFuMEhMgXliKM7nxKhq1bzuR6R+syAXpeEm8p6kG2TMhrYrXdVDOTCSOibVGyRGZc38AM/NYoVtqka+7o3EnhdbP5o9ku2ZZa26RPrKHdS7q9WoEZ7fkGdjgxizBahYsk9poaJHPjIqxfFANKsBwrsik1e0SD9x+7n+lUVOqV+8MnFLmEekMg3u2IVEIjFSUpDqUoaNwwFrmTC2MCczI44MLaBoCywyGqDzmioXKZNtOK5DSfVEF1By13HkfeCs1YLs9HL4sA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuwpm-0005lv-SF for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67755] [PATCH v6 5/8] gnu: Add nativefiledialog-extended. Resent-From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 17:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67755@debbugs.gnu.org Cc: Sergio Pastor =?utf-8?b?UMOpcmV6?= Received: via spool by 67755-submit@debbugs.gnu.org id=B67755.174240381022103 (code B ref 67755); Wed, 19 Mar 2025 17:04:02 +0000 Received: (at 67755) by debbugs.gnu.org; 19 Mar 2025 17:03:30 +0000 Received: from localhost ([127.0.0.1]:52892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuwpF-0005kL-6e for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:29 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:50554) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuwon-0005gx-JY for 67755@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:02 -0400 Received: by mail-wr1-x444.google.com with SMTP id ffacd0b85a97d-399744f74e9so763828f8f.1 for <67755@debbugs.gnu.org>; Wed, 19 Mar 2025 10:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742403775; x=1743008575; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=qbxyoH1kfQWyJOkCzgN+WdqJ560QOfnbOoWZvjSQdGM=; b=cZdm6ODh9+F3t3SMnLWcpptnNB3cPteD7J0Xn4DebDuns1cxczmege+faNntMNGHWE K2dgErEGSc+HFKdMfQIIQ8vJ37JtKRd4yE+d15QhVWF96LpJwllJMIZGO/X7mqBZbZt/ iaQ+r+6sVKGfyYOZG7a9bw5yuUaCnLkSxZFVphoLD62vppWZdHlWM67dAUmIcc1tYCS1 fuKMHc3WXE0mQf7cIlilCXnxyVIX8epECzP4NMUpgIJtxUmZ8DKVvH1gqjPAMcTxh+zf rCg7j+AMizW8ghpOLF/tLEXeXOK0jLOju3zP3gwh9Kdqt0q4Aq8VIQcjTV8nQzlr7VTJ gaNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742403775; x=1743008575; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qbxyoH1kfQWyJOkCzgN+WdqJ560QOfnbOoWZvjSQdGM=; b=u/5osCVLci2TWXzZS/DjEAR0ZfIf1rCq8HrR8LFjfRwCu85GoHNw0naCiaED/nCsC6 P0CrdXYSalrmEhhzwdAyqp1JW8ntscRzc9hO6JEAx1NS6yZp/i/KqirCmVLravAeqUHU pkd1ZUyMmYvfT4oyGta7QaT0pnZbGFtZdiZWGCrNg9mGIGMrgA/HirheiRr4tMeMSAMX 2I+U0yti0XhLDB4gYKOtFyvxgppQhp1AHKuqJb7F5X2NaKs3zown8tCO4y9kzhLUn74Z IsMunxPCqJ9v70+gt+Yhs79QV9MR3hNHxtC+E9UrP3IjqThYcRIqDZA/oRHWmMUhNfd0 kp0Q== X-Gm-Message-State: AOJu0YxKcKYSQoktUPWn3nFkBy8wIKW3TjbsQLRVSZaw8423nmX5V6We voLSyO2rB0H/3ksY7f35jSbHwf10RtkqSvhabwVyBNjGKx6bP+YeoZ7LJXiJDB0= X-Gm-Gg: ASbGncvelqhpXe9ZhYylofY718y/FnVDxTzRK7VYZ0TkuYAy7zn1Xr2Ayher5MddQul 38VgriXw6bHrTx8TBctwZt6+CvV0me6k50e5v/aHSnE2E7r+1A3ltQfBBZUincJw1heXB+/OKD7 jGmpN21/aR8v76UerXQZRJSiCYtWyb/uOYK8BbWHhiab/1Zccf1NKB49kU3Le7RP+wT6V/Fynmn 6LXf9UWyqHVg/M+ggO+C9KGsG41q+xHj4IaX5ueilrHfCEWcOdhyDFkZ2NA5wipfWwdp7lrU6E5 V2FsliagzZkY3dvdANc1eMtDYthmFBmlVRlwbW8u/bm6JRVb2qk9XVvt5ldGkNhk6S2xpb54vZd TGL5rUnxKL02p1TXXrAjlf8A4drlx0nA= X-Google-Smtp-Source: AGHT+IF+ZzqG4BqT/+NX4ADJHeuHvEB26ZOCbI57VOOALN8p4AQTs1/samvQzPZHGpwb2ED7GaX9sA== X-Received: by 2002:a05:6000:1acc:b0:391:4559:8761 with SMTP id ffacd0b85a97d-39973af6c20mr2954463f8f.36.1742403775055; Wed, 19 Mar 2025 10:02:55 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c7df3419sm21049661f8f.9.2025.03.19.10.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 10:02:54 -0700 (PDT) From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " X-Google-Original-From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Message-ID: In-Reply-To: References: Date: Wed, 19 Mar 2025 18:00:07 +0100 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (nativefiledialog-extended): New variable. Change-Id: I89ed4554db3ec8075bbb7d50bbfb4b99cae81a27 --- gnu/packages/cpp.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 4bf0e7f63fa..afc3c6a3947 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -3692,6 +3692,33 @@ (define-public mpark-variant based on the implementation of std::variant in libc++.") (license license:boost1.0))) +(define-public nativefiledialog-extended + (package + (name "nativefiledialog-extended") + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/btzy/nativefiledialog-extended") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15l0jy3v4p6rgg9dk8zr80lqp51s32ii62cm4s90400ragdgh10v")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) + (native-inputs (list pkg-config)) + (inputs (list gtk+)) + (home-page "https://github.com/btzy/nativefiledialog-extended") + (synopsis "Native file dialog library with C and C++ bindings") + (description + "This package provides a library that portably invokes native file open, +folder select and file save dialogs. It allows the specification of a default +file name and location, as well as filters with friendly names (such as +\"source files\" or \"image files\") where supported.") + (license license:zlib))) + (define-public tsl-hopscotch-map (package (name "tsl-hopscotch-map") From patchwork Wed Mar 19 17:00:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 40441 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 D098727BBEB; Wed, 19 Mar 2025 17:04:26 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 503A427BBE2 for ; Wed, 19 Mar 2025 17:04:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuwq3-0006kM-5X; Wed, 19 Mar 2025 13:04:19 -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 1tuwpo-0006DF-AO for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:05 -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 1tuwpn-0007wl-VJ for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=y93I+R0WV4UyxtK3VlgRiTcLQCK/AoRAIEfN/n16Wu0=; b=ObuCtlxRoGwX9B+ZLSMc+aV7F7ykRKnf5y3z8sFCJOR5Sr1Uz3d6NEt6ofUipEBYA8kJGqWUOgmi7iivcQUmv81buyb5zovyTPv27hpZu62FAf7bk6nXHCNHahBg4b7+EhyVrtnEwQ0ItH2K8JzR7Jq76d/e+uPQK/Hc18flUENmQifkni/cKtbwbDOKobM6Olj3wjtdbb/BAHu59B1ibU59eo/jHK70mjj21ZosqIcPUGWUQqcMljxRa+LsSUQb+E7EfRxTW0HE4Rn+sWTeytZgWgVQSrzLV4mhsUGOjtl+d74hLuppGSU5HODxXMaVpzppErg1yghVWQMPBQnzxQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuwpn-0005m5-OH for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67755] [PATCH v6 6/8] gnu: Add xdgpp. Resent-From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 17:04:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67755@debbugs.gnu.org Cc: Sergio Pastor =?utf-8?b?UMOpcmV6?= Received: via spool by 67755-submit@debbugs.gnu.org id=B67755.174240381122111 (code B ref 67755); Wed, 19 Mar 2025 17:04:03 +0000 Received: (at 67755) by debbugs.gnu.org; 19 Mar 2025 17:03:31 +0000 Received: from localhost ([127.0.0.1]:52894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuwpF-0005kS-UZ for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:30 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:52493) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuwoo-0005gy-9u for 67755@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:02 -0400 Received: by mail-wr1-x442.google.com with SMTP id ffacd0b85a97d-3913cf69784so6049286f8f.1 for <67755@debbugs.gnu.org>; Wed, 19 Mar 2025 10:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742403776; x=1743008576; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=y93I+R0WV4UyxtK3VlgRiTcLQCK/AoRAIEfN/n16Wu0=; b=M+sYMKbkhFTG42XddA9BfTUKuEx6CM6XRKRDHRTy8Z2qrKT7W2+bVKSf7uYQGP95oa wqgS9fjylVlMMwsvV8Eq8+Klgi2WmgdkIIllGB5mzsc4OYsAvvphvu2a5ZJsnevL0tgD wg54DHO1ULQcNgMX8ZlyW2KjN5GMNNFGeK72jkcb2I/4eIFrq131TbAJENo4HTjiQlbx dAb8cQc+1m06uhaVUoa0lfm6TKOOpk4C7XtkohANoR4bbP7BJ3u1k/HhYU7GESYoUnz3 YnSr6ppwTucpPVP4EPga4AyY+AYcTKDl7kKQJ0SzIbemAljxuwgEnaCGlYzXxjQrFWGQ fwgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742403776; x=1743008576; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y93I+R0WV4UyxtK3VlgRiTcLQCK/AoRAIEfN/n16Wu0=; b=O6YB3oG8tZP1fqV6lF5pnTux78q3Hs8K9kWRx3W9hrU7ApY+s7cOLxXmmQ2nP3Nzh8 52ZzZ9h34Kdo/jZ6h1Fsih+PGxUypTh3QKvQvcREmSHMePaA1tjrt8YAzNKhsLvEubd+ cdgtKGHOYjlaiupKwMSWCivMPXWAynaOcYS9jmNs8orABIflvo0XECyG41/Tw9P8IsNS rbTGSc6aXT9UhWjDQhYNdY6UoQlbH1ORrhlCdbkF2ZaJprNfm/rEjVwV4UiHRBCIuyTo jGLsQ9v9qlftOYCNBCr1n28BApPzd+Ekp0HTEEVfeP4RsokKhUJ4/6VbddpqjxcTtbjz 9ncg== X-Gm-Message-State: AOJu0YxXxx8HpHLkd2gC4Dq0Z6Y+SHEJ8ydScDDidiFLVvS7X5hRiAFr 3Y1lmspd/rzxyAkSy+Gn720VWjbD+UNK+r86SL7Ni13qTq8vEASmkoOx9bqujpU= X-Gm-Gg: ASbGnct8doA+wPcGW+Gg3uH6YkPTN1xKqipjjp0aybQVwdRnt4b2FFlUFTxmqR0tr5m 4h3Z8B6sCft5r1gmOiO4ppn7ZLbjYnQbTEufTTiqoB0xT6sSiZDsALoHyjJfaanmTBGoaQ8flJf dZ6P62g1rSnwz9CZQY0V6l8Ux3JTO1A7sGLBjXGBYzJcFHKBb2S4/SU3GJfizeXcpI8TlFNE0LZ ErfgXFx8j8MiFQ6+ddjomCDBOk3ADT8LvW/1yLRgxdeAL/ILTa/SQZrkblJ5wqWQtGme62+9gJD C0mx03iiaOlI/9QSxRcnMWpMuJxbU7R9fh4RXDwix2blhmV4GpYhCIDAPK/Qy5FbcweUrntZilL 7r42dCg6jeGSKt48LYKtB X-Google-Smtp-Source: AGHT+IG8mkNlhYGHGWf8BVRwtOMeP8eB9Tm9eJrZDAxgdnI2uv+J7N/bM39XR1PtaGJrYXOAxC+KAw== X-Received: by 2002:a05:6000:144e:b0:391:487f:27e7 with SMTP id ffacd0b85a97d-39973b32641mr3984271f8f.55.1742403775836; Wed, 19 Mar 2025 10:02:55 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c7df3419sm21049661f8f.9.2025.03.19.10.02.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 10:02:55 -0700 (PDT) From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " X-Google-Original-From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Message-ID: In-Reply-To: References: Date: Wed, 19 Mar 2025 18:00:07 +0100 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (xdgpp): New variable. Change-Id: Ia11c0926e5b7f6e60c5dd48e8973cfd6391b1469 --- gnu/packages/cpp.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index afc3c6a3947..9e5292411ef 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -749,6 +749,40 @@ (define-public debug-assert enabled in different parts of your code.") (license license:zlib))) +(define-public xdgpp + (let ((commit "f01f810714443d0f10c333d4d1d9c0383be41375") + (revision "0")) + (package + (name "xdgpp") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~danyspin97/xdgpp") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1w8da10whrhc7j82jf90814m3blabkl9s0kg8hv8h2fj5y3ji7hw")))) + (build-system gnu-build-system) + (native-inputs (list catch2)) + (arguments + (list + #:test-target "test" + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda _ + (install-file "xdg.hpp" + (string-append #$output "/include"))))))) + (home-page "https://git.sr.ht/~danyspin97/xdgpp") + (synopsis "C++17 implementation of the XDG Base Directory Specification") + (description + "This package provides a header-only library to retrieve the file names +of XDG base directories, such as XDG_CONFIG_HOME.") + (license license:expat)))) + (define-public xsimd (package (name "xsimd") From patchwork Wed Mar 19 17:00:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 40446 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 CFD3927BBE9; Wed, 19 Mar 2025 17:04:40 +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=-5.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 4A84F27BBE2 for ; Wed, 19 Mar 2025 17:04:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuwpu-0006Qk-U4; Wed, 19 Mar 2025 13:04: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 1tuwpp-0006ET-An for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:07 -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 1tuwpo-0007wx-Sp for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=L+Q1NDba/YWiYpnNZ9KBLgTk9U1gvIk8MuTXs168A98=; b=hRl8cwBQLk639oBFkI43/BHHKkBX2tJqcGA5f/KHBhbkYQ3Rh6QkiBpmmegasbfMgNOvqomKqDMS2yBq0y2q9yGSzxjMqdcXPwWNAiCYEeayecsrKPrT5XsUEHT2vjmECr6pFvok4TQqMaMFKf++ItYCW07T/Nrzcidjz0EhEXYoPIGm8Qwg2gU76tjVRFcyA7x/x/XVfyOFy6X4tIcinI1XFgVGBI+9zjeNgJPD8qPe4GKNtykzNaqWIXwzSjSMKUrl4Y6YKAB+ei0pcedtvmSWX+PpRSLaQqjqYCgu6c99Fnootp7A0w0UB0U7V72XE4k5saqgsyo3jVekvkeTJQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuwpo-0005mM-NN for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67755] [PATCH v6 7/8] gnu: Add imhex-pattern-language. Resent-From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 17:04:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67755@debbugs.gnu.org Cc: Sergio Pastor =?utf-8?b?UMOpcmV6?= Received: via spool by 67755-submit@debbugs.gnu.org id=B67755.174240381322126 (code B ref 67755); Wed, 19 Mar 2025 17:04:04 +0000 Received: (at 67755) by debbugs.gnu.org; 19 Mar 2025 17:03:33 +0000 Received: from localhost ([127.0.0.1]:52898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuwpH-0005kn-Vp for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:33 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:44417) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuwoq-0005h2-GD for 67755@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:09 -0400 Received: by mail-wr1-x442.google.com with SMTP id ffacd0b85a97d-39143200ddaso4560521f8f.1 for <67755@debbugs.gnu.org>; Wed, 19 Mar 2025 10:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742403778; x=1743008578; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=L+Q1NDba/YWiYpnNZ9KBLgTk9U1gvIk8MuTXs168A98=; b=Ky240sOxCnMMnvGItLSdchCffkobkbDiEcGEVzwT7Ia3ScmTFOs9OWWWkYJ5yOnMFy jo/6qrHbOU47NFhOYy+b2IdXvQT6WWmVAu3XZnKkuPOWfEdIdLn19tiHGVRqBUjNRnzm G0+Pc3wwWF+iRBiL17PoYqNGLIgRjZvSi5PktYfS1UTWGKC35uReQEY78EV0BYVrVy6I qZnrwAGmWGBTIQ22CDNLrJWQ2FinHBblXatVw/67G6Wi2ANVe673qYbctnDI2KAKWpdS /Gw5nRjMdonCFgqriJjQ7f5K25z2V+bG9CYH+UUcOybeX3iFXEm3vOs5n9uT2A9x47Bt K8pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742403778; x=1743008578; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L+Q1NDba/YWiYpnNZ9KBLgTk9U1gvIk8MuTXs168A98=; b=csVXihh0aiwpvlDdZABuZpx6swnZSMrCBC9lOZqapsT/AWLRm+0gHu+2CsDJ9TJMxT Q2eK9VSmlZNoqTj8ig0EjPGq7BJgSfXd7YpIswLcxLxlD3iL8HDijvR/LAOGmWre0TBR PeZGOkH4Fau+0rrkW1/uO+CFYIjout6mWcSB1bVyHL0TeFjd0t3BcmRdlO2oBKAK9snR 8RJZk4+dgKiznwN1z5zN2x9ATC5yLT9Cieb3FhFcGug/Vtoy3dPw6BV7IX7kCICLhQoU tzehGRoqAPe4xpupPwQqQfKNPjgW+XzgNeectKS94a00SZ9+aU7uVZD1cyXd9Qj8+FWM 4ZoQ== X-Gm-Message-State: AOJu0YzsdNvYasOG55uO0OHZK9OslbAMnD1QAe8aEGXG43FXnHLRg830 0OV4m0yhJEv+hmcOuKo4ZFFz2f/Gkph55fTGVn4jqIEkXnO0hqcNc+Gm3CQfoMo= X-Gm-Gg: ASbGncvSvPy8wTAa/YZwj48lOenxnLuUDr7+b+S4oFphz1ri2NZ5/LbnLTEOYmk6be3 vTG3EJ1XEq+8WX74JlzxG/qG28SlQfH0JX505QKQdM6PsFjtuGbXEXNCqaRgXKanhjsEFnbKCB7 PH4k/UnSLwtmM2MboFAqjYkmwuMRcCqa5h1KIqLEqXME4YIZ0oE5BHYB2rawBM0WUoJ1fPHyspV RSvsZAaSKrYqXbJGqYm5vMUx+4XNVS1CrGUyWUvDDJ+cAc5PNexITy2o79S5rGTZULLYLrPCcGW fXvZtSkdjfgpMQNScBEtdblWa/m4M3F9B9UmmLLqa/w6adftrc3QF9i7vQJoDO3Ki9iaxveg6N4 ec40fSo9FVfCs0Xb73DQ1 X-Google-Smtp-Source: AGHT+IFotv7fpTnWSgFU2JP/NoOhlgqFyWX2TdktP/ITHjQLI/ZW2+PWhUpsp6k89nySLGlyUqXXbg== X-Received: by 2002:a05:6000:1848:b0:391:39fb:59c8 with SMTP id ffacd0b85a97d-399739c8d2bmr3355649f8f.25.1742403776686; Wed, 19 Mar 2025 10:02:56 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c7df3419sm21049661f8f.9.2025.03.19.10.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 10:02:56 -0700 (PDT) From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " X-Google-Original-From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Message-ID: <3e69e80e8355c88c21debc4c63c3abc04633f042.1742403600.git.liliana.prikler@gmail.com> In-Reply-To: References: Date: Wed, 19 Mar 2025 18:00:08 +0100 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/hexedit.scm (imhex-pattern-language): New variable. Change-Id: I641bebed0bea9b2c8aca87f54d0fb457064a07d7 --- Changes from v5: * Use system fmt (fmt-11). * Use a keep list rather than a delete list. I think the header-only libraries should be provided as regular inputs, but haven't done that yet. gnu/packages/hexedit.scm | 71 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm index 15bf7db8773..ed30e882847 100644 --- a/gnu/packages/hexedit.scm +++ b/gnu/packages/hexedit.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2018, 2020, 2022 Tobias Geerinckx-Rice ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2024 Artyom V. Poptsov +;;; Copyright © 2025 Sergio Pastor Pérez ;;; ;;; This file is part of GNU Guix. ;;; @@ -22,17 +23,23 @@ (define-module (gnu packages hexedit) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix gexp) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages compression) #:use-module (gnu packages man) + #:use-module (gnu packages cpp) + #:use-module (gnu packages gcc) + #:use-module (gnu packages python) #:use-module (gnu packages ncurses) + #:use-module (gnu packages pretty-print) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix gexp) #:use-module (guix utils) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (guix build-system cmake)) (define-public hexedit (package @@ -137,6 +144,68 @@ (define-public ht (home-page "https://hte.sourceforge.net/") (license license:gpl2))) +;; NOTE: The install target of imhex-pattern-language falls short in a few areas +;; that make this package difficult to use outside of ImHex. Neither header +;; files nor package information (using e.g. pkg-config or CMake files) are +;; currently available. +(define-public imhex-pattern-language + (package + (name "imhex-pattern-language") + (version "1.37.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/WerWolv/PatternLanguage") + (commit (string-append "ImHex-v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "13mlbclg2r3axv6vz4dsyry5azc6xavcbdkvwan6zyaq9ngk7r3r")) + (modules '((guix build utils) (ice-9 ftw))) + (snippet #~(begin + ;; NOTE: the `throwing-ptr' hasn't been updated in 6 years + ;; and the testsuite expects to use an outdated version of + ;; Conan, since this library if not interesting to have it + ;; in Guix it will remain bundled. + ;; NOTE: `libwolf' does not have an install target. Until + ;; the maintainers create one, it will be bundled. + (with-directory-excursion "external" + (for-each + (lambda (dir) + (unless (member dir '("." ".." "libwolv" "throwing_ptr")) + (delete-file-recursively dir))) + (scandir "."))))))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags ''("-DLIBPL_SHARED_LIBRARY=ON" + "-DLIBPL_ENABLE_TESTS=ON" + "-DUSE_SYSTEM_NLOHMANN_JSON=ON" + "-DUSE_SYSTEM_CLI11=ON" + "-DUSE_SYSTEM_FMT=ON") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-rel-paths + (lambda _ + (substitute* "tests/include/test_patterns/test_pattern_format.hpp" + (("../tests/files/export/") + "../source/tests/files/export/")))) + (add-after 'build 'build-tests + (lambda _ + (invoke "make" "pattern_language_tests" "plcli"))) + (add-before 'check 'plcli-integration-tests + (lambda _ + (with-directory-excursion "../source" + (invoke "python3" "tests/integration/integration.py" + "../build/cli/plcli"))))))) + (native-inputs (list cli11 gcc-14 fmt-11 nlohmann-json python)) + (home-page "https://imhex.werwolv.net") + (synopsis "Pattern language used by the ImHex Hex Editor") + (description "This package provides a C-like domain-specific language used +for specifying patterns in the ImHex Hex Editor.") + (license license:lgpl2.1))) + (define-public bvi (package (name "bvi") From patchwork Wed Mar 19 17:00:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 40447 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 526EA27BBEA; Wed, 19 Mar 2025 17:04:56 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 8C62127BBE2 for ; Wed, 19 Mar 2025 17:04:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuwpy-0006Xw-Jb; Wed, 19 Mar 2025 13:04:15 -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 1tuwpo-0006E1-NX for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:05 -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 1tuwpo-0007wr-CO for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Vc4vQm9BpiN9AALj9yRjXmTIehVVrlYqj291RrSSvcI=; b=TIB2Zkg2O7SUvOa3AJCUgFdmA+DKlYWkiOVjbFDs91ayow8bcmm9iWVQf4Wj7t4FXl6JnucAihl12oOQpSgx3/mhF/NwaJ9hZojMva3y2C4/GhKA/sqRxSzZ72ZrhDFEo1ca6N2w17XreMCdzAzvsArCz8+0+nBLRXq7S5cOHhnyKJ3kG2rhSi3oRQZQw7D+LmyLkwLNBDAmelknydDD2pfgtqwl0w5+pDWp4NhY0MdP8irlGhjMod1OLxP3rtpeOgJuM+F2/ZsPZp/0DjmUrrVFVNp6mjuYr8KcJtS2uN0D1DwHGsRxAeg/beTHx4BwyrKxu3im+sjPt9bH5Sks6g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuwpo-0005mE-7Y for guix-patches@gnu.org; Wed, 19 Mar 2025 13:04:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67755] [PATCH v6 8/8] gnu: Add imhex. Resent-From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 17:04:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67755@debbugs.gnu.org Cc: Sergio Pastor =?utf-8?b?UMOpcmV6?= Received: via spool by 67755-submit@debbugs.gnu.org id=B67755.174240381122118 (code B ref 67755); Wed, 19 Mar 2025 17:04:04 +0000 Received: (at 67755) by debbugs.gnu.org; 19 Mar 2025 17:03:31 +0000 Received: from localhost ([127.0.0.1]:52896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuwpG-0005ka-V2 for submit@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:31 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:53287) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tuwoq-0005h1-5T for 67755@debbugs.gnu.org; Wed, 19 Mar 2025 13:03:05 -0400 Received: by mail-wm1-x342.google.com with SMTP id 5b1f17b1804b1-43cf06eabdaso47525925e9.2 for <67755@debbugs.gnu.org>; Wed, 19 Mar 2025 10:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742403778; x=1743008578; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=Vc4vQm9BpiN9AALj9yRjXmTIehVVrlYqj291RrSSvcI=; b=GVDJxYRLeJYjO8PKIIMeXzvubA8hlpvIc5Nn48UI96ry/Feu42+H2GSAa0wxK/Vq5S rIIyyBczXp+v5Q0wE8LttHrxSBNPcAi09pZeMqP2mkroL3sgz9izoev1vpMLkSW8qUJ3 PbcnwgRIW5KTqWzXaeDIQR1/TSTXGiCTyFfpqWnGau/0YsbFFBvn0PIeAStv48CNWIUA 2DKoQOK32cEFkj0GTYlUcVLuyR26HUKoihY4pikpDJDDUziT+XEGzY8bdq4KyJ/3NRJR hNm3l3ThivnVwh7Y4CmffmtDSXL2iEzcyQQN0GgRqs7NnuGG4/L1KM0/Itfm2QSFFwTR sIGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742403778; x=1743008578; h=mime-version:cc:to:subject:date:references:in-reply-to:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Vc4vQm9BpiN9AALj9yRjXmTIehVVrlYqj291RrSSvcI=; b=SvFDccv+JCPi3KmFJhhUoCoaKGVTiMOH+uwwtN7EH5GKpIy9A/bZIhaHyOPDC9R2MT AVhXMBLseTns3EazXS+rizmiAjpDfvrO/xRH9xE+vQjWEBwSH/ZvPclmxl1ii6Y4uABu qut5ZigomyG++cdMDAk5s3qFTHmM/BFZvYfeJ2JPf10tYrN+wSIYbbclVRpzfxkmpUwq q/5PMgemeuDrGWQd8lociU3z4bYdP1VYuaxigMzEoFfNA8WZPu+B1BVBh8sU4LpX6JkX TvgnNutZTKUDC8mITZ1+5QehzxrG1hPWsLtQxmymGAJYUex9WXdU5/gLCPW1qM+25ZJr ckFw== X-Gm-Message-State: AOJu0Yw8MS4MLS5Bj/New46AbeGmL/OtHbYEbPhqfCLTR/N9bj4JQ7R2 nUXVpMLPabOk1jnWrMrnd4FTjdBDj9WplJQtVXKK0zL8R2cnC9Y7x107Jz9EI9k= X-Gm-Gg: ASbGncsbNi9Pm8fRDSvklBc34EvQ4GZuMj3k2nXUSxWTsG1FJVgy98HFQHXiA2oVYBy MFHf1isxwh1CCxRbUIvWaSrVdgM4pxtw0bqOmhJV93lmZyF05mBpCMSmp9kUKfCPsQQXyLuiIgy xiJv95trheu6mKMEz92uvRJRcOY3fAN+DJcZyO6NvEZwOvhSBEDLr5Pj8E5XP/wdMmLAUZgBlxH 6T8fi/r1msBsP4duFuj0s2N2lIAJlG1Mmn5w7GBlad6UZBSDi2SoePG5kiLPz9r8fuXCSPDVcB+ +UngAaAa0kpFACI+MZvww6mANraDKFc3adoydnoO1SDGVOD6vi55PQqUaAynNJV0DVSvsQK6/tc R1w6bq+RmTH4Wng+EJKZmWe1Sclsz7+8= X-Google-Smtp-Source: AGHT+IGA3NjsbcE62GmYUOe5FmPbAAsF5ZwpCmJS6HKhHu70SOoVeV6l0iOybvechoeEr6NJ2gI4pw== X-Received: by 2002:a5d:6dac:0:b0:38d:d666:5457 with SMTP id ffacd0b85a97d-39973afad3cmr3387080f8f.42.1742403777484; Wed, 19 Mar 2025 10:02:57 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c7df3419sm21049661f8f.9.2025.03.19.10.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Mar 2025 10:02:57 -0700 (PDT) From: "Sergio Pastor =?utf-8?b?UMOpcmV6?= " X-Google-Original-From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Message-ID: In-Reply-To: References: Date: Wed, 19 Mar 2025 18:00:08 +0100 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/hexedit.scm (make-imhex-patterns, imhex): New variables. Change-Id: I114d3a6c0dae32ea434a77a6bd88b8ff6870b70c --- Changes from v5: * Outlined make-imhex-patterns. * Use keep lists rather than delete lists. * Unbundle jthread. I haven't sorted the inputs yet, but IMHO they should be sorted. Same goes for the #:use-module lines, which would require sorting in an extra commit. Would you like to explain this note? + ;; NOTE: there is an issue with the way the test library is linked + ;; with the output binaries. Tests are intrusive and should not be + ;; shipped with the release, when the issue is fixed we could add a + ;; phase which builds the package with the tests and runs the + ;; testsuite and a second build phase which prepares the output + ;; binary. IMHO it is the build system that should separate test-only code from installed code. gnu/packages/hexedit.scm | 177 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm index ed30e882847..0ab684ded1b 100644 --- a/gnu/packages/hexedit.scm +++ b/gnu/packages/hexedit.scm @@ -28,11 +28,24 @@ (define-module (gnu packages hexedit) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages compression) + #:use-module (gnu packages gl) #:use-module (gnu packages man) #:use-module (gnu packages cpp) #:use-module (gnu packages gcc) + #:use-module (gnu packages tls) + #:use-module (gnu packages curl) + #:use-module (gnu packages llvm) + #:use-module (gnu packages ruby) + #:use-module (gnu packages glib) + #:use-module (gnu packages boost) + #:use-module (gnu packages backup) #:use-module (gnu packages python) + #:use-module (gnu packages libffi) #:use-module (gnu packages ncurses) + #:use-module (gnu packages antivirus) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages engineering) #:use-module (gnu packages pretty-print) #:use-module (guix download) #:use-module (guix git-download) @@ -206,6 +219,170 @@ (define-public imhex-pattern-language for specifying patterns in the ImHex Hex Editor.") (license license:lgpl2.1))) +;; imhex-patterns can not currently be built by imhex-pattern-language alone, +;; see above for a rationale. Thus, we only return an origin. +(define (make-imhex-patterns version sha256-hash) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/WerWolv/ImHex-Patterns") + (commit (string-append "ImHex-v" version)))) + (file-name (git-file-name "imhex-patterns" version)) + (sha256 sha256-hash))) + +(define-public imhex + (let* ((version "1.37.4") + (imhex-patterns + (make-imhex-patterns + version + (base32 "0m9g93fzmj2rsgaq25y4mmfigjh1xxyh41zjs6lp5ydsl5hhrn6q")))) + (package + (name "imhex") + (version version) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/WerWolv/ImHex") + (commit (string-append "v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0l3fpizkz2ykdirbn9alddnnsg75w6kwpp92nvmird13l80z1sdr")) + (modules '((guix build utils) (ice-9 ftw) (ice-9 match))) + (snippet + #~(begin + ;; XXX: imhex-pattern-language is missing the necessary packaging + ;; structure to be linked independently. See the comment on its + ;; package. + (copy-recursively #$imhex-pattern-language + "lib/external/pattern_language") + ;; Drop `imhex-patterns' in the source tree. + (copy-recursively #$imhex-patterns "ImHex-Patterns") + + ;; NOTE: `libwolv' does not have an install target. Until the + ;; maintainers create one, it will remain bundled. + ;; NOTE: `libromfs' it's meant to be bundled and cannot be + ;; compiled independently. Until the maintainers support + ;; building it independently, it will remain bundled. + ;; NOTE: `hashlibplus' has been left as a submodule since it's a + ;; fork which only makes sense within ImHex. + ;; XXX: `imgui' is a fork with several experimental features. + ;; Unbundle once they're upstreamed. + (with-directory-excursion "lib/third_party" + (for-each + (lambda (dir) + (unless (member dir '("." ".." + "HashLibPlus" "libwolv" "libromfs" + "imgui" + ;; Needs source to include miniaudio.h + "miniaudio" + "microtar")) ; XXX: unbundle + (delete-file-recursively dir))) + (scandir ".")) + + ;; Force use of system miniaudio. + (delete-file "miniaudio/include/miniaudio.h") + + (for-each + (match-lambda + ((src . dst) (copy-recursively src dst))) + `((#$(package-source xdgpp) . "xdgpp")))) + + ;; Adjust CMake build scripts accordingly. + (substitute* "cmake/build_helpers.cmake" + (("add_subdirectory\\(\\$\\{THIRD_PARTY_.*\\}/jthread .*\\)") + "") + (("set\\(JTHREAD_LIBRARIES .*\\)") "")) + + ;; Update sources. + (substitute* (append (find-files "lib/libimhex" "\\.[ch](pp)?") + (find-files "main" "\\.[ch](pp)?") + (find-files "plugins" "\\.[ch](pp)?")) + (("#include ") "")) + (substitute* "plugins/ui/source/ui/menu_items.cpp" + (("\\.\\./\\.\\./\\.\\./\\.\\./lib/libimhex/include/") + "")))))) + (build-system cmake-build-system) + (arguments + (list + ;; NOTE: there is an issue with the way the test library is linked + ;; with the output binaries. Tests are intrusive and should not be + ;; shipped with the release, when the issue is fixed we could add a + ;; phase which builds the package with the tests and runs the + ;; testsuite and a second build phase which prepares the output + ;; binary. + #:configure-flags + ''("-DIMHEX_ENABLE_UNIT_TESTS=ON" + "-DIMHEX_OFFLINE_BUILD=ON" + ;; NOTE: required for the `validate-runpath' phase. + ;; If OFF, the pluggings won't be able to find `libimhex.so'. + "-DIMHEX_PLUGIN_ADD_INSTALL_PREFIX_TO_RPATH=ON" + + "-DUSE_SYSTEM_NLOHMANN_JSON=ON" + "-DUSE_SYSTEM_CAPSTONE=ON" + "-DUSE_SYSTEM_LUNASVG=ON" + "-DUSE_SYSTEM_CLI11=ON" + "-DUSE_SYSTEM_BOOST=ON" + "-DUSE_SYSTEM_EDLIB=ON" + "-DUSE_SYSTEM_YARA=ON" + "-DUSE_SYSTEM_LLVM=ON" + "-DUSE_SYSTEM_FMT=ON" + "-DUSE_SYSTEM_NFD=ON") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda _ + (substitute* "main/gui/source/window/linux_window.cpp" + (("dbus-send") + #$(file-append dbus "/bin/dbus-send"))) + (substitute* "cmake/build_helpers.cmake" + (("Boost REQUIRED") + "Boost COMPONENTS regex REQUIRED")))) + (add-before 'check 'build-tests + (lambda _ + (invoke "make" "unit_tests")))))) + (native-inputs + (list cli11 + nlohmann-json + pkg-config + python + python-wrapper + ruby + gcc-14)) + (inputs + (list yara + boost + capstone + curl + edlib + fmt + glfw + libarchive + libffi + llvm-17 + lunasvg + plutovg + mbedtls + mesa + miniaudio + nativefiledialog-extended + xz + fontconfig + lz4 + `(,zstd "lib") + zlib + freetype)) + (home-page "https://imhex.werwolv.net") + (synopsis "Hex Editor to display, decode and analyze binary data") + (description "ImHex is a hex editor with many advanced features that can +often only be found in paid applications. Such features are a completely +custom binary template and pattern language to decode and highlight structures +in the data, a graphical node-based data processor to pre-process values +before they're displayed, a disassembler, diffing support, bookmarks and much +much more.") + (license license:gpl2)))) + (define-public bvi (package (name "bvi")