Skip to content
Tcl Source Code View Ticket
Login

View Ticket

MacOSX: packages search in Frameworks

Closed / Accepted624509ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-10-17 08:03:38
The attached patch adds the standard Framework
directories to the  tcl_pkgPath along with
@executable_path/../Frameworks and
@executable_path/../PrivateFrameworks (if they exists)
and the directories in DYLD_FRAMEWORK_PATH (if set) .

It also extends tclPkgUnknown and tcl_findLibrary to
search inside the Resources/Scripts subdirectory of any
potential package directory.

All this on MacOSX/Darwin only
dasplain2002-10-17 15:03:38
File Added - 33266: tcl.diff
dasplain2002-10-17 15:15:36
Logged In: YES 
user_id=90580

If there are no objections, I'l  check this in.
dgpplain2002-10-17 23:49:39
Logged In: YES 
user_id=80530

Is there a compelling reason to
support such a gratuitous platform
difference?  Seems like it will only
cause cross-platform grief as installers
and other utilities dealing with installed
directory tress have to check
"Am I on MacOSX" and
install in a different place.  What's wrong
with just using the existing conventions?
dasplain2002-10-22 23:39:59
Logged In: YES 
user_id=90580

checked in after extended discussion on tcl-mac
dasplain2002-10-23 08:52:36
Logged In: YES 
user_id=90580

attached additional patch (to be applied on top of the earlier 
one) that splits off the platfrom specific package searching 
functionality into separate [package unknown] handlers. These 
handlers first call through to the standard handler, followed by 
the platform specific search.

assigning to Don for review.
dasplain2002-10-23 08:52:37
File Added - 33654: package.diff
dgpplain2002-10-24 02:30:45
Logged In: YES 
user_id=80530

See the Tcl Bug 627660 and check
that this patch will not have similar trouble.
dasplain2002-10-27 18:09:45
File Deleted - 33654: 



File Added - 33970: package.diff

Logged In: YES 
user_id=90580

revised last patch to no longer install platform specific package 
unknown handlers if [interp issafe] (fixes bug 627660).
This also simplifies the platform specific handlers somewhat since 
we no longer need to check for interp safety there.
dgpplain2002-10-28 23:34:54
Logged In: YES 
user_id=80530

committed.
Log in (anonymous is fine) to add a comment.

Attachments: