<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ff1456fa32ba63f55ee7555658d766efa09d2dac">https://github.com/macports/macports-ports/commit/ff1456fa32ba63f55ee7555658d766efa09d2dac</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ff1456f Merge pull request #7214 from jwhowarth/master
</span>ff1456f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ff1456fa32ba63f55ee7555658d766efa09d2dac
</span>Author: jwhowarth <howarth.mailing.lists@gmail.com>
AuthorDate: Sun May 24 12:38:30 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> Merge pull request #7214 from jwhowarth/master
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> port pymol: delete unused pymol-use-glkit.diff patch file
</span>---
science/pymol/files/pymol-use-glkit.diff | 109 -------------------------------
1 file changed, 109 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/pymol/files/pymol-use-glkit.diff b/science/pymol/files/pymol-use-glkit.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 869c065..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/pymol/files/pymol-use-glkit.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,109 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Index: layer0/os_gl.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-===================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- layer0/os_gl.cpp (revision 4111)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ layer0/os_gl.cpp (working copy)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -3,6 +3,43 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include<stdio.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+const char* PyMOLgluErrorString(GLenum errorCode)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+{
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ static const struct {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ GLenum code;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ const char *string;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ } errors[]=
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ /* GL */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GL_NO_ERROR, "no error"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GL_INVALID_ENUM, "invalid enumerant"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GL_INVALID_VALUE, "invalid value"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GL_INVALID_OPERATION, "invalid operation"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GL_STACK_OVERFLOW, "stack overflow"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GL_STACK_UNDERFLOW, "stack underflow"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GL_OUT_OF_MEMORY, "out of memory"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GLU_INVALID_ENUM, "invalid enumerant"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GLU_INVALID_VALUE, "invalid value"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GLU_OUT_OF_MEMORY, "out of memory"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GLU_INCOMPATIBLE_GL_VERSION, "incompatible gl version"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {GLU_INVALID_OPERATION, "invalid operation"},
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {0, NULL }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ };
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ int i;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i=0; errors[i].string; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (errors[i].code == errorCode)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return errors[i].string;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return NULL;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void PyMOLReadPixels(GLint x,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GLint y,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GLsizei width,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -96,7 +133,7 @@ int PyMOLCheckOpenGLErr(const char *pos)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int flag = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GLenum glerr = glGetError();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- while(glerr != GL_NO_ERROR) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- printf("OpenGL-Error: Where? %s: %s\n", pos, (char *) gluErrorString(glerr));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ printf("OpenGL-Error: Where? %s: %s\n", pos, (char *) PyMOLgluErrorString(glerr));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- glerr = glGetError();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- flag = 1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Index: layer0/os_gl.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-===================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- layer0/os_gl.h (revision 4111)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ layer0/os_gl.h (working copy)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -64,6 +64,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* END PROPRIETARY CODE SEGMENT */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+static const char* PyMOLgluErrorString(GLenum errorCode);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void PyMOLReadPixels(GLint x,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GLint y,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GLsizei width,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Index: layer1/Scene.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-===================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- layer1/Scene.cpp (revision 4111)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ layer1/Scene.cpp (working copy)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -60,6 +60,8 @@ Z* -------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <vector>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <GLKit/GLKMatrix4.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #ifdef _PYMOL_IP_EXTRAS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include "IncentiveCopyToClipboard.h"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -9072,7 +9074,8 @@ void SceneRender(PyMOLGlobals * G, Picki
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(!SettingGetGlobal_b(G, cSetting_ortho)) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- float fov = SettingGetGlobal_f(G, cSetting_field_of_view);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- gluPerspective(fov, aspRat, I->FrontSafe, I->BackSafe);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ // gluPerspective(fov, aspRat, I->FrontSafe, I->BackSafe);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ glMultMatrixf(GLKMatrix4MakePerspective(fov*PI/180., aspRat, I->FrontSafe, I->BackSafe).m);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- height = fmax(R_SMALL4, -I->Pos[2]) * GetFovWidth(G) / 2.f;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- width = height * aspRat;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Index: setup.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-===================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.py (revision 4111)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py (working copy)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -274,6 +274,11 @@ else: # unix style (linux, mac, ...)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- glut = posix_find_lib(['glut', 'freeglut'], lib_dirs)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pyogl_libs += ["GL", "GLU", glut]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if sys.platform == 'darwin':
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ext_link_args += [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "-framework", "GLKit",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- libs += ["GLEW"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- libs += pyogl_libs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>