From 21b05c4cfc29237394b984cc9ce5a36915327a22 Mon Sep 17 00:00:00 2001 From: zuidec Date: Tue, 17 Feb 2026 12:13:53 -0800 Subject: [PATCH 1/2] add opensuse-tumbleweed build dependencies --- build_linux.sh | 2 ++ scripts/linux.d/opensuse-tumbleweed | 48 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 scripts/linux.d/opensuse-tumbleweed diff --git a/build_linux.sh b/build_linux.sh index 9a9a9160ba..f6f8fc01e7 100755 --- a/build_linux.sh +++ b/build_linux.sh @@ -146,6 +146,8 @@ DISTRIBUTION_LIKE=$(awk -F= '/^ID_LIKE=/ {print $2}' /etc/os-release | tr -d '"' # Check for direct distribution match to Ubuntu/Debian if [ "${DISTRIBUTION}" == "ubuntu" ] || [ "${DISTRIBUTION}" == "linuxmint" ] ; then DISTRIBUTION="debian" +elif [ "${DISTRIBUTION}" == "opensuse-tumbleweed" ] ; then + DISTRIBUTION="opensuse-tumbleweed" # Check if distribution is Debian/Ubuntu-like based on ID_LIKE elif [[ "${DISTRIBUTION_LIKE}" == *"debian"* ]] || [[ "${DISTRIBUTION_LIKE}" == *"ubuntu"* ]] ; then DISTRIBUTION="debian" diff --git a/scripts/linux.d/opensuse-tumbleweed b/scripts/linux.d/opensuse-tumbleweed new file mode 100644 index 0000000000..af24dc8883 --- /dev/null +++ b/scripts/linux.d/opensuse-tumbleweed @@ -0,0 +1,48 @@ +#!/bin/bash +# these are the Arch Linux specific build functions + +# Additional Dev packages for OrcaSlicer +export REQUIRED_DEV_PACKAGES=( + cmake + curl + dbus-1 + eglexternalplatform-devel + kf6-extra-cmake-modules + file + gettext-runtime + git + glew-devel + gstreamer-devel + gstreamermm-devel + gtk3-devel + libcurl-devel + libmspack-devel + libsecret-devel + libspnav-devel + libopenssl-devel + libquadmath-devel + ninja + texinfo + wget + webkit2gtk3-minibrowser + webkit2gtk3-devel + wayland-protocols-devel +) + +if [[ -n "$UPDATE_LIB" ]] +then + echo -n -e "Updating linux ...\n" + NEEDED_PKGS=() + for PKG in "${REQUIRED_DEV_PACKAGES[@]}"; do + sudo zypper se -ix "${PKG}" > /dev/null || NEEDED_PKGS+=("${PKG}") + done + + if [[ "${#NEEDED_PKGS[*]}" -gt 0 ]]; then + sudo zypper refresh && zypper in -y "${NEEDED_PKGS[@]}" + fi + echo -e "done\n" + exit 0 +fi + +export FOUND_GTK3_DEV +FOUND_GTK3_DEV=$(zypper se -ix gtk3-devel) From 3ae70915f5a0a3faea5651f7368c60878ae44171 Mon Sep 17 00:00:00 2001 From: zuidec Date: Wed, 18 Feb 2026 10:45:07 -0800 Subject: [PATCH 2/2] Add missing dependencies for opensuse-tumbleweed --- scripts/linux.d/opensuse-tumbleweed | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/scripts/linux.d/opensuse-tumbleweed b/scripts/linux.d/opensuse-tumbleweed index af24dc8883..114e25b733 100644 --- a/scripts/linux.d/opensuse-tumbleweed +++ b/scripts/linux.d/opensuse-tumbleweed @@ -1,8 +1,10 @@ #!/bin/bash -# these are the Arch Linux specific build functions +# these are the openSUSE Tumbleweed Linux specific build functions # Additional Dev packages for OrcaSlicer export REQUIRED_DEV_PACKAGES=( + autoconf + automake cmake curl dbus-1 @@ -17,15 +19,17 @@ export REQUIRED_DEV_PACKAGES=( gtk3-devel libcurl-devel libmspack-devel - libsecret-devel - libspnav-devel libopenssl-devel libquadmath-devel + libsecret-devel + libspnav-devel + libtool + nanum-fonts ninja texinfo - wget webkit2gtk3-minibrowser webkit2gtk3-devel + wget wayland-protocols-devel ) @@ -38,11 +42,11 @@ then done if [[ "${#NEEDED_PKGS[*]}" -gt 0 ]]; then - sudo zypper refresh && zypper in -y "${NEEDED_PKGS[@]}" + sudo zypper refresh && sudo zypper in -y "${NEEDED_PKGS[@]}" fi echo -e "done\n" exit 0 fi export FOUND_GTK3_DEV -FOUND_GTK3_DEV=$(zypper se -ix gtk3-devel) +FOUND_GTK3_DEV=$(sudo zypper se -ix gtk3-devel)