Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Mac::Growl provides an interface for perl scripts to connect to Growl, allowing them to register with it, and send it notifications to be displayed. See http://growl.info for more information on growl, or consult man Mac::Growl or perldoc Mac::Growl after installation for more details on the module, or perldoc lib/Mac/Growl.pm beforehand. INSTALLATION To install this module type the following: perl Makefile.PL make make test sudo make install Note that sudo may be required for make, as well as make install. If you get an error from trying to create a glue file during make, make clean and try again with sudo. make test will register "PerlApp" with growl with Growl, with two notifications, "test 1" and "test 2", and then post to those notification with various messages. Since there is currently no Growl->Caller communication, there is no way for the test script to tell if it's working, and therefore will always report success. If you don't see the notification, check console, wait a while and try again, and/or ask in #growl on irc.freenode.net. NOTE: Mac OS X v10.4 "Tiger" If you are using the Perl included with Tiger, Mac::Glue is already installed (as are Mac::OSA::Simple, and MacPerl; see "Architecture" in the Mac::Growl manpage for more information). However, it is not installed entirely. The following steps should be run from the command line to complete installation, before installing Mac::Growl: cd /System/Library/Perl/Extras/bin/ sudo ./gluedialect sudo ./gluescriptadds sudo ./gluemac '/System/Library/CoreServices/System Events.app' sudo ./gluemac /System/Library/CoreServices/Finder.app If using an Intel Mac, the included versions of Mac::Glue and Mac::Carbon do not work properly. Install the latest (at least 1.27 and 0.77, respectively). DEPENDENCIES This module should work on any Mac OS X system, although it requires the developer tools to build and install. See the docs for more information. If using Mac::Glue with Mac::Growl, Mac::Glue 1.24 may be needed to create a new glue file for Growl 0.7, so a glue file is included and installed for you if you are using Mac::Glue 1.23 or earlier. COPYRIGHT AND LICENCE Copyright (C) 2004-2006 The Growl Project. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.