[gimp-web] pelicanconf, themes: add updated info about OS requirement for dev DMG.



commit 0947ba02e9429ad34a784e3088a383ddefd2d146
Author: Jehan <jehan girinstud io>
Date:   Sat Dec 4 21:15:39 2021 +0100

    pelicanconf, themes: add updated info about OS requirement for dev DMG.

 pelicanconf_common.py                               |  8 ++++++++
 themes/newgimp/templates/downloads-development.html | 17 +++++++++++++++--
 2 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/pelicanconf_common.py b/pelicanconf_common.py
index 1d593500..936a0e7e 100644
--- a/pelicanconf_common.py
+++ b/pelicanconf_common.py
@@ -391,6 +391,14 @@ if 'DEVELOPMENT' in GIMP:
                 elif 'md5' in info['macos'][0]:
                     MACOS_HASH_FUN_DEVELOPMENT = 'md5'
                 MACOS_HASH_DEVELOPMENT = info['macos'][0][MACOS_HASH_FUN_DEVELOPMENT]
+                if 'min-support' in info['macos'][0]:
+                    MACOS_MIN_SUPPORT_DEVELOPMENT = info['macos'][0]["min-support"]
+                if 'comment' in info['macos'][0]:
+                    MACOS_COMMENT_DEVELOPMENT = info['macos'][0]["comment"]
+                if 'date' in info['macos'][0]:
+                    MACOS_DATE_DEVELOPMENT = info['macos'][0]["date"]
+                if 'revision' in info['macos'][0]:
+                    MACOS_REVISION_DEVELOPMENT = info['macos'][0]["revision"]
         if 'flatpak' in info:
             try:
                 FLATPAK_FILE_DEVELOPMENT
diff --git a/themes/newgimp/templates/downloads-development.html 
b/themes/newgimp/templates/downloads-development.html
index e3df3a4b..4ffc7276 100644
--- a/themes/newgimp/templates/downloads-development.html
+++ b/themes/newgimp/templates/downloads-development.html
@@ -231,11 +231,24 @@
             </p>
         </small>
 
-        <p>Since the 2.8.2 version, GIMP runs on macOS/OSX natively. No X11 environment is required.</p>
+        <h3>Warnings and information</h3>
+        <ul>
+          {% if MACOS_MIN_SUPPORT_DEVELOPMENT is defined %}
+          <li><p>Supported OS: <strong>{{ MACOS_MIN_SUPPORT_DEVELOPMENT }}</strong> or over</p></li>
+          {% endif %}
+          <li>
+            <strong>!IMPORTANT! ⚠️ App Store:</strong> GIMP team does not
+            provide any downloads using Apple's App 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>
+          <li><p>Since version 2.8.2, GIMP runs on macOS/OSX natively. No X11
+          environment is required.</p></li>
+        </ul>
 
         <h3>Native build</h3>
 
-        <p>The official GIMP {{ MACOS_VER_DEVELOPMENT }} DMG installer (linked above) is a stock GIMP build 
without any add-ons. It works on OS X 10.6 Snow Leopard and later. Just open the downloaded DMG and drag and 
drop GIMP into your "Applications" folder.</p>
+        <p>The official GIMP {{ MACOS_VER_DEVELOPMENT }} DMG installer (linked above) is a stock GIMP build 
without any add-ons. Just open the downloaded DMG and drag and drop GIMP into your "Applications" folder.</p>
 
         <p>
             The {{ MACOS_HASH_FUN_DEVELOPMENT.upper() }} hash sum for <code>{{ MACOS_FILE_DEVELOPMENT 
}}</code> is:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]