From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ANgEI5TgJGcFgAEA62LTzQ:P1 (envelope-from ) for ; Fri, 01 Nov 2024 14:07:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id ANgEI5TgJGcFgAEA62LTzQ (envelope-from ) for ; Fri, 01 Nov 2024 15:07:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XuJE5SdH; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=free.fr (policy=none); 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=1730470036; a=rsa-sha256; cv=none; b=tcwvlaudQz5qDC+rVyC0/079aRscWEW/+ZFtbAHDJvlVfKu5a4H8H21/cOHRtQPo5BCliK XVIIr8UVLan9blgO/cV2FV8lK2Ihav5DOlU5P/CAQsQSBlXjj/NUMTOidwJPm/HVrLkhEk Rv9SlXw6ZyKg6NGPipIV3L2/GOYLi8M+TIgUKTsC/NFYkqGRtuHPrGztVn4XvrYD1yZUNb eRuxQBfLj3tUpn3Mok+U65K3zjCzEMqW/OtkafbwjMfjIg3AZXaMrEbBBZ7zUq40ipQsZE LhSwL1TrND6nc1Pw42DKpbS0R6nTql4nIHR1Q+e4cdJs79TvIX8BqqAYTB0bDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XuJE5SdH; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=free.fr (policy=none); 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=1730470036; h=from:from:sender:sender: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=II/9Lvb3rIrqW8fM1du9NVBktjiPzXHTlCdCM48vtUc=; b=A8/M2B+h3VPFEbaw7cKvoETwK9HiJKOBTzAylF6cCWrrx0pVXMDHLOGNH0g/QZReRbm5iJ gz46jbRqlgUN+Eh9dZuXii5NeQJwhK/Dd0mV3G3PWiQ64baI5UlZaicPIa7kNIQoJcr+ie EWD0it2rjHXCZ6if4hc4dyxkxfa2LGKVcy9eWfkBhiM8j2k58jc3x/hn82sTSW11MET0aP T4Dk2XAEw0rbWXN0UbIOG7xehjaKUAoqnFqYjmxn6HW0xRQwaf1jTMPK/c35wthVRe29Ea aqhajaasGskQCELszUyZMeeAJKCROsXujDm5ZRhMmw83iR4/KGN94e+fADTHDw== 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 383CB1D897 for ; Fri, 01 Nov 2024 15:07:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6sIr-00006X-Uu; Fri, 01 Nov 2024 10:07:06 -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 1t6sIq-00005S-CZ for guix-patches@gnu.org; Fri, 01 Nov 2024 10:07: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 1t6sIq-0005Tx-3o for guix-patches@gnu.org; Fri, 01 Nov 2024 10:07: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:From:To:In-Reply-To:References:Subject; bh=II/9Lvb3rIrqW8fM1du9NVBktjiPzXHTlCdCM48vtUc=; b=XuJE5SdHwyGfrt9W5B8YSoqrLTx3Om+kA1BewdYoO3jkxLpE7xh8uh9cXCxb/I6EbfXBwwdHMjp6whgUiFx6qQrZHNdwbQGQFXfWlsylgOH/12cai0RK6uRGQaydbBXTAfgdjjXBunLugqx9ELrT+n/ifToeyl+4S8otSQ9EPqD+68ozYMWz6JkT+W6dOv/io6HXehJFB+D8KHUqHc1CohEpo8gN55SEsSr+Trwc71hC3pqdkHh9kiINUnc6rTKrJ4+C9igWGGBnESUjjp5wxHpvckXd29Y/pucvbz/1jYi5Gf2NvyeCtB0+u0NipQDEXMsdG5BlmHfI6KTDUElsEQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6sIo-0002Jh-95; Fri, 01 Nov 2024 10:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73999] [PATCH v2] gnu: distcc: New package. References: <959a04437b696a740702cfc38afb34f4bcba2b69.1729807169.git.noelopez@free.fr> In-Reply-To: <959a04437b696a740702cfc38afb34f4bcba2b69.1729807169.git.noelopez@free.fr> Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: noelopez@free.fr, zhengjunjie@iscas.ac.cn, guix-patches@gnu.org Resent-Date: Fri, 01 Nov 2024 14:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73999 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73999@debbugs.gnu.org Cc: =?UTF-8?Q?No=C3=A9?= Lopez , =?UTF-8?Q?No=C3=A9?= Lopez , Z572 X-Debbugs-Original-Xcc: =?UTF-8?Q?No=C3=A9?= Lopez , Z572 Received: via spool by 73999-submit@debbugs.gnu.org id=B73999.17304699678887 (code B ref 73999); Fri, 01 Nov 2024 14:07:02 +0000 Received: (at 73999) by debbugs.gnu.org; 1 Nov 2024 14:06:07 +0000 Received: from localhost ([127.0.0.1]:49722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6sHu-0002JH-Rx for submit@debbugs.gnu.org; Fri, 01 Nov 2024 10:06:07 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:60672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6sHq-0002Iw-Sj for 73999@debbugs.gnu.org; Fri, 01 Nov 2024 10:06:05 -0400 Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:990:a960:b4f3:8f44:ec4:5af5]) by smtp1-g21.free.fr (Postfix) with ESMTP id 861EAB00563; Fri, 1 Nov 2024 15:05:28 +0100 (CET) From: =?UTF-8?Q?No=C3=A9?= Lopez Date: Fri, 1 Nov 2024 15:06:29 +0100 Message-ID: <09f7f532a47b5a2b4e4f204931b0d9fac8fbabb2.1730469659.git.noelopez@free.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+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: -0.28 X-Spam-Score: -0.28 X-Migadu-Queue-Id: 383CB1D897 X-Migadu-Scanner: mx12.migadu.com X-TUID: vkOU+05g7SVa * gnu/packages/distributed.scm (distcc): New package. Change-Id: Ibf486fbb5661e31769d8f987fc787ddfb514e57c --- gnu/packages/distributed.scm | 47 ++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/gnu/packages/distributed.scm b/gnu/packages/distributed.scm index b07acfd863..7243ef4a4b 100644 --- a/gnu/packages/distributed.scm +++ b/gnu/packages/distributed.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2023 Eric Bavier ;;; Copyright © 2024 Vitalii Koshura +;;; Copyright © 2024 Noé Lopez ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,12 +25,12 @@ (define-module (gnu packages distributed) #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix utils) - #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages autotools) + #:use-module (gnu packages autogen) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages databases) @@ -42,7 +43,13 @@ (define-module (gnu packages distributed) #:use-module (gnu packages perl) #:use-module (gnu packages sqlite) #:use-module (gnu packages python) - #:use-module (gnu packages python-xyz)) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages avahi) + #:use-module (gnu packages kerberos) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages gcc) + #:use-module (gnu packages gtk) + #:use-module (gnu packages popt)) (define-public boinc-client (package @@ -97,3 +104,39 @@ (define-public boinc-server #:parallel-build? #f)) (inputs (list curl `(,mariadb "dev") openssl zlib)) (propagated-inputs (list perl python-wrapper)))) + +(define-public distcc + (package + (name "distcc") + (version "3.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/distcc/distcc.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nn0wzrmm88268vay855hr8bw9im5f8kzjp7k20qav9yrckhfwab")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ; TODO: Tests use a hardcoded PATH called RESTRICTED_PATH + #:configure-flags #~(list "--enable-rfc2553" + "--with-gtk" + "--with-auth"))) + (native-inputs + (list pkg-config autoconf automake which)) + (inputs + (list avahi + gtk+ + libiberty + mit-krb5 ; for gss + popt + python-minimal)) + (home-page "https://www.distcc.org/") + (synopsis "Distributed builds for C, C++ and Objective C") + (description "distcc is a program to distribute compilation of C or C++ code across +several machines on a network. distcc should always generate the same +results as a local compile, is simple to install and use, and is often +two or more times faster than a local compile.") + (license license:gpl2+))) base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b -- 2.46.0