OSCAR-code/Building/Linux
2024-10-04 17:44:06 -04:00
..
rpm Added builder for RPMs 2020-12-08 21:09:18 +00:00
BUILD_Linux.md Changed pholy to CrimsonNape 2024-10-04 17:44:06 -04:00
clean_rm-common-NN.old Make sure clean-rm doesn't delete the new files 2022-02-17 22:32:27 -05:00
clean_rm-common-NN.sh Make sure clean-rm doesn't delete the new files 2022-02-17 22:32:27 -05:00
clean_rm-NN-test1.sh Use untoutseul05 build scripts 2021-12-02 18:47:27 -05:00
clean_rm-NN-test2.sh Use untoutseul05 build scripts 2021-12-02 18:47:27 -05:00
clean_rm-NN.sh Add Replaces to deb options - untoutseul05 2021-10-11 13:57:10 -04:00
clean_rm-test.xx Update releaseNotes with ResMed changes, update VERSION to v1.3.1-beta-1 2021-12-10 20:19:57 -05:00
clean_rm.xx Update releaseNotes with ResMed changes, update VERSION to v1.3.1-beta-1 2021-12-10 20:19:57 -05:00
copyright Update Linux packaging files to fix lintian errors 2020-09-09 21:31:49 -04:00
ln_usrbin-common-NN.sh Add Replaces to deb options - untoutseul05 2021-10-11 13:57:10 -04:00
ln_usrbin-NN-test.sh Use untoutseul05 build scripts 2021-12-02 18:47:27 -05:00
ln_usrbin-NN.sh Add Replaces to deb options - untoutseul05 2021-10-11 13:57:10 -04:00
ln_usrbin-test.xx Update releaseNotes with ResMed changes, update VERSION to v1.3.1-beta-1 2021-12-10 20:19:57 -05:00
ln_usrbin.xx Update releaseNotes with ResMed changes, update VERSION to v1.3.1-beta-1 2021-12-10 20:19:57 -05:00
mkDistDeb.xx Update releaseNotes with ResMed changes, update VERSION to v1.3.1-beta-1 2021-12-10 20:19:57 -05:00
mkOSDistDeb-NN.sh mkOSDistDeb-NN.sh per Crimson Nape request 2024-08-26 18:04:22 -04:00
mkOSDistDeb.xx Update mkOSDistDeb.xx -replace tilde with dash in build name. 2024-03-28 10:57:38 +00:00
mkRedHat.sh Change team-oscar to oscar-team in email addresss 2020-03-03 11:47:43 -05:00
OSCAR-test.desktop New packaging scripts - needs README 2020-02-26 11:01:54 -05:00
OSCAR-test.png New packaging scripts - needs README 2020-02-26 11:01:54 -05:00
OSCAR-test.svg New packaging scripts - needs README 2020-02-26 11:01:54 -05:00
OSCAR.desktop Clean up Linux build scripts 2020-05-04 13:20:33 -04:00
OSCAR.png New packaging scripts - needs README 2020-02-26 11:01:54 -05:00
OSCAR.svg New packaging scripts - needs README 2020-02-26 11:01:54 -05:00
README.first Clean up Linux build scripts 2020-05-04 13:20:33 -04:00
rm_usrbin-common-NN.sh Add Replaces to deb options - untoutseul05 2021-10-11 13:57:10 -04:00
rm_usrbin-NN-test.sh Use untoutseul05 build scripts 2021-12-02 18:47:27 -05:00
rm_usrbin-NN.sh Add Replaces to deb options - untoutseul05 2021-10-11 13:57:10 -04:00
rm_usrbin-test.xx Update releaseNotes with ResMed changes, update VERSION to v1.3.1-beta-1 2021-12-10 20:19:57 -05:00
rm_usrbin.xx Update releaseNotes with ResMed changes, update VERSION to v1.3.1-beta-1 2021-12-10 20:19:57 -05:00
tst_user.sh Update Linux packaging files to fix lintian errors 2020-09-09 21:31:49 -04: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.

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.

The packaging scripts assume the following folder structure:

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

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.

Finally, the mkRedHat.sh script has not been tested.