christopheraue / ruby-uinput-keyboard

Ruby wrapper around uinput to create a virtual keyboard.
4 stars 0 forks source link

Gem dependency is not correct. #1

Open zw963 opened 8 years ago

zw963 commented 8 years ago

When i install uinput-keybaord gem directly:

gem install uinput-keyboard
Fetching: ffi-1.9.10.gem (100%)
Building native extensions.  This could take a while...
Successfully installed ffi-1.9.10
Fetching: libxkbcommon-1.0.0.gem (100%)
Successfully installed libxkbcommon-1.0.0
Fetching: xkbcommon-0.1.0.gem (100%)
ERROR:  Error installing uinput-keyboard:
    xkbcommon requires uinput (~> 1.0)

I don't know why xkbcommon gem install not trigger uinput gem install. does something run with

  spec.add_dependency "uinput-device", "~> 0.2"
  spec.add_dependency "xkbcommon", "~> 0.1"

should be use add_runtime_dependency instead?

christopheraue commented 8 years ago

add_dependency is an alias for add_runtime_dependency.

zw963 commented 8 years ago

i create a new gemset, will purl ruby 2.2.4 environment, and try again, it still not work.

gem install uinput-keyboard
Fetching: ffi-1.9.10.gem (100%)
Building native extensions.  This could take a while...
Successfully installed ffi-1.9.10
Fetching: libxkbcommon-1.0.0.gem (100%)
Successfully installed libxkbcommon-1.0.0
Fetching: xkbcommon-0.1.0.gem (100%)
ERROR:  Error installing uinput-keyboard:
    xkbcommon requires uinput (~> 1.0)

*** LOCAL GEMS ***

Does you test for non-bunder install ?

christopheraue commented 8 years ago

Does you test for non-bunder install ?

No