GNU bug report logs - #32586
[PATCH] gnu: Add r-svdialogs.

Previous Next

Package: guix-patches;

Reported by: pimi <madalinionel.patrascu <at> mdc-berlin.de>

Date: Thu, 30 Aug 2018 10:27:01 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

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 32586 in the body.
You can then email your comments to 32586 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#32586; Package guix-patches. (Thu, 30 Aug 2018 10:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to pimi <madalinionel.patrascu <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 30 Aug 2018 10:27:01 GMT) Full text and rfc822 format available.

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

From: pimi <madalinionel.patrascu <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: pimi <madalinionel.patrascu <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add r-svdialogs.
Date: Thu, 30 Aug 2018 12:25:02 +0200
gnu/packages/cran.scm (r-svdialogs): New variable.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e6fb6b8f7..ace86c901 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5012,3 +5012,30 @@ native, ...).  It centralizes info about GUI elements currently used, and it
 dispatches GUI calls to the particular toolkits in use in function of the
 context (is R run at the terminal, within a Tk application, a HTML page?).")
     (license license:gpl2)))
+
+(define-public r-svdialogs
+  (package
+    (name "r-svdialogs")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "svDialogs" version))
+       (sha256
+        (base32 "0xqppydfawnwk84kb5qiybwbcmv38vn4imgz01mz2pnq4xb80p97"))))
+    (properties `((upstream-name . "svDialogs")))
+    (build-system r-build-system)
+    (inputs
+     `(("yad" ,yad)
+       ("zenity" ,zenity)))
+    (propagated-inputs
+     `(("r-rstudioapi" ,r-rstudioapi)
+       ("r-svgui" ,r-svgui)))
+    (home-page "https://github.com/SciViews/svDialogs/")
+    (synopsis "Standard dialog boxes for Windows, MacOS and Linux")
+    (description
+     "This package helps to construct rapidly standard dialog boxes for your GUI, including
+message boxes, input boxes, list, file or directory selection, and others.  In
+case R cannot display GUI dialog boxes, a simpler command line version of these
+interactive elements is also provided as a fallback solution.")
+    (license license:gpl2)))
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#32586; Package guix-patches. (Mon, 03 Sep 2018 15:33:01 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
To: <32586 <at> debbugs.gnu.org>
Cc: pimi <madalinionel.patrasc <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add r-svdialogs.
Date: Mon, 3 Sep 2018 17:32:50 +0200
Hi,

thanks for the patch!

> +
> +(define-public r-svdialogs
> +  (package
> +    (name "r-svdialogs")
> +    (version "1.0.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (cran-uri "svDialogs" version))
> +       (sha256
> +        (base32 "0xqppydfawnwk84kb5qiybwbcmv38vn4imgz01mz2pnq4xb80p97"))))
> +    (properties `((upstream-name . "svDialogs")))
> +    (build-system r-build-system)
> +    (inputs
> +     `(("yad" ,yad)

I see that you provide a patch for “yad” in another issue.  In the
future please send a series of dependent patches together to the same
ticket address.  (Create a new ticket first by sending a “cover letter”
to guix-patches <at> gnu.org first.)

> +       ("zenity" ,zenity)))
> +    (propagated-inputs
> +     `(("r-rstudioapi" ,r-rstudioapi)
> +       ("r-svgui" ,r-svgui)))
> +    (home-page "https://github.com/SciViews/svDialogs/")
> +    (synopsis "Standard dialog boxes for Windows, MacOS and Linux")

Please use “Portable dialog boxes” instead.

> +    (license license:gpl2)))

This is correct.

--
Ricardo




Information forwarded to guix-patches <at> gnu.org:
bug#32586; Package guix-patches. (Mon, 03 Sep 2018 15:35:02 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
To: <32586 <at> debbugs.gnu.org>
Subject: [PATCH] gnu: Add r-svdialogs.
Date: Mon, 3 Sep 2018 17:34:16 +0200
block 32586 by 32584
block 32586 by 32585
thanks




