Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257549 - [kde-testing] media-plugins/kipi-plugins-0.2.0_rc1 USE flags have no effect in config
Summary: [kde-testing] media-plugins/kipi-plugins-0.2.0_rc1 USE flags have no effect i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-04 02:20 UTC by Krzysztof Kundzicz
Modified: 2009-02-05 18:22 UTC (History)
0 users

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


Attachments
Fixed ebuild (kipi-plugins-0.2.0_rc1.ebuild,1.87 KB, text/plain)
2009-02-04 02:21 UTC, Krzysztof Kundzicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Kundzicz 2009-02-04 02:20:13 UTC
USE flags defined by this ebuild aren't used in CMake configuration, which I think, causes bug #253748.

I've got media-libs/libgpod-0.7.0 installed and when I've tried to compile kipi-plugins with 'ipod' USE flag *disabled* it failed for me with:

[ 62%] /var/tmp/portage/media-plugins/kipi-plugins-0.2.0_rc1/work/kipi-plugins-0.2.0-rc1/ipodexport/IpodExportDialog.cpp: In member function ‘void KIPIIpodExportPlugin::UploadDialog::startTransfer()’:
/var/tmp/portage/media-plugins/kipi-plugins-0.2.0_rc1/work/kipi-plugins-0.2.0-rc1/ipodexport/IpodExportDialog.cpp:399: warning: suggest explicit braces to avoid ambiguous ‘else’
/var/tmp/portage/media-plugins/kipi-plugins-0.2.0_rc1/work/kipi-plugins-0.2.0-rc1/ipodexport/IpodExportDialog.cpp: In member function ‘void KIPIIpodExportPlugin::UploadDialog::ipodItemSelected(QTreeWidgetItem*)’:
/var/tmp/portage/media-plugins/kipi-plugins-0.2.0_rc1/work/kipi-plugins-0.2.0-rc1/ipodexport/IpodExportDialog.cpp:425: error: ‘ITDB_THUMB_PHOTO_SMALL’ was not declared in this scope
/var/tmp/portage/media-plugins/kipi-plugins-0.2.0_rc1/work/kipi-plugins-0.2.0-rc1/ipodexport/IpodExportDialog.cpp:425: error: ‘itdb_artwork_get_thumb_by_type’ was not declared in this scope
make[2]: *** [ipodexport/CMakeFiles/kipiplugin_ipodexport.dir/IpodExportDialog.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....


Also, there should be possibility to enable or disable other optional features that are present, but aren't mentioned in USE ('DNGConverter', 'Htmlexport', 'Calendar').

And of course, there is bug #256644, which is kinda related. 

Reproducible: Always




I've attached ebuild, that worked-around compilation error for me.
Comment 1 Krzysztof Kundzicz 2009-02-04 02:21:25 UTC
Created attachment 180873 [details]
Fixed ebuild
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-05 18:22:47 UTC
Thanks for hints.
Hopefuly now kipi-plugins are fully fixed :]