Commit 236d6cae authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

add Flatpak link in download page

parent 52f187de
......@@ -39,56 +39,61 @@ $os_table = array(
"Fedora",
),
4 => array (
"flatpak",
"Flatpak",
"Flatpak",
),
5 => array (
"freebsd",
"FreeBSD",
"FreeBSD",
),
5 => array (
6 => array (
"gentoo",
"Gentoo",
"Gentoo",
),
6 => array (
7 => array (
"mandriva",
"Mandriva",
"Mandriva",
),
7 => array (
8 => array (
"opensuse",
"openSUSE",
"openSUSE",
),
8 => array (
9 => array (
"pld",
"PLD",
"PLD",
),
9 => array (
10 => array (
"slackware",
"Slackware",
"Slackware",
),
10 => array (
11 => array (
"sourcemage",
"SourceMage",
"SourceMage",
),
11 => array (
12 => array (
"ubuntu",
"Ubuntu",
"Ubuntu",
),
12 => array (
13 => array (
"windows",
"Windows",
"Windows",
),
13 => array (
14 => array (
"zenwalk",
"ZenWalk",
"ZenWalk",
),
14 => array (
15 => array (
"source",
"Other Linux",
"Other Linux / Source",
......@@ -160,7 +165,13 @@ print "<h2>Fedora:</h2>\n";
print _("Just")." <i>dnf install gajim</i>\n";
print "</div>\n";
#5)FreeBSD
#5)Flatpak
print "<div id='flatpak'>\n";
print "<h2>Flatpak:</h2>\n";
print _("Instructions to build flatpak package are available")." <a href='https://dev.gajim.org/gajim/gajim/tree/master/flatpak'>" . _("here") . "</a>\n";
print "</div>\n";
#6)FreeBSD
print "<div id='freebsd'>\n";
print "<h2>FreeBSD:</h2>\n";
print _("Gajim is available in FreeBSD via FreeBSD ports. Just ")."<i> cd /usr/ports/net/gajim/ &amp;&amp; make install clean</i>. ";
......@@ -168,44 +179,44 @@ print ("<a href='http://www.freebsd.org/cgi/ports.cgi?query=gajim'>");
print _("Find out more")."</a>.\n";
print "</div>\n";
#6)Gentoo
#7)Gentoo
print "<div id='gentoo'>\n";
print "<h2>Gentoo:</h2>\n";
print _(" Just")." <i>emerge gajim</i>\n";
print "</div>\n";
#7)Mandriva
#8)Mandriva
print "<div id='mandriva'>\n";
print "<h2>Mandriva:</h2>\n";
print _("Just")." <i>urpmi gajim</i>\n";
print "</div>\n";
#8)openSUSE
#9)openSUSE
print "<div id='opensuse'>\n";
print "<h2>openSUSE:</h2>\n";
print _("One click install for openSuSE")." <a href='http://software.opensuse.org/ymp/server:messaging/openSUSE_12.2/gajim.ymp'>12.2</a>, <a href='http://software.opensuse.org/ymp/server:messaging/openSUSE_12.3/gajim.ymp'>12.3</a><br/>";
print _("For other versions, ")."<a href='http://software.opensuse.org/package/gajim?search_term=Gajim'>"._("get it here")."</a><br/>\n";
print "</div>\n";
#9)PLD
#10)PLD
print "<div id='pld'>\n";
print "<h2>PLD:</h2>\n";
print _("Just")." <i>poldek -U gajim</i>\n";
print "</div>\n";
#10)Slackware
#11)Slackware
print "<div id='slackware'>\n";
print "<h2>Slackware:</h2>\n";
print _("You can get the Slackware package of Gajim")." <a href='http://slackbuilds.org/result/?search=gajim&amp;sv=all'> "._("here")."</a>.";
print "</div>\n";
#11)SourceMage
#12)SourceMage
print "<div id='sourcemage'>\n";
print "<h2>SourceMage:</h2>\n";
print _("Just")." <i>cast gajim</i>\n";
print "</div>\n";
#12)Ubuntu
#13)Ubuntu
print "<div id='ubuntu'>\n";
print "<h2>Ubuntu:</h2>\n";
print _("Just")." <i>sudo apt-get install gajim</i>\n";
......@@ -234,7 +245,7 @@ print " <br/>\n";
print " <i>sudo apt-get install gajim-nightly</i>\n";
print "</div>\n";
#13)Windows
#14)Windows
print "<div id='windows'>\n";
print "<h2>Windows:</h2>\n";
print _("There is a")." <a href='downloads/".$download_folder."/gajim-".$last_version."-32bits-1.exe'>"._("32 bits Gajim installer")."</a>\n";
......@@ -251,13 +262,13 @@ print _("and a")." <a href='downloads/".$download_folder."/gajim-portable-".$las
//printf(_("for %s version "), "1.0.0-beta2\n");
print "</div>\n";
#14)ZenWalk
#15)ZenWalk
print "<div id='zenwalk'>\n";
print "<h2>ZenWalk:</h2>\n";
print _("Just")." <i>netpkg gajim</i>\n";
print "</div>\n";
#15)other Linux
#16)other Linux
print "<div id='source'>\n";
print "<h2>"._("Other Linux / source").":</h2>\n";
print _(" The tarball version of Gajim is ")."<a href='downloads/".$download_folder."/gajim-".$last_version.".tar.bz2'>"._("here")."</a>. "._("For information on how to build Gajim,")." <a href='https://dev.gajim.org/gajim/gajim/blob/gajim_1.0/README.md'>"._("see the <tt>README</tt>")."</a> ("._("in English").").<br />\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment