Re: wip-libreoffice

2014-11-18 Thread John Darrington
Thanks Andraes,

Note that LO has some *very* specific dependencies.  In some cases, they have
even gone so far as to fork projects.  So it may be that we'll need to maintain
several versions of a package to satisfy everthing.

Anyway, I will keep an eye on the build and see if we can make it build to a 
succesfull
conclusion.  Anyone else interested can also chip in.

J'

On Tue, Nov 18, 2014 at 11:44:27PM +0100, Andreas Enge wrote:
 Hi John,
 
 I enabled only x86_64 for libreoffice (and all systems for its added
 dependencies) and created a jobset on hydra:
http://hydra.gnu.org/jobset/gnu/wip-libreoffice
 It should start building soon.
 
 Notice that graphite2 is already available in the distribution, so there is
 no need to add silgraphite.
 
 On Fri, Nov 14, 2014 at 08:17:38PM +0100, John Darrington wrote:
 > It might be safe to put some of them in master, but libreoffice being 
libreoffice
 > requires some of its dependencies to be configured in a very specific 
way.  I'm
 > not yet sure that all of them are correctly configured.
 
 Well, you can already add a patch for a dependency that builds, and modify 
it
 later if it needs tweaking.
 
 Andreas

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.



signature.asc
Description: Digital signature


Re: Help needed for screenshots

2014-11-18 Thread Bruno Félix Rezende Ribeiro
Em Tue, 18 Nov 2014 21:45:43 +0100
l...@gnu.org (Ludovic Courtès) escreveu:

> All in all, I’m happy to apply a patch that would move it to a
> different page, or make it smaller and light-grey, something like
> that.

Attached is a patch that fix the cluttering issue.  I've taken an
alternative design however: one that neither requires the creation
of another dedicated page, nor makes the JS license table always
visible on the main page.

The attached patch makes the logo of LibreJS float over the left
side of the footer's gray bar of links ("GNU home page ... Site map").
When the mouse cursor hovers over it, it expands to the full JS license
table, which is detached and floating over the main web page.  It's
simple, but works well.

This patch adds no Javascript code.  It adds only CSS code in-lined in
the page's header.

The file 'images.txz' contains the LibreJS logo, please extract it in
the root directory.

I hope it does the job.

-- 
 ,= ,-_-. =.  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;
--- guix.html.~1.107.~	2014-11-18 22:14:10.286872776 -0200
+++ guix.html	2014-11-19 02:05:19.950875208 -0200
@@ -11,6 +11,33 @@
 width: 640px;
 height: 480px;
   }
+
+  #librejs-widget {
+position: relative;
+  }
+
+  #librejs-widget > div {
+position: absolute;
+top: 18px;
+  }
+
+  #jslicense-labels1 {
+display: none;
+background: orange;
+  }
+
+  #jslicense-labels1 > thead {
+background: darkorange;
+  }
+
+  #librejs-widget:hover > div > a {
+display: none;
+  }
+
+  #librejs-widget:hover #jslicense-labels1 {
+display: block;
+  }
+
 
 
 
@@ -469,41 +496,48 @@
alt="GPL version 3" />
 
 
-
+
+  
 
-
-  
-  JavaScript Licensing Information
-  
-
-  Script
-  License
-  Source
-
-  
-  
-
-  jquery-1.11.1.min.js
-  http://www.jclark.com/xml/copying.txt";>Expat
-  jquery-1.11.1.js.gz
-
-
-  galleria-1.4.2.min.js
-  http://www.jclark.com/xml/copying.txt";>Expat
-  galleria-1.4.2.zip
-
-
-  
-	  galleria.classicmod.js
-  http://www.jclark.com/xml/copying.txt";>Expat
-  
-	
-	  jgehrcke-galleria-classicmod-4c43afe9a065.zip
-  
-
-  
-
+
+  
+	
+	  Script
+	  License
+	  Source
+	
+  
+  
+	
+	  jquery-1.11.1.min.js
+	  http://www.jclark.com/xml/copying.txt";>Expat
+	  jquery-1.11.1.js.gz
+	
+	
+	  galleria-1.4.2.min.js
+	  http://www.jclark.com/xml/copying.txt";>Expat
+	  galleria-1.4.2.zip
+	
+	
+	  
+	  galleria.classicmod.js
+	  http://www.jclark.com/xml/copying.txt";>Expat
+	  
+	
+	  jgehrcke-galleria-classicmod-4c43afe9a065.zip
+	  
+	
+  
+
+
+
+  
 
+  
+
 
 

Re: [PATCH] gnu: Add ttf-symbola. [gnu.org #954922]

2014-11-18 Thread Ian Denhardt
(sending this to both the fsf and the guix-devel mailing list)

Quoting Ludovic Courtès (2014-11-16 16:09:33)
> Ian Denhardt  skribis:
> 
> > Quoting Ludovic Courtès (2014-11-13 15:15:37)
> >> Did you hear from them?
> >
> > Finally, yes. Here's the full response:
> 
> Great, thanks.
> 
> > Quoting Donald R Robertson III (2014-11-11 10:57:53)
> 
> [...]
> 
> >> The best course of action would be to contact the author to try and
> >> clear up these issues. As you can see from our license list
> >> , however, there
> >> isn't a font license that we could really recommend that would cover the
> >> same ground as what the author has outlined. But we could work with him
> >> to try and get a better licensing situation. If you think it is worth
> >> pursuing, please let us know and we will contact them
> 
> It’s probably worth pursuing, although I can imagine they’d rather spend
> a reasonable effort on it.

Alright, I think we should contact him. My guess is he's not likely to
be very familiar with GNU/Linux or the Free Software community in
general (in addition to the licensing thing, the zip file contains
a .docx). I feel like if I draft a letter myself I'm likely to assume
too much knowledge.

Don, if the developers here agree, I'd appreciate it if you'd contact
the author, or perhaps draft a letter at least.

-Ian


signature.asc
Description: signature


Re: wip-libreoffice

2014-11-18 Thread Andreas Enge
Hi John,

I enabled only x86_64 for libreoffice (and all systems for its added
dependencies) and created a jobset on hydra:
   http://hydra.gnu.org/jobset/gnu/wip-libreoffice
It should start building soon.

Notice that graphite2 is already available in the distribution, so there is
no need to add silgraphite.

On Fri, Nov 14, 2014 at 08:17:38PM +0100, John Darrington wrote:
> It might be safe to put some of them in master, but libreoffice being 
> libreoffice
> requires some of its dependencies to be configured in a very specific way.  
> I'm
> not yet sure that all of them are correctly configured.

Well, you can already add a patch for a dependency that builds, and modify it
later if it needs tweaking.

Andreas




Re: Testing 0.8

2014-11-18 Thread Ludovic Courtès
Adam Pribyl  skribis:

> I am testing the 0.8 Guix release as announced. Installation went
> pretty smooth from USB. Noticed network devices are now renamed to
> "unique" names. Fine, but one should be careful when starting
> networking and "eth0" is missing.

Right, we should probably add a note in the manual.

> Just tried
> guix package -i mc
>
> to test it. Without substitutes this fails after long build at
> dependency "perl after 3600 seconds of silent". There is plenty of
> disk space this time (200GB) but I am probably still missing something
> essential to use guix as source based distro.
>
> From substitutes "mc" installs OK.

It sounds that either mc or one of its dependencies deadlocks,
presumably in a non-deterministic fashion.

Can you still see which build failed exactly?  You may be able to find
it out using “bzgrep -r silence /var/log/guix/drvs/”.

Thanks for testing!

Ludo’.



Re: [PATCH] gnu: Add some more gstreamer plugins

2014-11-18 Thread Ludovic Courtès
John Darrington  skribis:

> * gnu/packages/gstreamer.scm (gst-plugins-good): New variable.
> * gnu/packages/gstreamer.scm (gst-plugins-base): New inputs.

Please don’t repeat the file name, and list the newly-added dependencies.

> +(synopsis
> + "Plugins for the gstreamer multimedia library")

s/gstreamer/GStreamer/

> +(description
> + "GStreamer is a library for constructing graphs of media-handling
> +components.  The applications it supports range from simple Ogg/Vorbis
> +playback, audio/video streaming to complex audio (mixing) and video
> +(non-linear editing) processing.
> +
> +Applications can take advantage of advances in codec and filter technology
> +transparently.  Developers can add new codecs and filters by writing a
> +simple plugin with a clean, generic interface.
> +
> +GStreamer Good Plug-ins is a set of plug-ins that the developers consider to
> +have good quality code and correct functionality")
> +(license lgpl2.0+)))

Please remove the first two paragraphs, and add a sentence saying that
this package provides plug-ins.

OK to push with these changes, thank you!

Ludo’.



Re: new packages

2014-11-18 Thread Ludovic Courtès
Julien Lepiller  skribis:

> I just compiled hexchat, my favorite IRC client (a fork of XChat) and
> claws-mail, my favorite mail client (a fork of Sylpheed), so I could
> send the first recipe :).
>
> I don't really know where they should go (maybe mail.scm?), so I send
> them as scheme files. Do whatever you want with them.

Actually, could you send them as patches (one per package preferably),
like you did for Openbox?  :-)  That is easier to deal with.

mail.scm sounds like a good place for Claws-mail, and I think Hexchat
should go to messaging.scm.

Some comments inline:

