File: README.rdoc

package info (click to toggle)
ruby-cairo 1.15.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 900 kB
  • ctags: 1,364
  • sloc: ansic: 9,174; ruby: 3,620; sh: 116; makefile: 4
file content (120 lines) | stat: -rw-r--r-- 3,012 bytes parent folder | download
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
= README

== Name

rcairo

== Description

Ruby bindings for cairo // cairo extension for Ruby

http://cairographics.org/

== Dependencies

* ruby >= 1.9.3 (2.2 also supported!)
* cairo >= 1.2.0 (1.12.0 also supported!)

== Install

=== Package

This way is recommended.

  # gem install cairo

=== Self build

For experimental users.

Download rcairo-X.Y.Z.tar.gz from http://cairographics.org/releases/

Extracting:
  % tar xvzf rcairo-X.Y.Z.tar.gz

Compiling:
  % cd rcairo-X.Y.Z
  % ruby extconf.rb    # to check for dependencies and create Makefiles
  % make               # to compile

  # make install       # to install the cairo extension.
                       # The samples in the samples folder should be able
                       # to run before installation except text-on-path.rb
                       # and text2.rb. They uses Ruby/Pango with rcairo
                       # support. So you need to install rcairo and build
                       # Ruby/Pango with it before you run them.

Options to extconf.rb:

  * --without-vendor-override: Use system libraries instead of those found in
                               vendor/local for compiling

== Windows

cairo-X.Y.Z-x86-mingw32.gem includes cairo related binaries.

* cairo related binaries:
  http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/

  * cairo-X.Y.Z-a_win32.zip
  * cairo-dev-X.Y.Z-a_win32.zip
  * libpng-X.Y.Z-a_win32.zip
  * zlib-X.Y.Z-a_win32.zip
  * expat_X.Y.Z-a_win32.zip
  * fontconfig_X.Y.Z-a_win32.zip
  * freetype_X.Y.Z-a_win32.zip

== Documents

* Reference manual:
  http://rcairo.github.io/doc/
* Repository of the reference manual:
  http://github.com/rcairo/doc
* An article for rcairo on Rubyst Magazine a.k.a. RubiMa (in Japanese):
  http://jp.rubyist.net/magazine/?0019-cairo

== Source

There is the rcairo repository at GitHub:
http://github.com/rcairo/rcairo

== Mailing list

If you have trouble with cairo or rcairo, or you have some ideas for how
it could be improved, please feel free to send a message to the cairo
mailinglist at cairo@cairographics.org , which is archived at

http://cairographics.org/cgi-bin/mailman/listinfo/cairo

== Thanks

* Yoshinao Muramatsu: win32 surface support patch.
* NANKI Haruo: some bug fix patches.
* Paul van Tilburg:
  * some patches that support ruby 1.9.
  * some suggestions.
* Binzo: some bug reports and fixed that.
* kimura wataru:
  * some advices for RubyCocoa.
  * reports a bug.
* OBATA Akio:
  * reports a bug.
  * some suggestions.
* James Healy: reports bugs.
* Carsten Bormann: A suggestion.
* Davide Rambaldi: A suggestion.
* Yusuke ENDOH: reports a bug.
* Yuta Taniguchi: a bug fix patch.
* kimura wataru:
  * reports a bug.
  * some patches.
* Masayas TARUI:
  * Windows support.
* Stefan Salewski: reports a bug.
* Mamoru Tasaka: reports bugs.
* Nikolai Weibull: reports problems.
* Will Bryant: reports a bug.
* Vasily Fedoseyev: fixes a bug.
* Eric C.: reports a bug.
* Cédric Boutillier: reports a bug.
* tmtms: reports a bug.