[gimp-web] New automatically generated Windows installers from CI.



commit 75fa7f68cca5b42e89a2bb44b2a29e96847fbe12
Author: Jehan <jehan girinstud io>
Date:   Mon May 17 22:14:20 2021 +0200

    New automatically generated Windows installers from CI.

 pelicanconf_common.py                              |  3 +++
 .../newgimp/templates/downloads-development.html   | 25 ++++++++--------------
 2 files changed, 12 insertions(+), 16 deletions(-)
---
diff --git a/pelicanconf_common.py b/pelicanconf_common.py
index 60f72ba4..76d45984 100644
--- a/pelicanconf_common.py
+++ b/pelicanconf_common.py
@@ -280,6 +280,9 @@ else:
 if 'DEVELOPMENT' in GIMP:
     # development version
     GIMP_VERSION_DEVELOPMENT = GIMP['DEVELOPMENT'][0]['version']
+    GIMP_MAJOR_MINOR_VERSION_DEV = GIMP_VERSION_DEVELOPMENT[:GIMP_VERSION.rindex('.')]
+    GIMP_MICRO_VERSION_DEV = GIMP_VERSION_DEVELOPMENT[GIMP_VERSION.rindex('.') + 1:]
+    GIMP_VERSION_NIGHTLY = '{}.{}'.format(GIMP_MAJOR_MINOR_VERSION_DEV, int(GIMP_MICRO_VERSION_DEV) + 1)
     for info in GIMP['DEVELOPMENT'] :
         version = info['version']
         if 'date' in info:
diff --git a/themes/newgimp/templates/downloads-development.html 
b/themes/newgimp/templates/downloads-development.html
index 4ee35070..9a352cf9 100644
--- a/themes/newgimp/templates/downloads-development.html
+++ b/themes/newgimp/templates/downloads-development.html
@@ -312,6 +312,7 @@
       <a href="https://www.virustotal.com/#/file/{{ WINDOWS_HASH_DEVELOPMENT }}/detection">{{ 
WINDOWS_FILE_DEVELOPMENT }}</a>
     </p>
 
+    {% if GIMP_VERSION_NIGHTLY is defined %}
     <h3>Automatic development builds</h3>
     <p>
         Automatic builds (sometimes called "nightlies") are generated at
@@ -325,27 +326,19 @@
     </p>
     <ul>
       <li><a
-      href="https://gitlab.gnome.org/GNOME/gimp/-/jobs/artifacts/master/download?job=win64-nightly";>Last
-      development build of GIMP for Windows 64-bit</a></li>
-      <li><a
-      href="https://gitlab.gnome.org/GNOME/gimp/-/jobs/artifacts/master/download?job=win32-nightly";>Last
-      development build of GIMP for Windows 32-bit</a></li>
+      
href="https://gitlab.gnome.org/GNOME/gimp/-/jobs/artifacts/master/raw/build/windows/installer/_Output/gimp-{{ 
GIMP_VERSION_NIGHTLY }}-setup.exe?job=win-installer-nightly">
+      Last nightly installer</a></li>
     </ul>
     <dl>
-      <dt>Note 1<dt>
-      <dd><em>
-        These builds are not provided with a fancy installer nor any
-        desktop integration (i.e. no shortcuts in menus, etc.). Just
-        unzip the archive, and double-click gimp.cmd or gimp-2.99.exe
-        files.
-      </em></dd>
-      <dt>Note 2<dt>
+      <dt>Note<dt>
       <dd><em>
-        There are still a few known issues such as missing GObject
-        Introspection, i.e. that the Python 3/Javascript/Lua/Vala
-        plug-ins won’t work with this build (yet).
+        Additionally to the code being experimental, these automated
+        installers themselves are an experimental convenience and are
+        therefore known not to be as complete yet as the officially
+        released installer.
       </em></dd>
     </dl>
+    {% endif %}
 
     <h3>Older Downloads</h3>
     <p>


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