Donate Share

Scan Tailor

Tracker: Feature Requests

5 Mac OS X install - ID: 2898553
Last Update: Comment added ( jart )

I have attached an info.plist file that is needed to make a proper
application bundle on Mac OS X. Basically this allows scantailor to live
nicely in the applications folder of a Mac and be double clickable to run.
It's a bit of a hack to do it manually like this, but it works. If anyone
wants to contribute a cleaner info.plist file or way of inserting the
values into the file for the version and the minimum system version that
would be great too, but it doesn't seem to be needed. I only have Mac OS
10.6.2 to test on, but I set the minimum version at 10.4.0 as a guess. It
would probably work on earlier versions and that can be changed.

All the installation requires is making a folder called scantailor.app in
/Applications (may require sudo) and putting the scantailor executable and
this info.plist file in there. Then Mac OS recognizes it as an application
bundle and runs it nicely.

I don't know anything about makefiles or else I would help with that too. I
assume it involves detecting that the install is on a Mac OS system and
then changing the install target, etc to the above.


Taxman ( taxman457f ) - 2009-11-16 15:57

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 3 )




Date: 2009-11-18 18:55
Sender: jartProject AdminAccepting Donations

OK, I'll try to integrate building the application bungle into the build
system. Fortunately I do have an old iBook G4 around to test it on.


Date: 2009-11-18 13:08
Sender: taxman457f

Yes I think handling all the dependencies would be quite difficult. For now
on Mac OS X it requires the entire MacPorts build system. (I haven't tried
Fink, that may work too.)

But in the meantime I was hoping for the simple version that if someone
has the dependencies satisfied manually that the sudo make install step
would handle creating the bundle. Because the current process is that
someone has to satisfy the dependencies manually anyway, so there is no
loss.


Date: 2009-11-17 23:42
Sender: jartProject AdminAccepting Donations

Thanks for yet another contribution.

For now I am going to create a packaging/osx directory in the source tree
and put this file there.
When me or someone else decides to put effort to add proper support for
making OSX builds, we'll make use of this file.

FIY: Detecting OSX and building an application bundle is pretty easy with
CMake. The hard thing is writing scripts for building and bundling Scan
Tailor's dependencies.


Log in to comment.

Attached File ( 1 )

Filename Description Download
Scantailor_Info.plist Download

Changes ( 4 )

Field Old Value Date By
status_id Closed 2009-11-18 13:08 taxman457f
status_id Open 2009-11-17 23:42 jart
close_date - 2009-11-17 23:42 jart
File Added 351125: Scantailor_Info.plist 2009-11-16 15:57 taxman457f