gtk_webkit_pdf 0.0.2.1 → 0.0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -52,4 +52,21 @@ MIDDLEWARE SUPPORT
52
52
  You can enable middleware by adding following line to config/application.rb
53
53
  config.middleware.use GTK::Middleware
54
54
 
55
+ INSTALLATION
56
+ ============
57
+ 1.You need to install the following development packages,
58
+ 1 . gtk
59
+ 2 . libsoup
60
+ 3 . webkitgtk
61
+ 4 . atk
62
+ 5 . gdk-pixbuf
63
+ 6 . glib
64
+ 7 . cario
65
+ 8 . pango
66
+ 2.And the following the libs
67
+ 1 . libgtk
68
+ 2 . libwebkitgtk
69
+ 3.NOTE: minimum gtk2 and webkitgtk2 is required.
70
+ 4.Then you can install the gem whether directly or by using bundler.
71
+
55
72
  Thanks to GTK WEBKIT community.
@@ -1,6 +1,27 @@
1
1
  require 'mkmf'
2
2
 
3
- $CFLAGS << " -I /usr/include/gtk-3.0/ -I /usr/include/glib-2.0/ -Wall -Werror -fpic -I /usr/lib/i386-linux-gnu/glib-2.0/include/ -I /usr/include/cairo/ -I /usr/include/pango-1.0/ -I /usr/lib/i386-linux-gnu/gtk-3.0/include -I /usr/include/gdk-pixbuf-2.0/ -I /usr/include/atk-1.0/ -I /usr/include/webkitgtk-3.0/ -I /usr/include/libsoup-2.4/"
3
+ dir_config('gtk', '/usr/include/gtk-3.0', '/usr/lib/i386-linux-gnu/')
4
+ dir_config('gtklinux', '/usr/lib/i386-linux-gnu/gtk-2.0/include', '')
5
+ dir_config('glib', '/usr/include/glib-2.0', '')
6
+
7
+ dir_config('gliblinux', '/usr/lib/i386-linux-gnu/glib-2.0/include/', '')
8
+ dir_config('cairo', '/usr/include/cairo', '')
9
+ dir_config('gdkpixbuf', '/usr/include/gdk-pixbuf-2.0/', '')
10
+
11
+ dir_config('atk', '/usr/include/atk-1.0', '/usr/lib')
12
+ dir_config('webkitgtk', '/usr/include/webkitgtk-1.0', '/usr/lib/webkitgtk-1.0-0')
13
+ dir_config('libsoup', '/usr/include/libsoup-2.4/', '')
14
+
15
+ dir_config('pango', '/usr/include/pango-1.0', '')
16
+
17
+ have_header('gtk/gtk.h')
18
+ have_header('webkit/webkit.h')
19
+
20
+ have_library('gtk-3')
21
+ have_library('webkitgtk-3.0')
22
+
23
+ $CFLAGS << ' -Wall' unless $CFLAGS.split.include?('-Wall')
24
+ $CFLAGS << ' -Werror' unless $CFLAGS.split.include?('-Werror')
25
+ $CFLAGS << ' -fpic' unless $CFLAGS.split.include?('-fpic')
4
26
 
5
- $LIBS << " -L /usr/lib/i386-linux-gnu/ -lgtk-3 -lwebkitgtk-3.0"
6
27
  create_makefile("gtk_webkit_pdf/webkit")
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'gtk_webkit_pdf'
3
- s.version = '0.0.2.1'
3
+ s.version = '0.0.2.2'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
  s.summary = "GTK WEBKIT"
6
6
  s.homepage = "https://github.com/mohanraj-ramanujam/gtk_webkit_pdf"
@@ -7,7 +7,7 @@ require 'gtk_webkit_pdf/webkit'
7
7
 
8
8
  module GTK
9
9
  class Webkit
10
- VERSION = "0.0.2"
10
+ VERSION = "0.0.2.2"
11
11
  CONTENT = 0
12
12
  FILEPATH = 1
13
13
  HTTP_URI = 2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk_webkit_pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.1
4
+ version: 0.0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-16 00:00:00.000000000 Z
12
+ date: 2013-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails