Temporarily disable sysprof integration to get the package rebuilt
authorSimon McVittie <smcv@debian.org>
Mon, 7 Aug 2023 08:35:27 +0000 (09:35 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 7 Aug 2023 08:35:27 +0000 (09:35 +0100)
debian/control
debian/control.in
debian/rules

index 8d3722917042b365d389adb82aa88cfd38e1ac9e..8156a35d403d8e84fca032a35a97ec8578853c8e 100644 (file)
@@ -69,7 +69,6 @@ Build-Depends: adwaita-icon-theme <!nocheck>,
                weston [linux-any] <!nocheck>,
                xauth <!nocheck>,
                xvfb <!nocheck>,
-Build-Depends-Arch: libsysprof-capture-4-dev (>= 3.40.1) [linux-any],
 Build-Depends-Indep: gi-docgen <!nodoc>,
                      libcairo2-doc <!nodoc>,
                      libglib2.0-doc <!nodoc>,
index b4d0f98540ee7e32edd4e682384119be96a86382..9af453dbeaf603fa11b2d8caa585149b55a2e5bc 100644 (file)
@@ -69,7 +69,6 @@ Build-Depends: adwaita-icon-theme <!nocheck>,
                weston [linux-any] <!nocheck>,
                xauth <!nocheck>,
                xvfb <!nocheck>,
-Build-Depends-Arch: libsysprof-capture-4-dev (>= 3.40.1) [linux-any],
 Build-Depends-Indep: gi-docgen <!nodoc>,
                      libcairo2-doc <!nodoc>,
                      libglib2.0-doc <!nodoc>,
index a6c975c5019548cdac5c8677f65f3875eb4b03a1..08deec587cb6ce1ea3bc1a65f0f8208ec8e05e46 100755 (executable)
@@ -99,17 +99,7 @@ configure_flags_deb += -Dvulkan=disabled
 configure_flags_deb += -Dwayland-backend=false
 endif
 
-# Only enable sysprof if we are actually going to package the shared library.
-# Otherwise, if the Architecture: amd64 buildd happens to build gtk4
-# before the Architecture: all buildd, the Architecture: all buildd
-# will find that there is an unsatisfiable build-dependency:
-# libsysprof-4-dev => libgtk-4-dev => libgtk-4-common (>= ${source:Version}),
-# which has not been built yet.
-ifeq (linux/$(SHARED_PKG),$(DEB_HOST_ARCH_OS)/$(filter $(SHARED_PKG),$(built_binaries)))
-configure_flags_deb += -Dsysprof=enabled
-else
 configure_flags_deb += -Dsysprof=disabled
-endif
 
 ifeq ($(filter %-doc,$(built_binaries)),)
 configure_flags_deb += -Dgtk_doc=false