{"action":"created","issue":{"url":"https://api.github.com/repos/PhilippeSigaud/Pegged/issues/171","labels_url":"https://api.github.com/repos/PhilippeSigaud/Pegged/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/PhilippeSigaud/Pegged/issues/171/comments","events_url":"https://api.github.com/repos/PhilippeSigaud/Pegged/issues/171/events","html_url":"https://github.com/PhilippeSigaud/Pegged/issues/171","id":128369176,"number":171,"title":"debian package for pegged","user":{"login":"ikod","id":1273417,"avatar_url":"https://avatars.githubusercontent.com/u/1273417?v=3","gravatar_id":"","url":"https://api.github.com/users/ikod","html_url":"https://github.com/ikod","followers_url":"https://api.github.com/users/ikod/followers","following_url":"https://api.github.com/users/ikod/following{/other_user}","gists_url":"https://api.github.com/users/ikod/gists{/gist_id}","starred_url":"https://api.github.com/users/ikod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikod/subscriptions","organizations_url":"https://api.github.com/users/ikod/orgs","repos_url":"https://api.github.com/users/ikod/repos","events_url":"https://api.github.com/users/ikod/events{/privacy}","received_events_url":"https://api.github.com/users/ikod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-24T03:17:30Z","updated_at":"2016-01-24T21:02:09Z","closed_at":null,"body":"Hello,\r\n\r\nI'd like to have debian package for pegged, but can't find any on the network. If you think it is worth of effors I can do all wrapping and pull request.\r\n\r\nThanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PhilippeSigaud/Pegged/issues/comments/174341403","html_url":"https://github.com/PhilippeSigaud/Pegged/issues/171#issuecomment-174341403","issue_url":"https://api.github.com/repos/PhilippeSigaud/Pegged/issues/171","id":174341403,"user":{"login":"veelo","id":7306553,"avatar_url":"https://avatars.githubusercontent.com/u/7306553?v=3","gravatar_id":"","url":"https://api.github.com/users/veelo","html_url":"https://github.com/veelo","followers_url":"https://api.github.com/users/veelo/followers","following_url":"https://api.github.com/users/veelo/following{/other_user}","gists_url":"https://api.github.com/users/veelo/gists{/gist_id}","starred_url":"https://api.github.com/users/veelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veelo/subscriptions","organizations_url":"https://api.github.com/users/veelo/orgs","repos_url":"https://api.github.com/users/veelo/repos","events_url":"https://api.github.com/users/veelo/events{/privacy}","received_events_url":"https://api.github.com/users/veelo/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T21:02:09Z","updated_at":"2016-01-24T21:02:09Z","body":"Hi ikod,\r\n\r\nSince you are offering to do the work, I suppose you have the need for a binary distribution. Which suggests you are distributing an application that builds on Pegged, and you want to link to it dynamically, correct? Could you please expand on the way you use Pegged, because it surprises me a little that you would want to package Pegged separately, as a binary.\r\n\r\nSince Pegged is essentially a code-generating library, its value is in my eyes mostly in the _development_ of parsers. That suggests a source distribution. The code that ends up in binary form in the parser is contained in one file `peg.d`, which is just 3k LoC, including a lot of unit tests. It would produce a tiny binary --- is it worth linking to dynamically?\r\n\r\nNow, applications that use Pegged and are distributed as a Debian package will need the Pegged source to be built. You could argue that a Debian source package of Pegged would be desirable. But isn't it much more straight forward and generic to make dub a build-dependency and use it in the package recipe to download the appropriate version of Pegged? Pegged doesn't even need to be compiled separately, its files can just be listed as part of the compilation of the main application.\r\n\r\nThis approach holds for many D libraries, I think. So testing the process and documenting it would be a nice contribution, if you are interested.\r\n\r\nBastiaan."}}