Could we not make a system-xquartz that provides system-xfree86 at the version 
it actually is via .pc file? This will solve a version issue if we ever return 
to a fink xfree (not saying we ever will, but why close the door).

Then things hat have a versioned conflicts or whatever shock be on the system 
xquartz instead of xfree

Just thinking out loud as I’m not an X11 guy there may be a reason this is a 
bad idea, it’s just my first thought instead of poisoning the xfree version.
---
TS
http://www.southofheaven.org/
Life begins and ends with chaos, live between the chaos!

> On Nov 3, 2016, at 3:22 PM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
> I’ve created a git branch named show-xquartz-release-version ( 
> https://github.com/fink/fink/tree/show-xquartz-release-version ) which 
> changes the version of system-xfree86*
> 
> Background:  we used to have a working version test for X11, but that became 
> nonfunctional at some point (I haven’t delved in the commit history for 
> that).   It was decided just to encode “7.2” as the version, corresponding to 
> the Xorg-7.2 codebase, along with an Epoch of 2.
> 
> However, given our recent issues with certain Xquartz versions, it seems like 
> it would be useful for us to track the XQuartz version.  We do track the 
> versions of certain components based on their .pc files, but that isn’t a 
> reliable indicator of an Xquartz release; the most notable break was in libXt 
> between XQuartz-2.8 and 2.9, and its .pc didn’t even change versions. 
> 
> My approach has been to query the receipts database in order to get the 
> aggregate XQuartz version.  This is similar to what we do for the Xcode CL 
> tools for the “xcode” (not “xcode.app”) version.  
> 
> $ fink list -t system-xfree86
> Scanning package description files..........
> Information about 9932 packages read in 2 seconds.
> i     system-xfree86  3:2.7.112-3     [placeholder for user installed x11]
> i     system-xfree86-dev      3:2.7.112-3     [placeholder for user installed 
> x11 development tools]
> i     system-xfree86-manual-install   3:2.7.112-3     Manually installed X11 
> components
> i     system-xfree86-shlibs   3:2.7.112-3     [placeholder for user installed 
> x11 shared libraries]
> 
> The epoch has been changed to 3 because the Xquartz version is less than 7.2. 
>  I don’t think we actually track the system-xfree86 version anywhere, but 
> there’s no reason not to be consistent.  I have XQuartz-2.7.11 installed, but 
> the package info gives ‘2.7.112':
> 
> $ pkgutil --pkg-info org.macosforge.xquartz.pkg
> package-id: org.macosforge.xquartz.pkg
> version: 2.7.112
> volume: /
> location: 
> install-time: 1478014088
> 
> One downside to this approach is that if somebody removes the receipt the 
> versioning will be lost.  If somebody has an alternative approach to get at 
> the aggregate XQuartz version based on the currently installed files or the 
> output from executables, I’m open to using that.
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> 
> 
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Fink-devel mailing list
> Fink-devel@lists.sourceforge.net
> List archive:
> http://news.gmane.org/gmane.os.apple.fink.devel
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-devel

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to