This is an ebuild for the qt4 version of the DTP programme scribus. Since there is no qt4 version in the tree, I wrote this ebuild (based partly in the kde-testing ebuild from #267193). It lacks in podofo support, since podofo isn't in the tree yet. Reproducible: Always Actual Results: It's working here, but could be improved. the debug and qt3 support is still missed, I will add it asap.
Created attachment 202627 [details] app-office/scribus-1.3.5.1.ebuild Initial version.
Created attachment 202638 [details] USE Flags "qt3support" and "debug" added This ebuild has a working "debug" USE Flag and there is the Flag "qt3support" which enables the possibility to "Enable Qt3 support in case you have a custom plugin that you have not converted fully to Qt4. Not needed for base Scribus code." (cited from http://docs.scribus.net/index.php?lang=en&page=install4)
Created attachment 202649 [details] removed "qt3support" The "qt3support" seems absolutely unnecessary, as all plugins shipped with scribus-1.3.5.1 are already converted to Qt4.
i can't use scribus-1.3.5.1-r2.ebuild. Emerge failed with following message: ... [ 38%] Generating moc_vruler.cxx Linking CXX shared module libpathalongpath.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib2geom/lib2geom.a(d2-sbasis.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../lib2geom/lib2geom.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [scribus/plugins/tools/2geomtools/pathalongpath/libpathalongpath.so] Error 1 make[1]: *** [scribus/plugins/tools/2geomtools/pathalongpath/CMakeFiles/pathalongpath.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 38%] [ 38%] Generating ui_aboutplugins.h ... [ 40%] [ 40%] Generating ui_printdialogbase.h Generating ui_replacecolors.h /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib2geom/lib2geom.a(sbasis.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../lib2geom/lib2geom.a: could not read symbols: Bad value collect2: ld returned 1 exit status [ 40%] make[2]: *** [scribus/plugins/tools/2geomtools/meshdistortion/libmeshdistortion.so] Error 1 make[1]: *** [scribus/plugins/tools/2geomtools/meshdistortion/CMakeFiles/meshdistortion.dir/all] Error 2 Generating ui_replaceonecolor.h [ 40%] [ 40%] Generating ui_selectobjects.h ... [ 92%] Building CXX object scribus/CMakeFiles/scribus.dir/vruler.o [ 92%] Building CXX object scribus/CMakeFiles/scribus.dir/main.o Linking CXX executable scribus [ 92%] Built target scribus make: *** [all] Error 2 * ERROR: app-office/scribus-1.3.5.1-r2 failed: * Make failed!
Created attachment 206643 [details] emerge --info emerge --info
Created attachment 206645 [details] scribus-1.3.5.1-r2 build.log
Finally, I got an amd64 system and tried to write an ebuild for this arch too. I also added podofo support, since it is in the tree now.
Created attachment 207996 [details] added ~amd64 + podofo support This ebuild includes podofo support and supports amd64 now. For amd64 you need the fpic patch too.
Created attachment 207998 [details] fpic patch for amd64 This is an amd64 patch, which adds the nessesary "-fPic" option to the cxxflags.
(In reply to comment #9) Thanks, this fixed the bug described in comment #4 for me! unimportant: Scribus has no icon in the gnome menue.
We need one, working, ebuild in portage. Let's continue this in the earlier version bump bug. *** This bug has been marked as a duplicate of bug 267193 ***