[gnu.org #881181] Package synopses and blurbs translation

2014-02-15 Thread Ineiev via RT
> [l...@gnu.org - Fri Feb 14 06:03:29 2014]:
> 
> "Ineiev via RT"  skribis:
> >
> > So, are we to change the source format of blurb items to HTML? if yes,
> > I'd file
> > a patch to bug-womb.
> 
> I became convinced that we (Guix) could just get files from the Web
> translators and patch occurrences of .  Really a hack, but it’s
> probably less intrusive for the rest of us.

Then there is no point in changing anything in womb (at least, not now).




Re: Guix under GNU’s umbrella for GSoC?

2014-02-15 Thread Felipe López
2014-02-12 15:29 GMT-05:00 Ludovic Courtès :

> Hello!
>
> So it is Summer of Code time again.
>
> If you have ideas, let’s discuss them, and then send an HTML fragment
> for .  Looks
> like we have the GNUnet idea that we could copy/paste from last year.
> Anything else?
>

How about the PackageKit bindings and the GUI for the package manager? [1]


>
> If you are an eligible student, it’s a good time to get in touch with us.
>

Too bad I'm not eligible.


[1] http://lists.gnu.org/archive/html/guix-devel/2014-02/msg00075.html

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


Re: [gnu.org #881181] Package synopses and blurbs translation

2014-02-15 Thread Ludovic Courtès
"Ineiev via RT"  skribis:

>> [l...@gnu.org - Fri Feb 14 06:03:29 2014]:
>> 
>> "Ineiev via RT"  skribis:
>> >
>> > So, are we to change the source format of blurb items to HTML? if yes,
>> > I'd file
>> > a patch to bug-womb.
>> 
>> I became convinced that we (Guix) could just get files from the Web
>> translators and patch occurrences of .  Really a hack, but it’s
>> probably less intrusive for the rest of us.
>
> Then there is no point in changing anything in womb (at least, not now).

Right.

Ludo’.



Re: [gnu.org #881181] Package synopses and blurbs translation

2014-02-15 Thread Ludovic Courtès via RT
"Ineiev via RT"  skribis:

>> [l...@gnu.org - Fri Feb 14 06:03:29 2014]:
>> 
>> "Ineiev via RT"  skribis:
>> >
>> > So, are we to change the source format of blurb items to HTML? if yes,
>> > I'd file
>> > a patch to bug-womb.
>> 
>> I became convinced that we (Guix) could just get files from the Web
>> translators and patch occurrences of .  Really a hack, but it’s
>> probably less intrusive for the rest of us.
>
> Then there is no point in changing anything in womb (at least, not now).

Right.

Ludo’.






Re: Guix under GNU’s umbrella for GSoC?

2014-02-15 Thread Ludovic Courtès
Felipe López  skribis:

> 2014-02-12 15:29 GMT-05:00 Ludovic Courtès :
>
>> Hello!
>>
>> So it is Summer of Code time again.
>>
>> If you have ideas, let’s discuss them, and then send an HTML fragment
>> for .  Looks
>> like we have the GNUnet idea that we could copy/paste from last year.
>> Anything else?
>>
>
> How about the PackageKit bindings and the GUI for the package manager? [1]

Definitely!

Would someone be willing to write a short description?  That’d be
great.

Thanks,
Ludo’.



Add GNUMach Headers

2014-02-15 Thread ΜΑΝΩΛΗΣ ΡΑΓΚΟΥΣΗΣ
The recipe for gnumach header files. Mig  and gnumach kernel patches coming
as soon as possible.
In order to build it in a 64 bit machine you have to use
"--system=i686-linux"

It's my first patch ,so please don't yell at me if I did something wrong :-)

Cheers,

Manolis 'phant0mas' Ragkousis


0001_gnu_Add_gnumach_headers
Description: Binary data


Re: Add GNUMach Headers

2014-02-15 Thread ΜΑΝΩΛΗΣ ΡΑΓΚΟΥΣΗΣ
Something went wrong with the file,I am very sorry
Here is the right one!



2014-02-15 20:45 GMT+00:00 ΜΑΝΩΛΗΣ ΡΑΓΚΟΥΣΗΣ :

> The recipe for gnumach header files. Mig  and gnumach kernel patches
> coming as soon as possible.
> In order to build it in a 64 bit machine you have to use
> "--system=i686-linux"
>
> It's my first patch ,so please don't yell at me if I did something wrong
> :-)
>
> Cheers,
>
> Manolis 'phant0mas' Ragkousis
>
From ff3ee75b23e33b0250ce64ba90969d2a8ad4c521 Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis 
Date: Sat, 15 Feb 2014 22:05:29 +
Subject: [PATCH] Add GNU Mach kernel headers

---
 gnu-system.am |  1 +
 gnu/packages/hurd.scm | 54 +++
 2 files changed, 55 insertions(+)
 create mode 100644 gnu/packages/hurd.scm

diff --git a/gnu-system.am b/gnu-system.am
index 8229cf0..7e68290 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -105,6 +105,7 @@ GNU_SYSTEM_MODULES =\
   gnu/packages/gxmessage.scm			\
   gnu/packages/help2man.scm			\
   gnu/packages/hugs.scm\
+  gnu/packages/hurd.scm\
   gnu/packages/icu4c.scm			\
   gnu/packages/idutils.scm			\
   gnu/packages/imagemagick.scm			\
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
new file mode 100644
index 000..0a6a9bc
--- /dev/null
+++ b/gnu/packages/hurd.scm
@@ -0,0 +1,54 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2014 Manolis Fragkiskos Ragkousis 
+;;;
+;;; 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 hurd)
+  #:use-module (guix licenses)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix build-system gnu))
+
+
+(define-public gnumach-headers
+  (package
+(name "gnumach-headers")
+(version "1.4")
+(source
+ (origin
+  (method url-fetch)
+  (uri (string-append "http://ftp.gnu.org.ua/gnu/gnumach/gnumach-";
+  version ".tar.gz"))
+  (sha256
+   (base32
+"0r371wsm7imx356p0xsls5hifb1gf9y90rm1phr0qkahbmfk9hlv"
+(build-system gnu-build-system)
+(arguments 
+ `( #:phases (alist-replace
+  'install 
+  (lambda _ (zero?
+ (system* "make" "install-data")))
+  (alist-delete
+   'build
+   %standard-phases))  
+#:tests? #f ))
+(home-page "https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html";)
+(synopsis "GNU Mach kernel headers")
+(description
+ "Headers of the GNU Mach kernel.")
+(license gpl2+)))
+;;TODO: package the rest of the components of the GNU Hurd system
-- 
1.8.5.3



Re: Add GNUMach Headers

2014-02-15 Thread Ludovic Courtès
Hello!

Thanks for the patch, and welcome!

This looks good to me, but as a welcome present ;-), I’ll do some
nitpicking so you can learn about the conventions in use.

ΜΑΝΩΛΗΣ ΡΑΓΚΟΥΣΗΣ  skribis:

> From ff3ee75b23e33b0250ce64ba90969d2a8ad4c521 Mon Sep 17 00:00:00 2001
> From: Manolis Ragkousis 
> Date: Sat, 15 Feb 2014 22:05:29 +
> Subject: [PATCH] Add GNU Mach kernel headers
>
> ---
>  gnu-system.am |  1 +
>  gnu/packages/hurd.scm | 54 
> +++

Please add a ChangeLog-style commit log entry (see the ‘HACKING’ file
for details.)

Also, we usually prefix with ‘gnu: ’ the subject line when changing
something under the gnu/ directory.

In general, see ‘git log’ when in doubt.  :-)

> +(source
> + (origin
> +  (method url-fetch)
> +  (uri (string-append "http://ftp.gnu.org.ua/gnu/gnumach/gnumach-";
> +  version ".tar.gz"))

This should be “mirror://gnu/gnumach/...” to allow the use of gnu.org
mirrors.

> +(arguments 
> + `( #:phases (alist-replace
  ^
There should be no space here.

> +  'install 
> +  (lambda _ (zero?
> + (system* "make" "install-data")))

Rather:

  (lambda _ ;; <- always skip a line after the lambda argument list
(zero? ...))

> +  (alist-delete
> +   'build
> +   %standard-phases))  
> +#:tests? #f ))
  ^
No space here.

> +;;TODO: package the rest of the components of the GNU Hurd system

No need to put it here, this is implicit.  :-)

Could you send an updated patch?

Thanks for diving into this!

Ludo’.



[PATCH] gnu: Add ttf-dejavu

2014-02-15 Thread Mark H Weaver
Hello all,

This font is derived from Bitstream Vera but includes glyphs for more
languages and also includes a serif font family.  The latin sans-serif
and monospace is the same as Bitstream Vera, or at least I'm not aware
of any difference.  It's a drop-in replacement with no downsides.

If you install this, I suggest that you remove the ttf-bitstream-vera
package at the same time, so that generic font names such as "Monospace"
will henceforth refer to DejaVu.  Emacs users will notice a big
improvement in the look of many of the non-latin character sets, as
demonstrated on the HELLO page (C-h h).

Note that you must run "fc-cache -fv" after installing this package to
rebuild your font cache, and Emacs won't pick it up until it is
restarted.

I haven't pushed this yet.  Comments and suggestions welcome.

  Mark


>From c1efb6a23eb6c55537b7f397dfe327fa882f5ef7 Mon Sep 17 00:00:00 2001
From: Mark H Weaver 
Date: Sat, 15 Feb 2014 20:32:57 -0500
Subject: [PATCH] gnu: Add ttf-dejavu.

* gnu/packages/fonts.scm (ttf-dejavu): New variable.
---
 gnu/packages/fonts.scm | 67 ++
 1 file changed, 67 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index c367a46..8ec59e4 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Ludovic Courtès 
+;;; Copyright © 2014 Mark H Weaver 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,6 +27,72 @@
 #:select (tar))
   #:use-module (gnu packages compression))
 
+(define-public ttf-dejavu
+  (package
+(name "ttf-dejavu")
+(version "2.34")
+(source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/dejavu/"
+ version "/dejavu-fonts-ttf-"
+ version ".tar.bz2"))
+ (sha256
+  (base32
+   "0pgb0a3ngamidacmrvasg51ck3gp8gn93w6sf1s8snwzx4x2r9yh"
+(build-system trivial-build-system)
+(arguments
+ `(#:modules ((guix build utils))
+   #:builder (begin
+   (use-modules (guix build utils))
+
+   (let ((tar  (string-append (assoc-ref %build-inputs
+ "tar")
+  "/bin/tar"))
+ (PATH (string-append (assoc-ref %build-inputs
+ "bzip2")
+  "/bin"))
+ (font-dir (string-append
+%output "/share/fonts/truetype"))
+ (conf-dir (string-append
+%output "/share/fontconfig/conf.avail"))
+ (doc-dir  (string-append
+%output "/share/doc/" ,name "-" ,version)))
+ (setenv "PATH" PATH)
+ (system* tar "xvf" (assoc-ref %build-inputs "source"))
+
+ (mkdir-p font-dir)
+ (mkdir-p conf-dir)
+ (mkdir-p doc-dir)
+ (chdir (string-append "dejavu-fonts-ttf-" ,version))
+ (for-each (lambda (ttf)
+ (copy-file ttf
+(string-append font-dir "/"
+   (basename ttf
+   (find-files "ttf" "\\.ttf$"))
+ (for-each (lambda (conf)
+ (copy-file conf
+(string-append conf-dir "/"
+   (basename conf
+   (find-files "fontconfig" "\\.conf$"))
+ (for-each (lambda (doc)
+ (copy-file doc
+(string-append doc-dir "/"
+   (basename doc
+   (find-files "." "\\.txt$|^[A-Z][A-Z]*$"))
+(native-inputs `(("source" ,source)
+ ("tar" ,tar)
+ ("bzip2" ,bzip2)))
+(home-page "http://dejavu-fonts.org/";)
+(synopsis "Vera font family derivate with additional characters")
+(description "DejaVu provides an expanded version of the Vera font family
+aiming for quality and broader Unicode coverage while retaining the original
+Vera style.  DejaVu currently works towards conformance with the Multilingual
+European Standards (MES-1 and MES-2) for Unicode coverage.  The DejaVu fonts
+provide serif, sans and monospaced variants.")
+(license
+ (license:x11-style
+  "http://dejavu-fonts.org/";
+
 (define-public ttf-bits

[PATCH] gnu: dmd: Sleep longer in tests, for slower machines

2014-02-15 Thread Mark H Weaver
I need this to successfully pass the dmd tests on the YeeLoong.

 Mark


>From d964bc6f49eba2ba2eed6481aa0a0ceb6dfbd4e5 Mon Sep 17 00:00:00 2001
From: Mark H Weaver 
Date: Sun, 16 Feb 2014 02:23:18 -0500
Subject: [PATCH] gnu: dmd: Sleep longer in tests, for slower machines.

* gnu/packages/patches/dmd-tests-longer-sleeps.patch: New file.
* gnu/packages/admin.scm (dmd): Add the patch.
* gnu-system.am (dist_patch_DATA): Add it.
---
 gnu-system.am  |  1 +
 gnu/packages/admin.scm |  3 +-
 gnu/packages/patches/dmd-tests-longer-sleeps.patch | 52 ++
 3 files changed, 55 insertions(+), 1 deletion(-)
 create mode 100644 gnu/packages/patches/dmd-tests-longer-sleeps.patch

diff --git a/gnu-system.am b/gnu-system.am
index a745b33..4db1cba 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -246,6 +246,7 @@ dist_patch_DATA =		\
   gnu/packages/patches/dbus-localstatedir.patch			\
   gnu/packages/patches/diffutils-gets-undeclared.patch		\
   gnu/packages/patches/dmd-getpw.patch\
+  gnu/packages/patches/dmd-tests-longer-sleeps.patch		\
   gnu/packages/patches/emacs-configure-sh.patch			\
   gnu/packages/patches/findutils-absolute-paths.patch		\
   gnu/packages/patches/flac-fix-memcmp-not-declared.patch	\
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 928d752..6998996 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -49,7 +49,8 @@
  (sha256
   (base32
"07mddw0p62fcphwjzgb6rfa0pjz5sy6jzbha0sm2vc3rqf459jxg"))
- (patches (list (search-patch "dmd-getpw.patch")
+ (patches (list (search-patch "dmd-getpw.patch")
+(search-patch "dmd-tests-longer-sleeps.patch")
 (build-system gnu-build-system)
 (arguments
  '(#:configure-flags '("--localstatedir=/var")))
diff --git a/gnu/packages/patches/dmd-tests-longer-sleeps.patch b/gnu/packages/patches/dmd-tests-longer-sleeps.patch
new file mode 100644
index 000..708000f
--- /dev/null
+++ b/gnu/packages/patches/dmd-tests-longer-sleeps.patch
@@ -0,0 +1,52 @@
+Increase sleep times in tests, for slower machines.
+
+Patch by Mark H Weaver .
+
+--- dmd/tests/basic.sh	2013-11-30 17:22:00.0 -0500
 dmd/tests/basic.sh	2014-02-16 02:18:34.036376953 -0500
+@@ -46,7 +46,7 @@
+ dmd -I -s "$socket" -c "$conf" -l "$log" &
+ dmd_pid=$!
+ 
+-sleep 1# XXX: wait till it's up
++sleep 3# XXX: wait till it's up
+ kill -0 $dmd_pid
+ test -S "$socket"
+ $deco status dmd | grep -E '(Start.*dmd|Stop.*test)'
+--- dmd/tests/respawn.sh	2013-12-01 16:50:37.0 -0500
 dmd/tests/respawn.sh	2014-02-16 02:19:16.958251953 -0500
+@@ -39,7 +39,7 @@
+ i=0
+ while ! test -f "$1" && test $i -lt 20
+ do
+-	sleep 0.3
++	sleep 1
+ 	i=`expr $i + 1`
+ done
+ test -f "$1"
+@@ -65,14 +65,14 @@
+#:provides '(test1)
+#:start (make-forkexec-constructor
+ 	"$SHELL" "-c"
+-	"echo \$\$ > $service1_pid ; while true ; do sleep 1 ; done")
++	"echo \$\$ > $service1_pid ; while true ; do sleep 3 ; done")
+#:stop  (make-kill-destructor)
+#:respawn? #t)
+  (make 
+#:provides '(test2)
+#:start (make-forkexec-constructor
+ 	"$SHELL" "-c"
+-	"echo \$\$ > $service2_pid ; while true ; do sleep 1 ; done")
++	"echo \$\$ > $service2_pid ; while true ; do sleep 3 ; done")
+#:stop  (make-kill-destructor)
+#:respawn? #t))
+ (start 'test1)
+@@ -82,7 +82,7 @@
+ dmd -I -s "$socket" -c "$conf" -l "$log" &
+ dmd_pid=$!
+ 
+-sleep 1# XXX: wait till it's up
++sleep 3# XXX: wait till it's up
+ kill -0 $dmd_pid
+ test -S "$socket"
+ $deco status test1 | grep started
-- 
1.8.4