csd 0.3.6 → 0.3.7
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/VERSION +1 -1
- data/img/minisip2.png +0 -0
- data/img/minisip3.png +0 -0
- data/lib/csd/application/decklink/base.rb +6 -0
- data/lib/csd/application/minisip/base.rb +10 -7
- data/lib/csd/application/minisip/phonebook_example.rb +3 -2
- metadata +6 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.7
|
data/img/minisip2.png
ADDED
Binary file
|
data/img/minisip3.png
ADDED
Binary file
|
@@ -34,6 +34,7 @@ module CSD
|
|
34
34
|
extract
|
35
35
|
apply
|
36
36
|
add_boot_loader
|
37
|
+
update_firmware
|
37
38
|
send_notification
|
38
39
|
cleanup_working_directory
|
39
40
|
end
|
@@ -110,6 +111,11 @@ module CSD
|
|
110
111
|
Cmd.run "sudo cp #{Path.new_kernel_module} #{Path.kernel_module}", :announce_pwd => false
|
111
112
|
end
|
112
113
|
end
|
114
|
+
|
115
|
+
def update_firmware
|
116
|
+
UI.info "Updating Decklink Firmware (if needed)".green.bold
|
117
|
+
Cmd.run "BlackmagicFirmwareUpdater update", :announce_pwd => false
|
118
|
+
end
|
113
119
|
|
114
120
|
def send_notification
|
115
121
|
Cmd.run %{notify-send --icon=gdm-setup "DeckLink installation complete" "You are now ready to use your Blackmagic Design DeckLink device." }, :internal => true, :die_on_failure => false
|
@@ -91,15 +91,18 @@ module CSD
|
|
91
91
|
# On Windows it will just crash here, unless we determine where the heck sudo make install is targetting at :)
|
92
92
|
raise Error::Minisip::BuildDirNotFound, "Sorry, `/usr/local´ could not be found but was requested as MiniSIP target. Use `#{CSD.executable}´ with the option `--this-user´ instead." unless Path.build.directory?
|
93
93
|
end
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
94
|
+
# These commented out things were needed during the transition period where the location of
|
95
|
+
# the MiniSIP configuration file was not certain. Now it is always the same place.
|
96
|
+
#
|
97
|
+
#if Options.branch == 'master'
|
98
|
+
# # Before TTA made changes in the edge version, this was the location of the address book.
|
99
|
+
# # The master branch resembles the vendor's SVN branch. Whereas any other branch is made by TTA.
|
100
|
+
# Path.phonebook_dir = Pathname.new(ENV['HOME'])
|
101
|
+
# Path.phonebook = Pathname.new(File.join(Path.phonebook_dir, '.minisip.addr'))
|
102
|
+
#else
|
100
103
|
Path.phonebook_dir = Pathname.new(File.join(ENV['HOME'], '.minisip'))
|
101
104
|
Path.phonebook = Pathname.new(File.join(Path.phonebook_dir, 'minisip.addr'))
|
102
|
-
end
|
105
|
+
#end
|
103
106
|
Path.build_bin = Pathname.new(File.join(Path.build, 'bin'))
|
104
107
|
Path.build_gtkgui = Pathname.new(File.join(Path.build_bin, 'minisip_gtkgui'))
|
105
108
|
Path.build_include = Pathname.new(File.join(Path.build, 'include'))
|
@@ -7,8 +7,9 @@ module CSD
|
|
7
7
|
# This Array holds SHA1 hashes of phonebooks that should be overwritten by the AI without asking.
|
8
8
|
#
|
9
9
|
OUTDATED_PHONEBOOKS = [
|
10
|
-
'ad51d1f3ec295dec000d9690bd1b7b801027c958',
|
11
|
-
'611e86dfbf82457d6137371884b8f56d224fbf59' # This is the AI-made phonebook up to (and including) version 0.3.1
|
10
|
+
'ad51d1f3ec295dec000d9690bd1b7b801027c958', # This is the default MiniSIP phonebook
|
11
|
+
'611e86dfbf82457d6137371884b8f56d224fbf59', # This is the AI-made phonebook up to (and including) version 0.3.1
|
12
|
+
'81e65b55af8967c1cbba9947ca0de42fd79a2458' # This is the AI-made phonebook up to (and including) version 0.3.6
|
12
13
|
]
|
13
14
|
|
14
15
|
PHONEBOOK_EXAMPLE = %{
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 7
|
10
|
+
version: 0.3.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Technology Transfer Alliance Team
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-21 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -54,6 +54,8 @@ files:
|
|
54
54
|
- img/installer2.jpg
|
55
55
|
- img/installer3.jpg
|
56
56
|
- img/minisip1.png
|
57
|
+
- img/minisip2.png
|
58
|
+
- img/minisip3.png
|
57
59
|
- img/reboot.png
|
58
60
|
- img/ruby1.png
|
59
61
|
- img/ruby2.png
|