Skip to content

Latest commit

 

History

History
74 lines (52 loc) · 1.72 KB

File metadata and controls

74 lines (52 loc) · 1.72 KB

Dependencies

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 package

  1. Update version strings, add changelog entry and update includes-binaries file (only needed for OBS).
cd build
./build.sh update_package

Build package locally

When building locally on Debian, you'll need to manually install the build dependencies (OBS handles this for you).

mk-build-deps --install debian/control
  1. Download and build package.
cd build
./build.sh download
./build.sh build_deb

Build source package for OBS

  1. 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
  1. 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
  1. Test build for OBS locally. x86_64 may be replaced with other arches such as i586. 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
  1. Deploy to OBS (where it will be built).
osc ar
osc commit