gdk3 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/Rakefile +20 -3
  2. metadata +13 -13
data/Rakefile CHANGED
@@ -34,7 +34,24 @@ package.define_tasks
34
34
 
35
35
 
36
36
  namespace :win32 do
37
- desc "create default settings.ini"
37
+ namespace :theme do
38
+ desc "Install Greybird theme"
39
+ task :greybird do
40
+ themes_dir = File.join("vendor", "local", "share", "themes")
41
+ mkdir_p(themes_dir)
42
+ theme_dir = File.join(themes_dir, "Greybird")
43
+ rm_rf(theme_dir)
44
+ sh("git", "clone", "--depth", "1",
45
+ "https://github.com/shimmerproject/Greybird",
46
+ theme_dir)
47
+ rm_rf(File.join(theme_dir, ".git"))
48
+ end
49
+ end
50
+
51
+ desc "Install all themes"
52
+ task :theme => ["win32:theme:greybird"]
53
+
54
+ desc "Create default settings.ini"
38
55
  task :settings do
39
56
  config_dir = File.join("vendor", "local", "etc", "gtk-3.0")
40
57
  mkdir_p(config_dir)
@@ -42,12 +59,12 @@ namespace :win32 do
42
59
  File.open(settings_ini_path, "w") do |settings_ini|
43
60
  settings_ini.puts(<<-EOS)
44
61
  [Settings]
45
- # gtk-theme-name = MS-Windows
62
+ gtk-theme-name = Greybird
46
63
  EOS
47
64
  end
48
65
  end
49
66
 
50
67
  namespace :builder do
51
- task :after => ["win32:settings"]
68
+ task :after => ["win32:theme", "win32:settings"]
52
69
  end
53
70
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdk3
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - The Ruby-GNOME2 Project Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-01-24 00:00:00 Z
18
+ date: 2013-01-30 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: atk
@@ -25,12 +25,12 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- hash: 31
28
+ hash: 29
29
29
  segments:
30
30
  - 1
31
31
  - 2
32
- - 0
33
- version: 1.2.0
32
+ - 1
33
+ version: 1.2.1
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency
@@ -41,12 +41,12 @@ dependencies:
41
41
  requirements:
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- hash: 31
44
+ hash: 29
45
45
  segments:
46
46
  - 1
47
47
  - 2
48
- - 0
49
- version: 1.2.0
48
+ - 1
49
+ version: 1.2.1
50
50
  type: :runtime
51
51
  version_requirements: *id002
52
52
  - !ruby/object:Gem::Dependency
@@ -57,12 +57,12 @@ dependencies:
57
57
  requirements:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- hash: 31
60
+ hash: 29
61
61
  segments:
62
62
  - 1
63
63
  - 2
64
- - 0
65
- version: 1.2.0
64
+ - 1
65
+ version: 1.2.1
66
66
  type: :runtime
67
67
  version_requirements: *id003
68
68
  description: Ruby/GDK3 is a Ruby binding of GDK-3.x.