all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: lamefun.x0r@gmail.com
Cc: guix-devel@gnu.org, myglc2@gmail.com
Subject: Re: Idea: Install script to better support improving contributor-friendliness of projects
Date: Wed, 29 Nov 2017 07:08:16 +0100	[thread overview]
Message-ID: <20171129060816.GA12029@thebird.nl> (raw)
In-Reply-To: <1511898229.2092.7.camel@gmail.com>

On Tue, Nov 28, 2017 at 10:43:49PM +0300, lamefun.x0r@gmail.com wrote:
> Another question, is Guix ever going to ship NVIDIA OpenGL libraries,
> considering that this is a GNU project? Flatpak for example ships them
> to support NVIDIA GPUs. The project I want to make contributor-friendly 
> with help of Guix is a 3D game, so without them Guix is essentially
> useless as a dependency installer for many of the potential
> contributors.

OpenGL is free software though possibly underlying CUDA is not. We
started work on it here:

  https://github.com/Brainiarc7/guix-bioinformatics/blob/master/gn/packages/cl.scm

but never got it to work properly.

> I managed to launch SuperTux, by forcing it to use system libraries:
> 
> LD_PRELOAD="/usr/lib64/libGL.so.1 /usr/lib64/libGLX.so.0 \
> /usr/lib64/libX11.so.6 /usr/lib64/libXext.so.6 \
> /usr/lib64/libGLdispatch.so.0 /usr/lib64/libxcb.so.1 \
> /usr/lib64/libXau.so.6" supertux2
> 
> This probably not possible to reliably automate and certainly is
> segfault-prone though...

Yes, and worse, there is no guarantee that they are the same on a
user's system. What you want is a reproducible setup.

I think packaging your game with OpenCL is possible with GNU Guix. You
can ask people here how they are deploying their software.

Distributing the game is possible too. Even installing user land
directories - using my installer

  https://gitlab.com/pjotrp/guix-relocatable-binary-packages

would be straightforward to accomplish.

Pj.

-- 

  parent reply	other threads:[~2017-11-29  6:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-26 11:43 Idea: Install script to better support improving contributor-friendliness of projects Никита Чураев
2017-11-26 18:58 ` ng0
2017-11-26 20:35 ` Mark H Weaver
2017-11-28 16:11   ` Ludovic Courtès
2017-11-28 17:33   ` myglc2
2017-11-28 19:43     ` lamefun.x0r
2017-11-28 21:34       ` Leo Famulari
2017-11-28 21:56       ` Adonay Felipe Nogueira
2017-11-29  6:08       ` Pjotr Prins [this message]
2017-11-29 16:47       ` Ricardo Wurmus
2017-11-30  9:59   ` Ludovic Courtès
2017-11-30 11:58     ` Hartmut Goebel
2017-11-30 12:59     ` Arun Isaac
2017-11-30 13:05       ` Vincent Legoll
2017-11-30 13:14     ` Adonay Felipe Nogueira
2017-11-30 13:52       ` Vincent Legoll
2017-11-30 14:12         ` Hartmut Goebel
2017-11-30 17:01           ` Adonay Felipe Nogueira
2017-11-27 21:06 ` Alex Vong
2017-11-27 21:53   ` Adonay Felipe Nogueira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171129060816.GA12029@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=guix-devel@gnu.org \
    --cc=lamefun.x0r@gmail.com \
    --cc=myglc2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.