Re: 0.8.1 kernel panics

2015-02-03 Thread Omar Radwan
I think I know your problem. In your filesystems declaration,

(file-systems (cons (file-system
(device "root")
(title 'label)
(mount-point "/")
(type "ext4"))
  %base-file-systems))

You left the default pseudo entry for (device), you need to enter your
hdd partition label that you plan installing GSD on. For example it
should be like this:

(file-systems (cons (file-system
(device "/dev/sda1")
(title 'label)
(mount-point "/")
(type "ext4"))
  %base-file-systems))

On Tue, Feb 3, 2015 at 6:50 PM, Kete Foy  wrote:
> Hello, a couple of us are having kernel panics after installing 0.8.1 and
> getting past Grub. I installed on a laptop, but attached is someone's
> picture of a Qemu installation. I am having the same Call Trace. The
> installer booted, but the first boot failed. I also notice an error flash in
> between the words "loading grub" and seeing Grub, but it disappears before I
> can read it. I am sure that the partition has the suggested label root:
> checked with e2label. Also attached is my /etc/config.scm.



Re: [PATCH] gnu: Add urwid

2015-02-03 Thread Omar Radwan
>I'm sorry, but we are failing to >communicate, and I don't have any >more
>time to spend on this.  I have pushed >commit e99f421185 based on your
>preliminary work.  It adds two >packages: python-urwid for Python 3, >and
>python2-urwid for Python 2.

Sorry for the miscommunication. I'll do better next time. Thanks for the
commit push. I can start working on wicd
On Feb 2, 2015 9:37 PM, "Mark H Weaver"  wrote:

> Omar Radwan  writes:
>
> >>What was the error? I tested the >package with all of the
> > modifications
> >>I suggested, including this one, and it >built successfully on my
> > i686
> >>machine.
> > It didn't build on my 64bit machine. And just to be clear. I tried to
> > substitute it for inputs and that didn't work. Was I supposed to put
> > it inside inputs?
>
> I'm sorry, but we are failing to communicate, and I don't have any more
> time to spend on this.  I have pushed commit e99f421185 based on your
> preliminary work.  It adds two packages: python-urwid for Python 3, and
> python2-urwid for Python 2.
>
>  Thanks,
>Mark
>


Re: [PATCH] gnu: Add urwid

2015-02-02 Thread Omar Radwan
>What was the error?  I tested the >package with all of the modifications
>I suggested, including this one, and it >built successfully on my i686
>machine.
It didn't build on my 64bit machine. And just to be clear. I tried to
substitute it for inputs and that didn't work. Was I supposed to put it
inside inputs?
On Feb 2, 2015 8:45 PM, "Mark H Weaver"  wrote:

> Omar Radwan  writes:
>
> > Here is it, finally I hope this is good enough.
> >
> > And by the way, you asked for me to do this
> >
> >> (arguments `(#:python ,python-2))
> >
> > instead of what I did before, but that gives me an error, so I can't
> > build it, so I hope it's ok if I leave it the way it is.
>
> What was the error?  I tested the package with all of the modifications
> I suggested, including this one, and it built successfully on my i686
> machine.
>
>   Mark
>


Re: [PATCH] gnu: Add urwid

2015-02-02 Thread Omar Radwan
Here is it, finally I hope this is good enough.

And by the way, you asked for me to do this

>(arguments `(#:python ,python-2))

instead of what I did before, but that gives me an error, so I can't build
it, so I hope it's ok if I leave it the way it is. But I did put
python2-setuptools in native-inputs

On Mon, Feb 2, 2015 at 9:59 AM, Andreas Enge  wrote:

> On Mon, Feb 02, 2015 at 09:46:10AM -0800, Omar Radwan wrote:
> > I was in such a hurry. I'll get it in asap
>
> That sounds like a contradiction! Take your time ;-)
>
> You may also want to run "./pre-inst-env guix lint PACKAGE"
> before you submit your patch, it catches some common problems.
>
> Andreas
>
>
From 7d9f79c3e4b6e4121c0304d5da3995a2f3473fe0 Mon Sep 17 00:00:00 2001
From: Omar Radwan 
Date: Mon, 2 Feb 2015 18:28:21 -0800
Subject: [PATCH] gnu: Add urwid

* gnu/packages/python.scm (urwid): New Variable.
---
 gnu/packages/python.scm | 30 --
 1 file changed, 28 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 95b4ee4..8a7f105 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5,7 +5,8 @@
 ;;; Copyright © 2014 Mark H Weaver 
 ;;; Copyright © 2014 Eric Bavier 
 ;;; Copyright © 2014, 2015 Federico Beffa 
-;;;
+;;; Copyright © 2015 Omar Radwan  
+
 ;;; This file is part of GNU Guix.
 ;;;
 ;;; GNU Guix is free software; you can redistribute it and/or modify it
@@ -2192,7 +2193,7 @@ that client code uses to construct the grammar directly in Python code.")
("freetype" ,freetype)
("cairo" ,cairo)
("glib" ,glib)
-   ("python-pillow" ,python-pillow)
+   ;("python-pillow" ,python-pillow)
;; FIXME: Add backends when available.
;("python-wxpython" ,python-wxpython)
;("python-pyqt" ,python-pyqt)
@@ -2848,3 +2849,28 @@ and written in Python.")
 
 (define-public python2-html5lib
   (package-with-python2 python-html5lib))
+
+
+(define-public urwid
+  (package
+(name "urwid")
+(version "1.3.0")
+(source
+ (origin
+  (method url-fetch)
+  (uri (list (string-append
+		"https://pypi.python.org/packages/source/u/urwid/urwid-"version".tar.gz";)
+		;;Downloading from the upstream URI above fails due to an
+		;; invalid ETag header.
+		"https://pkgs.fedoraproject.org/repo/pkgs/python-urwid/urwid-1.3.0.tar.gz/
+		a989acd54f4ff1a554add464803a9175/urwid-1.3.0.tar.gz"))
+  (sha256
+   (base32
+"18mb0yy94sjc434rd61m2sfnw27sa0nyrszpj5a9r9zh7fnlzw19"
+(build-system python-build-system)
+(inputs `(("python" ,python)("python-2" ,python-2)))
+(native-inputs `(("python2-setuptools" ,python2-setuptools)))
+(home-page "http://urwid.org";)
+(synopsis "Console user interface library for Python")
+(description "Urwid is a console user interface library for python.  
+	It includes many features useful for text console application.")
+(license lgpl2.1)))
+
-- 
2.2.1


Re: [PATCH] gnu: Add urwid

2015-02-02 Thread Omar Radwan
My mistake. I was in such a hurry. I'll get it in asap
On Feb 1, 2015 9:42 PM, "Mark H Weaver"  wrote:

> Omar Radwan  writes:
> > Here's a patch that does all the changes you requested to the previous
> > patch file
>
> A few problems here:
>
> (1) This new version doesn't even compile, because of several typos.
> Please always test before sending patches.
>
> (2) Instead of sending a patch that assumes the first version of your
> patch has been applied, please send a patch that can be applied by
> itself.
>
> (3) In the description, don't put two spaces between every two words,
> just between sentences.
>
> (4) In the source URI specification, please follow our Scheme
> indentation and spacing conventions, as I showed in my last message
> in this thread.
>
> Can you send an updated patch?
>
>   Mark
>


Re: [PATCH] gnu: Add urwid

2015-02-01 Thread Omar Radwan
Here's a patch that does all the changes you requested to the previous
patch file

On Sun, Feb 1, 2015 at 6:32 PM, Mark H Weaver  wrote:

> Omar Radwan  writes:
>
> > From 7d65731aaec1b3dbca9364bc2b0f18c9fc9992e5 Mon Sep 17 00:00:00 2001
> > From: Omar Radwan 
> > Date: Sun, 1 Feb 2015 14:43:59 -0800
> > Subject: [PATCH] gnu: Add urwid
>
> Minor nits: add a period above, and:
>
> > * gnu/packages/python.scm(urwid) New variable.
>
> This should be:
>
> * gnu/packages/python.scm (urwid): New variable.
>
> (add missing space and colon)
>
> > ---
> >  gnu/packages/python.scm | 27 ++-
> >  1 file changed, 26 insertions(+), 1 deletion(-)
> >
> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > index 4b30695..19016b4 100644
> > --- a/gnu/packages/python.scm
> > +++ b/gnu/packages/python.scm
> > @@ -5,7 +5,7 @@
> >  ;;; Copyright © 2014 Mark H Weaver 
> >  ;;; Copyright © 2014 Eric Bavier 
> >  ;;; Copyright © 2014, 2015 Federico Beffa 
> > -;;;
> > +;;; Copyright © 2015 Omar Radwan 
> >  ;;; This file is part of GNU Guix.
>
> Please keep the blank line below the copyright notices.
>
> More importantly, the encoding of the "©" is getting munged somewhere,
> so this patch won't apply cleanly.
>
> >  ;;;
> >  ;;; GNU Guix is free software; you can redistribute it and/or modify it
> > @@ -2848,3 +2848,28 @@ and written in Python.")
> >
> >  (define-public python2-html5lib
> >(package-with-python2 python-html5lib))
> > +
> > +
> > +(define-public urwid
> > +  (package
> > +(name "urwid")
> > +(version "1.3.0")
> > +(source
> > + (origin
> > +  (method url-fetch)
> > +  (uri (string-append
> > +"
> https://pkgs.fedoraproject.org/repo/pkgs/python-urwid/urwid-1.3.0.tar.gz/a989acd54f4ff1a554add464803a9175/urwid-1.3.0.tar.gz";))
> ;;upstream can't be used because Pypi don't have ETag headers in qoutes
>
> How about this instead:
>
>   (uri (list (string-append
>   "https://pypi.python.org/packages/source/u/urwid/urwid-";
>   version ".tar.gz")
>  ;; Downloading from the upstream URI above fails due to an
>  ;; invalid ETag header.
>  "
> https://pkgs.fedoraproject.org/repo/pkgs/python-urwid/urwid-1.3.0.tar.gz/a989acd54f4ff1a554add464803a9175/urwid-1.3.0.tar.gz
> "))
>
> This first tries to download from the canonical upstream URL, in case
> they fix their ETag headers, but falls back to the Fedora mirror.
>
> > +  (sha256
> > +   (base32
> > +"18mb0yy94sjc434rd61m2sfnw27sa0nyrszpj5a9r9zh7fnlzw19"
> > +(build-system python-build-system)
> > +(inputs `(("python-2" ,python-2)
> > +
> > +("python2-setuptools" ,python2-setuptools)))
>
> When using 'python-build-system', instead of adding python-2 as an
> input, we should do this instead:
>
> (arguments `(#:python ,python-2))
>
> And 'python2-setuptools' should be a native-input:
>
> (native-inputs `(("python2-setuptools" ,python2-setuptools)))
>
> > +(home-page "urwid.org/")
>
> This should be a valid URL; in this case:
>
> (home-page "http://urwid.org";)
>
> > +(synopsis "Console user interface library for Python")
> > +(description
> > + "Urwid is a console user interface library for python. It includes
> many features useful for text
> > +console application")
>
> Double-space between sentences, keep lines < 80 columns, and add an "s"
> and period at the end, e.g.:
>
> (description
>  "Urwid is a console user interface library for python.  It includes
> many
> features useful for text console applications.")
>
> > +(license lgpl2.1)))
> > +
>
> Can you send an updated patch?
>
>  Thanks!
>Mark
>
From e4226f8ac4ae23835aa5f57808d3f2063a131d84 Mon Sep 17 00:00:00 2001
From: Omar Radwan 
Date: Sun, 1 Feb 2015 20:40:22 -0800
Subject: [PATCH 2/2] gnu: Add urwid * gnu/packages/python.scm (urwid): New
 Variable

---
 gnu/packages/python.scm | 18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 19016b4..1e44dbb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2014 Eric Bavier 
 ;;; 

Re: [PATCH] gnu: Add urwid

2015-02-01 Thread Omar Radwan
Here it is.

On Sun, Feb 1, 2015 at 3:23 PM, Omar Radwan 
wrote:

> Wow. I was in such a hurry I forgot to add the patch file
> On Feb 1, 2015 2:56 PM, "Omar Radwan"  wrote:
>
>> Here is a patch to add urwid, which is required for wicd, which I will be
>> working on tomorrow, and hopefully finish by next week.
>>
>
From 7d65731aaec1b3dbca9364bc2b0f18c9fc9992e5 Mon Sep 17 00:00:00 2001
From: Omar Radwan 
Date: Sun, 1 Feb 2015 14:43:59 -0800
Subject: [PATCH] gnu: Add urwid

* gnu/packages/python.scm(urwid) New variable.
---
 gnu/packages/python.scm | 27 ++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4b30695..19016b4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2014 Mark H Weaver 
 ;;; Copyright © 2014 Eric Bavier 
 ;;; Copyright © 2014, 2015 Federico Beffa 
-;;;
+;;; Copyright © 2015 Omar Radwan  
 ;;; This file is part of GNU Guix.
 ;;;
 ;;; GNU Guix is free software; you can redistribute it and/or modify it
@@ -2848,3 +2848,28 @@ and written in Python.")
 
 (define-public python2-html5lib
   (package-with-python2 python-html5lib))
+
+
+(define-public urwid
+  (package
+(name "urwid")
+(version "1.3.0")
+(source
+ (origin
+  (method url-fetch)
+  (uri (string-append
+"https://pkgs.fedoraproject.org/repo/pkgs/python-urwid/urwid-1.3.0.tar.gz/a989acd54f4ff1a554add464803a9175/urwid-1.3.0.tar.gz";)) ;;upstream can't be used because Pypi don't have ETag headers in qoutes
+  (sha256
+   (base32
+"18mb0yy94sjc434rd61m2sfnw27sa0nyrszpj5a9r9zh7fnlzw19"
+(build-system python-build-system)
+(inputs `(("python-2" ,python-2)
+
+("python2-setuptools" ,python2-setuptools)))
+(home-page "urwid.org/")
+(synopsis "Console user interface library for Python")
+(description
+ "Urwid is a console user interface library for python. It includes many features useful for text
+console application")
+(license lgpl2.1)))
+
-- 
2.2.1


Re: [PATCH] gnu: Add urwid

2015-02-01 Thread Omar Radwan
Wow. I was in such a hurry I forgot to add the patch file
On Feb 1, 2015 2:56 PM, "Omar Radwan"  wrote:

> Here is a patch to add urwid, which is required for wicd, which I will be
> working on tomorrow, and hopefully finish by next week.
>


[PATCH] gnu: Add urwid

2015-02-01 Thread Omar Radwan
Here is a patch to add urwid, which is required for wicd, which I will be
working on tomorrow, and hopefully finish by next week.


Re: wicd porting so far.

2015-02-01 Thread Omar Radwan
Ok, so far, I've got the build environment setup, but I realized that I
must have urwid to get an ncurses interface in wicd, so I'm doing that
first. Here is the urwid.scm http://paste.lisp.org/display/14553 before you
point out anything, I plan to put it on the python.scm file, just not right
now because I don't want to get confused or anything. Here is the error
file after I ./configure, make, ./pre-inst-env guix build urwid
http://paste.lisp.org/display/145537 Also notice that I didn't change the
hash, it's the same one as the less.scm hash. I still don't know how to
generate the base32 string. Any help is greatly appreciated.

On Sat, Jan 31, 2015 at 7:08 PM, David Thompson 
wrote:

> Omar Radwan  writes:
>
> >>You need to run the './bootstrap' script first.  See the 'HACKING' file
> >>for more details about building from git.
> >
> > after install autoconf as the hacking file suggested, the ./bootstrap now
> > complains about not having autopoint to run
>
> You must also install GNU Gettext, also mentioned in the HACKING file.
>
> --
> David Thompson
> Web Developer - Free Software Foundation - http://fsf.org
> GPG Key: 0FF1D807
> Support the FSF: https://fsf.org/donate
>


Re: Installation media requests

2015-01-31 Thread Omar Radwan
>In my opinion, the installation media needs 2 features: Colemak and
wireless instructions.

Colemak is not very widely used, but I'm not in charge of that, so I don't
know if it'll happen. While wireless right now is in the works. And I would
expect it to be in by 0.9.

On Sat, Jan 31, 2015 at 7:02 PM, Kete Foy  wrote:

> In my opinion, the installation media needs 2 features: Colemak and
> wireless instructions.
>
>


Re: wicd porting so far.

2015-01-31 Thread Omar Radwan
>You need to run the './bootstrap' script first.  See the 'HACKING' file
>for more details about building from git.

after install autoconf as the hacking file suggested, the ./bootstrap now
complains about not having autopoint to run


On Sat, Jan 31, 2015 at 6:58 PM, David Thompson 
wrote:

> Omar Radwan  writes:
>
> >>Then make && ./pre-inst-env guix build wicd
> >
> > For starters, the make command returns an error
> > "make: *** No targets specified and no makefile found. Stop."
> >
> > Though there clearly are 2 makefiles. Makefile.in and Makefile.am
>
> You need to run the './bootstrap' script first.  See the 'HACKING' file
> for more details about building from git.
>
> --
> David Thompson
> Web Developer - Free Software Foundation - http://fsf.org
> GPG Key: 0FF1D807
> Support the FSF: https://fsf.org/donate
>


Re: wicd porting so far.

2015-01-31 Thread Omar Radwan
>Then make && ./pre-inst-env guix build wicd

For starters, the make command returns an error
"make: *** No targets specified and no makefile found. Stop."

Though there clearly are 2 makefiles. Makefile.in and Makefile.am

On Sat, Jan 31, 2015 at 11:27 AM, Cyril Roelandt  wrote:

> Hey,
>
> On 01/31/2015 08:21 PM, Omar Radwan wrote:
> > To begin with, I haven't gotten very far.
> >
> > I'm reading through the manual, and the first thing I figured out what to
> > do is write the package definition, http://pastebin.com/2q7LCv2i .
> >
> > I'm not sure what exactly to do with it, it was something about putting
> it
> > in the guix build tree. Though I'm not 100% sure what that is.
> >
>
> Clone the git repository:
>
> git clone git://git.savannah.gnu.org/guix.git
>
> Then cd guix and copy your recipe in gnu/packages/wicd.scm.
>
> Then make && ./pre-inst-env guix build wicd
>
> There will likely be a bunch of errors that you will have to figure out
> how to fix :) Do not hesitate to ask for help either on this
> mailing-list or on #guix on Freenode.
>
>
> Cyril.
>


wicd porting so far.

2015-01-31 Thread Omar Radwan
To begin with, I haven't gotten very far.

I'm reading through the manual, and the first thing I figured out what to
do is write the package definition, http://pastebin.com/2q7LCv2i .

I'm not sure what exactly to do with it, it was something about putting it
in the guix build tree. Though I'm not 100% sure what that is.

Another thing that I'm a bit confused about is the base32 string in the
beginning of each store file in /gnu/store*, is it after you build a
package def, you "guix hash" it or is there another process.

And with the service definition for dmd, I think we can worry about that
later, after we've ported guix.


Re: Wireless networking in guix

2015-01-27 Thread Omar Radwan
>networkmanager is actively developed >and maintained with many people
>involved

>https <https://www.openhub.net/p/network-manager>://
<https://www.openhub.net/p/network-manager>www.openhub.net
<https://www.openhub.net/p/network-manager>/p/
<https://www.openhub.net/p/network-manager>network-
<https://www.openhub.net/p/network-manager>>manager
<https://www.openhub.net/p/network-manager>
>vs
>https <https://www.openhub.net/p/wicd>:// <https://www.openhub.net/p/wicd>
www.openhub.net <https://www.openhub.net/p/wicd>/p/
<https://www.openhub.net/p/wicd>wicd <https://www.openhub.net/p/wicd>

>also, networkmanager is a dependency >of GNOME

It makes no sense to not package both if we can. If we ever get GNOME on
guix, which requires us to do something about that systemd dependency, then
we can set network manager as default.
On Jan 27, 2015 7:26 AM, "Ondra Pelech"  wrote:

> On Tue, Jan 27, 2015 at 4:19 PM, Omar Radwan 
> wrote:
> >
> >> It doesn't seem to be the case:
> >>
> >>
> http://www.linuxfromscratch.org/blfs/view/svn/basicnet/networkmanager.html
> >
> > That's strangely peculiar. On debian, network manager wouldn't dare run
> > except with systemd installed.
>
> it is probably a matter of configuration -- no hard dependency outside of
> debian
>
> > But even if so, I still do think that wicd is
> > the better option.
>
> networkmanager is actively developed and maintained with many people
> involved
>
> https://www.openhub.net/p/network-manager
> vs
> https://www.openhub.net/p/wicd
>
> also, networkmanager is a dependency of GNOME
>
>
> best regards
>


Re: Wireless networking in guix

2015-01-27 Thread Omar Radwan
> It doesn't seem to be the case:
>
> http://www.linuxfromscratch.org/blfs/view/svn/basicnet/networkmanager.html

That's strangely peculiar. On debian, network manager wouldn't dare run
except with systemd installed. But even if so, I still do think that wicd
is the better option.


Re: Wireless networking in guix

2015-01-27 Thread Omar Radwan
>I’ve used wicd in the past, and I agree it >would be good to have it.
>It needs packaging and a service >definition, both of which should be
>relatively easy.

>Any takers?  :-)

>Ludo’.

I could try to port it as my first package. It seems trivial enough. I'm
pretty sure that I'll get stuck somewhere but I'll just drop by the irc if
that happens.


Wireless networking in guix

2015-01-26 Thread Omar Radwan
I recently purchased a ThinkPenguin Wireless USB adapter because I have a
built-in Intel wireless card to work with my Thinkpad. I've been spending
some time to get wireless up and running, and I can say with the utilities
like wpa-supplicant, iw, and ip, it's a very tedious process every time you
wanted to get your wireless network up and running. I think we should get a
wireless network manager, and I do not recommend NetworkManager since it
has a dependency on systemd and we don't have that. I would recommend wicd,
except that its development it practically dried up, but it's still usable,
I don't know of any other network managers, but maybe we should look into
it.


Re: A couple roadblocks using guix

2015-01-24 Thread Omar Radwan
   1. > Hmm could you paste the actual error?
   2.
   3. bash-4.3$ sudo guix system reconfigure /etc/config.scm
   4. guix system: error: failed to load operating system file
   '/etc/config.scm':
   5. ERROR: Wrong number of arguments to #
   6.
   7. And I'm 100 percent sure it's the dhcp-client-service declaration
   because when I take it out, guix system reconfigure works fine. And just in
   case, here's my config.scm
   8. """
   9. (use-modules (gnu)
   10. (gnu services xorg)
   11. (gnu services networking)
   12. (gnu packages emacs)
   13.  )
   14. (operating-system
   15.   (host-name "ShadyNet2")
   16.   (timezone "US/Pacific")
   17.   (locale "en_US.UTF-8")
   18.   (bootloader (grub-configuration (device "/dev/sda")))
   19.   (file-systems (cons (file-system
   20. (device "/dev/sda1")
   21. (title 'label)
   22. (mount-point "/")
   23. (type "ext4"))
   24.   %base-file-systems))
   25.  (users (list (user-account
   26. (name "omar")
   27. (group "users")
   28. (supplementary-groups '("wheel"
   29. "audio" "video"))
   30. (home-directory "/home/omar"
   31.   (packages (cons emacs %base-packages))
   32.   (services (cons (slim-service)
   (dhcp-client-service)%base-services)))
   33. """
   34.


On Sat, Jan 24, 2015 at 12:53 PM, Ludovic Courtès  wrote:

> Andreas Enge  skribis:
>
> > On Fri, Jan 23, 2015 at 09:43:34AM +0100, Ludovic Courtès wrote:
> >> So in general I agree it’s a good idea, and it’s easily done with
> >> ‘union-build’, so if people know of useful meta-packages, please
> >> send a patch.
> >
> > Why not an empty package with only propagated inputs?
>
> It would be equivalent if it worked, but it doesn’t.  :-)
> Currently a package has to produce something.
>
> Ludo’.
>
>


Re: A couple roadblocks using guix

2015-01-24 Thread Omar Radwan
Also, "guix package -i python" as user & root doesn't allow me to use it.

On Fri, Jan 23, 2015 at 10:09 PM, Omar Radwan 
wrote:

> >Yes:
>
> >  guix pull && guix system reconfigure /path/to/config.scm
>
> Thanks very much for that. But I still can't pass a (dhcp-client-service)
> in the services declaration, without getting an error that I wasn't passing
> enough arguments with that statement.
>
> On Fri, Jan 23, 2015 at 1:48 PM, Andreas Enge  wrote:
>
>> On Fri, Jan 23, 2015 at 09:43:34AM +0100, Ludovic Courtès wrote:
>> > So in general I agree it’s a good idea, and it’s easily done with
>> > ‘union-build’, so if people know of useful meta-packages, please
>> > send a patch.
>>
>> Why not an empty package with only propagated inputs?
>>
>> Andreas
>>
>>
>>
>


Re: A couple roadblocks using guix

2015-01-23 Thread Omar Radwan
>Yes:

>  guix pull && guix system reconfigure /path/to/config.scm

Thanks very much for that. But I still can't pass a (dhcp-client-service)
in the services declaration, without getting an error that I wasn't passing
enough arguments with that statement.

On Fri, Jan 23, 2015 at 1:48 PM, Andreas Enge  wrote:

> On Fri, Jan 23, 2015 at 09:43:34AM +0100, Ludovic Courtès wrote:
> > So in general I agree it’s a good idea, and it’s easily done with
> > ‘union-build’, so if people know of useful meta-packages, please
> > send a patch.
>
> Why not an empty package with only propagated inputs?
>
> Andreas
>
>
>


Re: A couple roadblocks using guix

2015-01-22 Thread Omar Radwan
>I think this is the same problem as <http://bugs.gnu.org/19119>, which
>was fixed a while back.

Is there any way to fix this problem for the time being without having to
wait for a release?

On Thu, Jan 22, 2015 at 12:49 PM, Ludovic Courtès  wrote:

> Omar Radwan  skribis:
>
> > One of the things is that during system initialization, the (gnu system
> > networking) module returns an error which reads "guix system: error:
> failed
> > to load operating system file '/mnt/etc/config.scm': (misc-error #f "~A
> ~S"
> > ("no code for module" (gnu system networking)) #f)
> > and that kind of makes things really annoying to manually restart
> > networking every reboot.
>
> There’s a typo in the 0.8 manual (which was fixed in fa1e31b8): it
> should read (gnu services networking).
>
> > Another thing is that is sort of a problem is during a windowmaker X
> > session, all my graphical applications(xterm, icecat, etc), are not
> listed
> > in the application menu and are not runnable
>
> I think this is the same problem as <http://bugs.gnu.org/19119>, which
> was fixed a while back.
>
> This suggests that it’s high time for a release.  ;-)
>
> > The last thing is that I have not found any meta-packages, which allow me
> > to install multiple packages that are needed for the same program, like
> for
> > instance, there is gcc, make, cmake, and all the bread-and-butter build
> > programs, but you have to name each in the "guix package -i *"
> declaration
> > to install, but if there was some metapackage, like buildessential (I
> come
> > from Debian).
>
> Right.  There’s one such meta-package, which is ‘gcc-toolchain’.
> Perhaps more are needed.
>
> OTOH, ‘guix environment’ can really do “meta-packages on demand”, so to
> speak, so I wonder whether things like ‘build-essential’ make so much
> sense in that context.
>
> WDYT?
>
> Thanks,
> Ludo’.
>


Re: A couple roadblocks using guix

2015-01-22 Thread Omar Radwan
>I think this is the same problem as >http://bugs.gnu.org/19119>
bugs.gnu.org /19119 >,
which
>was fixed a while back.

>This suggests that it’s high time for a >release.  ;-)

I don't think there where any big features added that are worthy of a 0.9
release yet. Its just a couple package updates, bug fixes, and a couple
feature additions. I think a 0.8.1 would be adequate.


Re: A couple roadblocks using guix

2015-01-22 Thread Omar Radwan
>Are you sure you included a proper module(s)?
>(use-modules (gnu)
>(gnu services ssh)
> (gnu services networking)
>(gnu services xorg)
 >   )

In the manual
https://www.gnu.org/software/guix/manual/guix.html#Networking-Services it
says The (gnu system networking) module provides services to configure the
network interface. Not (gnu services networking), I'll try that one though.


>This I experince too. In my opinion the reason is, that applications are
installed per user and the path to them is just in your ~/.guix->profile/.
I am not sure how WM searches for them, but definitely not in
~/.guix-profile, but I am not sure about this.

There must be a way around this since it probably searches in /bin and
/usr/bin, but their is a way to go around it if you could add the path
/gnu/store/*xterm(or whatever*/bin/xterm(or whatever

On Thu, Jan 22, 2015 at 5:02 AM, Adam Pribyl  wrote:

> On Wed, 21 Jan 2015, Omar Radwan wrote:
>
>  I'm trying to install guix on my laptop(finally got the thinkpenguin wifi
>> card), after reading through the manual, I have everything setup, except
>> there are a couple bumps on the road.
>>
>> One of the things is that during system initialization, the (gnu system
>> networking) module returns an error which reads "guix system: error:
>> failed
>> to load operating system file '/mnt/etc/config.scm': (misc-error #f "~A
>> ~S"
>> ("no code for module" (gnu system networking)) #f)
>> and that kind of makes things really annoying to manually restart
>> networking every reboot.
>>
>
> Are you sure you included a proper module(s)?
> (use-modules (gnu)
>  (gnu services ssh)
>  (gnu services networking)
>  (gnu services xorg)
>  )
>
> (btw use guix system reconfigure /config.scm if you have already installed
> system)
>
>  Another thing is that is sort of a problem is during a windowmaker X
>> session, all my graphical applications(xterm, icecat, etc), are not listed
>> in the application menu and are not runnable, and I would think it has
>> something to do with user permissions, but an X session in root also
>> doesn't let me run them.
>>
>
> This I experince too. In my opinion the reason is, that applications are
> installed per user and the path to them is just in your ~/.guix-profile/. I
> am not sure how WM searches for them, but definitely not in
> ~/.guix-profile, but I am not sure about this.
>
>
>  The last thing is that I have not found any meta-packages, which allow me
>> to install multiple packages that are needed for the same program, like
>> for
>> instance, there is gcc, make, cmake, and all the bread-and-butter build
>> programs, but you have to name each in the "guix package -i *" declaration
>> to install, but if there was some metapackage, like buildessential (I come
>> from Debian).
>>
>>
>> That last peeve is really just a missing feature, I do understand that it
>> will take some time to implement and I'm not really demanding it, just
>> extremely recommending it. But the first 2 are definitely problems that I
>> really hope someone could help me with.
>>
>>
> Adam Pribyl
>
>


A couple roadblocks using guix

2015-01-21 Thread Omar Radwan
I'm trying to install guix on my laptop(finally got the thinkpenguin wifi
card), after reading through the manual, I have everything setup, except
there are a couple bumps on the road.

One of the things is that during system initialization, the (gnu system
networking) module returns an error which reads "guix system: error: failed
to load operating system file '/mnt/etc/config.scm': (misc-error #f "~A ~S"
("no code for module" (gnu system networking)) #f)
and that kind of makes things really annoying to manually restart
networking every reboot.

Another thing is that is sort of a problem is during a windowmaker X
session, all my graphical applications(xterm, icecat, etc), are not listed
in the application menu and are not runnable, and I would think it has
something to do with user permissions, but an X session in root also
doesn't let me run them.

The last thing is that I have not found any meta-packages, which allow me
to install multiple packages that are needed for the same program, like for
instance, there is gcc, make, cmake, and all the bread-and-butter build
programs, but you have to name each in the "guix package -i *" declaration
to install, but if there was some metapackage, like buildessential (I come
from Debian).


That last peeve is really just a missing feature, I do understand that it
will take some time to implement and I'm not really demanding it, just
extremely recommending it. But the first 2 are definitely problems that I
really hope someone could help me with.


Advanced Config Template

2015-01-19 Thread Omar Radwan
I'm trying to install guix in a way that I have X, tor and networking on
the fly right after install, but I'm having a very hard time with the
declaration services. This is my config.scm

(use-modules (gnu))

(operating-system
  (host-name "Atom")
  (timezone "US/Pacific")
  (locale "en_US.UTF-8")
  (bootloader (grub-configuration (device "/dev/sda")))
  (file-systems (cons (file-system
(device "/dev/sda1")
(mount-point "/")
(type "ext4"))
  %base-file-systems))
  (users (list (user-account
(name "omar")
(group "users")


(supplementary-groups '("wheel"
"audio" "video"))
(home-directory "/home/omar")




I'm not sure how I would exactly be able to do it, but I barely know
anything about Scheme and how its functions work, I hope I'm not
wasting anyones time by asking a stupid question like this, and I hope
someone would be able to help me.


Re: ROADMAP in git tree needs to be updated.

2014-12-29 Thread Omar Radwan
>I’m tempted to remove the file >altogether, because that’s not really the
>preferred way to communicate about >this, and is bound to become
>outdated.

I think removing it is a bad idea because a roadmap gives you an idea of
what is planning to be implemented and the goal. Estimations make people
hopeful. And putting in the source tree helps a lot

I think we need to rewrite the roadmap from scratch.
On Dec 29, 2014 1:11 PM, "Ludovic Courtès"  wrote:

> Omar Radwan  skribis:
>
> > I was browsing the guix git tree the other day, and I was reading the
> > ROADMAP file, and I found it extremely outdated. It talks about Guix 1.0
> > being released in time for GNU's 30th anniversary. I think it needs a
> > rewrite
>
> Yeah.  (Though it also starts with two paragraphs explaining that this
> is historical, and giving a link to a more recent road map.)
>
> I’m tempted to remove the file altogether, because that’s not really the
> preferred way to communicate about this, and is bound to become
> outdated.
>
> Thoughts?
>
> Ludo’.
>


ROADMAP in git tree needs to be updated.

2014-12-29 Thread Omar Radwan
I was browsing the guix git tree the other day, and I was reading the
ROADMAP file, and I found it extremely outdated. It talks about Guix 1.0
being released in time for GNU's 30th anniversary. I think it needs a
rewrite


Re: Is help wanted?Needed?

2014-12-24 Thread Omar Radwan
Ok, I'll check that out.

About packaging, is there a specific build script that I have to use, like
the SlackBuild? Or is there another way. I've never packaged software for
any distro before, but I have compiled for personal use. Is there like a
manual or something that can help me?
On Dec 24, 2014 12:40 PM, "rekado"  wrote:

> Omar Radwan writes:
> > I could see into doing all that. How about documentation? I'm fluent with
> > English, And Arabic. Is there help needed there?
>
> I'm not familiar with exactly how translations are handled, but I think
> it's done on <http://translationproject.org/domain/guix.html>.  There's
> an English template file for which translations can be submitted.  At
> the moment there does not seem to be an Arabic translation.
>
> The Texinfo sources for the official manual are included in the
> git repository checkout in the ./doc directory.
>
>


Re: Is help wanted?Needed?

2014-12-24 Thread Omar Radwan
>One way to contribute is by using Guix >as a package manager on top of an
>existing GNU/Linux distribution and to >report bugs.  Another way is to
>try to package up missing free >software that you would like to be
>available through Guix.  Writing >package specifications is not very
>difficult and requires hardly any >programming experience at all.

I could see into doing all that. How about documentation? I'm fluent with
English, And Arabic. Is there help needed there?
On Dec 24, 2014 11:56 AM, "rekado"  wrote:

> Omar Radwan writes:
> > I want to help out with guix and dmd development, but the problem is
> that I
> > am not a very experienced programmer at all. I was wondering what other
> > ways are there for me to help out?
>
> One way to contribute is by using Guix as a package manager on top of an
> existing GNU/Linux distribution and to report bugs.  Another way is to
> try to package up missing free software that you would like to be
> available through Guix.  Writing package specifications is not very
> difficult and requires hardly any programming experience at all.
>
> Be sure to visit the IRC channel #guix on freenode to get help in
> getting started.
>
> -- rekado
>
>


Is help wanted?Needed?

2014-12-24 Thread Omar Radwan
Hello,

I want to help out with guix and dmd development, but the problem is that I
am not a very experienced programmer at all. I was wondering what other
ways are there for me to help out?


Re: Running X on Guix 0.8

2014-11-24 Thread Omar Radwan
Can't I just use deco?
On Nov 24, 2014 6:25 AM, "Ludovic Courtès"  wrote:

> Currently the easiest way to get X running is to use ‘slim-service’:
>
>   http://www.gnu.org/software/guix/manual/guix.html#X-Window
>
> Add it to the operating system declaration, like:
>
>   (operating-system
> ;; ...
> (services (cons (slim-service) %base-services)))
>
> Then ‘guix system reconfigure config.scm’, restart, and the system
> should get straight to the graphical log-in screen (SLiM).
>
> HTH!
>
> Ludo’.
>


Running X on Guix 0.8

2014-11-23 Thread Omar Radwan
I'm running Guix on one of my computers, I've installed icecat, xorg, and
windowmaker. I was wondering whether it was possible to run X.


PXE boot.

2014-11-20 Thread Omar Radwan
I want to try out Guix 0.8 on one of my devices. The problem is that it's
very old and doesn't support booting from USB's. So I was wondering if I
could PXE boot. Is that possible with Guix? Or is there any other way?


Re: When can we expect a version 1.0 of the GNU Operating System?

2014-11-20 Thread Omar Radwan
>I came across GNU Guix [1] last year. At that time, they had plans to
>build a standalone distribution of the GNU Operating System. I watched
>GNU Guix developers work during this year and they did build a
>standalone distribution. [2] But the name of this distribution is GNU
>Guix (the same name of the package manager). If Guix is the GNU package
>manager and integrates the components of GNU, why can't the resulting
>distribution be called The GNU Operating System (or GNU, for short)? [3]

Guix is a distribution of GNU, so far the only distribution than is
officially under the umbrella of the GNU project.


>Because this will incentivise people to say that that "Acme Linux",
referring to GNU+Linux, "is not GNU, because GNU is only available >from
gnu.org" which would be misleading.
>"Acme GNU" or "GNU Acme" or "Acme GNU+Linux" are all the GNU operating
system.

Technically, its not GNU, it's GNU/Linux, GNU is running on top of Linux.
But if GNU was running on HURD, I think it would just be called GNU because
HURD is part of GNU.


On Thu, Nov 20, 2014 at 2:32 PM, Dave Crossland  wrote:

> Hi
>
> Personal opinion only
>
> On 20 November 2014 15:42, Felipe López 
> wrote:
>
>>
>> I'd like to know what is
>> holding the GNU developers back from releasing the first version of the
>> GNU Operating System.
>>
>
> It was released in the early 90s, with the Linux kernel substituted for
> HURD.
>
>
>> why can't the resulting
>> distribution be called The GNU Operating System (or GNU, for short)?
>>
>
> Because this will incentivise people to say that that "Acme Linux",
> referring to GNU+Linux, "is not GNU, because GNU is only available from
> gnu.org" which would be misleading.
>
> "Acme GNU" or "GNU Acme" or "Acme GNU+Linux" are all the GNU operating
> system.
>
> --
> Cheers
> Dave
>


Re: [ART] Background image for GRUB

2014-11-05 Thread Omar Radwan
>I wonder if RMS has a good argument to justify his insistence in the
>truthfulness of the equation 'GNU = GNU/Hurd' beyond the well-known
>historical and technical ones.

I see where you get that idea from. Linux-libre is just a deblobbed fork of
the Linux kernel and the project which manages Linux-libre is a GNU
project,
But it's not the real GNU kernel, so it would still have to be called
GNU/Linux-libre, or GNU/Linux. And with Linux-libre, and almost all forked
projects that I have ever seen(MATE, Trinity, illumos, openIndiana, and the
*BSD's to some extent), there is usually too much code for the project to
handle, and it becomes a mess. The Linux kernel is approximately ~10
million lines of code, with a huge team, very hard to just fork it and make
it your own. While the HURD is much smaller(with Mach I think I've read
somewhere that it's about 200,000 lines of code) codebase wise. And it is
written in GNU C style and doesn't have many small "hack" or shortcuts
taken by the Linux kernel to achieve very fast speeds.
On Wed, Nov 5, 2014 at 6:09 AM, Bruno Félix Rezende Ribeiro <
oitofe...@gnu.org> wrote:

> l...@gnu.org (Ludovic Courtès) wrote:
>
> > Agreed.  But note that RMS asked me to not insist on calling the OS
> > “the GNU system”, at least for now (AIUI, his main concern is that
> > GNU = GNU/Hurd, which is not currently supported.)
>
> I wonder if RMS has a good argument to justify his insistence in the
> truthfulness of the equation 'GNU = GNU/Hurd' beyond the well-known
> historical and technical ones.
>
> From a strategical perspective, I fail to see why the distinction
> between GNU/Linux-libre and GNU/Hurd could be of any relevance.  IMHO,
> calling both simply "GNU" would help in the promotion of the GNU
> project and its ideals.  That would not cause confusion, because GNU
> would be defined as an operating system of multiple kernels, and
> technical-inclined people would always know how to tell the difference
> when needed or appropriate.
>
> --
>  ,= ,-_-. =.  Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
> ((_/)o o(\_)) There is no system but GNU;
>  `-'(. .)`-'  GNU Linux-Libre is one of its official kernels;
>  \_/  All software must be free as in freedom;
>
>
>


Re: How to package software for guix?

2014-11-05 Thread Omar Radwan
On Nov 4, 2014 11:10 PM, "宋文武"  wrote:

> Omar Radwan  writes:
>
>
> >Hi, I'm interesting in in packaging lxqt too :)
> >I think the best start point is using any IRC client, join #guix at
> freenode!
>
> I'll go by there over the weekend and start any experimental packaging
then, I'm far too busy with school this week.


How to package software for guix?

2014-11-04 Thread Omar Radwan
I wanna get into guix development. Since I don't know any programming, I
would be most useful in packaging software for guix. I want to package
lxqt. I know qt5 is in the guix repo. So it wouldn't be very hard to
package it, I think. But how do you package and upload software to the
repo? Do I have to sign up on anything or get a gnu email or something?


Re: Upstream Release Monitoring

2014-09-11 Thread Omar Radwan
Another way might be to create a program that checks all the source repos
of all the packages. When a new package source file with a higher version
number gets uploaded, guix automatically builds the package and uploads it.
On Sep 11, 2014 8:31 PM, "Jason Self"  wrote:

> With the number of packages available using Guix (and it seems to keep
> increasing) keeping up on the latest upstream versions manually is
> gonna be a pain. :) Shouldn't the checking be automated in some way?
> One idea might be to create a bug in the GNU Bug Tracker when a new
> upstream release is detected.
>


Re: On-line hackathon on Sep. 27-28?

2014-09-11 Thread Omar Radwan
I kinda "know" C. But I don't know how to make applications. Just really
basic things. I'm not a good artist. I don't have hardware that could run
guix at the moment. And I don't know if I could learn enough C or guile by
the September hackathon.
On Sep 11, 2014 2:17 PM, "Nikita Karetnikov"  wrote:

> > How could a non programmer help?
>
> How would you like to help?  For instance, would you like to learn how
> to program?
>
> In any case, the good first step is to install Guix and play around.
> Look at the command line tools, read the documentation.  Have a problem?
> Ask on the #guix channel on Freenode, document the solution, and send a
> patch.  Read on the ‘diff’, ‘patch’, and ‘git format-patch’ commands if
> necessary.
>
> Learn how to write package recipes.  There is a good (though a bit
> outdated) intro [1].  What programs do you use daily?  Are they
> available in the distribution?  Start with something simple, or look for
> outdated versions and submit updates.
>
> Are you familiar with graphics editors?  Contribute artwork.
>
> [1] https://gnu.org/software/guix/guix-ghm-andreas-20130823.pdf
>


Re: On-line hackathon on Sep. 27-28?

2014-09-11 Thread Omar Radwan
How could a non programmer help?
On Sep 11, 2014 5:41 AM, "Ludovic Courtès"  wrote:

> Hello!
>
> Last year we had an “on-line hackathon” to celebrate GNU’s 30th
> birthday¹.  While discussing on IRC, it seemed a good idea to similarly
> celebrate GNU’s 31st birthday, on the 27th and 28th of September.
>
> Tasks would include helping newcomers, packaging (see
> ), improving the
> operating system notably by adding new service definitions, hacking dmd,
> fixing bugs, etc.
>
> This should be accessible to anyone with experience with GNU/Linux
> packages.  People with experience in Guile Scheme would find additional
> things to work on, such as ‘guix import’ to import package definitions
> From other systems (PyPi, configure.ac, etc.), making ‘guix refresh’
> work for non-GNU packages, etc.
>
> How does that sound?  Perhaps we should setup a wiki page on
> libreplanet.org to collect ideas and a list of interested people?
>
> Ludo’.
>
> PS: The few of us living in Bordeaux may gather together somewhere.
>
> ¹ https://lists.gnu.org/archive/html/guix-devel/2013-09/msg00206.html
>


Re: What's the current state of HURD on Guix?

2014-09-11 Thread Omar Radwan
>However, the good news is: you can >help!  :-)  Help is very much welcome
>in this area, either on the packaging/>Guix side, or on the Hurd and libc
>side, or in Guix’s stand-alone >operating system support.

I would very much love to help with anything. Except I'm not much of a
programmer at all.
On Sep 11, 2014 7:19 AM, "Ludovic Courtès"  wrote:

> Omar Radwan  skribis:
>
> > Will it be usable by Guix stable?
>
> Eventually, yes.
>
> But as you can see, this is work in progress, and there are still lots
> to be done.  So it may be more than 6 months or a year before there’s a
> Guix-based GNU/Hurd you can boot into.
>
> However, the good news is: you can help!  :-)  Help is very much welcome
> in this area, either on the packaging/Guix side, or on the Hurd and libc
> side, or in Guix’s stand-alone operating system support.
>
> Thanks,
> Ludo’.
>


Re: What's the current state of HURD on Guix?

2014-09-11 Thread Omar Radwan
Will it be usable by Guix stable?
On Sep 10, 2014 10:37 PM, "Manolis Ragkousis"  wrote:

> Hello Omar
>
> I am the one working on that port. We are getting there, just more
> slowly cause I am working on some university projects.
>
> We had some issues with glibc/hurd which refused to build (the
> upstream version could not be built, whether the debian could) but
> thankfully with solved that, with lot's of help from the Hurd guys.
>
> Currently Ludovic uploaded the glibc/hurd related patches on the
> wip-hurd branch. Some small things need to be fixed and then it will
> be merged with master. I will send the related patch probably this
> week.
> Packages already part of guix: gnumach headers, mig, hurd headers.
>
> We are getting there :-)
>
> Thank you for your interest and I hope I answered your question.
> Manolis
>


What's the current state of HURD on Guix?

2014-09-10 Thread Omar Radwan
There was a HURD port of Guix that was "promised", and it's been like 6
months since the announcement, so I was wondering how far is it right now?


Re: Guix package wishlist on libreplanet.org

2014-09-10 Thread Omar Radwan
Why isn't the HURD on there?
On Sep 10, 2014 10:54 AM, "Andreas Enge"  wrote:

> On Fri, Sep 05, 2014 at 09:11:15AM -0400, David Thompson wrote:
> > Yesterday, some of us folks on the #guix IRC channel decided to create a
> > wiki page that lists software that people would like to see packaged.
>
> Nice initiative!
>
> > You can find the list here:
> > http://libreplanet.org/wiki/Group:Guix/Wishlist
>
> fetchmail was packaged by me almost a year ago, and I am using it since.
>
> Andreas
>
>
>


How is Guix going to able to install GNOME if it has a systemd dependency?

2014-09-04 Thread Omar Radwan
How is Guix going to be able to install GNOME if Guix uses dmd while GNOME
has a dependency for systemd? Will there be a compatiblity layer for
systemd scripts? Or will GNOME have to go back to being init-agnostic?