{"action":"created","issue":{"url":"https://api.github.com/repos/samaaron/sonic-pi/issues/1864","repository_url":"https://api.github.com/repos/samaaron/sonic-pi","labels_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/1864/labels{/name}","comments_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/1864/comments","events_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/1864/events","html_url":"https://github.com/samaaron/sonic-pi/issues/1864","id":309160559,"number":1864,"title":"(Linux) Packaging","user":{"login":"dvzrv","id":432519,"avatar_url":"https://avatars2.githubusercontent.com/u/432519?v=4","gravatar_id":"","url":"https://api.github.com/users/dvzrv","html_url":"https://github.com/dvzrv","followers_url":"https://api.github.com/users/dvzrv/followers","following_url":"https://api.github.com/users/dvzrv/following{/other_user}","gists_url":"https://api.github.com/users/dvzrv/gists{/gist_id}","starred_url":"https://api.github.com/users/dvzrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvzrv/subscriptions","organizations_url":"https://api.github.com/users/dvzrv/orgs","repos_url":"https://api.github.com/users/dvzrv/repos","events_url":"https://api.github.com/users/dvzrv/events{/privacy}","received_events_url":"https://api.github.com/users/dvzrv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-03-27T22:46:52Z","updated_at":"2018-04-11T17:31:42Z","closed_at":null,"author_association":"NONE","body":"I'm currently trying to package sonic-pi for Arch Linux' [community] repository.\r\nHowever, this proves extremely painful, because of\r\n* conflicting installation information and about a dozen different \"package scripts\" for various distributions (that all seem slightly different and/or outdated)\r\n* four (!) different make systems (qmake, erlang, something that should probably be ruby bundler and cmake) in use to create (but not install!) this environment\r\n* no [FHS](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard) compliance (which is bad as distribution usually try to avoid dumping applications in `/opt`)\r\n* no [XDG desktop entry](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html) integration\r\n\r\nThis all makes it very hard to package sonic-pi without major headache.\r\n\r\nIt would be very beneficial to have a Make-like system, that takes care of all of the building and installing, as maintaining a package with a lot of customization and workaround steps, such as this, is very time-consuming and therefore off-putting to any packager.\r\n\r\nThere are a few open pull requests, that should be followed through with (e.g. #218, but especially #1291), as they improve on exactly this issue.\r\nHowever, I don't think the latter approach should be chosen for e.g. building the Qt interface. If a standard GNU make is chosen, this can use rake, build the GUI and place things where they should go.\r\n\r\nAccording to FHS, all things below `etc` should actually end up in `/usr/share/sonic-pi`, the executables below `app` in `/usr/bin` and so on.\r\n\r\nI'm currently trying to find a way to make sonic-pi FHS compliant, but I'm not sure it's possible in its current form.\r\nI'd definitely appreciate any help and pointers!"},"comment":{"url":"https://api.github.com/repos/samaaron/sonic-pi/issues/comments/380533629","html_url":"https://github.com/samaaron/sonic-pi/issues/1864#issuecomment-380533629","issue_url":"https://api.github.com/repos/samaaron/sonic-pi/issues/1864","id":380533629,"user":{"login":"SunderB","id":20426079,"avatar_url":"https://avatars1.githubusercontent.com/u/20426079?v=4","gravatar_id":"","url":"https://api.github.com/users/SunderB","html_url":"https://github.com/SunderB","followers_url":"https://api.github.com/users/SunderB/followers","following_url":"https://api.github.com/users/SunderB/following{/other_user}","gists_url":"https://api.github.com/users/SunderB/gists{/gist_id}","starred_url":"https://api.github.com/users/SunderB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunderB/subscriptions","organizations_url":"https://api.github.com/users/SunderB/orgs","repos_url":"https://api.github.com/users/SunderB/repos","events_url":"https://api.github.com/users/SunderB/events{/privacy}","received_events_url":"https://api.github.com/users/SunderB/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T17:31:42Z","updated_at":"2018-04-11T17:31:42Z","author_association":"CONTRIBUTOR","body":"Maybe we could have some config file to specify where files and folders are located?"}}
{"actor":{"display_login":"SunderB"}}