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/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..e9b269cd545 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,14 @@ 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_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