Bug 702088 - Ship tkAppInit.c
Summary: Ship tkAppInit.c
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tk
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-04 18:24 UTC by Orion Poplawski
Modified: 2011-05-19 04:59 UTC (History)
1 user (show)

Fixed In Version: tk-8.5.9-4.fc15
Clone Of:
Environment:
Last Closed: 2011-05-17 00:58:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2011-05-04 18:24:16 UTC
Description of problem:

tkAppInit.c is a useful piece of code for building stand alone tk apps, please ship it.  It is removed in a section with the comment:

# remove buildroot traces

But there are no traces of the buildroot in that file.  Builds fine with it included.  Also, prolog.ps appears to no longer get installed.


Version-Release number of selected component (if applicable):
tk-8.5.9-1.fc14

Comment 1 Jaroslav Škarvada 2011-05-05 13:40:42 UTC
> tkAppInit.c is a useful piece of code for building stand alone tk apps, please
> ship it. 
It makes sense. I suggest packaging it into tk-dev and similary with the tcl-dev package (the tclAppInit.c file).

> Also, prolog.ps appears to no longer get installed.
Thanks for info, it seems to be deprecated a while ago, so it is useless in spec.

Are you OK with the rawhide fix only?

Comment 2 Orion Poplawski 2011-05-05 14:20:37 UTC
I think F15 as well would be nice.  It will hopefully help in fixing the packaging of ds9.  Thanks.

An issue that has come up though with applications built on tkAppInit and linking to tcl/tk extensions.  Since the extension libraries are not installed in the run time linker's path, it seems the app must define rpaths.  Have you run across this before?  Is there a standard approach to solving this?

Comment 3 Jaroslav Škarvada 2011-05-05 21:20:31 UTC
(In reply to comment #2)
> I think F15 as well would be nice.
>
NP, I was just lazy ;) I will rebuild it for F14-F16.

> An issue that has come up though with applications built on tkAppInit and
> linking to tcl/tk extensions.  Since the extension libraries are not installed
> in the run time linker's path, it seems the app must define rpaths.  Have you
> run across this before?  Is there a standard approach to solving this?
>
I have not encountered this so far. AFAIK there are tcl packaging guidelines:
http://fedoraproject.org/wiki/Packaging/Tcl
According to it the extension's arch specific libraries should go to %{tcl_sitearch} or %{_libdir} - and both are in linker path. If it is not possible to use these paths, the custom config file should be probably placed into /etc/ld.so.conf.d/ (according to http://fedoraproject.org/wiki/Packaging:Guidelines#Alternatives_to_Rpath). When linking internal libraries the rpaths can be used (according to http://fedoraproject.org/wiki/Packaging:Guidelines#Rpath_for_Internal_Libraries).

Comment 4 Fedora Update System 2011-05-05 22:12:37 UTC
tk-8.5.9-4.fc15,tcl-8.5.9-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tk-8.5.9-4.fc15,tcl-8.5.9-3.fc15

Comment 5 Fedora Update System 2011-05-05 22:14:52 UTC
tk-8.5.9-2.fc14,tcl-8.5.9-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/tk-8.5.9-2.fc14,tcl-8.5.9-2.fc14

Comment 6 Fedora Update System 2011-05-07 02:50:01 UTC
Package tk-8.5.9-2.fc14, tcl-8.5.9-2.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tk-8.5.9-2.fc14 tcl-8.5.9-2.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/tk-8.5.9-2.fc14,tcl-8.5.9-2.fc14
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-05-17 00:58:32 UTC
tk-8.5.9-2.fc14, tcl-8.5.9-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-05-19 04:59:47 UTC
tk-8.5.9-4.fc15, tcl-8.5.9-3.fc15 has been pushed to the Fedora 15 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.