[ptx] autopano-sift-1.6-win-1.zip, No more Gtk#. Windows users please test :)

Guillaume Filion gfk at logidac.com
Tue Sep 21 00:05:16 BST 2004


Ippei UKAI wrote:
> So far, I have added Shell Script chooser to AutoCtrlPointCreator.cpp 
> exactly the same way as Windows does.
> It apparently executes autopano-complete.sh file complains sed does not 
> accept "-r" flag.

The -r flag for GNU sed is for "extended regular expressions in the 
script." Since perl is included by default on MacOSX, you could replace 
the sed script by a perl script.

So, on line 64 of autopano-complete.sh, you should be able to replace 
the following:
FILENAME=$(echo -n $arg | sed -r 's at .+/([^/]+$)@\1@').key.gz
by this (all on one line):
FILENAME=$(echo -n $arg | perl -n -e 's at .+/([^/]+$)@\1@;print;').key.gz

At least it works on my PowerBook with OSX 10.3.5.

Hope this helps,
GFK's
-- 
Guillaume Filion, ing. jr
Logidac Tech., Beaumont, Québec, Canada - http://logidac.com/
PGP Key and more: http://guillaume.filion.org/



More information about the ptX mailing list