Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Scribus High Watermark (1.5)
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message

Joined: 01 Nov 2005
Posts: 351
Location: Salem, OR

PostPosted: Sun May 31, 2015 5:41 am    Post subject: Scribus High Watermark (1.5) Reply with quote

Although there is an ebuild for Scribus that includes the *9999, I've found trying to specify the development branch with USE flags problematic. Instead, I staged a copy of the high watermark of Scribus via Subversion at /usr/local/src.

This posting will document what I did to get Scribus to build.

I staged Scribus:
cd /usr/local/src
time svn checkout svn:// scribushw
Checked out revision 20141.

real   1m55.903s
user   0m4.520s
sys   0m3.950s

the "hw" stands for high watermark. The code tree is quite large and will take a couple of minutes to download.

Then, I built as follows:
themis src # cd scribushw
themis scribushw # ./configure

Scribus uses the CMake ( buildsystem instead of configure.
CMake uses different options than configure, but some have direct equivalents:
   <srcdir>           : the source directory
   --prefix=<dir>     : -DCMAKE_INSTALL_PREFIX:PATH=<dir>
Once CMake has run successfully, you can use "make edit_cache" to view and modify all settings.

Your current configure options translate more or less to:
   cmake . ; make ; make install

themis scribushw #
themis scribushw # cmake . -DWANT_GRAPHICSMAGICK=1
-- Shared Library Flags:
-- Scribus 1.5.1.svn will be built and installed into /usr/local
-- Machine: x86_64-pc-linux-gnu, void pointer size: 8
-- Found target X86_64
-- Building for target x86_64-pc-linux-gnu
-- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
-- ----- USE QT 5-----
-- ----- USE QT Widgets-----
-- ----- USE Qt5Gui -----
-- ----- USE QT 5 XML -----
-- ----- USE Qt5WebKit -----
-- ----- USE Qt5WebKitWidgets -----
-- ----- USE Qt5Network -----
-- ----- USE Qt5OpenGL -----
-- ----- USE Qt5LinguistTools -----
-- ----- USE Qt5Quick -----
-- ----- USE Qt5PrintSupport -----
ZLIB Library Found OK
No OSG found, building without 3D Extension
JPEG Library Found OK
TIFF Library Found OK
Python Library Found OK
-- FreeType2 Library Found OK
CAIRO Library Found OK
CUPS Library Found OK
LIBXML2 Library Found OK
LCMS 2 ReleaseLibrary: /usr/lib64/
LCMS 2 Library: /usr/lib64/
LittleCMS-2 Library Found OK
FontConfig Found OK
Hunspell Found OK
PoDoFo found OK
-- Boost version: 1.55.0
Boost Library Found OK
-- checking for module 'GraphicsMagick'
--   found GraphicsMagick, version 1.3.18
GraphicksMagick Found OK
-- Found poppler
-- Found poppler libs: /usr/lib64/
-- Found poppler includes: /usr/include/poppler
-- GMAGICK: Libs: -lGraphicsMagick, Inc: /usr/include/GraphicsMagick, Ldflags: -lGraphicsMagick
RPATH: lib/scribus/plugins/;
-- Qt5::CoreQt5::WidgetsQt5::GuiQt5::XmlQt5::WebKitQt5::WebKitWidgetsQt5::NetworkQt5::OpenGL/usr/lib64/
Building Corel Draw Importer with librevenge
Building Pagemaker Importer with librevenge
Building MS Publisher Importer with librevenge
Building MS-Visio Importer with librevenge
-- Building with Scripter 1
-- No source header files will be installed
-- /usr/local/src/scribushw/resources/translations
-- The following GUI languages will be installed:
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/scribushw
themis scribushw #

There are dependencies that I had to install to get to this point. Here are the packages I installed by reiteratively trying the cmake command:
emerge qtcore
emerge qtwidgets
emerge dev-qt/qtxml
emerge dev-qt/qtwebkit
emerge dev-qt/qtopengl
emerge dev-qt/linguist-tools
emerge dev-qt/qtquickcontrols

I have qt5 enabled on my system as Scribus requires qt5. I also installed graphicsmagick.

The next step is to make(I added the "time" command since this will be a long build)
themis scribushw # time make
[  0%] Generating moc_unzip_p.cpp
[  0%] Generating moc_zip_p.cpp
Scanning dependencies of target scribus_zip_lib
[  0%] Building CXX object scribus/third_party/zip/CMakeFiles/scribus_zip_lib.dir/unzip.cpp.o
[100%] Built target release_ts_zh_TW

real   41m22.581s
user   38m5.850s
sys   1m30.970s
themis scribushw # uname -a
Linux themis 3.18.11-gentoo #1 SMP Sun Apr 26 16:25:35 PDT 2015 x86_64 Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz GenuineIntel GNU/Linux
themis scribushw #

I have 6 GB of RAM on my laptop (Dell Inspiron).

If you want to see the entire build, it is available at:

Note: I created the color build log in html by using /usr/bin/script and dev-python/ansi2html which creates its output to the file named typescript unless you specify otherwise:
cat typescript | ansi2html > output.html

As I was documenting this for posting, I see the maintainer for the package, Justin Lecher, released 1.5 This follows just a day or two after Scribus released 1.5, so very prompt service by Justin.

This posting can be good for someone who wants to follow the high watermark of the Scribus development. I had on a prior build of Gentoo had *9999 of Scribus and it god completely out of whack, so I decided I was not going to use portage to follow the high watermark.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum