From patchwork Thu Oct 24 21:59:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?No=C3=A9_Lopez?= X-Patchwork-Id: 69429 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 50C2227BBEA; Thu, 24 Oct 2024 23:02:05 +0100 (BST) 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_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 6D08B27BBE9 for ; Thu, 24 Oct 2024 23:02:04 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t45tf-00054i-Ij; Thu, 24 Oct 2024 18:01:35 -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 1t45td-00054I-8Q for guix-patches@gnu.org; Thu, 24 Oct 2024 18:01:33 -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 1t45ta-0000Sa-WA for guix-patches@gnu.org; Thu, 24 Oct 2024 18:01:32 -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:Subject; bh=r/xDbPG70qVxMZK71ZJ+e5IDwetRlsyCmPeg66/dO70=; b=EaLKjaskHDVBK2G5l00UuBvNmoZFHmJRElQXWf7E4Ul4kZUcPMQThvzXWxEkTUmGEIMgTAsa6/4harw701p+IM/dL3qRnf4uEviro5oJo37qVoXQF3Xjkyw+0cOqLcbjd+8E7cG0lDIJt2PMBMMOT6Z81GCAnnpPclL6rEfWggeWVTsIlD0YTZIzbqmqJsYuY1qMQGGqxqvhysbCwphE75K3oCfuh7xQjSnzwhHQRCyV3ZZSc5f2Gs/AYzqQMwowjSm/OwW+WgiR9ZQWNDGEYDfWHV7a/FrL8Cbp7N/vn5FSC4+ILOvNEJbS1mw0i53xVGyRrh6qSn6z561CqOBV6g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t45u5-00039B-OG for guix-patches@gnu.org; Thu, 24 Oct 2024 18:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73999] [PATCH] gnu: distcc: New package. Resent-From: =?utf-8?q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Oct 2024 22:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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 X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172980726712011 (code B ref -1); Thu, 24 Oct 2024 22:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Oct 2024 22:01:07 +0000 Received: from localhost ([127.0.0.1]:36438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t45tD-00037f-4W for submit@debbugs.gnu.org; Thu, 24 Oct 2024 18:01:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:59484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t45tA-00037U-Fm for submit@debbugs.gnu.org; Thu, 24 Oct 2024 18:01: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 1t45se-00051M-CS for guix-patches@gnu.org; Thu, 24 Oct 2024 18:00:32 -0400 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t45sc-0000P0-7o for guix-patches@gnu.org; Thu, 24 Oct 2024 18:00:32 -0400 Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:990:a960:b4f3:8f44:ec4:5af5]) by smtp1-g21.free.fr (Postfix) with ESMTP id 8D24FB0057C; Fri, 25 Oct 2024 00:00:23 +0200 (CEST) From: =?utf-8?q?No=C3=A9?= Lopez Date: Thu, 24 Oct 2024 23:59:29 +0200 Message-ID: <959a04437b696a740702cfc38afb34f4bcba2b69.1729807169.git.noelopez@free.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a01:e0c:1:1599::10; envelope-from=noelopez@free.fr; helo=smtp1-g21.free.fr X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=no autolearn_force=no X-Spam_action: no action 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/distributed.scm (distcc): New package. Change-Id: Ibf486fbb5661e31769d8f987fc787ddfb514e57c --- Hi, This patch adds the « distcc » package. I’ve enabled the optional configure flags to build the gui and enable all the features. Good evening, Noé gnu/packages/distributed.scm | 44 +++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b diff --git a/gnu/packages/distributed.scm b/gnu/packages/distributed.scm index b07acfd863..cdbc785027 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. ;;; @@ -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,38 @@ (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 url-fetch) + (uri (string-append "https://github.com/distcc/distcc/releases/download/v" + version "/distcc-" version ".tar.gz")) + (sha256 + (base32 + "0zdx6z6yal6952ks9njhavz26x6ywsn2x81k74lbz7ddkpdfv69b")) + (modules '((guix build utils))))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ; Tests use a hardcoded PATH called RESTRICTED_PATH + #:configure-flags #~(list "--enable-rfc2553" + "--with-gtk" + "--with-auth"))) + (native-inputs + (list pkg-config)) + (inputs + (list avahi + gtk+ + libiberty + mit-krb5 ; for gss + popt + python-3)) + (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+)))