>>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/scribus-0.9.4.tar.gz --12:18:01-- http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/scribus-0.9.4.tar.gz => `/usr/portage/distfiles/scribus-0.9.4.tar.gz' Resolving www.ibiblio.org... done. Connecting to www.ibiblio.org[152.2.210.81]:80... connected. HTTP request sent, awaiting response... 404 Not Found 12:18:01 ERROR 404: Not Found. >>> Downloading http://web2.altmuehlnet.de/fschmid/scribus-0.9.4.tar.gz --12:18:01-- http://web2.altmuehlnet.de/fschmid/scribus-0.9.4.tar.gz => `/usr/portage/distfiles/scribus-0.9.4.tar.gz' Resolving web2.altmuehlnet.de... done. Connecting to web2.altmuehlnet.de[194.174.14.2]:80... connected. HTTP request sent, awaiting response... 404 Not Found 12:18:04 ERROR 404: Not Found. Cannot get the src for this ebuild at all.
a version bump fixes this problem. it seems the author has removed the 0.9.4-version. since 0.9.4 is masked a bump is just as well. if you have a portage overlay directory, just copy scribus-0.9.4.ebuild over to scribus-0.9.5.ebuild. cd /usr/portage/app-office/scribus/ cp scribus-0.9.4.ebuild /usr/portage.overlay/app-office/scribus-0.9.5.ebuild ebuild scribus-0.9.5.ebuild digest but, this doesn't merge with GCC3.2 (it's fine with 2.95 as far as I can tell) due to the following: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -march=i686 -O3 -pipe -I/usr/include/lcms -c scfonts_encoding.cpp scfonts_ttf.cpp: In member function `void sc_TTFont::DumpEncoding()': scfonts_ttf.cpp:46: `cout' undeclared (first use this function) scfonts_ttf.cpp:46: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: *** [scfonts_ttf.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/scribus-0.9.5/work/scribus-0.9.5/scribus' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/scribus-0.9.5/work/scribus-0.9.5/scribus' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/scribus-0.9.5/work/scribus-0.9.5' make: *** [all-recursive-am] Error 2 !!! ERROR: app-office/scribus-0.9.5 failed. !!! Function src_compile, Line 21, Exitcode 2 !!! (no error message) this seems to be a namespace issue. from the source, a missing "std::cout" or "using namespace std". I'll forward this to the author and hear what he has to say.
hrmpf. from the authors webby: 2003:01:01 Due to a typing Error Scribus 0.9.5 fails to compile on some Systems. To fix that Problem simply insert the line: using namespace std; after the line #include <iostream> This is required for the following files: * scfonts_ttf.cpp. * scribus.cpp * main.cpp Sorry for the troubles. I have a patch and a revised ebuild ready, I'll attach them both.
Created attachment 7159 [details] the scribus 0.9.5 ebuild
Created attachment 7160 [details, diff] scribus namspace patch.
Added scribus-0.9.6, so this one is fixed.