Re: CV Assistant

2019-08-15 Thread Raghav Gururajan

> Thanks for your time and patience with Guix. I love to see you
> continue to
> use it!  

I am glad to stay with guix. Even though I was frusturated sometimes
due to absence of some packages, I understood it is a growing distro
and rome was not not built in a day. :)

> Do you think you could try packaging CV Assistant yourself?

I sat to do it several times but could not start it due to the
situation I am in. I am curious to learn packaging in guix and I am
confident that I will be doing it someday. It just not the right time
(hectic situation).

> I suggest packaging it yourself for several reasons:
> 
> - Guix is an incredibly hackable system. If nothing else, I enjoy
> working
> on and owning my own system. Not only can you make the system what
> you
> want, but it is fun to work on.
> - You may find confidence to package your own packages in the future.
> It
> seems like you are very curious about a lot of linux software and
> writing
> packages is an excellent way to get a deeper understanding of various
> software ecosystems.
> - Did I mention it is fun? Lisp is an excellent language and using it
> will
> teach you a lot.
> 
> I hope you will at least try someday.

All you mentioned are so true. Yeah, I will be doing it, someday. :)

Thank you!

Regards,
RG.

signature.asc
Description: This is a digitally signed message part


Re: Import of bioconductor data packages.

2019-08-15 Thread Ricardo Wurmus


Hi Philippe,

> I am trying to import a bioconductor package that depends on a bioconductor
> data package. While the command for the software package works fine :
>
> guix import cran --archive=bioconductor ChIPQC
>
> the one for the data package doesn't :
>
> $ guix import cran --archive=bioconductor TxDb.Celegans.UCSC.ce6.ensGene
> error: failed to retrieve package information from "
> https://cran.r-project.org/web/packages/TxDb.Celegans.UCSC.ce6.ensGene/DESCRIPTION":
> 404 ("Not Found")

I think we may be able to work around this.  In the past we fetched the
DESCRIPTION file directly via HTTP.  This wasn’t possible for data
packages as they were not stored in the shared SVN repository, and the
DESCRIPTION files thus were not available via HTTP.

When Bioconductor retired their SVN repository we switched to
downloading the target tarball and extracting the DESCRIPTION file from
there.  We aren’t doing this for experiment or data packages yet, but I
think we can easily fix this now.

I’ll give this a shot soon.

--
Ricardo




Import of bioconductor data packages.

2019-08-15 Thread Philippe Veber
Hi all,

I am trying to import a bioconductor package that depends on a bioconductor
data package. While the command for the software package works fine :

guix import cran --archive=bioconductor ChIPQC

the one for the data package doesn't :

$ guix import cran --archive=bioconductor TxDb.Celegans.UCSC.ce6.ensGene
error: failed to retrieve package information from "
https://cran.r-project.org/web/packages/TxDb.Celegans.UCSC.ce6.ensGene/DESCRIPTION":
404 ("Not Found")

I tried reading the code in guix for CRAN import, and it seems that the
case for data package has been taken care of (and as a matter of fact there
are already several data packages in the distribution), but I can't find
the way to invoke it.

Thanks for any help!
Philippe.


Re: guix pull behind proxy not working

2019-08-15 Thread Marius Bakke
Jorge P. de Morais Neto  writes:

> Em 2019-07-04T11:05:35+0200, mar...@famic.de escreveu:
>
>> However, calling `guix pull` and `guix system reconfigure` still fails
>> due to unreachable network.  Does it need different proxy settings?
>> What can I do?
>
> I have the same problem on a Debian buster foreign distro.  I have
> configured the proxy in
> /etc/systemd/system/guix-daemon.service.d/override.conf
>
> It contains the following lines:
>
> Environment="http_proxy=http://localhost:3128;
> Environment="https_proxy=http://localhost:3128;
>
> And I confirmed with ~systemctl show~ that both variables are correct in
> the environment of Guix daemon.

I think you also need these variables in the environment that invokes
the 'guix' command.  Does it work if you export these variables before
running guix, in addition to having them in the daemon environment?


signature.asc
Description: PGP signature


Re: guix pull behind proxy not working

2019-08-15 Thread Jorge P . de Morais Neto
Em 2019-07-04T11:05:35+0200, mar...@famic.de escreveu:

> However, calling `guix pull` and `guix system reconfigure` still fails
> due to unreachable network.  Does it need different proxy settings?
> What can I do?

I have the same problem on a Debian buster foreign distro.  I have
configured the proxy in
/etc/systemd/system/guix-daemon.service.d/override.conf

It contains the following lines:

Environment="http_proxy=http://localhost:3128;
Environment="https_proxy=http://localhost:3128;

And I confirmed with ~systemctl show~ that both variables are correct in
the environment of Guix daemon.



Re: CV Assistant

2019-08-15 Thread John Soo
Hey Raghav!

Thanks for your time and patience with Guix. I love to see you continue to
use it!  Do you think you could try packaging CV Assistant yourself?
I suggest packaging it yourself for several reasons:

- Guix is an incredibly hackable system. If nothing else, I enjoy working
on and owning my own system. Not only can you make the system what you
want, but it is fun to work on.
- You may find confidence to package your own packages in the future. It
seems like you are very curious about a lot of linux software and writing
packages is an excellent way to get a deeper understanding of various
software ecosystems.
- Did I mention it is fun? Lisp is an excellent language and using it will
teach you a lot.

