Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on Oct 12, 2011
@akhansen akhansen Support 10.7.2.
Support Growl.app
1db8fc5
@akhansen akhansen Fix dates. 90d9d9a
Showing with 21 additions and 3 deletions.
  1. +1 −1 perlmod/Fink/Bootstrap.pm
  2. +9 −0 perlmod/Fink/ChangeLog
  3. +11 −2 perlmod/Fink/VirtPackage.pm
View
2 perlmod/Fink/Bootstrap.pm
@@ -281,7 +281,7 @@ END
"of Mac OS X might work with Fink, but there are no " .
"guarantees.");
$distribution = "10.6";
- } elsif ($host =~ /^i386-apple-darwin11\.[0-1]\.0/) {
+ } elsif ($host =~ /^i386-apple-darwin11\.[0-2]\.0/) {
&print_breaking("This system is supported and tested.");
$distribution = "10.7";
} elsif ($host =~ /^i386-apple-darwin11\./) {
View
9 perlmod/Fink/ChangeLog
@@ -1,3 +1,12 @@
+2011-10-12 Alexander Hansen <alexkhansen@users.sourceforge.net>
+
+ * Bootstrap.pm: support 10.7.2.
+
+2011-10-12 Daniel Johnson <daniel@daniel-johnson.org>
+
+ * VirtPackage.pm: support App Store Growl.app as well as
+ legacy prefpane.
+
2011-09-23 Daniel Macks <dmacks@netspace.org>
* Validation.pm: no longer enforce "BDep:fink>=0.24.12" for use of
View
13 perlmod/Fink/VirtPackage.pm
@@ -1405,7 +1405,7 @@ For more info on this package see http://growl.info/.
=cut
print STDERR "- checking for Growl... " if ($options{debug});
- if (-x '/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp') {
+ if (-x '/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/MacOS/GrowlHelperApp' || -x '/Applications/Growl.app/Contents/MacOS/Growl') {
print STDERR "found, Growl\n" if ($options{debug});
print STDERR "- checking for Growl version... " if ($options{debug});
if (-f "/Library/PreferencePanes/Growl.prefPane/Contents/Info.plist") {
@@ -1417,8 +1417,17 @@ For more info on this package see http://growl.info/.
}
close(FILEIN);
}
+ } elsif (-f "/Applications/Growl.app/Contents/Info.plist") {
+ if (open(FILEIN, '/Applications/Growl.app/Contents/Info.plist')) {
+ local $/ = undef;
+ # Growl beta versions contain the letter b
+ if (<FILEIN> =~ /<key>CFBundleVersion<\/key>[\r\n\s]*<string>([b\d\.]+)<\/string>/) {
+ $growl_version = $1;
+ }
+ close(FILEIN);
+ }
} else {
- print STDERR "/Library/PreferencePanes/Growl.prefPane/Contents/Info.plist not found... " if ($options{debug});
+ print STDERR "/Library/PreferencePanes/Growl.prefPane/Contents/Info.plist or\n/Applications/Growl.app/Contents/Info.plist not found... " if ($options{debug});
$growl_version = "0";
}

No commit comments for this range

Something went wrong with that request. Please try again.