[gimp-web/testing] Bug 796212 - won't run on Win XP 32 bit.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Bug 796212 - won't run on Win XP 32 bit.
- Date: Fri, 18 May 2018 00:09:48 +0000 (UTC)
commit 80ce0eb955f2dce7b7360186e27311c1ae419ec6
Author: Jehan <jehan girinstud io>
Date: Fri May 18 02:06:11 2018 +0200
Bug 796212 - won't run on Win XP 32 bit.
Add the ability to add a "min-version" information in the GIMP_VERSIONS
file, per installer/package (for Windows and macOS).
If the info is present, the download page will display a minimum
"Supported OS" text.
Add our current minimum OS support for Windows, which is Windows 7.
GIMP_VERSIONS | 3 ++-
pelicanconf.local.py | 4 ++++
pelicanconf.py | 4 ++++
pelicanconf.testing.py | 4 ++++
themes/newgimp/templates/downloads.html | 11 +++++++++++
5 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/GIMP_VERSIONS b/GIMP_VERSIONS
index 6640113..5f42da0 100644
--- a/GIMP_VERSIONS
+++ b/GIMP_VERSIONS
@@ -15,7 +15,8 @@
"gimp-2.10.0-setup-2.exe": {
"sha512":
"a23f3e981ded25968ae6871660d99ae3b7d9cfa40de3a74efacfa48e4f392189180bfa8be1d55d50d8fa55f8c36a6e3613b3d07434508ddb5acba0a907e5a0a5",
"sha256": "ce28b8951318f4f3a54c7009dc783c13be8db90e074c0bb024635daa91b0bbe7",
- "md5": "7a8dd908073745ffb2816c3f0010466c"
+ "md5": "7a8dd908073745ffb2816c3f0010466c",
+ "min-support": "Windows 7"
},
"gimp-2.10.0-setup-1.exe": {
"sha512":
"cbe158f3f6b8341d8a74497d33fe65befab979b07aa5ab27e45f929bbe9e5d47da5d67c565a424d3d384c215d9348f1b5af09095f06e9c46d5afac126687f28f",
diff --git a/pelicanconf.local.py b/pelicanconf.local.py
index 66818a3..d084c18 100644
--- a/pelicanconf.local.py
+++ b/pelicanconf.local.py
@@ -175,6 +175,8 @@ if 'STABLE' in GIMP:
elif 'md5' in info['windows'].values()[0]:
WINDOWS_HASH_FUN = 'md5'
WINDOWS_HASH = info['windows'].values()[0][WINDOWS_HASH_FUN]
+ if 'min-support' in info['windows'].values()[0]:
+ WINDOWS_MIN_SUPPORT = info['windows'].values()[0]["min-support"]
if 'macos' in info:
try:
MACOS_FILE
@@ -189,6 +191,8 @@ if 'STABLE' in GIMP:
elif 'md5' in info['macos'].values()[0]:
MACOS_HASH_FUN = 'md5'
MACOS_HASH = info['macos'].values()[0][MACOS_HASH_FUN]
+ if 'min-support' in info['macos'].values()[0]:
+ MACOS_MIN_SUPPORT = info['macos'].values()[0]["min-support"]
else:
print 'STABLE not defined'
diff --git a/pelicanconf.py b/pelicanconf.py
index c2ba43b..71c88f8 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -162,6 +162,8 @@ if 'STABLE' in GIMP:
elif 'md5' in info['windows'].values()[0]:
WINDOWS_HASH_FUN = 'md5'
WINDOWS_HASH = info['windows'].values()[0][WINDOWS_HASH_FUN]
+ if 'min-support' in info['windows'].values()[0]:
+ WINDOWS_MIN_SUPPORT = info['windows'].values()[0]["min-support"]
if 'macos' in info:
try:
MACOS_FILE
@@ -176,6 +178,8 @@ if 'STABLE' in GIMP:
elif 'md5' in info['macos'].values()[0]:
MACOS_HASH_FUN = 'md5'
MACOS_HASH = info['macos'].values()[0][MACOS_HASH_FUN]
+ if 'min-support' in info['macos'].values()[0]:
+ MACOS_MIN_SUPPORT = info['macos'].values()[0]["min-support"]
else:
print 'STABLE not defined'
diff --git a/pelicanconf.testing.py b/pelicanconf.testing.py
index 04188e1..c1a7a24 100644
--- a/pelicanconf.testing.py
+++ b/pelicanconf.testing.py
@@ -162,6 +162,8 @@ if 'STABLE' in GIMP:
elif 'md5' in info['windows'].values()[0]:
WINDOWS_HASH_FUN = 'md5'
WINDOWS_HASH = info['windows'].values()[0][WINDOWS_HASH_FUN]
+ if 'min-support' in info['windows'].values()[0]:
+ WINDOWS_MIN_SUPPORT = info['windows'].values()[0]["min-support"]
if 'macos' in info:
try:
MACOS_FILE
@@ -176,6 +178,8 @@ if 'STABLE' in GIMP:
elif 'md5' in info['macos'].values()[0]:
MACOS_HASH_FUN = 'md5'
MACOS_HASH = info['macos'].values()[0][MACOS_HASH_FUN]
+ if 'min-support' in info['macos'].values()[0]:
+ MACOS_MIN_SUPPORT = info['macos'].values()[0]["min-support"]
else:
print 'STABLE not defined'
diff --git a/themes/newgimp/templates/downloads.html b/themes/newgimp/templates/downloads.html
index a23fe61..6609e9d 100644
--- a/themes/newgimp/templates/downloads.html
+++ b/themes/newgimp/templates/downloads.html
@@ -120,6 +120,12 @@
</p>
</small>
+ {% if MACOS_MIN_SUPPORT is defined %}
+ <p>
+ Supported OS: <strong>{{ MACOS_MIN_SUPPORT }}</strong> or over
+ </p>
+ {% endif %}
+
<p>Since the 2.8.2 version, GIMP runs on OSX natively. No X11 environment is required.</p>
<h3>Native build</h3>
@@ -227,6 +233,11 @@
</p>
</small>
+ {% if WINDOWS_MIN_SUPPORT is defined %}
+ <p>
+ Supported OS: <strong>{{ WINDOWS_MIN_SUPPORT }}</strong> or over
+ </p>
+ {% endif %}
<p>
These links download the official GIMP installer for Windows (~140-150 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]