{"action":"closed","issue":{"url":"https://api.github.com/repos/vaiorabbit/ruby-opengl/issues/7","labels_url":"https://api.github.com/repos/vaiorabbit/ruby-opengl/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/vaiorabbit/ruby-opengl/issues/7/comments","events_url":"https://api.github.com/repos/vaiorabbit/ruby-opengl/issues/7/events","html_url":"https://github.com/vaiorabbit/ruby-opengl/issues/7","id":97212091,"number":7,"title":"about the load_dll method","user":{"login":"cedlemo","id":1135841,"avatar_url":"https://avatars.githubusercontent.com/u/1135841?v=3","gravatar_id":"","url":"https://api.github.com/users/cedlemo","html_url":"https://github.com/cedlemo","followers_url":"https://api.github.com/users/cedlemo/followers","following_url":"https://api.github.com/users/cedlemo/following{/other_user}","gists_url":"https://api.github.com/users/cedlemo/gists{/gist_id}","starred_url":"https://api.github.com/users/cedlemo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedlemo/subscriptions","organizations_url":"https://api.github.com/users/cedlemo/orgs","repos_url":"https://api.github.com/users/cedlemo/repos","events_url":"https://api.github.com/users/cedlemo/events{/privacy}","received_events_url":"https://api.github.com/users/cedlemo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-25T09:27:08Z","updated_at":"2015-07-28T16:32:34Z","closed_at":"2015-07-28T16:32:34Z","body":"I am doing some tests on linux and  I was about to modify the script sample/utils/setup_dll in order to make it work on a basic linux installation with those informations:\r\n\r\n    libname.so in /usr/lib\r\n\r\nDon't you think that it would be better to directly set this default in the load_dll def : \r\n\r\n    grep load_dll lib/*                                                                                                                                          \r\n        lib/glfw.rb:  def self.load_dll(lib = nil, path = nil)\r\n       lib/glfw30.rb:  def self.load_dll(lib = nil, path = nil)\r\n       lib/glu.rb:  def self.load_dll(lib = nil, path = nil)\r\n       lib/glut.rb:  def self.load_dll(lib = nil, path = nil)\r\n       lib/opengl_common.rb:  def self.load_dll(lib = nil, path = nil)\r\n\r\n*    opengl_common.rb => libGL.so in /usr/lib\r\n*     glut.rb => libglut.so in /usr/lib\r\n*     glu.rb => libGLU.so in /usr/lib\r\n*     for glfw30.rb I am not sure yet because under linux libglfw.so is the version 3 so it should be libglfw.so in /usr/lib\r\n*    for glfw.rb it should be libglfw2.so in /usr/lib\r\n\r\nAnd let the user add parameters for custom/local libraries informations?\r\n\r\nIf it is ok for you I can send you the related pull request (each will be tested before created of course).\r\n\r\nA last question : as a Linux user the name of the method doesn't make any sense, it must be the same for OSX users because the dll are window shared lib.\r\n\r\nCould it be possible to change that name like something more general *load* or *load_lib*. The use of alias or alias_method can help to with retro compatibility and deprecated message."}}