[grisbi-bugs] [Grisbi-0.5.9-fixes 0000409]: Mac OS X: grisbi cannot start if the script `open-x11' does not exists

bugtracker at grisbi.org bugtracker at grisbi.org
Sun Jan 31 07:35:12 CET 2010


The following issue has been CLOSED 
====================================================================== 
http://grisbi.tuxfamily.org/mantis/view.php?id=409 
====================================================================== 
Reported By:                mildred
Assigned To:                
====================================================================== 
Project:                    Grisbi-0.5.9-fixes
Issue ID:                   409
Category:                   Packages
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-29-2008 12:59 UTC
Last Modified:              01-31-2010 06:35 UTC
====================================================================== 
Summary:                    Mac OS X: grisbi cannot start if the script
`open-x11' does not exists
Description: 
On Mac OS X 10.5, I cannot find the script open-x11 (only the manpage
exists). And thus, Grisbi cannot start.

Perhaps a good idea would be to embed this script in Grisbi.app, or find a
way not needing it. I found an (ugly) workaround by changing
Grisbi.app/Contents/MacOS/script (I might have the wrong path, I can't
remember it exactly) to: http://mildred.pastebin.com/f115b961d

#!/bin/sh

DIR=`dirname "$0"`
TMP=/tmp/$UID/TemporaryItems
cd "$DIR/../..";
APPDIR=`pwd`
cd -
VERSION=v059

# re-create /tmp/slk symlink
CWD="/tmp/skl/Grisbi.app/Contents/Resources"
LNDIR=/tmp/skl/Grisbi.app
if [ ! -e $LNDIR/Contents/Resouces/$VERSION ]; then
        rm -f $LNDIR
        mkdir -p /tmp/skl
        ln -s "$APPDIR" $LNDIR
fi

cd ~/
export LANG=`grep '\b'\`defaults read -g AppleLanguages | sed
's/.\(..\).*/\1/'\`_ /usr/share/locale/locale.alias | sed -n
's/.*\(.._..\)\..*/\1/p;1q'`
if ! open-x11 "$CWD/bin/grisbi"; then
	open /Applications/Utilities/X11.app
	export DISPLAY=:0
	"$CWD/bin/grisbi"
fi
====================================================================== 

---------------------------------------------------------------------- 
 mildred - 10-29-08 13:02  
---------------------------------------------------------------------- 
Well, should I say that the computer is a PowerPC. So I downloaded the file
Grisbi.app-0.5.9-X11-PPC-OSX-10.4.dmg which may not be compatible with
10.5. But it is the closest match. 

---------------------------------------------------------------------- 
 pbiava - 01-31-10 06:35  
---------------------------------------------------------------------- 
This is a 0.5.9 bug, therefore, we won't fix it.
We are fully dedicating our efforts to the 0.6 version. The latest version
is the Release Candidate 2 available at
http://sourceforge.net/projects/grisbi/files/ [^]

Please consider migrating to the 0.6 version, and be sure to keep a copy
of your 0.5.9 accounts file as the 0.6 version is not in its final state. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-29-08 12:59  mildred        New Issue                                    
10-29-08 12:59  mildred        OS                        => MacOSX          
10-29-08 12:59  mildred        Unstable Impact           => Yes             
10-29-08 12:59  mildred        Version OS                => 10.5            
10-29-08 13:02  mildred        Note Added: 0000685                          
06-09-09 20:11  MyKeul         Project                  Grisbi =>
Grisbi-0.5.9-fixes
01-31-10 06:35  pbiava         Status                   new => closed       
01-31-10 06:35  pbiava         Note Added: 0001883                          
======================================================================



More information about the bugsreports mailing list