On Sat, Oct 11, 2014 at 01:29:56PM +0200, W. Martin Borgert wrote:
> On 2014-10-11 02:52, Matija Nalis wrote:
> > Wow, thanks for quick work!
> You need to thank the FTP masters!

Well, then I thank them too!

> > extlib/tinymce/js/tinymce/tinymce.min.js
> 
> I assume, that this could be left out during installation and
> you can depend on either:
> 
> python-django-tinymce - replacement text widget for Django web framework
> tinymce - platform independent web based Javascript/HTML WYSIWYG editor

Yes, it could depend on tinymce. However, Debian packages tinymce
3.4.8, and mediagoblin uses tinymce 4.0.2 which is a problem because:
- they use different directory structure / filenames (could be worked around 
with symlinks)
- they use quite different API

Also, in upstream mediagoblin 0.7.1 tinyMCE is used only in default
(airy) theme in file
mediagoblin/themes/airy/templates/mediagoblin/extra_head.html, 
but due to the (simple) bug does not work...

The possible solutions I see:

1) package tinymce4 for debian, make mediagoblin recommend it, and fix
   simple 0.7.1 bug (wrong CSS selector used).  Problem with this
   solution is that packaging new major tinymce is much work (and we
   don't have much time for getting mediagoblin in jessie)

2) modify mediagoblin to depend on tinymce 3.4.8 currently in debian
   (and fix mediagoblin tinyMCE selector bug in the process).  Much
   less work, but tinyMCE3 and 4 look different...

3) modify mediagoblin default airy theme to not use tinyMCE at all (as
   it doesn't work in stock 0.7.1 anyway), and then revisit problem
   later when upstream fixes that. It's as simple as deleting
   both <script> blocks from extra_head.html.

4) just leave it as it is, it will behave like stock 0.7.1 (i.e.
   tinymce not working), but will leave 404s in the logs. But as we
   don't need to do *any* work, it is the simplest solution.

5) use the included copy of tinymce4 (and fix the selector bug).
   IIRC Debian policy is not happy with this solution, so it should
   probably be avoided.

My order of (descending) preference is 3,4,2,1,5. 
What do you think should best be done?

> > fonts/Lato-Regular.ttf
> Maybe this is already packaged?
> fonts-lato - sans-serif typeface family font

Yes, sorry for the noise, that was my bad (didn't notice I didn't
have all recommended packages installed).  Mediagoblin does indeed
recommend fonts-lato, and has symlinks setup correctly so it works OK.

Martin: what do you think would be needed to get mediagoblin pushed
into debian NEW queue so it would make it to stable Jessie?  
I'm willing to do extra work helping making this happen if Simon 
is short on time. Would you help with DD / sponsoring part 
(or whatever is correct procedure)?

Thanks,
Matija

-- 
Opinions above are GNU-copylefted.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to