• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
MacPorts vs xquartz? (was Re: openmotif in macports dependencies and xquartz?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MacPorts vs xquartz? (was Re: openmotif in macports dependencies and xquartz?)


  • Subject: MacPorts vs xquartz? (was Re: openmotif in macports dependencies and xquartz?)
  • From: "Philip J. Schneider" <email@hidden>
  • Date: Thu, 31 Mar 2011 11:01:04 -0700

Kinda highjacking my own thread here... :-)

Considering Jeremy's feedback, I downloaded openmotif and all its dependencies, and so I can now build/run an X11 app using MacPorts-provided headers and libs. (That is, with only /opt/local-based paths specified in XCode.)

A few questions:

1. In very general terms, how do the xquartz-provided X includes and libs differ from those provided by MacPorts? Pro/con on using one vs the other?

2. If one did want to distribute an X11 application that needed one or more X-related libraries not provided by the default system (e.g. openmotif), what would be the recommended approach? I might wish to assume that the users would not want to build up their own fink or MacPorts installation... :-)


Thanks!

-- Philip



At 10:50 AM -0700 3/30/11, Philip J. Schneider wrote:
Thanks!

This is all just some at-home experimentation on my part, so the only "user" is me :-) But that's good advice about distributing applications and one's choice of libraries for building same.

I'll have a go at the manual install scheme for openmotif, and am definitely considering converting entirely from fink to MacPorts...just as soon as I can get Pallet running on 10.6.7 (yep, I've submitted a report).

BTW, the application in question is Tony Della Ferra's original X10 xclock, ported to X11, and then enhanced with a Kit Kat Clock-inspired display mode :-)

    http://www.kit-cat.com/

Not sure if the kit-cat.com folks would consider distributing this to be any sort of copyright violation :-)


At 10:35 AM -0700 3/30/11, Jeremy Huddleston wrote:
On Mar 30, 2011, at 9:58 AM, Philip J. Schneider wrote:

 Ahh...with your input, and a little more thinking...

Yeah, when fink builds its version of motif, surely it must be looking at the system libs and includes from /usr/X11, on which it depends. Then, when I build my application I'm telling it to utilize what's in /opt/X11. Not surprising, then, that a crash would ensue, right?

Seems that what I need is a motif lib that's been built with the same includes/libs as what I intend to build the application with. Probably not sensible to try to get fink to do that, but instead do what you suggest and use MacPorts.

One question: if I download and build openmotif from MacPorts, will it automatically choose to use xquartz (/opt/X11) in its include/lib paths? I'd guess not, so what's the scheme for having it do so? (sorry, experienced programmer but n00b MacPorts user...)

MacPorts will use its libraries (/opt/local) rather than XQuartz (/opt/X11).

If you want to redistribute this application, you may to use the system libraries, so you don't need to tell users to install a "3rd party" package. If you want your users to use XQuartz from /opt/X11, you will need to either build openmotif by hand or you may be able to tell fink to use /opt/X11 as the X11 prefix.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) This email sent to email@hidden
  • Follow-Ups:
    • Re: MacPorts vs xquartz? (was Re: openmotif in macports dependencies and xquartz?)
      • From: Jeremy Huddleston <email@hidden>
References: 
 >openmotif in macports dependencies and xquartz? (From: "Philip J. Schneider" <email@hidden>)
 >Re: openmotif in macports dependencies and xquartz? (From: Jeremy Huddleston <email@hidden>)
 >Re: openmotif in macports dependencies and xquartz? (From: "Philip J. Schneider" <email@hidden>)
 >Re: openmotif in macports dependencies and xquartz? (From: Jeremy Huddleston <email@hidden>)
 >Re: openmotif in macports dependencies and xquartz? (From: "Philip J. Schneider" <email@hidden>)

  • Prev by Date: Re: X server crashes after a few minutes
  • Next by Date: Re: X server crashes after a few minutes
  • Previous by thread: Re: openmotif in macports dependencies and xquartz?
  • Next by thread: Re: MacPorts vs xquartz? (was Re: openmotif in macports dependencies and xquartz?)
  • Index(es):
    • Date
    • Thread