* [bug#73999] [PATCH] gnu: distcc: New package.
@ 2024-10-24 21:59 Noé Lopez
2024-11-01 9:12 ` Z572
2024-11-01 14:06 ` [bug#73999] [PATCH v2] " Noé Lopez
0 siblings, 2 replies; 4+ messages in thread
From: Noé Lopez @ 2024-10-24 21:59 UTC (permalink / raw)
To: 73999; +Cc: Noé Lopez
* 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"))
+ (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+)))
base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b
--
2.46.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#73999] [PATCH] gnu: distcc: New package.
2024-10-24 21:59 [bug#73999] [PATCH] gnu: distcc: New package Noé Lopez
@ 2024-11-01 9:12 ` Z572
2024-11-01 14:08 ` Noé Lopez via Guix-patches via
2024-11-01 14:06 ` [bug#73999] [PATCH v2] " Noé Lopez
1 sibling, 1 reply; 4+ messages in thread
From: Z572 @ 2024-11-01 9:12 UTC (permalink / raw)
To: Noé Lopez; +Cc: 73999
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#73999] [PATCH v2] gnu: distcc: New package.
2024-10-24 21:59 [bug#73999] [PATCH] gnu: distcc: New package Noé Lopez
2024-11-01 9:12 ` Z572
@ 2024-11-01 14:06 ` Noé Lopez
1 sibling, 0 replies; 4+ messages in thread
From: Noé Lopez @ 2024-11-01 14:06 UTC (permalink / raw)
To: 73999; +Cc: Noé Lopez, Noé Lopez, Z572
* 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 <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.
;;;
@@ -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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#73999] [PATCH] gnu: distcc: New package.
2024-11-01 9:12 ` Z572
@ 2024-11-01 14:08 ` Noé Lopez via Guix-patches via
0 siblings, 0 replies; 4+ messages in thread
From: Noé Lopez via Guix-patches via @ 2024-11-01 14:08 UTC (permalink / raw)
To: 73999; +Cc: Z572
Thanks for the review, I’ve sent an updated patch.
Have a good day,
Noé
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-01 16:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-24 21:59 [bug#73999] [PATCH] gnu: distcc: New package Noé Lopez
2024-11-01 9:12 ` Z572
2024-11-01 14:08 ` Noé Lopez via Guix-patches via
2024-11-01 14:06 ` [bug#73999] [PATCH v2] " Noé Lopez
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).