unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38119] [PATCH] gnu: Add redkite.
@ 2019-11-08  9:58 Alexandros Theodotou
  2019-11-10 22:23 ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandros Theodotou @ 2019-11-08  9:58 UTC (permalink / raw)
  To: 38119

Adding this to audio because it's a GUI toolkit for audio plugins.

 From 2991c39c555873b8bed3db3139ce6d35bb156a8e Mon Sep 17 00:00:00 2001
 From: Alexandros Theodotou <alex@zrythm.org>
Date: Fri, 8 Nov 2019 09:47:25 +0000
Subject: [PATCH] gnu: Add redkite.

* gnu/packages/audio.scm: (redkite): New variable.
---
  gnu/packages/audio.scm | 28 ++++++++++++++++++++++++++++
  1 file changed, 28 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 28dbf06f3b..e13833bf23 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -23,6 +23,7 @@
  ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
  ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
  ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@ -3773,3 +3774,30 @@ other Gnaural instances, allowing synchronous 
sessions between many users.")
  a sound card, encodes it into Ogg Vorbis and/or mp3, and sends the 
audio
  stream to one or more IceCast and/or ShoutCast servers.")
      (license license:gpl3+)))
+
+(define-public redkite
+  (package
+    (name "redkite")
+    (version "0.6.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri
+          (string-append "https://gitlab.com/iurie/redkite/-/archive/v"
+                         version "/redkite-v" version ".tar.gz"))
+        (sha256
+          (base32
+            "0qif1x3s96zi81zkg11zkszf2i5mvfyrg9b3z2lr0jpzihgblk7y"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f)) ; no tests included
+    (inputs
+     `(("cairo" ,cairo)
+       ("glibc" ,glibc)))
+    (native-inputs
+     `(("pkg-config", pkg-config)))
+    (synopsis "Small GUI toolkit")
+    (description "Redkite is a small GUI toolkit developed in C++17 and
+inspired from other well known GUI toolkits.")
+    (home-page "https://gitlab.com/iurie/redkite")
+    (license license:gpl3+)))
-- 
2.24.0

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

* [bug#38119] [PATCH] gnu: Add redkite.
  2019-11-08  9:58 [bug#38119] [PATCH] gnu: Add redkite Alexandros Theodotou
@ 2019-11-10 22:23 ` Marius Bakke
  2019-11-11  3:26   ` Alexandros Theodotou
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2019-11-10 22:23 UTC (permalink / raw)
  To: Alexandros Theodotou, 38119

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

Alexandros Theodotou <alex@zrythm.org> writes:

> Adding this to audio because it's a GUI toolkit for audio plugins.
>
>  From 2991c39c555873b8bed3db3139ce6d35bb156a8e Mon Sep 17 00:00:00 2001
>  From: Alexandros Theodotou <alex@zrythm.org>
> Date: Fri, 8 Nov 2019 09:47:25 +0000
> Subject: [PATCH] gnu: Add redkite.
>
> * gnu/packages/audio.scm: (redkite): New variable.

Thanks!

[...]

> +        (uri
> +          (string-append "https://gitlab.com/iurie/redkite/-/archive/v"
> +                         version "/redkite-v" version ".tar.gz"))

This can be condensed to two lines.

> +    (native-inputs
> +     `(("pkg-config", pkg-config)))
> +    (synopsis "Small GUI toolkit")
> +    (description "Redkite is a small GUI toolkit developed in C++17 and
> +inspired from other well known GUI toolkits.")

Can you expand on this description a bit?  What makes it different from
(or similar to) other GUI toolkits?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#38119] [PATCH] gnu: Add redkite.
  2019-11-10 22:23 ` Marius Bakke
@ 2019-11-11  3:26   ` Alexandros Theodotou
  2019-11-13 22:27     ` bug#38119: " Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandros Theodotou @ 2019-11-11  3:26 UTC (permalink / raw)
  To: Marius Bakke, 38119


[-- Attachment #1.1: Type: text/plain, Size: 194 bytes --]

Marius,

Thanks for the reviews! Updated.

The new description feels a bit too formal - the upstream descriptions
were too short so I had to come up with something. Feel free to edit
it.

[-- Attachment #1.2: 0001-gnu-Add-redkite.patch --]
[-- Type: text/x-patch, Size: 2149 bytes --]

From f50684e58e8b4c6f8bc105dd9f0650fcb366b875 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Fri, 8 Nov 2019 09:47:25 +0000
Subject: [PATCH] gnu: Add redkite.

* gnu/packages/audio.scm: (redkite): New variable.
---
 gnu/packages/audio.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index bc79225115..04b43e2412 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
 ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3766,3 +3767,32 @@ other Gnaural instances, allowing synchronous sessions between many users.")
 a sound card, encodes it into Ogg Vorbis and/or mp3, and sends the audio
 stream to one or more IceCast and/or ShoutCast servers.")
     (license license:gpl3+)))
+
+(define-public redkite
+  (package
+    (name "redkite")
+    (version "0.6.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://gitlab.com/iurie/redkite/-/archive/v"
+                            version "/redkite-v" version ".tar.gz"))
+        (sha256
+          (base32
+            "0qif1x3s96zi81zkg11zkszf2i5mvfyrg9b3z2lr0jpzihgblk7y"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f)) ; no tests included
+    (inputs
+     `(("cairo" ,cairo)
+       ("glibc" ,glibc)))
+    (native-inputs
+     `(("pkg-config", pkg-config)))
+    (synopsis "Small GUI toolkit")
+    (description "Redkite is a small GUI toolkit developed in C++17 and
+inspired from other well known GUI toolkits such as Qt and GTK.  It is
+minimal on purpose and is intended to be statically linked to applications,
+therefore satisfying any requirements they may have to be self contained,
+as is the case with audio plugins.")
+    (home-page "https://gitlab.com/iurie/redkite")
+    (license license:gpl3+)))
-- 
2.24.0


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* bug#38119: [PATCH] gnu: Add redkite.
  2019-11-11  3:26   ` Alexandros Theodotou
@ 2019-11-13 22:27     ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2019-11-13 22:27 UTC (permalink / raw)
  To: Alexandros Theodotou, 38119-done

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

Alexandros Theodotou <alex@zrythm.org> writes:

> Marius,
>
> Thanks for the reviews! Updated.
>
> The new description feels a bit too formal - the upstream descriptions
> were too short so I had to come up with something. Feel free to edit
> it.

Looks good to me!  We can always adjust it later.

On a related note, it feels weird to have a GUI toolkit in audio.scm,
but I could not think of a better place for it.  Suggestions welcome.

> From f50684e58e8b4c6f8bc105dd9f0650fcb366b875 Mon Sep 17 00:00:00 2001
> From: Alexandros Theodotou <alex@zrythm.org>
> Date: Fri, 8 Nov 2019 09:47:25 +0000
> Subject: [PATCH] gnu: Add redkite.
>
> * gnu/packages/audio.scm: (redkite): New variable.

Applied, thanks!

[...]

> +    (home-page "https://gitlab.com/iurie/redkite")

The URL redirects to 'gitlab.com/geontime/redkite', so I updated it.

I also made a follow-up patch that downloads a git checkout instead of
an autogenerated tarball, because the tarball hash might change in the
future when GitLab generates a new one.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2019-11-13 22:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-08  9:58 [bug#38119] [PATCH] gnu: Add redkite Alexandros Theodotou
2019-11-10 22:23 ` Marius Bakke
2019-11-11  3:26   ` Alexandros Theodotou
2019-11-13 22:27     ` bug#38119: " Marius Bakke

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