webkit2-gtk 3.0.9 → 3.1.0

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. checksums.yaml +4 -4
  2. data/Rakefile +34 -31
  3. data/lib/webkit2-gtk.rb +0 -6
  4. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17af827e2ce8406ab15660437677e99401d3dbf0
4
- data.tar.gz: 2c972c1cd0e2c83e3f6f6b5d9c608f9e9bc65695
3
+ metadata.gz: c4a14521e7407234287ca4c45c2ab55fd792d680
4
+ data.tar.gz: 08c6676817f702bc978d66d245085ac9d035507f
5
5
  SHA512:
6
- metadata.gz: b50782e8e7683aa1ce789c77f5cda9b81f512b6f12cdfbff5eaa38a97ee1f50643d2c6fa3d7784dcac2cb4be61f0421da42770be8bad37bb99f4e50bf44e824a
7
- data.tar.gz: b6cba535db3514d8c38c25ca816151f576c9c7a9c8de02506a14a53583587108b95d5c86cefd548c522e3124dbf87198cdfd356e7b7bdd8d4ca648f77591adb9
6
+ metadata.gz: d31f96cbe13aac91a983d7d9c483d3ae6adbe99f873b167fcf9c18c05db2e0c3951a94124e33bb010b4dcd675abbe946785185c6701a495cbb459643780da9d5
7
+ data.tar.gz: b009a9a31bf617a0727a4b420b65eb7c515aadbc7629be803483e65edae04bb92dc65a3914884756fa7486f0e6202ed6563297c1f78d789ec8c198f77bea7534
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- ruby -*-
2
2
  #
3
- # Copyright (C) 2015 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2015-2016 Ruby-GNOME2 Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -44,26 +44,21 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
44
44
  "gstreamer",
45
45
  ]
46
46
 
47
- gstreamer_relative_binary_dir =
48
- package.package.project_root_dir +
49
- "gstreamer" +
50
- package.windows.relative_binary_dir
51
- gstreamer_absolute_binary_dir = gstreamer_relative_binary_dir.expand_path
52
-
53
- rcairo_relative_binary_dir =
54
- package.package.project_root_dir.parent +
55
- "rcairo.#{package.windows.build_architecture_suffix}" +
56
- package.windows.relative_binary_dir
57
- rcairo_absolute_binary_dir = rcairo_relative_binary_dir.expand_path
47
+ rcairo_binary_base_dir =
48
+ package.windows_binary_build_task.rcairo_binary_base_dir
49
+ glib2_binary_base_dir =
50
+ package.windows_binary_build_task.glib2_binary_base_dir
51
+ gstreamer_binary_base_dir =
52
+ package.windows_binary_build_task.binary_base_dir("gstreamer")
58
53
 
