gdk_pixbuf2 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/dependency-check/Rakefile +45 -0
- data/lib/gdk_pixbuf2/pixbuf.rb +6 -0
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 868679fc485602c13682315e9993342c1781ba6f
|
4
|
+
data.tar.gz: 5ad63e3378e17eb308891264a37adc0f12953d08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f04dfa8a37155c26666723c0b4ab1114e45c7d752772fc981abbb9334eb91030dde4e2fa66e5a1697b0270ee07e1d4cf0172145a42c2d7368f562b3a870d8767
|
7
|
+
data.tar.gz: f0cd078c9aa8919891601427a6cd93d61eb0242383b306d0e418166bbe12395a91c1bd29e683e7b321911fe863653c6c1a74452e1ea6c10158919eccc608fb43
|
data/Rakefile
CHANGED
@@ -36,7 +36,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
36
36
|
:name => "gdk-pixbuf",
|
37
37
|
:download_site => :gnome,
|
38
38
|
:label => "gdk-pixbuf",
|
39
|
-
:version => "2.36.
|
39
|
+
:version => "2.36.6",
|
40
40
|
:compression_method => "xz",
|
41
41
|
:windows => {
|
42
42
|
:configure_args => [
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Copyright (C) 2017 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 "pkg-config"
|
18
|
+
require "native-package-installer"
|
19
|
+
|
20
|
+
case RUBY_PLATFORM
|
21
|
+
when /mingw|mswin/
|
22
|
+
task :default => "nothing"
|
23
|
+
else
|
24
|
+
task :default => "dependency:check"
|
25
|
+
end
|
26
|
+
|
27
|
+
task :nothing do
|
28
|
+
end
|
29
|
+
|
30
|
+
namespace :dependency do
|
31
|
+
desc "Check dependency"
|
32
|
+
task :check do
|
33
|
+
unless PKGConfig.check_version?("gdk-pixbuf-2.0")
|
34
|
+
unless NativePackageInstaller.install(:altlinux => "gdk-pixbuf-devel",
|
35
|
+
:debian => "libgdk-pixbuf2.0-dev",
|
36
|
+
:redhat => "gtk2-devel",
|
37
|
+
:fedora => "gdk-pixbuf2-devel",
|
38
|
+
:arch => "gdk-pixbuf2",
|
39
|
+
:homebrew => "gdk-pixbuf",
|
40
|
+
:macports => "gdk-pixbuf2")
|
41
|
+
exit(false)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
data/lib/gdk_pixbuf2/pixbuf.rb
CHANGED
@@ -174,6 +174,12 @@ module GdkPixbuf
|
|
174
174
|
copy
|
175
175
|
end
|
176
176
|
|
177
|
+
if method_defined?(:pixels_with_length)
|
178
|
+
remove_method :pixels
|
179
|
+
alias_method :pixels, :pixels_with_length
|
180
|
+
remove_method :pixels_with_length
|
181
|
+
end
|
182
|
+
|
177
183
|
def fill!(pixel)
|
178
184
|
fill(pixel)
|
179
185
|
end
|
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.1.
|
4
|
+
version: 3.1.2
|
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: 2017-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gio2
|
@@ -16,21 +16,23 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.1.
|
19
|
+
version: 3.1.2
|
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.1.
|
26
|
+
version: 3.1.2
|
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: []
|
30
|
-
extensions:
|
30
|
+
extensions:
|
31
|
+
- dependency-check/Rakefile
|
31
32
|
extra_rdoc_files: []
|
32
33
|
files:
|
33
34
|
- Rakefile
|
35
|
+
- dependency-check/Rakefile
|
34
36
|
- lib/gdk_pixbuf2.rb
|
35
37
|
- lib/gdk_pixbuf2/deprecated.rb
|
36
38
|
- lib/gdk_pixbuf2/loader.rb
|
@@ -61,7 +63,7 @@ files:
|
|
61
63
|
- test/test-pixbuf.rb
|
62
64
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
63
65
|
licenses:
|
64
|
-
-
|
66
|
+
- LGPL-2.1+
|
65
67
|
metadata: {}
|
66
68
|
post_install_message:
|
67
69
|
rdoc_options: []
|