Information forwarded to guix-patches <at> gnu.org:
bug#32586; Package guix-patches. (Thu, 06 Sep 2018 15:12:02 GMT) Full text and rfc822 format available.

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

From: pimi <madalinionel.patrascu <at> mdc-berlin.de>
To: <32586 <at> debbugs.gnu.org>
Cc: pimi <madalinionel.patrascu <at> mdc-berlin.de>
Subject: [PATCH] asasa
Date: Thu, 6 Sep 2018 17:11:20 +0200
---
 gnu/packages/cran.scm | 24 +++++++++++++++++++++++
 gnu/packages/gtk.scm  | 45 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 447be5657..745464ce2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33,6 +33,8 @@
   #:use-module (guix build-system r)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages machine-learning)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages mpi)
@@ -5411,3 +5413,25 @@ maximum cycle number.  The @code{r-abcoptim} implements the Artificial bee
 colony optimization algorithm @url{http://mf.erciyes.edu.tr/abc/pub/tr06_2005.pdf}.
   This version is a work-in-progress and is written in R code.")
     (license license:expat)))
+
+(define-public r-svgui
+  (package
+    (name "r-svgui")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "svGUI" version))
+       (sha256
+        (base32 "1r7ab0p4yr8q03gj02hmj7k1ghksgkg4nx750c0ajfs2q9y1dxfc"))))
+    (properties `((upstream-name . "svGUI")))
+    (build-system r-build-system)
+    (home-page "https://github.com/SciViews/svGUI/")
+    (synopsis "Functions for managing GUI clients in R")
+    (description
+     "The SciViews @code{svGUI} package eases the management of Graphical User
+Interfaces (GUI) in R.  It is independent from any particular GUI widgets (Tk,
+Gtk2, native, ...).  It centralizes info about GUI elements currently used, and
+it dispatches GUI calls to the particular toolkits in use in function of the
+context (is R run at the terminal, within a Tk application, a HTML page?).")
+    (license license:gpl2)))
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 4daaad0eb..e0d52a8dd 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1658,3 +1658,48 @@ Parcellite and adds bugfixes and features.")
 it does not deal with windowing system surfaces, drawing, scene graphs, or
 input.")
     (license license:expat)))
+
+(define-public yad
+  (let ((commit "8957347fc6376bc4ec992adef078a7b53399850e")
+        (revision "1"))
+    (package
+     (name "yad")
+     (version (git-version "0.40.3" revision commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/v1cont/yad.git")
+             (commit commit)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04vqm6khqsaar25qa8xaixp6i1jp7v33b32f6i425kfdi6wfr2yb"))))
+     (build-system gnu-build-system)
+     (arguments
+      `(#:configure-flags
+        '("--with-gtk=gtk3"
+          "--enable-html"
+          "--enable-gio"
+          "--enable-spell"
+          "--enable-icon-browser")
+        #:phases
+        (modify-phases %standard-phases
+                       (replace 'bootstrap
+                                (lambda _
+                                  (invoke "autoreconf" "-vif")
+                                  (invoke "intltoolize" "--force" "--automake")
+                                  #t)))))
+     (inputs
+      `(("gtk+" ,gtk+)))
+     (native-inputs
+      `(("autoconf" ,autoconf)
+        ("automake" ,automake)
+        ("intltool" ,intltool)
+        ("pkg-config" ,pkg-config)))
+     (home-page "https://sourceforge.net/projects/yad-dialog/")
+     (synopsis "GTK+ dialog boxes for shell scripts")
+     (description
+      "This program allows you to display GTK+ dialog boxes from command line or
+shell scripts.  Example of how to use @code{yad} can be consulted at
+@url{https://sourceforge.net/p/yad-dialog/wiki/browse_pages/}.")
+     (license license:gpl3+))))
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#32586; Package guix-patches. (Thu, 06 Sep 2018 15:15:02 GMT) Full text and rfc822 format available.

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

From: "MadalinIonel.Patrascu <at> mdc-berlin.de"
 <MadalinIonel.Patrascu <at> mdc-berlin.de>
To: "32586 <at> debbugs.gnu.org" <32586 <at> debbugs.gnu.org>
Date: Thu, 6 Sep 2018 15:14:24 +0000
Please do not take into account the previous message!

I need some coffee!
Sorry!

Mădălin Ionel Patrașcu

System Administrator
Bioinformatics Platform
The Berlin Institute for Medical Systems Biology (BIMSB)
Max Delbrück Center (MDC)
Robert-Rössle-Straße 10
House 87, room 1.10
13125 Berlin, Germany

Information forwarded to guix-patches <at> gnu.org:
bug#32586; Package guix-patches. (Thu, 06 Sep 2018 15:16:01 GMT) Full text and rfc822 format available.

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

From: pimi <madalinionel.patrascu <at> mdc-berlin.de>
To: <32586 <at> debbugs.gnu.org>
Cc: pimi <madalinionel.patrascu <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add r-svdialogs.
Date: Thu, 6 Sep 2018 17:14:50 +0200
gnu/packages/cran.scm (r-svdialogs): New variable.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 745464ce2..46c37b8bc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5435,3 +5435,30 @@ Gtk2, native, ...).  It centralizes info about GUI elements currently used, and
 it dispatches GUI calls to the particular toolkits in use in function of the
 context (is R run at the terminal, within a Tk application, a HTML page?).")
     (license license:gpl2)))
