pango 3.5.0 → 4.0.1

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: f5c7971e49c9d7418ec2c1bd93f7463a9265ae283283d487173602dc11fcab3e
4
- data.tar.gz: 53ce605e63dfd2caf744520cf68389f98870683c17c9a631dee26b541bdfc4ac
3
+ metadata.gz: 3ea5b1ee1a66400d424ae7a5da9a54851d8965f85f3f3379cbb3ae295dd973b4
4
+ data.tar.gz: dddc760450b7962b84a77ab14aed31d75b4e54dd506840a70601699a1031ead9
5
5
  SHA512:
6
- metadata.gz: 382c6b5da562c55d5562b8f58351df4b278740f59eabb4a1dab74134a55765d082172a2b8a2b215accb872334b8c9da615fa7652229bf7a4225455cc2df23947
7
- data.tar.gz: d8126d43e3d52f0afd374dd85f2d964b9d7d6bccaaccdeaadd8428e46ceead84b61a9608747f7eff7221df7529b0e53918f2ee789b1225dfaf9b7ae22db663eb
6
+ metadata.gz: e237ebd410c383cb4f53dce399a9301916beba52e189a84845c0ce8db207626899254c5bfa1d7e495ad7e52104ed8a77e2c1618713629ac43f30a7f94208f41d
7
+ data.tar.gz: ce71a9f6ee8da235d6257c79325a2d62e4fbbe5e1d4efef5c27102684a3f74ae82a2671198b89e05d98af6acf5b8228cf95815704a5ddc6f593f13bf69cac6c2
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2017 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2017-2022 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
@@ -23,10 +23,12 @@
23
23
  #define RG_TARGET_NAMESPACE cAttrIterator
24
24
  #define _SELF(self) (RVAL2PANGOATTRITERATOR(self))
25
25
 
26
- G_DEFINE_BOXED_TYPE(PangoAttrIterator,
27
- pango_attr_iterator,
28
- pango_attr_iterator_copy,
29
- pango_attr_iterator_destroy);
26
+ #if !PANGO_CHECK_VERSION(1, 44, 0)
27
+ G_DEFINE_BOXED_TYPE(PangoAttrIterator,
28
+ pango_attr_iterator,
29
+ pango_attr_iterator_copy,
30
+ pango_attr_iterator_destroy);
31
+ #endif
30
32
 
31
33
  static VALUE
32
34
  rg_attrs(VALUE self)
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2017-2018 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2017-2022 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
@@ -20,14 +20,6 @@
20
20
 
21
21
  #include "rb-pango-private.h"
22
22
 
23
- #ifndef PANGO_CHECK_VERSION
24
- # define PANGO_CHECK_VERSION(major, minor, micro) \
25
- (PANGO_VERSION_MAJOR > (major) || \
26
- (PANGO_VERSION_MAJOR == (major) && PANGO_VERSION_MINOR > (minor)) || \
27
- (PANGO_VERSION_MAJOR == (major) && PANGO_VERSION_MINOR == (minor) && \
28
- PANGO_VERSION_MICRO >= (micro)))
29
- #endif
30
-
31
23
  #if !PANGO_CHECK_VERSION(1, 44, 0)
32
24
  static GType
33
25
  pango_attribute_get_type(void)
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2017 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2017-2022 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
@@ -22,6 +22,14 @@
22
22
 
23
23
  #include "rb-pango.h"
24
24
 
25
+ #ifndef PANGO_CHECK_VERSION
26
+ # define PANGO_CHECK_VERSION(major, minor, micro) \
27
+ (PANGO_VERSION_MAJOR > (major) || \
28
+ (PANGO_VERSION_MAJOR == (major) && PANGO_VERSION_MINOR > (minor)) || \
29
+ (PANGO_VERSION_MAJOR == (major) && PANGO_VERSION_MINOR == (minor) && \
30
+ PANGO_VERSION_MICRO >= (micro)))
31
+ #endif
32
+
25
33
  G_GNUC_INTERNAL void rbpango_attribute_init(VALUE mPango);
26
34
  G_GNUC_INTERNAL void rbpango_attr_iterator_init(VALUE mPango);
27
35
  G_GNUC_INTERNAL void rbpango_attr_list_init(VALUE mPango);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pango
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo-gobject
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.5.0
19
+ version: 4.0.1
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.5.0
26
+ version: 4.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gobject-introspection
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.5.0
33
+ version: 4.0.1
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.5.0
40
+ version: 4.0.1
41
41
  description: Ruby/Pango is a Ruby binding of pango-1.x based on GObject-Introspection.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -88,7 +88,7 @@ metadata:
88
88
  mailing_list_uri: https://sourceforge.net/p/ruby-gnome2/mailman/ruby-gnome2-devel-en
89
89
  source_code_uri: https://github.com/ruby-gnome/ruby-gnome/tree/master/pango
90
90
  msys2_mingw_dependencies: pango
91
- post_install_message:
91
+ post_install_message:
92
92
  rdoc_options: []
93
93
  require_paths:
94
94
  - lib
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubygems_version: 3.4.0.dev
107
- signing_key:
107
+ signing_key:
108
108
  specification_version: 4
109
109
  summary: Ruby/Pango is a Ruby binding of pango-1.x.
110
110
  test_files: []