Tk Source Code

View Ticket
Login
Ticket UUID: 2095675
Title: fedora 9 tk.spec failure and fix
Type: Bug Version: obsolete: 8.6a2
Submitter: bencollver Created on: 2008-09-05 20:04:06
Subsystem: 84. Unix Build Assigned To: hobbs
Priority: 8 Severity:
Status: Open Last Modified: 2008-11-02 02:57:25
Resolution: None Closed By:
    Closed on:
Description:
# rpmbuild -ta /usr/src/redhat/SOURCES/tk8.6a2-src.tar.gz 
error: Failed build dependencies:
XFree86-devel is needed by tk-8.6a2-2.i386

The above error is discussed at the following document.
https://www.redhat.com/archives/fedora-devel-list/2005-November/msg00277.html

A way to deal with it is discussed at the following document.
http://fedoraproject.org/wiki/DistTag

Attached is a patch to fix the spec, and the fixed spec that worked for me on Fedora 9.
User Comments: bencollver added on 2008-11-02 02:57:25:
If the else block should use xorg-x11-devel then the Fedora version comparison should be inverted.  It would save some work to remove the spec file.

dgp added on 2008-09-30 20:07:56:
Jeff, is there a good reason we
should remain in the business of
maintaining the *.spec files in the
Tcl and Tk source distributions?  Do
we know of anyone successfully using
them?  Do we have anyone who can
more adequately maintain them?

rmax added on 2008-09-30 16:18:40:
It doesn't matter to me, as I have always been using my own .spec file for building Tk and I am not aware of anybody who tries to build Tk on SUSE with the included .spec file.

But looking at the patch, I think the else block should use xorg-x11-devel instead of XFree86-devel, because AFAIK all relevant Linux distributions have been using X.Org instead of XFree86 for several years now.

dgp added on 2008-09-30 01:34:11:
rmax, are these changes workable
for you as well?

bencollver added on 2008-09-06 03:04:28:

File Added - 292308: tk.spec

Logged In: YES 
user_id=778667
Originator: YES

File Added: tk.spec

bencollver added on 2008-09-06 03:04:07:

File Added - 292306: tk.spec.diff

Attachments: