--- Begin Message ---
Subject: |
[PATCH 1/2] gnu: Add premake4. |
Date: |
Fri, 14 Jul 2017 15:41:07 +0300 |
* gnu/packages/build-tools.scm (premake4): New variable.
---
gnu/packages/build-tools.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 66f46433f..995d77698 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -23,6 +23,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages)
+ #:use-module (gnu packages compression)
#:use-module (gnu packages python)
#:use-module (gnu packages ninja)
#:use-module (guix build-system gnu)
@@ -90,3 +91,36 @@ 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)))
+
+(define-public premake4
+ (package
+ (name "premake4")
+ (version "4.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"http://downloads.sourceforge.net/project/premake/Premake/"
+ version "/premake-" version "-src.zip"))
+ (sha256
+ (base32
+ "1017rd0wsjfyq2jvpjjhpszaa7kmig6q1nimw76qx3cjz2868lrn"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("unzip" ,unzip))) ; for unpacking the source
+ (arguments
+ `(#:make-flags '("CC=gcc")
+ #:tests? #f ; No test suite
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'enter-source
+ (lambda _ (chdir "build/gmake.unix") #t))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "../../bin/release/premake4"
+ (string-append (assoc-ref outputs "out") "/bin"))
+ #t)))))
+ (synopsis "A makefile generation tool")
+ (description "@code{premake4} is a command line utility which reads a
+scripted definition of a software project.")
+ (home-page "https://premake.github.io")
+ (license license:bsd-3)))
--
2.13.2
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#27691] Qemu test tome4 works for me |
Date: |
Fri, 28 Jul 2017 22:43:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hi Oleg,
Oleg Pykhalov <address@hidden> skribis:
> I made a qemu machine to test tome4. It works for me. Could you check
> for you?
>
> I build it with:
> ./pre-inst-env guix system vm $HOME/dotfiles/guix/system-tome4.scm
Indeed, it works here. I suspect it was due to my screen resolution or
something along these lines.
Anyway, committed!
> Also I increased RAM to 2048 in generated script manually. Can I do
> this automatically when I build a vm?
No but you can run:
/gnu/store/…-run-vm.sh -m 2048
Thank you!
Ludo’.
--- End Message ---