forked from zim-desktop-wiki/zim-desktop-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
186 lines (117 loc) · 5.38 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
====== ABOUT ======
Zim - A Desktop Wiki Editor
Zim is a graphical text editor used to maintain a collection of wiki pages.
Each page can contain links to other pages, simple formatting and images.
Pages are stored in a folder structure, like in an outliner, and can have
attachments. Creating a new page is as easy as linking to a nonexistent page.
All data is stored in plain text files with wiki formatting. Various plugins
provide additional functionality, like a task list manager, an equation
editor, a tray icon, and support for version control.
Zim can be used to:
* Keep an archive of notes
* Take notes during meetings or lectures
* Organize task lists
* Draft blog entries and emails
* Do brainstorming
====== COPYRIGHT ======
All files in this package, with the exception of those mentioned below
are copyrighted and licensed as follows:
Copyright 2008-2014 Jaap Karssenberg <[email protected]>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
== Translations ==
Translations are copyrighted by their respective translators.
All translations that are entered through the launchpad website
are distributed under the BSD license.
See the translation files for detailed translator credits.
== Included Files ==
The following files were included from other sources:
* zim/inc/xdot.py - Copyright 2008 Jose Fonseca
* zim/inc/arithmetic.py - Copyright 2010, 2011 Patricio Paez <[email protected]>
From the default Gnome icon theme:
* pixmaps/task-list.png (was: stock_todo.png)
* pixmaps/attachment.png (was: mail-attachment.png)
From Gtk+ 2.8
* pixmaps/link.png (was: stock_connect_24.png)
Other:
* pixmaps/calendar.png (was: stock_calendar-view-month.png)
Copyright 2007 by Jakub Steiner, released under GPL
modifications copyright 2009 by Gabriel Hurley
====== INSTALLING ======
NOTE: To test zim it is not needed to install. You should be able to run it
directly from the source directory by calling `./zim.py`. (To run a
translated version from the source first call `./setup.py build_trans`.)
First you should verify you have the dependencies zim needs. To list all
dependencies check `./setup.py --requires`.
You will at least need the following:
* gtk+ >= 2.6
* python >= 2.6
* python-gtk
* python-gobject
* python-xdg (optional, but recommended)
* xdg-utils (optional, but recommended)
To verify zim is working properly on your system you can call the test suite
using `./test.py`. Failures do not have to be critical, but in principle all
tests should pass.
Zim can be installed from source using:
./setup.py install
Most plugins have additional requirements. These are listed in the plugin
descriptions.
===== Ubuntu =====
On Ubuntu or other debian derived systems, the following packages should be
installed:
* python
* libgtk2.0-0
* python-gtk2
* python-xdg
===== Windows =====
To install gtk, python and python-gtk on Windows see the instructions at
http://www.pygtk.org . If you use python 2.5 you will also need to install the
python simplejson module. This can be obtained from http://pypi.python.org .
The python-xdg module is not usefull on Windows, so you can skip it.
Once the dependencies are fulfilled you can run zim directly from the source
directory.
===== Mac OS X =====
You can run zim on mac if you have the proper dependencies installed.
If you are using Mac Ports packages installing the following ports should work:
* python26
* py26-gtk
* py26-simplejson
* py26-xdg
===== Install Paths =====
If you install in a non-default location you may need to set the PYTHONPATH
environment variable in order for zim to find it's python modules.
For example, if you installed the modules below "/home/user/lib/zim" you need
to set:
PYTHONPATH=/home/user/lib
Also zim uses the XDG paths to locate data and config files. If you get
an error that zim can not find it's data files
For example, if you installed the zim data files to "/home/user/share/zim"
you need to set the data path like this:
XDG_DATA_DIRS=/home/user/share:/usr/local/share:/usr/share
====== PACKAGING ======
To build a tree in a target directory you can use:
./setup.py install --root=/path/to/package/build/dir --skip-cmd
Special attention may be needed to run xdg update commands in a post-install
script. Recommended commands are:
update-desktop-database
update-mime-database /usr/share/mime
====== TRANSLATING ======
To contribute to translations onlne please go to http://launchpad.net.
To test a new translation you can either download the snapshot from launchpad
and run:
./tools/import-launchpad-translations.py launchpad-export.tar.gz
Or you can edit the template zim.pot with your favourite editor. In that case
you should add you new .po file to the po/ directory.
After adding the .po file(s) you can compile the translation using:
./setup.py build_trans