pdf-wrapper 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/CHANGELOG +5 -0
  2. data/README.rdoc +14 -8
  3. data/Rakefile +5 -5
  4. metadata +3 -59
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ v0.4.1 (12th October 2010)
2
+ * Stop using the ruby-gnome2 gems to satisfy dependencies
3
+ * They can't be installed by non-root users, so don't play nice
4
+ with bundler
5
+
1
6
  v0.4.0 (11th October 2010)
2
7
  * Extra flexibility in positioning of images
3
8
  * replace :center option to image() method with :position and :vposition
@@ -50,15 +50,21 @@ James Healy <jimmy@deefa.com>
50
50
 
51
51
  = Dependencies
52
52
 
53
- As of September 2010 all these dependencies are satisfied by gems. All of them are bindings
54
- to C libraries, so you will need the libraries and headers installed on your system
55
- before installing them.
56
-
57
53
  * ruby/cairo[http://cairographics.org/rcairo/]
58
- * ruby/pango[http://ruby-gnome2.sourceforge.jp/]
59
- * ruby/rsvg2[http://ruby-gnome2.sourceforge.jp/]
60
- * ruby/gdkpixbuf[http://ruby-gnome2.sourceforge.jp/]
61
- * ruby/poppler[http://ruby-gnome2.sourceforge.jp/]
54
+ * ruby/pango[http://ruby-gnome2.sourceforge.jp/] (optional, required to add text)
55
+ * ruby/rsvg2[http://ruby-gnome2.sourceforge.jp/] (optional, required for SVG support)
56
+ * ruby/gdkpixbuf[http://ruby-gnome2.sourceforge.jp/] (optional, required for GIF/JPG support)
57
+ * ruby/poppler[http://ruby-gnome2.sourceforge.jp/] (optional, required for embedding PDF images)
58
+
59
+ These are all ruby bindings to C libraries. On Debian/Ubuntu based systems
60
+ (which I develop on) you can get them by running:
61
+
62
+ aptitude install libcairo-ruby libpango1-ruby librsvg2-ruby libpoppler-glib-ruby
63
+
64
+ For users of other systems, I'd love to receive info on how you set these bindings up.
65
+
66
+ ruby/cairo is also available as a gem (cairo), which may be installable if you have a copy
67
+ of the cairo source available on your system.
62
68
 
63
69
  = Compatibility
64
70
 
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ require 'roodi'
9
9
  require 'roodi_task'
10
10
 
11
11
 
12
- PKG_VERSION = "0.4.0"
12
+ PKG_VERSION = "0.4.1"
13
13
  PKG_NAME = "pdf-wrapper"
14
14
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
15
15
 
@@ -77,10 +77,10 @@ spec = Gem::Specification.new do |spec|
77
77
  spec.rubyforge_project = "pdf-wrapper"
78
78
  spec.description = "A unicode aware PDF writing library that uses the ruby bindings to various c libraries ( like cairo, pango, poppler and rsvg ) to do the heavy lifting."
79
79
  spec.add_dependency("cairo", "~>1.8")
80
- spec.add_dependency("pango")
81
- spec.add_dependency("poppler")
82
- spec.add_dependency("gdk_pixbuf2")
83
- spec.add_dependency("rsvg2")
80
+ #spec.add_dependency("pango")
81
+ #spec.add_dependency("poppler")
82
+ #spec.add_dependency("gdkpixbuf")
83
+ # TODO - add rsvg2
84
84
  end
85
85
 
86
86
  # package the library into a gem
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf-wrapper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - James Healy
@@ -33,62 +33,6 @@ dependencies:
33
33
  version: "1.8"
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: pango
38
- prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
48
- type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: poppler
52
- prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
62
- type: :runtime
63
- version_requirements: *id003
64
- - !ruby/object:Gem::Dependency
65
- name: gdk_pixbuf2
66
- prerelease: false
67
- requirement: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
- version: "0"
76
- type: :runtime
77
- version_requirements: *id004
78
- - !ruby/object:Gem::Dependency
79
- name: rsvg2
80
- prerelease: false
81
- requirement: &id005 !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
90
- type: :runtime
91
- version_requirements: *id005
92
36
  description: A unicode aware PDF writing library that uses the ruby bindings to various c libraries ( like cairo, pango, poppler and rsvg ) to do the heavy lifting.
93
37
  email: jimmy@deefa.com
94
38
  executables: []