Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90181 - sci-biology/treeviewx-0.5 fails to build if wxGTK was built with USE=no_wxgtk1
Summary: sci-biology/treeviewx-0.5 fails to build if wxGTK was built with USE=no_wxgtk1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Olivier Fisette (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-23 16:51 UTC by Andreas Pokorny (RETIRED)
Modified: 2005-10-01 14:04 UTC (History)
1 user (show)

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


Attachments
treeviewx-dcsvg.patch (treeviewx-dcsvg.patch,980 bytes, patch)
2005-04-24 01:14 UTC, Andreas Pokorny (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Pokorny (RETIRED) gentoo-dev 2005-04-23 16:51:53 UTC
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
Comment 1 Andreas Pokorny (RETIRED) gentoo-dev 2005-04-23 17:37:01 UTC
haveing problems with my account :( will continue tomorrow 
Comment 2 Andreas Pokorny (RETIRED) gentoo-dev 2005-04-24 01:14:18 UTC
Created attachment 57073 [details, diff]
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
Comment 3 Olivier Fisette (RETIRED) gentoo-dev 2005-10-01 14:04:56 UTC
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.