unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sebastian  <njuemail@126.com>
To: guix-devel@gnu.org
Subject: License Problem and Other Questions defining new package Geant4 from CERN for Partical Physcis Simulation
Date: Thu, 18 Feb 2021 15:04:49 +0800 (CST)	[thread overview]
Message-ID: <2f9e6f18.1e53.177b3f49f09.Coremail.njuemail@126.com> (raw)

Dear developers at Guix,

I am a physics student willing to use  the Geant4 simulation toolkit from the European Organization for Nuclear Research (CERN). 
https://geant4.web.cern.ch/
The Geant4 code is distributied under its own licence, Geant4 Software License Version 1.0. 
https://geant4.web.cern.ch/license/LICENSE.html
Let's call this license G4SL1.0. After some searching, finding it is NOT listed by FSF or GNU in their license list.
https://www.gnu.org/licenses/license-list.html
But from a personal perspective, G4SL1.0 do seems like a free software license.
So, may it be included into the Guix proper (gnu packages)?

I am currently testing the package under a custom channel,using cmake-build-system.
https://git.nju.edu.cn/nju/chngix/-/blob/master/gix/packages/geant4.scm

Here is another problem:
during configuring command "cmake" on a non-Guix system, 
-- Geant4 has been pre-configured to look for datasets in the directory:
-- /usr/local/share/Geant4-10.7.1/data
the user needs to download datasets and unpack them under that directory.
https://geant4.web.cern.ch/support/download
Or, set flag -DGEANT4_INSTALL_DATA=ON to automatically download the datasets during building.
On Guix however,
-- Geant4 has been pre-configured to look for datasets in the directory:
-- /gnu/store/byprhqa1qq6s0ksgdpjgwv58ak25kprd-geant4-10.07.p01/share/Geant4-10.7.1/data
the building process is sandboxed, and does not allow download during building that causing non-repuduciable build result.
Cmake flag  GEANT4_INSTALL_DATADIR defaults to "share", a path relative to CMAKE_INSTALL_PREFIX,
and it can be set to define the directory storing datasets other than ....../share, but datastes should always be under "GEANT4_INSTALL_DATADIR/Geant4-10.7.1/data".
https://geant4-userdoc.web.cern.ch/UsersGuides/InstallationGuide/html/installguide.html#geant4buildoptions
But the (source origin) denotes "a file" only,
https://guix.gnu.org/manual/en/html_node/package-Reference.html
is it possible to define a package fetching multiple files and extracts them into the desired directory, using the Guix package definition?

I am not familiar with trivial-build-system. 
The build and install of the geant4 without datasets using cmake-build-system seems to be successful. 
Your help would be much appreciated.

With best regards,
Sebastian

             reply	other threads:[~2021-02-18  9:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18  7:04 Sebastian [this message]
2021-02-18 12:18 ` License Problem and Other Questions defining new package Geant4 from CERN for Partical Physcis Simulation Leo Prikler
2021-02-25 18:37 ` zimoun

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=2f9e6f18.1e53.177b3f49f09.Coremail.njuemail@126.com \
    --to=njuemail@126.com \
    --cc=guix-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).