Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342075 - dev-util/oprofile: re-enable the oprof_start GUI by using qt4[qt3support]
Summary: dev-util/oprofile: re-enable the oprof_start GUI by using qt4[qt3support]
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Michal Januszewski (RETIRED)
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 21:10 UTC by Gert Wollny
Modified: 2011-01-08 18:46 UTC (History)
0 users

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


Attachments
Patch to move from qt3 to qt4[qt3support] (oprofile-0.9.6-qt4qt3support.patch,9.36 KB, patch)
2010-10-21 21:11 UTC, Gert Wollny
Details | Diff
Patch against the ebuild to apply abobe patch and run eautoreconfigure (oprofile-0.9.5-add-q4qt3support-ebuild.patch,1.79 KB, patch)
2010-10-21 21:12 UTC, Gert Wollny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.