On 16 Aug, 2012, at 7:59 pm, John J. Foerch wrote:

On Fri, Feb 24, 2012 at 06:02:20AM +0000, Philip Hudson wrote:
Solved: xulrunner-bin --install-app does not reference our
Info.plist file at all. Instead, it gets the values it puts into the
deployed Info.plist from our application.ini. The deployed
Info.plist file is identical whether our Info.plist file is present
or not.

So, unless anyone knows of any other reason for the existence of our
Info.plist file, I guess it should be deleted.


I got distracted from this thread and am just now coming back to it. It sounds to me like deleting Info.plist from conkeror's root directory is
the right thing to do, but we also need to decide what to do about
advising people of how to use/modify Info.plist. For example, should a copy of it be provided in contrib/, or a patch file that people can use? I don't have a mac, so I will be looking for advice from people who know
that platform, and will do what you/they advise.  Want to make the
installation procedure as straight-forward as possible for users.


Here's the Mac-specific part of my pull-and-update-conkeror script. Hope it helps.

SRC_DIR is where I pull the latest conkeror code into. APP_DIR is the right place to deploy conkeror (the standard OS X applications directory), which requires admin privileges, like most app installs:

if [ "x${OSTYPE}x" = "xdarwinx" ]; then
    SRC_DIR="${HOME}/Applications/conkeror"
    IS_MAC='true'
else
...
fi

<pull git conkeror HEAD>

if [ ! -z "$IS_MAC" ]; then
    APP_DIR='/Applications/conkeror.mozdev.org'
/Library/Frameworks/XUL.framework/xulrunner-bin --install-app "$SRC_DIR"

    cd "${APP_DIR}/conkeror.app/Contents"
    patch --quiet -p1 < "${HOME}/Info.plist.patch"
    cd "$APP_DIR"
    touch conkeror.app
else
...
fi


xulrunner-bin --install-app takes minutes not seconds to run on my six- year-old MacBook Pro.

Attached is the Info.plist.patch I use. With this, it is possible to set conkeror as the OS X default browser, inter alia.

Attachment: Info.plist.patch
Description: Binary data





Runs on OS X 10.5.8, which is pretty ancient now. I do not intend to upgrade.

--
Phil Hudson                  http://hudson-it.no-ip.biz
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63

_______________________________________________
Conkeror mailing list
Conkeror@mozdev.org
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to