From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GHDIExiQmWQ67QAASxT56A (envelope-from ) for ; Mon, 26 Jun 2023 15:18:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yK6jEhiQmWSGjAAAG6o9tA (envelope-from ) for ; Mon, 26 Jun 2023 15:18:16 +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 005883E519 for ; Mon, 26 Jun 2023 15:18:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDm6X-0006e6-J8; Mon, 26 Jun 2023 09:18:05 -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 1qDm6U-0006dY-Jc for guix-patches@gnu.org; Mon, 26 Jun 2023 09:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDm6U-0005zK-5Z for guix-patches@gnu.org; Mon, 26 Jun 2023 09:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDm6U-0005Lt-10 for guix-patches@gnu.org; Mon, 26 Jun 2023 09:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57625] [PATCH v3 1/4] gnu: Add libgc-all-headers. References: <9d424667-868f-03f2-c521-8c10e106d6d3@disroot.org> In-Reply-To: <9d424667-868f-03f2-c521-8c10e106d6d3@disroot.org> Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Jun 2023 13:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57625 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 57625@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 57625-submit@debbugs.gnu.org id=B57625.168778544820522 (code B ref 57625); Mon, 26 Jun 2023 13:18:01 +0000 Received: (at 57625) by debbugs.gnu.org; 26 Jun 2023 13:17:28 +0000 Received: from localhost ([127.0.0.1]:44845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDm5v-0005Kw-KA for submit@debbugs.gnu.org; Mon, 26 Jun 2023 09:17:27 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDm5t-0005Kg-6y for 57625@debbugs.gnu.org; Mon, 26 Jun 2023 09:17:26 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5CE0E405F3; Mon, 26 Jun 2023 15:17:20 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 36Pk88TLNwyT; Mon, 26 Jun 2023 15:17:19 +0200 (CEST) Message-ID: <01d10129-3aad-cf8e-7616-2718b465f70f@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1687785439; bh=eQEJLkZIIKXXqK3bTg7pOATeNC05FEKQ+LCRP3dwdkc=; h=Date:To:Cc:From:Subject; b=KdGti8IWAsNzIDayHlFBR5eKTM8Q4pMuqpOgrC/5T7kfAQrr35mvFcqVkBfxuz/Nd 50/n0b4A+XQEBkw399Fjp5dYMUSrU3spJzvl3ZGKy6QDb179ZiqbCOwEXYLwvaTx/R npsN0SjjCjeChrtBWSz+J1DTQRM6LOw3IGpvHtgkkJ7GrNpZ9VQfE64tpDVD8VudLs Dqml8pMtKK6PcrR+n8ArNXLRDbRa9B0vu5mjMV0VhZLkuqw+8YzXVtDvxTu4GNKdkd VrpOsHOQ2z+65NjLbDE/cOrgGu5a/hAIAbyUOBnksZZtGKmvdtlUw3xGef5tW3rNHX 2SiiO3utqF9kA== Date: Mon, 26 Jun 2023 21:17:14 +0800 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches From: Adam Faiz 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687785496; a=rsa-sha256; cv=none; b=L5MxnXag4RNjKhIaTIm3nKvw7pzvmcV34eN0Mrn4GNaZtXJFCk2KAlYDrK3u1R3ZOR2EGz Sb/b8razb0x7LJo0MvHvKbS1DYWrMGbjiCei4cUpIHs7I2CuGdrf6y+PkJsHJT1+paIiZZ 0tm2X2289zwlsb1hTlLlKG0caJ7uAI1w32CwdqSpsg9bMQQcR1YUpjJdl/mrDBFTeCKGDC 6hIN2cV8HlMGnamv5lvbKz0eCNTPQuCOT3VKou852iUTPUwjHnMPuACip/85gvWDadKMRz 83p1HZt0DnUMabIn6B4AS5IRLBni0hJ+fRH7+XHG28z83NWKR5u8t5wpxFrI0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=KdGti8IW; 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=1687785496; 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=Nc/tShBjM4IiEDOuSvbwZuHOmNGizY1bLJkPDhbWUcE=; b=r/cphHDB+sS5qt8mR+szPGmPsz1RR8GYXU6CZoInP4ND4pLxsXZA8HDpMXfpyvmWsEQtNS OE6SsNFUwEPBrw+2naKPvB62B1R7WRpG23jCHIE4IwFUDi8RdYtog2vdSw6hoPEahJzz24 wAcPP4GdQ+A09FJ1VgxgXmxJN9+w2Qw2qvOKJq6XF2/4w70spuJNQGQf0Vl2IDTsfFFpVM ySZGBO4QbSIURkX+VLOvUYqgG6pktV3A/cXjv+G+P1royNU4zKndx+09A1qwLxjeuF3YBi +ZU++pp2WiFWumYOLNzrQAaNyfcjrNrHU4daLr0Qi5Hv5Ef1TmzMybD1bor3Ew== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=KdGti8IW; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.05 X-Spam-Score: -4.05 X-Migadu-Queue-Id: 005883E519 X-TUID: G4MJ05Jv8G/1 >From 94149f940fc7dd3c052cfa9765933303abb7a4ee Mon Sep 17 00:00:00 2001 Message-Id: <94149f940fc7dd3c052cfa9765933303abb7a4ee.1687784497.git.adam.faiz@disroot.org> From: AwesomeAdam54321 Date: Fri, 18 Nov 2022 07:39:38 +0800 Subject: [PATCH v3 1/4] gnu: Add libgc-all-headers. * gnu/packages/bdw-gc.scm (libgc-all-headers): New variable. --- gnu/packages/bdw-gc.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm index 5ff4649716..a1a046ad9d 100644 --- a/gnu/packages/bdw-gc.scm +++ b/gnu/packages/bdw-gc.scm @@ -27,7 +27,9 @@ (define-module (gnu packages bdw-gc) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix utils) + #:use-module (guix gexp) #:use-module (guix build-system gnu) + #:use-module (guix build-system copy) #:use-module (gnu packages pkg-config) #:use-module (gnu packages hurd)) @@ -107,6 +109,33 @@ (define-public libgc (license (x11-style (string-append home-page "license.txt"))))) +(define-public libgc-all-headers ; TODO(core-updates) merge into libgc + (package + (inherit libgc) + (name "libgc-all-headers") + (outputs '("out")) + (build-system copy-build-system) + (arguments + (list #:install-plan + #~'(("include/config.h.in" "include/private/config.h") + ("include/gc_tiny_fl.h" "include/private/gc_tiny_fl.h") + ("include/gc_mark.h" "include/private/gc_mark.h") + ("include/private/gcconfig.h" "include/private/gcconfig.h") + ("include/private/gc_hdrs.h" "include/private/gc_hdrs.h") + ("include/private/gc_atomic_ops.h" "include/private/gc_atomic_ops.h") + ("include/private/gc_locks.h" "include/private/gc_locks.h") + ("include/private/gc_priv.h" "include/private/gc_priv.h")) + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'fix-headers + (lambda _ + (with-directory-excursion "include/private" + (substitute* "gc_priv.h" + (("#include .*/gc_tiny_fl.h.") "#include ") + (("#include .*/gc_mark.h.") "#include ")))))))) + (synopsis "Headers of libgc") + (description "All headers of libgc."))) + ;; TODO: Add a static output in libgc in the next rebuild cycle. (define-public libgc/static-libs (package/inherit base-commit: f25529b08e356f89ca7cecc44295085531a8faba -- 2.40.1