Hi list,
I would like to hear your opinion about future jpeg packaging. I am
asked to switch back to jpeg6 in Factory.
Nowadays we have following packages in graphics project:
* libjpeg6 (contains only library)
* libjpeg7 (contains only library)
* jpeg (contains doc files and bin tools)
-> libjpeg8 (contains library)
-> libjpeg-devel (contains *.h and *.so)
I should do full-fledged jpeg 6 package as jpeg (8) is and we should
have it in parallel if I understend correctly (not sure about jpeg 7
package).
I would appreciate any advice, here is a first thought proposal:
* jpeg6 (contains doc files and bin tools)
provides: jpeg, obsoletes: jpeg, conflicts: jpeg8
-> libjpeg6 (contains library)
-> libjpeg6-devel (contains development files)
provides: jpeg-devel, obsoletes: jpeg-devel,
conflicts: jpeg8-devel
* jpeg8 (contains doc files and bin tools)
conflicts: jpeg6
-> libjpeg8 (contains library)
-> libjpeg8-devel (contains development files)
conflicts: jpeg6-devel
Requires should stay same modulo major version.
Other possibility is to let particular project decide, which jpeg
should be default (similarly to libpng12,14 in 11.3). Both
libjpeg{6,8}-devel would provide jpeg-devel and conflict with
otherproviders(jpeg-devel) and similarly for jpeg{6,8}.
Petr