2014-09-08 12:41:45 +00:00
|
|
|
=============================================
|
|
|
|
callirhoe - high quality calendar rendering
|
|
|
|
(c) 2012-2014 George Tzoumas
|
2014-10-02 17:34:27 +00:00
|
|
|
https://code.google.com/p/callirhoe/
|
2014-09-08 12:41:45 +00:00
|
|
|
=============================================
|
|
|
|
|
|
|
|
QUICK INSTALLATION GUIDE
|
|
|
|
|
2014-11-05 10:59:40 +00:00
|
|
|
CONTENTS
|
|
|
|
1) FROM COMPRESSED ARCHIVE
|
|
|
|
2) FROM SVN
|
2014-11-06 17:02:32 +00:00
|
|
|
3) INSTALLING INTO BINARY PATH
|
2014-11-05 13:56:11 +00:00
|
|
|
4) INSTALLATION FOR ARCH LINUX
|
2014-11-05 10:59:40 +00:00
|
|
|
|
2014-09-08 12:41:45 +00:00
|
|
|
(rough installation guide for novice users...)
|
|
|
|
|
|
|
|
1) FROM COMPRESSED ARCHIVE
|
|
|
|
|
2014-10-02 17:34:27 +00:00
|
|
|
Download the latest version from the project's page,
|
|
|
|
or directly from:
|
|
|
|
https://callirhoe.googlecode.com/svn/wiki/releases/
|
2014-11-05 10:59:40 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
You end up with a file named callirhoe-X.Y.Z.7z where X.Y.Z the version
|
|
|
|
number (for example 0.4.0).
|
2014-09-08 12:41:45 +00:00
|
|
|
|
|
|
|
Extract the contents of the archive
|
|
|
|
$ 7z x callirhoe-X.Y.Z.7z
|
|
|
|
|
|
|
|
Change into program's directory
|
|
|
|
$ cd callirhoe-X.Y.Z
|
|
|
|
|
|
|
|
Now you can launch the program, e.g.
|
|
|
|
|
|
|
|
$ ./callirhoe.py foo.pdf
|
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
See section 3 for how to install callirhoe so that it lies in your
|
|
|
|
executable path.
|
2014-09-08 12:41:45 +00:00
|
|
|
|
|
|
|
2) FROM SVN
|
|
|
|
|
|
|
|
Checkout the latest version from the svn:
|
|
|
|
|
|
|
|
$ svn checkout https://callirhoe.googlecode.com/svn/trunk callirhoe-svn
|
|
|
|
|
|
|
|
Change into directory
|
|
|
|
|
|
|
|
$ cd callirhoe-svn
|
|
|
|
|
|
|
|
After a few days/weeks/months... you may update to the latest version:
|
|
|
|
|
|
|
|
$ svn up
|
|
|
|
|
|
|
|
You can launch the program as usual:
|
|
|
|
|
2014-09-25 23:32:39 +00:00
|
|
|
$ ./callirhoe.py foo.pdf
|
2014-11-05 10:59:40 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
3) INSTALLING INTO BINARY PATH
|
2014-11-05 13:56:11 +00:00
|
|
|
|
|
|
|
You can add a link to your path, $HOME/bin or /usr/local/bin:
|
|
|
|
|
|
|
|
$ ln -s `pwd`/callirhoe.py $HOME/bin/callirhoe
|
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
You can do the same with calmagick.py. You may also install it
|
|
|
|
system-wide, for example in /opt. In this case, keep in mind, that
|
|
|
|
~/.callirhoe/ is also searched for additional definitions, styles etc.
|
2014-11-05 13:56:11 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
If you do not plan to mess with the source, you may create a binary
|
|
|
|
python package. This is not exactly a binary, it is a zip archive
|
|
|
|
containing compiled python bytecode, which is quite compact. To do so,
|
|
|
|
simply run:
|
2014-11-05 13:56:11 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
$ make
|
2014-11-05 13:56:11 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
This will create two executables, 'callirhoe' and 'calmagick'. Now you
|
|
|
|
can install them into your binary path as follows:
|
2014-11-05 13:56:11 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
$ make install
|
2014-11-05 13:56:11 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
this will typically install to /usr/local/bin (and the holiday files into
|
|
|
|
/usr/local/share/callirhoe/holidays). You can specify another prefix:
|
2014-11-05 13:56:11 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
$ make install DESTDIR=/my/other/dir
|
2014-11-05 13:56:11 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
Now you can remove the source dir, as it is no longer needed.
|
2014-11-05 10:59:40 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
4) INSTALLATION FOR ARCH LINUX
|
2014-11-05 10:59:40 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
There is a PKGBUILD file you can use to install. Normally you get just
|
2014-11-06 17:49:44 +00:00
|
|
|
the PKGBUILD from the webpage from AUR
|
|
|
|
(https://aur.archlinux.org/packages/callirhoe/). It is also included in
|
|
|
|
the source distribution, but this is a bit redundant (see below).
|
2014-11-05 10:59:40 +00:00
|
|
|
|
|
|
|
Place the PKGBUILD into a directory and run:
|
2014-11-05 11:09:00 +00:00
|
|
|
|
2014-11-05 11:13:18 +00:00
|
|
|
$ makepkg -si
|
2014-11-05 11:09:00 +00:00
|
|
|
|
2014-11-06 17:02:32 +00:00
|
|
|
( -s will automatically install missing depedencies; also note that this
|
|
|
|
will redownload the source from the svn )
|
2014-11-05 10:59:40 +00:00
|
|
|
|
|
|
|
Arch will do the rest for you.
|
|
|
|
|
|
|
|
In the unlikely event that you don't have "makepkg" already installed
|
|
|
|
you can find information about it's installation here:
|
|
|
|
|
|
|
|
https://wiki.archlinux.org/index.php/Arch_User_Repository
|