gtsam/package_scripts
Bernd Pfrommer ab4569457d added email parameter to ubuntu/debian packaging scripts 2020-05-23 19:32:38 -04:00
..
README.md added email parameter to ubuntu/debian packaging scripts 2020-05-23 19:32:38 -04:00
compile_static_boost.sh Merge branch 'origin/feature/mex_static_module_revive' 2014-05-28 22:51:23 -04:00
prepare_debian.sh added email parameter to ubuntu/debian packaging scripts 2020-05-23 19:32:38 -04:00
prepare_debian_gen_snapshot_version.sh add Debian scripts 2019-07-11 00:53:18 +02:00
prepare_release.sh add Debian scripts 2019-07-11 00:53:18 +02:00
prepare_ubuntu_pkgs_for_ppa.sh added email parameter to ubuntu/debian packaging scripts 2020-05-23 19:32:38 -04:00
toolbox_package_unix.sh Make gtsam_unstable/partition compile again, and actually build when GTSAM_SUPPORT_NESTED_DISSECTION=ON 2018-12-14 14:53:03 -08:00
upload_all_gtsam_ppa.sh added email parameter to ubuntu/debian packaging scripts 2020-05-23 19:32:38 -04:00

README.md

How to build Debian and Ubuntu Packages

Preparations

Packages must be signed with a GPG key. First have a look of the keys you have available:

gpg --list-secret-keys

If you don't have one, create one, then list again.

Pick a secret key you like from the listed keys, for instance "Your Name your.email@yourprovider.com". Then unlock that key by signing a dummy file. The following line should pop up a window to enter the passphrase:

echo | gpg --local-user "Your Name <your.email@yourprovider.com>" -s >/dev/null

Now you can run the below scripts. Without this step they will fail with "No secret key" or similar messages.

How to generate a Debian package

Run the package script, providing a name/email that matches your PGP key.

cd [GTSAM_SOURCE_ROOT]
bash package_scripts/prepare_debian.sh -e "Your Name <your.email@yourprovider.com>"

How to generate Ubuntu packages for a PPA

Run the packaging script, passing the name of the gpg key (see above) with the "-e" option:

cd [GTSAM_SOURCE_ROOT]
bash package_scripts/prepare_ubuntu_pkgs_for_ppa.sh -e "Your Name <your.email@yourprovider.com>"

Check that you have uploaded this key to the ubuntu key server, and have added the key to your account.

Upload the package to your ppa:

cd ~/gtsam_ubuntu
bash [GTSAM_SOURCE_ROOT]/package_scripts/upload_all_gtsam_ppa.sh -p "ppa:your-name/ppa-name"