Changes between Initial Version and Version 1 of Ticket #56139


Ignore:
Timestamp:
Apr 13, 2018, 5:14:00 PM (6 years ago)
Author:
jwhowarth
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56139 – Description

    initial v1  
    1 The attached Portfile.diff allows the pymol 2.1.0 release to be built with its new PyQt support. A default x11 variant is added to the packaging to allow for the current build against X11/tk by default. The upstream code currently has two defects.
    2 
    3 1) The tkinter based modules aren't accessible under the PyQt interface as expected. However, upstream is still blindly loading those modules under the PyQt interface so, if tkinter isn't installed, non-fatal warnings will appear such as...
    4 
    5 No module named _tkinter
    6 Unable to initialize plugin 'remote_pdb_load' (pmg_tk.startup.remote_pdb_load).
    7 No module named _tkinter
    8 Unable to initialize plugin 'apbs_tools' (pmg_tk.startup.apbs_tools).
    9 
    10 2) Currently pymol will always use the PyQt interface if it can be found. This causes the x11 variant of pymol to fail to properly detect its GL support.
    11 
    12 I am posting this packaging so users can access it for testing and report any additional bugs to upsteam. Hopefully they will resolve the two issues noted above shortly.
     1The attached Portfile.diff switches the build of pymol to use the new PyQt interface. The package retains the dependencies to build the legacy plugins against the tk interface so the apbs tools plugin is still usable. Note that pmw and pdb2pqr are still python 2.7-centric so that the apbs tools plugin is only usable for the default python27 variant of pymol.