Bug 90181 - sci-biology/treeviewx-0.5 fails to build if wxGTK was built with USE=no_wxgtk1
|
Bug#:
90181
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: ribosome@gentoo.org
|
Reported By: apokorny@dev.gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: sci-biology/treeviewx-0.5 fails to build if wxGTK was built with USE=no_wxgtk1
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-04-23 16:51 0000
|
The Makefile of treeviewx link against libwx_gtk-dcsvg a small contributed
library of wxWidgets, to create svg files. People using USE=no_wxgtk1 will only
get a libwx_gtk2-dcsvg library, thus the build fails.
I will add a patch that adds a short test that looks for existing dcsvg
libraries to configure.in, and change the Makefile.am to pick the library found
by configure.
Reproducible: Always
Steps to Reproduce:
1. USE="no_wxgtk1" emerge wxGTK
2. emerge =sci-biology/treeviewx-0.5
haveing problems with my account :( will continue tomorrow
Created an attachment (id=57073) [details]
treeviewx-dcsvg.patch
* derives the library name of dcsvg from the wx-config output
* adds a call to AC_CHECK_LIB with an apropriate reaction on failure
* defines an automake variable including the library name of dcvsg
* replaces the hard coded linker command "-lwx_gtk-dcvsg" with the automake
variable
I just added TreeViewX 0.5.1 to the tree. This version has a configure check
for the SVG library, and builds against wxGTK 2.6, which never builds a GTK1
version. This should fix the problem.