Changeset ce71472e000c3a08cbc59ec63629eb4669e16f71

Show
Ignore:
Timestamp:
03/01/10 21:43:14 (2 years ago)
Author:
Robin Gareus <rgareus@…>
Parents:
fd4d779342a16f50de84c3747aaede85d3953f77
Children:
b297d1c597ac7a72a244983be2b33dac878d524f
git-committer:
Robin Gareus <rgareus@priroda.local> / 2010-03-01T22:43:14Z+0100
Message:

impoved DMG build.

Location:
oggzcap
Files:
1 added
4 modified

Legend:

Unmodified
Added
Removed
  • oggzcap/English.lproj/InfoPlist.strings

    r53f2ac9 rce71472  
    22 
    33NSHumanReadableCopyright = "theartcollider.net\n\nRobin Gareus <robin@gareus.org>"; 
    4 CFBundleGetInfoString = "OggZCap 2.0"; 
     4CFBundleGetInfoString = "OggZCap 2.1"; 
  • oggzcap/OggZCap.xcodeproj/rgareus.mode1v3

    r53f2ac9 rce71472  
    198198        <array/> 
    199199        <key>OpenEditors</key> 
    200         <array> 
    201                 <dict> 
    202                         <key>Content</key> 
    203                         <dict> 
    204                                 <key>PBXProjectModuleGUID</key> 
    205                                 <string>B5BD94FE113494A50063C358</string> 
    206                                 <key>PBXProjectModuleLabel</key> 
    207                                 <string>InfoPlist.strings</string> 
    208                                 <key>PBXSplitModuleInNavigatorKey</key> 
    209                                 <dict> 
    210                                         <key>Split0</key> 
    211                                         <dict> 
    212                                                 <key>PBXProjectModuleGUID</key> 
    213                                                 <string>B5BD94FF113494A50063C358</string> 
    214                                                 <key>PBXProjectModuleLabel</key> 
    215                                                 <string>InfoPlist.strings</string> 
    216                                                 <key>_historyCapacity</key> 
    217                                                 <integer>0</integer> 
    218                                                 <key>bookmark</key> 
    219                                                 <string>B5BD9500113494A50063C358</string> 
    220                                                 <key>history</key> 
    221                                                 <array> 
    222                                                         <string>B5BD94EE11348E9F0063C358</string> 
    223                                                 </array> 
    224                                         </dict> 
    225                                         <key>SplitCount</key> 
    226                                         <string>1</string> 
    227                                 </dict> 
    228                                 <key>StatusBarVisibility</key> 
    229                                 <true/> 
    230                         </dict> 
    231                         <key>Geometry</key> 
    232                         <dict> 
    233                                 <key>Frame</key> 
    234                                 <string>{{0, 20}, {918, 676}}</string> 
    235                                 <key>PBXModuleWindowStatusBarHidden2</key> 
    236                                 <false/> 
    237                                 <key>RubberWindowFrame</key> 
    238                                 <string>107 72 918 717 0 0 1440 878 </string> 
    239                         </dict> 
    240                 </dict> 
    241         </array> 
     200        <array/> 
    242201        <key>PerspectiveWidths</key> 
    243202        <array> 
     
    271230                        <array> 
    272231                                <dict> 
     232                                        <key>BecomeActive</key> 
     233                                        <true/> 
    273234                                        <key>ContentConfiguration</key> 
    274235                                        <dict> 
     
    308269                                                                <string>29B97317FDCFA39411CA2CEA</string> 
    309270                                                                <string>1C37FBAC04509CD000000102</string> 
    310                                                                 <string>B5BD9437113469280063C358</string> 
    311271                                                                <string>1C37FAAC04509CD000000102</string> 
    312272                                                                <string>1C37FABC05509CD000000102</string> 
     
    340300                                                </array> 
    341301                                                <key>RubberWindowFrame</key> 
    342                                                 <string>119 341 1050 523 0 0 1440 878 </string> 
     302                                                <string>287 214 1050 523 0 0 1440 878 </string> 
    343303                                        </dict> 
    344304                                        <key>Module</key> 
     
    368328                                                                                <integer>0</integer> 
    369329                                                                                <key>bookmark</key> 
    370                                                                                 <string>B5BD94FD113494A50063C358</string> 
     330                                                                                <string>B5792994113BD92F00CC49B0</string> 
    371331                                                                                <key>history</key> 
    372332                                                                                <array> 
     
    381341                                                                                        <string>B5BD94FA113494A50063C358</string> 
    382342                                                                                        <string>B5BD94FB113494A50063C358</string> 
    383                                                                                         <string>B5BD94FC113494A50063C358</string> 
     343                                                                                        <string>B5BD94FD113494A50063C358</string> 
    384344                                                                                </array> 
    385345                                                                        </dict> 
     
    393353                                                        <dict> 
    394354                                                                <key>Frame</key> 
    395                                                                 <string>{{0, 0}, {775, 298}}</string> 
     355                                                                <string>{{0, 0}, {775, 290}}</string> 
    396356                                                                <key>RubberWindowFrame</key> 
    397                                                                 <string>119 341 1050 523 0 0 1440 878 </string> 
     357                                                                <string>287 214 1050 523 0 0 1440 878 </string> 
    398358                                                        </dict> 
    399359                                                        <key>Module</key> 
    400360                                                        <string>PBXNavigatorGroup</string> 
    401361                                                        <key>Proportion</key> 
    402                                                         <string>298pt</string> 
     362                                                        <string>290pt</string> 
    403363                                                </dict> 
    404364                                                <dict> 
     
    413373                                                        <dict> 
    414374                                                                <key>Frame</key> 
    415                                                                 <string>{{0, 303}, {775, 179}}</string> 
     375                                                                <string>{{0, 295}, {775, 187}}</string> 
    416376                                                                <key>RubberWindowFrame</key> 
    417                                                                 <string>119 341 1050 523 0 0 1440 878 </string> 
     377                                                                <string>287 214 1050 523 0 0 1440 878 </string> 
    418378                                                        </dict> 
    419379                                                        <key>Module</key> 
    420380                                                        <string>XCDetailModule</string> 
    421381                                                        <key>Proportion</key> 
    422                                                         <string>179pt</string> 
     382                                                        <string>187pt</string> 
    423383                                                </dict> 
    424384                                        </array> 
     
    439399                        <key>TableOfContents</key> 
    440400                        <array> 
    441                                 <string>B5BD9439113469280063C358</string> 
     401                                <string>B5792983113BD8CF00CC49B0</string> 
    442402                                <string>1CE0B1FE06471DED0097A5F4</string> 
    443                                 <string>B5BD943A113469280063C358</string> 
     403                                <string>B5792984113BD8CF00CC49B0</string> 
    444404                                <string>1CE0B20306471E060097A5F4</string> 
    445405                                <string>1CE0B20506471E060097A5F4</string> 
     
    564524        <real>0.0</real> 
    565525        <key>ToolbarDisplayMode</key> 
    566         <integer>1</integer> 
     526        <integer>2</integer> 
    567527        <key>ToolbarIsVisible</key> 
    568528        <true/> 
     
    577537        <key>WindowOrderList</key> 
    578538        <array> 
    579                 <string>B5BD9444113469280063C358</string> 
    580                 <string>B5BD9445113469280063C358</string> 
     539                <string>B579299C113BD92F00CC49B0</string> 
     540                <string>B579299D113BD92F00CC49B0</string> 
    581541                <string>1C78EAAD065D492600B07095</string> 
    582542                <string>1CD10A99069EF8BA00B06720</string> 
    583543                <string>B5D733AD10A3869C0039782E</string> 
    584                 <string>B5BD94FE113494A50063C358</string> 
    585544                <string>/Users/rgareus/data/inout/oggzcap/OggZCap.xcodeproj</string> 
    586545        </array> 
    587546        <key>WindowString</key> 
    588         <string>119 341 1050 523 0 0 1440 878 </string> 
     547        <string>287 214 1050 523 0 0 1440 878 </string> 
    589548        <key>WindowToolsV3</key> 
    590549        <array> 
     
    607566                                                                <string>1CD0528F0623707200166675</string> 
    608567                                                                <key>PBXProjectModuleLabel</key> 
    609                                                                 <string>MyController.mm</string> 
     568                                                                <string></string> 
    610569                                                                <key>StatusBarVisibility</key> 
    611570                                                                <true/> 
     
    624583                                                </dict> 
    625584                                                <dict> 
    626                                                         <key>BecomeActive</key> 
    627                                                         <true/> 
    628585                                                        <key>ContentConfiguration</key> 
    629586                                                        <dict> 
     
    665622                        <array> 
    666623                                <string>B5D733AD10A3869C0039782E</string> 
    667                                 <string>B5BD943B113469280063C358</string> 
     624                                <string>B5792986113BD8CF00CC49B0</string> 
    668625                                <string>1CD0528F0623707200166675</string> 
    669626                                <string>XCMainBuildResultsModuleGUID</string> 
     
    676633                        <string>B5D733AD10A3869C0039782E</string> 
    677634                        <key>WindowToolIsVisible</key> 
    678                         <true/> 
     635                        <false/> 
    679636                </dict> 
    680637                <dict> 
     
    785742                        <array> 
    786743                                <string>1CD10A99069EF8BA00B06720</string> 
    787                                 <string>B5BD943C113469280063C358</string> 
     744                                <string>B5792995113BD92F00CC49B0</string> 
    788745                                <string>1C162984064C10D400B95A72</string> 
    789                                 <string>B5BD943D113469280063C358</string> 
    790                                 <string>B5BD943E113469280063C358</string> 
    791                                 <string>B5BD943F113469280063C358</string> 
    792                                 <string>B5BD9440113469280063C358</string> 
    793                                 <string>B5BD9441113469280063C358</string> 
     746                                <string>B5792996113BD92F00CC49B0</string> 
     747                                <string>B5792997113BD92F00CC49B0</string> 
     748                                <string>B5792998113BD92F00CC49B0</string> 
     749                                <string>B5792999113BD92F00CC49B0</string> 
     750                                <string>B579299A113BD92F00CC49B0</string> 
    794751                        </array> 
    795752                        <key>ToolbarConfiguration</key> 
     
    910867                                        <array> 
    911868                                                <dict> 
    912                                                         <key>BecomeActive</key> 
    913                                                         <true/> 
    914869                                                        <key>ContentConfiguration</key> 
    915870                                                        <dict> 
     
    947902                        <array> 
    948903                                <string>1C78EAAD065D492600B07095</string> 
    949                                 <string>B5BD9442113469280063C358</string> 
     904                                <string>B579299B113BD92F00CC49B0</string> 
    950905                                <string>1C78EAAC065D492600B07095</string> 
    951906                        </array> 
  • oggzcap/OggZCap.xcodeproj/rgareus.pbxuser

    r53f2ac9 rce71472  
    44                uiCtxt = { 
    55                        sepNavIntBoundsRect = "{{0, 0}, {859, 645}}"; 
    6                         sepNavSelRange = "{95, 0}"; 
     6                        sepNavSelRange = "{165, 0}"; 
    77                        sepNavVisRange = "{0, 168}"; 
    88                        sepNavWindowFrame = "{{107, 16}, {918, 773}}"; 
     
    134134                                ); 
    135135                        }; 
    136                         PBXPerProjectTemplateStateSaveDate = 288646912; 
    137                         PBXWorkspaceStateSaveDate = 288646912; 
     136                        PBXPerProjectTemplateStateSaveDate = 289134795; 
     137                        PBXWorkspaceStateSaveDate = 289134795; 
    138138                }; 
    139139                perUserProjectItems = { 
     140                        B5792994113BD92F00CC49B0 /* PlistBookmark */ = B5792994113BD92F00CC49B0 /* PlistBookmark */; 
    140141                        B5A7E9DB10FC05610031B325 /* PBXTextBookmark */ = B5A7E9DB10FC05610031B325 /* PBXTextBookmark */; 
    141                         B5BD94EE11348E9F0063C358 /* PBXBookmark */ = B5BD94EE11348E9F0063C358 /* PBXBookmark */; 
    142142                        B5BD94F9113494A50063C358 /* PBXTextBookmark */ = B5BD94F9113494A50063C358 /* PBXTextBookmark */; 
    143143                        B5BD94FA113494A50063C358 /* PBXBookmark */ = B5BD94FA113494A50063C358 /* PBXBookmark */; 
    144144                        B5BD94FB113494A50063C358 /* PBXTextBookmark */ = B5BD94FB113494A50063C358 /* PBXTextBookmark */; 
    145                         B5BD94FC113494A50063C358 /* PlistBookmark */ = B5BD94FC113494A50063C358 /* PlistBookmark */; 
    146145                        B5BD94FD113494A50063C358 /* PlistBookmark */ = B5BD94FD113494A50063C358 /* PlistBookmark */; 
    147                         B5BD9500113494A50063C358 /* PBXTextBookmark */ = B5BD9500113494A50063C358 /* PBXTextBookmark */; 
    148146                        B5BEBC08112E8B4600D88264 /* PBXTextBookmark */ = B5BEBC08112E8B4600D88264 /* PBXTextBookmark */; 
    149147                        B5BEBD4D1131F01400D88264 /* PBXTextBookmark */ = B5BEBD4D1131F01400D88264 /* PBXTextBookmark */; 
     
    234232                ); 
    235233        }; 
    236         B5A7E9DB10FC05610031B325 /* PBXTextBookmark */ = { 
    237                 isa = PBXTextBookmark; 
    238                 fRef = 452CEE740D12D87D00633EBF /* main.m */; 
    239                 name = "main.m: 1"; 
    240                 rLen = 0; 
    241                 rLoc = 0; 
    242                 rType = 0; 
    243                 vrLen = 122; 
    244                 vrLoc = 0; 
    245         }; 
    246         B5BD94EE11348E9F0063C358 /* PBXBookmark */ = { 
    247                 isa = PBXBookmark; 
    248                 fRef = 089C165DFE840E0CC02AAC07 /* English */; 
    249                 name = "InfoPlist.strings (English)"; 
    250         }; 
    251         B5BD94F9113494A50063C358 /* PBXTextBookmark */ = { 
    252                 isa = PBXTextBookmark; 
    253                 fRef = 454398890D6F33A500761241 /* MyController.mm */; 
    254                 name = "MyController.mm: 705"; 
    255                 rLen = 0; 
    256                 rLoc = 22098; 
    257                 rType = 0; 
    258                 vrLen = 855; 
    259                 vrLoc = 8456; 
    260         }; 
    261         B5BD94FA113494A50063C358 /* PBXBookmark */ = { 
    262                 isa = PBXBookmark; 
    263                 fRef = 45CC127D0D5899B7001EB49B /* icon.icns */; 
    264         }; 
    265         B5BD94FB113494A50063C358 /* PBXTextBookmark */ = { 
    266                 isa = PBXTextBookmark; 
    267                 fRef = 089C165DFE840E0CC02AAC07 /* English */; 
    268                 name = "InfoPlist.strings: 1"; 
    269                 rLen = 0; 
    270                 rLoc = 0; 
    271                 rType = 0; 
    272                 vrLen = 122; 
    273                 vrLoc = 0; 
    274         }; 
    275         B5BD94FC113494A50063C358 /* PlistBookmark */ = { 
     234        B5792994113BD92F00CC49B0 /* PlistBookmark */ = { 
    276235                isa = PlistBookmark; 
    277236                fRef = 8D1107310486CEB800E47090 /* Info.plist */; 
     
    279238                isK = 0; 
    280239                kPath = ( 
     240                        NSMainNibFile, 
    281241                ); 
    282242                name = /Users/rgareus/data/inout/oggzcap/Info.plist; 
    283243                rLen = 0; 
    284244                rLoc = 9223372036854775807; 
     245        }; 
     246        B5A7E9DB10FC05610031B325 /* PBXTextBookmark */ = { 
     247                isa = PBXTextBookmark; 
     248                fRef = 452CEE740D12D87D00633EBF /* main.m */; 
     249                name = "main.m: 1"; 
     250                rLen = 0; 
     251                rLoc = 0; 
     252                rType = 0; 
     253                vrLen = 122; 
     254                vrLoc = 0; 
     255        }; 
     256        B5BD94F9113494A50063C358 /* PBXTextBookmark */ = { 
     257                isa = PBXTextBookmark; 
     258                fRef = 454398890D6F33A500761241 /* MyController.mm */; 
     259                name = "MyController.mm: 705"; 
     260                rLen = 0; 
     261                rLoc = 22098; 
     262                rType = 0; 
     263                vrLen = 855; 
     264                vrLoc = 8456; 
     265        }; 
     266        B5BD94FA113494A50063C358 /* PBXBookmark */ = { 
     267                isa = PBXBookmark; 
     268                fRef = 45CC127D0D5899B7001EB49B /* icon.icns */; 
     269        }; 
     270        B5BD94FB113494A50063C358 /* PBXTextBookmark */ = { 
     271                isa = PBXTextBookmark; 
     272                fRef = 089C165DFE840E0CC02AAC07 /* English */; 
     273                name = "InfoPlist.strings: 1"; 
     274                rLen = 0; 
     275                rLoc = 0; 
     276                rType = 0; 
     277                vrLen = 122; 
     278                vrLoc = 0; 
    285279        }; 
    286280        B5BD94FD113494A50063C358 /* PlistBookmark */ = { 
     
    294288                name = /Users/rgareus/data/inout/oggzcap/Info.plist; 
    295289                rLen = 0; 
    296                 rLoc = 9223372036854775807; 
    297         }; 
    298         B5BD9500113494A50063C358 /* PBXTextBookmark */ = { 
    299                 isa = PBXTextBookmark; 
    300                 fRef = 089C165DFE840E0CC02AAC07 /* English */; 
    301                 name = "InfoPlist.strings: 3"; 
    302                 rLen = 0; 
    303                 rLoc = 95; 
    304                 rType = 0; 
    305                 vrLen = 168; 
    306                 vrLoc = 0; 
     290                rLoc = 9223372036854775808; 
    307291        }; 
    308292        B5BEBC08112E8B4600D88264 /* PBXTextBookmark */ = { 
  • oggzcap/buildmac.sh

    r53f2ac9 rce71472  
    11#!/bin/sh 
    2 VERSION=2.0 
     2 
     3if [ -n "$1" ];then 
     4  UPLOAD=true 
     5fi 
     6CLEAN=true 
     7 
     8VERSION=2.2 
    39DMGFILE=/tmp/oggzcap-$VERSION.dmg 
    410echo $DMGFILE 
    511 
    612BUILD=build/Release/OggZCap.app 
     13VOLNAME=OggZCap 
     14APPNAME=OggZCap.app 
     15BGPIC=./dmgbg.png 
    716 
    8 xcodebuild clean \ 
    9 && xcodebuild \ 
    10 ||exit 
     17TMPFILE=/tmp/ogztmp.dmg 
     18MNTPATH=/tmp/mnt/ 
     19 
     20##### 
     21 
     22if [ -n "$CLEAN" ]; then 
     23xcodebuild clean || exit 
     24fi 
     25xcodebuild ||exit 
     26 
     27##### 
    1128 
    1229#roll a DMG 
    13 TMPFILE=/tmp/ogztmp.dmg 
    14 MNTPATH=/tmp/mnt/ 
    15 VOLNAME=OggZCap 
    1630 
    1731mkdir -p $MNTPATH 
    1832if [ -e $TMPFILE -o -e $DMGFILE -o ! -d $MNTPATH ]; then 
    19   echo "could not make DMG.." 
     33  echo "could not make DMG. (file exists?!)" 
    2034  exit; 
    2135fi 
    2236 
    23 hdiutil create -megabytes 100 $TMPFILE 
     37hdiutil create -megabytes 200 $TMPFILE 
    2438DiskDevice=$(hdid -nomount "${TMPFILE}" | grep Apple_HFS | cut -f 1 -d ' ') 
    2539newfs_hfs -v "${VOLNAME}" "${DiskDevice}" 
     40 
    2641mount -t hfs "${DiskDevice}" "${MNTPATH}" 
    2742 
    2843cp -r ${BUILD} ${MNTPATH}/ 
    29 ln -s /Applications ${MNTPATH}/Applications 
     44mkdir ${MNTPATH}/.background 
     45BGFILE=$(basename $BGPIC) 
     46cp -vi ${BGPIC} ${MNTPATH}/.background/${BGFILE} 
     47#ln -s /Applications ${MNTPATH}/Applications 
     48 
     49echo ' 
     50   tell application "Finder" 
     51     tell disk "'${VOLNAME}'" 
     52           open 
     53           set current view of container window to icon view 
     54           set toolbar visible of container window to false 
     55           set statusbar visible of container window to false 
     56           set the bounds of container window to {400, 200, 800, 425} 
     57           set theViewOptions to the icon view options of container window 
     58           set arrangement of theViewOptions to not arranged 
     59           set icon size of theViewOptions to 64 
     60           set background picture of theViewOptions to file ".background:'${BGFILE}'" 
     61           make new alias file at container window to POSIX file "/Applications" with properties {name:"Applications"} 
     62           set position of item "'${APPNAME}'" of container window to {100, 100} 
     63           set position of item "Applications" of container window to {310, 100} 
     64           close 
     65           open 
     66           update without registering applications 
     67           delay 3 
     68           eject 
     69     end tell 
     70   end tell 
     71' | osascript 
    3072 
    3173# Umount the image 
     
    3476 
    3577# Create a read-only version, use zlib compression 
    36 hdiutil convert -format UDZO "${TMPFILE}" -o "${DMGFILE}" 
     78hdiutil convert -format UDZO "${TMPFILE}" -imagekey zlib-level=9 -o "${DMGFILE}" 
    3779 
    3880# Delete the temporary files 
     
    4082rmdir $MNTPATH 
    4183 
    42 if [ -n "$1" ];then 
     84if [ -n "$UPLOAD" ];then 
    4385  scp $DMGFILE rg42.org:/var/sites/inout/docroot/software/ 
    4486fi