+
+(define-public r-svdialogs
+  (package
+    (name "r-svdialogs")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "svDialogs" version))
+       (sha256
+        (base32 "0xqppydfawnwk84kb5qiybwbcmv38vn4imgz01mz2pnq4xb80p97"))))
+    (properties `((upstream-name . "svDialogs")))
+    (build-system r-build-system)
+    (inputs
+     `(("yad" ,yad)
+       ("zenity" ,zenity)))
+    (propagated-inputs
+     `(("r-rstudioapi" ,r-rstudioapi)
+       ("r-svgui" ,r-svgui)))
+    (home-page "https://github.com/SciViews/svDialogs/")
+    (synopsis "Portable dialog boxes")
+    (description
+     "This package helps to construct standard dialog boxes for your GUI, including
+message boxes, input boxes, list, file or directory selection, and others.  In
+case R cannot display GUI dialog boxes, a simpler command line version of these
+interactive elements is also provided as a fallback solution.")
+    (license license:gpl2)))
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#32586; Package guix-patches. (Thu, 06 Sep 2018 15:19:01 GMT) Full text and rfc822 format available.

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

From: "MadalinIonel.Patrascu <at> mdc-berlin.de"
 <MadalinIonel.Patrascu <at> mdc-berlin.de>
To: "32586 <at> debbugs.gnu.org" <32586 <at> debbugs.gnu.org>
Subject: Previous patch is good
Date: Thu, 6 Sep 2018 15:18:13 +0000
Hi!
Sorry for the previous mistake!

It was typo git send-email -2 instead of -1.
Soooorrrry!

Mădălin Ionel Patrașcu

System Administrator
Bioinformatics Platform
The Berlin Institute for Medical Systems Biology (BIMSB)
Max Delbrück Center (MDC)
Robert-Rössle-Straße 10
House 87, room 1.10
13125 Berlin, Germany

Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Thu, 13 Sep 2018 13:10:02 GMT) Full text and rfc822 format available.

Notification sent to pimi <madalinionel.patrascu <at> mdc-berlin.de>:
bug acknowledged by developer. (Thu, 13 Sep 2018 13:10:03 GMT) Full text and rfc822 format available.

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

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 32586-done <at> debbugs.gnu.org
Cc: pimi <madalinionel.patrascu <at> mdc-berlin.de>
Subject: [bug#32586] [PATCH] gnu: Add r-svdialogs.
Date: Thu, 13 Sep 2018 15:08:44 +0200
Pushed to “master” branch with commit d1ca3d729.  Thank you!

-- 
Ricardo





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

This bug report was last modified 6 years and 256 days ago.

Previous Next


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