# RFC: Drop embedded MathJax in favor of using distro-packaged one? #158

Closed
opened this Issue Sep 7, 2015 · 9 comments

Projects
None yet
7 participants
Member

### monsta commented Sep 7, 2015

 Well, it has been done in Debian here - as a patch. Can we do the same upstream and drop the excessive amount of source code? @infirit @flexiondotorg @NiceandGently @willysr @posophe @obache thoughts? yes, some of you have already confirmed that MathJax is in your distros, I know 😄
Contributor

### infirit commented Sep 7, 2015

 I am not against removing and relying on the distro's packaged version. I am only concerned about distro's that do not have this packaged, slackware was one but then I don't think @willysr enabled epub in atril..

Member

### flexiondotorg commented Sep 7, 2015

 I agree with this proposal.
Member

### willysr commented Sep 7, 2015

 yes, go on with this idea :) just let me know when it has become a mandatory dep

### obache commented Sep 8, 2015

 I agree with this idea too. I don't know whether "/usr/share/javascript/mathjax" is the de facto standard location for MathJax installation or not, but it is better to add a configure option to specify the location (with existence and required version check). I will also avoid potential missing dependency from packaging.

### posophe commented Sep 8, 2015

 I agree too. And don't worry, I'll package it by basing it on Fedora's

### monsta added a commit to monsta/atril that referenced this issue Sep 10, 2015

 epub: drop embedded MathJax in favor of using distro-packaged one 
closes mate-desktop#158
 d2f1cf6 

Merged

Member

### monsta commented Sep 10, 2015

 Ok, there goes #160.

Member

### raveit65 commented Oct 14, 2015

 @monsta Do i have to include MathJax as runtime require in downstream package?
Member

### raveit65 commented Oct 14, 2015

 ok. i see it is already in debian control
Member

### monsta commented Oct 14, 2015

 Yes, runtime dep has to be there - in debian it's libjs-mathjax.