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

From Scribus Wiki
Jump to navigation Jump to search
(Added skeleton for the new "Installation on Mac/Aqua" howto)
 
m (Included Andreas' mails into the howto)
Line 4: Line 4:


=Introduction=
=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:
* not all fonts are accessible
* 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
* it's not really tested, so there may be much more


=Installation=
=Installation=


==What to do==
Only one tiny patch is needed in pluginmanager.cpp l. 351:
-return "so";
+return "la";
Then:
0. Install Qt/Mac (not the X version!)
1. make -f Makefile.cvs
2. CPPFLAGS=-I/sw/lib LDFLAGS=-L/sw/lib export CPPFLAGS LDFLAGS
3. ./configure --enable-mac --enable-debug ---prefix=/usr/local  \
--with-extra-libs=/sw/lib --with-extra-includes=/sw/include \
--with-pythondir=/System/Library/Frameworks/Python.framework/Versions/2.3/
** --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
4. make
5. sudo make install
6. unpack the Scribus.app skeleton
7. copy scribus/scribus to Scribus.app/Contents/MacOS/
8. open Scribus.app :-)
==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:'''
'''See also:'''
* [[Installing Scribus on Mac OS_X]] - Howto on installing Scribus through Fink
* [[Installing Scribus on Mac OS_X]] - Howto on installing Scribus (Fink/X11)
* [[MacOSX version of Scribus]] - Ongoing discussion on bringing a native version of Scribus to Mac (hot!)
* [[MacOSX version of Scribus]] - Ongoing discussion on bringing a native version of Scribus to Mac (hot!)

Revision as of 21:03, 22 March 2005

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:

  • not all fonts are accessible
  • 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
  • it's not really tested, so there may be much more

Installation

What to do

Only one tiny patch is needed in pluginmanager.cpp l. 351:

-return "so";
+return "la";

Then:

0. Install Qt/Mac (not the X version!)
1. make -f Makefile.cvs
2. CPPFLAGS=-I/sw/lib LDFLAGS=-L/sw/lib export CPPFLAGS LDFLAGS
3. ./configure --enable-mac --enable-debug ---prefix=/usr/local  \
--with-extra-libs=/sw/lib --with-extra-includes=/sw/include \
--with-pythondir=/System/Library/Frameworks/Python.framework/Versions/2.3/
** --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
4. make
5. sudo make install
6. unpack the Scribus.app skeleton
7. copy scribus/scribus to Scribus.app/Contents/MacOS/
8. open Scribus.app :-)

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: