From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Idea: Install script to better support improving contributor-friendliness of projects Date: Wed, 29 Nov 2017 07:08:16 +0100 Message-ID: <20171129060816.GA12029@thebird.nl> References: <311dec57-62fd-a88d-19d4-2eae9041ef97@gmail.com> <87bmjook1w.fsf@netris.org> <86bmjm1f6b.fsf@g1.i-did-not-set--mail-host-address--so-tickle-me> <1511898229.2092.7.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJva7-0003Oi-Q0 for guix-devel@gnu.org; Wed, 29 Nov 2017 01:10:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJva4-0001rC-Kx for guix-devel@gnu.org; Wed, 29 Nov 2017 01:10:51 -0500 Received: from mail.thebird.nl ([95.154.246.10]:37512) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eJva4-0001nj-DL for guix-devel@gnu.org; Wed, 29 Nov 2017 01:10:48 -0500 Content-Disposition: inline In-Reply-To: <1511898229.2092.7.camel@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: lamefun.x0r@gmail.com Cc: guix-devel@gnu.org, myglc2@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. --