* Package name : sigal Version : 1.3.0 Upstream Author : Simon Conseil <contact@saimon.org> * URL : http://sigal.saimon.org/ * License : Expat Programming Lang: Python Description : Simple Static Gallery Generator Sigal is yet another simple static gallery generator. It's written in Python and it allows to build a static gallery of images with the following features: * Process directories recursively. * Generate HTML pages using jinja2 templates. * Relative links for a portable output. * Support themes, videos, EXIF tags, zip download. * Parallel processing. * MIT licensed. The idea behind Sigal is to ease the use of the javascript libraries like galleria. These libraries do a great job to display the images, Sigal does what is missing: resize images, create thumbnails, generate HTML pages. == I am currently using Photofloat for my gallery, but I am thinking of switching. The upstream isn't very collaborative and I couldn't get our patches merged. Plus, the design of photofloat is an odd patchwork of various tools, whereas Sigal is a more unified Python program, with templating and so on. All dependencies are available in Debian. I'd be happy to comaintain it with others or maintain this under the Python team(s). At this point, this is a RFP because I'm not using Sigal yet, but once I start using it more regularly, I may end up packaging it myself, at which point I will retitle this to an ITP.
Details on the dependencies... Depends: * python3-markdown * python3-blinker * python3-click * python3-jinja2 * python3-pilkit * python3-pillow Recommends: * python3-feedgenerator (for RSS feed plugin) * cssmin (or python3-cssmin?, to compress the CSS files in themes) * python3-boto (to upload on s3) * ffmpeg (for video conversion) We may also want to ship a sigal-doc package. Otherwise, it works neatly on stretch, when installed with pip3, in my tests. a.
Another issue I found: the pip package ships a copy of jquery and jquery-colorbox (which are in debian) and a bunch more javascript libraries: galleria, photoswipe, jquery-touchSwipe and leaflet (which are not). Even worse, one theme ships with jquery 1.11.1 while the other ships with 2.2.1. The jquery version shipped with Debian stretch is version 3.1.1-2, for the record. All of that JS is of course minified as well, so copies of those libs will need to be included somehow: https://github.com/jquery/jquery/archive/2.2.1.tar.gz https://github.com/jquery/jquery/archive/1.11.1.tar.gz https://github.com/jackmoore/colorbox/archive/1.6.4.tar.gz https://github.com/worseisbetter/galleria/archive/1.4.2.tar.gz https://github.com/dimsemenov/PhotoSwipe/archive/v4.1.1.tar.gz https://github.com/mattbryson/TouchSwipe-Jquery-Plugin/archive/1.6.15.tar.gz https://github.com/Leaflet/Leaflet/archive/v0.7.3.tar.gz Note that *all* of those (except colorbox) are out of date, for what that's worth. I'm not sure this can be resolved cleanly without duplicating code copies... I sent this upstream to see what can be done: https://github.com/saimn/sigal/issues/200 a.
pillow is packaged as python3-pil. This was fixed upstream, see this comment for details: https://github.com/saimn/sigal/issues/200#issuecomment-370152691 That list is now: * galleria-1.5.7 (= latest: https://github.com/worseisbetter/galleria/releases) * jquery-3.3.1 (= latest: https://github.com/jquery/jquery/releases) * leaflet-0.7.3 (< 1.3.1: https://github.com/Leaflet/Leaflet/releases) * colorbox-1.6.4 (= latest: https://github.com/jackmoore/colorbox/releases) * jquery-2.2.1 (< 2.2.4: https://github.com/jquery/jquery/releases) * touchSwipe-1.6.18 (= latest: https://github.com/mattbryson/TouchSwipe-Jquery-Plugin/releases) * photoswipe 4.1.2 (= latest: https://github.com/dimsemenov/PhotoSwipe/releases) This issue remains, actually, because software like galleria and colorbox do not use the latest upstream versions and have conflicting versions with each other. But that's a packaging issue with those javascript libraries, not with Sigal itself. I'll open WNPP bugs for those three dependencies under the javascript team umbrella and we'll see where that goes.
Status update. I worked on this again, and pushed the results to salsa, which I seem to have forgotten to mention here: https://salsa.debian.org/python-team/packages/sigal/ I had to change the boto dep to boto3, since the former was removed from Debian. colorbox is now in debian! for now I vendor everything because I haven't figured out how to do the symlink dance. pollo showed me how it's done in supysonic, so that's good inspiration. he cleans the tarball by stripping the vendored files.. But even with the vendored files, build is failing because pybuild is trying to run the tests in its special way, and failing to copy the themes over. I tried to patch this to allow overriding the theme path through the environment, but so far not great. once that's fixed, next step is to unvendor colorbox, and possibly package the other javascript libs. a.
Seems like i am, as usual, taking the wrong approach. pybuild wizards use before/after hooks: https://salsa.debian.org/python-team/packages/py-macaroon-bakery/-/commit/e81e544e776fd853ca396655865a3a859c49a79c Also, the "basename always used" is considered a bug, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947800 a.