[scribus] scribus 1.3.8 on mac os x 10.4

Martin Costabel costabel at wanadoo.fr
Wed Oct 20 10:05:58 CEST 2010

On 20/10/10 08:01, a.l.e wrote:
> hi crew,
>>> may i suggest you to create a dmg also for 10.4?
>>> we have about one request per weeek about it... and i guess that most
>> request mean a lost user...
>> Who's going to provide the 10.4 machine?
>> It would be simpler for someone else we trust to build the dmg.
> i still have a 10.4 machine.
> but since it's my office machine i can't spend hours trying to get it work... so i need some more or less straight forward instructions on how to compile scribus / prepare a .dmg on a mac.
> if it helps, i already have scribus working there: through fink.

In principle, you don't need a 10.4 machine to compile for 10.4. It 
suffices to set MACOSX_DEPLOYMENT_TARGET to 10.4 and perhaps 
-mmacosx-version-min=10.4 and, most importantly, use "-isysroot 
/Developer/SDKs/MacOSXSDK10.4u.sdk". Just make sure that these flags are 
used in *all* compilations and linkings.

As I wrote some months ago in this context on the list, I think that you 
can keep the current scribus dmg as far as scribus itself is concerned, 
as well as the Qt frameworks. They seem to have been compiled for 10.4 

You only have to recompile the other supporting dylibs in 
Scribus.app/Contents/Frameworks. Or simply lift them from your Fink 
installation and use install_name_tool to change their internal library 
paths. Those in the current dmg seem to have been lifted in the same way 
from macports instead of Fink. If you look at them with otool -L, you 
see that their install_names are still /opt/local/lib/*.dylib, which is 
where macports places their libraries.
(BTW, if you take the GPL seriously, you might have a problem with this 
kind of distribution of binaries without corresponding sources, but this 
is a different story...)

The libraries are:


The exception is libexpat.1.dylib, which is already built for 10.4

You need to look carefully with otool -L whether the library names and 
their compatibility_version correspond to those recorded in the scribus 

Looking again, I see that you cannot take those dylibs from Fink if you 
want to have them universal ppc/i386 as they currently are, because Fink 
only provides one architecture at a time. You must be on an intel 
machine to build universal binaries. If you are, maybe you can install 
macports and use it to  build those libraries universal.


More information about the scribus mailing list