tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gtk3+ broken on OSX due to epoxy update



(I was confused about where the glx include is and what's wrong.)


I looked into this before, and libepoxy 1.2 does build glx and it works.
The problem is that 1.3.1 disables glx on mac on purpose, and that
doesn't make sense to me, because I don't follow wanting libepoxy at all
in an environment without X.  But maybe there's some native GL with
Quartz, and it's trying to hide that.  But pkgsrc depends on X for all
this anyway.

I'm going to try reversing this patch in 1.3.1 and if that succeeds with
gtk3, commit it.



commit e3051481cc9f5b7b36b317aff1454ee16ea9cdb9
Author: Ryan Houdek <Sonicadvance1%gmail.com@localhost>
Date:   Sun May 4 22:52:12 2014 -0500

    Adds support for OS X without X11.
    
    OS X support shouldn't depend on X11 being installed on the host.
    Removes the X11 dependency.

diff --git a/configure.ac b/configure.ac
index 399e351..baf1765 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,7 +78,7 @@ case $host_os in
         ;;
     darwin*)
         build_egl=no
-        build_glx=yes
+        build_glx=no
         build_wgl=no
         build_apple=yes
         has_znow=no
diff --git a/src/dispatch_common.h b/src/dispatch_common.h
index 28bf533..e0e5452 100644
--- a/src/dispatch_common.h
+++ b/src/dispatch_common.h
@@ -30,7 +30,7 @@
 #define EPOXY_IMPORTEXPORT __declspec(dllexport)
 #elif defined(__APPLE__)
 #define PLATFORM_HAS_EGL 0
-#define PLATFORM_HAS_GLX 1
+#define PLATFORM_HAS_GLX 0
 #define PLATFORM_HAS_WGL 0
 #define EPOXY_IMPORTEXPORT
 #else

Attachment: pgp1v4rgeltwK.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index