www: 13fba32c: Remove links to our CentOS/RHEL and Fedo..
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Mon Jun 13 13:35:49 EDT 2011
----------------------------------------------------------------------
Revision: 13fba32c1daa532d57b007a049de649d3741aa34
Parent: bccee9f790b01fb75b4221f056c484274bddf19a
Author: nosnilmot at pidgin.im
Date: 06/13/11 13:25:49
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/13fba32c1daa532d57b007a049de649d3741aa34
Changelog:
Remove links to our CentOS/RHEL and Fedora downloads from the website.
Pidgin 2.8.0 now depends on glib2 that is too new for all the
RHEL/Fedora versions I used to build for, Fedora 6/7 support should
have been dropped long ago, and I don't have a RHEL6 build env.
Changes against parent bccee9f790b01fb75b4221f056c484274bddf19a
patched htdocs/download/centos_rhel/index.php
patched htdocs/download/fedora_core/index.php
patched htdocs/download/index.php
patched inc/blurb.downloaddetect.inc
patched inc/section.download.inc
-------------- next part --------------
============================================================
--- htdocs/download/index.php f15ec6ed7c23a0ced377572813d0ec87f959d1c7
+++ htdocs/download/index.php 843016b12ee84ee6785b6e0edd6eccc0545066f1
@@ -24,8 +24,6 @@
<ul>
<li><a href="/download/windows/">Windows</a></li>
<li><a href="/download/source/">Source</a></li>
- <li><a href="/download/fedora_core">Fedora</a></li>
- <li><a href="/download/centos_rhel">CentOS / RHEL</a></li>
<li><a href="/download/mac/">Mac OS X</a></li>
<li><a href="/download/ubuntu/">Ubuntu</a></li>
</ul>
============================================================
--- inc/section.download.inc 2d4d6cbeb6ce9b8d1e326d0156c3f37c8993aca9
+++ inc/section.download.inc b7111f953c74475e9419765fa7cf2bebb993bf85
@@ -3,8 +3,6 @@ $sub_sections['Source'] = "/downl
// Define Sub Sections
$sub_sections['Windows'] = "/download/windows/";
$sub_sections['Source'] = "/download/source/";
-$sub_sections['CentOS / RHEL'] = "/download/centos_rhel/";
-$sub_sections['Fedora'] = "/download/fedora_core/";
$sub_sections['Mac OS X'] = "/download/mac/";
$sub_sections['Ubuntu'] = "/download/ubuntu/";
============================================================
--- htdocs/download/centos_rhel/index.php 7d0ddea0884753d3c1d97da663fd337483bd2f1c
+++ htdocs/download/centos_rhel/index.php 0abd0e631deb4d0fa393905a0be0e19b2ed0a9bb
@@ -1,49 +1,3 @@
<?php
- // Update these to match the current page.
- $page['title'] = "Download Pidgin for CentOS / RHEL";
- $page['section'] = "Download";
- $page['subsect'] = "CentOS / RHEL";
- $page['description'] = "Download the free Pidgin universal chat client for CentOS / RHEL";
-
- include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
- include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
+header("Location: http://" . $_SERVER['HTTP_HOST'] . "/download/" );
?>
-
-<div id="content">
-
-<?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/section.download.inc"); ?>
-
-<div class="box_right">
-<div id="main">
-
-<h1><?php echo $page['subsect']; ?></h1>
-
-<div class="box_download">
-
-<p><a href="http://rpm.pidgin.im/centos/pidgin.repo"
-onclick="javascript:pageTracker._trackPageview('/goals/downloads/centos_rhel');"
->
-<img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-<span class="download_header">Download Pidgin</span><br />
-<span class="number"><?php echo $pidgin_version; ?> for CentOS / RHEL</span>
-</a></p>
-
-<p>To install Pidgin on CentOS 5 or RHEL 5, save the pidgin.repo file
-from above in /etc/yum.repos.d/</p>
-
-<p>You can then use "yum install pidgin", or your favorite package
-manager, to install Pidgin</p>
-
-<p>You will also need to install the GPG signing key manually:<br />
-rpm --import http://rpm.pidgin.im/RPM-GPG-KEY-pidgin</p>
-
-<p>You can then use "up2date -u pidgin" to install Pidgin.</p>
-
-</div>
-
-</div>
-</div>
-
-</div>
-
-<?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/footer.inc"); ?>
============================================================
--- htdocs/download/fedora_core/index.php a1bcd60ca6480f693875f96624e1e6cc3a6839c2
+++ htdocs/download/fedora_core/index.php 0abd0e631deb4d0fa393905a0be0e19b2ed0a9bb
@@ -1,46 +1,3 @@
<?php
- // Update these to match the current page.
- $page['title'] = "Download Pidgin for Fedora";
- $page['section'] = "Download";
- $page['subsect'] = "Fedora";
- $page['description'] = "Download the free Pidgin universal chat client for Fedora";
-
- include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
- include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
+header("Location: http://" . $_SERVER['HTTP_HOST'] . "/download/" );
?>
-
-<div id="content">
-
-<?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/section.download.inc"); ?>
-
-<div class="box_right">
-<div id="main">
-
-<h1><?php echo $page['subsect']; ?></h1>
-
-<div class="box_download">
-
-<p><a href="http://rpm.pidgin.im/fedora/pidgin.repo"
-onclick="javascript:pageTracker._trackPageview('/goals/downloads/fedora_core');"
->
-<img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" />
-<span class="download_header">Download Pidgin</span><br />
-<span class="number"><?php echo $pidgin_version; ?> for Fedora</span>
-</a></p>
-
-<p>To install Pidgin on Fedora 6 or 7 save the pidgin.repo file from
-above in /etc/yum.repos.d/</p>
-
-<p>You can then use "yum install pidgin", or the Package Manager (pirut) to install Pidgin.</p>
-
-<p><i>We do <b>not</b> provide packages for Fedora 8 or later. If you use Fedora 8 or later,
-please wait for the Fedora developers to release updated packages.</i></p>
-
-</div>
-
-</div>
-</div>
-
-</div>
-
-<?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/footer.inc"); ?>
============================================================
--- inc/blurb.downloaddetect.inc 3464334181c9ed67f67b31bac96ce5660b768eff
+++ inc/blurb.downloaddetect.inc 5cf94faf83092dc8a6a36c49af8fa72b8e275081
@@ -18,13 +18,6 @@
$download_os = "for Ubuntu";
$download_link = "/download/ubuntu/";
$download_version = $pidgin_ubuntu_version;
- } else if (strstr($useragent, 'CentOS') ||
- strstr($useragent, 'RHEL')) {
- $download_os = "for CentOS / RHEL";
- $download_link = "/download/centos_rhel/";
- } else if (strstr($useragent, "Fedora")) {
- $download_os = "for Fedora Core";
- $download_link = "/download/fedora_core/";
} else if (strstr($useragent, "Mac")) {
$download_os = "for Mac OS X";
$download_link = "/download/mac/";
More information about the Commits
mailing list