/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to README

  • Committer: Jelmer Vernooij
  • Date: 2012-07-09 15:23:26 UTC
  • mto: This revision was merged to the branch mainline in revision 794.
  • Revision ID: jelmer@samba.org-20120709152326-dzxb8zoz0btull7n
Remove bzr-notify.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
need the following runtime dependencies:
15
15
 
16
16
  * Python 2.4
17
 
  * bzr 0.11 or later
18
 
  * PyGTK 2.8 or later
 
17
  * Bazaar with the same major version as bzr-gtk
 
18
  * PyGObject
19
19
 
20
20
In order to see graphs in the visualisation tool, you will also need:
21
21
 
23
23
 
24
24
In order to see syntax highlighted diffs:
25
25
 
26
 
  * gtksourceview python bindings
 
26
  * GtkSourceView2 Python bindings (on Debian and Ubuntu systems, these
 
27
    are in the python-gtksourceview2 package)
27
28
 
28
29
In order to use the nautilus integration, you will need:
29
30
 
43
44
your bzr working tree, or adding the location of bzr-gtk to your
44
45
BZR_PLUGIN_PATH environment variable.
45
46
 
 
47
Note: the plugin directory of bzr-gtk must be called 'gtk'.
 
48
 
46
49
To use the nautilus integration, either place the nautilus-bzr.py file in
47
50
~/.nautilus/python-extensions or in /usr/lib/nautilus/extensions-1.0/python
48
51
 
 
52
Please note that python-nautilus currently uses the .so file of Python 
 
53
so you will need to have python-dev installed or you need to manually create a 
 
54
libpythonVER.so symlink in /usr/lib (where VER is your version of python, e.g.
 
55
2.4 or 2.5).
 
56
 
49
57
Usage - Visualisation
50
58
---------------------
51
59
 
84
92
lines 2 hours old may be orange. Highlighting can be turned off with --plain
85
93
if overwhelming.
86
94
 
 
95
Usage - diff window
 
96
-------------------
 
97
 
 
98
If you have the gtksourceview python bindings installed, the diff window
 
99
will have syntax highlighting. If the python GConf bindings are installed, 
 
100
the colors will be read from gedit's syntax highlighting configuration
 
101
for the "Diff" language.
 
102
 
 
103
Afterwards, colors from the ~/.colordiffrc file will be read, and will
 
104
override gedit's. Since that file may be written for a dark background
 
105
environment, the file ~/.colordiffrc.bzr-gtk can be used to override
 
106
some values.
 
107
 
 
108
Because gtksourceview is more configurable that colordiff, in addition
 
109
to the 'oldtext', 'newtext', and 'diffstuff' keys, the following keys
 
110
are also accepted: 'location', 'file', 'specialcase'.
 
111
 
 
112
Colors can be specified with names (valid names are those in the
 
113
/usr/share/X11/rgb.txt file), or with a #RRGGBB notation.
 
114
 
87
115
Install on Windows
88
116
------------------
89
117
 
91
119
 
92
120
 - Python: http://www.python.org/download/releases/2.4.3/
93
121
 - GTK: http://gladewin32.sourceforge.net/
94
 
 - PyGTK: http://www.mapr.ucl.ac.be/~gustin/win32_ports (pygtk, pygobject and pycairo)
 
122
 - PyGTK: http://www.mapr.ucl.ac.be/~gustin/win32_ports (pygobject and pycairo)
95
123
 - Bazaar: http://bazaar-vcs.org/WindowsDownloads (Python-based should be okay)
96
124
 - pyWin32: http://sourceforge.net/project/showfiles.php?group_id=78018
97
125