GNU bug report logs - #58236
[PATCH] gnu: genie: Add genie.

Previous Next

Package: guix-patches;

Reported by: "J. Sims" <jtsims <at> protonmail.com>

Date: Sat, 1 Oct 2022 22:17:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#58236: closed ([PATCH] gnu: genie: Add genie.)
Date: Sun, 09 Oct 2022 20:22:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 09 Oct 2022 22:20:52 +0200
with message-id <87h70c4ul7.fsf_-_ <at> gnu.org>
and subject line Re: bug#58236: [PATCH] gnu: genie: Add genie.
has caused the debbugs.gnu.org bug report #58236,
regarding [PATCH] gnu: genie: Add genie.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
58236: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58236
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "J. Sims" <jtsims <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: genie: Add genie.
Date: Sat, 01 Oct 2022 22:15:44 +0000
Hello,

This is a patch to add the GENie project generator to Guix. It's a fork of Premake 4.4 that some other projects, notably the Scopes programming language, use.

I'm submitting it independently instead of as part of a patch series with Scopes because I've already packaged it then accidentally deleted that package twice before. Scopes has some rough edges around packaging in a Guix-friendly way and I don't suspect I will have its package ready very soon. All of this together means I'd like to avoid repeating my previous mistakes and go ahead and get it into Guix.

Thanks,
Juli

--------------------------BEGIN-PATCH------------------------------

* gnu/packages/build-tools.scm (genie): Add genie.
---
 gnu/packages/build-tools.scm | 44 ++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 84a62d0fd6..55bec5f817 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2020 Efraim Flashner <efraim <at> flashner.co.il>
 ;;; Copyright © 2021 qblade <qblade <at> protonmail.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2022 Juliana Sims <jtsims <at> protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -763,3 +764,46 @@ (define-public build
 @item Extensible language/compiler framework.
 @end itemize")
     (license license:gpl2+)))
+
+(define-public genie
+  (let ((commit "b139103697bbb62db895e4cc7bfe202bcff4ff25")
+        (ver "1167"))
+    (package
+      (name "genie")
+      (version ver)
+      (home-page "https://github.com/bkaradzic/genie")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "16plshzkyjjzpfcxnwjskrs7i4gg0qn92h2k0rbfl4a79fgmwvwv"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (delete 'configure)
+           (replace 'install
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let ((out (assoc-ref outputs "out")))
+                 (install-file "bin/linux/genie"
+                               (string-append out "/bin"))))))
+         #:parallel-build? #t
+         #:tests? #f)) ;; tests have not been updated since Premake fork
+      (synopsis "Project generator tool")
+      (description "GENie (pronounced as Jenny) is project generator tool. It
+automagically generates project from Lua script, making applying the same
+settings for multiple projects easy.
+
+Supported project generators:
+@itemize
+@item GNU Makefile
+@item JSON Compilation Database
+@item Ninja (experimental)
+@item Visual Studio 2010, 2012, 2013, 2015, 2017, 2019
+@item XCode
+@end itemize")
+      (license license:bsd-3))))

base-commit: 461b1e490935e720999e78dc29656ae3c9ea2ea3
-- 
2.37.3



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: "J. Sims" <jtsims <at> protonmail.com>
Cc: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>,
 "58236 <at> debbugs.gnu.org" <58236-done <at> debbugs.gnu.org>
Subject: Re: bug#58236: [PATCH] gnu: genie: Add genie.
Date: Sun, 09 Oct 2022 22:20:52 +0200
Hi,

"J. Sims" <jtsims <at> protonmail.com> skribis:

> From 7a1d86dbe8b07964661160d5b86e9cd92790cf1e Mon Sep 17 00:00:00 2001
> From: "J. Sims" <jtsims <at> protonmail.com>
> Date: Wed, 5 Oct 2022 19:37:11 -0500
> Subject: [PATCH] gnu: genie: Add genie.
>
> * gnu/packages/build-tools.scm (genie): Add genie.

Applied, thanks!

Ludo’.


This bug report was last modified 2 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.