Jeremy,
Unless I am missing something here, the change to so version bump
libXt while retaining the legacy libXt.6.dylib built with
-flat_namespace breaks the ability to rebuild OpenMotif. If I use...
perl -pi -e 's,-lXt ,/opt/X11/lib/libXt.6.dylib ,g' configure.ac
lib/Mrm/Makefile.am lib/Xm/Makefile.am
to force the build of OpenMotif to use the legacy OpenMotif copy, the
linkages fail with...
/bin/sh ../../libtool --tag=CC --mode=link flag-sort -r gcc -g -O2
-Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/sw/include
-I/sw/include/freetype2 -I/opt/X11/include -no-undefined
-version-info 4:4:0 -L/sw/lib -o libXm.la -rpath /sw/lib XmStrDefs.lo
ArrowB.lo ArrowBG.lo BulletinB.lo CallbackI.lo CascadeB.lo
CascadeBG.lo Command.lo CutPaste.lo Dest.lo DialogS.lo DialogSE.lo
DragBS.lo DragC.lo DragOverS.lo DragICC.lo DragIcon.lo DragUnder.lo
DrawingA.lo DrawnB.lo DropSMgr.lo DropSMgrI.lo DropTrans.lo
ExtObject.lo FileSB.lo Form.lo Frame.lo Gadget.lo GadgetUtil.lo
GeoUtils.lo ImageCache.lo Label.lo LabelG.lo List.lo MainW.lo
MapEvents.lo MenuShell.lo MenuUtil.lo MessageB.lo PanedW.lo PushB.lo
PushBG.lo ReadImage.lo Region.lo ResConvert.lo ResInd.lo RowColumn.lo
Sash.lo Scale.lo ScrollBar.lo ScrolledW.lo SelectioB.lo SeparatoG.lo
Separator.lo Simple.lo Text.lo TextIn.lo TextOut.lo TextStrSo.lo
TextSel.lo ToggleB.lo ToggleBG.lo TrackLoc.lo UniqueEvnt.lo
VaSimple.lo VirtKeys.lo XmString.lo ResEncod.lo TextF.lo TextFSel.lo
AtomMgr.lo Cache.lo Protocols.lo Primitive.lo Manager.lo Traversal.lo
TravAct.lo TraversalI.lo BaseClass.lo Desktop.lo Messages.lo
Transltns.lo RepType.lo Xmos.lo Draw.lo TearOff.lo TearOffB.lo XmIm.lo
GMUtils.lo Display.lo Screen.lo ShellE.lo VendorS.lo VendorSE.lo
RCMenu.lo RCLayout.lo GetPixData.lo RCPopup.lo Trait.lo Synthetic.lo
XmFontList.lo ClipWindow.lo Transfer.lo Hash.lo ScrollFrameT.lo
XmTabList.lo Resolve.lo XmStringFunc.lo XmRenderT.lo PixConv.lo
Color.lo Xm.lo CareVisualT.lo Direction.lo XmStringObso.lo
XmStringGet.lo IsMwmRun.lo MenuProc.lo MenuState.lo TextFind.lo
TextFunc.lo ColorObj.lo IconFile.lo RCHook.lo GetRes.lo BBUtil.lo
ChColor.lo ColObjFunc.lo DrTog.lo DrArrow.lo DrPoly.lo DrHiDash.lo
ValTime.lo FocusAct.lo CvtUnit.lo ScalTics.lo ScroVis.lo WidGet.lo
PrintS.lo Obso1_2.lo ObsoStr.lo ObsoXme.lo Obso2_0.lo XpmAttrib.lo
XpmCrIFrDat.lo XpmInfo.lo XpmWrFFrDat.lo Xpmmisc.lo XpmCrBufFrI.lo
XpmCrIFrP.lo XpmRdFToBuf.lo XpmWrFFrI.lo Xpmparse.lo XpmCrBufFrP.lo
XpmCrPFrBuf.lo XpmRdFToDat.lo XpmWrFFrP.lo Xpmrgb.lo XpmCrDatFrI.lo
XpmCrPFrDat.lo XpmRdFToI.lo Xpmcreate.lo Xpmscan.lo Xpms_popen.lo
XpmCrDatFrP.lo XpmCrPFrI.lo XpmRdFToP.lo Xpmdata.lo XpmCrIFrBuf.lo
XpmImage.lo XpmWrFFrBuf.lo Xpmhashtab.lo IconH.lo Container.lo
IconG.lo Notebook.lo ComboBox.lo GrabShell.lo SpinB.lo SSpinB.lo
TxtPropCv.lo XmStringSeg.lo TranslNew.lo SlideC.lo ToolTip.lo
EditresCom.lo XmExtUtil.lo Column.lo ButtonBox.lo ColorS.lo Picture.lo
DataFSel.lo DataF.lo MultiList.lo I18List.lo Paned.lo FontS.lo
IconBox.lo IconButton.lo xmlist.lo Hierarchy.lo Outline.lo TabBox.lo
TabList.lo TabStack.lo DrawUtils.lo Tree.lo DropDown.lo Jpeg.lo Png.lo
-L/usr/X11/lib -lXmu /opt/X11/lib/libXt.6.dylib -lXext -lXp -lX11
-liconv -L/sw/lib -lfreetype -L/usr/X11/lib -lXft -lXrender -L/sw/lib
-lfontconfig -L/sw/lib -lXft -ljpeg -lpng
libtool: link: flag-sort -r gcc -dynamiclib -o .libs/libXm.4.dylib
.libs/XmStrDefs.o .libs/ArrowB.o .libs/ArrowBG.o .libs/BulletinB.o
.libs/CallbackI.o .libs/CascadeB.o .libs/CascadeBG.o .libs/Command.o
.libs/CutPaste.o .libs/Dest.o .libs/DialogS.o .libs/DialogSE.o
.libs/DragBS.o .libs/DragC.o .libs/DragOverS.o .libs/DragICC.o
.libs/DragIcon.o .libs/DragUnder.o .libs/DrawingA.o .libs/DrawnB.o
.libs/DropSMgr.o .libs/DropSMgrI.o .libs/DropTrans.o .libs/ExtObject.o
.libs/FileSB.o .libs/Form.o .libs/Frame.o .libs/Gadget.o
.libs/GadgetUtil.o .libs/GeoUtils.o .libs/ImageCache.o .libs/Label.o
.libs/LabelG.o .libs/List.o .libs/MainW.o .libs/MapEvents.o
.libs/MenuShell.o .libs/MenuUtil.o .libs/MessageB.o .libs/PanedW.o
.libs/PushB.o .libs/PushBG.o .libs/ReadImage.o .libs/Region.o
.libs/ResConvert.o .libs/ResInd.o .libs/RowColumn.o .libs/Sash.o
.libs/Scale.o .libs/ScrollBar.o .libs/ScrolledW.o .libs/SelectioB.o
.libs/SeparatoG.o .libs/Separator.o .libs/Simple.o .libs/Text.o
.libs/TextIn.o .libs/TextOut.o .libs/TextStrSo.o .libs/TextSel.o
.libs/ToggleB.o .libs/ToggleBG.o .libs/TrackLoc.o .libs/UniqueEvnt.o
.libs/VaSimple.o .libs/VirtKeys.o .libs/XmString.o .libs/ResEncod.o
.libs/TextF.o .libs/TextFSel.o .libs/AtomMgr.o .libs/Cache.o
.libs/Protocols.o .libs/Primitive.o .libs/Manager.o .libs/Traversal.o
.libs/TravAct.o .libs/TraversalI.o .libs/BaseClass.o .libs/Desktop.o
.libs/Messages.o .libs/Transltns.o .libs/RepType.o .libs/Xmos.o
.libs/Draw.o .libs/TearOff.o .libs/TearOffB.o .libs/XmIm.o
.libs/GMUtils.o .libs/Display.o .libs/Screen.o .libs/ShellE.o
.libs/VendorS.o .libs/VendorSE.o .libs/RCMenu.o .libs/RCLayout.o
.libs/GetPixData.o .libs/RCPopup.o .libs/Trait.o .libs/Synthetic.o
.libs/XmFontList.o .libs/ClipWindow.o .libs/Transfer.o .libs/Hash.o
.libs/ScrollFrameT.o .libs/XmTabList.o .libs/Resolve.o
.libs/XmStringFunc.o .libs/XmRenderT.o .libs/PixConv.o .libs/Color.o
.libs/Xm.o .libs/CareVisualT.o .libs/Direction.o .libs/XmStringObso.o
.libs/XmStringGet.o .libs/IsMwmRun.o .libs/MenuProc.o
.libs/MenuState.o .libs/TextFind.o .libs/TextFunc.o .libs/ColorObj.o
.libs/IconFile.o .libs/RCHook.o .libs/GetRes.o .libs/BBUtil.o
.libs/ChColor.o .libs/ColObjFunc.o .libs/DrTog.o .libs/DrArrow.o
.libs/DrPoly.o .libs/DrHiDash.o .libs/ValTime.o .libs/FocusAct.o
.libs/CvtUnit.o .libs/ScalTics.o .libs/ScroVis.o .libs/WidGet.o
.libs/PrintS.o .libs/Obso1_2.o .libs/ObsoStr.o .libs/ObsoXme.o
.libs/Obso2_0.o .libs/XpmAttrib.o .libs/XpmCrIFrDat.o .libs/XpmInfo.o
.libs/XpmWrFFrDat.o .libs/Xpmmisc.o .libs/XpmCrBufFrI.o
.libs/XpmCrIFrP.o .libs/XpmRdFToBuf.o .libs/XpmWrFFrI.o
.libs/Xpmparse.o .libs/XpmCrBufFrP.o .libs/XpmCrPFrBuf.o
.libs/XpmRdFToDat.o .libs/XpmWrFFrP.o .libs/Xpmrgb.o
.libs/XpmCrDatFrI.o .libs/XpmCrPFrDat.o .libs/XpmRdFToI.o
.libs/Xpmcreate.o .libs/Xpmscan.o .libs/Xpms_popen.o
.libs/XpmCrDatFrP.o .libs/XpmCrPFrI.o .libs/XpmRdFToP.o
.libs/Xpmdata.o .libs/XpmCrIFrBuf.o .libs/XpmImage.o
.libs/XpmWrFFrBuf.o .libs/Xpmhashtab.o .libs/IconH.o .libs/Container.o
.libs/IconG.o .libs/Notebook.o .libs/ComboBox.o .libs/GrabShell.o
.libs/SpinB.o .libs/SSpinB.o .libs/TxtPropCv.o .libs/XmStringSeg.o
.libs/TranslNew.o .libs/SlideC.o .libs/ToolTip.o .libs/EditresCom.o
.libs/XmExtUtil.o .libs/Column.o .libs/ButtonBox.o .libs/ColorS.o
.libs/Picture.o .libs/DataFSel.o .libs/DataF.o .libs/MultiList.o
.libs/I18List.o .libs/Paned.o .libs/FontS.o .libs/IconBox.o
.libs/IconButton.o .libs/xmlist.o .libs/Hierarchy.o .libs/Outline.o
.libs/TabBox.o .libs/TabList.o .libs/TabStack.o .libs/DrawUtils.o
.libs/Tree.o .libs/DropDown.o .libs/Jpeg.o .libs/Png.o -L/sw/lib
-L/usr/X11/lib -lXmu -lXext -lXp -lX11 /sw/lib/libiconv.dylib
/sw/lib/freetype219/lib/libfreetype.dylib -lXrender
/sw/lib/fontconfig2/lib/libfontconfig.dylib
/sw/lib/xft2/lib/libXft.dylib /sw/lib/libjpeg.dylib
/sw/lib/libpng16.dylib -g -O2 -g -install_name
/sw/lib/libXm.4.dylib -compatibility_version 5 -current_version 5.4
-Wl,-single_module
Undefined symbols for architecture x86_64:
"_XtAddCallback", referenced from:
_ChangeCB in ArrowB.o
_ChangeCB in ArrowBG.o
_InsertChild in BulletinB.o
_Initialize in Command.o
_XmeCreateClassDialog in DialogS.o
_XmDragStart in DragC.o
_InitiatorMainLoop in DragC.o
...
"_XtAddEventHandler", referenced from:
_XmClipboardEndCopy in CutPaste.o
_InsertChild in MenuShell.o
_Initialize in RowColumn.o
_Realize in RowColumn.o
_InsertChild in RowColumn.o
_Initialize in Scale.o
__XmTextOutputCreate in TextOut.o
...
etc. Have you tested this in MacPorts to see if its openmotif package
can be rebuilt against XQuartz 2.7.9-rc1?
Jack
ps Perhaps you really need both the legacy copy of libXt.6.dylib and
to build a second copy of libXt,7.dylib using -flat_namespace (placed
in a buried subdirectory) to cope with the ABI changes in the headers
for libXt.
On Wed, Jan 6, 2016 at 3:00 PM, Jeremy Huddleston Sequoia
Post by Jeremy Huddleston SequoiaXQuartz 2.7.9_rc1 is available for download. This update contains a workaround for an issue that users have been reporting on El Capitan. If you're on El Capitan and have been seeing OpenGL surfaces remain onscreen after they should have been dismissed, please give this update a try and report back.
http://www.xquartz.org/releases/XQuartz-2.7.9_rc1.html
--Jeremy
_______________________________________________
Xquartz-dev mailing list
https://lists.macosforge.org/mailman/listinfo/xquartz-dev