Bug 548163 - tkImg includes own version of bundled libraries
Summary: tkImg includes own version of bundled libraries
Alias: None
Product: Fedora
Classification: Fedora
Component: tkimg
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: DuplicSysLibsTracker
TreeView+ depends on / blocked
Reported: 2009-12-16 19:53 UTC by Matt Chan
Modified: 2011-08-22 14:59 UTC (History)
4 users (show)

Fixed In Version: tkimg-1.4-4.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-08-22 14:59:48 UTC
Type: ---

Attachments (Terms of Use)
Patch to use systemlibs (18.44 KB, patch)
2009-12-23 14:21 UTC, Sergio Pascual
no flags Details | Diff

Description Matt Chan 2009-12-16 19:53:57 UTC
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):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Toshio Ernie Kuratomi 2009-12-16 20:24:07 UTC
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.

Comment 2 Sergio Pascual 2009-12-23 14:16:52 UTC
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

Comment 3 Sergio Pascual 2009-12-23 14:21:17 UTC
Created attachment 380032 [details]
Patch to use systemlibs

This is the patch I used originally to link with system libraries

Comment 4 Bug Zapper 2010-11-04 03:10:42 UTC
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: 

Comment 5 Thom Carlin 2011-02-19 12:52:21 UTC
Sergio, any updates?

Comment 6 Sergio Pascual 2011-02-20 22:17:08 UTC
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

Comment 7 Thom Carlin 2011-02-22 18:30:10 UTC
Are you planning on filing an exception for those 2 libraries?

Comment 8 Sergio Pascual 2011-02-22 18:39:58 UTC
Well, if the patches work, yes. If not, I will ask for an exception of the 4 libraries :(

Comment 9 Thom Carlin 2011-04-26 11:22:18 UTC
Have the patches worked?

Comment 10 Sergio Pascual 2011-04-30 23:49:48 UTC
I think so. Now I have to ask FPC for an exception

Comment 11 Thom Carlin 2011-05-07 15:21:39 UTC
When you do file, please let me know the FPC ticket number.  Thanks!

Comment 12 Fedora Admin XMLRPC Client 2011-07-14 18:44:24 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 13 Thom Carlin 2011-08-01 00:08:38 UTC
Spot, how should we proceed with this bug?

Comment 14 Tom "spot" Callaway 2011-08-01 20:32:21 UTC
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.

Comment 15 Fedora Update System 2011-08-01 20:48:12 UTC
tkimg-1.4-4.fc16 has been submitted as an update for Fedora 16.

Comment 16 Fedora Update System 2011-08-02 03:46:42 UTC
Package tkimg-1.4-4.fc16:
* 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).

Comment 17 Fedora Update System 2011-08-22 14:59:41 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.