{"action":"created","issue":{"url":"https://api.github.com/repos/nickguletskii/GLXOSD/issues/65","repository_url":"https://api.github.com/repos/nickguletskii/GLXOSD","labels_url":"https://api.github.com/repos/nickguletskii/GLXOSD/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/nickguletskii/GLXOSD/issues/65/comments","events_url":"https://api.github.com/repos/nickguletskii/GLXOSD/issues/65/events","html_url":"https://github.com/nickguletskii/GLXOSD/pull/65","id":136174391,"number":65,"title":"make it build on systems using /usr/lib64","user":{"login":"kparal","id":755451,"avatar_url":"https://avatars.githubusercontent.com/u/755451?v=3","gravatar_id":"","url":"https://api.github.com/users/kparal","html_url":"https://github.com/kparal","followers_url":"https://api.github.com/users/kparal/followers","following_url":"https://api.github.com/users/kparal/following{/other_user}","gists_url":"https://api.github.com/users/kparal/gists{/gist_id}","starred_url":"https://api.github.com/users/kparal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kparal/subscriptions","organizations_url":"https://api.github.com/users/kparal/orgs","repos_url":"https://api.github.com/users/kparal/repos","events_url":"https://api.github.com/users/kparal/events{/privacy}","received_events_url":"https://api.github.com/users/kparal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nickguletskii/GLXOSD/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"nickguletskii","id":786473,"avatar_url":"https://avatars.githubusercontent.com/u/786473?v=3","gravatar_id":"","url":"https://api.github.com/users/nickguletskii","html_url":"https://github.com/nickguletskii","followers_url":"https://api.github.com/users/nickguletskii/followers","following_url":"https://api.github.com/users/nickguletskii/following{/other_user}","gists_url":"https://api.github.com/users/nickguletskii/gists{/gist_id}","starred_url":"https://api.github.com/users/nickguletskii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickguletskii/subscriptions","organizations_url":"https://api.github.com/users/nickguletskii/orgs","repos_url":"https://api.github.com/users/nickguletskii/repos","events_url":"https://api.github.com/users/nickguletskii/events{/privacy}","received_events_url":"https://api.github.com/users/nickguletskii/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/nickguletskii/GLXOSD/milestones/3","html_url":"https://github.com/nickguletskii/GLXOSD/milestones/v3","labels_url":"https://api.github.com/repos/nickguletskii/GLXOSD/milestones/3/labels","id":1620855,"number":3,"title":"v3","description":"A complete restructuring and rewrite of the project that aims to reduce library compatibility issues, improve performance and greatly speed up development by moving most logic into JIT-compiled Lua code.","creator":{"login":"nickguletskii","id":786473,"avatar_url":"https://avatars.githubusercontent.com/u/786473?v=3","gravatar_id":"","url":"https://api.github.com/users/nickguletskii","html_url":"https://github.com/nickguletskii","followers_url":"https://api.github.com/users/nickguletskii/followers","following_url":"https://api.github.com/users/nickguletskii/following{/other_user}","gists_url":"https://api.github.com/users/nickguletskii/gists{/gist_id}","starred_url":"https://api.github.com/users/nickguletskii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickguletskii/subscriptions","organizations_url":"https://api.github.com/users/nickguletskii/orgs","repos_url":"https://api.github.com/users/nickguletskii/repos","events_url":"https://api.github.com/users/nickguletskii/events{/privacy}","received_events_url":"https://api.github.com/users/nickguletskii/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":3,"state":"closed","created_at":"2016-03-03T18:49:38Z","updated_at":"2016-03-30T20:33:03Z","due_on":null,"closed_at":"2016-03-30T20:30:27Z"},"comments":2,"created_at":"2016-02-24T20:12:46Z","updated_at":"2016-03-30T20:33:03Z","closed_at":"2016-03-30T20:33:03Z","pull_request":{"url":"https://api.github.com/repos/nickguletskii/GLXOSD/pulls/65","html_url":"https://github.com/nickguletskii/GLXOSD/pull/65","diff_url":"https://github.com/nickguletskii/GLXOSD/pull/65.diff","patch_url":"https://github.com/nickguletskii/GLXOSD/pull/65.patch"},"body":"Do not hardcode `<prefix>/lib/` as a library path, that is used in Debian,\r\nbut not in many other distributions (e.g. Fedora). Use GNUInstallDirs\r\ncmake module to automatically get the proper location for your\r\ndistribution.\r\n\r\nA relevant discussion is here:\r\nhttps://cmake.org/pipermail/cmake/2013-July/055371.html\r\nThe cmake module is documented here:\r\nhttps://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html\r\n\r\nThis patch helped me to build glxosd on Fedora (when run as `cmake -DCMAKE_INSTALL_PREFIX=/usr -DINSTALLATION_SUFFIX_64=lib64 -DINSTALLATION_SUFFIX_32=lib -G \"Unix Makefiles\"`).\r\n\r\nPlease note that I'm not a C developer and I have no experience with cmake, so please make sure this still builds well for you on Debian/Ubuntu."},"comment":{"url":"https://api.github.com/repos/nickguletskii/GLXOSD/issues/comments/203622040","html_url":"https://github.com/nickguletskii/GLXOSD/pull/65#issuecomment-203622040","issue_url":"https://api.github.com/repos/nickguletskii/GLXOSD/issues/65","id":203622040,"user":{"login":"nickguletskii","id":786473,"avatar_url":"https://avatars.githubusercontent.com/u/786473?v=3","gravatar_id":"","url":"https://api.github.com/users/nickguletskii","html_url":"https://github.com/nickguletskii","followers_url":"https://api.github.com/users/nickguletskii/followers","following_url":"https://api.github.com/users/nickguletskii/following{/other_user}","gists_url":"https://api.github.com/users/nickguletskii/gists{/gist_id}","starred_url":"https://api.github.com/users/nickguletskii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickguletskii/subscriptions","organizations_url":"https://api.github.com/users/nickguletskii/orgs","repos_url":"https://api.github.com/users/nickguletskii/repos","events_url":"https://api.github.com/users/nickguletskii/events{/privacy}","received_events_url":"https://api.github.com/users/nickguletskii/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T20:33:03Z","updated_at":"2016-03-30T20:33:03Z","body":"The CMake files in GLXOSD version 3 use GNUInstallDirs wherever it is possible. Thank you very much for reporting this issue and thank you very much for your pull request."}}