[gimp-web/downloads-templated: 1/2] Fix download page to use its own template
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/downloads-templated: 1/2] Fix download page to use its own template
- Date: Wed, 20 Jul 2016 18:16:50 +0000 (UTC)
commit 3705713df0c1ad1e572a1a125c66322802fd119a
Author: Pat David <patdavid gmail com>
Date: Tue Jul 19 16:00:27 2016 -0500
Fix download page to use its own template
The /downloads/ page now uses a custom template just for it
located at /themes/newgimp/tempates/downloads.html
This lets us use pelican variables on the page.
The variables can be located in pelicanconf.py or in the
/downloads/index.md file. THey are handled different depending
on where they are declared (see the downloads.html template).
content/downloads/index.md | 376 +-------------------------
themes/newgimp/templates/downloads.html | 463 +++++++++++++++++++++++++++++++
themes/newgimp/templates/page.html | 4 +-
3 files changed, 471 insertions(+), 372 deletions(-)
---
diff --git a/content/downloads/index.md b/content/downloads/index.md
index a24eace..59189df 100644
--- a/content/downloads/index.md
+++ b/content/downloads/index.md
@@ -1,374 +1,8 @@
Title: Downloads
Date: 2015-08-14T14:18:56-05:00
Author: Pat David
-
-
-<figure>
-<img src="downloadsplash-aryeom.jpg" alt="Download Splash Image courtesy of Areyom" />
-</figure>
-
-## Current Stable Version
-The current stable release of GIMP is **2.8.18** (2016-07-14).
-
-<div class="OSTEST" markdown="1">
-We think your OS is
-<span id="pOSTEST">
-Well, we don't actually know.
-Either Javascript is disabled, or I am not working quite right...
-So I am showing you all the options.
-</span>
-
-<p id='others'>
-Show downloads for
-<span class="show_links" id='os_linux'>GNU/Linux</span> |
-<span class="show_links" id='os_mac'>OS X</span> |
-<span class="show_links" id='os_win'>Microsoft Windows</span> |
-<span class="show_links" id='os_all'>All</span>
-</p>
-
-</div>
-
-<div id='linux' class="os linux" markdown='1'>
-## GIMP for Unix-like systems
-
-It's very likely your Unix-like system such as a GNU/Linux distribution already comes with a GIMP package.
It is a preferred method of installing GIMP, as the distribution maintainers take care of all the
dependencies and bug fix updates. Please note that many distros decide to pin a specific version of GIMP to
their releases.
-
-GIMP can also run on Solaris and is available for the BSD family of systems such as FreeBSD and OpenBSD.
-
-Please refer to the documentation for your Unix-like system on the installation of software.
-
-</div>
-
-
-<div id='mac' class="os mac" markdown="1">
-## GIMP for Mac OS X
-
-<span class='win-button' id='osx-torrent'>
-<a href="//download.gimp.org/pub/gimp/v2.8/osx/gimp-2.8.16-x86_64-1.dmg.torrent">
- Download GIMP 2.8.16<br/>
- via BitTorrent
-</a>
-</span>
-<span class='win-button'>
-<a href="//download.gimp.org/mirror/pub/gimp/v2.8/osx/gimp-2.8.16-x86_64-1.dmg">
- Download GIMP 2.8.16<br/>
- directly
-</a>
-</span>
-
-<small markdown=1>
-The download links above will attempt to download GIMP from one of our trusted mirror servers.
-If the mirrors do not work or you would rather download directly from our server, you can get the [direct
download here][osx direct].
-</small>
-
-[osx direct]: //download.gimp.org/pub/gimp/v2.8/osx/
-
-
-Since the 2.8.2 version, GIMP runs on OSX natively. No X11 environment is required.
-
-### Native build
-
-The official GIMP 2.8 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.
-
-The MD5 hash sum for `gimp-2.8.16-x86_64-1.dmg` is:
-<kbd>07e8116127081bd1e74095d23ab1d174</kbd>.
-
-
-
-### Older Downloads
-Previous installers for OSX can be found here:
[download.gimp.org](//download.gimp.org/mirror/pub/gimp/v2.8/osx/).
-
-
-
-### Macports
-A (easy?) way to compile and install GIMP and other great [Free
software](http://www.gnu.org/philosophy/free-sw.html) on your Mac is by using
[Macports](http://www.macports.org/). The installer allows you to choose from a large directory of packages.
To install gimp using Macports, you simply do `sudo port install gimp` once you have Macports installed.
-
-Disclaimer: we have not investigated if it's feasible to build GIMP 2.8 from Macports. The [GIMP port
file](https://trac.macports.org/browser/trunk/dports/graphics/gimp/Portfile) mentions 2.8.10, and appears to
be maintained, however.
-
-* [Download Macports](http://macports.org/)
-
-
-
-### Homebrew
-Homebrew is similar to Macports and provides packages (aka formulas) to install, either by compiling them
from source or by using pre-made binaries. While there appears to be no formula for GIMP itself, there are
reports that all dependencies are available. This may help to build GIMP from source.
-
-* [Download Homebrew](http://brew.sh/)
-
-
-
-### Fink
-Fink is a package repository that offer mostly precompiled binaries. It provides the apt-get command known
to e.g. Debian and Ubuntu users, and installing GIMP is as easy as `sudo apt-get install gimp` once you have
installed the [Fink installer](http://www.finkproject.org/download/index.php).
-If there's no binary package, then `fink install gimp` will compile GIMP from source.
-
-Disclaimer: we haven't been able to determine if it is possible to install or build GIMP 2.8 from Fink. GIMP
2.6.12 appears to be the most recent [GIMP package](http://pdb.finkproject.org/pdb/browse.php?summary=gimp)
that is [offered there](http://pdb.finkproject.org/pdb/package.php/gimp2).
-
-* [Download Fink](http://www.finkproject.org/)
-
-</div>
-
-
-
-<div id='win' class="os win" markdown="1">
-## GIMP for Windows
-
-<span class='win-button' id='win-torrent'>
-<a href="//download.gimp.org/pub/gimp/v2.8/windows/gimp-2.8.18-setup.exe.torrent" title="Download GIMP via
BitTorrent" id="win-torrent-link">
- Download GIMP 2.8.18<br/>
- via BitTorrent
-</a>
-</span>
-<span class='win-button'>
-<a href="//download.gimp.org/mirror/pub/gimp/v2.8/windows/gimp-2.8.18-setup.exe" title="Download GIMP via
HTTP" id='win-download-link' >
- Download GIMP 2.8.18<br/>
- directly
-</a>
-</span>
-
-<small markdown=1>
-The download links above will attempt to download GIMP from one of our trusted mirror servers.
-If the mirrors do not work or you would rather download directly from our server, you can get the [direct
download here][win direct].
-</small>
-
-[win direct]: //download.gimp.org/pub/gimp/v2.8/windows/
-
-These links download the official GIMP installer for Windows (~100MB).
-The installer contains both 32-bit and 64-bit versions of GIMP, and will automatically use the appropriate
one.
-
-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>
-
-### MD5 Hash Sum
-The MD5 hash sum for `gimp-2.8.18-setup.exe` is: <kbd>510bb11abc72443f431226523fa21b6f</kbd>.
-
-### Older Downloads
-Previous installers for Windows can be found here:
[download.gimp.org](//download.gimp.org/mirror/pub/gimp/v2.8/windows/).
-
-### GIMP User Manual
-
-* [Chinese
Simplified](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-zh_CN-setup.exe)
(24.3 MB)
-* [Catalan](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-ca-setup.exe)
(24.2 MB)
-* [Danish](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-da-setup.exe)
(24.2 MB)
-* [Dutch](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-nl-setup.exe) (24.3
MB)
-* [English](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-en-setup.exe)
(24.2 MB)
-* [English (United
Kingdom)](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-en_GB-setup.exe) (24.2
MB)
-* [French](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-fr-setup.exe)
(25.7 MB)
-* [German](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-de-setup.exe)
(28.0 MB)
-* [Greek](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-el-setup.exe) (24.0
MB)
-* [Italian](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-it-setup.exe)
(30.2 MB)
-* [Japanese](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-ja-setup.exe)
(23.6 MB)
-* [Korean](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-ko-setup.exe)
(24.9 MB)
-* [Norwegian
Nynorsk](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-nn-setup.exe) (20.9 MB)
-* [Russian](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-ru-setup.exe)
(24.9 MB)
-* [Slovenian](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-sl-setup.exe)
(24.3 MB)
-* [Spanish](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-es-setup.exe)
(24.9 MB)
-* [Swedish](//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-sv-setup.exe)
(24.7 MB)
-</div>
-
----
-
-<div id='source' markdown="1">
-## Source for version 2.8 (Stable)
-
-GIMP releases available from gimp.org and its [mirrors](#mirrors) contain the source code and have to be
compiled in order to be installed on your system.
-
-For instructions, how to build GIMP from source code, please see [this page](/source/).
-
-GIMP 2.8.16 is now available at
[http://download.gimp.org/mirror/pub/gimp/v2.8/](//download.gimp.org/mirror/pub/gimp/v2.8/). You may want to
read the [Release Notes for GIMP 2.8](/release-notes/gimp-2.8.html).
-
-To allow you to check the integrity of the tarballs, here are the MD5 sums of the latest releases:
-
-**gimp-2.8.18.tar.bz2**
-<kbd>5adaa11a68bc8a42bb2c778fee4d389c</kbd>
-
-**gimp-2.8.16.tar.bz2**
-<kbd>30e0a1b7c18b0e3415f4ac54567252ac</kbd>
-
-**gimp-2.8.14.tar.bz2**
-<kbd>233c948203383fa078434cc3f8f925cb</kbd>
-
-**gimp-2.8.12.tar.bz2**
-<kbd>47fefa240c38cfb1016b57ad6324378d</kbd>
-
-**gimp-2.8.10.tar.bz2**
-<kbd>84c964aab7044489af69f7319bb59b47</kbd>
-
-**gimp-2.8.8.tar.bz2**
-<kbd>ef2547c3514a1096931637bd6250635a</kbd>
-
-**gimp-2.8.6.tar.bz2**
-<kbd>12b3fdf33d1f07ae79b412a9e38b9693</kbd>
-
-**gimp-2.8.4.tar.bz2**
-<kbd>392592e8755d046317878d226145900f</kbd>
-
-**gimp-2.8.2.tar.bz2**
-<kbd>b542138820ca3a41cbd63fc331907955</kbd>
-
-**gimp-2.8.0.tar.bz2**
-<kbd>28997d14055f15db063eb92e1c8a7ebb</kbd>
-
-
-GIMP help files are available at
[http://download.gimp.org/mirror/pub/gimp/help/](//download.gimp.org/mirror/pub/gimp/help/).
-
-Please consider using one of the mirrors listed below.
-
-## Development snapshots
-
-The current development branch is GIMP 2.9 and will finally lead to the next stable GIMP release 2.10.
-
-For instructions, how to build GIMP from source code, please see [this page](/source/).
-
-Nightly builds for Windows are available at [darkrefraction.com](http://nightly.darkrefraction.com/gimp/).
This is unstable software, please use it at your own risk.
-
-A detailed list of changes in the development branch is available in
[git](https://git.gnome.org/cgit/gimp/plain/NEWS).
-
-GIMP 2.9.4 is now available at
[http://download.gimp.org/mirror/pub/gimp/v2.9/](//download.gimp.org/mirror/pub/gimp/v2.9/).
-
-To allow you to check the integrity of the tarballs, here are the MD5 sums of the latest development
snapshots:
-
-**gimp-2.9.4.tar.bz2**
-<kbd>6b3d425a7949110eeb532badedf721f3</kbd>
-
-**gimp-2.9.2.tar.bz2**
-<kbd>aa8a846a497e3328c5b7d2fd33f5cf63</kbd>
-
-</div>
-
-<div id='mirrors' markdown="1">
-## FTP and Web Mirrors
-
-We had a server move a while back that caused us to lose our existing mirrors (moved from physical to
virtual server and to an environment that doesn't allow FTP access).
-On the plus side, we are now able to offer rsync access to download.gimp.org.
-
-If you are running one of the existing GIMP mirrors, or want to create a new one, please [contact
us](/webmasters.html) to get your rsync credentials.
-
-<!-- MIRRORS -->
-
-</div>
-
-
-<script src="/js/platform.js"></script>
-
-<script>
-
-if ( platform.os.family.indexOf('Win') !== -1 && platform.os.family.indexOf('Phone') == -1 ){
- // Windows, _not_ Phone
- document.getElementById('win').style.display = 'block';
- document.getElementById('mac').style.display = 'none';
- document.getElementById('linux').style.display = 'none';
- document.getElementById('pOSTEST').innerHTML = 'Microsoft Windows.';
-}else if ( platform.os.family.indexOf('OS X') !== -1 ){
- // OS X
- document.getElementById('win').style.display = 'none';
- document.getElementById('mac').style.display = 'block';
- document.getElementById('linux').style.display = 'none';
- document.getElementById('pOSTEST').innerHTML = 'OS X.';
-}else if ( platform.os.family.indexOf('iOS') !== -1 || platform.os.family.indexOf('Android') !== -1 ){
- // iOS or Android
- document.getElementById('pOSTEST').innerHTML = platform.os.family + '.';
- var nope = "<br/><strong>This platform is not currently supported.</strong>";
- document.getElementById('pOSTEST').innerHTML += nope;
- document.getElementById('win').style.display = 'none';
- document.getElementById('mac').style.display = 'none';
- document.getElementById('linux').style.display = 'none';
-}else {
- // Everything else (assuming *nix-type)
- document.getElementById('pOSTEST').innerHTML = platform.os.family + '.';
- document.getElementById('win').style.display = 'none';
- document.getElementById('mac').style.display = 'none';
- document.getElementById('linux').style.display = 'block';
-}
-
-function render( os ){
- switch( this.id ) {
- case 'os_linux':
- document.getElementById('linux').style.display = 'block';
- document.getElementById('win').style.display = 'none';
- document.getElementById('mac').style.display = 'none';
- break;
- case 'os_win':
- document.getElementById('linux').style.display = 'none';
- document.getElementById('win').style.display = 'block';
- document.getElementById('mac').style.display = 'none';
- break;
- case 'os_mac':
- document.getElementById('linux').style.display = 'none';
- document.getElementById('win').style.display = 'none';
- document.getElementById('mac').style.display = 'block';
- break;
- default:
- document.getElementById('linux').style.display = 'block';
- document.getElementById('win').style.display = 'block';
- document.getElementById('mac').style.display = 'block';
- break;
- }
- return false;
-}
-
-document.getElementById('os_all').addEventListener("click", render );
-document.getElementById('os_linux').addEventListener("click", render );
-document.getElementById('os_win').addEventListener("click", render );
-document.getElementById('os_mac').addEventListener("click", render );
-</script>
-
-<style>
-table {
- max-width: 35rem;
- margin: 1rem auto;
-}
-td, th {
- padding: 0 1rem;
-}
-
-.download-mirrors{
- word-wrap: break-word;
-}
-
-@media ( max-width: 40rem ){
- .download-mirrors dd {
- margin-left: 0.5rem;
- }
-}
-
-.os {
- display: block;
-}
-
-#pOSTEST {
- font-style: italic;
-}
-
-.show_links {
- color: #497bad;
- cursor: pointer;
-}
-
-.win-button {
- display: inline-block;
- border: solid 1px #666;
- background-color: #f57900;
- margin: 0.5rem 0;
- border-radius: 10px;
- box-shadow: 1px 1px 2px;
- text-align: center;
- font-family: Questrial;
- font-weight: 400;
- width: 49%;
-}
-
-#win-torrent, #osx-torrent {
- background-color: #008080;
-}
-
-.win-button a {
- color: white;
- font-weight: bold;
- display: inline-block;
- padding: 1rem;
-}
-
-.mirrors {
- display: none;
-}
-</style>
+Template: downloads
+GIMP_VERSION_STABLE_MACOS: 2.8.16
+GIMP_VERSION_STABLE_WINDOWS: 2.8.18
+GIMP_VERSION_STABLE_POSTFIX_MACOS: -1
+GIMP_VERSION_STABLE_POSTFIX_WINDOWS:
diff --git a/themes/newgimp/templates/downloads.html b/themes/newgimp/templates/downloads.html
new file mode 100644
index 0000000..cdf6bf6
--- /dev/null
+++ b/themes/newgimp/templates/downloads.html
@@ -0,0 +1,463 @@
+{% extends "page.html" %}
+
+{#
+ Variables in the .md frontmatter like:
+ GIMP_VERSION_STABLE_MACOS: 2.8.16
+ can be access in this template as page variables:
+ {{ page.gimp_version_stable_macos }}
+
+ Variables in the pelicanconf.py files can be
+ accessed in the usual way:
+ {{ GIMP_VERSION }}
+#}
+
+
+{% block data %}
+
+ <figure>
+ <img src="downloadsplash-aryeom.jpg" alt="Download Splash Image courtesy of Areyom" />
+ </figure>
+
+ <h2>Current Stable Version</h2>
+ <p>The current stable release of GIMP is <b>{{ GIMP_VERSION }}</b> (2016-07-14).</p>
+
+ <div class="OSTEST">
+ <p>
+ We think your OS is
+ <span id="pOSTEST">
+ Well, we don't actually know.
+ Either Javascript is disabled, or I am not working quite right...
+ So I am showing you all the options.
+ </span>
+ </p>
+
+ <p id='others'>
+ Show downloads for
+ <span class="show_links" id='os_linux'>GNU/Linux</span> |
+ <span class="show_links" id='os_mac'>OS X</span> |
+ <span class="show_links" id='os_win'>Microsoft Windows</span> |
+ <span class="show_links" id='os_all'>All</span>
+ </p>
+
+ </div>
+
+ <div id='linux' class="os linux" markdown='1'>
+ <h2>GIMP for Unix-like systems</h2>
+
+ <p>It's very likely your Unix-like system such as a GNU/Linux distribution already comes with a GIMP
package. It is a preferred method of installing GIMP, as the distribution maintainers take care of all the
dependencies and bug fix updates. Please note that many distros decide to pin a specific version of GIMP to
their releases.</p>
+
+ <p>
+ GIMP can also run on Solaris and is available for the BSD family of systems such as FreeBSD and
OpenBSD.
+ </p>
+
+ <p>
+ Please refer to the documentation for your Unix-like system on the installation of software.
+ </p>
+
+ </div>
+
+
+ <div id='mac' class="os mac" markdown="1">
+ <h2>GIMP for Mac OS X</h2>
+
+ <p>
+ <span class='win-button' id='osx-torrent'>
+ <a href="//download.gimp.org/pub/gimp/v2.8/osx/gimp-{{ page.gimp_version_stable_macos
}}-x86_64{{ page.gimp_version_stable_postfix_macos }}.dmg.torrent">
+ Download GIMP {{ page.gimp_version_stable_macos }}<br/>
+ via BitTorrent
+ </a>
+ </span>
+ <span class='win-button'>
+ <a href="//download.gimp.org/mirror/pub/gimp/v2.8/osx/gimp-{{ page.gimp_version_stable_macos
}}-x86_64{{ page.gimp_version_stable_postfix_macos }}.dmg">
+ Download GIMP {{ page.gimp_version_stable_macos }}<br/>
+ directly
+ </a>
+ </span>
+ </p>
+
+ <small>
+ <p>
+ The download links above will attempt to download GIMP from one of our trusted mirror
servers.
+ If the mirrors do not work or you would rather download directly from our server, you can
get the <a href='//download.gimp.org/pub/gimp/v2.8/osx/'>direct download here</a>.
+ </p>
+ </small>
+
+ <p>Since the 2.8.2 version, GIMP runs on OSX natively. No X11 environment is required.</p>
+
+ <h3>Native build</h3>
+
+ <p>The official GIMP 2.8 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 MD5 hash sum for <code>gimp-{{ page.gimp_version_stable_macos }}-x86_64{{
page.gimp_version_stable_postfix_macos }}.dmg</code> is:
+ <kbd>07e8116127081bd1e74095d23ab1d174</kbd>.
+ </p>
+
+
+
+ <h3>Older Downloads</h3>
+ <p>Previous installers for OSX can be found here: <a
href='//download.gimp.org/mirror/pub/gimp/v2.8/osx/'>download.gimp.org</a>.</p>
+
+
+
+ <h3>Macports</h3>
+ <p>
+ A (easy?) way to compile and install GIMP and other great <a
href='http://www.gnu.org/philosophy/free-sw.html'>Free software</a> on your Mac is by using <a
href='http://www.macports.org/'>Macports</a>. The installer allows you to choose from a large directory of
packages. To install gimp using Macports, you simply do <code>sudo port install gimp</code> once you have
Macports installed.
+ </p>
+
+ <p>
+ Disclaimer: we have not investigated if it's feasible to build GIMP 2.8 from Macports. The <a
href='https://trac.macports.org/browser/trunk/dports/graphics/gimp/Portfile'>GIMP port file</a> mentions
2.8.10, and appears to be maintained, however.
+ </p>
+
+ <ul>
+ <li><a href='http://macports.org/'>Download Macports</a></li>
+ </ul>
+
+
+
+ <h3>Homebrew</h3>
+ <p>
+ Homebrew is similar to Macports and provides packages (aka formulas) to install, either by
compiling them from source or by using pre-made binaries. While there appears to be no formula for GIMP
itself, there are reports that all dependencies are available. This may help to build GIMP from source.
+ </p>
+
+ <ul>
+ <li>
+ <a href='http://brew.sh/'>Download Homebrew</a>
+ </li>
+ </ul>
+
+
+
+ <h3>Fink</h3>
+ <p>
+ Fink is a package repository that offer mostly precompiled binaries. It provides the apt-get
command known to e.g. Debian and Ubuntu users, and installing GIMP is as easy as <code>sudo apt-get install
gimp</code> once you have installed the <a href='http://www.finkproject.org/download/index.php'>Fink
installer</a>.
+ <br>
+ If there's no binary package, then <code>fink install gimp</code> will compile GIMP from source.
+ </p>
+
+ <p>
+ Disclaimer: we haven't been able to determine if it is possible to install or build GIMP 2.8
from Fink. GIMP 2.6.12 appears to be the most recent <a
href='http://pdb.finkproject.org/pdb/browse.php?summary=gimp'>GIMP package</a> that is <a
href='http://pdb.finkproject.org/pdb/package.php/gimp2'>offered there</a>.
+ </p>
+
+ <ul>
+ <li>
+ <a href='http://www.finkproject.org/'>Download Fink</a>
+ </li>
+ </ul>
+
+ </div>
+
+
+
+ <div id='win' class="os win" markdown="1">
+ <h2>GIMP for Windows</h2>
+
+ <p>
+ <span class='win-button' id='win-torrent'>
+ <a href="//download.gimp.org/pub/gimp/v2.8/windows/gimp-{{ page.gimp_version_stable_windows
}}-setup{{ page.gimp_version_stable_postfix_windows }}.exe.torrent" title="Download GIMP via BitTorrent"
id="win-torrent-link">
+ Download GIMP {{ page.gimp_version_stable_windows }}<br/>
+ via BitTorrent
+ </a>
+ </span>
+ <span class='win-button'>
+ <a href="//download.gimp.org/mirror/pub/gimp/v2.8/windows/gimp-{{
page.gimp_version_stable_windows }}-setup{{ page.gimp_version_stable_postfix_windows }}.exe" title="Download
GIMP via HTTP" id='win-download-link' >
+ Download GIMP {{ page.gimp_version_stable_windows }}<br/>
+ directly
+ </a>
+ </span>
+ </p>
+
+ <small>
+ <p>
+ The download links above will attempt to download GIMP from one of our trusted mirror servers.
+ If the mirrors do not work or you would rather download directly from our server, you can get
the <a href='//download.gimp.org/pub/gimp/v2.8/windows/'>direct download here</a>.
+ </p>
+ </small>
+
+ <p>
+ These links download the official GIMP installer for Windows (~100MB).
+ The installer contains both 32-bit and 64-bit versions of GIMP, and will automatically use the
appropriate one.
+ </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>MD5 Hash Sum</h3>
+ <p>
+ The MD5 hash sum for <code>gimp-{{ page.gimp_version_stable_windows }}-setup{{
page.gimp_version_stable_postfix_windows }}.exe</code> is: <kbd>510bb11abc72443f431226523fa21b6f</kbd>.
+ </p>
+
+ <h3>Older Downloads</h3>
+ <p>
+ Previous installers for Windows can be found here: <a
href='//download.gimp.org/mirror/pub/gimp/v2.8/windows/'>download.gimp.org</a>.
+ </p>
+
+ <h3>GIMP User Manual</h3>
+
+ <ul>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-zh_CN-setup.exe'>Chinese
Simplified</a> (24.3 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-ca-setup.exe'>Catalan</a>
(24.2 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-da-setup.exe'>Danish</a>
(24.2 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-nl-setup.exe'>Dutch</a>
(24.3 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-en-setup.exe'>English</a>
(24.2 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-en_GB-setup.exe'>English
(United Kingdom)</a> (24.2 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-fr-setup.exe'>French</a>
(25.7 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-de-setup.exe'>German</a>
(28.0 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-el-setup.exe'>Greek</a>
(24.0 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-it-setup.exe'>Italian</a>
(30.2 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-ja-setup.exe'>Japanese</a>
(23.6 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-ko-setup.exe'>Korean</a>
(24.9 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-nn-setup.exe'>Norwegian
Nynorsk</a> (20.9 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-ru-setup.exe'>Russian</a>
(24.9 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-sl-setup.exe'>Slovenian</a>
(24.3 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-es-setup.exe'>Spanish</a>
(24.9 MB)</li>
+ <li><a
href='//download.gimp.org/mirror/pub/gimp/help/windows/2.8/2.8.2/gimp-help-2-2.8.2-sv-setup.exe'>Swedish</a>
(24.7 MB)</li>
+ </ul>
+
+ </div>
+
+ <hr>
+
+ <div id='source'>
+ <h2>Source for version 2.8 (Stable)</h2>
+
+ <p>GIMP releases available from gimp.org and its <a href='#mirrors'>mirrors</a> contain the source code
and have to be compiled in order to be installed on your system.</p>
+
+ <p>For instructions, how to build GIMP from source code, please see <a href='/source/'>this page</a>.</p>
+
+ <p>GIMP 2.8.16 is now available at <a
href='//download.gimp.org/mirror/pub/gimp/v2.8/'>http://download.gimp.org/mirror/pub/gimp/v2.8/</a>. You may
want to read the <a href='/release-notes/gimp-2.8.html'>Release Notes for GIMP 2.8</a>.</p>
+
+ <p>To allow you to check the integrity of the tarballs, here are the MD5 sums of the latest releases:</p>
+
+ <p>
+ <strong>gimp-2.8.18.tar.bz2</strong><br>
+ <kbd>5adaa11a68bc8a42bb2c778fee4d389c</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.8.16.tar.bz2</strong><br>
+ <kbd>30e0a1b7c18b0e3415f4ac54567252ac</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.8.14.tar.bz2</strong><br>
+ <kbd>233c948203383fa078434cc3f8f925cb</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.8.12.tar.bz2</strong><br>
+ <kbd>47fefa240c38cfb1016b57ad6324378d</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.8.10.tar.bz2</strong><br>
+ <kbd>84c964aab7044489af69f7319bb59b47</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.8.8.tar.bz2</strong><br>
+ <kbd>ef2547c3514a1096931637bd6250635a</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.8.6.tar.bz2</strong><br>
+ <kbd>12b3fdf33d1f07ae79b412a9e38b9693</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.8.4.tar.bz2</strong><br>
+ <kbd>392592e8755d046317878d226145900f</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.8.2.tar.bz2</strong><br>
+ <kbd>b542138820ca3a41cbd63fc331907955</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.8.0.tar.bz2</strong><br>
+ <kbd>28997d14055f15db063eb92e1c8a7ebb</kbd>
+ </p>
+
+
+ <p>
+ GIMP help files are available at <a
href='//download.gimp.org/mirror/pub/gimp/help/'>http://download.gimp.org/mirror/pub/gimp/help/</a>.
+ </p>
+
+ <p>
+ Please consider using one of the mirrors listed below.
+ </p>
+
+ <h2>Development snapshots</h2>
+
+ <p>The current development branch is GIMP 2.9 and will finally lead to the next stable GIMP release
2.10.</p>
+
+ <p>For instructions, how to build GIMP from source code, please see <a href='/source/'>this page</a>.</p>
+
+ <p>Nightly builds for Windows are available at <a
href='http://nightly.darkrefraction.com/gimp/'>darkrefraction.com</a>. This is unstable software, please use
it at your own risk.</p>
+
+ <p>A detailed list of changes in the development branch is available in <a
href='https://git.gnome.org/cgit/gimp/plain/NEWS'>git</a>.</p>
+
+ <p>GIMP 2.9.4 is now available at <a
href='//download.gimp.org/mirror/pub/gimp/v2.9/'>http://download.gimp.org/mirror/pub/gimp/v2.9/</a>.</p>
+
+ <p>To allow you to check the integrity of the tarballs, here are the MD5 sums of the latest development
snapshots:</p>
+
+ <p>
+ <strong>gimp-2.9.4.tar.bz2</strong><br>
+ <kbd>6b3d425a7949110eeb532badedf721f3</kbd>
+ </p>
+
+ <p>
+ <strong>gimp-2.9.2.tar.bz2</strong><br>
+ <kbd>aa8a846a497e3328c5b7d2fd33f5cf63</kbd>
+ </p>
+
+ </div>
+
+ <div id='mirrors' markdown="1">
+ <h2>FTP and Web Mirrors</h2>
+
+ <p>
+ We had a server move a while back that caused us to lose our existing mirrors (moved from physical
to virtual server and to an environment that doesn't allow FTP access).
+ On the plus side, we are now able to offer rsync access to download.gimp.org.
+ </p>
+
+ <p>
+ If you are running one of the existing GIMP mirrors, or want to create a new one, please <a
href='/webmasters.html'>contact us</a> to get your rsync credentials.
+ </p>
+
+ <!-- MIRRORS -->
+
+ </div>
+
+
+ <script src="/js/platform.js"></script>
+
+ <script>
+
+ if ( platform.os.family.indexOf('Win') !== -1 && platform.os.family.indexOf('Phone') == -1 ){
+ // Windows, _not_ Phone
+ document.getElementById('win').style.display = 'block';
+ document.getElementById('mac').style.display = 'none';
+ document.getElementById('linux').style.display = 'none';
+ document.getElementById('pOSTEST').innerHTML = 'Microsoft Windows.';
+ }else if ( platform.os.family.indexOf('OS X') !== -1 ){
+ // OS X
+ document.getElementById('win').style.display = 'none';
+ document.getElementById('mac').style.display = 'block';
+ document.getElementById('linux').style.display = 'none';
+ document.getElementById('pOSTEST').innerHTML = 'OS X.';
+ }else if ( platform.os.family.indexOf('iOS') !== -1 || platform.os.family.indexOf('Android') !== -1 ){
+ // iOS or Android
+ document.getElementById('pOSTEST').innerHTML = platform.os.family + '.';
+ var nope = "<br/><strong>This platform is not currently supported.</strong>";
+ document.getElementById('pOSTEST').innerHTML += nope;
+ document.getElementById('win').style.display = 'none';
+ document.getElementById('mac').style.display = 'none';
+ document.getElementById('linux').style.display = 'none';
+ }else {
+ // Everything else (assuming *nix-type)
+ document.getElementById('pOSTEST').innerHTML = platform.os.family + '.';
+ document.getElementById('win').style.display = 'none';
+ document.getElementById('mac').style.display = 'none';
+ document.getElementById('linux').style.display = 'block';
+ }
+
+ function render( os ){
+ switch( this.id ) {
+ case 'os_linux':
+ document.getElementById('linux').style.display = 'block';
+ document.getElementById('win').style.display = 'none';
+ document.getElementById('mac').style.display = 'none';
+ break;
+ case 'os_win':
+ document.getElementById('linux').style.display = 'none';
+ document.getElementById('win').style.display = 'block';
+ document.getElementById('mac').style.display = 'none';
+ break;
+ case 'os_mac':
+ document.getElementById('linux').style.display = 'none';
+ document.getElementById('win').style.display = 'none';
+ document.getElementById('mac').style.display = 'block';
+ break;
+ default:
+ document.getElementById('linux').style.display = 'block';
+ document.getElementById('win').style.display = 'block';
+ document.getElementById('mac').style.display = 'block';
+ break;
+ }
+ return false;
+ }
+
+ document.getElementById('os_all').addEventListener("click", render );
+ document.getElementById('os_linux').addEventListener("click", render );
+ document.getElementById('os_win').addEventListener("click", render );
+ document.getElementById('os_mac').addEventListener("click", render );
+ </script>
+
+ <style>
+ table {
+ max-width: 35rem;
+ margin: 1rem auto;
+ }
+ td, th {
+ padding: 0 1rem;
+ }
+
+ .download-mirrors{
+ word-wrap: break-word;
+ }
+
+ @media ( max-width: 40rem ){
+ .download-mirrors dd {
+ margin-left: 0.5rem;
+ }
+ }
+
+ .os {
+ display: block;
+ }
+
+ #pOSTEST {
+ font-style: italic;
+ }
+
+ .show_links {
+ color: #497bad;
+ cursor: pointer;
+ }
+
+ .win-button {
+ display: inline-block;
+ border: solid 1px #666;
+ background-color: #f57900;
+ margin: 0.5rem 0;
+ border-radius: 10px;
+ box-shadow: 1px 1px 2px;
+ text-align: center;
+ font-family: Questrial;
+ font-weight: 400;
+ width: 49%;
+ }
+
+ #win-torrent, #osx-torrent {
+ background-color: #008080;
+ }
+
+ .win-button a {
+ color: white;
+ font-weight: bold;
+ display: inline-block;
+ padding: 1rem;
+ }
+
+ .mirrors {
+ display: none;
+ }
+ </style>
+
+
+{% endblock data %}
diff --git a/themes/newgimp/templates/page.html b/themes/newgimp/templates/page.html
index 006015a..7949c12 100644
--- a/themes/newgimp/templates/page.html
+++ b/themes/newgimp/templates/page.html
@@ -52,7 +52,9 @@
<div class='container'>
<div class='row clearfix'>
<div class='column full'>
+ {% block data %}
{{ page.content }}
+ {% endblock data %}
</div>
</div>
</div>
@@ -101,4 +103,4 @@
{% endif %}
-{% endblock %}
+{% endblock content %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]