>   #:use-module (gnu packages python)
>   #:use-module (gnu packages xml))
> ;; Note: could be great to add enchant

Leftover comment?

> (synopsis "IRC Client")

Rather “Graphical IRC client”.

> (description
>  "HexChat is an IRC client based on XChat, but unlike XChat it is 
> completely
> free for both Windows and Unix-like systems. Since XChat is opensource, it is
> perfectly legal.")

Everything in the distro is free software and “perfectly legal”, so no
need to mention it.  Could you instead just write a couple sentences
about what it technically looks like?

> (home-page "http://hexchat.net/";)
> (license gpl2)))

AFAICS, source files carry the “or any later version” clause, so it
should be ‘gpl2+’.

>  (uri (string-append "https://github.com/dinhviethoa/"; name 
> "/archive/" version ".tar.gz"))

 is 404.

Please wrap to 80 chars.

> (synopsis "A portable middleware for email access")

Remove “A”, and address other complaints ‘guix lint libetpan’ may have.

> (license (license:fsf-free 
> "http://raw.githubusercontent.com/dinhviethoa/libetpan/master/COPYRIGHT";

This file reads:

--8<---cut here---start->8---
Copyright (C) 2001 - 2005 - DINH Viet Hoa
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.
3. Neither the name of the libEtPan! project nor the names of its
   contributors may be used to endorse or promote products derived
   from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

This project contains code from sendmail, NetBSD,
RSA Data Security MD5 Message-Digest Algorithm, Cyrus IMAP.
--8<---cut here---end--->8---

This file is BSD-3 with small wording changes.  So I think the ‘license’
field should be: (bsd-style "file://COPYING"), with the previous
sentence as a comment.

> (synopsis "The Email client that bites!")

Rather something like “GTK-based graphical e-mail client”.

> (description
>  "Claws-Mail is an email client (and news reader) based on GTK+, featuring
> Quick Response
> Graceful, and sophisticated interface
> Easy configuration, intuitive operation
> Abundant features
> Extensibility
> Robustness and stability
>
> The appearance and interface are disgned to be familiar to new users coming 
> from
> other popular email clients, as well as experienced users. Almost all commands
> are accessible with the keyboard.
>
> The messages are managed in the standard MH format, which features fast access
> and data security. You'll be able to import your emails from almost any other
> email client, and export them just as easily.
>
> Lots of extra functionality, like an RSS aggregator, calendar, on laptop LED
> handling, are provided by extra plugins.")

The item list will not render well in user interfaces.  Also, could you
try to shorten it a bit?

Thanks!

Ludo’.



Re: [PATCH] gnu: Add Wine.

2014-11-18 Thread Ludovic Courtès
宋文武  skribis:

> From ff676fcd6a5086b700186751c0745e08769dbd4c Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= 
> Date: Sat, 15 Nov 2014 21:02:30 +0800
> Subject: [PATCH] gnu: Add Wine.
>
> * gnu/packages/wine.scm: New file.
> * gnu-system.am (GNU_SYSTEM_MODULES): Add it.

In light of our discussion yesterday on #guix and in an effort to move
forward, I went ahead and pushed that commit, with an additional
‘supported-systems’ field and more comments.

Thanks,
Ludo’.



Re: add openbox

2014-11-18 Thread Ludovic Courtès
I’ve just pushed it to master, and as two separate commits–I couldn’t
resist Andreas’ call.  ;-)

Thanks!

Ludo’.



Testing 0.8

2014-11-18 Thread Adam Pribyl
I am testing the 0.8 Guix release as announced. Installation went pretty 
smooth from USB. Noticed network devices are now renamed to "unique" 
names. Fine, but one should be careful when starting networking and "eth0" 
is missing.


Just tried
guix package -i mc

to test it. Without substitutes this fails after long build at dependency 
"perl after 3600 seconds of silent". There is plenty of disk space this 
time (200GB) but I am probably still missing something essential to use 
guix as source based distro.



From substitutes "mc" installs OK.


Regards

Adam Pribyl



Re: [PATCH] gnu: fix some issues cross-compiling glib

2014-11-18 Thread John Darrington
On Tue, Nov 18, 2014 at 09:36:10PM +0100, Ludovic Court??s wrote:
 John Darrington  skribis:
 
 > From: John Darrington 
 >
 > * gnu/packages/glib.scm (glib) : Moved inputs to native-inputs,
 >   and change "inputs" to "%build-inputs"
 
 OK for the former, but why the latter?  In general I think it???s
 stylistically better to refer to the ???inputs??? argument.

I don't know why,  but it fails to build with "inputs".  (assoc-ref "inputs" 
"bash")
returns #f  
 
 Also, what about somehow grouping big-rebuild changes together?  I???m
 slightly worried by the post-release chaos that might occur.  :-)
 Maybe core-updates, or maybe a more specific branch for
 cross-compilation fixes?

