webkit-gtk 4.2.3 → 4.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/dependency-check/Rakefile +4 -5
- data/lib/webkit-gtk.rb +2 -2
- data/sample/browser.rb +11 -12
- data/test/run-test.rb +3 -3
- data/webkit-gtk.gemspec +3 -5
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fa6661385c27c06dee7592dc312e72d93bfbb301fcadf1f37c2a12b01539b55
|
4
|
+
data.tar.gz: 6e41accf25108ddd328e5c7fdeacb3bd43b23f4fb25d8942cd21f7b5ad1fe3ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fa7a8474176798ba09d40eeea995ffea7c8b3196d0d9c7685b41e15d1d01143498bc973d2b8e0d2bbd330f3fd33b35606d14d210d2151c77ccdd0e503172b58
|
7
|
+
data.tar.gz: 70516b863eb9e22cb8908e5d2f4c03abcfe2b67404003ea4d9e91ebe66ea4261a0c74a5469aa94266f97875fbb77a353235b61136c0af0c480d255671666e792
|
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# Ruby/WebKitGTK
|
2
2
|
|
3
|
-
Ruby/WebKitGTK is a Ruby binding of WebKitGTK
|
3
|
+
Ruby/WebKitGTK is a Ruby binding of WebKitGTK.
|
4
4
|
|
5
5
|
## Requirements
|
6
6
|
|
7
|
-
* Ruby/GObjectIntrospection and Ruby/
|
8
|
-
[Ruby-
|
9
|
-
* [WebKitGTK
|
7
|
+
* Ruby/GObjectIntrospection and Ruby/GTK4 in
|
8
|
+
[Ruby-GNOME](https://ruby-gnome.github.io/)
|
9
|
+
* [WebKitGTK](http://webkitgtk.org/) 2.42.0 or later.
|
10
10
|
|
11
11
|
## Install
|
12
12
|
|
@@ -14,7 +14,7 @@ Ruby/WebKitGTK is a Ruby binding of WebKitGTK+.
|
|
14
14
|
|
15
15
|
## License
|
16
16
|
|
17
|
-
Copyright (
|
17
|
+
Copyright (C) 2013-2024 Ruby-GNOME Project Team
|
18
18
|
|
19
19
|
This program is free software. You can distribute/modify this program
|
20
20
|
under the terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
|
data/dependency-check/Rakefile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2017-
|
1
|
+
# Copyright (C) 2017-2024 Ruby-GNOME Project Team
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -29,11 +29,10 @@ end
|
|
29
29
|
namespace :dependency do
|
30
30
|
desc "Check dependency"
|
31
31
|
task :check do
|
32
|
-
package_id = "webkitgtk-
|
32
|
+
package_id = "webkitgtk-6.0"
|
33
33
|
unless PKGConfig.check_version?(package_id)
|
34
|
-
unless NativePackageInstaller.install(:debian => "libwebkitgtk-
|
35
|
-
:redhat => "pkgconfig(#{package_id})"
|
36
|
-
:msys2 => "webkitgtk3")
|
34
|
+
unless NativePackageInstaller.install(:debian => "libwebkitgtk-6.0-dev",
|
35
|
+
:redhat => "pkgconfig(#{package_id})")
|
37
36
|
exit(false)
|
38
37
|
end
|
39
38
|
end
|
data/lib/webkit-gtk.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2013-
|
1
|
+
# Copyright (C) 2013-2024 Ruby-GNOME Project Team
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -14,7 +14,7 @@
|
|
14
14
|
# License along with this library; if not, write to the Free Software
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
|
-
require "
|
17
|
+
require "gtk4"
|
18
18
|
|
19
19
|
module WebKitGtk
|
20
20
|
class << self
|
data/sample/browser.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2013 Ruby-
|
1
|
+
# Copyright (C) 2013-2024 Ruby-GNOME Project Team
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -16,15 +16,14 @@
|
|
16
16
|
|
17
17
|
require "webkit-gtk"
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
app = Gtk::Application.new("com.github.ruby-gnome.webkit-gtk.Browser",
|
20
|
+
[:non_unique])
|
21
|
+
app.signal_connect("activate") do
|
22
|
+
window = Gtk::ApplicationWindow.new(app)
|
23
|
+
window.set_default_size(1200, 800)
|
24
|
+
view = WebKitGtk::WebView.new
|
25
|
+
view.load_uri("https://webkitgtk.org/")
|
26
|
+
window.child = view
|
27
|
+
window.present
|
22
28
|
end
|
23
|
-
|
24
|
-
view = WebKitGtk::WebView.new
|
25
|
-
view.load_uri("http://webkitgtk.org/")
|
26
|
-
|
27
|
-
window.add(view)
|
28
|
-
window.show_all
|
29
|
-
|
30
|
-
Gtk.main
|
29
|
+
app.run([$0] + ARGV)
|
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2013-
|
3
|
+
# Copyright (C) 2013-2024 Ruby-GNOME 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
|
@@ -27,8 +27,8 @@ run_test(__dir__,
|
|
27
27
|
"atk",
|
28
28
|
"cairo-gobject",
|
29
29
|
"pango",
|
30
|
-
"
|
31
|
-
"
|
30
|
+
"gdk4",
|
31
|
+
"gtk4",
|
32
32
|
"webkit-gtk",
|
33
33
|
]) do
|
34
34
|
require_relative "../../gobject-introspection/test/gobject-introspection-test-utils"
|
data/webkit-gtk.gemspec
CHANGED
@@ -20,8 +20,8 @@ require_relative "../glib2/version"
|
|
20
20
|
|
21
21
|
Gem::Specification.new do |s|
|
22
22
|
s.name = "webkit-gtk"
|
23
|
-
s.summary = "Ruby/WebKitGTK is a Ruby binding of WebKitGTK
|
24
|
-
s.description = "Ruby/WebKitGTK is a Ruby binding of WebKitGTK
|
23
|
+
s.summary = "Ruby/WebKitGTK is a Ruby binding of WebKitGTK."
|
24
|
+
s.description = "Ruby/WebKitGTK is a Ruby binding of WebKitGTK."
|
25
25
|
s.author = "The Ruby-GNOME Project Team"
|
26
26
|
s.email = "ruby-gnome2-devel-en@lists.sourceforge.net"
|
27
27
|
s.homepage = "https://ruby-gnome.github.io/"
|
@@ -40,7 +40,5 @@ Gem::Specification.new do |s|
|
|
40
40
|
s.files += Dir.glob("sample/**/*")
|
41
41
|
s.files += Dir.glob("test/**/*")
|
42
42
|
|
43
|
-
s.add_runtime_dependency("
|
44
|
-
|
45
|
-
s.metadata["msys2_mingw_dependencies"] = "webkitgtk3"
|
43
|
+
s.add_runtime_dependency("gtk4", "= #{s.version}")
|
46
44
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webkit-gtk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME Project Team
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2024-09-
|
10
|
+
date: 2024-09-23 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
|
-
name:
|
13
|
+
name: gtk4
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - '='
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 4.2.
|
18
|
+
version: 4.2.4
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
23
|
- - '='
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: 4.2.
|
26
|
-
description: Ruby/WebKitGTK is a Ruby binding of WebKitGTK
|
25
|
+
version: 4.2.4
|
26
|
+
description: Ruby/WebKitGTK is a Ruby binding of WebKitGTK.
|
27
27
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
28
28
|
executables: []
|
29
29
|
extensions:
|
@@ -46,8 +46,7 @@ files:
|
|
46
46
|
homepage: https://ruby-gnome.github.io/
|
47
47
|
licenses:
|
48
48
|
- LGPL-2.1+
|
49
|
-
metadata:
|
50
|
-
msys2_mingw_dependencies: webkitgtk3
|
49
|
+
metadata: {}
|
51
50
|
rdoc_options: []
|
52
51
|
require_paths:
|
53
52
|
- lib
|
@@ -64,5 +63,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
63
|
requirements: []
|
65
64
|
rubygems_version: 3.6.0.dev
|
66
65
|
specification_version: 4
|
67
|
-
summary: Ruby/WebKitGTK is a Ruby binding of WebKitGTK
|
66
|
+
summary: Ruby/WebKitGTK is a Ruby binding of WebKitGTK.
|
68
67
|
test_files: []
|