Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2021, 04:47 PM   #136
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,689
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by phillipgessert View Post
Have any macOS users used this lately?
If you've Calibre installed on your Mac, you can also use Polish Books. (AFAIK, it also uses cjpeg, jpegtran and optipng for lossless image compression and also allows you to subset fonts.)
Doitsu is offline   Reply With Quote
Old 09-29-2021, 08:39 PM   #137
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,504
Karma: 5703586
Join Date: Nov 2009
Device: many
I will give it a try tomorrow to see if I can get it to work on macOS and if so, I will let you know how.
KevinH is offline   Reply With Quote
Old 09-30-2021, 11:20 AM   #138
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by Doitsu View Post
If you've Calibre installed on your Mac, you can also use Polish Books. (AFAIK, it also uses cjpeg, jpegtran and optipng for lossless image compression and also allows you to subset fonts.)
Thanks for the tip! I don't use calibre much but maybe this will be a good excuse to tinker with it a bit more. I'll give it a shot.

Quote:
Originally Posted by KevinH View Post
I will give it a try tomorrow to see if I can get it to work on macOS and if so, I will let you know how.
And thank you very much for this! Would love to get this working in Sigil and perhaps I can learn what I've done wrong here.
phillipgessert is offline   Reply With Quote
Old 09-30-2021, 11:52 AM   #139
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Phil
You don't need to use the full Calibre (add to Library) if you don't want to. There are a couple of standalone pieces included. Viewer, Editor to name a few.
theducks is offline   Reply With Quote
Old 09-30-2021, 11:58 AM   #140
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by theducks View Post
Phil
You don't need to use the full Calibre (add to Library) if you don't want to. There are a couple of standalone pieces included. Viewer, Editor to name a few.
Thanks very much! I admit I've mainly used calibre only to manage my personal library, so I'd have likely overlooked those standalones.
phillipgessert is offline   Reply With Quote
Old 09-30-2021, 02:15 PM   #141
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by phillipgessert View Post
Thanks very much! I admit I've mainly used calibre only to manage my personal library, so I'd have likely overlooked those standalones.
I use the OS Open With (context) for things I do not Add to the Library.
You may need to 'Register' the Editor as a possible 'handler' for EPUB (it does not need to be Default)
theducks is offline   Reply With Quote
Old 09-30-2021, 02:51 PM   #142
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,504
Karma: 5703586
Join Date: Nov 2009
Device: many
Okay, I got it to work on macOS like a charm but I had to fix some executable permissions that were not properly set when the plugin zip was unpacked. For executable scripts used in plugins, I typically have the plugin.py script handle that since all zip utilities handle it differently.

After installing mono on macOS and after installing the ePUBOptimizer plugin in Sigil but before running it yet, use Terminal.app to do the following:

#first check to make sure mono is in the path

which mono

# it should respond with
# /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono

# Then add the user execute permission ot the compiled binaries
# for osx that come with the plugin

cd
cd Library/Application*Support
cd sigil-ebook/sigil/plugins
cd ePUBOptimizer
cd osx
chmod u+x ./gifsicle
chmod u+x ./jpegtran
chmod u+x ./optipng
exit


Then you should be able to use the ePUBOptimizer plugin on macOS successfully but be patient as the first launch of mono takes a lot of time. Subsequent runs of mono are a bit faster.
KevinH is offline   Reply With Quote
Old 09-30-2021, 04:53 PM   #143
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by KevinH View Post
Okay, I got it to work on macOS like a charm but I had to fix some executable permissions that were not properly set when the plugin zip was unpacked. For executable scripts used in plugins, I typically have the plugin.py script handle that since all zip utilities handle it differently.

After installing mono on macOS and after installing the ePUBOptimizer plugin in Sigil but before running it yet, use Terminal.app to do the following:

#first check to make sure mono is in the path

which mono

# it should respond with
# /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono

# Then add the user execute permission ot the compiled binaries
# for osx that come with the plugin

cd
cd Library/Application*Support
cd sigil-ebook/sigil/plugins
cd ePUBOptimizer
cd osx
chmod u+x ./gifsicle
chmod u+x ./jpegtran
chmod u+x ./optipng
exit


Then you should be able to use the ePUBOptimizer plugin on macOS successfully but be patient as the first launch of mono takes a lot of time. Subsequent runs of mono are a bit faster.
Thank you very much for this--I wonder if I ought to reinstall mono, as my
Code:
which mono
returns
Code:
/Library/Frameworks/Mono.framework/mono
which seems to be a symlink to
Code:
/Library/Frameworks/Mono.framework/Versions/Current/lib/libmono-2.0.dylib
Mind if I ask how you installed mono? I wonder if I'd be better off reinstalling via homebrew or something rather than that install wizard from the website.
phillipgessert is offline   Reply With Quote
Old 09-30-2021, 05:20 PM   #144
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,504
Karma: 5703586
Join Date: Nov 2009
Device: many
Your installation of mono is broken. The"mono" found by "which" should be a an executable command/script/program and not a dynamic library (.dylib).

I would delete that entire Mono.framework you installed and then get a new installer.

