Jump to Main Content

Mac OS X - X11, Intel

IMPORTANT: If you are running Mac OS X 10.4 (Tiger) or older, then the following instructions can work for you. Otherwise, for Mac OS X (all versions), the JX Client is the recommended client option.

The Mac OS X - X11 (Intel) client is available through three methods

Any updates or corrections to this page can be made or discussed on the Crossfire Wiki, http://wiki.cross-fire.org/dokuwiki/doku.php/client:osx

Fink

Description:

Mac OS X package for crossfire-client in the Fink package manager

Installation Instructions:

Follow the install instructions found at the Fink website, http://www.finkproject.org/download/index.php

IMPORTANT: By default, Fink contains v1.7.0 of the client - see further down the page to learn how to upgrade the client installation

  1. Download the installer disk image
  2. Double-click the .dmg to mount the disk image
  3. Double-click the "Fink Installer.pkg" package inside. Follow the instructions on screen.
  4. Open a new Terminal.app window and run the following: fink scanpackages; fink index
  5. Once that is finished, install any updates available for Fink. In the same Terminal.app window enter the following: sudo apt-get update ; sudo apt-get install fink
    1. Another option for updating: fink selfupdate;fink update-all

Note: Leopard Users will need to compile from source as there is binary release available

Screen Shot:

A screen shot of the GTK-v1 Client is here.

A screen shot of the GTK-v2 Client is here.

Location:

http://fink.sourceforge.net/pdb/package.php/crossfire

Precompiled Upgrade Package

IMPORTANT: The packages are considered Experimental, which means it has limited testing - but the results have been successful.

Once the client has been successfully installed, there is a .dmg file available for download that will let you run any of the three clients (crossfire-client-x11, crossfire-client-gtk and crossfire-client-gtk2)

Location:

Installation Instructions:

  1. Wait for the file to download and follow the screen prompts
  2. Accept the prompts about installing the package
  3. In a new window, click on the client you wish to run
    1. For crossfire-client-x11 client: cfclient
    2. For crossfire-client-gtk: gcfclient
    3. For crossfire-client-gtk2: gcfclient2

Note: With the GTKv2 client, after first launching click on the green “+” which will then let you resize the client window.

Note: The binary files where compiled on OS X 10.5, they are untested on earlier or on past versions.

Compile from Source Code

Compiling from source code requires some additional files to be downloaded.

  1. You should have Subversion installed by default.
    1. You can check with this command in a Terminal.app window: svn –help
  2. Run Subversion to download the latest snapshot of the client source code.
    1. For trunk: svn co https://svn.code.sf.net/p/crossfire/code/client/trunk client.svn
    2. For branch/1.x: svn co https://svn.code.sf.net/p/crossfire/code/client/branches/1.x client.svn
    3. For 1.10.0 release: svn co https://svn.code.sf.net/p/crossfire/code/client/tags/1.10/ client.svn
  3. You will need libpng to compile the client
    1. Download http://ethan.tira-thompson.com/Mac OS X Ports_files/libpng (universal).dmg the libpng individual installer
    2. Double click the .dmg package and follow the on screen prompts and instructions
  4. Change directories to client.svn and run the following commands:
    1. ./configure
      1. Just about all of your errors from ./configure can be fixed by installing the fink packages for them, not including the libpng.

GTKv1 Client

  1. Change directories to the gtk directory
    1. Make sure you are in the correct directory by using the pwd command - it should be: /Users/<user_name>/client.svn/gtk
    2. Run this command: ./crossfire-client-gtk &

GTKv2 Client

  1. Change directories to the gtk directory
    1. Make sure you are in the correct directory by using the pwd command - it should be: /Users/<user_name>/client.svn/gtk-v2/src
    2. Run this command: ./crossfire-client-gtk2 &

Source Code

https://sourceforge.net/p/crossfire/code/HEAD/tree/client/trunk/