Opened 12 years ago

Closed 6 years ago

#38844 closed enhancement (fixed)

Build tk without X11

Reported by: irony42@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: petrrr, mojca (Mojca Miklavec)
Port: tk

Description

tk comes with copies of X11 headers, so "tk -x11 +quartz" can be built without depending on xorg-libX11.

Attachments (2)

Portfile-tk.diff (1.1 KB) - added by irony42@… 12 years ago.
Patch
patch-no-x11h.diff (843 bytes) - added by irony42@… 12 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: haspatch added
Owner: changed from macports-tickets@… to mww@…
Version: 2.1.3

In the future, please Cc the port maintainer(s).

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Won't anything that includes tk.h fail to compile when Xlib.h is not available?

comment:3 Changed 12 years ago by irony42@…

Who would anyone want to do that? :P

I updated the patch to account for this, but I'm not sure if it should be accepted.

Last edited 12 years ago by irony42@… (previous) (diff)

Changed 12 years ago by irony42@…

Attachment: Portfile-tk.diff added

Patch

Changed 12 years ago by irony42@…

Attachment: patch-no-x11h.diff added

comment:4 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:5 Changed 8 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:6 Changed 8 years ago by dmarteau (David Marteau)

Thx for the patch, it saved my day to use tkinter without installing all X11 dependencies . Is there anybody to take care of if ?

Thx in advance.

comment:7 Changed 8 years ago by mf2k (Frank Schima)

Owner: mww@… deleted
Status: newassigned

See #53012.

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

Owner: set to MarcusCalhoun-Lopez
Status: assignedaccepted

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

Resolution: fixed
Status: acceptedclosed

This strategy has been implemented in the Tk port.

Note: See TracTickets for help on using tickets.