libnotify 0.5.6.pre → 0.5.6.pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/libnotify/ffi.rb +4 -2
- data/lib/libnotify/version.rb +1 -1
- metadata +4 -3
data/lib/libnotify/ffi.rb
CHANGED
@@ -5,10 +5,12 @@ module Libnotify
|
|
5
5
|
extend ::FFI::Library
|
6
6
|
|
7
7
|
def self.included(base)
|
8
|
-
# Workaround for "half-linked" libnotify.so. Does not work on rubinius!
|
8
|
+
# Workaround for "half-linked" libnotify.so. Does not work on rubinius (no ffi_lib_flags there)!
|
9
9
|
# See: https://bugzilla.redhat.com/show_bug.cgi?id=626852
|
10
10
|
ffi_lib_flags :lazy, :local, :global if respond_to?(:ffi_lib_flags)
|
11
|
-
ffi_lib %w[
|
11
|
+
ffi_lib %w[libgtk-x11-2.0.so.0 libgtk-x11-2.0.so]
|
12
|
+
ffi_lib %w[libgtkmm-2.4.so.1 libgtkmm-2.4.so]
|
13
|
+
ffi_lib %w[libnotify.so.1 libnotify.so libnotify]
|
12
14
|
attach_functions!
|
13
15
|
rescue LoadError => e
|
14
16
|
warn e.message
|
data/lib/libnotify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libnotify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1923832011
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
9
|
- 6
|
10
10
|
- pre
|
11
|
-
|
11
|
+
- 1
|
12
|
+
version: 0.5.6.pre1
|
12
13
|
platform: ruby
|
13
14
|
authors:
|
14
15
|
- Peter Suschlik
|
@@ -16,7 +17,7 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2011-06-
|
20
|
+
date: 2011-06-16 00:00:00 +02:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|