Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sound
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv31254

Modified Files:
        qsynth.info 
Log Message:
Use defaults instead of PlistBuddy (works on 10.4, 10.5, 10.6) and AppBundles 
goodness


Index: qsynth.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sound/qsynth.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- qsynth.info 3 Jul 2009 19:09:03 -0000       1.1
+++ qsynth.info 16 Dec 2009 05:16:11 -0000      1.2
@@ -1,6 +1,6 @@
 Package: qsynth
 Version: 0.3.4
-Revision: 2
+Revision: 3
 ###
 BuildDepends: <<
 pkgconfig, jack (>=0.116.0-2), jack-dev (>=0.116.0-2), fluidsynth-dev 
(>=1.0.9-169),  qt4-mac (>=4.5.0-3), libicns1-bin (>=0.6.2-1), fink (>= 
0.24.12-1)
@@ -18,19 +18,21 @@
 GCC: 4.0
 ###
 CompileScript: <<
- ./configure %c && make
-<<
-InstallScript:<<
-#! /bin/sh -ev
-cd %b/%n.app/Contents/Resources
-png2icns qsynth.icns %b/icons/qsynth.png
-mkdir -p %i/Applications/%n.app
-cp -R %b/%n.app %i/Applications/
-install -d -m 0755 %b/%n.app %i/Applications/%n.app
-rm %i/Applications/%n.app/Contents/Resources/empty.lproj
-/usr/libexec/PlistBuddy -c 'Set :CFBundleIconFile "qsynth.icns"' 
%i/Applications/%n.app/Contents/Info.plist
+#!/bin/sh -ev
+ ./configure %c
+  make
+  cd %b/%n.app/Contents/Resources
+  png2icns qsynth.icns %b/icons/qsynth.png
+  /usr/bin/defaults write %b/%n.app/Contents/Info CFBundleIconFile qsynth.icns
+  #/usr/libexec/PlistBuddy -c 'Set :CFBundleIconFile "qsynth.icns"' 
%b/%n.app/Contents/Info.plist
+  /bin/chmod a+r %b/%n.app/Contents/Info.plist
+  rm %b/%n.app/Contents/Resources/empty.lproj
 <<
 ###
+InstallScript: echo
+###
+AppBundles: %n.app
+###
 DocFiles: COPYING README README-OSX
 ###
 HomePage: http://qsynth.sourceforge.net/qsynth-index.html
@@ -45,6 +47,11 @@
 and manage a variety of command line softsynths but 
 for the moment it wraps the excellent FluidSynth  
 <<
+DescPackaging: <<
+PlistBuddy is only available on 10.5 and 10.6, so switch to defaults instead.
+However, defaults might be deprecated in future OS versions, so leave
+the (commented out) PlistBuddy in InstallScript.
+<<
 ###
 Maintainer: Ebrahim Mayat <ema...@users.sourceforge.net>
 


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to