pango 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/pango/rbpangocairo.c +7 -1
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 662f71d5bc0f76137a0e79b3d870cb4bf6209b9c
4
- data.tar.gz: 554e6a111bc007e2cadc0a3c87d043350c88a342
3
+ metadata.gz: 87550c0b7ce0def6e1233888caebd484e2358d49
4
+ data.tar.gz: 2ce32aec338ee546415e130ce26003d0a61126c5
5
5
  SHA512:
6
- metadata.gz: 49422e2f32f2d9eef740195eddadac740f520c5a714b4607c7f5e97fddd93de97bcb40ed22a6b89d9d60d5316ab74a69db1c31972df0add3a0a27f88977d4ea0
7
- data.tar.gz: a019c7d43a1db6e56da0452eda57340aff8589787957af72eceac272e04f5d3341febe0fe1333f0b5df1e1ee631316964af68a1df7a03608ee5ca194ab2d68a2
6
+ metadata.gz: c066ccc145a3104c711ec13ef534fdb646413785f05eeee1a1fc83b101a90a3c2a2de4d8d87af845c1a839538571a224c820e36e1ed901e2e1ee5ab345a930d2
7
+ data.tar.gz: a49d69254dabfad32972101862bbd14a18b06f5c5184505a288cb0115a25b2148981dfc3edff88799b715fa3a8bcf230d09534586e0d1f32459ca029b26963f4
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
15
15
  :name => "harfbuzz",
16
16
  :download_base_url => "http://www.freedesktop.org/software/harfbuzz/release",
17
17
  :label => "HarfBuzz",
18
- :version => "0.9.25",
18
+ :version => "0.9.26",
19
19
  :compression_method => "bz2",
20
20
  :windows => {
21
21
  :configure_args => [
@@ -29,7 +29,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
29
29
  :name => "pango",
30
30
  :download_site => :gnome,
31
31
  :label => "pango",
32
- :version => "1.36.1",
32
+ :version => "1.36.2",
33
33
  :compression_method => "xz",
34
34
  :windows => {
35
35
  :configure_args => [
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2006-2013 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2006-2014 Ruby-GNOME2 Project Team
4
4
  * Copyright (C) 2005 Kouhei Sutou
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -34,6 +34,7 @@ rg_s_create(int argc, VALUE *argv, G_GNUC_UNUSED VALUE klass)
34
34
  if (NIL_P(rb_font_type)) {
35
35
  font_map = pango_cairo_font_map_new();
36
36
  } else {
37
+ #if PANGO_CHECK_VERSION(1, 18, 0)
37
38
  cairo_font_type_t font_type = CAIRO_FONT_TYPE_USER;
38
39
  if (rbgutil_key_equal(rb_font_type, "ft") ||
39
40
  rbgutil_key_equal(rb_font_type, "freetype")) {
@@ -49,6 +50,11 @@ rg_s_create(int argc, VALUE *argv, G_GNUC_UNUSED VALUE klass)
49
50
  RBG_INSPECT(rb_font_type));
50
51
  }
51
52
  font_map = pango_cairo_font_map_new_for_font_type(font_type);
53
+ #else
54
+ rb_raise(rb_eArgError,
55
+ "Pango::CairoFontMap.create with font type "
56
+ "requires Pango 1.18.0 or later");
57
+ #endif
52
58
  }
53
59
 
54
60
  return GOBJ2RVAL(font_map);
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: 2.1.0
4
+ version: 2.2.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: 2013-12-29 00:00:00.000000000 Z
11
+ date: 2014-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.1.0
33
+ version: 2.2.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: 2.1.0
40
+ version: 2.2.0
41
41
  description: Ruby/Pango is a Ruby binding of pango-1.x.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []