Opened 13 years ago

Closed 12 years ago

#30746 closed defect (duplicate)

molmol doesn't display graphical widgets under Lion

Reported by: howarth@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: lion Cc:
Port: molmol

Description

The molmol program doesn't display its widgets or menus under Lion. This issue looks identical to the problems seen in [MacPorts] #21835: molmol 2k2.0 when the package was originally submitted. At that time, a batch of xorg updates in MacPorts either fixed that problem or it just went latent. Note that this issue occurs both against the X11 from Lion as well as the Xquartz 2.7.0 beta1. It occurs with the MacPorts xorg packages as well as under fink with the Lion X11 packages.

Attachments (1)

Portfile.diff (1.6 KB) - added by howarth@… 13 years ago.
Portfile diff to solve breakage on Lion, updates png support and fixes clang warnings.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Keywords: lion added; science removed

comment:2 Changed 13 years ago by howarth@…

This issue seems to be due to Lion no longer tolerating the use of...

    echo "LineBond solid 1  "  >>| $startmacro ; /opt/local/share/molmol/src/main/molmol $xopt < /dev/null 

in the /opt/local/bin/molmol startup script. If use...

#if [ "$input" = "-" -o -n "$nograph" ]; then
    echo "LineBond solid 1  "  >>| $startmacro ; /opt/local/share/molmol/src/main/molmol $xopt
#else
#    echo "LineBond solid 1  "  >>| $startmacro ; /opt/local/share/molmol/src/main/molmol $xopt < /dev/null 
#fi

to avoid the redirection from /dev/null, molmol behaves normally. I don't know if this implies a problem in xorg or breakage in the zsh in Lion (since the startup script uses that shell).

Changed 13 years ago by howarth@…

Attachment: Portfile.diff added

Portfile diff to solve breakage on Lion, updates png support and fixes clang warnings.

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

Resolution: duplicate
Status: newclosed

Attached patch references some files that aren't included, but it looks like this was taken care of in #34408 anyway.

Note: See TracTickets for help on using tickets.