Update of /cvsroot/fink/fink/perlmod/Fink
In directory vz-cvs-3.sog:/tmp/cvs-serv11972/perlmod/Fink

Modified Files:
        Bootstrap.pm ChangeLog VirtPackage.pm 
Log Message:
Support 10.7.2.
Support Growl.app

Index: VirtPackage.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/VirtPackage.pm,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -d -r1.156 -r1.157
--- VirtPackage.pm      10 Feb 2011 21:59:37 -0000      1.156
+++ VirtPackage.pm      12 Oct 2011 22:44:55 -0000      1.157
@@ -1405,7 +1405,7 @@
 =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 @@
                                }
                                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";
                }
 

Index: Bootstrap.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Bootstrap.pm,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -d -r1.209 -r1.210
--- Bootstrap.pm        17 Aug 2011 00:02:14 -0000      1.209
+++ Bootstrap.pm        12 Oct 2011 22:44:55 -0000      1.210
@@ -281,7 +281,7 @@
                        "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\./) {

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1739
retrieving revision 1.1740
diff -u -d -r1.1739 -r1.1740
--- ChangeLog   23 Sep 2011 16:26:50 -0000      1.1739
+++ ChangeLog   12 Oct 2011 22:44:55 -0000      1.1740
@@ -1,3 +1,12 @@
+2011-08-16  Alexander Hansen  <[email protected]>
+
+       * Bootstrap.pm:  support 10.7.2.
+
+2011-08-16  Daniel Johnson  <[email protected]>
+
+       * VirtPackage.pm:  support App Store Growl.app as well as 
+       legacy prefpane.
+
 2011-09-23  Daniel Macks  <[email protected]>
 
        * Validation.pm: no longer enforce "BDep:fink>=0.24.12" for use of


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to