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

« First ‹ Previous 1 2

akliuxingyuan commented on 2023-04-30 12:37 (UTC)

I setup a patch to avoid package jcef-test.jar and build sucessfully

skip_test.patch

diff --git a/jb/tools/linux/create_bundle.sh b/jb/tools/linux/create_bundle.sh
index b123d5b..7027f2f 100755
--- a/jb/tools/linux/create_bundle.sh
+++ b/jb/tools/linux/create_bundle.sh
@@ -43,6 +43,6 @@ echo "*** create archive..."
 tar -cvzf "$ARTIFACT.tar.gz" -C "$ARTIFACT" $(ls "$ARTIFACT")
 rm -rf "$ARTIFACT"
 ls -lah "$ARTIFACT.tar.gz"
-cp "$OUT_CLS_DIR"/jcef-tests.jar .
+# cp "$OUT_CLS_DIR"/jcef-tests.jar .

 echo "*** SUCCESSFUL"
diff --git a/tools/compile.sh b/tools/compile.sh
index 10f863d..dc9c543 100755
--- a/tools/compile.sh
+++ b/tools/compile.sh
@@ -23,7 +23,7 @@ else

   #$JAVA_HOME/bin/javac -Xdiags:verbose -cp "$CLS_PATH" -d "$OUT_PATH" "${JAVA_PATH}"/tests/detailed/*.java "${JAVA_PATH}"/tests/junittests/*.java "${JAVA_PATH}"/tests/simple/*.java "${JAVA_PATH}"/org/cef/*.java "${JAVA_PATH}"/org/cef/browser/*.java "${JAVA_PATH}"/org/cef/callback/*.java "${JAVA_PATH}"/org/cef/handler/*.java "${JAVA_PATH}"/org/cef/misc/*.java "${JAVA_PATH}"/org/cef/network/*.java
   cd "$DIR"
-  ant -v jar tests-jar
+  ant -v jar

   # Copy MANIFEST.MF
   if which rsync &>/dev/null; then

you need modify PKGBUILD to get the patch work https://wiki.archlinux.org/title/Patching_packages

isbest commented on 2023-04-30 02:48 (UTC)

I looked at the error message and found that it was caused by using a non-existent API in a test case of a source file. To ignore this error, you can modify the build() function in the PKGBUILD file to the following code.

build() {
    cd jcef
    #sed -i "s/4.46/5.4/g" tools/buildtools/download_from_google_storage.py
    #sed -i "s/^DownloadCEF.*$/set(CEF_ROOT \"\/opt\/cef\")/g" CMakeLists.txt
    sed -i '114d' java_tests/tests/junittests/TouchEventTest.java
    cd jb/tools/linux
    JAVA_HOME=/usr/lib/jvm/$(ls /usr/lib/jvm | grep 17 | head -n 1) ./build.sh all
}

Adrian.Carver commented on 2023-03-29 17:58 (UTC)

He's not going to. Build() failure.

A package upgrade is required.

isbest commented on 2023-03-06 17:45 (UTC)

构建失败了