unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35788] [PATCH] gnu: libjit: add at 0.1.4
@ 2019-05-18  8:06 atai
  2019-05-21 14:26 ` Ludovic Courtès
  2019-05-22  5:29 ` [bug#35788] [PATCH] gnu: assembly: Add libjit atai
  0 siblings, 2 replies; 5+ messages in thread
From: atai @ 2019-05-18  8:06 UTC (permalink / raw)
  To: 35788; +Cc: Andy Tai

From: Andy Tai <atai@atai.org>

---
 gnu/packages/libjit.scm | 72 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)
 create mode 100644 gnu/packages/libjit.scm

diff --git a/gnu/packages/libjit.scm b/gnu/packages/libjit.scm
new file mode 100644
index 0000000000..4f35ff7de2
--- /dev/null
+++ b/gnu/packages/libjit.scm
@@ -0,0 +1,72 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Li-cheng (Andy) Tai, atai@atai.org
+;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages libjit)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages admin)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages bash)
+  #:use-module (gnu packages bison)
+  #:use-module (gnu packages flex)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gettext)
+  #:use-module (gnu packages man)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages texinfo)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module (guix git-download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (ice-9 match)
+  #:use-module (srfi srfi-1))
+
+(define-public libjit
+  (let ((commit "554c9f5c750daa6e13a6a5cd416873c81c7b8226"))
+    (package
+    (name "libjit")
+    (version "0.1.4")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "http://git.savannah.gnu.org/cgit/libjit.git")
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "0p6wklslkkp3s4aisj3w5a53bagqn5fy4m6088ppd4fcfxgqkrcd"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("bison" ,bison)
+       ("flex" ,flex)
+       ("help2man" ,help2man)
+       ("gettext" ,gettext-minimal)
+       ("libtool" ,libtool)
+       ("makeinfo" ,texinfo)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://www.gnu.org/software/libjit/")
+    (synopsis "Generic Just-In-Time compiler library")
+    (description
+     "GNU libjit is a library that provides generic Just-In-Time compiler
+functionality independent of any particular bytecode, language, or
+runtime")
+    (license license:lgpl2.1+))))
-- 
2.20.1

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

