This repository has been archived by the owner. It is now read-only.

New formula: gregorio #9160

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

ntmoe commented Dec 18, 2011

This is a new formula for gregorio, a package of tools for the
typesetting of Gregorian chant. This is my first-ever formula
submission, so I don't know if my system calls to brew are
stylistically correct, or if there are other ways of calling
brew commands within the formula.

The gregorio tools include:

  • gabc: a brief notation for representing Gregorian chant
  • GregorioTeX: a TeX style for typesetting scores
  • GregorioXML: an XML representation of a Gregorian chant score

The main work of the Gregorio project is the software program gregorio,
which can manipulate files in gabc notation and convert them into
OpusTeX, GregorioTeX, or GregorioXML files.

New formula: Gregorio, a chant typesetting tool
This is a new formula for `gregorio`, a package of tools for the
typesetting of Gregorian chant. This is my first-ever formula
submission, so I don't know if my system calls to `brew` are
stylistically correct, or if there are other ways of calling
`brew` commands within the formula.

The `gregorio` tools include:

- gabc: a brief notation for representing Gregorian chant

- GregorioTeX: a TeX style for typesetting scores

- GregorioXML: an XML representation of a Gregorian chant score

The main work of the Gregorio project is the software program gregorio,
which can manipulate files in gabc notation and convert them into
OpusTeX, GregorioTeX, or GregorioXML files.
Contributor

adamv commented Dec 18, 2011

Thanks for the submission!

Depending on gettext "ought" to be enough without linking it, as is done in the formula, but of course some things need extra steps. We'll need to find a workaround to doing this linking before merging this.

Potentially adding it to the PATH temporarily would work too.

ntmoe commented Dec 18, 2011

You bet! It turns out that you're right; depending on gettext alone without linking it works.

I've also found that I omitted the part of the install that copies gregorio's style files and fonts to the $TEXMFLOCAL directory, so I've created another commit with the updated formula: 90b8601.

I'm not sure if I should add the new commit to this pull request or if I should close this and open a new pull request; please advise.

Contributor

adamv commented Mar 18, 2012

I've pushed a clean-up here: https://github.com/adamv/homebrew/compare/d

But we can't have a formula do sudo during the install. What are our options?

ntmoe commented Mar 22, 2012

Hmm.. I'm not sure. The sudo only applies to working with the TeX
installation, which is usually done by the MacTeX distribution of TeX
Live (in fact, Homebrew recommends using that distro instead of
compiling TeX & friends from source). Usually, it is installed in
/usr/local/texlive, and so if Homebrew setup was done properly,
sudo shouldn't be needed. But if it's installed somewhere other than
in /usr/local, sudo would be needed.

My thought when adding that note "Your sudo password is required to
copy fonts..." was that after it came up, the user would be prompted
for the sudo password, but I now realize that isn't always the case
on most systems. I can see how it wouldn't be desirable if the user
wasn't given the opportunity to decide whether to go ahead and use
sudo.

Is it okay to use sudo if we were to force it to ask for the
password, or should we give the user a Yes/No choice to proceed with
sudo, or should we just say that "it appears that your TeX
distribution isn't in /usr/local and so this install will fail"?

On Sat, Mar 17, 2012 at 11:46 PM, Adam Vandenberg
reply@reply.github.com
wrote:

I've pushed a clean-up here: https://github.com/adamv/homebrew/compare/d

But we can't have a formula do sudo during the install. What are our options?


Reply to this email directly or view it on GitHub:
mxcl#9160 (comment)

Contributor

adamv commented Apr 29, 2012

We can't allow any sort of user interaction during an install, brew install foo should never block on user input.

Contributor

jacknagel commented Aug 29, 2012

Closing due to no response.

@jacknagel jacknagel closed this Aug 29, 2012

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.