Advice on distributing a project

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Thu Jun 28 21:19:06 UTC 2018





On 6/28/18, 4:00 PM, "Ryan Schmidt" <ryandesign at macports.org> wrote:





    On Jun 28, 2018, at 14:56, Langer, Stephen A. (Fed) wrote:



    > 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?



    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.



    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.





    > 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.

    >

    > 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?



    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.



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.



-- Steve


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180628/153af95b/attachment.html>


More information about the macports-users mailing list