FS#66331 - [openjpeg] Consider dropping in favor of openjpeg2

Attached to Project: Community Packages
Opened by Rikard Falkeborn (Herk) - Monday, 20 April 2020, 22:06 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 26 April 2020, 10:41 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Sven-Hendrik Haase (Svenstaro)
Alexander F. Rødseth (xyproto)
Felix Yan (felixonmars)
Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

openjpeg 1.5.2 [0] is the last release of the 1.x branch for openjpeg and was released on March 1, 2014. It recieves no more updates, no security fixes etc. The package openjpeg2 [1] is the 2.x branch and is currently at 2.3.1.

Currently, three packages depend on openjpeg: blender [2], mtpaint [3], openimageio [4]. All of these packages can be built with 2.3.1 (see below). calligra [5] has openjpeg as an optional dependency. This optional dependency can be removed since it is no longer supported [6].

blender: Internal cmake versions list 2.3.0 [7], blender install_deps.sh script [8] already lists package openjpeg2 for arch based distros.
mtpaint: According to the README [9], in order to reproduce the official win32 build, openjpeg 2.3.1 is needed.
openimageio: conanfile uses 2.3.1 [10]

There is also a request [11] to drop jasper [12], which also is a JPEG-2000 library, from the repos which has triggered another request [13] to replace gimp [14] dependency on jasper with openjpeg instead. If building with openjpeg, gimp requires at least version 2.1.0 [15], so if the request is implemented, it should depend on openjpeg2, and not add a dependency on openjpeg.

According to [11], libicns can use openjpeg instead of jasper. libicns supports building with openjpeg2 [17].

[0] https://www.archlinux.org/packages/extra/x86_64/openjpeg/
[1] https://www.archlinux.org/packages/extra/x86_64/openjpeg2/
[2] https://www.archlinux.org/packages/community/x86_64/blender/
[3] https://www.archlinux.org/packages/community/x86_64/mtpaint/
[4] https://www.archlinux.org/packages/community/x86_64/openimageio/
[5] https://www.archlinux.org/packages/extra/x86_64/calligra/
[6] https://github.com/KDE/calligra/commit/2f38f30a0f12e5f1d8b485f6d61158d6f2a41056
[7] https://developer.blender.org/diffusion/B/browse/master/build_files/build_environment/cmake/versions.cmake;v2.82a$203
[8] https://developer.blender.org/diffusion/B/browse/master/build_files/build_environment/install_deps.sh;v2.82a$4031
[9] https://github.com/wjaguar/mtPaint/blob/91676e939e1198fa536a0cdefbcd9331c70efc4c/gtk/README#L187
[10] https://github.com/OpenImageIO/oiio/blob/RB-2.1.11/conanfile.txt
[11] https://bugs.archlinux.org/index.php?do=details&task_id=64655
[12] https://www.archlinux.org/packages/extra/x86_64/jasper/
[13] https://bugs.archlinux.org/index.php?do=details&task_id=64655
[14] https://www.archlinux.org/packages/extra/x86_64/gimp/
[15] https://gitlab.gnome.org/GNOME/gimp/-/blob/GIMP_2_10_18/configure.ac#L74
[16] https://www.archlinux.org/packages/community/x86_64/libicns/
[17] https://sourceforge.net/p/icns/code/ci/6038a728f5886625c02e0edbaf4939e8b2954a25/
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 26 April 2020, 10:41 GMT
Reason for closing:  Deferred
Additional comments about closing:  package removed
Comment by Andreas Radke (AndyRTR) - Tuesday, 21 April 2020, 14:03 GMT
Assiged this bug to the commnity package maintainers - once they have decided to drop openjpeg I'm fine to remove it from our repos.
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 23 April 2020, 06:44 GMT
blender and openimageio now depend on openjpeg2.
Comment by Andreas Radke (AndyRTR) - Friday, 24 April 2020, 07:52 GMT
I've pushed a new mtpaint pkg to comminity-testing now using openjpeg2.
Comment by Andreas Radke (AndyRTR) - Friday, 24 April 2020, 09:29 GMT
Dropped openjpeg from calligra-3.1.0-32.
Comment by Andreas Radke (AndyRTR) - Friday, 24 April 2020, 09:33 GMT
All other jasper related requests should be treated over at  FS#64655 .

Loading...