Win32 version of Scribus: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
 
(120 intermediate revisions by 21 users not shown)
Line 1: Line 1:
In february 2005 Trolltech [http://www.trolltech.com/newsroom/announcements/00000192.html announced] that version 4 of the QT library used by Scribus will be available for Windows under the GNU General Public License (GPL). This brings the possibility of a native Windows port of Scribus a step closer. It's still a '''long''' way off though, and not really in anyone's plans. First QT4 needs to be released ("second quarter of 2005"), then Scribus would need to be updated to QT4 (a substantial job in itself), then ported to Windows. So it might happen at some point, but don't hold your breath!--[[User:Joeboy|Joeboy]] 13:49, 9 Mar 2005 (UTC)
[[Category:Windows]][[Category:Installation]][[Category:EN]]
==Native Windows version release information==
* [[Official:Windows|Scribus on Windows]] -- See this page first for all the important install info on the native Windows version.
** This '''will not run''' on Win95, Win98 or WinME. Scribus requires the capabilities of Windows 2000, XP, Vista, Server 200x, or Windows 7, 8, or 10. Attempts to run Scribus on Win9x or WinME will fail due to the absence of a number of system requirements which cannot practically be met.
** With the release of 1.3.2, help documentation from [http://docs.scribus.net docs.scribus.net] has been integrated with the main package across all platforms.


----
==64-bit Windows (of any of those compatible versions mentioned above)==
Scribus 1.4.6 is available as a 64-bit version that can be installed on Windows Vista 64-bit, Microsoft Windows 7 64-bit, and Microsoft Windows 8 64-bit.<br>
For previous versions, there is no 64-bit version of Scribus. Nonetheless, the 32-bit version works without a hitch, and without any other considerations as you use the installer for your Windows machine.


==Python==
If you install Scribus using the installer from Sourceforge, you should have a working version of Python 2.7 with Scribus 1.5.x. Some scripts that you may wish to use or write yourself may need Python packages not supplied with Scribus, and you cannot add them yourself. The answer in this situation is to install Python 2.7 on your system, along with any necessary or desired packages, such as PIL (Python Imaging Library).


Hence I've created this page for posting notes relating to the ongoing effort to compile Scribus under Cygwin/X11 for win32. Since that is our next best option.  
In order for Scribus to use this system-based Python you need to deactivate the version included with Scribus. This is actually a simple matter. Go to C:\Program Files\Scribus 1.5.3\ (or whatever Scribus version you have installed), and look for a directory named python\. Just change its name to anything else, like oldpython\, and when you next start Scribus it will use the system Python.


However, don't forget we already have one working recipe for [[Installing Scribus on Win32]] using version 1.2.1 binary snapshots compiled for Cygwin/QT3/X11. :)
== Notes ==


Now efforts to '''compile''' the latest Scribus for Cygwin/X11 are ongoing, though I haven't been successful yet. However I have had gotten as far as a running a successful configure of the 1.3 version from CVS, and there is a patch available for the 1.2.1 version at the kde-cygwin download area.
* [http://sourceforge.net/project/showfiles.php?group_id=1897 Ghostscript 8.53] or newer required for EPS, PS import and printing.
** When you first run Scribus, you must go to Edit>Preferences>External Tools and change "name of executable" to wherever you have installed Ghostscript to.  You must choose the "gswin32c.exe" version for Scribus to run!  For example, set it to:  "C:/Program Files/gs/gs8.53/bin/gswin32c.exe"


Here are some notes from some of the experiences I've had so far:
== Obtaining GDI+ ==


Scribus under Windows 2000 requires the [http://www.microsoft.com/downloads/details.aspx?FamilyID=6a63ab9c-df12-4d41-933c-be590feaa05a&DisplayLang=en GDI+ library] from Microsoft. There are other legal sources for the library for those who don't use IE or don't want to go through the "Genuine Windows" validation process — which has come under severe criticism and has been reported to produces false negatives in some cases (at the [http://go.microsoft.com/fwlink/?linkid=63634 Windows Genuine Advantage Forum], for example):


-----------------------------
* GDI+ is also distributed [http://download.freenet.de/archiv_g/gdi+_6816.html here]. This is part of the download archive within the portal of one of Germany's major ISPs. You don't need to understand German to use the page, just find the "zum Download" button and then, on the next page, the "Download starten" button. This will download Microsoft's own installer for the US English version of the library.


* Possibly the simplest way of meeting the GDI+ requirement is to search the file gdiplus.dll on your hard disk and copy it into the directory that contains the Scribus executable. (The "official" download does not install any files beyond gdiplus.dll either.) There are freely available applications whose installer puts the file into their application directory. Such applications are:
** [http://www.mp3tag.de/en/ Mp3Tag]


[http://sourceforge.net/project/shownotes.php?release_id=277342 legacy compiling instructions:]
When obtaining GDI+ from an "unofficial" source such as one of the above, it is important to remember that older versions of the file were suffering from a [http://www.microsoft.com/technet/security/bulletin/MS04-028.mspx critical bug] that affected the processing of JPEG files. The bug was reported in September 2004, and as of September 2006, the current version is of gdiplus.dll is 5.1.3102.1360.
 
* unpack scribus-1.2.1-src.tar.bz2
* preconfigure:
* make -f Makefile.dist
* "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"
* make CXXFLAGS="${CXXFLAGS} -I/usr/include/lcms"
 
My results from following these instructions:
<pre>
cboothe@IT-staff ~/src
$ cd scribus-1.2.1cvs/
 
cboothe@IT-staff ~/src/scribus-1.2.1cvs
$  make -f Makefile.dist
This Makefile is only for the CVS repository
This will be deleted before making the distribution
 
*** Creating acinclude.m4
!!! If you get recursion errors from autoconf, it is advisable to set the
    environment variable M4 to something including "--nesting-limit=500"
*** Creating aclocal.m4
acinclude.m4:44: warning: underquoted definition of KDE_PATH_X_DIRECT
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
acinclude.m4:168: warning: underquoted definition of AC_FIND_FILE
...
acinclude.m4:4681: warning: underquoted definition of AC_PATH_QTOPIA
/usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
configure.in:215: required file `scribus/templates/Makefile.in' not found
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
 
cboothe@IT-staff ~/src/scribus-1.2.1cvs
$
</pre>
 
 
------------------------------------------
 
 
<pre>
  379  rm -fr Scribus/
  380  cvs -z3 co -r Version13x Scribus
  381  tar jcvf tar-Scribus13cvs.tar Scribus
  382  cd Scribus/
  383  make -f Makefile.cvs
 
noone@sector0 ~/src/Scribus
$ <nowiki>CFLAGS="-fdata-sections" CXXFLAGS="-fdata-sections" LDFLAGS="-Wl, --enable-runtime-pseudo-reloc, --script, $QTDIR/mkspecs/cyg
win-g++/i386pi.x-no-rdata" ./configure --prefix=/opt/scribus/1.3</nowiki>
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... no
checking for libart2-config... /usr/bin/libart2-config
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
 
noone@sector0 ~/src/Scribus
$</pre>

Latest revision as of 21:49, 14 January 2018

Native Windows version release information

  • Scribus on Windows -- See this page first for all the important install info on the native Windows version.
    • This will not run on Win95, Win98 or WinME. Scribus requires the capabilities of Windows 2000, XP, Vista, Server 200x, or Windows 7, 8, or 10. Attempts to run Scribus on Win9x or WinME will fail due to the absence of a number of system requirements which cannot practically be met.
    • With the release of 1.3.2, help documentation from docs.scribus.net has been integrated with the main package across all platforms.

64-bit Windows (of any of those compatible versions mentioned above)

Scribus 1.4.6 is available as a 64-bit version that can be installed on Windows Vista 64-bit, Microsoft Windows 7 64-bit, and Microsoft Windows 8 64-bit.
For previous versions, there is no 64-bit version of Scribus. Nonetheless, the 32-bit version works without a hitch, and without any other considerations as you use the installer for your Windows machine.

Python

If you install Scribus using the installer from Sourceforge, you should have a working version of Python 2.7 with Scribus 1.5.x. Some scripts that you may wish to use or write yourself may need Python packages not supplied with Scribus, and you cannot add them yourself. The answer in this situation is to install Python 2.7 on your system, along with any necessary or desired packages, such as PIL (Python Imaging Library).

In order for Scribus to use this system-based Python you need to deactivate the version included with Scribus. This is actually a simple matter. Go to C:\Program Files\Scribus 1.5.3\ (or whatever Scribus version you have installed), and look for a directory named python\. Just change its name to anything else, like oldpython\, and when you next start Scribus it will use the system Python.

Notes

  • Ghostscript 8.53 or newer required for EPS, PS import and printing.
    • When you first run Scribus, you must go to Edit>Preferences>External Tools and change "name of executable" to wherever you have installed Ghostscript to. You must choose the "gswin32c.exe" version for Scribus to run! For example, set it to: "C:/Program Files/gs/gs8.53/bin/gswin32c.exe"

Obtaining GDI+

Scribus under Windows 2000 requires the GDI+ library from Microsoft. There are other legal sources for the library for those who don't use IE or don't want to go through the "Genuine Windows" validation process — which has come under severe criticism and has been reported to produces false negatives in some cases (at the Windows Genuine Advantage Forum, for example):

  • GDI+ is also distributed here. This is part of the download archive within the portal of one of Germany's major ISPs. You don't need to understand German to use the page, just find the "zum Download" button and then, on the next page, the "Download starten" button. This will download Microsoft's own installer for the US English version of the library.
  • Possibly the simplest way of meeting the GDI+ requirement is to search the file gdiplus.dll on your hard disk and copy it into the directory that contains the Scribus executable. (The "official" download does not install any files beyond gdiplus.dll either.) There are freely available applications whose installer puts the file into their application directory. Such applications are:

When obtaining GDI+ from an "unofficial" source such as one of the above, it is important to remember that older versions of the file were suffering from a critical bug that affected the processing of JPEG files. The bug was reported in September 2004, and as of September 2006, the current version is of gdiplus.dll is 5.1.3102.1360.