From: Ippei U. <ip...@us...> - 2005-06-07 00:05:42
|
Update of /cvsroot/hugin/hugin/mac In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15252 Modified Files: localised.sh Log Message: Mac: renewed the wx version Index: localised.sh =================================================================== RCS file: /cvsroot/hugin/hugin/mac/localised.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- localised.sh 2 Jun 2005 17:11:57 -0000 1.3 +++ localised.sh 7 Jun 2005 00:05:28 -0000 1.4 @@ -1,5 +1,6 @@ #!/bin/sh +wxVersion="2.6.1" resdir="build/HuginOSX.app/Contents/Resources" xrcsrcdir="../src/hugin/xrc" @@ -14,8 +15,8 @@ #for xrcfile in `ls $resdir/xrc | grep mac.xrc` #do -# echo copying $xrcfile to $resdir/xrc/`echo $xrcfile|sed s/-mac.xrc/.xrc/` -# cp -f $xrcfile $resdir/xrc/`echo $xrcfile|sed s/-mac.xrc/.xrc/` +# echo using $resdir/xrc/$xrcfile instead of $resdir/xrc/`echo $xrcfile|sed s/-mac.xrc/.xrc/` +# mv -f $resdir/xrc/$xrcfile $resdir/xrc/`echo $xrcfile|sed s/-mac.xrc/.xrc/` #done echo patching $resdir/xrc/cp_editor_panel-2.5.xrc to use wxChoice instead of wxNotebook @@ -46,7 +47,7 @@ fi echo "wxstd.mo to $lang.po" - msgfmt -v -o "$localedir/wxstd.mo" "../../wxMac-2.6.0/locale/$lang.po" + msgfmt -v -o "$localedir/wxstd.mo" "../../wxMac-$wxVersion/locale/$lang.po" echo "hugin.mo to $lang.po" msgfmt -v -o "$localedir/hugin.mo" "../src/hugin/po/$lang.po" |