Download the stable channel latest build, which will end up with an installer .pkg file.

from here:

https://www.mono-project.com/download/stable/

Click the macOS tab (if not auto detected) and then click on the "Download Mono 6.12.0 (Stable channel)" button (on the right side).

Once downloaded, manually drag the mono pkg file to your Desktop and run the installer by double clicking.

Last edited by KevinH; 09-30-2021 at 05:34 PM.
KevinH is offline   Reply With Quote
Old 09-30-2021, 05:43 PM   #145
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Perfect, I was hoping it was something like that. I'll give er a shot.
phillipgessert is offline   Reply With Quote
Old 10-01-2021, 04:07 PM   #146
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Just to kinda temporarily close the loop on this: still not finding mono and the installer (6.12 stable) did the exact same thing--stuck a mono in the same place and it's a symlink to that dynamic library. But I think it's probably a me thing here, maybe in part because my Mac's not particularly up-to-date (still on Catalina), so I'll do a little housekeeping before coming back to it. Thanks a ton to everyone for the help, if I do get it figured out I'll be sure to post up about it.
phillipgessert is offline   Reply With Quote
Old 10-01-2021, 04:42 PM   #147
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,504
Karma: 5703586
Join Date: Nov 2009
Device: many
I tested on Catalina as well. Are you sure you completely deleted the old Mono.framework and all its contents first?

In Terminal.app what does this command show:

cd /Library/Frameworks/Mono.framework
find ./ -name "mono"


It should print the paths to all files called mono within that framework.
KevinH is offline   Reply With Quote
Old 10-01-2021, 05:04 PM   #148
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Wow, thank you--I'm fairly sure I'd gotten rid of it completely, but I'll try again. At the moment I haven't got a /Library/Frameworks/Mono.framework/ at all, because I've since removed it again (via the instructions at the bottom of https://www.mono-project.com/docs/ab...atforms/macos/), which is perhaps a good sign. I'll keep at it and come back.
phillipgessert is offline   Reply With Quote
Old 10-03-2021, 12:04 PM   #149
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,504
Karma: 5703586
Join Date: Nov 2009
Device: many
Hmm ... "Mono" should be a symlink to the .dylib of the framework but the command is "mono".

Quote:
kbhend@MacBook-Pro Mono.framework % find ./ -name "mono"
.//Versions/6.12.0/bin/mono
.//Versions/6.12.0/include/mono-2.0/mono
.//Versions/6.12.0/etc/mono
.//Versions/6.12.0/lib/mono
.//Versions/6.12.0/Commands/mono
.//Versions/6.12.0/share/mono-2.0/mono
Quote:

kbhend@MacBook-Pro Mono.framework % ls
Commands Headers Home Libraries Mono Versions


kbhend@MacBook-Pro Mono.framework % ls -al
total 0
drwxr-xr-x 8 root admin 256 30 Sep 14:26 .
drwxr-xr-x 8 root wheel 256 30 Sep 14:26 ..
lrwxr-xr-x 1 root admin 55 30 Sep 14:26 Commands -> /Library/Frameworks/Mono.framework/Versions/Current/bin
lrwxr-xr-x 1 root admin 59 30 Sep 14:26 Headers -> /Library/Frameworks/Mono.framework/Versions/Current/include
lrwxr-xr-x 1 root admin 52 30 Sep 14:26 Home -> /Library/Frameworks/Mono.framework/Versions/Current/
lrwxr-xr-x 1 root admin 55 30 Sep 14:26 Libraries -> /Library/Frameworks/Mono.framework/Versions/Current/lib
lrwxr-xr-x 1 root admin 73 30 Sep 14:26 Mono -> /Library/Frameworks/Mono.framework/Versions/Current/lib/libmono-2.0.dylib
drwxr-xr-x 4 root admin 128 30 Sep 14:26 Versions
So it appears that your system PATH environment variable is set improperly.

One of the following paths should be in your PATH after an install:

/Library/Frameworks/Mono.framework/Versions/Current/Commands

or

/Library/Frameworks/Mono.framework/Versions/Current/bin

as they are symlinked to each other.

Hope something here helps.

KevinH
KevinH is offline   Reply With Quote
Old 10-03-2021, 11:53 PM   #150
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Thanks a ton—I don’t get a lot of desk time on weekends but am excited to poke around over the next week or so based on this to try and get er working. I’ll be back!
phillipgessert is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comic optimizer script rhon Kobo Reader 0 11-08-2012 06:04 PM
Mokle - Mangas Optimizer for Kindle devorez Kindle Developer's Corner 11 08-14-2012 07:15 PM
Patent/Heavy graphics pdfs and Adobe PDF Optimizer andrewscheinman iRex 4 12-26-2009 11:39 AM
epub, ePub, EPUB, warum blos ePub? flowoeB Lounge 5 11-27-2009 09:37 AM
PRS-500 PDF file optimizer phigdon Sony Reader Dev Corner 1 04-01-2007 11:40 PM


All times are GMT -4. The time now is 07:24 AM.


MobileRead.com is a privately owned, operated and funded community.