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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0b42b85710695988c4ec730e0503c597205fb2a4253fb0108c2f0bc5327f9ee
4
- data.tar.gz: 7ffeab045ddaef1945a032ee322fbe31eff5649a3089c16ff97932556e8e3ba1
3
+ metadata.gz: 9fa6661385c27c06dee7592dc312e72d93bfbb301fcadf1f37c2a12b01539b55
4
+ data.tar.gz: 6e41accf25108ddd328e5c7fdeacb3bd43b23f4fb25d8942cd21f7b5ad1fe3ab
5
5
  SHA512:
6
- metadata.gz: 3e368319b45d1717fbfeb47ecb5f7e73c1d0ff07674f047ea4b7a9d5e52e057ad5a8af99fba5799995dadfbc64360557f437b56c1670ee7929a53d169747e49d
7
- data.tar.gz: 81fe87d8d6dfdb3830bffce437a43db23ed58db8880789f68d5592ee2405b9e3a671ffa68aaac0d046c532abd8181219145f45a9800ce67b71f11514efb183c8
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/GTK3 in
8
- [Ruby-GNOME2](https://ruby-gnome.github.io/)
9
- * [WebKitGTK+](http://webkitgtk.org/) 2.4.11 or later.
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 (c) 2013 Ruby-GNOME2 Project Team
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.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2017-2019 Ruby-GNOME Project Team
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-3.0"
32
+ package_id = "webkitgtk-6.0"
33
33
  unless PKGConfig.check_version?(package_id)
34
- unless NativePackageInstaller.install(:debian => "libwebkitgtk-3.0-dev",
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-2018 Ruby-GNOME2 Project Team
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 "gtk3"
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-GNOME2 Project Team
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
- window = Gtk::Window.new
20
- window.signal_connect("destroy") do
21
- Gtk.main_quit
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-2021 Ruby-GNOME Project Team
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
- "gdk3",
31
- "gtk3",
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("gtk3", "= #{s.version}")
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.3
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-19 00:00:00.000000000 Z
10
+ date: 2024-09-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
- name: gtk3
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.3
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.3
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: []