These will be used to unify the label namespaces in embedded plists,
i.e. 'homebrew.mxcl.<formula>'.
plist_path returns the full path to a plist file located at the top
level of the keg; plist_path.basename can be used if just the filename
is needed.
c.f. Homebrew/homebrew#9346.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Added install flags to the mysql formula to allow the ARCHIVE and BLACKHOLE
storage engines to be compiled in.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Not sure how I failed so badly at logic. This should be rewritten so that the build info has a tested MacOS version too. However it seems unlikely that the same LLVM versions on different platforms would have different compile errors. So we'll risk it, and it'll be informative for us too.
MySQL client compiles with EditLine wrapper by default. This formula
configures the build to use readline since it's superior in handling
multibyte input, enabling use of non-English languages in the mysql
prompt.
Users can still choose to use EditLine with the `--with-libedit` flag.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
1. Added dependency on pidof. This is necessary for
"mysql.server status" to work fully.
2. Added #{HOMEBREW_PREFIX}/bin to PATH in mysql.server
so that it can find Homebrew-installed pidof.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
1. Added cmake args necessary to link docs, info files, and
shared data into the usual Homebrew locations. This prevents
all the message catalogues from being spattered in #{share} and
allows the doc and info files to appear in expected places.
2. Restored mysql.server to #{bin} and put it back in caveats.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Switch the MySQL formula to use the official MySQL mirror, rather than
the hardcoded Swedish one that's having issues.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Updated the install instructions in the caveats so that the default case
is installing under the user's own account, and note that you should
do 'mysql -uroot' to test the connection.
Added instructions on how to do a manual setup to any folder under any
user account.
Remove the 'data' folder from the prefix, so the setup script
will not try to create databases there. Putting databases
in the prefix instead of directly in /usr/local means they
get deleted on a MySQL update, which is not what you want.
Documentation now has instructions on creating ~/Library/LaunchAgents
directory for first time installs of Formulas.
Appending trailing slash to Formula documentation in regards to copying
plists to LaunchAgents directory.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
New option in mysql formula which commands to build embedded server
static library (libmysqld.a) needed by various software (e.g. Amarok).
ClosesHomebrew/homebrew#4008.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>