2
platform/gtk-x11/setup.py | 7 ++++++-
3
1 file changed, 6 insertions(+), 1 deletion(-)
5
Index: miro-1.0~svn20071006r5431/platform/gtk-x11/setup.py
6
===================================================================
7
--- miro-1.0~svn20071006r5431.orig/platform/gtk-x11/setup.py
8
+++ miro-1.0~svn20071006r5431/platform/gtk-x11/setup.py
10
# GNU General Public License for more details.
12
# You should have received a copy of the GNU General Public License
13
# along with this program; if not, write to the Free Software
14
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16
# This needs to be above Paths and configuration :(
18
-# It currently looks for Debian 4.0 Etch and Ubuntu 7.04 Feisty
19
+# It currently looks for Debian 4.0 Etch, Ubuntu 7.04 Feisty and
22
def use_xine_hack_default():
24
# Non-debian based system will throw an exception here
25
f = open('/etc/debian_version')
26
if f.read().strip() == '4.0': # Debian etch
30
# Ubuntu Feisty is Debian based but lists testing/unstable
31
# in /etc/debian_version, so we check /etc/issue
33
f = open('/etc/issue')
35
if (osname.find("Ubuntu") > -1) and (osname.find("7.04")>-1):
38
+ if (osname.find("Ubuntu") > -1) and (osname.find("gutsy")>-1):
45
##############################################################################
46
## Paths and configuration ##
47
###############################################################################