I can push it to core-updates if you like.  How big is big?  

 
-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.



signature.asc
Description: Digital signature


Re: Help needed for screenshots

2014-11-18 Thread Ludovic Courtès
David Thompson  skribis:

> I think moving the weblabels table to a separate page would be good.  It
> clutters the page footer.  If users *really* want to see the licenses
> and links to individual source files, they can click a link in the
> footer that brings them to the table.  However, LibreJS exists because
> most users *aren't* going to check that the JavaScript is free before
> running it, so we automate the process.
>
> I understand the rationale for weblabels, but I think they are a bad
> technical decision that has caused me lots of annoying issues when they
> mysteriously don't work.  I would much prefer a terse JSON
> representation of this data intended for a program to read.  Why scrape
> a web page when you have other options?  Why enforce markup restrictions
> on web developers?

Yeah I have mixed feelings.  On one hand, I sympathize with the
rationale of making it prominent that it’s not just a “page” but also
software that’s being distributed.  On the other hand, less clutter is
better.

All in all, I’m happy to apply a patch that would move it to a different
page, or make it smaller and light-grey, something like that.

Ludo’.



Re: [PATCH] gnu: fix some issues cross-compiling glib

2014-11-18 Thread Ludovic Courtès
John Darrington  skribis:

> From: John Darrington 
>
> * gnu/packages/glib.scm (glib) : Moved inputs to native-inputs,
>   and change "inputs" to "%build-inputs"

OK for the former, but why the latter?  In general I think it’s
stylistically better to refer to the ‘inputs’ argument.

Also, what about somehow grouping big-rebuild changes together?  I’m
slightly worried by the post-release chaos that might occur.  :-)
Maybe core-updates, or maybe a more specific branch for
cross-compilation fixes?

> +  ;; The following ought to be achieved by (native-self-input #t).
> +  ;; Unfortunately it seems to only set glib:out.  We want glib:bin

Missing period at end of sentence.

(And you found a bug!)

Thanks,
Ludo’.



[PATCH] gnu: Add some more gstreamer plugins

2014-11-18 Thread John Darrington
* gnu/packages/gstreamer.scm (gst-plugins-good): New variable.
* gnu/packages/gstreamer.scm (gst-plugins-base): New inputs.
---
 gnu/packages/gstreamer.scm |   57 +++-
 1 file changed, 56 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index a7ad2c7..27dbafe 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -23,9 +23,14 @@
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages xorg)
+  #:use-module (gnu packages xiph)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages xml))
@@ -95,6 +100,7 @@ This package provides the core library and elements.")
("glib" ,glib "bin")
("python" ,python-2)
 
