GNU bug report logs - #28049
[PATCH] gnu: Add mygui.

Previous Next

Package: guix-patches;

Reported by: manolis837 <at> gmail.com

Date: Fri, 11 Aug 2017 17:00:02 UTC

Severity: normal

Tags: patch

Done: Manolis Ragkousis <manolis837 <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28049 in the body.
You can then email your comments to 28049 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#28049; Package guix-patches. (Fri, 11 Aug 2017 17:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to manolis837 <at> gmail.com:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 11 Aug 2017 17:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: manolis837 <at> gmail.com
To: guix-patches <at> gnu.org
Cc: Manolis Ragkousis <manolis837 <at> gmail.com>
Subject: [PATCH] gnu: Add mygui.
Date: Fri, 11 Aug 2017 19:58:52 +0300
From: Manolis Ragkousis <manolis837 <at> gmail.com>

* gnu/packages/game-development.scm (mygui): New variable.
---
 gnu/packages/game-development.scm | 44 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index c98c15e46..1cba882a2 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2016 Ricardo Wurmus <rekado <at> elephly.net>
 ;;; Copyright © 2016, 2017 Julian Graham <joolean <at> gmail.com>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837 <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -40,11 +41,14 @@
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnunet)
+  #:use-module (gnu packages graphics)
+  #:use-module (gnu packages graphviz)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages multiprecision)
@@ -934,3 +938,43 @@ Joysticks, etc) and feedback devices (e.g. force feedback).  Meant to be very
 robust and compatible with many systems and operating systems.")
     (home-page "https://github.com/wgois/OIS")
     (license license:zlib)))
+
+(define-public mygui
+  (package
+    (name "mygui")
+    (version "3.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://github.com/MyGUI/" name
+                       "/archive/MyGUI" version ".tar.gz"))
+     (sha256
+      (base32
+       "13x7cydmj7gjmsg702sqjbfi53z265iv6j7binv3r6a7ibndfa0a"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f                      ; No test target
+       #:configure-flags
+       (list "-DMYGUI_INSTALL_DOCS=TRUE"
+             (string-append "-DOGRE_INCLUDE_DIR="
+                            (assoc-ref %build-inputs "ogre")
+                            "/include/OGRE"))))
+    (native-inputs
+     `(("boost" ,boost)
+       ("doxygen" ,doxygen)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("font-dejavu" ,font-dejavu)
+       ("freetype" ,freetype)
+       ("graphviz" ,graphviz)
+       ("libx11" ,libx11)
+       ("ogre" ,ogre)
+       ("ois" ,ois)))
+    (synopsis "Fast, flexible and simple GUI")
+    (description
+     "MyGUI is a library for creating Graphical User Interfaces (GUIs) for games
+and 3D applications.  The main goals of mygui are: speed, flexibility and ease
+of use.")
+    (home-page "http://mygui.info/")
+    (license license:expat)))
-- 
2.13.4





Information forwarded to guix-patches <at> gnu.org:
bug#28049; Package guix-patches. (Sat, 12 Aug 2017 20:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 28049 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: manolis837 <at> gmail.com
Cc: 28049 <at> debbugs.gnu.org
Subject: Re: [bug#28049] [PATCH] gnu: Add mygui.
Date: Sat, 12 Aug 2017 23:54:29 +0300
manolis837 <at> gmail.com (2017-08-11 19:58 +0300) wrote:

[...]
> +(define-public mygui
> +  (package
> +    (name "mygui")
> +    (version "3.2.2")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri
> +        (string-append "https://github.com/MyGUI/" name
> +                       "/archive/MyGUI" version ".tar.gz"))
> +     (sha256
> +      (base32
> +       "13x7cydmj7gjmsg702sqjbfi53z265iv6j7binv3r6a7ibndfa0a"))))

Please shift these 3 lines to the right to place "(sha256" right under
"(uri".

In case you didn't know (and if you use Emacs) you can indent the whole
package definition by moving the point to its beginning (to
"(define-public...") and pressing "C-M-q" ("indent-pp-sexp" command).

As for the package itself, I don't have any comments (I mean it looks
good to me), thanks!

> +    (build-system cmake-build-system)
> +    (arguments
> +     '(#:tests? #f                      ; No test target
> +       #:configure-flags
> +       (list "-DMYGUI_INSTALL_DOCS=TRUE"
> +             (string-append "-DOGRE_INCLUDE_DIR="
> +                            (assoc-ref %build-inputs "ogre")
> +                            "/include/OGRE"))))
> +    (native-inputs
> +     `(("boost" ,boost)
> +       ("doxygen" ,doxygen)
> +       ("pkg-config" ,pkg-config)))
> +    (inputs
> +     `(("font-dejavu" ,font-dejavu)
> +       ("freetype" ,freetype)
> +       ("graphviz" ,graphviz)
> +       ("libx11" ,libx11)
> +       ("ogre" ,ogre)
> +       ("ois" ,ois)))
> +    (synopsis "Fast, flexible and simple GUI")
> +    (description
> +     "MyGUI is a library for creating Graphical User Interfaces (GUIs) for games
> +and 3D applications.  The main goals of mygui are: speed, flexibility and ease
> +of use.")
> +    (home-page "http://mygui.info/")
> +    (license license:expat)))

-- 
Alex




Added blocking bug(s) 27992 Request was from Ricardo Wurmus <rekado <at> elephly.net> to control <at> debbugs.gnu.org. (Wed, 16 Aug 2017 14:09:01 GMT) Full text and rfc822 format available.

Reply sent to Manolis Ragkousis <manolis837 <at> gmail.com>:
You have taken responsibility. (Thu, 17 Aug 2017 17:09:02 GMT) Full text and rfc822 format available.

Notification sent to manolis837 <at> gmail.com:
bug acknowledged by developer. (Thu, 17 Aug 2017 17:09:02 GMT) Full text and rfc822 format available.

Message #15 received at 28049-done <at> debbugs.gnu.org (full text, mbox):

From: Manolis Ragkousis <manolis837 <at> gmail.com>
To: Alex Kost <alezost <at> gmail.com>
Cc: 28049-done <at> debbugs.gnu.org
Subject: Re: [bug#28049] [PATCH] gnu: Add mygui.
Date: Thu, 17 Aug 2017 20:08:43 +0300
Hello Alex,

On 08/12/2017 11:54 PM, Alex Kost wrote:
> Please shift these 3 lines to the right to place "(sha256" right under
> "(uri".
> 
> In case you didn't know (and if you use Emacs) you can indent the whole
> package definition by moving the point to its beginning (to
> "(define-public...") and pressing "C-M-q" ("indent-pp-sexp" command).
> 
> As for the package itself, I don't have any comments (I mean it looks
> good to me), thanks!


I am wondering how I missed this :). I will be more careful next time.

Updated patch and pushed to master.

Thank you Alex,
Manolis




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 15 Sep 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 281 days ago.

Previous Next


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