gdk4 4.2.0 → 4.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1829a37774189cc3a1178a81a7f942a2c687cee29adfa2af397df922505aedf4
4
- data.tar.gz: 2b41566f883ad207ba11b967d26dd703b220878bb382f22245d7887f5188a56d
3
+ metadata.gz: d855dde9ab6c8a6005938b6ec5d60bfd9d24303e5de7c224aea4b7622a80ff94
4
+ data.tar.gz: 6727ef12c2740eef01da88f972372febe4a042bec91282853be4f1fa63fd14e8
5
5
  SHA512:
6
- metadata.gz: f6daf919f93dc509efd8b375a5c1b2a698c45160422d481ad6de14de8faa7171de5c91bafcea0ec06121656740582b7e0a91ccd0db8c24f4645bbaa96d768f6d
7
- data.tar.gz: e75bfd2f51164160e15ca2ca7486d4dbd56eb09d29d6a33c67292770d751abc532650133508c9d537bf72ac5bce167c101880ea31000ea9a045a400662031293
6
+ metadata.gz: 89c2eed93fead8a6987cdfe03fc76eafc8c9a337992b3bf561935c8541f84a6d8a7ab4859e046efc3444a8b668bcd613edc156012ca7c4c723695775db95a5c1
7
+ data.tar.gz: a87e61dd380bae1baebe0491bc527ac690cd55b992c86b166375185971cf28c529b7c3c6a071d9af17317a9d3d963e89d93773d5f4cac8c168925a366d29d1ba
data/lib/gdk4/loader.rb CHANGED
@@ -144,6 +144,7 @@ module Gdk
144
144
 
145
145
  def require_post_libraries
146
146
  require_relative "cursor"
147
+ require_relative "memory-texture"
147
148
  require_relative "paintable"
148
149
  require_relative "rectangle"
149
150
  require_relative "rgba"
@@ -0,0 +1,26 @@
1
+ # Copyright (C) 2023 Ruby-GNOME Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ module Gdk
18
+ class MemoryTexture
19
+ alias_method :initialize_raw, :initialize
20
+ private
21
+ def initialize(width, height, format, bytes, stride)
22
+ @bytes = bytes
23
+ initialize_raw(width, height, format, bytes, stride)
24
+ end
25
+ end
26
+ end
@@ -15,7 +15,7 @@
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
  class TestGdkKeyval < Test::Unit::TestCase
18
- def test_consntant_name
18
+ def test_constant_name
19
19
  assert_equal("a".unpack("c")[0], Gdk::Keyval::KEY_a)
20
20
  end
21
21
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdk4
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-08-19 00:00:00.000000000 Z
10
+ date: 2024-04-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: pango
@@ -16,42 +15,42 @@ dependencies:
16
15
  requirements:
17
16
  - - '='
18
17
  - !ruby/object:Gem::Version
19
- version: 4.2.0
18
+ version: 4.2.2
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - '='
25
24
  - !ruby/object:Gem::Version
26
- version: 4.2.0
25
+ version: 4.2.2
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: gdk_pixbuf2
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - '='
32
31
  - !ruby/object:Gem::Version
33
- version: 4.2.0
32
+ version: 4.2.2
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - '='
39
38
  - !ruby/object:Gem::Version
40
- version: 4.2.0
39
+ version: 4.2.2
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: cairo-gobject
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - '='
46
45
  - !ruby/object:Gem::Version
47
- version: 4.2.0
46
+ version: 4.2.2
48
47
  type: :runtime
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - '='
53
52
  - !ruby/object:Gem::Version
54
- version: 4.2.0
53
+ version: 4.2.2
55
54
  description: Ruby/GDK4 is a Ruby binding of GDK-4.x.
56
55
  email: ruby-gnome2-devel-en@lists.sourceforge.net
57
56
  executables: []
@@ -69,6 +68,7 @@ files:
69
68
  - lib/gdk4/cursor.rb
70
69
  - lib/gdk4/deprecated.rb
71
70
  - lib/gdk4/loader.rb
71
+ - lib/gdk4/memory-texture.rb
72
72
  - lib/gdk4/paintable.rb
73
73
  - lib/gdk4/rectangle.rb
74
74
  - lib/gdk4/rgba.rb
@@ -90,7 +90,6 @@ licenses:
90
90
  - LGPL-2.1+
91
91
  metadata:
92
92
  msys2_mingw_dependencies: gtk4
93
- post_install_message:
94
93
  rdoc_options: []
95
94
  require_paths:
96
95
  - lib
@@ -105,8 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
104
  - !ruby/object:Gem::Version
106
105
  version: '0'
107
106
  requirements: []
108
- rubygems_version: 3.5.0.dev
109
- signing_key:
107
+ rubygems_version: 3.6.0.dev
110
108
  specification_version: 4
111
109
  summary: Ruby/GDK4 is a Ruby binding of GDK-4.x.
112
110
  test_files: []