Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 342075

Summary: dev-util/oprofile: re-enable the oprof_start GUI by using qt4[qt3support]
Product: Gentoo Linux Reporter: Gert Wollny <gw.fossdev>
Component: [OLD] DevelopmentAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED UPSTREAM    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://sourceforge.net/tracker/?func=detail&atid=116191&aid=3090939&group_id=16191
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to move from qt3 to qt4[qt3support]
Patch against the ebuild to apply abobe patch and run eautoreconfigure

Description Gert Wollny 2010-10-21 21:10:12 UTC
Oprofile comes with a nice GUI that was based on qt3, and, therefore, disabled with the phasing out of qt3. The re-enable the GUI by using the qt3support withing qt4.  

Reproducible: Always

Steps to Reproduce:
Emerge oprofile
Actual Results:  
GUI tool is not available. 


Since I'm not an expert in QT development, I was not able to eliminate certain warnings about missing signal connections with the given patch. The GUI seems to work though.
The patch is also proposed upstream (see URL above).
Comment 1 Gert Wollny 2010-10-21 21:11:04 UTC
Created attachment 251489 [details, diff]
Patch to move from qt3 to qt4[qt3support]
Comment 2 Gert Wollny 2010-10-21 21:12:15 UTC
Created attachment 251491 [details, diff]
Patch against the ebuild to apply abobe patch and run eautoreconfigure
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2011-01-08 18:46:59 UTC
Somehow, after applying the patch the ebuild fails for me with the following error message:

checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ld... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking for kernel OProfile support... no
configure: error: no suitably configured kernel include tree found

At any rate, I would prefer for this patch to be first accepted into the upstream repository.  Since you have already filed a bug with oprofile, I guess everything is on a good way for that to happen.