pango 1.2.6-x86-mingw32 → 2.0.0-x86-mingw32

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.
data/Rakefile CHANGED
@@ -1,25 +1,29 @@
1
1
  # -*- ruby -*-
2
2
 
3
3
  $LOAD_PATH.unshift("./../glib2/lib")
4
- require 'gnome2-raketask'
4
+ require "gnome2/rake/package-task"
5
5
 
6
- package = GNOME2Package.new do |_package|
7
- _package.summary = "Ruby/Pango is a Ruby binding of pango-1.x."
8
- _package.description = "Ruby/Pango is a Ruby binding of pango-1.x."
9
- _package.dependency.gem.runtime = [["cairo", ">= 1.10.0"], "glib2"]
10
- _package.win32.packages = []
11
- _package.win32.dependencies = []
12
- _package.win32.build_dependencies = ["glib2"]
13
- _package.win32.build_packages = [
6
+ package_task = GNOME2::Rake::PackageTask.new do |package|
7
+ package.summary = "Ruby/Pango is a Ruby binding of pango-1.x."
8
+ package.description = "Ruby/Pango is a Ruby binding of pango-1.x."
9
+ package.dependency.gem.runtime = [["cairo", ">= 1.10.0"], "glib2"]
10
+ package.windows.packages = []
11
+ package.windows.dependencies = []
12
+ package.windows.build_dependencies = ["glib2", "gobject-introspection"]
13
+ package.external_packages = [
14
14
  {
15
15
  :name => "pango",
16
16
  :download_site => :gnome,
17
17
  :label => "pango",
18
18
  :version => "1.34.0",
19
- :configure_args => [],
20
19
  :compression_method => "xz",
20
+ :windows => {
21
+ :configure_args => [
22
+ "--enable-introspection",
23
+ ],
24
+ },
21
25
  }
22
26
  ]
23
27
  end
24
- package.define_tasks
28
+ package_task.define
25
29
 
data/lib/1.9/pango.so CHANGED
Binary file
data/lib/2.0/pango.so CHANGED
Binary file
data/lib/pango.rb CHANGED
@@ -20,7 +20,7 @@ end
20
20
  base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
21
21
  vendor_dir = base_dir + "vendor" + "local"
22
22
  vendor_bin_dir = vendor_dir + "bin"
23
- GLib.prepend_environment_path(vendor_bin_dir)
23
+ GLib.prepend_dll_path(vendor_bin_dir)
24
24
  begin
25
25
  major, minor, _ = RUBY_VERSION.split(/\./)
26
26
  require "#{major}.#{minor}/pango.so"
@@ -28,6 +28,15 @@ rescue LoadError
28
28
  require "pango.so"
29
29
  end
30
30
 
31
+ if vendor_dir.exist?
32
+ begin
33
+ require "gobject-introspection"
34
+ vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
35
+ GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
36
+ rescue LoadError
37
+ end
38
+ end
39
+
31
40
  module Pango
32
41
  LOG_DOMAIN = "Pango"
33
42
 
Binary file
Binary file
Binary file