Re: Large git repositories

2015-01-23 Thread Ludovic Courtès
Andreas Enge  skribis:

> On Tue, Jan 13, 2015 at 11:32:25AM +0100, Ludovic Courtès wrote:
>> Andreas Enge  skribis:
>> > It looks like:
>> >--depth=1 --single-branch
>> > could be useful parameters for "git clone".
>> Yes, that’s what came to mind.
>> If it happens to be useful, we could extend ‘git-reference’ with a list
>> of extra parameters to pass to ‘git’.
>
> Actually, I have something else in mind. Currently, we accept commit hashes
> or branch/tag names.

It’s already possible, in the ‘commit’ field, to use anything that ‘git
checkout’ would accept, which includes a commit hash, a tag, or a branch
name.

> How about adding an additional parameter "branch?"  (in various
> places, when I looked at the code I think I understood where and would
> be willing to propose a patch)? If it is set, we can directly specify
> the branch/tag at clone, without the need for an additional checkout,
> and could also pass the parameters "--depth=1 --single-branch".
>
> Alternatively, we could also automatically distinguish commit hashes from
> branch/tag names, for instance, by imposing that always the long commit hash
> is used and assuming that a branch/tag name never equals a hexidecimal string
> of the corresponding length. But I prefer the additional parameter.

I see, that makes sense.

> In our case, we could then git clone the 1.5 GB once and for all and delete
> everything outside data/fonts (and in particular the huge .git). The result
> would be the source for a variety of android fonts (maybe to be placed into
> font-android.scm or the like).
>
> What do you think?

Those changes you propose would be fine, but still, it’s extra
complexity and I’m worried that it would be used essentially in a just
one place.  Is there really no other way to get these fonts?

Thanks,
Ludo’.



Re: sockets availability during build

2015-01-23 Thread Ludovic Courtès
Federico Beffa  skribis:

> I'm working on libupnp. The 'check phase gives the following error:
>
> Initializing UPnP ...
> ** ERROR UpnpInit(): -208 UPNP_E_SOCKET_ERROR
> FAIL: test_init
>
> In spite of this, if I "guix environment" and run the test binary it succeeds:
>
> Initializing UPnP ...
> UPnP Initialized OK ip=192.168.0.5, port=49152

I suspect the IP shown above is the result of:

  (getaddrinfo (gethostname))

or something like that.  DNS lookups don’t work in the chroot, except
for “localhost”, so you may have to patch tests that rely on this.
Sockets themselves should work fine.

HTH,
Ludo’.



Re: A couple roadblocks using guix

2015-01-23 Thread Ludovic Courtès
"Thompson, David"  skribis:

> However, because 'guix environment' doesn't manipulate a user's
> profile, I think that it would still be very useful to create these
> meta-packages.  For this specific case, yes, 'guix environment' can be
> used to fetch the necessary GCC toolchain to develop something, but
> what about non-development packages?  It would be very convenient to
> be able to run 'guix package -i xfce-desktop', for example.

Ah yes, good point.

I think we discussed Xfce specifically before, but I’m not sure why it
hasn’t landed.  宋文武?  :-)

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.

Thanks,
Ludo’.



Re: [PATCH] gnu: Add most debian patches to nvi.

2015-01-23 Thread Ludovic Courtès
Marek Benc  skribis:

> From e101c036615bb22b05744789fbc0f5ddb7f71413 Mon Sep 17 00:00:00 2001
> From: Marek Benc 
> Date: Thu, 22 Jan 2015 23:08:16 +0100
> Subject: [PATCH] gnu: nvi: Fix Berkely DB compatability issues.
>
> * gnu/packages/patches/nvi-db4.patch: New file.
> * gnu/packages/patches/nvi-dbpagesize-binpower.patch: New file.
> * gnu/packages/nvi.scm (nvi): Make use of them.
> * gnu-system.am (dist_patch_DATA): Add them.

Applied, thanks!

Ludo’.




Re: A couple roadblocks using guix

2015-01-23 Thread Ludovic Courtès
Omar Radwan  skribis:

>>I think this is the same problem as , 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?

Yes:

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

Ludo’.



Re: [PATCHv2] lint: add 'source' checker.

2015-01-23 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis:

> OK to push with these changes, thank you!

Ping!  :-)

Ludo’.



[PATCH]: Add GCJ

2015-01-23 Thread Ricardo Wurmus
Hi Guix,

this patch adds the GNU Compiler for Java to the gcc module.  We need
GCJ to build IcedTea6 / OpenJDK, which in turn could be used to build
IcedTea7.

GCJ unfortunately has a binary dependency, the Eclipse Compiler for
Java.  GCJ expects to be given the path of the ecj.jar at compile time.
ECJ is provided as ecj-bootstrap-4.8.  I don't know if GCJ is built such
that this ECJ binary is no longer required at the end (but I know that
IcedTea6 also needs the ECJ jar).  For IcedTea6 we could compile ECJ
from source with GCJ, but I don't know how to deal with GCJ's dependency
on ECJ.  Having it depend on a binary is ugly.

GCJ is built with options to create symlinks to function as a primitive
JDK.  It does not provide wrappers for javap and javac, so these are
added in an extra phase.  I took the javac perl wrapper from Gentoo, but
I suppose a script in Guile might be nicer (there is no official
upstream source for the wrapper script, so we might as well roll our
own).

Anyway, your comments are very welcome.

-- Ricardo


>From 56f43a9042853aca79f60808a51d328dfbe420a3 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus 
Date: Tue, 23 Dec 2014 12:31:50 +0100
Subject: [PATCH] gnu: Add GCJ

* gnu/packages/gcc.scm (gcj-4.8, ecj-bootstrap-4.8): New variable.
* gnu/packages/javac.in: New file.
---
 gnu/packages/gcc.scm  | 96 ++-
 gnu/packages/javac.in | 61 
 2 files changed, 156 insertions(+), 1 deletion(-)
 create mode 100644 gnu/packages/javac.in

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 276b986..67308bc 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -19,16 +19,18 @@
 
 (define-module (gnu packages gcc)
   #:use-module ((guix licenses)
-#:select (gpl3+ gpl2+ lgpl2.1+ lgpl2.0+))
+#:select (epl1.0 gpl3+ gpl2+ lgpl2.1+ lgpl2.0+))
   #:use-module (gnu packages)
   #:use-module (gnu packages bootstrap)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages elf)
+  #:use-module ((gnu packages perl) #:select (perl))
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system trivial)
   #:use-module (guix utils)
   #:use-module (ice-9 regex))
 
@@ -336,6 +338,98 @@ Go.  It also includes runtime support libraries for these languages.")
   ;; a cyclic dependency.  
   #:separate-lib-output? #f))
 
+(define-public gcj-4.8
+  (package (inherit gcc-4.8)
+(name "gcj")
+(inputs
+ (append (package-inputs gcc-4.8)
+ `(("fastjar"   ,fastjar)
+   ("perl"  ,perl)
+   ("javac.in"  ,(search-path %load-path
+  "gnu/packages/javac.in"))
+   ("ecj-bootstrap" ,ecj-bootstrap-4.8
+;; Suppress the separate "lib" output, because otherwise the
+;; "lib" and "out" outputs would refer to each other, creating
+;; a cyclic dependency.  
+(outputs
+ (delete "lib" (package-outputs gcc-4.8)))
+(arguments
+ (substitute-keyword-arguments `(#:modules ((guix build gnu-build-system)
+(guix build utils)
+(ice-9 regex)
+(srfi srfi-1)
+(srfi srfi-26))
+   ,@(package-arguments gcc-4.8))
+   ((#:configure-flags flags)
+`(let ((ecj (string-append (assoc-ref %build-inputs "ecj-bootstrap")
+   "/share/java/ecj.jar")))
+   (append (list "--enable-java-home"
+ "--enable-gjdoc"
+ (string-append "--with-ecj-jar=" ecj))
+(cons "--enable-languages=java"
+  (remove (cut string-match "--enable-languages.*" <>)
+  ,flags)
+((#:phases phases)
+ `(alist-cons-after
+   'install 'install-javac-and-javap-wrappers
+   (lambda _
+ (let* ((javac  (assoc-ref %build-inputs "javac.in"))
+(ecj(assoc-ref %build-inputs "ecj-bootstrap"))
+(gcj(assoc-ref %outputs "out"))
+(gcjbin (string-append gcj "/bin/"))
+(jvm(string-append gcj "/lib/jvm/"))
+(target (string-append jvm "/bin/javac")))
+
+   (symlink (string-append gcjbin "jcf-dump")
+(string-append jvm "/bin/javap"))
+
+   ;; Create javac wrapper from the template javac.in by
+   ;; replacing the @VARIABLES@ with paths.
+   (copy-file javac target)
+  

Guix package error when install xorg-server

2015-01-23 Thread Daniel Pimentel
Hi Guix, I tryed install xorg-server but the netpbm not found 
(download). This is URL 
http://www.multiprecision.org/guix/netpbm-10.61.01.tar.gz.drv that Guix 
try download.


P.S.: I tryed before and after use guix pull.

Help me please, thanks,

--
Daniel Pimentel (d4n1)



Re: Guix package error when install xorg-server

2015-01-23 Thread Andreas Enge
On Fri, Jan 23, 2015 at 09:41:47AM -0300, Daniel Pimentel wrote:
> Hi Guix, I tryed install xorg-server but the netpbm not found (download).
> This is URL http://www.multiprecision.org/guix/netpbm-10.61.01.tar.gz.drv
> that Guix try download.

Sorry, this is my mistake. As netpbm does not release tarballs, I downloaded
one from sourceforge and hosted it on my server. Which I tidied up the other
day... I just put it back (using a copy from hydra). However, it is (and
should be) a .tar.xz, not a .tar.gz.

Andreas




Re: Guix package error when install xorg-server

2015-01-23 Thread Ludovic Courtès
Daniel Pimentel  skribis:

> Hi Guix, I tryed install xorg-server but the netpbm not found
> (download). This is URL
> http://www.multiprecision.org/guix/netpbm-10.61.01.tar.gz.drv that
> Guix try download.

I seems that Andreas had set up a mirror for some reason, and the file
vanished.  Andreas?

In the meantime, you can work around it by enabling substitutes.  To do
that, you need to register hydra.gnu.org’s public key on your machine
(info "(guix) Substitutes").

HTH,
Ludo’.



Re: sockets availability during build

2015-01-23 Thread Federico Beffa
On Fri, Jan 23, 2015 at 9:38 AM, Ludovic Courtès  wrote:
> I suspect the IP shown above is the result of:
>
>   (getaddrinfo (gethostname))
>
> or something like that.  DNS lookups don’t work in the chroot, except
> for “localhost”, so you may have to patch tests that rely on this.
> Sockets themselves should work fine.

The error is produced by the system call "setsockopt". Here is the
part of the strace log showing the error:

...
write(4, "UpnpInit with HostIP=, DestPort="..., 35) = 35
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 6
ioctl(6, SIOCGIFCONF, {40, {{"lo", {AF_INET, inet_addr("127.0.0.1")) = 0
ioctl(6, SIOCGIFFLAGS, {ifr_name="lo",
ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0

...

bind(8, {sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
getsockname(8, {sa_family=AF_INET, sin_port=htons(42159),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
write(4, "\n***"..., 326) = 326
write(4, "sockfd = 8,  port = 42159\n", 30) = 30
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
setsockopt(9, SOL_IP, IP_MULTICAST_TTL, "\4", 1) = 0
fcntl(9, F_GETFL)   = 0x2 (flags O_RDWR)
fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK)= 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 10
setsockopt(10, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(10, {sa_family=AF_INET, sin_port=htons(1900),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
setsockopt(10, SOL_IP, IP_ADD_MEMBERSHIP, "\357\377\377\372\0\0\0\0",
8) = -1 ENODEV (No such device)
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f551880b000
write(3, "\n***"..., 326) = 326
write(3, "Error in setsockopt() IP_ADD_MEM"..., 79) = 79
shutdown(10, SHUT_RDWR) = -1 ENOTCONN (Transport
endpoint is not connected)
...

Outside of the build environment, when the test passes, I see the same
system call with the same parameters, but the call succeeds. The only
difference seems to be in the first part which looks like this

...
write(4, "UpnpInit with HostIP=, DestPort="..., 35) = 35
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 5
ioctl(5, SIOCGIFCONF, {80, {{"lo", {AF_INET, inet_addr("127.0.0.1")}},
{"eth0", {AF_INET, inet_addr("192.168.0.5")) = 0
ioctl(5, SIOCGIFFLAGS, {ifr_name="lo",
ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth0",
ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
close(5)= 0
...

and shows the additional device "eth0".

>From the above I understand that libupnp embedded server wants to
setup multicast, but, as far as I know, this doesn't work with the
"lo" interface and fails. I do not see a workaround. Anyone?

Regards,
Fede



Re: Guix package error when install xorg-server

2015-01-23 Thread Daniel Pimentel

On 2015-01-23 12:47, l...@gnu.org wrote:

Daniel Pimentel  skribis:


Hi Guix, I tryed install xorg-server but the netpbm not found
(download). This is URL
http://www.multiprecision.org/guix/netpbm-10.61.01.tar.gz.drv that
Guix try download.


I seems that Andreas had set up a mirror for some reason, and the file
vanished.  Andreas?

In the meantime, you can work around it by enabling substitutes.  To do
that, you need to register hydra.gnu.org’s public key on your machine
(info "(guix) Substitutes").

HTH,
Ludo’.
Thank you Ludo and Guix, I used: guix archive --autorize < 
/gnu/store/.../share/guix/hydra.gnu.org.pub


It works. :D

--
Daniel Pimentel (d4n1)



Re: Guix package error when install xorg-server

2015-01-23 Thread Ludovic Courtès
Andreas Enge  skribis:

> On Fri, Jan 23, 2015 at 09:41:47AM -0300, Daniel Pimentel wrote:
>> Hi Guix, I tryed install xorg-server but the netpbm not found (download).
>> This is URL http://www.multiprecision.org/guix/netpbm-10.61.01.tar.gz.drv
>> that Guix try download.
>
> Sorry, this is my mistake. As netpbm does not release tarballs, I downloaded
> one from sourceforge and hosted it on my server. Which I tidied up the other
> day... I just put it back (using a copy from hydra).

Perfect, thanks!

Perhaps now we’d be able to fetch it from SVN or something like that?

Ludo’.



Re: [PATCH]: Add GCJ

2015-01-23 Thread Ludovic Courtès
Ricardo Wurmus  skribis:

> this patch adds the GNU Compiler for Java to the gcc module.  We need
> GCJ to build IcedTea6 / OpenJDK, which in turn could be used to build
> IcedTea7.

Nice!

> GCJ unfortunately has a binary dependency, the Eclipse Compiler for
> Java.  GCJ expects to be given the path of the ecj.jar at compile time.
> ECJ is provided as ecj-bootstrap-4.8.  I don't know if GCJ is built such
> that this ECJ binary is no longer required at the end (but I know that
> IcedTea6 also needs the ECJ jar).  For IcedTea6 we could compile ECJ
> from source with GCJ, but I don't know how to deal with GCJ's dependency
> on ECJ.  Having it depend on a binary is ugly.

Well it’s a bootstrapping issue–same problem as for GHC, MIT/GNU Scheme,
or the whole distro actually.  I wouldn’t be surprised if ecj.jar cannot
be avoided at all.

> GCJ is built with options to create symlinks to function as a primitive
> JDK.  It does not provide wrappers for javap and javac, so these are
> added in an extra phase.  I took the javac perl wrapper from Gentoo, but
> I suppose a script in Guile might be nicer (there is no official
> upstream source for the wrapper script, so we might as well roll our
> own).

Yeah, something nice to have for later.  :-)

> From 56f43a9042853aca79f60808a51d328dfbe420a3 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus 
> Date: Tue, 23 Dec 2014 12:31:50 +0100
> Subject: [PATCH] gnu: Add GCJ
>
> * gnu/packages/gcc.scm (gcj-4.8, ecj-bootstrap-4.8): New variable.
> * gnu/packages/javac.in: New file.

You need something like this in gnu-system.am:

  MISC_DISTRO_FILES = gnu/packages/javac.in

and in Makefile.am, change the nobase_dist_guilemodule_DATA line to:

  nobase_dist_guilemodule_DATA =   \
$(MODULES) $(KCONFIGS) $(EXAMPLES) \
$(MISC_DISTRO_FILES)

> +(inputs
> + (append (package-inputs gcc-4.8)
> + `(("fastjar"   ,fastjar)
> +   ("perl"  ,perl)
> +   ("javac.in"  ,(search-path %load-path
> +  "gnu/packages/javac.in"))
> +   ("ecj-bootstrap" ,ecj-bootstrap-4.8

Minor issue: I would avoid comma alignment and use quasiquote +
unquote-splicing rather than ‘append’.

> +(define-public ecj-bootstrap-4.8
> +  (package
> +(name "ecj-bootstrap")
> +(version "4.8")
> +(source (origin
> +  (method url-fetch)
> +  (uri (string-append "ftp://sourceware.org/pub/java/ecj-"; 
> version ".jar"))
> +  (sha256
> +   (base32
> +"10fpqfbdzff1zcbxzh66xc8xbij9saykcj4xzm19wk9p3n7i5zcq"

It’s enough to make it an ‘origin’, and to keep it private:

  (define ecj-bootstrap-4.8
(origin
  (method ...)
  ...))

Thanks,
Ludo’.



Re: sockets availability during build

2015-01-23 Thread Ludovic Courtès
Federico Beffa  skribis:

> The error is produced by the system call "setsockopt". Here is the
> part of the strace log showing the error:

[...]

> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
> setsockopt(9, SOL_IP, IP_MULTICAST_TTL, "\4", 1) = 0
> fcntl(9, F_GETFL)   = 0x2 (flags O_RDWR)
> fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK)= 0
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 10
> setsockopt(10, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> bind(10, {sa_family=AF_INET, sin_port=htons(1900),
> sin_addr=inet_addr("0.0.0.0")}, 16) = 0
> setsockopt(10, SOL_IP, IP_ADD_MEMBERSHIP, "\357\377\377\372\0\0\0\0",
> 8) = -1 ENODEV (No such device)

[...]

> From the above I understand that libupnp embedded server wants to
> setup multicast, but, as far as I know, this doesn't work with the
> "lo" interface and fails. I do not see a workaround. Anyone?

Yeah  suggests that
ENODEV is due to the lack of a default route.

Indeed, running that fails:

--8<---cut here---start->8---
(use-modules (guix))

(define build
  #~(begin
  (define %upnp-ipv4-multicast-address
(inet-pton AF_INET "239.255.255.250"))

  (define %upnp-multicast-port 1900)

  (define %upnp-ipv4-multicast-socket-address
(make-socket-address AF_INET
 %upnp-ipv4-multicast-address
 %upnp-multicast-port))

  (define (open-upnp-socket)
(let ((s (socket PF_INET SOCK_DGRAM 0)))
  (setsockopt s IPPROTO_IP IP_ADD_MEMBERSHIP
  (cons %upnp-ipv4-multicast-address INADDR_ANY))
  s))

  (pk (open-upnp-socket))
  (flush-all-ports)
  (mkdir #$output)))

(with-store store
  (run-with-store store
(mlet %store-monad ((drv (gexp->derivation "test" build)))
  (built-derivations (list drv)
--8<---cut here---end--->8---

If we add, before the ‘open-upnp-socket’ call, this line:

--8<---cut here---start->8---
  (system* (string-append #$net-tools "/sbin/route")
   "add" "-net" "default")
--8<---cut here---end--->8---

‘route’ simply fails with:

  SIOCADDRT: Operation not permitted

I don’t know how to work around it.  You may need to disable the tests.

Thanks,
Ludo’.



Re: Circular dependencies in python modules

2015-01-23 Thread Andreas Enge
On Thu, Jan 22, 2015 at 10:15:44PM +0100, Cyril Roelandt wrote:
> In Python 3, it is not in "install_requires", but it is in "requires":
> Not sure exactly what the difference is, though.

I saw it, maybe it means that it needs to be installed together with
sparqlwrapper?

Anyway, I removed the dependency for python 2. Then for the tests, it needed
python2-nose. Then a lot of tests failed.

I am giving up for now. I could disable the tests, and go on with
sparqlwrapper, zeitgeist and libqzeitgeist (my real aim!), but how would
one know that the resulting libraries actually work?

Andreas




KDE

2015-01-23 Thread Andreas Enge
Hello!

A quick progress report on my KDE efforts, without much progress, actually.
In the meantime, I got kdelibs compiled; some of the tests fail. But the
"hello world" program of some tutorial I found on the web compiles and runs.
I also compiled a "real" KDE application, ktouch. Now when one wants to run
it, one needs kde-runtime with (at least) lots of qml resources. I think there
would be quite some work, and maybe we would need to define some new search
paths, for Qt and/or KDE. For instance, the configure of Phonon complains
about the following:
-- PHONON_QT_IMPORTS_DIR is set to 
/gnu/store/50kyr9zs06cvp7ra22zs68zb05gq2xcf-phonon-4.8.3/lib64/qt
4/imports.
  The QML plugins for Phonon will not be installed into the Qt system 
installation directory,
  which is /gnu/store/lc0dijbmvl6a14zqi924azqrdsx34vwl-qt-4.8.6/imports .
  This means the QML plugins file will not be found by default.
  You can:
   * switch the cmake option PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT to 
TRUE
   * set PHONON_QT_IMPORTS_INSTALL_DIR manually to the system Qt location
   * at runtime, set the QML_IMPORT_PATH environment variable
-- PHONON_QT_MKSPECS_INSTALL_DIR is set to 
/gnu/store/50kyr9zs06cvp7ra22zs68zb05gq2xcf-phonon-4.8.3/
share/qt4/mkspecs/modules.
  The Qt mkspecs file for Phonon will not be installed into the Qt system 
installation directory
,
  which is 
/gnu/store/lc0dijbmvl6a14zqi924azqrdsx34vwl-qt-4.8.6/mkspecs/modules .
  This means the qt_phonon.pri file will not be found by default.
  You can:
   * switch the cmake option PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT to 
TRUE
   * set PHONON_QT_MKSPECS_INSTALL_DIR manually to the system Qt location
   * at runtime, with Qt >= 4.8, set the QMAKEPATH environment variable
-- PHONON_QT_PLUGIN_INSTALL_DIR is set to 
/gnu/store/50kyr9zs06cvp7ra22zs68zb05gq2xcf-phonon-4.8.3/lib64/qt4/plugins/designer.
  The Qt designer plugins for Phonon will not be installed into the Qt 
system installation directory,
  which is 
/gnu/store/lc0dijbmvl6a14zqi924azqrdsx34vwl-qt-4.8.6/plugins/designer .
  This means the designer plugins file will not be found by default.
  You can:
   * switch the cmake option PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT to 
TRUE
   * set PHONON_QT_PLUGINS_INSTALL_DIR manually to the system Qt location
   * at runtime, set the QT_PLUGIN_PATH environment variable

Right now, I feel it does not make much sense to invest an arbitrary amount
of time here. Instead, I will start looking at kde-5 (without much urgency;
there is no reason to believe it will be easier, but the time will probably
be better spent).

Andreas




Re: A couple roadblocks using guix

2015-01-23 Thread Andreas Enge
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: Guix package error when install xorg-server

2015-01-23 Thread Andreas Enge
On Fri, Jan 23, 2015 at 09:55:41PM +0100, Ludovic Courtès wrote:
> Perhaps now we’d be able to fetch it from SVN or something like that?

Good suggestion. I did not know we had the code, as there is no current
example. Done in commit 7d8379a.

If everything goes well on hydra, I will try to update to a newer version.

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
>
>
>