Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399767 - media-gfx/luminance-hdr 2.2.0 version bump
Summary: media-gfx/luminance-hdr 2.2.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Graphics Project
URL: http://qtpfsgui.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-22 19:52 UTC by DrSlony
Modified: 2012-02-14 09:16 UTC (History)
0 users

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


Attachments
Simple 2.2.0 ebuild (luminance-hdr-2.2.0.ebuild,946 bytes, text/plain)
2012-02-11 10:36 UTC, Jiří Vyskočil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2012-01-22 19:52:55 UTC
An update to Luminance-HDR has been released today, the latest version is now 2.2.0.

Reproducible: Always
Comment 1 DrSlony 2012-01-22 20:24:00 UTC
ps. renaming the 2.2.1 ebuild to 2.2.0 and fixing the url (change .tar.gz  to .tar.bz2) fails because "The source directory '/var/tmp/portage/media-gfx/luminance-hdr-2.2.0/work/luminance-hdr-2.2.0' doesn't exist"
The project gets unpacked directly to /var/tmp/portage/media-gfx/luminance-hdr-2.2.0/work/
Comment 2 DrSlony 2012-01-22 20:36:37 UTC
Compiles fine when I do it manually as per the INSTALL file.
Comment 3 Jiří Vyskočil 2012-02-11 10:36:57 UTC
Created attachment 301545 [details]
Simple 2.2.0 ebuild

It seems they switched to cmake build system. I made a simple ebuild which works here with openmp enabled by default - I have no idea how to pass configure options to cmake in an ebuild, so I didn't add any use flags. Someone with more experience might update it (also, dependencies might be missing - I only kept those form 2.1.0 ebuild)
Comment 4 DrSlony 2012-02-11 23:29:45 UTC
Hey! Here's some sample code for using cmake in ebuilds, if you would like to experiment:

-----------------------------------
inherit cmake-utils toolchain-funcs

IUSE="openmp"

pkg_setup() {
        if use openmp ; then
                tc-has-openmp || die "Please switch to an openmp compatible compiler"
        fi

        mycmakeargs=(
                $(cmake-utils_use openmp OPTION_OMP)
                $(cmake-utils_use_with bzip2 BZIP)
                -DCREDITSDIR=/usr/share/doc/${PF}
                -DCMAKE_BUILD_TYPE=release
        )
}

src_install() {
        cmake-utils_src_install
        use doc && dodoc doc/foo/luminance-hdr.pdf
}
Comment 5 Tim Harder gentoo-dev 2012-02-14 09:16:24 UTC
Added to CVS.