* [bug#35788] [PATCH] gnu: libjit: add at 0.1.4
  2019-05-18  8:06 [bug#35788] [PATCH] gnu: libjit: add at 0.1.4 atai
@ 2019-05-21 14:26 ` Ludovic Courtès
  2019-05-21 14:34   ` Andy Tai
  2019-05-22  5:29 ` [bug#35788] [PATCH] gnu: assembly: Add libjit atai
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2019-05-21 14:26 UTC (permalink / raw)
  To: atai; +Cc: 35788

Hi Andy,

atai@atai.org skribis:

>  gnu/packages/libjit.scm | 72 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 72 insertions(+)
>  create mode 100644 gnu/packages/libjit.scm

Could you submit an updated patch that adds libjit to assembly.scm
instead?  Bonus point if you can provide a commit log that follows our
conventions.  :-)

Apart from these minor issues, the patch LGTM.

Thanks in advance!

Ludo’.

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

* [bug#35788] [PATCH] gnu: libjit: add at 0.1.4
  2019-05-21 14:26 ` Ludovic Courtès
@ 2019-05-21 14:34   ` Andy Tai
  0 siblings, 0 replies; 5+ messages in thread
From: Andy Tai @ 2019-05-21 14:34 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 35788

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

Will do, thanks!

On Tue, May 21, 2019 at 7:26 AM Ludovic Courtès <ludo@gnu.org> wrote:

> Hi Andy,
>
> atai@atai.org skribis:
>
> >  gnu/packages/libjit.scm | 72 +++++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 72 insertions(+)
> >  create mode 100644 gnu/packages/libjit.scm
>
> Could you submit an updated patch that adds libjit to assembly.scm
> instead?  Bonus point if you can provide a commit log that follows our
> conventions.  :-)
>
> Apart from these minor issues, the patch LGTM.
>
> Thanks in advance!
>
> Ludo’.
>


-- 
Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat:
andytai1010
Year 2019 民國108年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能

[-- Attachment #2: Type: text/html, Size: 1544 bytes --]

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

* [bug#35788] [PATCH] gnu: assembly: Add libjit
  2019-05-18  8:06 [bug#35788] [PATCH] gnu: libjit: add at 0.1.4 atai
  2019-05-21 14:26 ` Ludovic Courtès
@ 2019-05-22  5:29 ` atai
  2019-05-24 15:52   ` bug#35788: " Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: atai @ 2019-05-22  5:29 UTC (permalink / raw)
  To: 35788; +Cc: Andy Tai

From: Andy Tai <atai@atai.org>

* gnu/packages/assembly.scm (libjit): Add at 0.1.4
---
 gnu/packages/assembly.scm | 42 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm
index 05c1a3f3de..8d65eb9f0e 100644
--- a/gnu/packages/assembly.scm
+++ b/gnu/packages/assembly.scm
@@ -24,11 +24,20 @@
 (define-module (gnu packages assembly)
   #:use-module (guix build-system gnu)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (gnu packages)
+  #:use-module (gnu packages admin)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages flex)
+  #:use-module (gnu packages gettext)
+  #:use-module (gnu packages man)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages python)
   #:use-module (gnu packages xml)
@@ -202,3 +211,36 @@ assembler, a C compiler and a linker.  The assembler uses Intel syntax
     (home-page "https://github.com/jbruchon/dev86")
     (supported-systems '("i686-linux" "x86_64-linux"))
     (license license:gpl2+)))
+
+(define-public libjit
+  (let ((commit "554c9f5c750daa6e13a6a5cd416873c81c7b8226"))
+    (package
+    (name "libjit")
+    (version "0.1.4")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "http://git.savannah.gnu.org/cgit/libjit.git")
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "0p6wklslkkp3s4aisj3w5a53bagqn5fy4m6088ppd4fcfxgqkrcd"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("bison" ,bison)
+       ("flex" ,flex)
+       ("help2man" ,help2man)
+       ("gettext" ,gettext-minimal)
+       ("libtool" ,libtool)
+       ("makeinfo" ,texinfo)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://www.gnu.org/software/libjit/")
+    (synopsis "Generic Just-In-Time compiler library")
+    (description
+     "GNU libjit is a library that provides generic Just-In-Time compiler
+functionality independent of any particular bytecode, language, or
+runtime")
+    (license license:lgpl2.1+))))
-- 
2.20.1

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

* bug#35788: [PATCH] gnu: assembly: Add libjit
  2019-05-22  5:29 ` [bug#35788] [PATCH] gnu: assembly: Add libjit atai
@ 2019-05-24 15:52   ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-05-24 15:52 UTC (permalink / raw)
  To: atai; +Cc: 35788-done

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

Hi,

atai@atai.org skribis:

> From: Andy Tai <atai@atai.org>
>
> * gnu/packages/assembly.scm (libjit): Add at 0.1.4

Applied with the tiny changes below (synopsis suggested by ‘guix lint’,
URL fixed, and indentation adjusted).

Thanks!

Ludo’.


[-- Attachment #2: Type: text/x-patch, Size: 2562 bytes --]

diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm
index 8d65eb9f0e..8cf5bcdaf5 100644
--- a/gnu/packages/assembly.scm
+++ b/gnu/packages/assembly.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2019 Guy Fleury Iteriteka <hoonandon@gmail.com>
+;;; Copyright © 2019 Andy Tai <atai@atai.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -215,32 +216,32 @@ assembler, a C compiler and a linker.  The assembler uses Intel syntax
 (define-public libjit
   (let ((commit "554c9f5c750daa6e13a6a5cd416873c81c7b8226"))
     (package
-    (name "libjit")
-    (version "0.1.4")
+      (name "libjit")
+      (version "0.1.4")
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
-                      (url "http://git.savannah.gnu.org/cgit/libjit.git")
+                      (url "https://git.savannah.gnu.org/r/libjit.git")
                       (commit commit)))
                 (file-name (string-append name "-" version "-checkout"))
                 (sha256
                  (base32
                   "0p6wklslkkp3s4aisj3w5a53bagqn5fy4m6088ppd4fcfxgqkrcd"))))
-    (build-system gnu-build-system)
-    (native-inputs
-     `(("autoconf" ,autoconf)
-       ("automake" ,automake)
-       ("bison" ,bison)
-       ("flex" ,flex)
-       ("help2man" ,help2man)
-       ("gettext" ,gettext-minimal)
-       ("libtool" ,libtool)
-       ("makeinfo" ,texinfo)
-       ("pkg-config" ,pkg-config)))
-    (home-page "https://www.gnu.org/software/libjit/")
-    (synopsis "Generic Just-In-Time compiler library")
-    (description
-     "GNU libjit is a library that provides generic Just-In-Time compiler
+      (build-system gnu-build-system)
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("bison" ,bison)
+         ("flex" ,flex)
+         ("help2man" ,help2man)
+         ("gettext" ,gettext-minimal)
+         ("libtool" ,libtool)
+         ("makeinfo" ,texinfo)
+         ("pkg-config" ,pkg-config)))
+      (home-page "https://www.gnu.org/software/libjit/")
+      (synopsis "Just-In-Time compilation library")
+      (description
+       "GNU libjit is a library that provides generic Just-In-Time compiler
 functionality independent of any particular bytecode, language, or
 runtime")
-    (license license:lgpl2.1+))))
+      (license license:lgpl2.1+))))

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

end of thread, other threads:[~2019-05-24 15:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-18  8:06 [bug#35788] [PATCH] gnu: libjit: add at 0.1.4 atai
2019-05-21 14:26 ` Ludovic Courtès
2019-05-21 14:34   ` Andy Tai
2019-05-22  5:29 ` [bug#35788] [PATCH] gnu: assembly: Add libjit atai
2019-05-24 15:52   ` bug#35788: " Ludovic Courtès

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