Intel developer staging area for upstream patch contributions to libjpeg-turbo.
The upstream project is tracked as a submodule in this repo.
- @uartie @FocusLuo @Bin-CI for CI system
$ git clone https://github.com/intel-media-ci/cartwheel-libjpeg-turbo --recursive
# at top-level directory
$ git submodule update --init --recursive
# at submodule directory
$ cd libjpeg-turbo
# It is recommended to create a branch before applying the patches
$ git checkout -b <my new branch>
$ git am ../patches/*.patch
# at top-level directory
$ git pull --rebase --recurse-submodule
To update the submodule reference commit id to the latest upstream:
# at top-level directory
$ git submodule update --remote --recursive
$ git commit -sam "$(git diff --submodule | head -1 | sed 's/:$//')"
...verify the patches still apply successfully. If they don't apply, fix them and include in new commit(s).
For more information and examples about Git Submodules, see https://git-scm.com/book/en/v2/Git-Tools-Submodules