Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877757 - x11-libs/qwt-6.2.0-r1 requires a "polar" use flag.
Summary: x11-libs/qwt-6.2.0-r1 requires a "polar" use flag.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 12:45 UTC by Craig Tong
Modified: 2022-10-21 15:05 UTC (History)
1 user (show)

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


Attachments
ebuild for Qwt-6.2 with useflag to enable polar plotting (qwt-6.2.0-r1.ebuild,3.14 KB, text/plain)
2022-10-21 06:52 UTC, Craig Tong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Tong 2022-10-20 12:45:18 UTC
As of 6.2.0 Qwt includes and supersedes QwtPolar. 

In order to build the polar components as part of the library, the library requires QWT_CONFIG += QwtPolar before being built.

This can probably just be added to the ebuild as use flag in the same way other optional components are enabled in the library here: https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/qwt/qwt-6.2.0-r1.ebuild#n62

There is currently no way to enable polar components as part of the existing ebuild.

Reproducible: Always

Steps to Reproduce:
1. Emerge x11-libs/qwt-6.2.0-r1 with any combination of useflag options
2. 
3.
Actual Results:  
None of the qwt_polar_xxx headers are installed. And the the polar components are not built into the library.

Expected Results:  
A useflag should control this behavior similar to opengl or svg options.
Comment 1 Craig Tong 2022-10-21 06:52:26 UTC
Created attachment 824907 [details]
ebuild for Qwt-6.2 with useflag to enable polar plotting
Comment 2 Craig Tong 2022-10-21 06:54:36 UTC
I've attached an example ebuild that enables the useflag for polar functionality.
Comment 3 Larry the Git Cow gentoo-dev 2022-10-21 15:05:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d884b2f7bca6f66cabb008ce573873df46f4ef

commit 82d884b2f7bca6f66cabb008ce573873df46f4ef
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-10-21 10:53:55 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-10-21 15:04:47 +0000

    x11-libs/qwt: add polar use flag
    
    Closes: https://bugs.gentoo.org/877757
    Co-authored-by: Craig Tong <craigtong04@gmail.com>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 x11-libs/qwt/metadata.xml        |   1 +
 x11-libs/qwt/qwt-6.2.0-r2.ebuild | 128 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+)