{"action":"created","issue":{"url":"https://api.github.com/repos/pts/sam2p/issues/34","repository_url":"https://api.github.com/repos/pts/sam2p","labels_url":"https://api.github.com/repos/pts/sam2p/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/pts/sam2p/issues/34/comments","events_url":"https://api.github.com/repos/pts/sam2p/issues/34/events","html_url":"https://github.com/pts/sam2p/issues/34","id":301512268,"number":34,"title":"Homebrew formula for easy installation from source on macOS","user":{"login":"sbibauw","id":4708459,"avatar_url":"https://avatars0.githubusercontent.com/u/4708459?v=4","gravatar_id":"","url":"https://api.github.com/users/sbibauw","html_url":"https://github.com/sbibauw","followers_url":"https://api.github.com/users/sbibauw/followers","following_url":"https://api.github.com/users/sbibauw/following{/other_user}","gists_url":"https://api.github.com/users/sbibauw/gists{/gist_id}","starred_url":"https://api.github.com/users/sbibauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbibauw/subscriptions","organizations_url":"https://api.github.com/users/sbibauw/orgs","repos_url":"https://api.github.com/users/sbibauw/repos","events_url":"https://api.github.com/users/sbibauw/events{/privacy}","received_events_url":"https://api.github.com/users/sbibauw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-01T18:33:08Z","updated_at":"2018-03-20T09:27:19Z","closed_at":null,"author_association":"NONE","body":"I think `sam2p` would be perfect with a Homebrew formula for easy installation from source on macOS. I am not an experienced developer and this is my first \"new\" formula, so it should certainly be corrected and improved, but it is a start. \r\n\r\nI copy the ruby Formula here considering the best place would probably to create a `homebrew-pdfutils` or something repo on your Github where adding formulas for `sam2p`, `tif22pnm` and `pdfsizeopt`...\r\n\r\n```ruby\r\nclass Sam2p < Formula\r\n  desc \"Raster image converter with smart PDF and PostScript output\"\r\n  homepage \"https://github.com/pts/sam2p\"\r\n  url \"https://github.com/pts/sam2p/archive/v0.49.4.tar.gz\"\r\n  sha256 \"17313810a724aaf6ef7c146443c452f324edfd70ae291eb1f5a297c621df9d1e\"\r\n  head \"https://github.com/pts/sam2p.git\"\r\n\r\n  def install\r\n    system \"./configure\", \"--disable-debug\",\r\n                          \"--disable-dependency-tracking\",\r\n                          \"--disable-silent-rules\",\r\n                          \"--prefix=#{prefix}\",\r\n                          \"--enable-gif\",\r\n                          \"--enable-lzw\"\r\n    system \"make\"\r\n    system \"make\", \"install\"\r\n  end\r\n\r\n  test do\r\n    system \"#{bin}/sam2p\", \"examples/ptsbanner_zip.job\"\r\n    system \"#{bin}/sam2p\", \"examples/pts2.pbm\", \"try.eps\"\r\n    assert_predicate \"try.eps\", :exist?\r\n  end\r\nend\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/pts/sam2p/issues/comments/374529656","html_url":"https://github.com/pts/sam2p/issues/34#issuecomment-374529656","issue_url":"https://api.github.com/repos/pts/sam2p/issues/34","id":374529656,"user":{"login":"sbibauw","id":4708459,"avatar_url":"https://avatars0.githubusercontent.com/u/4708459?v=4","gravatar_id":"","url":"https://api.github.com/users/sbibauw","html_url":"https://github.com/sbibauw","followers_url":"https://api.github.com/users/sbibauw/followers","following_url":"https://api.github.com/users/sbibauw/following{/other_user}","gists_url":"https://api.github.com/users/sbibauw/gists{/gist_id}","starred_url":"https://api.github.com/users/sbibauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbibauw/subscriptions","organizations_url":"https://api.github.com/users/sbibauw/orgs","repos_url":"https://api.github.com/users/sbibauw/repos","events_url":"https://api.github.com/users/sbibauw/events{/privacy}","received_events_url":"https://api.github.com/users/sbibauw/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T09:27:19Z","updated_at":"2018-03-20T09:27:19Z","author_association":"NONE","body":"@pts Let me know what you think about creating this specific repo for brew formulas. Otherwise, I'll create it myself. In any case, I have the 3 formulas ready (sam2p, tif2pnm and pdfsizeopt)"}}
{"actor":{"display_login":"sbibauw"}}