Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 25

Summary: tk-8.3.3.ebuild
Product: Gentoo Linux Reporter: Tod M. Neidt <tneidt>
Component: [OLD] DevelopmentAssignee: Damon Conway (RETIRED) <kabau>
Status: RESOLVED FIXED    
Severity: normal Keywords: EBUILD
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 24    
Bug Blocks: 4, 28    
Attachments: tk-8.3.3.ebuild

Description Tod M. Neidt 2002-01-04 19:18:26 UTC
Hi!

Please find attached tcl-8.3.3.ebuild and tk-8.3.3.ebuild.  These
ebuilds accomplish the following:

1. split the tcl and tk packages into separate ebuilds.
This makes writing ebuilds for packages that depend on tcl and/or tk
much easier to handle (see expect-5.33.0.ebuild post and the
vim-6.0-r2.ebuild patch attached).  I recommend putting the tcl ebuild
under dev-lang/tcl and the tk ebuild under dev-tcltk/tk.


2. ebuilds are now version independent. 

Renaming ebuilds to *-8.4.2.ebuild should work.  I have not tested this,
but these ebuilds were based on the tcl-tk-8.4.2.ebuild.

3. The original tcl-tk-8.3.3.ebuild did not install the private headers
and config.sh's for tcl and tk.  This is why vim-6.0-r2.ebuild did not
work with 'use tcltk'

4. Promotes world peace and smells minty fresh.

Splitting up tcl and tk into separate ebuilds may cause some minor pain
updating the dependencies of ebuilds that depend on them, but I think it
is worth it in the long run.

tod
Comment 1 Tod M. Neidt 2002-01-04 19:19:05 UTC
Created attachment 13 [details]
tk-8.3.3.ebuild
Comment 2 Damon Conway (RETIRED) gentoo-dev 2002-01-09 14:18:30 UTC
Accepting as a real bug.  I'm testing the ebuilds out on my system.
Comment 3 Damon Conway (RETIRED) gentoo-dev 2002-01-09 14:37:14 UTC
It works for me, so I'm committing the ebuild.
Comment 4 Tod M. Neidt 2002-01-09 14:44:14 UTC
Hi!

Some additional info that might be of use.

1. The expect ebuild (bug 28) is a good test of a working tcl and tk
installation. It depends on tcl-8.3* and tk-8.3*, but won't compile because the
private headers are not installed by the current tcl-tk ebuild.

2. Contrary to my original comments, the submitted tcl-8.3.3 ebuild does not fix
the vim --with-tcl problem.  It does allow vim to be compiled successfully using
the --with-tcl configure flag and the resulting vim appears to run fine, however
it doesn't pass the 
VIMINIT='let OS = system("uname -s")' vim
test that agriffis pointed out to me (see vim-6.0-r3.ebuild)  This appears to be
an upstream vim issue.

tod