gdk_pixbuf2 3.0.3-x64-mingw32 → 3.0.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gdk_pixbuf2/extconf.rb +1 -0
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/2.1/gdk_pixbuf2.so +0 -0
- data/lib/2.2/gdk_pixbuf2.so +0 -0
- data/lib/gdk_pixbuf2.rb +37 -1
- data/test/gdk_pixbuf2-test-utils.rb +20 -0
- data/test/run-test.rb +45 -0
- data/test/test-version.rb +47 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +1 -1
- data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 702381ebb2aa56c7f39ffbeb9ccd5108571c281a
|
4
|
+
data.tar.gz: 1079cc0c46f6c73919118c174f4e5a55c4d62b84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 887edcb6a13b18f290a0438d7ba5abe736d7c34f6b14f2bb3d82ca4ed615b08dc8e859f32ed7328cb5e5bc70924020bd28a398d0c765757e482ab2987da563ff
|
7
|
+
data.tar.gz: 826c8b45ffe1d4854a1ee7ee406346aeee2d7f2b71a399cf80428930b87be8140498af4102764443c4edb9e5d3a7552d9a5035900e30d5bbd238b46732688a0b
|
data/ext/gdk_pixbuf2/extconf.rb
CHANGED
data/lib/2.0/gdk_pixbuf2.so
CHANGED
Binary file
|
data/lib/2.1/gdk_pixbuf2.so
CHANGED
Binary file
|
data/lib/2.2/gdk_pixbuf2.so
CHANGED
Binary file
|
data/lib/gdk_pixbuf2.rb
CHANGED
@@ -1,4 +1,20 @@
|
|
1
|
-
|
1
|
+
# Copyright (C) 2002-2015 Ruby-GNOME2 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
|
+
require "glib2"
|
2
18
|
|
3
19
|
base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
|
4
20
|
vendor_dir = base_dir + "vendor" + "local"
|
@@ -39,6 +55,7 @@ module Gdk
|
|
39
55
|
loader
|
40
56
|
end
|
41
57
|
end
|
58
|
+
|
42
59
|
class Pixbuf
|
43
60
|
LOG_DOMAIN = "GdkPixbuf"
|
44
61
|
|
@@ -51,6 +68,25 @@ module Gdk
|
|
51
68
|
end
|
52
69
|
end
|
53
70
|
end
|
71
|
+
|
72
|
+
module Version
|
73
|
+
MAJOR = Gdk::Pixbuf::MAJOR
|
74
|
+
MINOR = Gdk::Pixbuf::MINOR
|
75
|
+
MICRO = Gdk::Pixbuf::MICRO
|
76
|
+
STRING = "#{MAJOR}.#{MINOR}.#{MICRO}"
|
77
|
+
|
78
|
+
class << self
|
79
|
+
def or_later?(major, minor, micro=nil)
|
80
|
+
micro ||= 0
|
81
|
+
version = [
|
82
|
+
MAJOR,
|
83
|
+
MINOR,
|
84
|
+
MICRO,
|
85
|
+
]
|
86
|
+
(version <=> [major, minor, micro]) >= 0
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
54
90
|
end
|
55
91
|
end
|
56
92
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Copyright (C) 2015 Ruby-GNOME2 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
|
+
require "test-unit"
|
18
|
+
|
19
|
+
module GdkPixbufTestUtils
|
20
|
+
end
|
data/test/run-test.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# Copyright (C) 2015 Ruby-GNOME2 Project Team
|
4
|
+
#
|
5
|
+
# This library is free software; you can redistribute it and/or
|
6
|
+
# modify it under the terms of the GNU Lesser General Public
|
7
|
+
# License as published by the Free Software Foundation; either
|
8
|
+
# version 2.1 of the License, or (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This library is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# Lesser General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU Lesser General Public
|
16
|
+
# License along with this library; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
|
+
|
19
|
+
ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
|
20
|
+
ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
|
21
|
+
|
22
|
+
glib_base = File.join(ruby_gnome2_base, "glib2")
|
23
|
+
gdk_pixbuf2_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
|
24
|
+
|
25
|
+
modules = [
|
26
|
+
[glib_base, "glib2"],
|
27
|
+
[gdk_pixbuf2_base, "gdk_pixbuf2"]
|
28
|
+
]
|
29
|
+
modules.each do |target, module_name|
|
30
|
+
if system("which make > /dev/null")
|
31
|
+
`make -C #{target.dump} > /dev/null` or exit(false)
|
32
|
+
end
|
33
|
+
$LOAD_PATH.unshift(File.join(target, "ext", module_name))
|
34
|
+
$LOAD_PATH.unshift(File.join(target, "lib"))
|
35
|
+
end
|
36
|
+
|
37
|
+
$LOAD_PATH.unshift(File.join(glib_base, "test"))
|
38
|
+
require "glib-test-init"
|
39
|
+
|
40
|
+
$LOAD_PATH.unshift(File.join(gdk_pixbuf2_base, "test"))
|
41
|
+
require "gdk_pixbuf2-test-utils"
|
42
|
+
|
43
|
+
require "gdk_pixbuf2"
|
44
|
+
|
45
|
+
exit Test::Unit::AutoRunner.run(true)
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# Copyright (C) 2015 Ruby-GNOME2 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
|
+
class TestGdkPixbufVersion < Test::Unit::TestCase
|
18
|
+
include GdkPixbufTestUtils
|
19
|
+
|
20
|
+
test "STRING" do
|
21
|
+
major = Gdk::Pixbuf::Version::MAJOR
|
22
|
+
minor = Gdk::Pixbuf::Version::MINOR
|
23
|
+
micro = Gdk::Pixbuf::Version::MICRO
|
24
|
+
assert_equal([major, minor, micro].join("."),
|
25
|
+
Gdk::Pixbuf::Version::STRING)
|
26
|
+
end
|
27
|
+
|
28
|
+
sub_test_case("#or_later?") do
|
29
|
+
test "same" do
|
30
|
+
assert_true(Gdk::Pixbuf::Version.or_later?(Gdk::Pixbuf::Version::MAJOR,
|
31
|
+
Gdk::Pixbuf::Version::MINOR,
|
32
|
+
Gdk::Pixbuf::Version::MICRO))
|
33
|
+
end
|
34
|
+
|
35
|
+
test "later" do
|
36
|
+
assert_true(Gdk::Pixbuf::Version.or_later?(Gdk::Pixbuf::Version::MAJOR,
|
37
|
+
Gdk::Pixbuf::Version::MINOR - 1,
|
38
|
+
Gdk::Pixbuf::Version::MICRO))
|
39
|
+
end
|
40
|
+
|
41
|
+
test "earlier" do
|
42
|
+
assert_false(Gdk::Pixbuf::Version.or_later?(Gdk::Pixbuf::Version::MAJOR,
|
43
|
+
Gdk::Pixbuf::Version::MINOR + 1,
|
44
|
+
Gdk::Pixbuf::Version::MICRO))
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -17,7 +17,7 @@ old_library='libpixbufloader-svg.a'
|
|
17
17
|
inherited_linker_flags=' -pthread'
|
18
18
|
|
19
19
|
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=' -
|
20
|
+
dependency_libs=' -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/rcairo.win64/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/rsvg2/vendor/local/lib /home/vagrant/ruby-gnome2.win64/rsvg2/vendor/local/lib/librsvg-2.la -L/home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/gdk_pixbuf2/vendor/local/lib /home/vagrant/ruby-gnome2.win64/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgio-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpangocairo-1.0.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpangoft2-1.0.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libharfbuzz.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpangowin32-1.0.la /home/vagrant/ruby-gnome2.win64/pango/vendor/local/lib/libpango-1.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgmodule-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgthread-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libffi.la /home/vagrant/rcairo.win64/vendor/local/lib/libcairo.la -lpthread /home/vagrant/rcairo.win64/vendor/local/lib/libpixman-1.la /home/vagrant/rcairo.win64/vendor/local/lib/libfontconfig.la /home/vagrant/rcairo.win64/vendor/local/lib/libfreetype.la -lgdi32 -lmsimg32 /home/vagrant/rcairo.win64/vendor/local/lib/libpng16.la /home/vagrant/ruby-gnome2.win64/rsvg2/vendor/local/lib/libcroco-0.6.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.la /home/vagrant/rcairo.win64/vendor/local/lib/libxml2.la -lz -lws2_32'
|
21
21
|
|
22
22
|
# Names of additional weak libraries provided by this library
|
23
23
|
weak_library_names=''
|
Binary file
|
Binary file
|
@@ -17,7 +17,7 @@ old_library=''
|
|
17
17
|
inherited_linker_flags=' -pthread'
|
18
18
|
|
19
19
|
# Libraries that this one depends upon.
|
20
|
-
dependency_libs=' -
|
20
|
+
dependency_libs=' -L/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib -L/home/vagrant/rcairo.win64/vendor/local/lib -L/home/vagrant/ruby-gnome2.win64/gdk_pixbuf2/vendor/local/lib /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libffi.la /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win64/glib2/vendor/local/lib/libintl.la /home/vagrant/rcairo.win64/vendor/local/lib/libpng16.la -lz -lole32'
|
21
21
|
|
22
22
|
# Names of additional weak libraries provided by this library
|
23
23
|
weak_library_names=''
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdk_pixbuf2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glib2
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.
|
19
|
+
version: 3.0.4
|
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.0.
|
26
|
+
version: 3.0.4
|
27
27
|
description: Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
@@ -65,6 +65,9 @@ files:
|
|
65
65
|
- sample/simpleanim.rb
|
66
66
|
- sample/utils.rb
|
67
67
|
- sample/xpm.rb
|
68
|
+
- test/gdk_pixbuf2-test-utils.rb
|
69
|
+
- test/run-test.rb
|
70
|
+
- test/test-version.rb
|
68
71
|
- vendor/local/bin/gdk-pixbuf-csource.exe
|
69
72
|
- vendor/local/bin/gdk-pixbuf-pixdata.exe
|
70
73
|
- vendor/local/bin/gdk-pixbuf-query-loaders.exe
|