From: Z572 <zhengjunjie@iscas.ac.cn>
To: "Noé Lopez" <noelopez@free.fr>
Cc: 73999@debbugs.gnu.org
Subject: [bug#73999] [PATCH] gnu: distcc: New package.
Date: Fri, 01 Nov 2024 17:12:32 +0800 [thread overview]
Message-ID: <875xp7l3lr.fsf@iscas.ac.cn> (raw)
In-Reply-To: <959a04437b696a740702cfc38afb34f4bcba2b69.1729807169.git.noelopez@free.fr> ("Noé Lopez"'s message of "Thu, 24 Oct 2024 23:59:29 +0200")
[-- Attachment #1: Type: text/plain, Size: 3460 bytes --]
Noé Lopez <noelopez@free.fr> writes:
> * 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(-)
>
> 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 <efraim@flashner.co.il>
> ;;; Copyright © 2023 Eric Bavier <bavier@posteo.net>
> ;;; Copyright © 2024 Vitalii Koshura <lestat.de.lionkur@gmail.com>
> +;;; Copyright © 2024 Noé Lopez <noelopez@free.fr>
> ;;;
> ;;; 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"))
please use git-fetch. it's Better choice.
> + (sha256
> + (base32
> + "0zdx6z6yal6952ks9njhavz26x6ywsn2x81k74lbz7ddkpdfv69b"))
> + (modules '((guix build utils)))))
if no snippet, no need add modules.
> + (build-system gnu-build-system)
> + (arguments
> + (list #:tests? #f ; Tests use a hardcoded PATH called RESTRICTED_PATH
please add a TODO: or XXX:
> + #: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))
if we can, please use 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2024-11-01 9:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-24 21:59 [bug#73999] [PATCH] gnu: distcc: New package Noé Lopez
2024-11-01 9:12 ` Z572 [this message]
2024-11-01 14:08 ` Noé Lopez via Guix-patches via
2024-11-01 14:06 ` [bug#73999] [PATCH v2] " Noé Lopez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875xp7l3lr.fsf@iscas.ac.cn \
--to=zhengjunjie@iscas.ac.cn \
--cc=73999@debbugs.gnu.org \
--cc=noelopez@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).