RFR: 8282386: JavaFX media stubs rely on libav.org [v2]

John Neffenger jgneff at openjdk.org
Fri Jan 6 17:29:54 UTC 2023


On Thu, 5 Jan 2023 20:24:41 GMT, Johan Vos <jvos at openjdk.org> wrote:

>> Retrieve libav sources from github.
>> Fix JDK-8282386
>
> Johan Vos has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use new naming convention when working with libav files downloaded via github

The *Release* build and unit tests are now successful for me on Linux.

I ran the following commands on Ubuntu 20.04.5 LTS using the `8282386-libav` branch of `johanvos/jfx`, and both the build and unit tests were successful:


$ unset SOURCE_DATE_EPOCH
$ bash gradlew --no-daemon -PCONF=Release -PPROMOTED_BUILD_NUMBER=11 \
    -PHUDSON_BUILD_NUMBER=101 -PHUDSON_JOB_NAME=jfx \
    -PCOMPILE_WEBKIT=true -PCOMPILE_MEDIA=true -PBUILD_LIBAV_STUBS=true \
    sdk jmods javadoc test
  ...
BUILD SUCCESSFUL in 1h 11m 58s
228 actionable tasks: 228 executed


The build environment was set up by sourcing the following file:


#!/bin/bash
# Sets up the environment for building JavaFX
syspath=/usr/sbin:/usr/bin:/sbin:/bin

export CMAKE_HOME=$HOME/opt/cmake-3.25.1-linux-x86_64
export JAVA_HOME=$HOME/opt/jdk-19.0.1
export ANT_HOME=$HOME/opt/apache-ant-1.10.12

SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)
export SOURCE_DATE_EPOCH

# JDK_HOME and PATH are required by the build
export JDK_HOME=$JAVA_HOME
export PATH=$ANT_HOME/bin:$JAVA_HOME/bin:$CMAKE_HOME/bin:$syspath

-------------

Marked as reviewed by jgneff (Committer).

PR: https://git.openjdk.org/jfx/pull/989


More information about the openjfx-dev mailing list