Red Hat Bugzilla – Bug 548163
tkImg includes own version of bundled libraries
Last modified: 2011-08-22 10:59:48 EDT
Description of problem:
tkImg currently includes their own version of bundled libraries. The spec file acknowledges it and a bug has been filed on their tracker already by Sergio Pascual. http://sourceforge.net/tracker/index.php?func=detail&aid=2292032&group_id=52039&atid=465495. This bug report is only for consistency and for adding to the bundled libs blocker bug.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
from another bug report it seemed like tkimg upstream was close to dead. Also, the upstream bug report hasn't seen any response from upstream in the year that it has been posted.
So we need to address this issue in Fedora. Patches can be fed back upstream once we generate them.
I had some patches that allowed to compile with system libraries, but they produced segfaults: #468357
Doing the patches correctly is far from my knowledge, it requires knowing te internals of TCL C API
Created attachment 380032 [details]
Patch to use systemlibs
This is the patch I used originally to link with system libraries
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Sergio, any updates?
In fact, yes.
I have created two patches to unbundle zlib and libjpeg
The patches seem to do the work but more testing would be great.
Regarding the two other libraries:
* libtiff: tkimg uses private headers, not present in libtiff-devel
* libpng: tkimg comes with version 1.4.3, which is newer than the version in fedora
So these two can't be unbundled for the moment
Are you planning on filing an exception for those 2 libraries?
Well, if the patches work, yes. If not, I will ask for an exception of the 4 libraries :(
Have the patches worked?
I think so. Now I have to ask FPC for an exception
When you do file, please let me know the FPC ticket number. Thanks!
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Spot, how should we proceed with this bug?
Pretty sure I have this one all resolved, with all the remaining bundled code stripped out. Tested it pretty extensively and it seems to all still work. It's not pretty, but then again, neither is tkimg. :) I'll push this as an update for Fedora 16+, and leave the older versions alone.
tkimg-1.4-4.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tkimg-1.4-4.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
tkimg-1.4-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.