unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26568: [PATCH] gnu : Add meson.
@ 2017-04-19 20:47 Corentin Bocquillon
  2017-04-20 12:16 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Corentin Bocquillon @ 2017-04-19 20:47 UTC (permalink / raw)
  To: 26568

[-- Attachment #1: 0001-gnu-packages-build-tools.scm-meson-Add-meson-package.patch --]
[-- Type: text/plain, Size: 2471 bytes --]

From f2429bf6badea06689c11b44d2b2281df57140d9 Mon Sep 17 00:00:00 2001
From: Corentin Bocquillon <corentin@nybble.fr>
Date: Wed, 19 Apr 2017 22:30:07 +0200
Subject: [PATCH] =?UTF-8?q?*=20gnu/packages/build-tools.scm=20(meson)?=
 =?UTF-8?q?=C2=A0:=20Add=20meson=20package.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 gnu/packages/build-tools.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 8901a4657..e26c31511 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017 Corentin Bocquillon <corentin@nybble.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23,7 +24,9 @@
   #:use-module (guix download)
   #:use-module (gnu packages)
   #:use-module (gnu packages python)
-  #:use-module (guix build-system gnu))
+  #:use-module (gnu packages ninja)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python))
 
 (define-public bam
   (package
@@ -62,3 +65,27 @@ describe the build process.  It takes its inspiration for the script files
 from scons.  While scons focuses on being 100% correct when building, bam
 makes a few sacrifices to acquire fast full and incremental build times.")
     (license license:bsd-3)))
+
+(define-public meson
+  (package
+    (name "meson")
+    (version "0.39.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/mesonbuild/meson/"
+                                  "archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+		"1jwgd6sl7zl7h16id3405gwk6vlkk86ggwrp0k47njwkxmryq8d4"))))
+    (build-system python-build-system)
+    (inputs `(("ninja", ninja)))
+    (home-page "https://mesonbuild.com/")
+    (synopsis "Meson build system")
+    (description
+     "The meson build system is focused on user-friendliness and speed.
+According to the developpers of meson, every seconds spent waiting for
+the build system, writing or debugging build definitions is a second wasted
+so meson is designed to be very fast and simple.
+It supports C, C++, Fortran, Java and Rust.")
+    (license asl2.0)))
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#26568: [PATCH] gnu : Add meson.
  2017-04-19 20:47 bug#26568: [PATCH] gnu : Add meson Corentin Bocquillon
@ 2017-04-20 12:16 ` Ludovic Courtès
  2017-04-21 12:00   ` Corentin Bocquillon
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-04-20 12:16 UTC (permalink / raw)
  To: 26568-done

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

Hi Corentin,

I applied your patch with the minor changes below and with a commit log
closer to our conventions (see
<https://www.gnu.org/software/guix/manual/html_node/Submitting-Patches.html>.)

Thank you!

Ludo’.

PS: I cannot push it right now because git.sv.gnu.org is currently
    unavailable.
PPS: The email address that you used, <corentin@nibupac>, is invalid; I
     hope you’ll get this message somehow.  :-)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1265 bytes --]

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index e26c31511..0f6a10bbc 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -81,11 +81,12 @@ makes a few sacrifices to acquire fast full and incremental build times.")
     (build-system python-build-system)
     (inputs `(("ninja", ninja)))
     (home-page "https://mesonbuild.com/")
-    (synopsis "Meson build system")
+    (synopsis "Build system designed to be fast and user-friendly")
     (description
-     "The meson build system is focused on user-friendliness and speed.
-According to the developpers of meson, every seconds spent waiting for
-the build system, writing or debugging build definitions is a second wasted
-so meson is designed to be very fast and simple.
-It supports C, C++, Fortran, Java and Rust.")
-    (license asl2.0)))
+     "The Meson build system is focused on user-friendliness and speed.
+It can compile code written in C, C++, Fortran, Java, Rust, and other
+languages.  Meson provides features comparable to those of the
+Autoconf/Automake/make combo.  Build specifications, also known as @dfn{Meson
+files}, are written in a custom domain-specific language (DSL) that resembles
+Python.")
+    (license license:asl2.0)))

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#26568: [PATCH] gnu : Add meson.
  2017-04-20 12:16 ` Ludovic Courtès
@ 2017-04-21 12:00   ` Corentin Bocquillon
  0 siblings, 0 replies; 3+ messages in thread
From: Corentin Bocquillon @ 2017-04-21 12:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26568

Hello Ludovic, thank you for pushing it.
And sorry for the email address, I forgot to set it.

Le jeudi 20 avril 2017 à 14:16:01+0200, Ludovic Courtès a écrit :
> Hi Corentin,
> 
> I applied your patch with the minor changes below and with a commit log
> closer to our conventions (see
> <https://www.gnu.org/software/guix/manual/html_node/Submitting-Patches.html>.)
> 
> Thank you!
> 
> Ludo’.
> 
> PS: I cannot push it right now because git.sv.gnu.org is currently
>     unavailable.
> PPS: The email address that you used, <corentin@nibupac>, is invalid; I
>      hope you’ll get this message somehow.  :-)
> 

> diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
> index e26c31511..0f6a10bbc 100644
> --- a/gnu/packages/build-tools.scm
> +++ b/gnu/packages/build-tools.scm
> @@ -81,11 +81,12 @@ makes a few sacrifices to acquire fast full and incremental build times.")
>      (build-system python-build-system)
>      (inputs `(("ninja", ninja)))
>      (home-page "https://mesonbuild.com/")
> -    (synopsis "Meson build system")
> +    (synopsis "Build system designed to be fast and user-friendly")
>      (description
> -     "The meson build system is focused on user-friendliness and speed.
> -According to the developpers of meson, every seconds spent waiting for
> -the build system, writing or debugging build definitions is a second wasted
> -so meson is designed to be very fast and simple.
> -It supports C, C++, Fortran, Java and Rust.")
> -    (license asl2.0)))
> +     "The Meson build system is focused on user-friendliness and speed.
> +It can compile code written in C, C++, Fortran, Java, Rust, and other
> +languages.  Meson provides features comparable to those of the
> +Autoconf/Automake/make combo.  Build specifications, also known as @dfn{Meson
> +files}, are written in a custom domain-specific language (DSL) that resembles
> +Python.")
> +    (license license:asl2.0)))

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-21 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-19 20:47 bug#26568: [PATCH] gnu : Add meson Corentin Bocquillon
2017-04-20 12:16 ` Ludovic Courtès
2017-04-21 12:00   ` Corentin Bocquillon

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).