Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283151 - app-office/scribus-1.3.5.1 - new ebuild (indepentend from kde-testing)
Summary: app-office/scribus-1.3.5.1 - new ebuild (indepentend from kde-testing)
Status: RESOLVED DUPLICATE of bug 267193
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 267193 283119
  Show dependency tree
 
Reported: 2009-08-29 19:17 UTC by Thomas Helger
Modified: 2010-01-05 02:34 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-office/scribus-1.3.5.1.ebuild (scribus-1.3.5.1.ebuild,1.56 KB, text/plain)
2009-08-29 19:19 UTC, Thomas Helger
Details
USE Flags "qt3support" and "debug" added (scribus-1.3.5.1-r1.ebuild,1.78 KB, text/plain)
2009-08-29 21:24 UTC, Thomas Helger
Details
removed "qt3support" (scribus-1.3.5.1-r2.ebuild,1.63 KB, text/plain)
2009-08-29 21:53 UTC, Thomas Helger
Details
emerge --info (emerge --info,4.99 KB, text/plain)
2009-10-10 12:09 UTC, Christian Strahl
Details
scribus-1.3.5.1-r2 build.log (build.log,89.75 KB, text/plain)
2009-10-10 12:12 UTC, Christian Strahl
Details
added ~amd64 + podofo support (scribus-1.3.5.1-r3.ebuild,1.91 KB, text/plain)
2009-10-23 14:01 UTC, Thomas Helger
Details
fpic patch for amd64 (scribus-1.3.5-fpic.patch,564 bytes, text/plain)
2009-10-23 14:03 UTC, Thomas Helger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Helger 2009-08-29 19:17:28 UTC
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.
Comment 1 Thomas Helger 2009-08-29 19:19:54 UTC
Created attachment 202627 [details]
app-office/scribus-1.3.5.1.ebuild

Initial version.
Comment 2 Thomas Helger 2009-08-29 21:24:31 UTC
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)
Comment 3 Thomas Helger 2009-08-29 21:53:35 UTC
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.
Comment 4 Christian Strahl 2009-10-10 12:08:07 UTC
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!

Comment 5 Christian Strahl 2009-10-10 12:09:43 UTC
Created attachment 206643 [details]
emerge --info

emerge --info
Comment 6 Christian Strahl 2009-10-10 12:12:24 UTC
Created attachment 206645 [details]
scribus-1.3.5.1-r2 build.log
Comment 7 Thomas Helger 2009-10-23 13:58:19 UTC
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.
Comment 8 Thomas Helger 2009-10-23 14:01:44 UTC
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.
Comment 9 Thomas Helger 2009-10-23 14:03:43 UTC
Created attachment 207998 [details]
fpic patch for amd64

This is an amd64 patch, which adds the nessesary "-fPic" option to the cxxflags.
Comment 10 Christian Strahl 2009-10-24 13:47:06 UTC
(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.

Comment 11 Ben de Groot (RETIRED) gentoo-dev 2010-01-05 02:34:02 UTC
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 ***