{"action":"created","issue":{"url":"https://api.github.com/repos/mbuesch/razer/issues/56","labels_url":"https://api.github.com/repos/mbuesch/razer/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/mbuesch/razer/issues/56/comments","events_url":"https://api.github.com/repos/mbuesch/razer/issues/56/events","html_url":"https://github.com/mbuesch/razer/pull/56","id":125147965,"number":56,"title":"WIP/RFC Freedesktop stuff","user":{"login":"mjtorn","id":78427,"avatar_url":"https://avatars.githubusercontent.com/u/78427?v=3","gravatar_id":"","url":"https://api.github.com/users/mjtorn","html_url":"https://github.com/mjtorn","followers_url":"https://api.github.com/users/mjtorn/followers","following_url":"https://api.github.com/users/mjtorn/following{/other_user}","gists_url":"https://api.github.com/users/mjtorn/gists{/gist_id}","starred_url":"https://api.github.com/users/mjtorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjtorn/subscriptions","organizations_url":"https://api.github.com/users/mjtorn/orgs","repos_url":"https://api.github.com/users/mjtorn/repos","events_url":"https://api.github.com/users/mjtorn/events{/privacy}","received_events_url":"https://api.github.com/users/mjtorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-06T10:18:30Z","updated_at":"2016-01-06T18:33:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mbuesch/razer/pulls/56","html_url":"https://github.com/mbuesch/razer/pull/56","diff_url":"https://github.com/mbuesch/razer/pull/56.diff","patch_url":"https://github.com/mbuesch/razer/pull/56.patch"},"body":"Hi!\r\n\r\nI was thinking of how cool it would be if I could run this on my Steam Machine and also test adding non-steam \"games\" into the Steam UI.\r\n\r\nThis works on my Debian Stable, but unfortunately it fails on the Steam Machine for two reasons:\r\n\r\n  1. PySide is only suggested\r\n  2. PySide is not provided for SteamOS\r\n\r\nWhat do people think is a good solution? Bunding PySide is a possibility, but somewhat annoying.\r\n\r\nMaybe it could be re-written in C++, but that's a pretty big undertaking, although SteamOS seems to provide only qt4.\r\n\r\nThe trendy answer would probably be to make it a Docker container, but I'm not a huge fan and can't be arsed to see if Docker's a possibility on SteamOS.\r\n\r\nAll that aside, the branch works for me and though IANAL I read up on Razer's brand rules wrt the use of their logo and that should be legit too.\r\n\r\nBut I'm really hoping to make this somehow usable on an actual gaming machine..."},"comment":{"url":"https://api.github.com/repos/mbuesch/razer/issues/comments/169412683","html_url":"https://github.com/mbuesch/razer/pull/56#issuecomment-169412683","issue_url":"https://api.github.com/repos/mbuesch/razer/issues/56","id":169412683,"user":{"login":"mjtorn","id":78427,"avatar_url":"https://avatars.githubusercontent.com/u/78427?v=3","gravatar_id":"","url":"https://api.github.com/users/mjtorn","html_url":"https://github.com/mjtorn","followers_url":"https://api.github.com/users/mjtorn/followers","following_url":"https://api.github.com/users/mjtorn/following{/other_user}","gists_url":"https://api.github.com/users/mjtorn/gists{/gist_id}","starred_url":"https://api.github.com/users/mjtorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjtorn/subscriptions","organizations_url":"https://api.github.com/users/mjtorn/orgs","repos_url":"https://api.github.com/users/mjtorn/repos","events_url":"https://api.github.com/users/mjtorn/events{/privacy}","received_events_url":"https://api.github.com/users/mjtorn/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T18:33:13Z","updated_at":"2016-01-06T18:33:13Z","body":"I took a deeper look at this, then.\r\n\r\nFirst I made sure git knows how to clean up after itself, ie `find . -name .gitignore | xargs rm -v`. Removing ignore lists means `git clean` sees _all_ untracked files and can delete them for me.\r\n\r\n`cmake .` rendered the desktop file and all others and `make` built it. So this step is still ok.\r\n\r\nI ran `git clean -df`, so the tree's clean, and `dpkg-buildpackage -us -uc` gives me other types of errors now as well as the desktop file. This is where it gets fun (<- that's sarcasm).\r\n\r\nThis is the new stuff, kind of worrysome, but may have flooded by before without me noticing, if it doesn't really affect the package construction and is more benign than it seems:\r\n\r\n    Synchronizing state for razerd.service with sysvinit using update-rc.d...\r\n    Executing /usr/sbin/update-rc.d razerd defaults\r\n    insserv: fopen(K01connman): Operation not permitted\r\n    update-rc.d: error: insserv rejected the script header\r\n    *** Error in `systemctl': double free or corruption (fasttop): 0x000055a9541a0af0 ***\r\n    CMake Warning at cmake_install.cmake:101 (message):\r\n      WARNING: systemctl --system enable razerd.service failed: Child aborted\r\n\r\n      If you use systemd, enable razerd.service manually\r\n\r\nAnd the old one. why isn't the .desktop file created by dpkg-buildpackage while it is created by running cmake?\r\n\r\n    CMake Error at cmake_install.cmake:119 (file):\r\n      file INSTALL cannot find\r\n      \"/home/mjt/src/git_checkouts/razer/razercfg.desktop\".\r\n\r\nLast but not least, to preempt the question \"What happens if I don't use the implicit `fakeroot` mechanism but actually `sudo dpkg-buildpackage -us -uc`?\"\r\n\r\n    Executing /usr/sbin/update-rc.d razerd defaults\r\n    Executing /usr/sbin/update-rc.d razerd enable\r\n    -- systemctl --system enable razerd.service: 0\r\n    CMake Error at cmake_install.cmake:119 (file):\r\n      file INSTALL cannot find\r\n      \"/home/mjt/src/git_checkouts/razer/razercfg.desktop\".\r\n\r\n\r\n    Makefile:69: recipe for target 'install' failed\r\n\r\nWithout any of the permission-denied or memory-management-is-hard type of errors.\r\n"}}