59
54
  package.external_packages = [
60
55
  {
61
56
  :name => "libwebp",
62
- :download_base_url => "http://downloads.webmproject.org/releases/webp",
57
+ :download_base_url => "https://storage.googleapis.com/downloads.webmproject.org/releases/webp",
63
58
  :label => "WebP",
64
- :version => "0.5.0",
59
+ :version => "0.5.1",
65
60
  :windows => {
66
- :built_file => "bin/libwebp-5.dll",
61
+ :built_file => "bin/libwebp-6.dll",
67
62
  },
68
63
  },
69
64
  {
@@ -75,7 +70,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
75
70
  :built_file => "bin/libxslt-1.dll",
76
71
  :configure_args => [
77
72
  "--without-python",
78
- "--with-libxml-prefix=#{rcairo_absolute_binary_dir}",
73
+ "--with-libxml-prefix=#{rcairo_binary_base_dir}",
79
74
  ],
80
75
  :patches => [
81
76
  "libxslt-1.1.28-add-mkdir-fallback.diff",
@@ -84,36 +79,44 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
84
79
  },
85
80
  {
86
81
  :name => "webkitgtk",
87
- :download_base_url => "http://webkitgtk.org/releases",
82
+ :download_site => :webkitgtk,
88
83
  :label => "WebKitGTK+",
89
- :version => "2.12.0",
84
+ :version => "2.15.1",
90
85
  :compression_method => "xz",
91
86
  :windows => {
87
+ :build_concurrently => false,
92
88
  :cmake_args => [
93
89
  "-DPORT=GTK",
94
- "-DZLIB_INCLUDE_DIR=#{rcairo_absolute_binary_dir}/include",
95
- "-DZLIB_LIBRARY=#{rcairo_absolute_binary_dir}/lib",
96
- "-DPNG_PNG_INCLUDE_DIR=#{rcairo_absolute_binary_dir}/include",
97
- "-DPNG_LIBRARY=#{rcairo_absolute_binary_dir}/lib",
98
- "-DJPEG_INCLUDE_DIR=#{gstreamer_absolute_binary_dir}/include",
99
- "-DJPEG_LIBRARY=#{gstreamer_absolute_binary_dir}/lib",
100
- "-DFONTCONFIG_INCLUDE_DIR=#{rcairo_absolute_binary_dir}/include",
101
- "-DFONTCONFIG_LIBRARIES=#{rcairo_absolute_binary_dir}/lib",
102
- "-DSQLITE_INCLUDE_DIR=#{gstreamer_absolute_binary_dir}/include",
103
- "-DSQLITE_LIBRARIES=#{gstreamer_absolute_binary_dir}/lib",
90
+ "-DZLIB_INCLUDE_DIR=#{rcairo_binary_base_dir}/include",
91
+ "-DZLIB_LIBRARY=#{rcairo_binary_base_dir}/lib/libzlib.dll.a",
92
+ "-DPNG_PNG_INCLUDE_DIR=#{rcairo_binary_base_dir}/include",
93
+ "-DPNG_LIBRARY=#{rcairo_binary_base_dir}/lib/libpng.dll.a",
94
+ "-DJPEG_INCLUDE_DIR=#{gstreamer_binary_base_dir}/include",
95
+ "-DJPEG_LIBRARY=#{gstreamer_binary_base_dir}/lib/libjpeg.dll.a",
96
+ "-DFONTCONFIG_INCLUDE_DIR=#{rcairo_binary_base_dir}/include",
97
+ "-DFONTCONFIG_LIBRARIES=#{rcairo_binary_base_dir}/lib",
98
+ "-DSQLITE_INCLUDE_DIR=#{gstreamer_binary_base_dir}/include",
99
+ "-DSQLITE_LIBRARIES=#{gstreamer_binary_base_dir}/lib",
100
+ "-DPC_GNUTLS_INCLUDEDIR=#{glib2_binary_base_dir}/include",
101
+ "-DPC_GNUTLS_LIBDIR=#{glib2_binary_base_dir}/lib",
104
102
  "-DENABLE_PLUGIN_PROCESS_GTK2=OFF",
105
103
  "-DENABLE_X11_TARGET=OFF",
104
+ "-DENABLE_JIT=OFF",
106
105
  "-DENABLE_GTKDOC=OFF",
107
- "-DENABLE_CREDENTIAL_STORAGE=OFF",
108
106
  "-DENABLE_GEOLOCATION=OFF",
109
107
  "-DENABLE_OPENGL=OFF",
110
108
  "-DENABLE_SPELLCHECK=OFF",
109
+ "-DENABLE_API_TESTS=OFF",
110
+ "-DENABLE_FETCH_API=OFF",
111
+ "-DENABLE_INDEXED_DATABASE=OFF",
112
+ "-DUSE_SYSTEM_MALLOC=ON",
111
113
  "-DUSE_LIBNOTIFY=OFF",
112
114
  "-DUSE_LIBHYPHEN=OFF",
113
- "-DENABLE_API_TESTS=OFF",
115
+ "-DUSE_LIBSECRET=OFF",
116
+ "-DADDITIONAL_COMPILER_FLAGS=-D_WIN32_WINNT=0x0601 -DWINVER=0x0601",
114
117
  ],
115
118
  :patches => [
116
- "webkitgtk-2.9.92-try-buildable.diff",
119
+ "webkitgtk-2.13.4-try-buildable.diff",
117
120
  ],
118
121
  },
119
122
  },
data/lib/webkit2-gtk.rb CHANGED
@@ -69,12 +69,6 @@ module WebKit2Gtk
69
69
  require "webkit2-gtk/version" if @version_module.const_defined?(:MAJOR)
70
70
  end
71
71
 
72
- def initialize_post(object)
73
- super
74
- return unless object.is_a?(GLib::Object)
75
- self.class.reference_gobject(object, :sink => true)
76
- end
77
-
78
72
  def load_constant_info(info)
79
73
  case info.name
80
74
  when /_VERSION\z/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webkit2-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-12 00:00:00.000000000 Z
11
+ date: 2016-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gobject-introspection
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.9
19
+ version: 3.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.9
26
+ version: 3.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gtk3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.9
33
+ version: 3.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.9
40
+ version: 3.1.0
41
41
  description: Ruby/WebKit2GTK is a Ruby binding of WebKit2GTK+.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []