Bug 186060

Summary: static version of libjpeg was dropped
Product: [Fedora] Fedora Reporter: Matthias Hensler <adv>
Component: libjpegAssignee: Tom Lane <tgl>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5CC: eric.moret, grenier, hhorak, sergey_udaltsov
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 6b-38.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-11 15:23:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Hensler 2006-03-21 13:35:30 UTC
Description of problem:

With FC5 the static part of libjpeg was dropped. Since it is needed to create
static binaries for bootsplash utilities I would like to either have libjpeg.a
in libjpeg-devel (as it was with FC4 and earlier) or a seperate libjpeg-static
package.

Regards.

Comment 1 Sergey V. Udaltsov 2006-04-01 01:47:25 UTC
Actually any building involving -ljpeg (for example, using libsvg.pc) is broken
without this library.

Comment 2 Eric Moret 2006-10-18 00:19:41 UTC
Ping, can we get the static library back... I also need it to build a bootsplash
utility like Matthias outlined above.

Comment 3 Tom Lane 2006-10-18 03:54:59 UTC
Hmm ... but the general evolution of Fedora has been away from static linking.  Shouldn't this bug be filed 
against whatever part of the boot infrastructure can't handle libjpeg.so?

I don't have a problem with providing libjpeg.a, but I am kinda wondering how it is that image 
decompression would be lower down the food chain than shlib support.  Seems like there's something 
wrong with this picture...

Comment 4 Eric Moret 2006-10-18 04:21:08 UTC
I am not sure why the static libs are required. Just as an FYI, the bootsplash 
I am trying to compile is splashy 
http://splashy.alioth.debian.org/wiki/doku.php and here is a message describing 
the things needed to be done to compile on FC5:
http://lists.alioth.debian.org/pipermail/splashy-users/2006-July/000170.html

Note the following:
- install DirectFB from a tarball and built to generate static libs
- add a static libjpeg from libjpeg-static-6b-36.2.1.cubbi1.i386.rpm
- grabbed the srpm for procps ( procps-3.2.6-3.5.src.rpm ), and edited the spec 
file to use SHARED=0, therefore creating libproc.a
- manually getting the proc header files from the procps srpms package

Now, it may just be that I have not spent enough time trying to build splashy 
with dynamic libs.

Comment 5 Christophe GRENIER 2006-11-05 20:57:24 UTC
I can't produce Linux static binary of PhotoRec (package testdisk in FC Extras)
for non Fedora users since static libjpeg is missing. I would like to either
have libjpeg.a in libjpeg-devel (as it was with FC4 and earlier) or a seperate
libjpeg-static package.



Comment 6 Tom Lane 2007-06-26 03:40:58 UTC
libjpeg-static package created as of libjpeg-6b-38.  Pushed to F7 testing today, will backpatch as 
opportunity presents.

Comment 7 Fedora Update System 2007-06-27 03:51:23 UTC
libjpeg-6b-38.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2007-07-11 15:23:05 UTC
libjpeg-6b-38.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.