Installing Scribus 1.3.4.x or lower from CVS sources on Mac OS X/Aqua

From Scribus Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This article is part of the HOWTOs series.
Installation Usage PDF issues Imposition Other

Introduction

Thanks to Andreas Vox and Craig Ringer, recent Scribus compiles straight from CVS on Mac/Aqua. Andreas Vox plans to organize a preview binary bundle which can be simply dropped into the system. If some daring alpha testers use it and report all errors to the developers, we might have a fully functional Aqua version when 1.3.0 final comes out. :-)

Scribus 1.3.0cvs is not for production use. The current build on Mac/Aqua has some problems of its own:

  • It's slow.
  • Dialogs behave strangely (no close button, menu disappears, ...)
  • Aqua buttons need more space than X11 ones, that causes layout problems, notably with the page selector.
  • Colors are wrong for images in page preview.
  • Needs a special freetype build to access native Mac fonts.
  • It's not really tested, so there may be much more.

Installation

What to do

1. Install Qt/Mac (not the X version!)
2. Install Freetype 2. 
    We recommend to build it yourself with "./configure --enable-old-mac-fonts"
3. Install Fontconfig 2
4. Check that "freetype-config" and "pkgconfig fontconfig" report those libraries.
5. Install libart, lcms, libtiff, libjpeg, and libpng via fink.
6. Checkout Scribus 1.3 from cvs or use a snapshot
7. Set some environment variables:
    QTDIR=/absolut/path/to/qt/dir
    CPPFLAGS=-I/sw/lib 
    LDFLAGS=-L/sw/lib 
    export CPPFLAGS LDFLAGS QTDIR
8. run "make -f Makefile.cvs"
9. unpack the Scribus.app skeleton
10. run "./configure --enable-mac --enable-bundle --enable-debug \
        --prefix=/absoute/path/to/Scripus.app/Contents/  \
        --with-extra-libs=/sw/lib --with-extra-includes=/sw/include"
** --enable-debug is mandatory since ld chokes on '-s' when linking  modules
** either CPP/LDFLAGS or --extra-include/libs might be superflous but I didn't try that

11. make
12. make install
13. open Scribus.app :-)

You can also do it the old way: - leave out "--enable-bundle" in step 10 and choose another prefix - copy scribus/scribus to /absoute/path/to/Scripus.app/Contents/MacOS/scribus

Some caveats

  • some dialogs don't have a close button, ESC usually works though
  • Preview shows wrong colors for images
  • some fonts might not work
  • <fill in yourself>

See also: