First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 4450
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Karl Trygve Kalleberg (RETIRED) <karltk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Curtis Magyar <cumagyar@shaw.ca>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tk-8.4.4-r1.ebuild tk-8.4.4-r1 beta 1 text/plain Eamon Caddigan 2003-11-20 18:34 0000 2.12 KB Details
tcl-8.4.4-r1.ebuild tcl-8.4.4-r1 beta 1 text/plain Eamon Caddigan 2003-11-20 18:34 0000 2.72 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 4450 depends on: Show dependency tree
Bug 4450 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-02 16:07 0000
Although I can find no convention on this, it would seem tcl.h should probably
be placed in /usr/include/tcl8.3, and tk.h in /usr/include/tk8.3.  Debian puts
them both in /usr/include/tcl8.3, but either way will save major headaches when
tcl/tk 8.4 is released.

Also the api to tcl/tk changes frequently, we need to provide a mechanism to
have the developer choose the version of tcl/tk headers to include.  We could
possibly place a symlink from /usr/include/tcl8.3/tcl.h to /usr/include/tcl.h to
provide backward compatibility, as well as in the future provide a mechanism for
a default tcl.h header.  Same goes for tk.  Right now, there is no way to
install tcl/tk 8.1 on my system without breaking tck/tk 8.3 other than
installing in /usr/local/include.

------- Comment #1 From SpanKY 2002-07-03 12:04:11 0000 -------
tcl and tk are sep packages thus they get sep dirs ... i find the way it is 
currently setup to be the 'norm' on distro's ive used

------- Comment #2 From Karl Trygve Kalleberg (RETIRED) 2002-11-02 05:55:00 0000 -------
Good suggestion, but as we only have one version of tcl, it's not a problem
right now. Whenever 8.4 comes out and we get a package for it, we'll handle it
then. 

------- Comment #3 From Eamon Caddigan 2003-11-20 18:29:57 0000 -------
8.4 is out and a lot of people who want to use it find it's breaking other 
packages (which explains why it's still masked). I've written a couple of beta 
ebuilds for slotted tcl and tk. This will allow everybody to keep the old 
libraries for backward-compatability, and still take advantage of the new 
features in the language.

TODO: 
* Write a tcltk-update script that allows the user to switch tcl-tk versions
(see opengl-update).
* Handle man pages and headers as mentioned in the original description for
this bug.
* Clean up this hack, possibly using tcltk-update to check for previously 
installed versions and create symlinks (and possibly move this functionality 
from src_install to pkg_postinst).

I'm still new to writing ebuilds, so there's probably much more room for improvement. 

------- Comment #4 From Eamon Caddigan 2003-11-20 18:34:02 0000 -------
Created an attachment (id=21007) [details]
tk-8.4.4-r1 beta 1

------- Comment #5 From Eamon Caddigan 2003-11-20 18:34:30 0000 -------
Created an attachment (id=21008) [details]
tcl-8.4.4-r1 beta 1

First Last Prev Next    No search results available      Search page      Enter new bug