diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5bdf36909b3..f2f1912bf0a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -43,7 +43,7 @@ jobs: - name: Install Linux requirements run: | sudo apt-get update -qq - sudo apt-get install -qq -y libgtk-3-dev freeglut3-dev webkit2gtk-driver + sudo apt-get install -qq -y libgtk-3-dev libgtk-4-dev freeglut3-dev webkit2gtk-driver if: ${{ matrix.config.native == 'gtk.linux.x86_64'}} - name: Pull large static Windows binaries run: | diff --git a/Jenkinsfile b/Jenkinsfile index 6d60c8cda10..6b2e8404e98 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ kind: Pod spec: containers: - name: "swtbuild" - image: "eclipse/platformreleng-centos-swt-build:8" + image: "eclipse/platformreleng-centos-swt-build:9" imagePullPolicy: "Always" resources: limits: diff --git a/binaries/pom.xml b/binaries/pom.xml index ea59779ad29..0bd747cb498 100644 --- a/binaries/pom.xml +++ b/binaries/pom.xml @@ -135,12 +135,10 @@ - - diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh index 1b8398b28c9..77aa4590366 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh @@ -273,14 +273,7 @@ func_build_gtk3 () { fi } -if [ "$1" = "-gtk-all" ]; then - shift - func_echo_plus "Note: When building multiple GTK versions, a cleanup is required (and automatically performed) between them." - func_clean_up - func_build_gtk4 "$@" - func_clean_up - func_build_gtk3 "$@" -elif [ "$1" = "-gtk4" ]; then +if [ "$1" = "-gtk4" ]; then shift func_build_gtk4 "$@" elif [ "$1" = "-gtk3" ]; then @@ -288,7 +281,18 @@ elif [ "$1" = "-gtk3" ]; then func_build_gtk3 "$@" elif [ "${GTK_VERSION}" = "4.0" ]; then func_build_gtk4 "$@" -elif [ "${GTK_VERSION}" = "3.0" -o "${GTK_VERSION}" = "" ]; then - export GTK_VERSION="3.0" +elif [ "${GTK_VERSION}" = "3.0" ]; then + func_build_gtk3 "$@" +else + func_echo_plus "==== Building GTK3 + GTK 4 ====" + func_echo_plus "See below for installed GTK versions:" + dpkg --get-selections | grep libgtk + apt list --installed libgtk* + func_build_gtk3 "$@" + shift + func_echo_plus "Note: When building multiple GTK versions, a cleanup is required (and automatically performed) between them." + func_clean_up + func_build_gtk4 "$@" + func_clean_up func_build_gtk3 "$@" fi diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/gtk3.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/gtk3.h index ed6b65e62ba..ecd2334427d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/gtk3.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/gtk3.h @@ -10,6 +10,7 @@ * * Contributors: * Syntevo - initial API and implementation + * DUMMY CHANGE *******************************************************************************/ #ifndef INC_gtk3_H diff --git a/container/Dockerfile b/container/Dockerfile index 574e2f758f6..f4c64fb043b 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -21,7 +21,7 @@ RUN chmod 555 /usr/local/bin/jenkins-slave && \ ENTRYPOINT [ "uid_entrypoint", "jenkins-slave" ] RUN dnf -y update && dnf -y install \ - java-openjdk maven webkit2gtk3-devel \ + java-openjdk maven webkit2gtk3-devel libgtk-4-dev \ make gcc mesa-libGLU-devel mesa-libGL-devel \ libXt-devel procps-ng \ && dnf clean all