Tcl Source Code

View Ticket
Login
Ticket UUID: 624509
Title: MacOSX: packages search in Frameworks
Type: Patch Version: None
Submitter: das Created on: 2002-10-17 08:03:38
Subsystem: 39. Package Manager Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-10-28 23:34:54
Resolution: Accepted Closed By: dgp
    Closed on: 2002-10-28 16:34:54
Description:
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
User Comments: dgp added on 2002-10-28 23:34:54:
Logged In: YES 
user_id=80530

committed.

das added on 2002-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.

dgp added on 2002-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.

das added on 2002-10-23 08:52:37:

File Added - 33654: package.diff

das added on 2002-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.

das added on 2002-10-22 23:39:59:
Logged In: YES 
user_id=90580

checked in after extended discussion on tcl-mac

dgp added on 2002-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?

das added on 2002-10-17 15:15:36:
Logged In: YES 
user_id=90580

If there are no objections, I'l  check this in.

das added on 2002-10-17 15:03:38:

File Added - 33266: tcl.diff

Attachments: