Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539946 - media-libs/libbluray-9999 - .jar file uses incorrect version number
Summary: media-libs/libbluray-9999 - .jar file uses incorrect version number
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-02-13 08:38 UTC by Petri Hintukainen
Modified: 2015-12-03 09:35 UTC (History)
1 user (show)

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


Attachments
proposed changes (libbluray-9999.ebuild.diff,1.22 KB, patch)
2015-02-13 08:41 UTC, Petri Hintukainen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petri Hintukainen 2015-02-13 08:38:23 UTC
media-libs/libbluray-9999 needs updating:

Upstream build system has been updated, and ebuild does not find files.

Installing .jar file uses incorrect version number. It should use libbluray version number, not gentoo ebuild version number (9999).

New configure option (--enable-udf) has been added.


Reproducible: Always

Steps to Reproduce:
1. emerge =media-libs/libbluray-9999

Actual Results:  
 * Messages for package media-libs/libbluray-9999:

 * ERROR: media-libs/libbluray-9999::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_prepare
 *   environment, line 5674:  Called die
 * The specific snippet of code:
 *           sed -i '/^jar_DATA/d' src/Makefile.am || die;
 * 
 * If you need support, post the output of `emerge --info '=media-libs/libbluray-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libbluray-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libbluray-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libbluray-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libbluray-9999/work/libbluray-9999'
 * S: '/var/tmp/portage/media-libs/libbluray-9999/work/libbluray-9999'


I don't understand the purprose of this part in ebuild:

        if multilib_is_native_abi && use java; then
                export JAVACFLAGS="$(java-pkg_javac-args)"
                append-cflags "$(java-pkg_get-jni-cflags)"
                myconf="--enable-bdjava"
        else
                myconf="--disable-bdjava"
        fi

Why not having multilib_is_native_abi disables bdjava, but not any other optional features ?

Also, adding cflags for jni headers is not required anymore. Compatible headers 
are provided by libbluray package.
Comment 1 Petri Hintukainen 2015-02-13 08:41:27 UTC
Created attachment 396326 [details, diff]
proposed changes
Comment 2 Alexis Ballier gentoo-dev 2015-12-03 09:35:52 UTC
should be merged to 0.9.1/9999, thanks!