Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#56807 closed defect (fixed)

support tk +quartz variant in Tcl/Tk ports

Reported by: chrstphrchvz (Christopher Chavez) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc:
Port: tix p5-tcl-ptk R gvemod-labeler magic magic-devel xcrysden tktable

Description (last modified by chrstphrchvz (Christopher Chavez))

The port for Tcl/Tk has both x11 and quartz ("aqua" native UI) variants. Ideally, the ports for any Tcl/Tk-related ports or extensions should also support aqua in addition to X11. Some extensions with ports I know of so far are Tix and TkTable, since those can be used to extend the functionality available in p5-tcl-ptk, but there are probably are a few more.

Since tix and tktable are nomaintainer, I understand that it will probably be up to myself to implement this. I may need some assistance in configuring things like variants properly, though.

Change History (7)

comment:1 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Port: R gvemod-labeler magic magic-devel xcrysden added; tktable removed

It looks like the portfile for TkTable didn't have a tk +x11 restriction.

Another port I would have mentioned for this issue is tklib; however it is pure Tcl, nor does its portfile have an +x11 restriction either.

Here's the current list of ports that do have an +x11 restriction (i.e. require_active_variants tk x11 but not require_active_variants tk quartz):

R +tcltk
gvemod-labeler
magic
magic-devel
xcrysden

I'll add these ports as affected by this issue for awareness, though any of them can be removed if they can't or don't intend to support Tk aqua. The only port I'm particularly interested in having work is the Tix port.

comment:2 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Description: modified (diff)
Summary: support tk +quartz variant in Tcl/Tk extensionssupport tk +quartz variant in Tcl/Tk ports

comment:3 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:4 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

In c9de0edae6e7087004fe1d1c33ccb9b39ec826e2/macports-ports (master):

tix: use installed version of Tcl/Tk

This removes the conflict with tk +quartz.

See 453df368d934751552c56808c037452432777665/macports-ports
See #56807

comment:5 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez removed
Owner: set to MarcusCalhoun-Lopez
Status: newaccepted

comment:6 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: acceptedclosed

tix is now fixed.
The other ports, however, depends on X11 in a fundamental way that would be very hard to fix.
Since you mentioned that Tix was your priority, I will close this as fixed.

If anyone would like to research this issue more (and get the changes merged upstream), we can revisit this issue.

comment:7 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Port: tktable added

See #38238: even though tktable has no +x11 restriction (adding one was suggested), it reportedly can't be built for +quartz. (No other ports depend on it currently. For p5-tcl-ptk, it would only be used by Tcl::pTk::TableMatrix, so it's of minor importance compared to Tix which is used for much more common widgets.)

Note: See TracTickets for help on using tickets.