[gimp-web] pelicanconf, themes: show OS requirement for Windows downloads.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web] pelicanconf, themes: show OS requirement for Windows downloads.
- Date: Sun, 5 Dec 2021 16:10:44 +0000 (UTC)
commit 4a1c07742f377b82b62328ccd1fda643cc032554
Author: Jehan <jehan girinstud io>
Date: Sun Dec 5 17:02:20 2021 +0100
pelicanconf, themes: show OS requirement for Windows downloads.
It seems this info disappeared from our download page (probably in one
of the recent cleanups). Add it back. Also add discovery of OS
requirement for Win dev version in pelicanconf, and organize additional
info in "Warnings and information" section there too.
Small rewording of intro text of dev download (removing a repeated
"Please").
pelicanconf_common.py | 2 ++
.../newgimp/templates/downloads-development.html | 35 ++++++++++++++--------
themes/newgimp/templates/downloads.html | 3 ++
3 files changed, 28 insertions(+), 12 deletions(-)
---
diff --git a/pelicanconf_common.py b/pelicanconf_common.py
index 936a0e7e..cd2a9cc1 100644
--- a/pelicanconf_common.py
+++ b/pelicanconf_common.py
@@ -372,6 +372,8 @@ if 'DEVELOPMENT' in GIMP:
elif 'md5' in info['windows'][0]:
WINDOWS_HASH_FUN_DEVELOPMENT = 'md5'
WINDOWS_HASH_DEVELOPMENT = info['windows'][0][WINDOWS_HASH_FUN_DEVELOPMENT]
+ if 'min-support' in info['windows'][0]:
+ WINDOWS_MIN_SUPPORT_DEVELOPMENT = info['windows'][0]["min-support"]
if 'comment' in info['windows'][0]:
WINDOWS_COMMENT_DEVELOPMENT = info['windows'][0]["comment"]
if 'date' in info['windows'][0]:
diff --git a/themes/newgimp/templates/downloads-development.html
b/themes/newgimp/templates/downloads-development.html
index 4ffc7276..6b9229fa 100644
--- a/themes/newgimp/templates/downloads-development.html
+++ b/themes/newgimp/templates/downloads-development.html
@@ -19,8 +19,8 @@
<h2>Please Note</h2>
<p class='tRed'>This is the download page for <strong>the development version of GIMP</strong>.</p>
<p>That means these builds are a work-in-progress.
- Please proceed with caution because <em>they may be unstable</em>.
- If a crash does occur, please <a href='/bugs/' title='GIMP Bugs'>report it</a>!</p>
+ Proceed with caution because <em>they may be unstable</em>.
+ If a crash does occur, please <a href='/bugs/' title='GIMP Bugs'>report it</a>!</p>
{% if GIMP_VERSION is defined %}
<p>If you're looking for the stable GIMP {{ GIMP_VERSION }} release instead, you can find it on our <a
href="/downloads/">downloads page</a>.</p>
@@ -315,16 +315,27 @@
</p>
</small>
- <p>
- These links download the official development GIMP installer for Windows (~100MB).
- The installer contains the 64-bit version of GIMP.
- </p>
-
- <p>
- BitTorrent is a peer-to-peer file sharing system. It works by downloading GIMP from a distributed
network of BitTorrent users, and may improve download speed dramatically.
- Choosing this option will download the torrent file for the GIMP installer.
- You may need to install a torrent client to make use of this file. <a
href="//en.wikipedia.org/wiki/BitTorrent" title="BitTorrent on Wikipedia">Learn more...</a>
- </p>
+ <h3>Warnings and information</h3>
+ <ul>
+ {% if WINDOWS_MIN_SUPPORT_DEVELOPMENT is defined %}
+ <li><p>Supported OS: <strong>{{ WINDOWS_MIN_SUPPORT_DEVELOPMENT }}</strong> or over</p></li>
+ {% endif %}
+ <li>
+ These links download an experimental GIMP installer for Windows (~200 MB).
+ The installer contains both 32-bit and 64-bit versions of GIMP, and will automatically use the
appropriate one.
+ </li>
+ <li>
+ BitTorrent is a peer-to-peer file sharing system. It works by downloading GIMP from a distributed
network of BitTorrent users, and may improve download speed dramatically.
+ Choosing this option will download the torrent file for the GIMP installer.
+ You may need to install a torrent client to make use of this file. <a
href="//en.wikipedia.org/wiki/BitTorrent" title="BitTorrent on Wikipedia">Learn more...</a>
+ </li>
+ <li>
+ <strong>!IMPORTANT! ⚠️ Microsoft Store:</strong> GIMP team does
+ not provide any downloads using Microsoft Store at the moment.
+ Any downloads on the store are created by third party and is not
+ in anyway connected to the GIMP team.
+ </li>
+ </ul>
<h3>Hash Sum</h3>
<p>
diff --git a/themes/newgimp/templates/downloads.html b/themes/newgimp/templates/downloads.html
index adced4bf..1b713dff 100644
--- a/themes/newgimp/templates/downloads.html
+++ b/themes/newgimp/templates/downloads.html
@@ -342,6 +342,9 @@
<h3>Warnings and information</h3>
<ul>
+ {% if WINDOWS_MIN_SUPPORT is defined %}
+ <li><p>Supported OS: <strong>{{ WINDOWS_MIN_SUPPORT }}</strong> or over</p></li>
+ {% endif %}
<li>
These links download the official GIMP installer for Windows (~200 MB).
The installer contains both 32-bit and 64-bit versions of GIMP, and will automatically use the
appropriate one.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]