On 1/7/17 3:20 PM, Murray Eisenberg wrote: > Doing “sudo port deactivate active” would deactivate ALL my active ports, > would it not? And given that I have scores > active, it would be brutal to reactivate all of them,
Hence the previously mentioned criticism but it works. > > I had originally installed inkscape with +quartz, which didn’t work. Then > after uninstalling that I installed inkscape > +x11, which also didn’t work! Then you have some mixed combination of +x11 and +quartz ports installed that may not be compatible with each other. So best to decide if you really want to run +quartz or +x11 as an arbitrary mixture can be problematic (as you have observed). > > I don’t understand syntax & semantics of: > > sudo port -f deactivate rdepof:inkscape and active > > (I don’t find any mention of “rdepof” at guide.macports.org > <http://guide.macports.org>, and I need to be sure that the > “and active” there really applies only to whatever it is that would match > "rdepof:inkscape”. > > I note the output from > > sudo port installed | grep quartz > > is: > > cairo @1.14.8_0+quartz+x11 (active) > pango @1.40.3_1+quartz+x11 (active) > tk @8.6.6_0+quartz (active) > > And I have a huge number of ports that depend on cairo. > > So still question is what to do. Ok, I'm assuming you want to switch to +quartz. Let's take one step at a time. First, cairo and pango are not an issue as they support both +x11 and +quartz without rebuilding. They're ok. >From your output, I assume that gtk2 is still built +x11. That would explain >why XQuartz is starting. What does port installed gtk2 report? If it's still gtk2 +x11, install gtk2 +quartz instead. Test by running gtk-demo (provided by gtk2) and observe that it runs (sucessfully) without XQuartz starting. While you do this, I'll make a list of other inkscape dependencies from my (working) installation that need to be rebuilt with +quartz. Dave > >> On Jan 7, 2017, at 4:48 PM, David Evans <[email protected] >> <mailto:[email protected]>> wrote: >> >> On 1/7/17 10:31 AM, Murray Eisenberg wrote: >>> I have latest (2..7.11) XQuartz installed under macOS Sierra (10.12.2). I >>> installed inkscape+quartz and insckape-app. >>> When I either run inkscape from Terminal command line or from inkscape.app >>> created by the latter, I see the XQiartz icon >>> repeatedly appear and bounce in my Dock and then disappear. But I never see >>> an Inkscape window. >>> >>> How to fix? >> >> If the XQuartz server is being activated, that indicates that your program >> is issuing X11 protocol requests. Thus, it >> appears that you have not been successful in rebuilding all the necessary >> dependencies with +quartz instead of +x11. >> >> Although I have been criticized for suggesting such a brute force approach, >> the most fool proof way I know of doing >> this this transition successfully is the following: >> >> sudo port deactivate active >> sudo port install inkscape +quartz >> >> or perhaps less clumsily >> >> sudo port -f deactivate rdepof:inkscape and active >> sudo port install inkscape +quartz >> >> This is how I switch from one to the other for testing. >> >> Note that a potential problem in trying to switch from +x11 to +quartz on a >> port by port basis is that you may now be >> mixing installed ports that require +x11 and others that require +quartz >> that may have common dependencies that can only >> be installed one way or the other. >> >> Depending on what ports you often use, you may have to decide on whether you >> want a +quartz only installation or an +x11 >> one. >> >> Dave >> > > --- > Murray [email protected] <mailto:[email protected]> > 503 King Farm Blvd #101Home (240)-246-7240 > Rockville, MD 20850-6667Mobile (413)-427-5334 > >
