<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">On 6/28/18, 4:00 PM, "Ryan Schmidt" <ryandesign@macports.org> wrote:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"> <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> On Jun 28, 2018, at 14:56, Langer, Stephen A. (Fed) wrote:<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> > It's the same problem as https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftrac.macports.org%2Fticket%2F56461&data=02%7C01%7Cstephen.langer%40nist.gov%7C43b42482987840610d5208d5dd31c96f%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C1%7C636658128253154762&sdata=tTFlLuhyGXBmMkUthebLsMHtgx1D%2FcJfhh7NiCKEk2s%3D&reserved=0
and https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftrac.macports.org%2Fticket%2F54981&data=02%7C01%7Cstephen.langer%40nist.gov%7C43b42482987840610d5208d5dd31c96f%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C1%7C636658128253164787&sdata=UO8%2FpCI8j2HUvEMYySZVCfM4SX31vVslWRGvsqka4jw%3D&reserved=0.
Is that a problem with glib2 or with all of the ports that use it?<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> My understanding is that those other ports are not compatible with the modification that we've made for glib2, and those other ports will need to adapt.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> Because the modifications we've made have not been included in the official glib2 sources yet, the developers of those other ports probably aren't aware of this situation yet.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> > I thought I'd try to force the x11 variant of glib2 -- I restored the default variants.conf, ran 'port install glib2' and 'port pkg glib2', copied the .pkg file to the mpkg_packages directory for oof3d,
changed variants.conf back to quartz mode, and ran 'port mpkg oof3d'. But MacPorts was too smart for that and wanted to rebuild glib2 with +quartz.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> > <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> > Could I make a new port, called say glib2x11, whose +quartz variant is the same as glib2's +x11 variant? How would I tell all the ports that use glib2 to use glib2x11 instead?<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> If this is just for your own use, you can easily delete the quartz and x11 variants from your local copy of the glib2 portfile and add the --with-appinfo-impl=generic configure flag to the global part of
the portfile.<o:p></o:p></p>
<p class="MsoPlainText"> <o:p></o:p></p>
<p class="MsoPlainText">That will work for now, although it's a poor long term solution, since we'd have to remember to re-edit the portfile every time it was updated.<o:p></o:p></p>
<p class="MsoPlainText"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:black">-- Steve<o:p></o:p></span></p>
<p class="MsoPlainText"> <o:p></o:p></p>
</div>
</body>
</html>