unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40484] gnu: Add fox.
@ 2020-04-07 12:23 Raghav Gururajan
  2020-04-08 11:58 ` [bug#40484] bug#34276: " Brice Waegeneire
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Raghav Gururajan @ 2020-04-07 12:23 UTC (permalink / raw)
  To: 40484

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

Hello Guix!

Please find the attached patch to add 'fox' package to guix.

Regards,
RG.

[-- Attachment #2: fox.patch --]
[-- Type: application/octet-stream, Size: 2896 bytes --]

From 59739b228be98de65d0496b916446be838b3e8c0 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Tue, 7 Apr 2020 08:20:14 -0400
Subject: [PATCH 2/2] gnu: Add fox.

* gnu/packages/graphics.scm (fox): New variable.
---
 gnu/packages/graphics.scm | 56 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index db4dd33464..edd57fd449 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -87,6 +88,61 @@
   #:use-module (guix packages)
   #:use-module (guix utils))
 
+(define-public fox
+  (package
+    (name "fox")
+    (version "1.6.57")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://fox-toolkit.org/ftp/" name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "08w98m6wjadraw1pi13igzagly4b2nfa57kdqdnkjfhgkvg1bvv5"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda _
+             (substitute* "configure"
+               (("-I/usr/include/freetype2")
+                (string-append "-I"
+                               (string-append
+                                (assoc-ref %build-inputs "freetype")
+                                "/include/freetype2"))))
+             #t)))))
+    (inputs
+     `(("bzip2" ,lbzip2)
+       ("doxygen" ,doxygen)
+       ("freetype" ,freetype)
+       ("gl" ,mesa)
+       ("glu" ,glu)
+       ("jpeg" ,libjpeg)
+       ("png" ,libpng)
+       ("tiff" ,libtiff)
+       ("x11" ,libx11)
+       ("xcursor" ,libxcursor)
+       ("xext" ,libxext)
+       ("xfixes" ,libxfixes)
+       ("xft" ,libxft)
+       ("xinput" ,libxi)
+       ("xrandr" ,libxrandr)
+       ("xrender" ,libxrender)
+       ("xshm" ,libxshmfence)
+       ("zlib" ,zlib)))
+    (synopsis "Free Objects for X")
+    (description"FOX is a C++ based Toolkit for developing Graphical User
+Interfaces easily and effectively.   It offers a wide, and growing, collection
+of Controls, and provides state of the art facilities such as drag and drop,
+selection, as well as OpenGL widgets for 3D graphical manipulation.  FOX also
+implements icons, images, and user-convenience features such as status line
+help, and tooltips.  Tooltips may even be used for 3D objects!")
+    (home-page "http://www.fox-toolkit.org")
+    (license license:lgpl2.1+)))
+
 (define-public blender
   (package
     (name "blender")
-- 
2.26.0


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

* [bug#40484] bug#34276: gnu: Add fox.
  2020-04-07 12:23 [bug#40484] gnu: Add fox Raghav Gururajan
@ 2020-04-08 11:58 ` Brice Waegeneire
  2020-04-09  3:32 ` [bug#40484] gnu: Add fox. (v2) Raghav Gururajan
  2020-04-09 15:22 ` [bug#40484] gnu: Add fox. (v3) Raghav Gururajan
  2 siblings, 0 replies; 5+ messages in thread
From: Brice Waegeneire @ 2020-04-08 11:58 UTC (permalink / raw)
  To: 40484

Except `doxygen` that should be a `native-inputs`, as suggested by `guix 
lint`, it looks good to me.

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

* [bug#40484] gnu: Add fox. (v2)
  2020-04-07 12:23 [bug#40484] gnu: Add fox Raghav Gururajan
  2020-04-08 11:58 ` [bug#40484] bug#34276: " Brice Waegeneire
@ 2020-04-09  3:32 ` Raghav Gururajan
  2020-04-09 15:22 ` [bug#40484] gnu: Add fox. (v3) Raghav Gururajan
  2 siblings, 0 replies; 5+ messages in thread
From: Raghav Gururajan @ 2020-04-09  3:32 UTC (permalink / raw)
  To: 40484

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



[-- Attachment #2: 0005-gnu-Add-fox.patch --]
[-- Type: application/octet-stream, Size: 2918 bytes --]

From cdd7149c84c34b277bdd4b17e83762574f7bba7a Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Wed, 8 Apr 2020 23:31:11 -0400
Subject: [PATCH 5/5] gnu: Add fox.

* gnu/packages/graphics.scm (fox): New variable.
---
 gnu/packages/graphics.scm | 57 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index db4dd33464..54ccb24f2f 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -87,6 +88,62 @@
   #:use-module (guix packages)
   #:use-module (guix utils))
 
+(define-public fox
+  (package
+    (name "fox")
+    (version "1.6.57")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://fox-toolkit.org/ftp/" name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "08w98m6wjadraw1pi13igzagly4b2nfa57kdqdnkjfhgkvg1bvv5"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda _
+             (substitute* "configure"
+               (("-I/usr/include/freetype2")
+                (string-append "-I"
+                               (string-append
+                                (assoc-ref %build-inputs "freetype")
+                                "/include/freetype2"))))
+             #t)))))
+    (native-inputs
+     `(("doxygen" ,doxygen)))
+    (inputs
+     `(("bzip2" ,lbzip2)
+       ("freetype" ,freetype)
+       ("gl" ,mesa)
+       ("glu" ,glu)
+       ("jpeg" ,libjpeg)
+       ("png" ,libpng)
+       ("tiff" ,libtiff)
+       ("x11" ,libx11)
+       ("xcursor" ,libxcursor)
+       ("xext" ,libxext)
+       ("xfixes" ,libxfixes)
+       ("xft" ,libxft)
+       ("xinput" ,libxi)
+       ("xrandr" ,libxrandr)
+       ("xrender" ,libxrender)
+       ("xshm" ,libxshmfence)
+       ("zlib" ,zlib)))
+    (synopsis "Free Objects for X")
+    (description"FOX is a C++ based Toolkit for developing Graphical User
+Interfaces easily and effectively.   It offers a wide, and growing, collection
+of Controls, and provides state of the art facilities such as drag and drop,
+selection, as well as OpenGL widgets for 3D graphical manipulation.  FOX also
+implements icons, images, and user-convenience features such as status line
+help, and tooltips.  Tooltips may even be used for 3D objects!")
+    (home-page "http://www.fox-toolkit.org")
+    (license license:lgpl2.1+)))
+
 (define-public blender
   (package
     (name "blender")
-- 
2.26.0


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

* [bug#40484] gnu: Add fox. (v3)
  2020-04-07 12:23 [bug#40484] gnu: Add fox Raghav Gururajan
  2020-04-08 11:58 ` [bug#40484] bug#34276: " Brice Waegeneire
  2020-04-09  3:32 ` [bug#40484] gnu: Add fox. (v2) Raghav Gururajan
@ 2020-04-09 15:22 ` Raghav Gururajan
  2020-04-09 20:38   ` bug#40484: " Nicolas Goaziou
  2 siblings, 1 reply; 5+ messages in thread
From: Raghav Gururajan @ 2020-04-09 15:22 UTC (permalink / raw)
  To: 40484; +Cc: mail

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



[-- Attachment #2: 0002-gnu-Add-fox.patch --]
[-- Type: application/octet-stream, Size: 2948 bytes --]

From 81e641b950c30129ea92dfa34a63b32b2621c550 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Thu, 9 Apr 2020 11:18:45 -0400
Subject: [PATCH 2/3] gnu: Add fox.

* gnu/packages/graphics.scm (fox): New variable.
---
 gnu/packages/graphics.scm | 58 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index db4dd33464..61d4d7c62f 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -87,6 +88,63 @@
   #:use-module (guix packages)
   #:use-module (guix utils))
 
+(define-public fox
+  (package
+    (name "fox")
+    (version "1.6.57")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://fox-toolkit.org/ftp/fox-" version ".tar.gz"))
+       (sha256
+        (base32
+         "08w98m6wjadraw1pi13igzagly4b2nfa57kdqdnkjfhgkvg1bvv5"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda _
+             (substitute* "configure"
+               (("-I/usr/include/freetype2")
+                (string-append "-I"
+                               (string-append
+                                (assoc-ref %build-inputs "freetype")
+                                "/include/freetype2"))))
+             #t)))))
+    (native-inputs
+     `(("doxygen" ,doxygen)))
+    (inputs
+     `(("bzip2" ,lbzip2)
+       ("freetype" ,freetype)
+       ("gl" ,mesa)
+       ("glu" ,glu)
+       ("jpeg" ,libjpeg)
+       ("png" ,libpng)
+       ("tiff" ,libtiff)
+       ("x11" ,libx11)
+       ("xcursor" ,libxcursor)
+       ("xext" ,libxext)
+       ("xfixes" ,libxfixes)
+       ("xft" ,libxft)
+       ("xinput" ,libxi)
+       ("xrandr" ,libxrandr)
+       ("xrender" ,libxrender)
+       ("xshm" ,libxshmfence)
+       ("zlib" ,zlib)))
+    (synopsis "Widget Toolkit for building GUI")
+    (description"FOX (Free Objects for X) is a C++ based Toolkit for developing
+Graphical User Interfaces easily and effectively.   It offers a wide, and
+growing, collection of Controls, and provides state of the art facilities such
+as drag and drop, selection, as well as OpenGL widgets for 3D graphical
+manipulation.  FOX also implements icons, images, and user-convenience features
+such as status line help, and tooltips.  Tooltips may even be used for 3D
+objects!")
+    (home-page "http://www.fox-toolkit.org")
+    (license license:lgpl2.1+)))
+
 (define-public blender
   (package
     (name "blender")
-- 
2.26.0


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

* bug#40484: gnu: Add fox. (v3)
  2020-04-09 15:22 ` [bug#40484] gnu: Add fox. (v3) Raghav Gururajan
@ 2020-04-09 20:38   ` Nicolas Goaziou
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2020-04-09 20:38 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 40484-done

Hello,

"Raghav Gururajan" <raghavgururajan@disroot.org> writes:

> Subject: [PATCH 2/3] gnu: Add fox.

Applied. Thank you!

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2020-04-09 20:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 12:23 [bug#40484] gnu: Add fox Raghav Gururajan
2020-04-08 11:58 ` [bug#40484] bug#34276: " Brice Waegeneire
2020-04-09  3:32 ` [bug#40484] gnu: Add fox. (v2) Raghav Gururajan
2020-04-09 15:22 ` [bug#40484] gnu: Add fox. (v3) Raghav Gururajan
2020-04-09 20:38   ` bug#40484: " Nicolas Goaziou

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