[Slackbuilds-users] for christmas.... i would like...

B Watson yalhcru at gmail.com
Mon Dec 25 19:51:07 UTC 2017


On 12/24/17, Fernando Lopez <fernando.lopezjr at gmail.com> wrote:
> how about we implement screenshots for every package in the slackbuilds
> site? :D

How about adding a standard way for a package maintainer to include a
link to a screenshot either in the .info file or with a standard filename
in the SlackBuild tarball?

Add a SCREENSHOT variable to the .info file? Any change to the .info
file format would require a lot of effort though. The standard seems to
be that all fields are required, even if empty, so someone would have
to add an empty SCREENSHOT to all 6000+ .info files.

Maybe instead, use a separate file: $PRGNAM.screenshot. If it exists,
it contains a URL to an image file. If it doesn't exist, no problem,
there's no screenshot for this build.

The SBo web server could read this & turn it into a link on the
description page, like it does with the source tarball... actually it
could be an inline (offsite) image so it would just appear there instead
of being a link that has to be clicked.

Another option would be to host the screenshots on the SBo web server, but
this would require a good bit of storage. There are about 6,600 builds,
assume the average screenshot size is 100K, so like 660MB of storage. By
modern standards, not so terribly much, but everyone viewing all those
screenshots would eat a ton of bandwidth the project might not be able
to afford.


More information about the SlackBuilds-users mailing list