Re: [Gtkwave-users] OSX launcher script improvement
Brought to you by:
gtkwave,
joel1234567
From: <by...@nc...> - 2022-10-09 19:32:57
|
Daniel, I'd say upload the patch file to github. That bug reporting system often is easier for this kind of thing. https://github.com/gtkwave Everything's been moving to github. SF is around for historical reasons for the super-turbo-stable release branch. -Tony -----------------------------------------From: "Daniel O'Connor via Gtkwave-users" To: gtk...@li... Cc: "Daniel O'Connor" Sent: Saturday October 8 2022 11:31:40PM Subject: [Gtkwave-users] OSX launcher script improvement Hi, I am having trouble with gtkwave built from Macports so I downloaded the prebuilt binary (3.3.107) which does work, however the launcher has a limitation where it expects CWD to be in the bundle. This is a bit limiting as it makes it harder to call from the command line, however it is easily fixed: --- a/contrib/bundle_for_osx/launcher.sh 2022-10-09 13:27:22.000000000 +1030 +++ b/contrib/bundle_for_osx/launcher.sh 2022-10-09 13:02:47.000000000 +1030 @@ -10,11 +10,8 @@ EXEC=exec fi -name="`basename $0`" -tmp="`pwd`/$0" -tmp=`dirname "$tmp"` -tmp=`dirname "$tmp"` -bundle=`dirname "$tmp"` +name=$(basename $0) +bundle="$(cd `dirname $0`; cd ../..; pwd)" bundle_contents="$bundle"/Contents bundle_res="$bundle_contents"/Resources bundle_lib="$bundle_res"/lib (this is a hand edited patch so the filenames might be wrong) I was going to file a patch on sf.net but it appears to be disabled so I am posting it here. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum _______________________________________________ Gtkwave-users mailing list Gtk...@li... https://lists.sourceforge.net/lists/listinfo/gtkwave-users /> |