[gnome-dvb-daemon] Use system's path to python binary in gnome-dvb-setup and gnome-dvb-control
- From: Sebastian Polsterl <sebp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dvb-daemon] Use system's path to python binary in gnome-dvb-setup and gnome-dvb-control
- Date: Fri, 3 Oct 2014 22:38:59 +0000 (UTC)
commit d5f944ecee3d0530a6e9e30a4d1d892320e90ecc
Author: Sebastian Pölsterl <sebp k-d-w org>
Date: Sat Oct 4 00:37:12 2014 +0200
Use system's path to python binary in gnome-dvb-setup and gnome-dvb-control
client/Makefile.am | 4 ++--
client/{gnome-dvb-control => gnome-dvb-control.in} | 6 +++---
client/{gnome-dvb-setup => gnome-dvb-setup.in} | 6 +++---
configure.ac | 2 ++
4 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/client/Makefile.am b/client/Makefile.am
index d19aa42..60ce988 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -15,5 +15,5 @@ gnomedvbbin_SCRIPTS = \
gnome-dvb-setup
EXTRA_DIST = \
- gnome-dvb-control \
- gnome-dvb-setup
+ gnome-dvb-control.in \
+ gnome-dvb-setup.in
diff --git a/client/gnome-dvb-control b/client/gnome-dvb-control.in
similarity index 92%
rename from client/gnome-dvb-control
rename to client/gnome-dvb-control.in
index 252d99e..6776fd7 100644
--- a/client/gnome-dvb-control
+++ b/client/gnome-dvb-control.in
@@ -1,6 +1,6 @@
-#!/usr/bin/env python
+#! PYTHON@
# -*- coding: utf-8 -*-
-# Copyright (C) 2008,2009 Sebastian Pölsterl
+# Copyright (C) 2008-2014 Sebastian Pölsterl
#
# This file is part of GNOME DVB Daemon.
#
@@ -27,4 +27,4 @@ w = ControlCenterWindow(model)
w.show_all()
Gtk.main()
-
+
diff --git a/client/gnome-dvb-setup b/client/gnome-dvb-setup.in
similarity index 95%
rename from client/gnome-dvb-setup
rename to client/gnome-dvb-setup.in
index be926f5..1935e60 100644
--- a/client/gnome-dvb-setup
+++ b/client/gnome-dvb-setup.in
@@ -1,6 +1,6 @@
-#!/usr/bin/env python
+#! PYTHON@
# -*- coding: utf-8 -*-
-# Copyright (C) 2008,2009 Sebastian Pölsterl
+# Copyright (C) 2008-2014 Sebastian Pölsterl
#
# This file is part of GNOME DVB Daemon.
#
@@ -25,7 +25,7 @@ from optparse import OptionParser
parser = OptionParser()
parser.add_option("--transient-for", dest="transient_for", type="long",
help="XID of parent window")
-
+
(options, args) = parser.parse_args()
w = SetupWizard()
diff --git a/configure.ac b/configure.ac
index 8c580cd..9cde251 100644
--- a/configure.ac
+++ b/configure.ac
@@ -184,6 +184,8 @@ AM_CHECK_PYMOD(gi.repository)
AC_CONFIG_FILES([
Makefile
client/Makefile
+ client/gnome-dvb-control
+ client/gnome-dvb-setup
client/gnomedvb/defs.py
client/gnomedvb/Makefile
client/grilo-plugin/Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]