[gnome-clocks] Update README file



commit 1ff25c983b8c44078fc75a1525aea67af2766a27
Author: Paolo Borelli <pborelli gnome org>
Date:   Thu Aug 16 14:34:36 2012 +0200

    Update README file
    
    Include instructions about installation and about running the installed
    version, especially when using jhbuild

 README |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/README b/README
index 4228d35..a6de521 100644
--- a/README
+++ b/README
@@ -1,4 +1,5 @@
 Clocks
+======
 
 Requirements
 ------------
@@ -6,8 +7,30 @@ Requirements
 - GTK+ 3.x with introspection support
 - Python, with the pytz and python-vobject modules
 
+
+Installing
+----------
+ - It is not mandatory to install, you can run the program from the source directory
+ - If you want to install, run ./setup.py install (if you want you can specify an
+   installation prefix, e.g. ./setup.py install --prefix=/opt/gnome
+
+
 Running
 -------
 
-python main.py
+ - To run the program from the source directory, simply use ./gnome-clocks
+ - If you installed the program in a custom prefix, you will need to export
+   the following environment variables:
+
+export GNOME_CLOCKS_IMAGE_PATH=/opt/gnome/share/gnome-clocks
+export GNOME_CLOCKS_DATA_PATH=/opt/gnome/share/gnome-clocks
+export GNOME_CLOCKS_LOCALE_PATH=/opt/gnome/share/locale
+
+   where "/opt/gnome" is the installation prefix. If you are using jhbuild
+   you can add the following lines to your .jhbuildrc file:
+
+os.environ['GNOME_CLOCKS_DATA_PATH'] = '/opt/gnome/share/gnome-clocks'
+os.environ['GNOME_CLOCKS_IMAGE_PATH'] = '/opt/gnome/share/gnome-clocks'
+os.environ['GNOME_CLOCKS_LOCALE_PATH'] = '/opt/gnome/share/locale'
+
 



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