2020-02-26 16:35:47 +00:00
|
|
|
The files that are in Building/Linux are for creating an installable package, and assume
|
|
|
|
you have already compiled and linked OSCAR using qmake and make, or QtCreator.
|
|
|
|
|
|
|
|
The packages, once built, can be installed using 'dpkg i' or 'gdebi' - with either su or sudo. If you use
|
|
|
|
sudo, you will get a desktop icon installed, which must be double-clicked and trusted to see the actual icon.
|
|
|
|
|
2020-05-04 17:20:33 +00:00
|
|
|
The packaged file cannot be installed using apt-get, or aptitude, because those programs
|
|
|
|
install from the distribution repository, but not a plain package file.
|
|
|
|
|
|
|
|
The package can be installed with apt or apt -F if the file name is preceded by ./ to force filename recognition.
|
2020-02-26 16:35:47 +00:00
|
|
|
|
2020-03-01 17:03:21 +00:00
|
|
|
The packaging scripts assume the following folder structure:
|
2020-02-26 16:35:47 +00:00
|
|
|
|
|
|
|
/home/username/OSCAR/
|
|
|
|
/home/username/OSCAR/build/
|
|
|
|
/home/username/OSCAR/OSCAR-code/
|
|
|
|
/home/username/OSCAR/OSCAR-code/oscar ...etc
|
|
|
|
|
|
|
|
The fpm program used in the mkXxxx scripts can be found at https://fpm.readthedocs.io/en/latest/intro.html
|
|
|
|
|
|
|
|
Read the installation notes there, installation is sort of convoluted, then once it is installed type 'fpm -help' to see all the options.
|
|
|
|
|
|
|
|
The code to put a desktop icon in the Desktop folder, regardless of language, was contributed by UnToutSeul05.
|
|
|
|
|
|
|
|
Getting a menu item istalled is largely due to the efforts of CrimsonNape.
|
|
|
|
|
2020-05-04 17:20:33 +00:00
|
|
|
The mkDebian9.sh and mkUbuntu.sh scripts have been consolidated into mkDistDeb.sh and are now depreciated and will be removed. mkDistDeb.sh
|
|
|
|
has code to query which packages are available for certail libraries.
|
|
|
|
|
2020-02-26 16:35:47 +00:00
|
|
|
Finally, the mkRedHat.sh script has not been tested.
|
|
|
|
|
|
|
|
|