Mac OS X
From gPodderWiki
gPodder is now available in MacPorts for installing on Mac OS X. Thanks to neric27 who has created the Portfile for gPodder.
Contents |
[edit] Helpful resources
[edit] Installing MacPorts
You can obviously skip this step if you have already installed MacPorts. Advanced users might also opt to install MacPorts from source instead of using the .dmg installer.
- Go to http://www.macports.org/install.php
- Install the "dmg" disk image for your version of Mac OS X
- Get yourself some coffee (or tea, if you prefer) - finishing the installation takes a while
[edit] Installing gPodder using the "port" command
After installing MacPorts, you should have the port command available:
- Open a Terminal window
- Enter "sudo port install gpodder" (or
sudo port install gpodder +quartz- see Alternative: Native OSX GTK+ section bellow) - Enter your password (it won't be displayed, just type it and hit enter)
- Get yourself some coffee and watch an episode or your favourite TV show
Depending on how much you have installed from MacPorts before, the installation of gPodder can be quicker or slower (if you start afresh, it will take longer, because it has to build more dependencies - if you have installed things like GTK+, Python, PyGTK, etc.., it should be done soon).
[edit] Installing gPodder using a MacPorts GUI frontend
You can also install gPodder using one of the GUI frontends for MacPorts:
[edit] Troubleshooting
[edit] ImportError: No module named gpodder
This has happend to me after installing gPodder using MacPorts. To fix it, edit the file /opt/local/bin/gpodder:
- Change the first line to
#!/opt/local/bin/python2.6
- Replace the section that tries to import the D-Bus modules with:
sys.path.insert(0, '/opt/local/lib/python2.6/site-packages') have_dbus = False
(Message from the OS X maintainer)
I filed a bug to myself to fix this - it should be committed soon :
http://trac.macports.org/ticket/22522
Don't worry, it is FIXED now !
[edit] D-Bus error: Not enough memory
This error happens when the D-Bus session daemon cannot be started. You can fix this by editing /opt/local/lib/python2.6/site-packages/gpodder/gui.py:
- In the
tryblock that imports the D-Bus module, add this code:
raise ImportError('No D-Bus on Mac OS X')
- OR install dbus in macports :
sudo port install dbus
the services are disabled by default.
Load and enable the system bus :
sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
You have to load org.freedesktop.dbus-session.plist as normal user, but you must enable it first :
sudo vi /Library/LaunchAgents/org.freedesktop.dbus-session.plist
(remove the disabled = true entry at the begining of the file)
launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
Now dbus will be launched at startup, and gpodder should find it !
[edit] Alternative: Native OSX GTK+
If you would like a native application, simply select the quartz variant of gpodder
sudo port install gpodder +quartz
Note that this will not rebuild the full GTK stack to use native (aka Quartz) rendering if gtk is already installed. So the command can fail along the way. If it happens, you'll have to reconsider using the quartz variant or reinstall gtk2 and everything that depends on it (and a few packages it depends on, like cairo, pango, etc.). I do not know of a way to have a native GTK stack AND an X11 GTK stack active at the same time.
If you want to use a standalone build of everything (i.e. not use MacPorts),
see this mailing list post for instructions. You're on your own, and the instructions are probably not up-to-date.

Home
News
Download
Help
Bugs
Web Service