Debian Bug report logs - #879239
ITP: sigal -- Simple Static Gallery Generator

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Antoine Beaupre <anarcat@debian.org>

Date: Fri, 20 Oct 2017 21:57:01 UTC

Owned by: anarcat@debian.org

Severity: wishlist

Fix blocked by 891975: RFP: galleria -- Responsive JavaScript Image Gallery, 891978: RFP: photoswipe -- JavaScript image gallery for mobile and desktop, modular, framework independent

Forwarded to https://github.com/saimn/sigal/issues/200

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org:
Bug#879239; Package wnpp. (Fri, 20 Oct 2017 21:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupre <anarcat@debian.org>:
New Bug report received and forwarded. Copy sent to debian-python@lists.debian.org, wnpp@debian.org. (Fri, 20 Oct 2017 21:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupre <anarcat@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: RFP: sigal -- Simple Static Gallery Generator
Date: Fri, 20 Oct 2017 17:54:30 -0400
Package: wnpp
Severity: wishlist

* 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.



Set Bug forwarded-to-address to 'https://github.com/saimn/sigal/issues/200'. Request was from Antoine Beaupré <anarcat@debian.org> to control@bugs.debian.org. (Fri, 20 Oct 2017 22:03:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#879239; Package wnpp. (Wed, 25 Oct 2017 19:21:09 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupré <anarcat@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 25 Oct 2017 19:21:09 GMT) (full text, mbox, link).


Message #12 received at 879239@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupré <anarcat@debian.org>
To: 879239@bugs.debian.org
Subject: Re: Bug#879239: Acknowledgement (RFP: sigal -- Simple Static Gallery Generator)
Date: Wed, 25 Oct 2017 15:00:29 -0400
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.

-- 
They say that time changes things, but you actually have to change
them yourself.           - Andy Warhol



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#879239; Package wnpp. (Wed, 25 Oct 2017 21:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupré <anarcat@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 25 Oct 2017 21:12:04 GMT) (full text, mbox, link).


Message #17 received at 879239@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupré <anarcat@debian.org>
To: 879239@bugs.debian.org
Subject: Re: Bug#879239: Acknowledgement (RFP: sigal -- Simple Static Gallery Generator)
Date: Wed, 25 Oct 2017 17:08:09 -0400
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.
-- 
Religion is like a blind man looking in a black room for a black cat
that isn't there, and finding it.
                         - Oscar Wilde



Added blocking bug(s) of 879239: 891975 Request was from Antoine Beaupré <anarcat@debian.org> to control@bugs.debian.org. (Sat, 03 Mar 2018 15:21:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#879239; Package wnpp. (Sat, 03 Mar 2018 15:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupré <anarcat@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Sat, 03 Mar 2018 15:24:03 GMT) (full text, mbox, link).


Message #24 received at 879239@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupré <anarcat@debian.org>
To: 879239@bugs.debian.org
Subject: Re: Bug#879239: Acknowledgement (RFP: sigal -- Simple Static Gallery Generator)
Date: Sat, 3 Mar 2018 10:20:45 -0500
On Wed, Oct 25, 2017 at 03:00:29PM -0400, Antoine Beaupré wrote:
> 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)

In case that wasn't clear: all those are present in Debian, although
pillow is packaged as python3-pil.

On Wed, Oct 25, 2017 at 05:08:09PM -0400, Antoine Beaupré wrote:
> 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.

This was fixed upstream, see this comment for details:

https://github.com/saimn/sigal/issues/200#issuecomment-370152691

> 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.

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)

> I'm not sure this can be resolved cleanly without duplicating code
> copies...

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.



Added blocking bug(s) of 879239: 891978 Request was from Antoine Beaupré <anarcat@debian.org> to control@bugs.debian.org. (Sat, 03 Mar 2018 15:27:03 GMT) (full text, mbox, link).


Added blocking bug(s) of 879239: 891977 Request was from Antoine Beaupré <anarcat@debian.org> to control@bugs.debian.org. (Sat, 03 Mar 2018 15:27:06 GMT) (full text, mbox, link).


Changed Bug title to 'ITP: sigal -- Simple Static Gallery Generator' from 'RFP: sigal -- Simple Static Gallery Generator'. Request was from Antoine Beaupré <anarcat@debian.org> to control@bugs.debian.org. (Mon, 22 Jan 2024 17:39:11 GMT) (full text, mbox, link).


Owner recorded as anarcat@debian.org. Request was from Antoine Beaupré <anarcat@debian.org> to control@bugs.debian.org. (Mon, 22 Jan 2024 17:39:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, anarcat@debian.org:
Bug#879239; Package wnpp. (Sat, 02 Nov 2024 21:36:01 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupré <anarcat@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, anarcat@debian.org. (Sat, 02 Nov 2024 21:36:01 GMT) (full text, mbox, link).


Message #37 received at 879239@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupré <anarcat@debian.org>
To: 879239@bugs.debian.org
Subject: Re: Bug#879239: Acknowledgement (RFP: sigal -- Simple Static Gallery Generator)
Date: Sat, 02 Nov 2024 17:32:48 -0400
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.
-- 
Be conservative in what you send and liberal in what you accept.
                        - John Postel



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, anarcat@debian.org:
Bug#879239; Package wnpp. (Mon, 04 Nov 2024 00:21:01 GMT) (full text, mbox, link).


Acknowledgement sent to Antoine Beaupré <anarcat@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, anarcat@debian.org. (Mon, 04 Nov 2024 00:21:01 GMT) (full text, mbox, link).


Message #42 received at 879239@bugs.debian.org (full text, mbox, reply):

From: Antoine Beaupré <anarcat@debian.org>
To: 879239@bugs.debian.org, 879239@bugs.debian.org
Subject: Re: Bug#879239: Acknowledgement (RFP: sigal -- Simple Static Gallery Generator)
Date: Sun, 03 Nov 2024 19:18:07 -0500
On 2024-11-02 17:32:48, Antoine Beaupré wrote:
> 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.

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.
-- 
The destiny of Earthseed is to take root among the stars.
                        - Octavia Butler



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Nov 22 00:20:02 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.