+
 (define-public gst-plugins-base
   (package
 (name "gst-plugins-base")
@@ -108,9 +114,17 @@ This package provides the core library and elements.")
(base32
 "1s4pphbb5kpdh4rrmb8rala4sp499k4by59925k15xiz58xyhm4p"
 (build-system gnu-build-system)
-;; FIXME: Add more dependencies for further plugins.
 (inputs
  `(("glib" ,glib)
+   ("pango" ,pango)
+   ("libogg" ,libogg)
+   ("libtheora" ,libtheora)
+   ("libvorbis" ,libvorbis)
+   ("libx11" ,libx11)
+   ("zlib" ,zlib)
+   ("libXext" ,libxext)
+   ("libxv" ,libxv)
+   ("alsa-lib" ,alsa-lib)
("gstreamer" ,gstreamer)))
 (native-inputs
   `(("pkg-config" ,pkg-config)
@@ -141,6 +155,47 @@ simple plugin with a clean, generic interface.
 This package provides an essential exemplary set of elements.")
 (license lgpl2.0+)))
 
+
+(define-public gst-plugins-good
+  (package
+(name "gst-plugins-good")
+(version "1.0.10")
+(source
+ (origin
+  (method url-fetch)
+  (uri (string-append 
"http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-";
+  version ".tar.xz"))
+  (sha256
+   (base32
+"1bi8ci0jssi8bsa7wbmqcwphl579vvxpshn2qnaggiha13b440y6"
+(build-system gnu-build-system)
+(inputs
+ `(("glib" ,glib)
+   ("gstreamer" ,gstreamer)))
+(native-inputs
+  `(("pkg-config" ,pkg-config)
+("glib" ,glib "bin")
+("gst-plugins-base" ,gst-plugins-base)
+("python-wrapper" ,python-wrapper)))
+(arguments
+ `(#:tests? #f))
+(home-page "http://gstreamer.freedesktop.org/";)
+(synopsis
+ "Plugins for the gstreamer multimedia library")
+(description
+ "GStreamer is a library for constructing graphs of media-handling
+components.  The applications it supports range from simple Ogg/Vorbis
+playback, audio/video streaming to complex audio (mixing) and video
+(non-linear editing) processing.
+
+Applications can take advantage of advances in codec and filter technology
+transparently.  Developers can add new codecs and filters by writing a
+simple plugin with a clean, generic interface.
+
+GStreamer Good Plug-ins is a set of plug-ins that the developers consider to
+have good quality code and correct functionality")
+(license lgpl2.0+)))
+
 (define-public gst-plugins-base-0.10
   (package (inherit gst-plugins-base)
 (version "0.10.36")
-- 
1.7.10.4




Re: [PATCH] gnu: Add Glulxe.

2014-11-18 Thread Eric Bavier

宋文武 writes:

> * gnu/packages/games.scm (glkterm, glulxe): New variables.
> ---
>  gnu/packages/games.scm | 79 
> ++
>  1 file changed, 79 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index c9bb678..5859cbc 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -733,3 +733,82 @@ single player.  Mods and texture packs allow players to 
> personalize the game
>  in different ways.")
>  (home-page "http://minetest.net";)
>  (license license:lgpl2.1+)))
> +
> +(define glkterm
> +  (package
> +   (name "glkterm")
> +   (version "1.0.4")
> +   (source
> +(origin
> + (method url-fetch)
> + (uri (string-append "http://www.ifarchive.org/if-archive/programming/";
> + "glk/implementations/glkterm-104.tar.gz"))
> + (sha256
> +  (base32
> +   "0zlj9nlnkdlvgbiliczinirqygiq8ikg5hzh5vgcmnpg9pvnwga7"
> +   (build-system gnu-build-system)
> +   (propagated-inputs `(("ncurses" ,ncurses)))

Could you add a comment saying why ncurses needs to be propagated?

> +   (arguments
> +'(#:tests? #f ; no check target
> +  #:phases
> +  (alist-replace
> +   'install
> +   (lambda* (#:key outputs #:allow-other-keys)
> + (let ((out (assoc-ref outputs "out")))
> +   (mkdir out)
> +   (mkdir (string-append out "/include"))
> +   (copy-file "glk.h" (string-append out "/include/glk.h"))
> +   (copy-file "glkstart.h" (string-append out "/include/glkstart.h"))
> +   (copy-file "gi_blorb.h" (string-append out "/include/gi_blorb.h"))
> +   (copy-file "gi_dispa.h" (string-append out "/include/gi_dispa.h"))
> +   (copy-file "Make.glkterm" (string-append out 
> "/include/Make.glkterm"))
> +   (mkdir (string-append out "/lib"))
> +   (copy-file "libglkterm.a" (string-append out 
> "/lib/libglkterm.a"

This is a bit terse, IMHO.  Perhaps something like:

(let* ((out (assoc-ref outputs "out"))
   (inc (string-append out "/include")))
  (begin
(mkdir-p inc)
(for-each
  (lambda (f) (copy-file f (string-append inc "/" f)))
  '("glk.h" "glkstart.h" "gi_blorb.h" "gi_dispa.h" "Make.glkterm"))
(mkdir-p lib)
(copy-file "libglkterm.a" (string-append out "/lib/libglkterm.a"

> +   (alist-delete 'configure %standard-phases
> +   (home-page "http://www.eblong.com/zarf/glk/";)
> +   (synopsis "Curses.h Implementation of the Glk API")

"Curses implementation of the Glk API"?

Thanks!

-- 
Eric Bavier

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



[PATCH] gnu: Add Glulxe.

2014-11-18 Thread 宋文武
* gnu/packages/games.scm (glkterm, glulxe): New variables.
---
 gnu/packages/games.scm | 79 ++
 1 file changed, 79 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c9bb678..5859cbc 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -733,3 +733,82 @@ single player.  Mods and texture packs allow players to 
personalize the game
 in different ways.")
 (home-page "http://minetest.net";)
 (license license:lgpl2.1+)))
+
+(define glkterm
+  (package
+   (name "glkterm")
+   (version "1.0.4")
+   (source
+(origin
+ (method url-fetch)
+ (uri (string-append "http://www.ifarchive.org/if-archive/programming/";
+ "glk/implementations/glkterm-104.tar.gz"))
+ (sha256
+  (base32
+   "0zlj9nlnkdlvgbiliczinirqygiq8ikg5hzh5vgcmnpg9pvnwga7"
+   (build-system gnu-build-system)
+   (propagated-inputs `(("ncurses" ,ncurses)))
+   (arguments
+'(#:tests? #f ; no check target
+  #:phases
+  (alist-replace
+   'install
+   (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+   (mkdir out)
+   (mkdir (string-append out "/include"))
+   (copy-file "glk.h" (string-append out "/include/glk.h"))
+   (copy-file "glkstart.h" (string-append out "/include/glkstart.h"))
+   (copy-file "gi_blorb.h" (string-append out "/include/gi_blorb.h"))
+   (copy-file "gi_dispa.h" (string-append out "/include/gi_dispa.h"))
+   (copy-file "Make.glkterm" (string-append out 
"/include/Make.glkterm"))
+   (mkdir (string-append out "/lib"))
+   (copy-file "libglkterm.a" (string-append out "/lib/libglkterm.a"
+   (alist-delete 'configure %standard-phases
+   (home-page "http://www.eblong.com/zarf/glk/";)
+   (synopsis "Curses.h Implementation of the Glk API")
+   (description
+"Glk defines a portable API for applications with text UIs.  It was
+primarily designed for interactive fiction, but it should be suitable for many
+interactive text utilities, particularly those based on a command line.
+This is an implementation of the Glk library which runs in a terminal window,
+using the curses.h library for screen control.")
+   (license (license:fsf-free "file://README"
+
+(define-public glulxe
+  (package
+   (name "glulxe")
+   (version "0.5.2")
+   (source
+(origin
+ (method url-fetch)
+ (uri (string-append "http://www.ifarchive.org/if-archive/programming/";
+ "glulx/interpreters/glulxe/glulxe-052.tar.gz"))
+ (sha256
+  (base32
+   "19iw6kl8ncqcy9pv4gsqfh3xsa1n94zd234rqavvmxccnf3nj19g"
+   (build-system gnu-build-system)
+   (inputs `(("glk" ,glkterm)))
+   (arguments
+'(#:tests? #f ; no check target
+  #:make-flags
+  (let* ((glk (assoc-ref %build-inputs "glk")))
+(list (string-append "GLKINCLUDEDIR=" glk "/include")
+  (string-append "GLKLIBDIR=" glk "/lib")
+  (string-append "GLKMAKEFILE=" "Make.glkterm")))
+  #:phases
+  (alist-replace
+   'install
+   (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+   (mkdir-p bin)
+   (copy-file "glulxe" (string-append bin "/glulxe"
+   (alist-delete 'configure %standard-phases
+   (home-page "http://www.eblong.com/zarf/glulx/";)
+   (synopsis "Interpreter for Glulx VM")
+   (description
+"Glulx is a 32-bit portable virtual machine intended for writing and
+playing interactive fiction.  It was designed by Andrew Plotkin to relieve
+some of the restrictions in the venerable Z-machine format.  This is the
+reference interpreter, using Glk API.")
+   (license (license:fsf-free "file://README"
-- 
1.9.2




Re: Help needed for screenshots

2014-11-18 Thread Felipe López


On 18/11/14 08:51, David Thompson wrote:
> Bruno Félix Rezende Ribeiro  writes:
> 
>> Em Mon, 17 Nov 2014 16:13:16 +0100
>> l...@gnu.org (Ludovic Courtès) escreveu:
>>
>>> I’d rather remove the table altogether, unless LibreJS really uses it.
>>
>> LibreJS *really* needs it.  JavaScript License Web Labels is the
>> preferred, and practical, method for labeling third party scripts as
>> free [0].
>>
>>> And even if LibreJS uses it, I’d rather make it invisible.
>>
>> Wouldn't that defeat one of the purposes of the method's design?
>> People should have easy access to the source code of the programs they
>> are running.  If we hide the table, people won't easily find the source
>> code.  So, what would be the purpose of stating them as free in the
>> first place?
>>
>> I think the best solution is to make a separate page
>> 'javascript.html' with the table, and put a small, but prominent,
>> LibreJS logo linking to that page, like I did for my personal web site. 
> 
> I think moving the weblabels table to a separate page would be good.  It
> clutters the page footer.  If users *really* want to see the licenses
> and links to individual source files, they can click a link in the
> footer that brings them to the table.  However, LibreJS exists because
> most users *aren't* going to check that the JavaScript is free before
> running it, so we automate the process.
> 
> I understand the rationale for weblabels, but I think they are a bad
> technical decision that has caused me lots of annoying issues when they
> mysteriously don't work.  I would much prefer a terse JSON
> representation of this data intended for a program to read.  Why scrape
> a web page when you have other options?  Why enforce markup restrictions
> on web developers?
> 
> Sorry for the rant.
> 

I couldn't agree more with you :)


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

PGP Klefo ID  : 0x8A296B99
Fingrala marko: 7ED8 4963 C881 647C 9DA0 FDE6 881B 91ED 8A29 6B99



Re: Help needed for screenshots

2014-11-18 Thread David Thompson
Bruno Félix Rezende Ribeiro  writes:

> Em Mon, 17 Nov 2014 16:13:16 +0100
> l...@gnu.org (Ludovic Courtès) escreveu:
>
>> I’d rather remove the table altogether, unless LibreJS really uses it.
>
> LibreJS *really* needs it.  JavaScript License Web Labels is the
> preferred, and practical, method for labeling third party scripts as
> free [0].
>
>> And even if LibreJS uses it, I’d rather make it invisible.
>
> Wouldn't that defeat one of the purposes of the method's design?
> People should have easy access to the source code of the programs they
> are running.  If we hide the table, people won't easily find the source
> code.  So, what would be the purpose of stating them as free in the
> first place?
>
> I think the best solution is to make a separate page
> 'javascript.html' with the table, and put a small, but prominent,
> LibreJS logo linking to that page, like I did for my personal web site. 

I think moving the weblabels table to a separate page would be good.  It
clutters the page footer.  If users *really* want to see the licenses
and links to individual source files, they can click a link in the
footer that brings them to the table.  However, LibreJS exists because
most users *aren't* going to check that the JavaScript is free before
running it, so we automate the process.

I understand the rationale for weblabels, but I think they are a bad
technical decision that has caused me lots of annoying issues when they
mysteriously don't work.  I would much prefer a terse JSON
representation of this data intended for a program to read.  Why scrape
a web page when you have other options?  Why enforce markup restrictions
on web developers?

Sorry for the rant.

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate



[PATCH] gnu: fix some issues cross-compiling glib

2014-11-18 Thread John Darrington
From: John Darrington 

* gnu/packages/glib.scm (glib) : Moved inputs to native-inputs,
  and change "inputs" to "%build-inputs"
---
 gnu/packages/glib.scm |   47 ---
 1 file changed, 28 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index ac1b095..9fe016d 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -133,35 +133,44 @@ shared NFS home directories.")
   "bin"   ; glib-mkenums, gtester, etc.; depends on Python
   "doc")) ; 20 MiB of GTK-Doc reference
(inputs
-`(("coreutils" ,coreutils)
-  ("libffi" ,libffi)
+`(("libffi" ,libffi)
   ("zlib" ,zlib)
   ("tzdata" ,tzdata))) ; for tests/gdatetime.c
+
(native-inputs
 `(("gettext" ,gnu-gettext)
   ("dbus" ,dbus)  ; for GDBus tests
+  ("coreutils" ,coreutils)
   ("pkg-config" ,pkg-config)
+  ;; The following ought to be achieved by (native-self-input #t).
+  ;; Unfortunately it seems to only set glib:out.  We want glib:bin
+  ,@(if (%current-target-system) 
+`(("native-glib" ,glib "bin"))
+'())
   ("python" ,python-wrapper)
   ("perl" ,perl)  ; needed by GIO tests
   ("bash" ,bash)))
-   (arguments
-'(#:phases (alist-cons-before
-'build 'pre-build
-(lambda* (#:key inputs outputs #:allow-other-keys)
-  ;; For tests/gdatetime.c.
-  (setenv "TZDIR"
-  (string-append (assoc-ref inputs "tzdata")
- "/share/zoneinfo"))
 
-  ;; Some tests want write access there.
-  (setenv "XDG_CACHE_HOME" (getcwd))
-
-  (substitute* '("glib/gspawn.c"
- "glib/tests/utils.c"
- "tests/spawn-test.c")
-(("/bin/sh")
- (string-append (assoc-ref inputs "bash") "/bin/sh"
-%standard-phases)
+   (arguments
+`(#:phases 
+   (alist-cons-before
+'build 'pre-build
+(lambda* (#:key inputs outputs #:allow-other-keys)
+  ;; For tests/gdatetime.c.
+  (setenv "TZDIR"
+  (string-append (assoc-ref inputs "tzdata")
+ "/share/zoneinfo"))
+  
+  ;; Some tests want write access there.
+  (setenv "XDG_CACHE_HOME" (getcwd))
+  
+  (substitute* '("glib/gspawn.c"
+ "glib/tests/utils.c"
+ "tests/spawn-test.c")
+(("/bin/sh")
+ (string-append 
+  (assoc-ref %build-inputs "bash") "/bin/sh"
+%standard-phases)
 
   ;; Note: `--docdir' and `--htmldir' are not honored, so work around it.
   #:configure-flags (list (string-append "--with-html-dir="
-- 
1.7.10.4




GNU Guix 0.8 released

2014-11-18 Thread Ludovic Courtès
We are pleased to announce the release of GNU Guix version 0.8,
representing 811 commits by 22 people over 4 months.


• About

  GNU Guix is the functional package manager for the GNU system
  and a distribution thereof.

  In addition to standard package management features, Guix supports
  transactional upgrades and roll-backs, unprivileged package
  management, per-user profiles, and garbage collection.  It also offers
  a declarative approach to operating system configuration management.
  Guix uses low-level mechanisms from the Nix package manager, with
  Guile Scheme programming interfaces.

  The operating system uses the Linux-Libre kernel and the GNU dmd init
  system.  At this stage it can be used on an i686 or x86_64 machine.

  It is also possible to use Guix on top of an already installed
  GNU/Linux system, including on mips64el.

  http://www.gnu.org/software/guix/


• Download

  Here are the compressed sources and a GPG detached signature[*]:
ftp://alpha.gnu.org/gnu/guix/guix-0.8.tar.gz
ftp://alpha.gnu.org/gnu/guix/guix-0.8.tar.gz.sig

  Here are the bootable USB installation images and their signatures[*]:
ftp://alpha.gnu.org/gnu/guix/gnu-usb-install-0.8.i686-linux.xz
ftp://alpha.gnu.org/gnu/guix/gnu-usb-install-0.8.i686-linux.xz.sig
ftp://alpha.gnu.org/gnu/guix/gnu-usb-install-0.8.x86_64-linux.xz
ftp://alpha.gnu.org/gnu/guix/gnu-usb-install-0.8.x86_64-linux.xz.sig

  Use a mirror for higher download bandwidth:
http://www.gnu.org/order/ftp.html

  Here are the SHA1 checksums:

  763e1afeee4fa7e0522523231c06611b0488edda  guix-0.8.tar.gz
  89e3b020258f2ab44b308b73926994c1be4ff991  gnu-usb-install-0.8.i686-linux.xz
  556c268eb3a52a2bd8c074306747686d64ae094e  gnu-usb-install-0.8.x86_64-linux.xz


  [*] Use a .sig file to verify that the corresponding file (without the
  .sig suffix) is intact.  First, be sure to download both the .sig file
  and the corresponding tarball.  Then, run a command like this:

gpg --verify guix-0.8.tar.gz.sig

  If that command fails because you don't have the required public key,
  then run this command to import it:

gpg --keyserver keys.gnupg.net --recv-keys 3D9AEBB5

  and rerun the 'gpg --verify' command.

  This release was bootstrapped with the following tools:
Autoconf 2.69
Automake 1.14.1
Makeinfo 5.2


  To install the complete operating system, please see “System
  Installation” in the manual.


• Changes since version 0.7 (excerpt from the NEWS file)

  ** Package management

  *** New visual user interface in Emacs

  See “Emacs Interface” in the manual.

  *** New ‘guix environment’ command to produce development environment

  See “Invoking guix environment” in the manual.

  *** The ‘guix import’ command has been extended and documented

  It can now import packages from pypi.python.org and from GNU.
  See “Invoking guix import” in the manual.

  *** New ‘guix lint’ command, for use by Guix developers

  See “Invoking guix lint” in the manual.

  *** Packages can now be “grafted” with replacements of their dependencies

  See “Security Updates” in the manual.

  *** The distribution can be extended with ‘--load-path’ or $GUIX_PACKAGE_PATH

  This allows users to maintain their own package definitions, and make them
  visible to the various user interfaces.  See “Package Modules” in the manual.

  *** ‘guix package’ better reports package upgrades

  *** ‘guix package’ has a new ‘--switch-generation’ option

  See “Invoking guix package” in the manual.

  *** ‘guix-daemon’ has a new ‘--substitute-urls’ option

  See “Invoking guix-daemon” in the manual.

  ** Distribution

  *** The stand-alone operating system now supports Linux mapped devices

  See “Mapped Devices” in the manual.

  *** New fields in ‘operating-system’ declarations, better documentation

  New fields include ‘hosts-file’, ‘mapped-devices’, and ‘swap-devices’.
  See “operating-system Reference” in the manual.

  *** New services: ‘dhcp-client-service’, ‘bitlbee-service’, ‘ntp-service’

  See “Services” in the manual.

  *** Free firmware can be loaded

  This notably enables support for some Atheros-based WiFi devices (ath9k-htc.)
  See “operating-system Reference” in the manual.

  *** ‘grub-configuration’ declarations can now specify a theme

  See “GRUB Configuration” in the manual.

  *** The ‘base-initrd’ now has a different signature

  Existing uses in ‘operating-system’ declarations need to be updated.  See
  “Initial RAM Disk” in the manual for details.

  *** eudev is now used by default, instead of an old udev release

  *** ‘guix system vm’ has a new ‘--full-boot’ option

  See “Invoking guix system” in the manual.

  *** The ‘file’ command is now part of the package build environment

  Autoconf-generated ‘configure’ scripts for packages using Libtool use ‘file’
  to determine the target ABI, notably on MIPS, hence this change.

  *** 162 new packages

  abiword, acpica, adns, arb, ath9k-htc-firmware, atlas, avrdude, cpp