Skip to content

Disable aqua on mac? #22

@smithsp

Description

@smithsp

I would like to disable the aqua front end of tk, and use the regular x11 face. I tried building without aqua on my Mac, but came across problems. Here are the changes I made:

diff --git a/recipe/build.sh b/recipe/build.sh
index cb190da..3faa53e 100755
--- a/recipe/build.sh
+++ b/recipe/build.sh
@@ -28,7 +28,7 @@ cd $SRC_DIR/tk${VER}/unix
        --prefix="${PREFIX}" \
        $ARCH_FLAG \
        --with-tcl="${PREFIX}/lib" \
-       --enable-aqua=yes \
+       --enable-aqua=no \
 
 make
 make install
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 1c0795e..b9a363d 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -26,8 +26,16 @@ requirements:
     - curl           # [win]
     - 7za            # [win]
     - vc {{ VC_VERSION }}  # [win]
+    - xorg-libx11 1.6.*        
+    - xorg-xproto 7.0.31 6
+    - libxcb 1.12 1
+    - xorg-kbproto 1.0.7 1
+    - xorg-libxdmcp 1.1.2 3
+    - xorg-libxau 1.0.8 3
+
   run:
     - vc {{ VC_VERSION }}  # [win]
+    - xorg-libx11 1.6.*
 
 test:

My build fails abruptly with

Fixing linking of /atom/conda-bld/tk_1516137711021/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib:/usr/X11R6/lib/libtk8.6.dylib in /atom/conda-bld/tk_1516137711021/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/libtk8.6.dylib
Error: Could not find lib:/usr/X11R6/lib/libtk8.6.dylib

Full log is attached.

I was able to build previously, but that version seems to have had some opportunistic linking to my MacPorts installation in /opt/local.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions