How to package nautilus-dropbox
March 27, 2023 ยท View on GitHub
This is a work-in-progress guide on how to build Ubuntu, Debian, and Fedora packages for nautilus-dropbox. It assumes you're building from an Ubuntu 22.10 machine. The individual deb and rpm packages are built inside Docker containers.
-
Install Docker:
sudo apt install docker.io -
Build the deb and RPM packages. They will build inside Docker containers:
./build_packages.sh -
(optional) Sign the *.changes files and RPMs (this happens internally in the build system at Dropbox).
debsign -k FC918B335044912E build/ubuntu/pool/main/*.changes debsign -k FC918B335044912E build/debian/pool/main/*.changes rpmsign --addsign --key-id FC918B335044912E build/fedora/pool/*.rpm -
Build the deb and yum repos:
./build_repos.sh -
(optional) Sign the repo files (this happens internally in the build system at Dropbox).
gpg -abs --digest-algo SHA256 -o build/ubuntu/dists/$DIST/Release.gpg build/ubuntu/dists/$DIST/Release -
Update the ChangeLog with all the changes in the release.
-
Tag the release and push the tag to GitHub.