[Fink-devel] I'm planning to revert the X11 detection behavior to require /usr/X11R6 unless people object strongly

2015-03-15 Thread Alexander Hansen
It looks like folks want to keep searching for X11 in /usr/X11R6 even though 
that has been out of vogue since 10.5.  Fine.  I’ve made /usr/X11R6 mandatory 
for a “working” X11 installation in a github branch. It previously had been set 
up for /usr/X11 to be mandatory.  (Current fink-0.38.4 behavior is that 
/usr/X11 is mandatory on 10.7, and /opt/X11 is mandatory on 10.8+):

Roll back allowing just /opt/X11 as sufficient for system-xfree86*. 
https://github.com/fink/fink/pull/118

an IRC transcript follows detailing the ramifications:

akh member:akh: Since that’s VirtPackage.pm, there will be NO MESSAGE for 
users other than “Cannot find dependency x11-dev” from the dependency engine.
[08:37am] akh member:akh: If we’re absolutely sure that we’re never going to 
do up our own X11 packages, the X11 virtuals could be tweaked to show up as 
available but not installed when X11 is missing rather than the current 
behavior of not showing up at all.

Basically we’ll be going back to the previous behavior, but applied more 
consistently (previously some elements wanted /usr/X11, some wanted /usr/X11R6).

-- 
Alexander Hansen, Ph.D.
Fink User Liaison

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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


Re: [Fink-devel] I'm planning to revert the X11 detection behavior to require /usr/X11R6 unless people object strongly

2015-03-15 Thread Jack Howarth
Alexander,
What ever happened to the idea of expanding fink-buildenv-modules
in order to provide intelligent setting environmentals to provide the
X11 directory paths? If that ever landed in fink, I would be happy to
switch my packages over to use those. Currently we simply don't have
an easy way to know whether /opt/X11 is present short of adding case
statements for OS X = 10.7 and = 10.8 to cover the transition from
Apple X11 to Xquartz.
  Jack

On Sun, Mar 15, 2015 at 11:45 AM, Alexander Hansen
alexanderk.han...@gmail.com wrote:
 It looks like folks want to keep searching for X11 in /usr/X11R6 even though
 that has been out of vogue since 10.5.  Fine.  I’ve made /usr/X11R6
 mandatory for a “working” X11 installation in a github branch. It previously
 had been set up for /usr/X11 to be mandatory.  (Current fink-0.38.4 behavior
 is that /usr/X11 is mandatory on 10.7, and /opt/X11 is mandatory on 10.8+):

 Roll back allowing just /opt/X11 as sufficient for system-xfree86*.

 an IRC transcript follows detailing the ramifications:

 akh: Since that’s VirtPackage.pm, there will be NO MESSAGE for users other
 than “Cannot find dependency x11-dev” from the dependency engine.
 [08:37am] akh: If we’re absolutely sure that we’re never going to do up our
 own X11 packages, the X11 virtuals could be tweaked to show up as available
 but not installed when X11 is missing rather than the current behavior of
 not showing up at all.

 Basically we’ll be going back to the previous behavior, but applied more
 consistently (previously some elements wanted /usr/X11, some wanted
 /usr/X11R6).

 --
 Alexander Hansen, Ph.D.
 Fink User Liaison


 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 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


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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


Re: [Fink-devel] I'm planning to revert the X11 detection behavior to require /usr/X11R6 unless people object strongly

2015-03-15 Thread Hanspeter Niederstrasser
On 3/15/2015 12:19 PM, Jack Howarth wrote:
 Alexander,
  What ever happened to the idea of expanding fink-buildenv-modules
 in order to provide intelligent setting environmentals to provide the
 X11 directory paths? If that ever landed in fink, I would be happy to
 switch my packages over to use those. Currently we simply don't have
 an easy way to know whether /opt/X11 is present short of adding case
 statements for OS X = 10.7 and = 10.8 to cover the transition from
 Apple X11 to Xquartz.
Jack

Quoting when you last brought this up[1]:


I am swamped with work. Please submit a pull request to my git repo. Use 
X11_INCLUDE_DIR and X11_LIBRARY_DIR as the variables since that makes 
them provider agnostic and they match up with what cmake uses.  Unless 
we *don't* want to overlap with cmake's detection output variables. In 
that case, still, use X11_SOMETHING rather than XORG_SOMETHING.


Hanspeter

[1] http://article.gmane.org/gmane.os.apple.fink.devel/22708/


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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


Re: [Fink-devel] I'm planning to revert the X11 detection behavior to require /usr/X11R6 unless people object strongly

2015-03-15 Thread Alexander Hansen
Here’s a CompileScript snippet that does this using the current 
fink-buildenv-modules.

. fink-buildenv-helper.sh
if [ $DARWIN_MAJOR_VERSION -gt 11 ] ; then
./configure %c --x-libraries=/opt/X11/lib 
--x-includes=/opt/X11/include
else
./configure %c --x-libraries=/usr/X11/lib 
--x-includes=/usr/X11/include
fi

I agree that having this implemented in fink-buildenv-modules would be less 
error-prone, but I have no way to make Hanspeter’s work schedule more 
convenient.   I can just submit a pull request, assuming my own work schedule 
ever lets me do anything.


 On Mar 15, 2015, at 10:19 AM, Jack Howarth howarth.at.f...@gmail.com wrote:
 
 Alexander,
What ever happened to the idea of expanding fink-buildenv-modules
 in order to provide intelligent setting environmentals to provide the
 X11 directory paths? If that ever landed in fink, I would be happy to
 switch my packages over to use those. Currently we simply don't have
 an easy way to know whether /opt/X11 is present short of adding case
 statements for OS X = 10.7 and = 10.8 to cover the transition from
 Apple X11 to Xquartz.
  Jack
 
 On Sun, Mar 15, 2015 at 11:45 AM, Alexander Hansen
 alexanderk.han...@gmail.com wrote:
 It looks like folks want to keep searching for X11 in /usr/X11R6 even though
 that has been out of vogue since 10.5.  Fine.  I’ve made /usr/X11R6
 mandatory for a “working” X11 installation in a github branch. It previously
 had been set up for /usr/X11 to be mandatory.  (Current fink-0.38.4 behavior
 is that /usr/X11 is mandatory on 10.7, and /opt/X11 is mandatory on 10.8+):
 
 Roll back allowing just /opt/X11 as sufficient for system-xfree86*.
 
 an IRC transcript follows detailing the ramifications:
 
 akh: Since that’s VirtPackage.pm, there will be NO MESSAGE for users other
 than “Cannot find dependency x11-dev” from the dependency engine.
 [08:37am] akh: If we’re absolutely sure that we’re never going to do up our
 own X11 packages, the X11 virtuals could be tweaked to show up as available
 but not installed when X11 is missing rather than the current behavior of
 not showing up at all.
 
 Basically we’ll be going back to the previous behavior, but applied more
 consistently (previously some elements wanted /usr/X11, some wanted
 /usr/X11R6).
 
 --
 Alexander Hansen, Ph.D.
 Fink User Liaison
 
 
 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 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
 


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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