Installing Scribus on Win32: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{HOWTO Index}}
{{HOWTO Index}}


'''Call for help compiling version 1.3 from CVS. If you or anyone you know can lend a pair of eyes or hands working out the issues I am having with trying to compile version 1.3 from CVS we would all be extremely grateful! (See [Win32 version of Scribus] for more info.)'''
'''Call for help compiling version 1.3 from CVS. If you or anyone you know can lend a pair of eyes or hands working out the issues I am having with trying to compile version 1.3 from CVS we would all be extremely grateful!''' (See [[[:Win32 version of Scribus:Win32 version of Scribus]]] for more info.)
 
 
-------------------------------------------------
 


'''Installing from binaries'''
'''Installing from binaries'''

Revision as of 07:35, 17 March 2005

This article is part of the HOWTOs series.
Installation Usage PDF issues Imposition Other

Call for help compiling version 1.3 from CVS. If you or anyone you know can lend a pair of eyes or hands working out the issues I am having with trying to compile version 1.3 from CVS we would all be extremely grateful! (See [[[:Win32 version of Scribus:Win32 version of Scribus]]] for more info.)




Installing from binaries

  • Install Cygwin with the following packages:

(Tips: During "Cygwin setup" in the list of sites to select I find the site ftp.mirror.ac.uk to be reliably fast (but don't take too long selecting pkgs or it will time out!); Also once Cygwin setup has brought up the package selection screen, pull the window wider and click on the [view] button in the top right so that it says "Full", then proceed to select the following packages alphabetically. :)

  + ghostscript-x11
  + jpeg
  + lcms
  + libart_lgpl
  + libpng
  + libxml2
  + psutils
  + tiff
  + xorg-X11-base
  + xorg-X11-fscl
  + xorg-X11-fsrv

Next start cygwin and do the following:

cd /
tar jxvf scribus-1.2.1.tar.bz2
tar jxvf qt-x11-free-3.3.3-0.tar.bz2
cd ~
Xwin -multiwindow -clipboard &
/opt/scribus/1.2/bin/scribus.exe &


Happy Scribing!


Scribus-win32 small.jpg




This second part deals with compiling QT from source found at the kde-cygwin project.

By posting these instructions here, hopefully others will be encouraged to engage the process of both documenting and applying the documentation to achieve a working recipe for building Scribus 1.3 for Windows.

Instructions for installing QT/X11 from source:

  • Remove all entries of cygwin from the registry
  • Move previous cygwin install c:\cygwin to c:\cygwin.old
  • Install Cygwin with the following packages:
  + autoconf
  + automake
  + binutils
  + byacc
  + cvs
  + flex
  + gcc-g++
  + ghostscript-x11
  + jpeg
  + lcms
  + libart_lgpl
  + libjpeg6b
  + libpng
  + libpng12
  + libpng12-devel
  + libtiff5
  + libtiff5-devel
  + libxml2
  + libxml2-devel
  + make
  + xorg-X11-base
  + xorg-X11-devel
  + xorg-X11-fscl
  + xorg-X11-fsrv

Obtain source:

  • cd ~/
  • cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/kde-cygwin login
  • <enter>
  • cvs -z6 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/kde-cygwin co -r QT_WIN32_3_3_BRANCH qt-3

Later you can update the sources by

  • cd ~/src/qt-3
  • cvs -z6 update

But for now we'll continue with:

  • cd ~/src/qt-3
  • export QTDIR=$PWD
  • export PATH=$QTDIR/bin:$PATH
  • export QMAKESPEC=cygwin-g++
  • make -f Makefile.cvs
  • echo yes | ./configure -platform cygwin-g++ -plugin-imgfmt-mng -qt-zlib -qt-gif -qt-libpng -qt-libjpeg -qt-libmng -no-g++-exceptions -thread -no-stl -no-sm -no-xft -no-xkb -no-xrender -disable-opengl -disable-sql -prefix /opt/qt/3.3 -fast

Compile the sources

  • make (Huge thanks to Ralf and Peter of the kde-cygwin project!!!)




Release Name: scribus-1.2cvs

Notes: Compiling instructions:

1. install qt-3.3.3 release (qt-3.3.1 does not work)

2. unpack srcibus-1.2.1-src.tar.bz2

3. make -f Makefile.dist

4. CFLAGS="-fdata-sections" CXXFLAGS="-fdata-sections" LDFLAGS="-Wl, --enable-runtime-pseudo-reloc, --script, $QTDIR/mkspecs/cygwin-g++/i386pi.x-no-rdata" ./configure --prefix=/opt/scribus/1.2

5. make CXXFLAGS="${CXXFLAGS} -I/usr/include/lcms"