Re: 02/03: gnu: giac-xcas: Add inputs.

2019-04-28 Thread Christopher Baines

guix-comm...@gnu.org writes:

> ngz pushed a commit to branch master
> in repository guix.
>
> commit 6d3896b9fc115b03046860a9aa12966926bccf53
> Author: Nicolas Goaziou 
> Date:   Sun Apr 28 21:35:07 2019 +0200
>
> gnu: giac-xcas: Add inputs.
>
> * gnu/packages/algebra.scm (giac-xcas)[inputs]: Add glpk, libsamplerate, 
> bison
>   and flex.
> ---
>  gnu/packages/algebra.scm | 8 +++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
> index 93dc756..fe039d8 100644
> --- a/gnu/packages/algebra.scm
> +++ b/gnu/packages/algebra.scm
> @@ -42,6 +42,7 @@
>#:use-module (gnu packages mpi)
>#:use-module (gnu packages multiprecision)
>#:use-module (gnu packages perl)
> +  #:use-module (gnu packages pulseaudio)
>#:use-module (gnu packages python)
>#:use-module (gnu packages python-xyz)
>#:use-module (gnu packages readline)
> @@ -301,13 +302,16 @@ precision.")
> (delete-file (string-append out "/bin/xcasnew"))
> #t))
>  (inputs
> + ;;; TODO: Add libnauty.
>   `(("fltk" ,fltk)
> +   ("glpk" ,glpk)
> ("gmp" ,gmp)
> ("gsl" ,gsl)
> ("lapack" ,lapack)
> ("libao" ,ao)
> ("libjpeg" ,libjpeg)
> ("libpng" ,libpng)
> +   ("libsamplerate" ,libsamplerate)
> ("libx11" ,libx11)
> ("libxinerama" ,libxinerama)
> ("libxft" ,libxft)
> @@ -320,7 +324,9 @@ precision.")
> ("pari-gp" ,pari-gp)
> ("tcsh" ,tcsh)))
>  (native-inputs
> - `(("readline" ,readline)
> + `(("bison" ,bison)

For future reference, I believe bison here wasn't available, as the (gnu
packages bison) module isn't available here. I think this was causing
the evaluations to fail on ci.guix.info, so I've pushed a fix as [1].

1: 
http://git.savannah.gnu.org/cgit/guix.git/commit/?id=fdb513a7045f9731dd23bc8fb78b012d58ce

> +   ("flex" ,flex)
> +   ("readline" ,readline)
> ("texlive" ,texlive-tiny)))
>  (home-page "https://www-fourier.ujf-grenoble.fr/~parisse/giac.html;)
>  (synopsis "Computer algebra system")


signature.asc
Description: PGP signature


Re: Guix on a microkernel

2019-04-28 Thread Vasilii Kolobkov
My .2 cryptocoins, but you might find it interesting in evaluating HURD
as a kernerl for Guix system.  Frankly, I haven't been following HURD
development and don't know how much's changed since.

[[http://walfield.org/papers/200707-walfield-critique-of-the-GNU-Hurd.pdf]]
-- 
v, pgp key 0xFF3C7272972E83A5


signature.asc
Description: PGP signature


Re: fuse & sshfs

2019-04-28 Thread Tobias Geerinckx-Rice

Efraim Flashner wrote:
I looked into bumping it a while ago and I ended up down a 
rabbit hole I
didn't really want to venture into. Don't really remember much 
beyond

that unfortunately.


Hah, me too!  Probably a longer while ago.

I wonder how many other people-hours have vanished down this exact 
same hole.


Kind regards,

T G-R


signature.asc
Description: PGP signature


Re: fuse & sshfs

2019-04-28 Thread Efraim Flashner
On Fri, Apr 26, 2019 at 09:31:20PM -0500, Brett Gilio wrote:
> Hi all,
> 
> With 1.0 around the corner, is there any priority for packages like
> fuse? The latest release is 3.5 and we are using 2.9.
> 
> All of these packages depend on it
> casync@2 multipath-tools@0.7.9 fio@3.13 python-llfuse@0.41.1
> python-fusepy@2.0.4 python2-gdrivefs@0.14.9 python2-llfuse@1.3.5
> borg@1.1.9 skopeo@0.1.28 flatpak@1.2.4 unionfs-fuse@2.0 fuseiso@20070708
> fuse-exfat@1.3.0 archivemount@0.8.12 sshfs@2.10 testdisk@7.0 ifuse@1.1.3
> spacefm@1.0.6 caja-extensions@1.22.0 mate@1.22.0 lxde@0.99.2
> gnome-tweak-tool@3.26.4 gnome@3.24.3 httpfs2@0.1.5 curlftpfs@0.9.2
> disorderfs@0.5.6 apfs-fuse@0.0.0-0.c7036a3 encfs@1.9.5 sra-tools@2.9.3
> wimlib@1.13.0
> 
> Is it maybe lingering in one of our unmerged branches out there? If not,
> I wouldn't mind trying to take a crack at bumping it. I know for a fact
> that not updating it limits out ability to upgrade sshfs since it
> depends on version >3.
> 
> Best
> 
> Brett Gilio
> 

I looked into bumping it a while ago and I ended up down a rabbit hole I
didn't really want to venture into. Don't really remember much beyond
that unfortunately.

I looked into bumping it a while ago and I ended up down a rabbit hole I
didn't really want to venture into. Don't really remember much beyond
that unfortunately.

-- 
Efraim Flashner  אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted


signature.asc
Description: PGP signature


Re: "System Package" vs "System Service"

2019-04-28 Thread Danny Milosavljevic
Hi,

On Sun, 28 Apr 2019 11:59:59 -0400
Raghav Gururajan  wrote:

> I have this confusion/doubt. What is the difference between declaring
> something as "System Package" vs "System Service" in the Guix System
> Configuration?

A package is a thing that is present in your system and just stays put,
similar to a chair or any other passive object.  If you want, you can
move the chair yourself or whatever, but it won't do things for you
except incidentially.

A service is an active process that, if you ask it to, will do work for you
in order to reach a long-term goal.  The level of detail you have to specify
when requesting the service is usually very low compared to what work will
actually be carried out.
For example a hairdressing service provides you the service of cutting
your hair to a fashionable style.

A chair and a hairdressing service are fundamentally different.

Tor usually provides a proxy service (at port 9050) which will proxy all
your network traffic through it, with the goal of improving your privacy.

It's difficult to see what you need the tor package to be installed for--
because the service will already provide the proxying.  If you want
tor admin tools, you can of course install those (probably as user
packages).

For reference, I have ten system packages in addition to %base-packages
(there are 40 in the latter currently) and I'm a heavy guix user.
If anything, I expect both counts to decrease over time.


pgp7lHGDBU6C6.pgp
Description: OpenPGP digital signature


"System Package" vs "System Service"

2019-04-28 Thread Raghav Gururajan
Hello Guix!

I have this confusion/doubt. What is the difference between declaring
something as "System Package" vs "System Service" in the Guix System
Configuration?

For example, if I have application[s] (installed as user or in system)
that uses Tor to connect to Internet via Tor Network; is it better to
declare "tor" package under system packages (or install as user) or to
declare "tor-service-type" (with default configuration) under system
services? What actually happens between the former and latter scenario?

Thank you!

Regards,
RG.

Re: Feature Request for Guix Site

2019-04-28 Thread Raghav Gururajan
Ah! Sorry, I totally over-looked. I assumed "help" as "support". Like
email or chat support.
On Sun, 2019-04-28 at 14:55 +0200, Ludovic Courtès wrote:
> Hello,
> "Raghav Gururajan"  skribis:
> Can someone who have admin privileges, add "Manual" tab to the menu
> of Guix Site (www.gnu.org/software/guix), which links to the Guix
> Manual (www.gnu.org/software/guix/manual)?
> There’s already a “Help” entry in the menu, which I think is
> goodenough, though perhaps we should rename it to “Support” or
> somethinglike that for clarity?
> Thanks,Ludo’.

Re: Feature Request for Guix Site

2019-04-28 Thread Raghav Gururajan
xD. That actually makes sense. "Help" is actually the right term in
this context. My bad.
On Sun, 2019-04-28 at 09:14 -0500, sirgazil wrote:
> El 28/04/19 a las 7:55 a. m., Ludovic Courtès escribió:
> Hello,
> "Raghav Gururajan"  skribis:
> Can someone who have admin privileges, add "Manual" tab to the menu
> of Guix Site (www.gnu.org/software/guix), which links to the Guix
> Manual (www.gnu.org/software/guix/manual)?
> There’s already a “Help” entry in the menu, which I think is
> goodenough, though perhaps we should rename it to “Support” or
> somethinglike that for clarity?
> 
> In the desktop, "Help" is conventionally used to access the manuals
> and other resources to help the user. Many applications list their
> manuals in a Help menu too. So I don't know if it should be renamed.
> Unless using "Help" is the reason why most people don't read manuals
> :P
> 
> 

guile-bash updated source url

2019-04-28 Thread david . larsson

Hello Guix,

This is my first contribution to guix and it's just a minor fix for
the guile-bash package which had an outdated source url. I was able to
retrieve the same revision of the package via the software-heritage
project's website and upload it to gitlab. Then I installed it
successfully via guix package -f my-guile-bash.scm using the gitlab url, 
then copied it to the existing guile-xyz.scm in gnu/packages.


I have attached a patch-file with the changes.

--
Best Regards
David LFrom 75f8252f2c27f04961445f898041dd3f8a552e8a Mon Sep 17 00:00:00 2001
From: David Larsson 
Date: Sun, 28 Apr 2019 10:05:39 +0200
Subject: [PATCH] Updated source url for guile-bash package

---
 gnu/packages/guile-xyz.scm | 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 03fd63837e..8f341be781 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -294,23 +294,21 @@ dictionary and suggesting spelling corrections.")
 (license license:gpl3+)))
 
 (define-public guile-bash
-  ;; This project is currently retired.  It was initially announced here:
-  ;; .
-  (let ((commit "1eabc563ca5692b3e08d84f1f0e6fd2283284469")
+(let ((commit "49099fe6a592aa3b8001e826b939869fe5811785")
 (revision "0"))
 (package
   (name "guile-bash")
   (version (string-append "0.1.6-" revision "." (string-take commit 7)))
   (home-page
-   
"https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git;)
+   "https://gitlab.com/methuselah-0/guile-bash;)
   (source (origin
 (method git-fetch)
 (uri (git-reference
   (commit commit)
-  (url home-page)))
+ (url "https://gitlab.com/methuselah-0/guile-bash.git;)))
 (sha256
  (base32
-  "097vny990wp2qpjij6a5a5gwc6fxzg5wk56inhy18iki5v6pif1p"))
+  "1cwyf7sd0chrfmfipkvaph5gf70hck6fj36sxcc4ncin49xlxv0l"))
 (file-name (string-append name "-" version "-checkout"
   (build-system gnu-build-system)
   (arguments
-- 
2.20.1



Re: Feature Request for Guix Site

2019-04-28 Thread sirgazil

El 28/04/19 a las 7:55 a. m., Ludovic Courtès escribió:

Hello,

"Raghav Gururajan"  skribis:


Can someone who have admin privileges, add "Manual" tab to the menu of Guix 
Site (www.gnu.org/software/guix), which links to the Guix Manual 
(www.gnu.org/software/guix/manual)?


There’s already a “Help” entry in the menu, which I think is good
enough, though perhaps we should rename it to “Support” or something
like that for clarity?



In the desktop, "Help" is conventionally used to access the manuals and 
other resources to help the user. Many applications list their manuals 
in a Help menu too. So I don't know if it should be renamed. Unless 
using "Help" is the reason why most people don't read manuals :P



--
Luis Felipe López Acevedo
http://sirgazil.bitbucket.io/





‘staging’ merged!

2019-04-28 Thread Ludovic Courtès
Hello Guix!

I’m happy to report that I’ve finally merged ‘staging’!  The branch
brings lots of updates, notably GNOME 2.28 (was 2.24).

Up-to-date substitutes are available from .

Thanks to everyone who worked hard to make this happen!

Ludo’.



Re: Feature Request for Guix Site

2019-04-28 Thread Ludovic Courtès
Hello,

"Raghav Gururajan"  skribis:

> Can someone who have admin privileges, add "Manual" tab to the menu of Guix 
> Site (www.gnu.org/software/guix), which links to the Guix Manual 
> (www.gnu.org/software/guix/manual)?

There’s already a “Help” entry in the menu, which I think is good
enough, though perhaps we should rename it to “Support” or something
like that for clarity?

Thanks,
Ludo’.



Re: ISO installer image: GPT versus MBR partitions

2019-04-28 Thread Ludovic Courtès
Hi Thomas,

"Thomas Schmitt"  skribis:

> Ludovic Courtès wrote:
>> I don’t feel like distributing two variants of the ISO per architecture.
>
> Then i guess the most early opportunity for my proposal to get
> into production is after the upcomming Guix release.

Sounds good to me.  Thanks again for helping out!

Ludo’.



Re: Alternative VPN Clients

2019-04-28 Thread swedebugia
On 2019-04-28 11:17, Dexter Morgan wrote:
> How can I use it with GNOME NetworkManager ?

I think thats not supported yet.

>  
> *Sent:* Thursday, April 25, 2019 at 2:37 PM
> *From:* "Leo Famulari" 
> *To:* "Dexter Morgan" 
> *Cc:* guix-devel@gnu.org
> *Subject:* Re: Alternative VPN Clients
> On Wed, Apr 24, 2019 at 06:01:49AM +0200, Dexter Morgan wrote:
>> My friend introduced me to GNU/Linux and installed GuixSD on my
> laptop. I am
>> just getting started on Bash. I find that there is absence of VPN
> clients as an
>> alternative to OpenVPN. Can some one please package the following
> alternative
>> VPN clients:
> 
> Just FYI, we have a WireGuard package that works well. You may find it
> superior to traditional VPN systems.

This seems to require support from the VPN provider and will not work
with traditional (open)VPN-providers e.g. Riseup.

-- 
Cheers Swedebugia



signature.asc
Description: OpenPGP digital signature


Re: Alternative VPN Clients

2019-04-28 Thread Dexter Morgan
How can I use it with GNOME NetworkManager ?
 

Sent: Thursday, April 25, 2019 at 2:37 PM
From: "Leo Famulari" 
To: "Dexter Morgan" 
Cc: guix-devel@gnu.org
Subject: Re: Alternative VPN Clients

On Wed, Apr 24, 2019 at 06:01:49AM +0200, Dexter Morgan wrote:
> My friend introduced me to GNU/Linux and installed GuixSD on my laptop. I am
> just getting started on Bash. I find that there is absence of VPN clients as an
> alternative to OpenVPN. Can some one please package the following alternative
> VPN clients:

Just FYI, we have a WireGuard package that works well. You may find it
superior to traditional VPN systems.






Re: Alternative VPN Clients

2019-04-28 Thread Dexter Morgan
Sorry! I tried to understand. But too much at the moment. Have to focus on other things. :( Gonna take baby steps starting with bash.
 

Sent: Wednesday, April 24, 2019 at 1:26 PM
From: "Danny Milosavljevic" 
To: "Dexter Morgan" 
Cc: guix-devel@gnu.org
Subject: Re: Alternative VPN Clients

Hi,

if you want to package bitmask, you can try:

$ guix import pypi leap.bitmask

This will print a package definition.

You can put it into a file "bitmask.scm" inside the directory $GUIX_PACKAGE_PATH (you may have to set that environment variable first) with the following header:

(define-module (bitmask)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system python)
#:use-module (guix gexp)
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages cross-base)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz))
(define-public python-leap.bitmask

Then you can try it out with

$ guix build --rounds=2 -K python-leap.bitmask

If there are more packages missing, you can generate them all via:

$ guix import pypi -r leap.bitmask

and also put them in the file, adding "(define-public ..." before each block.

For netsplice, it's very similar--but for some reason their package is not
available on PyPI, so you'd have to write the package definition yourself
(just copy the python-leap.bitmask one and modify it - especially the name,
URL and expected checksum - until it works).

If there are any problems please ask on this list.