Difference between revisions of "MacPorts"
(format pics) |
(Mention Dock) |
||
Line 19: | Line 19: | ||
[[File:FinderWindow.png|none|frame|Under Applications > MacPorts > mythtv.25]] | [[File:FinderWindow.png|none|frame|Under Applications > MacPorts > mythtv.25]] | ||
− | + | You may want to drag the Myth_Frontend icon onto your Dock if you plan to use it regularly. | |
+ | |||
+ | Myth_Stop_Start provides a quick way to start or quit the Myth backend server program. | ||
[[File:StopStart.png|none|frame|Offers to Stop MythBackend, if running]] | [[File:StopStart.png|none|frame|Offers to Stop MythBackend, if running]] |
Revision as of 18:08, 13 July 2012
Coming soon!
Contents
Goals
Better Mac backend
The current Perl-based build processes are great for producting a self-contained Mac frontend. But if you are like me and want to run the backend on OS X, then having the essential programs packaged deep in an application bundle is less than ideal. The MacPorts distribution aims to make it much easier to install the backend and run it in a production mode:
- Full support of the Perl/python bindings. This means that standard Myth backup, optimization, and metadata functions will work.
- Install and run Myth like other 'server-type' software such as MySQL, file-sharing, web-serving, etc. Control the Myth backend with standard OS X functions (launchctl) and have the system start automatically during the boot process.
- Provide the full suite of myth programs, if you need them, like mythmetadatalookup, mythutil, etc.
The documentation on this page will focus on running the Myth master backend (version 0.25.1), including the MySQL database server, on an OS X machine. Using the MacPorts install, it may be possible to run the machine as a slave backend, as a job queue server or a Myth media server. These latter kinds of configurations haven't been tested. If you do, please share the results by updating these pages!
Consistent, repeatable build process
MacPorts is a stable and mature system for bringing open-source software to the Mac platform. Changes are tested and reviewed before being committed to MacPorts. MacPorts operates some build slaves (Lion and Snow Leopard, both on 64 bit machines, currently) which automatically build the default variant of each port. All this means that if you decide to try building with MacPorts, there is a strong likelihood that it will just work. And, if it doesn't, there is an active support system working to resolve any problems.
Quick Start
ToDo: List of commands
Also installed are some Applescript helpers to simplify common tasks:
You may want to drag the Myth_Frontend icon onto your Dock if you plan to use it regularly.
Myth_Stop_Start provides a quick way to start or quit the Myth backend server program.
Known issues
ToDo:
Plugins experimental, many features not working
Fonts:
http://dejavu-fonts.org/wiki/Download
https://fedorahosted.org/liberation-fonts/
Building Myth on OS X via MacPorts
See Building Myth for Mac with MacPorts
Before first run
Mythconverg database (link)
mysql5 -u root < /opt/local/share/mythtv/database/mc.sql
Directories for TV, Videos, Music, Images, Metadata
MythTV-Setup
MythFillDatabase
Testing
Backend with command line
Frontend: Applescript or command line
Production
Launchd keeps the backend running
Multiple frontends
Job queue on other machines