From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25402 invoked from network); 11 May 2005 14:50:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 May 2005 14:50:21 -0000 Received: (qmail 89625 invoked from network); 11 May 2005 14:50:15 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 May 2005 14:50:15 -0000 Received: (qmail 4 invoked by alias); 11 May 2005 14:50:05 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8804 Received: (qmail 29982 invoked from network); 11 May 2005 14:50:04 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 11 May 2005 14:50:04 -0000 Received: (qmail 88355 invoked from network); 11 May 2005 14:50:04 -0000 Received: from ms-smtp-03.texas.rr.com (HELO ms-smtp-03-eri0.texas.rr.com) (24.93.47.42) by a.mx.sunsite.dk with SMTP; 11 May 2005 14:49:59 -0000 Received: from amdxp.kalama.no-ip.org (cpe-66-68-88-186.austin.res.rr.com [66.68.88.186]) by ms-smtp-03-eri0.texas.rr.com (8.12.10/8.12.7) with ESMTP id j4BEnrRZ029354 for ; Wed, 11 May 2005 09:49:54 -0500 (CDT) Received: from [10.0.1.3] (unknown [10.0.1.3]) by amdxp.kalama.no-ip.org (Postfix) with ESMTP id F2D107C2 for ; Wed, 11 May 2005 09:49:53 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v728) To: zsh-users@sunsite.dk Message-Id: Content-Type: multipart/mixed; boundary=Apple-Mail-13-76836421 Reply-To: zsh-users@sunsite.dk Subject: _mac_applications patch for Mac OS X 10.4 From: lists Date: Wed, 11 May 2005 09:49:49 -0500 X-Mailer: Apple Mail (2.728) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.5 --Apple-Mail-13-76836421 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I've done some tweaking based on the submission in (thanks Scott and Wataru) and have put together a patch for _mac_applications which uses the _tiger_mac_applications function from the aforementioned submission (which I've renamed to _spotlight_mac_apps since Spotlight will probably be around after Tiger). _mac_applications will now use Spotlight (via _spotlight_mac_apps) if you're running Mac OS X 10.4, and will fall back to the old way if you're not. I'm also including the modified _spotlight_mac_apps function (which will now check for an Applications folder in your home directory as well). Please let me know if there are any problems/objections. Thanks, Ryan --Apple-Mail-13-76836421 Content-Transfer-Encoding: base64 Content-Type: application/x-gzip; x-unix-mode=0640; name="_mac_applications.diff.gz" Content-Disposition: attachment; filename=_mac_applications.diff.gz H4sICOIWgkIAA19tYWNfYXBwbGljYXRpb25zLmRpZmYAbZBPawIxEMXv+RQPtdgSs7o9eLCXnHor PQilsCzLNIk1NJssJlaL+N2btShCvc2/35s3I4RA05JqqOucVZRs8LEITjPO+f8OkxKinMzBy0n5 CCkZhrRNwQXSDEw0G5M21nybMxkZtytUFYTGtFh2ITn7uU7irZzNUNdPSGvjGQeGmMJGWK/N3mik gG00uAD9SBPP2ZW6cdH88c/kHD5IffVwlkW+Ajv6OaE3fK1sdgwXFDmYfecYmh35lJer0LbkdTyV MX4hhdcl3nH1iXE/1JHWyA8cjA738mF0uIhXsl6k412R4+OA/QLTlqLNZAEAAA== --Apple-Mail-13-76836421 Content-Transfer-Encoding: base64 Content-Type: application/x-gzip; x-unix-mode=0640; name="_spotlight_mac_apps.gz" Content-Disposition: attachment; filename=_spotlight_mac_apps.gz H4sICK8TgkIAA19zcG90bGlnaHRfbWFjX2FwcHMAVY9Na8JQEEX3+RWX18CLheheCLTopgvpQheC lDDkjSX4Pobm1VZM/O1NgqTtZhaXc89wH+gzBhvIJEnpqCpJpCnSa3acqTSDM8faG+TB20vtsXgW sXVFsQ6++U3XfGYbhD+m6PafVKfN+iWyWwUf2cfdRRhFAV0FN+8fWh7vHc8ftUKLXmeRC3KGbtoB aNt3jZnqkvKLeo9BX3fkTQP+Fgu9oQqvW+zxR6YHSMgYqPQ6zppWdoent2XsVPID2DF/TwMBAAA= --Apple-Mail-13-76836421--