Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194267 - x11-libs/qt-4.x: PNG support not build
Summary: x11-libs/qt-4.x: PNG support not build
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-30 11:19 UTC by thereapman
Modified: 2007-09-30 18:14 UTC (History)
0 users

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


Attachments
The fixed Ebuild (qt-4.3.1-r1.ebuild,8.50 KB, text/plain)
2007-09-30 11:20 UTC, thereapman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thereapman 2007-09-30 11:19:35 UTC
The PNG useflag of x11-libs/qt-4.x did not activate png-support even is it set.
Ther is no check for that flag in the ebuild. 

I've attached a fixed ebuild that will build png-support against the system libpng, when the png flag is set.

Reproducible: Always

Steps to Reproduce:
Comment 1 thereapman 2007-09-30 11:20:21 UTC
Created attachment 132229 [details]
The fixed Ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-30 13:47:10 UTC
Please, reopen with a unified diff against qt-4.3.1-r1
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-30 13:47:23 UTC
Wrong resolution.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-09-30 16:11:11 UTC
(In reply to comment #0)
> Ther is no check for that flag in the ebuild. 

There is:
...
qt_use() {
    local flag="$1"
    local feature="$1"
    local enableval=

    [[ -n $2 ]] && feature=$2
    [[ -n $3 ]] && enableval="-$3"

    useq $flag && echo "${enableval}-${feature}" || echo "-no-${feature}"
    return 0
}
...
myconf="${myconf} $(qt_use gif gif qt) $(qt_use png libpng system)"
...

(In reply to comment #3)
> Wrong resolution.

Still wrong. It should be INVALID.