These are a list of dependencies for the process as a packager (i.e. running all the commands below), not for the build system (e.g. see the Build package locally section below).
tar
wget
dpkg-source
# Only needed if you're building locally.
debuild
# Only needed if you're using OBS.
osc- Update version strings, add changelog entry and update includes-binaries file (only needed for OBS).
cd build
./build.sh update_packageWhen building locally on Debian, you'll need to manually install the build dependencies (OBS handles this for you).
mk-build-deps --install debian/control- Download and build package.
cd build
./build.sh download
./build.sh build_deb- Download and build source package.
If you have the obs-service-download_url package installed, you will need to remove it to create the _service file.
cd build
./build.sh create_service
./build.sh build_source- Checkout OBS repository and then copy new and delete old source files.
osc co home:losuler:icecat
cp _service *.debian.tar.xz *.dsc *.orig.tar.gz home:losuler:icecat/icecat/
rm icecat_$OLD_VERSION.debian.tar.xz icecat_$OLD_VERSION.dsc icecat_$OLD_VERSION.orig.tar.gz- Test build for OBS locally.
x86_64may be replaced with other arches such asi586. This depends on what arches are available on OBS.
If you removed the obs-service-download_url package earlier, you'll need to re-install it again in order to run the build.
osc build x86_64 Debian_11 --local-package --clean- Deploy to OBS (where it will be built).
osc ar
osc commit