Making all in en make[3]: Entering directory `/var/tmp/portage/scribus-svg-0.3/work/scribus-svg-0.3/doc/en' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/scribus-svg-0.3/work/scribus-svg-0.3/doc/en' make[3]: Entering directory `/var/tmp/portage/scribus-svg-0.3/work/scribus-svg-0.3/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/scribus-svg-0.3/work/scribus-svg-0.3/doc' make[2]: Leaving directory `/var/tmp/portage/scribus-svg-0.3/work/scribus-svg-0.3/doc' Making all in svgexplugin make[2]: Entering directory `/var/tmp/portage/scribus-svg-0.3/work/scribus-svg-0.3/svgexplugin' /usr/qt/3/bin/moc ./svgexplugin.h -o svgexplugin.moc /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/include/scribus -march=pentium3 -O3 -pipe -I/usr/include/lcms -c svgexplugin.cpp mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/include/scribus -march=pentium3 -O3 -pipe -I/usr/include/lcms -c svgexplugin.cpp -fPIC -DPIC -o .libs/svgexplugin.o In file included from /usr/include/scribus/scribusview.h:32, from /usr/include/scribus/scribus.h:48, from svgexplugin.h:5, from svgexplugin.cpp:17: /usr/include/scribus/scribusdoc.h:40:18: #include expects "FILENAME" or <FILENAME> In file included from /usr/include/scribus/scribusview.h:32, from /usr/include/scribus/scribus.h:48, from svgexplugin.h:5, from svgexplugin.cpp:17: /usr/include/scribus/scribusdoc.h:531: 'cmsHPROFILE' is used as a type, but is not defined as a type. /usr/include/scribus/scribusdoc.h:532: 'cmsHPROFILE' is used as a type, but is not defined as a type. /usr/include/scribus/scribusdoc.h:533: 'cmsHPROFILE' is used as a type, but is not defined as a type. In file included from /usr/include/scribus/scribus.h:50, from svgexplugin.h:5, from svgexplugin.cpp:17: /usr/include/scribus/scribuswin.h:46: 'cmsHTRANSFORM' is used as a type, but is not defined as a type. /usr/include/scribus/scribuswin.h:47: 'cmsHTRANSFORM' is used as a type, but is not defined as a type. /usr/include/scribus/scribuswin.h:48: 'cmsHTRANSFORM' is used as a type, but is not defined as a type. /usr/include/scribus/scribuswin.h:49: 'cmsHTRANSFORM' is used as a type, but is not defined as a type. make[2]: *** [svgexplugin.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/scribus-svg-0.3/work/scribus-svg-0.3/svgexplugin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/scribus-svg-0.3/work/scribus-svg-0.3' make: *** [all-recursive-am] Error 2 !!! ERROR: media-plugins/scribus-svg-0.3 failed. !!! Function src_compile, Line 17, Exitcode 2 Portage 2.0.49 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Celeron(TM) CPU 1100MHz distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs buildpkg ccache" GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/ http://ds.thn.htu.se/linux/gentoo http://gentoo.seren.com/gentoo http://gentoo.inode.at/ http://ftp.caliu.info/pub/gentoo/ http://www.fhh.opensource-mirror.de/gentoo.org/ http://darkstar.ist.utl.pt/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts svga java X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl aalib apache2 curl dga gtk2 gtkhtml i8x0 lcms ldap mozaccess mozcalendar mozilla mozinterfaceinfo moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mysql offensive samba sse tcltk tiff type1 wmf xml -3dnow"
In scribusdoc.h there is an include that uses a macro called CMS_INC: #ifdef HAVE_CMS #include CMS_INC #endif but CMS_INC is not defined anywhere in the scribus-svg source or config files, nor anywhere in the library header files: # grep -R "#define CMS_INC" scribus-svg-0.3/* # grep -R "#define CMS_INC" /usr/include/* # And of course since it's not defined the compile fails with the "#include expects "FILENAME" or <FILENAME>" error. In fact, CMS_INC is only defined in the scribus source: # grep -R "#define CMS_INC" scribus-1.0.1/* scribus-1.0.1/configure:#define CMS_INC "lcms/lcms.h" scribus-1.0.1/configure:#define CMS_INC "lcms.h"
Created attachment 16620 [details, diff] ColorManagementInclude patch This patch will add the necessary #define CMS_INC "lcms/lcms.h" to the configure scripts. Note that we will also need to avoid the resulting timestamp skews with autotools by adding these lines to the ebuild: # Avoid timestamp skews with autotools touch aclocal.m4 touch `find . -name Makefile.in` And finally scribus-svg will compile ok :)
scribus-svg is already included in latest scribus-versions, so there is no need to install it. I'll remove the ebuild.