{"action":"created","issue":{"url":"https://api.github.com/repos/urbit/urbit/issues/141","labels_url":"https://api.github.com/repos/urbit/urbit/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/urbit/urbit/issues/141/comments","events_url":"https://api.github.com/repos/urbit/urbit/issues/141/events","html_url":"https://github.com/urbit/urbit/issues/141","id":41525521,"number":141,"title":"[CLOSED] Homebrew formula [discussion]","user":{"login":"philipcmonk","id":5553176,"avatar_url":"https://avatars.githubusercontent.com/u/5553176?v=3","gravatar_id":"","url":"https://api.github.com/users/philipcmonk","html_url":"https://github.com/philipcmonk","followers_url":"https://api.github.com/users/philipcmonk/followers","following_url":"https://api.github.com/users/philipcmonk/following{/other_user}","gists_url":"https://api.github.com/users/philipcmonk/gists{/gist_id}","starred_url":"https://api.github.com/users/philipcmonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipcmonk/subscriptions","organizations_url":"https://api.github.com/users/philipcmonk/orgs","repos_url":"https://api.github.com/users/philipcmonk/repos","events_url":"https://api.github.com/users/philipcmonk/events{/privacy}","received_events_url":"https://api.github.com/users/philipcmonk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2014-08-29T18:05:00Z","updated_at":"2015-06-16T04:25:31Z","closed_at":null,"body":"<a href=\"https://github.com/dcow\"><img src=\"https://avatars.githubusercontent.com/u/547926?v=2\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [dcow](https://github.com/dcow)**\n_Wednesday May 28, 2014 at 10:06 GMT_\n_Originally opened as https://github.com/urbit/archaeology/issues/141_\n\n----\n\nI'm working on a `brew` formula for Urbit.  Nothing too complicated, but I have com across a few discussion topics.\r\n\r\n*  Because `vere` requires `URBIT_HOME` to be set, the formula must either:\r\n  \r\n  1.  show the user the location of `URBIT_HOME` and instruct them to add the environment variable manually,\r\n  1.  patch the installation to include a wrapper script that sets up and tears down the environment before and after executing `vere`, respectively, or\r\n  1.  attempt to automatically add the variable to the underlying system's default environment during the install process.\r\n  I'm leaning towards option **ii** right now.\r\n\r\n*  There is no install option in the Makefile as is.  I can\r\n\r\n  1.  add an install option to the Makefile, or\r\n  1.  perform the install steps manually during the install phase of the formula.\r\n  Option **i** is reusable by other package managers in the future, but option **ii** wouldn't require modifications to the Makefile.\r\n\r\n*  Is there any special consideration for the `outside` directory?  Or can this be discarded after the build has finished?  Should all of the source simply be discarded?\r\n\r\nHere's how I imagine the directories mapping out:\r\n\r\nProject Location | Installed Location<sup>*</sup>\r\n--- | --- \r\nbin/vere | bin/vere\r\nextras | share/extras\r\nf | src/f\r\ninclude | include\r\noutside | \r\nSpec | share/Spec\r\nurb | opt/urbit\r\nv | src/v\r\n\r\n<sup>*</sup>Installed locations are prefaced by the `brew` install prefix.\r\n\r\nAnd `URBIT_HOME` becomes something like: /usr/local/opt/urbit\r\n\r\nI figure someone may have a more directed understanding of the project; does this look sane?  And, any comments regarding which strategy might be best for handling the actual install?\r\n\r\n\r\n\n"},"comment":{"url":"https://api.github.com/repos/urbit/urbit/issues/comments/112283885","html_url":"https://github.com/urbit/urbit/issues/141#issuecomment-112283885","issue_url":"https://api.github.com/repos/urbit/urbit/issues/141","id":112283885,"user":{"login":"dcow","id":547926,"avatar_url":"https://avatars.githubusercontent.com/u/547926?v=3","gravatar_id":"","url":"https://api.github.com/users/dcow","html_url":"https://github.com/dcow","followers_url":"https://api.github.com/users/dcow/followers","following_url":"https://api.github.com/users/dcow/following{/other_user}","gists_url":"https://api.github.com/users/dcow/gists{/gist_id}","starred_url":"https://api.github.com/users/dcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcow/subscriptions","organizations_url":"https://api.github.com/users/dcow/orgs","repos_url":"https://api.github.com/users/dcow/repos","events_url":"https://api.github.com/users/dcow/events{/privacy}","received_events_url":"https://api.github.com/users/dcow/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T04:25:31Z","updated_at":"2015-06-16T04:25:31Z","body":"@galenwp you have to do `brew edit urbit` then paste the code there or you can [point brew at my version of their head only repository](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/brew-tap.md) and it would presumably find the `urbit` formula. I got it resolved though--misunderstanding on my part.\r\n\r\nNot to hijack but when I do: <kbd>^V</kbd> then type `+talk` it accepts it and pressing <kbd>^V</kbd> cycles between the `:dojo>` prompt and the task list: `?talk, *dojo#`. Pressing <kbd>^X</kbd> does nothing both from the dojo prompt and the task switching interface. I can't seem to get to anything other than a `:dojo>` prompt.\r\n\r\nI tried using an `urbit` I just made from HEAD as well as the one installed via the formula we're working on: same results. I've noticed the dependencies listed under the OSX section for homebrew do not match the ones listed at the top or even under the linux distros section. Namely things like `ragel` and `re2c`. I don't know if this is a problem. Should I file a new issue to get this resolved?"}}