[ontv] Removed unneeded build dependencies



commit b389d7bb5cd15b9babe163d218e539ab94f4fd02
Author: Olof Kindgren <olki src gnome org>
Date:   Thu Mar 10 22:22:52 2011 +0100

    Removed unneeded build dependencies
    
    Removed checks for development headers in configure.ac. Run-time
    dependencies are listed in the README file instead, together with
    updated instructions

 README       |   29 ++++++++++++++++++++++-------
 configure.ac |    7 -------
 2 files changed, 22 insertions(+), 14 deletions(-)
---
diff --git a/README b/README
index 0ba0ad4..619a091 100644
--- a/README
+++ b/README
@@ -19,21 +19,36 @@ Installing OnTV should only be a matter of:
     1. ./configure --prefix=/usr
     2. make
     3. make install (as root)
-    4. Restart bonobo-activation-server
+
+If you are using the gnome applet, the following instructions apply:
+    Restart bonobo-activation-server
        (killall bonobo-activation-server; killall gnome-panel)
 
-NOTE: If you install with a prefix other than /usr you'll need to set
-$BONOBO_ACTIVATION_PATH (preferably in ~/.xinitrc) so that the panel can find
-the applet:
+       NOTE: If you install with a prefix other than /usr you'll need to set
+       $BONOBO_ACTIVATION_PATH (preferably in ~/.xinitrc) so that the panel
+       can find the applet:
+
+           export BONOBO_ACTIVATION_PATH=PREFIX/lib/bonobo/servers
 
-    export BONOBO_ACTIVATION_PATH=PREFIX/lib/bonobo/servers
+       You should now be able to add OnTV to your panel by clicking
+       "Add to panel...",
 
-You should now be able to add OnTV to your panel by clicking "Add to panel...",
-or run it in the notification area by starting the ontv binary
+If you are not using the gnome applet, simply start OnTV from the menu entry
 
 Running OnTV
 ============
 
+Before you run, make sure you have the following python packages installed:
+python-dbus
+python-gconf
+python-gobject
+python-gtk2
+python-notify
+python-vte
+
+For the gnome applet, the following is also needed:
+python-gnome2
+
 To run OnTV you currently need two things:
 
     1. A grabber to download your channels listings in the XMLTV file format.
diff --git a/configure.ac b/configure.ac
index 30ebb9a..48b1b03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,18 +42,11 @@ dnl Python
 dnl ======
 
 AM_PATH_PYTHON(2.5)
-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
 
 dnl ============
 dnl Requirements
 dnl ============
 
-PKG_CHECK_MODULES(ONTV,
-	gtk+-2.0 >= 2.10.0
-	pygtk-2.0 >= 2.10.0
-	pygobject-2.0 >= 2.12.0
-	notify-python >= 0.1.1)
-
 AC_ARG_ENABLE([gnome-applet],
   AS_HELP_STRING([--enable-gnome-applet], [Build applet for gnome panel]),
   [gnome_applet_enable="${enableval}"],



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]