![]() |
MacPort version of Sigil
Quote:
Martin |
In what way does it need more porting to the Mac? It needs some mac-specific fixes in the metadata, but the Applicaton itself looks very Mac-like. Native controls, proper menu bar, etc.
Quote:
|
Quote:
But if krischik wants to create a "MacPort", he can feel free to do so. |
Quote:
|
I was thinking more of creator code and document icons myself. But they are relatively unimportant in alpha versions.
Quote:
|
Quote:
|
Quote:
BOb |
If this thread has turned into Mac specific tweaks, one thing that isn't working is the 'Open With' finder menu option (probably same for configuring Sigil as default app for epub). It won't open the epub in this case.
|
Quote:
Anyway, any mac specific issues can and should be raised. I don't have much (any) mac dev experience, or mac experience in general. For instance, I have no idea what an "Open With" finder option is. I can guess at it's function, but that's it. You will have to provide more details. |
Unfortunately I don't really know the specifics of how it works either. It's equivalent to 'open with' in windows. i.e. you right click on an epub, you select 'Open with', and choose Sigil as the target. I assume the OS is passing the application that filename on launch somehow, but I don't know the specifics.
Anyway, not urgent in any way, just something I noticed that's likely Mac specific. |
Quote:
|
Quote:
They also contain resources that link documents to the application, indicating that they can open the document and, if unique to the application, providing icons for the documents. Most of this happen in the Info.plist inside the application package Contents folder. When I get Sigil compiling nicely on my Mac (i.e. when I have some hours to spend, perhaps this weekend), I'll see what I can do in terms of the metadata in the Info.plist. Icon design isn't my string point though. I can do one, but it won't be pretty! |
Oooh - that makes more sense. Sorry for being obtuse.
Paul Quote:
|
Quote:
Quote:
|
Quote:
The icons are not a problem: look into the Sigil app on Mac, there is a Sigil.icns file. |
As a user, my big request would be to make this a Universal binary. I don't know if there's a specific reason that the original isn't Universal, but G5-and-earlier machines still make up a large portion of the Mac installed base. Universal and 10.4.11 compatibility would make it so *I* could use the program.
|
Quote:
|
Quote:
|
Distribution
Quote:
Martin |
DIY
Quote:
Martin |
Hi,
For MacPorts I need a short and long descriptions for tidylib and ZipArchive. That's because I need to make three different ports :-( . Martin |
|
Done!
Hi,
I did get around all the problems after all and Sigil is now available for MacPorts compatible systems. In the end I needed three portfiles: libtidylib, libziparchive and Sigil. Of course you only have to install the last one - MacPorts takes care of dependencies itself. See the MacPorts Homepage for instructions on how to install MacPorts. Martin |
Quote:
I cannot provide you with descriptions for these libraries since I didn't write them, I only modified them. I must say I cannot support the development of a MacPorts version, or its build system. The only build system supported is the provided CMake version. Anything beyond that, and I'm sorry to say but you are on your own. |
I do use cmake.
Quote:
Quote:
Martin |
Quote:
These libraries were never meant to be available on a system level. There will come a time when this will cause great harm to certain users. |
Quote:
You can find those in the INSTALL.txt file in the repository. |
Quote:
You should learn CMake or follow the (correct) instructions more closely. |
Which instructions?
Hello,
Don't be upset about my mistakes. See them as a change to learn and improve documentation. I add a few ;) so you know I am not all that serious. Quote:
Quote:
Code:
/Volumes/Work/macports/editors/sigil/work/Sigil_code_0.1.1 Darwin martin@macpro Mo Aug 10 16:44:11 standart 0 Quote:
Code:
/Volumes/Work/macports/editors/sigil/work/Sigil_code_0.1.1 Darwin martin@macpro Mo Aug 10 16:49:47 standart 0 Now, again please don't be upset - I now it's your fault. The cmake guys should have known better then use .txt for a build script. So I messed it up and I have to do it again :smack:. Martin |
Quote:
Then again, having "CMake" as part of the name should make anyone at least curious enough to open it if they're using the CMake build system. |
Improved!
Hello,
I implemented Vallorics suggestions for improvement ;) It works a lot better now :) - All I need now is someone to try the build. Martin |
Sigil 0.1.2 has been released for MacPorts. It's only 1.6M in size as opposed to 28.3M for the DMG version.
Have fun Martin |
I see you're listing Sigil as x86_64 compatible for the MacPorts version. I'm not sure that will work out-of-the-box. See this page for details.
Basically, to work on x86_64, Qt needs to be compiled against Cocoa, not Carbon. I'm not sure the Qt version on MacPorts supports this. Have you tested this? EDIT: The 32 bit Carbon version of Sigil should of course work without problems on x86_64 Macs. |
Quote:
Unless you are into experimental stuff one should stay with 32bit for another month or so. Martin |
| All times are GMT -4. The time now is 10:25 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.