Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-10-28
23:34 • Closed ticket [624509ffff]: MacOSX: packages search in Frameworks plus 7 ot... artifact: 825338ff4b user: dgp
2002-10-27
18:09 • Add attachment package.diff to ticket [624509ffff] artifact: e7de1114ca user: das
18:09 • Ticket [624509ffff] MacOSX: packages search in Frameworks status still Open... artifact: 131385838a user: das
2002-10-24
02:30 • Ticket [624509ffff]: 5 changes artifact: 893eb8b8e9 user: dgp
2002-10-23
08:52 • Ticket [624509ffff]: 4 changes artifact: 407b08b3aa user: das
08:52 • Open ticket [624509ffff]. artifact: d5dcc0f85d user: das
2002-10-22
23:39 • Closed ticket [624509ffff]. artifact: 9f39c76915 user: das
2002-10-17
23:49 • Open ticket [624509ffff]. artifact: 16872c9b32 user: dgp
15:15 • Pending ticket [624509ffff]. artifact: de53672a49 user: das
15:03 • Add attachment tcl.diff to ticket [624509ffff] artifact: ddd452c296 user: das
15:03 • Ticket [624509ffff] MacOSX: packages search in Frameworks status still Open... artifact: 1bf4ab94cd user: das
08:03 • New ticket [624509ffff]. artifact: 9435af1794 user: das

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: