pango 1.2.6-x86-mingw32 → 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +15 -11
- data/lib/1.9/pango.so +0 -0
- data/lib/2.0/pango.so +0 -0
- data/lib/pango.rb +10 -1
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/share/gir-1.0/Pango-1.0.gir +10392 -0
- data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +764 -0
- metadata +8 -4
data/Rakefile
CHANGED
@@ -1,25 +1,29 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
3
|
$LOAD_PATH.unshift("./../glib2/lib")
|
4
|
-
require
|
4
|
+
require "gnome2/rake/package-task"
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
-
|
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.
|
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
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|