# # # add_file "res/guitone-icon.svg" # content [6e3940b25273d53d6445bc13925878966ecb09e8] # # add_file "res/osx/guitone.icns" # content [b987bb3406823d739c0b0489ece6eaf14a31e4df] # # patch "build.sh" # from [d8b15ceace2d6e51f14430ab654b5dbd03415c4e] # to [34a577b8e06c930c6508418e3036426b7210d6f1] # # patch "guitone.pro" # from [36099916ab19221ab1ae6339dd10a6f67dbcaf85] # to [0c104884af75f7cd2bfc2e950dc56885da79301e] # # patch "res/guitone-logo.svg" # from [a6f2a63d7b95a51cf121c1c281dda7fc12f2a4ac] # to [0584fb9968a6dbcf23fb2c17f098c92e7ef27971] # # patch "res/osx/README" # from [828a9d59276bd25332224727085dc204c4c7218f] # to [5bbab9346e0334662f457cdc79314983fa48a621] # # set "res/osx/guitone.icns" # attr "mtn:manual_merge" # value "true" # ============================================================ --- res/guitone-icon.svg 6e3940b25273d53d6445bc13925878966ecb09e8 +++ res/guitone-icon.svg 6e3940b25273d53d6445bc13925878966ecb09e8 @@ -0,0 +1,559 @@ + + + + + + + image/svg+xml + + Monotone Logo + May 20 2006 + + + Graydon Hoare + + + + + + + + http://mkweb.bcgsc.ca/rat/images/raton3700 + + This is a derivative work of an image under not-completely-clear license, but it is published with a statement permitting "unrestricted" use, distribution and modification. + + + + + + + + + + + + + + + + + + + + style="overflow:visible"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ============================================================ # res/osx/guitone.icns is binary ============================================================ --- build.sh d8b15ceace2d6e51f14430ab654b5dbd03415c4e +++ build.sh 34a577b8e06c930c6508418e3036426b7210d6f1 @@ -1,11 +1,6 @@ qmake guitone.pro && \ #!/bin/sh qmake guitone.pro && \ lupdate guitone.pro && \ lrelease guitone.pro && \ make $@ -# hack which copies more metafiles into the final application -# bundle if the system is recognized as OSX -if [ `uname` = "Darwin" -a -d "bin/guitone.app/Contents" ]; then - cp -R res/osx/Resources bin/guitone.app/Contents -fi ============================================================ --- guitone.pro 36099916ab19221ab1ae6339dd10a6f67dbcaf85 +++ guitone.pro 0c104884af75f7cd2bfc2e950dc56885da79301e @@ -54,6 +54,12 @@ macx { PRECOMPILED_HEADER = src/stable.h macx { + # copy i18n resources into the final app bundle + QMAKE_POST_LINK = cp -R res/osx/Resources bin/guitone.app/Contents + + # osx application icon + ICON = res/osx/guitone.icns + # set this to either ppc or i386 or both if you want to create # a PowerPC, x86 or Universal OSX binary debug { ============================================================ --- res/guitone-logo.svg a6f2a63d7b95a51cf121c1c281dda7fc12f2a4ac +++ res/guitone-logo.svg 0584fb9968a6dbcf23fb2c17f098c92e7ef27971 @@ -7,15 +7,18 @@ xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="svg2" sodipodi:version="0.32" - inkscape:version="0.43" + inkscape:version="0.44" width="210mm" height="297mm" - sodipodi:docbase="C:\Dokumente und Einstellungen\tkeller\Desktop" - sodipodi:docname="guitone.svg"> + sodipodi:docbase="/Users/TommyD/Development/guitone/res" + sodipodi:docname="guitone-logo.svg" + inkscape:export-filename="/Users/TommyD/Desktop/guitone-1.png" + inkscape:export-xdpi="46.31192" + inkscape:export-ydpi="46.31192"> @@ -71,33 +74,373 @@ x2="375.09387" y2="547.55353" gradientUnits="userSpaceOnUse" - gradientTransform="translate(-1.802639,0.203063)" /> + gradientTransform="translate(45.60161,-8.411158e-2)" /> + gradientTransform="translate(-17.57951,-0.290672)" /> + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.050921,0.103889,-3.826374e-2,0.44313,9.100658,257.0357)" + r="104.54134" + fy="520.59906" + fx="330.14679" + cy="520.59906" + cx="330.14679" + id="radialGradient5949" + xlink:href="#linearGradient5951" + inkscape:collect="always" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + style="overflow:visible"> + + + + + + + + + + + position="495.26038" + id="guide4874" /> - + position="203.93184" + id="guide1972" /> - + + + + + + + + + + + + + + + + + + + + + + + gui + id="tspan1340" + x="362.16797" + y="586.78973" + style="font-size:64;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr;text-anchor:start;fill:url(#linearGradient3987);fill-opacity:1;font-family:Arial Rounded MT Bold">tone tone + id="tspan1330" + x="201.84393" + y="586.86951" + style="font-size:64px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:url(#linearGradient3995);fill-opacity:1;fill-rule:nonzero;font-family:Arial Rounded MT Bold">gui a f r o n t e n d f o r m o n o t o n e + x="203.49141" + y="615.32239" + style="font-size:16px;font-family:Arial Rounded MT Bold">a f r o n t e n d f o r m o n o t o n e ============================================================ --- res/osx/README 828a9d59276bd25332224727085dc204c4c7218f +++ res/osx/README 5bbab9346e0334662f457cdc79314983fa48a621 @@ -1,8 +1,10 @@ -This directory contains files which need to be copied into the final -MacOS X application bundle into guitone.app/Contents. -Currently I have no idea how to do this via the project file, neither -do I know how to configure Xcode copying them there, so patches are -welcome... +This directory contains OSX specific files which are later copied into the +final application bundle. This happens mostly automatically during the build +process. Resources/de.lproj/locversion.plist needed for localized application menu + +guitone.icns + OSX application icon +