Package Details: jcef-jetbrains-git 122.1.9.api1.17.r2.b459d85-1

Git Clone URL: https://aur.archlinux.org/jcef-jetbrains-git.git (read-only, click to copy)
Package Base: jcef-jetbrains-git
Description: A simple framework for embedding Chromium-based browsers into Java-based applications. (Used for JetBrainsRuntime)
Upstream URL: https://github.com/JetBrains/jcef
Licenses: BSD
Conflicts: jcef-jetbrains
Provides: jcef-jetbrains
Submitter: huyz
Maintainer: huyz
Last Packager: huyz
Votes: 0
Popularity: 0.000000
First Submitted: 2022-03-20 08:33 (UTC)
Last Updated: 2024-06-07 14:27 (UTC)

Dependencies (19)

Required by (10)

Sources (1)

Latest Comments

1 2 Next › Last »

toastercup commented on 2024-09-06 22:31 (UTC) (edited on 2024-09-20 00:30 (UTC) by toastercup)

Thanks for putting this together, @huyz! I noticed that the pkgver logic can result in a version that Pacman considers a downgrade, even if the commit is newer.

For example, it generated 122.1.9.api1.17.r15.63f35ba followed some days later by 122.1.9.api1.17.r1.698dcdc, which Pacman sees as a downgrade. This is because pkgver()'s count variable is based on the number of commits since build.xml was last modified, causing it to reset to a lower number even if the commit is newer.

What do you think about a more standard approach of using a count of the branch's total number of commits instead, which should provide a better (though not impervious) guarantee that the version will always increase? Something like:

pkgver() {
    cd jcef
    ver=$(cat build.xml | grep \"jcef.version\" | cut -d \" -f 4 | sed "s/\(.*\)-.*-chromium-.*-api-\(.*\)/\1.api\2/g")
    count=$(git rev-list --count HEAD)
    sha=$(git rev-parse --short HEAD)
    echo "$ver.r$count.$sha"
}

Which would result in e.g. 122.1.9.api1.17.r912.698dcdc

loathingkernel commented on 2024-06-09 07:15 (UTC) (edited on 2024-06-09 07:16 (UTC) by loathingkernel)

Needs libxdamage added as a dependency to build

huyz commented on 2024-06-07 14:29 (UTC)

@lexisother @flobit Updated.

flobit commented on 2024-06-06 02:01 (UTC)

[  0%] Building CXX object libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/shutdown_checker.cc.o
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
make[2]: *** [libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/build.make:76: libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/shutdown_checker.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:140: libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().

same error with lexisother

lexisother commented on 2024-04-18 10:18 (UTC)

+ echo '*** run make...'
*** run make...
+ make
[  0%] Building CXX object libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/shutdown_checker.cc.o
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
make[2]: *** [libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/build.make:76: libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/shutdown_checker.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:140: libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'jcef-jetbrains-git-122.1.8.api1.16.r5.f8bb25b-1':

Getting this for some reason.

Score_Under commented on 2023-11-01 19:18 (UTC)

Now seems to be asking for zip in makedepends

syori commented on 2023-08-09 22:22 (UTC)

    [javac] /home/syori/.cache/yay/jcef-jetbrains-git/src/jcef/java/module-info.java:3: error: module not found: jogl.all
    [javac]     requires jogl.all;
    [javac]                  ^
    [javac] 1 error

BUILD FAILED
/home/syori/.cache/yay/jcef-jetbrains-git/src/jcef/build.xml:74: Compile failed; see the compiler error output for details.
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1373)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1092)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
        at org.apache.tools.ant.Task.perform(Task.java:350)
        at org.apache.tools.ant.Target.execute(Target.java:449)
        at org.apache.tools.ant.Target.performTasks(Target.java:470)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
        at org.apache.tools.ant.Main.runBuild(Main.java:818)
        at org.apache.tools.ant.Main.startAnt(Main.java:223)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

Total time: 0 seconds
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: jcef-jetbrains-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
jcef-jetbrains-git - exit status 4

Tried install jogl from AUR, but didn't helped

Score_Under commented on 2023-06-26 06:28 (UTC) (edited on 2023-06-26 06:29 (UTC) by Score_Under)

follow-up: problem seems to be caused by JAVA_HOME not being exported. I added an export JAVA_HOME after the assignment and it worked just fine.

reproducing on a "dirty" system: run unset JAVA_HOME immediately before makepkg

Score_Under commented on 2023-06-26 06:07 (UTC)

been getting this on build in clean chroot since 8th May 2023:

CMake Error at CMakeLists.txt:238 (message):
  A Java installation is required.  Set the JAVA_HOME environment variable to
  explicitly specify the Java installation directory.

isbest commented on 2023-05-08 12:32 (UTC)

build error