DJV Download Documentation Contribute Donate Contact

Packaging

Branch

Linux

macOS

Windows

Versioning

Branch

Create a release branch:

$ git branch -b release/x.x.x
$ git push -u origin release/x.x.x

Update "docs/index.html" with an announcement about the version.

Update the version numbers in "docs/download.html" and "docs/djv_install.html".

Update the milestone in "docs/download.html".

Build the static web site:

$ cd docs
$ bundle exec jekyll serve

Linux

RPM and tar.gz packages are built on CentOS 7.

Open a shell, go to a working directory, and clone the DJV repository:

$ git clone https://github.com/darbyjohnston/DJV.git

Create the packages:

$ sh DJV/etc/Linux/build_rpm_package.sh

The packages will be in the "DJV-package" directory.

Debian packages are built on Ubuntu 18.04.

Open a shell, go to a working directory, and clone the DJV repository:

$ git clone https://github.com/darbyjohnston/DJV.git

Create the package:

$ sh DJV/etc/Linux/build_deb_package.sh

The package will be in the "DJV-package" directory.

macOS

Packages are built on macOS 10.11.

Open a shell, go to a working directory, and clone the DJV repository:

$ git clone https://github.com/darbyjohnston/DJV.git

Create the package:

$ sh DJV/etc/macOS/build_macos_package.sh

The package will be in the "DJV-package" directory.

Windows

Packages are built on Windows 10.

Open a Visual Studio 2019 command prompt, go to a working directory, and clone the DJV repository:

> git clone https://github.com/darbyjohnston/DJV.git

Create the package:

> DJV/etc/Windows/build_windows_package.bat

The package will be in the "DJV-package" directory.

Versioning

Merge the changes from the release branch:


	

Tag the git repository with the version:

git tag -a x.x.x -m "Version x.x.x"
git push origin x.x.x

Bump the version number in "CMakeLists.txt", "Doxyfile", and "sonar-project.properties".