Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60263 - Support to the "tcltk" use flag in the wordnet ebuild
Summary: Support to the "tcltk" use flag in the wordnet ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 130022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-13 13:06 UTC by Gustavo M. Gama
Modified: 2006-04-15 03:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wordnet-2.0.ebuild.diff (wordnet-2.0.ebuild.diff,492 bytes, patch)
2004-10-05 06:21 UTC, Akinori Hattori
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo M. Gama 2004-08-13 13:06:49 UTC
The current wordnet ebuild depends on TCL/TK packages. However, I believe it should be optionally compiled with such support by means of the "tcltk" use flag, since WordNet is perfectly usable through its command line interface and API.

Reproducible: Always
Steps to Reproduce:
1. emerge app-dicts/wordnet

Actual Results:  
The TCL/TK were installed, inspite of my "-tcltk" USE flag.

Expected Results:  
Not installed TCL/TK if the USE flags specified not to.

I've modified the current ebuild using the patch below. It worked for me, though
I'm not sure it follows Gentoo guidelines.
------------- 8< --------------
--- wordnet-2.0-r1.patched.ebuild  2004-08-13 17:03:07.000000000 -0300
+++ wordnet-2.0-r1.ebuild       2004-08-13 17:03:41.000000000 -0300
@@ -7,14 +7,10 @@
 DESCRIPTION="WordNet : a lexical database for the English language"
 HOMEPAGE="http://www.cogsci.princeton.edu/~wn/"
 SRC_URI="ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PV}/WordNet-${PV}.tar.gz"
-IUSE="tcltk"
-DEPEND="tcltk?
-           (
-              dev-lang/tcl
-              dev-lang/tk
-           )"
+DEPEND="tcl tk"
 LICENSE="Princeton"
 SLOT="0"
+IUSE=""
 KEYWORDS="~x86 ~ppc"
 S=${WORKDIR}/WordNet-${PV}
Comment 1 Akinori Hattori gentoo-dev 2004-10-05 06:21:39 UTC
Created attachment 41142 [details, diff]
wordnet-2.0.ebuild.diff

This is more simple one. (dev-lang/tk depends on dev-lang/tcl)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 11:05:06 UTC
INSTALL snip:

4. Compiling the WordNet Source Code

This version of the WordNet window-based browser is written in Tcl/Tk.
If you want to compile the browser on your system, you must have the
Tcl/TK 8 libraries installed on your system.  Read the file
README.tcltk for information about Tcl/Tk.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-15 03:58:09 UTC
*** Bug 130022 has been marked as a duplicate of this bug. ***