16 Commits

Author SHA1 Message Date
Jack Nagel
a4d630003d Add pkgutil version for XQuartz 2.7.5_rc3 2013-11-01 16:04:52 -05:00
Jack Nagel
f2738dbe96 Extract repeated conditional to a method 2013-10-18 13:38:19 -05:00
Jack Nagel
943978a955 Make condition clearer using names 2013-10-18 13:38:18 -05:00
Jack Nagel
273f5b2ddd Merge XQuartz and X11 modules 2013-10-18 13:38:18 -05:00
Jack Nagel
8887fe7606 Move MacOS modules under OS::Mac namespace
Closes Homebrew/homebrew#23138.
2013-10-18 13:38:07 -05:00
Jack Nagel
9b30fc4afa Map pkginfo versions to actual XQuartz versions 2013-07-22 11:25:12 -05:00
Jack Nagel
34623b4ef1 Fall back on pkgutil when mdls cannot determine XQuartz version 2013-07-22 11:25:11 -05:00
Jack Nagel
d355227036 Separate version detection from accessor 2013-07-22 11:25:11 -05:00
Jack Nagel
1a54e6a449 Extract version_from_pkgutil 2013-07-22 11:25:11 -05:00
Jack Nagel
c325520316 Extract version_from_mdls 2013-07-22 11:25:11 -05:00
Jack Nagel
0b5551ee5b Extract guess_system_version 2013-07-22 11:25:10 -05:00
Jack Nagel
df0d4aa853 Extract bundle_path from XQuartz.version 2013-07-22 11:25:10 -05:00
Jack Nagel
45d3e436ee Simplify regexp match 2013-06-15 19:51:49 -05:00
Jack Nagel
d98ff95b3e These also get coerced to strings 2013-06-15 19:51:35 -05:00
Jack Nagel
49682e854d Avoid expensive Pathname concatenation 2013-04-15 15:00:57 -05:00
Shaun Jackman
258d70028f Portability fixes to run Homebrew on Linux systems
Closes Homebrew/homebrew#16344.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-11 18:26:25 +00:00