I hope you will at least try someday.

Kindest regards,

John



On Thu, Aug 15, 2019 at 1:12 PM Raghav Gururajan <
raghavgurura...@disroot.org> wrote:

> Hello Guix!
>
> I just came across this amazing and elegant piece of software "CV
> Assistant" (https://directory.fsf.org/wiki/CVAssistant).
>
> I badly need that for my current situation. I ask for help to anyone
> who could port this software to guix ASAP. I am damn sure that this
> will be so helpful to other users as well. :)
>
> Please and Thank you!
>
> Regards,
> RG.


Re: VNC

2019-08-15 Thread Rene

Hello,

I use x11vnc server, only as a package not as a service.

HTH!

> As it looks like virtualbox guest additions are even more difficult to get 
> working on Guix, I would be happy to try and come up with service definition 
> for a VNC server. TigerVNC comes to mind.
>
> If anyone can come up with some helpful pointers (I did define a few Guix 
> packages, but no services so far), it would be appreciated.
>
> Cheers,
>
> Todor
>


>From 043767218b21c1823d296f7601c423e2ac50d9d0 Mon Sep 17 00:00:00 2001
From: Rene 
Date: Tue, 19 Feb 2019 10:52:11 -0600
Subject: [PATCH 1/2] gnu: Add libvncserver.

---
 gnu/packages/vnc.scm | 49 
 1 file changed, 49 insertions(+)
 create mode 100644 gnu/packages/vnc.scm

diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm
new file mode 100644
index 0..3233d83cb
--- /dev/null
+++ b/gnu/packages/vnc.scm
@@ -0,0 +1,49 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Rene 
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see .
+
+(define-module (gnu packages vnc)
+  #:use-module (gnu packages)
+  #:use-module (guix build-system cmake)
+  #:use-module (guix download)
+  #:use-module (guix git-download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (guix gexp)
+  #:use-module (ice-9 match)
+  #:use-module (srfi srfi-1))
+
+(define-public libvncserver
+  (package
+(name "libvncserver")
+(version "0.9.12")
+(source (origin
+  (method url-fetch)
+  (uri (let ((upstream-name "LibVNCServer"))
+		 (string-append "https://github.com/LibVNC/libvncserver/archive/;
+upstream-name "-" version ".tar.gz")))
+  (sha256
+   (base32
+"0dk124x298yx5bcr4kwqh7vvqhsaxwy346ri7ir0yfdv2m7bpjrk"
+(build-system cmake-build-system)
+(home-page "https://libvnc.github.io;)
+(synopsis "Library for implement a VNC server")
+(description "Libvncserver is a cross-platform C library that allow to
+implement a VNC server.")
+(license license:gpl2+)
+(properties `((upstream-name . "LibVNCServer")
-- 
2.20.1

>From 6e8710aedaf7485a1a3721531f89ea6baeaf7d6b Mon Sep 17 00:00:00 2001
From: Rene 
Date: Tue, 19 Feb 2019 11:19:35 -0600
Subject: [PATCH 2/2] gnu: Add x11vnc.

---
 gnu/packages/vnc.scm | 44 
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm
index 3233d83cb..3223dcd87 100644
--- a/gnu/packages/vnc.scm
+++ b/gnu/packages/vnc.scm
@@ -18,7 +18,13 @@
 
 (define-module (gnu packages vnc)
   #:use-module (gnu packages)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages compression)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages xorg)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system gnu)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -47,3 +53,41 @@
 implement a VNC server.")
 (license license:gpl2+)
 (properties `((upstream-name . "LibVNCServer")
+
+(define-public x11vnc
+  (package
+(name "x11vnc")
+(version "0.9.16")
+(source (origin
+  (method url-fetch)
+  (uri (string-append "https://github.com/LibVNC/x11vnc/archive/;
+  version ".tar.gz"))
+  (sha256
+   (base32
+"1g9jpl8i2fds5m2gn77f65inh6n718yvxs51wkwwdvi5bxgmnpl8"
+(build-system gnu-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ ;; The ./configure script fails with /bin/sh and does not accept
+ ;; CONFIG_SHELL and SHELL parameters, then re-create configure script.
+ (replace 'bootstrap
+   (lambda _
+ (invoke "autoreconf" "-vfi"))
+(native-inputs
+ `(("autoconf" ,autoconf)
+   ("automake" ,automake)
+   ("pkg-config" ,pkg-config)
+   ("zlib" ,zlib)))
+(inputs
+ `(("libvncserver" ,libvncserver)
+   ("libx11" ,libx11)
+   ("libxext" ,libxext)
+   ("libxtst" ,libxtst)
+   ("openssl" 

CV Assistant

2019-08-15 Thread Raghav Gururajan
Hello Guix!

I just came across this amazing and elegant piece of software "CV
Assistant" (https://directory.fsf.org/wiki/CVAssistant).

I badly need that for my current situation. I ask for help to anyone
who could port this software to guix ASAP. I am damn sure that this
will be so helpful to other users as well. :)

Please and Thank you!

Regards,
RG.

signature.asc
Description: This is a digitally signed message part