From: Jeremy Bicha Date: Sat, 12 May 2018 12:00:53 -0400 Subject: [PATCH] Show Ubuntu in user agent --- debian/compat | 2 +- debian/rules | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/debian/compat b/debian/compat index 45a4fb75d..ec635144f 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -8 +9 diff --git a/debian/rules b/debian/rules index c6f707e95..22c84506f 100755 --- a/debian/rules +++ b/debian/rules @@ -56,7 +56,8 @@ else endif ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes) - EXTRA_CMAKE_ARGUMENTS += -DUSE_GSTREAMER_GL=OFF -DUSER_AGENT_GTK_DISTRIBUTOR_NAME=\'\\"Ubuntu\\"\' + CPPFLAGS += -DUSER_AGENT_GTK_DISTRIBUTOR_NAME='"Ubuntu"' + EXTRA_CMAKE_ARGUMENTS += -DUSE_GSTREAMER_GL=OFF EXTRA_CMAKE_ARGUMENTS += -DENABLE_WEB_CRYPTO=OFF EXTRA_CMAKE_ARGUMENTS += -DUSE_WOFF2=OFF -DENABLE_GEOLOCATION=OFF DEB_DH_GENCONTROL_ARGS += -- -Vgst:Recommends="" @@ -68,9 +69,7 @@ endif dh $@ --parallel override_dh_auto_configure: - CFLAGS="$(CFLAGS) $(CPPFLAGS)" \ - CXXFLAGS="$(CFLAGS) $(CPPFLAGS)" \ - LDFLAGS="$(LDFLAGS)" \ + CXXFLAGS="$(CFLAGS)" \ dh_auto_configure -- \ -DPORT=GTK \ -DCMAKE_INSTALL_LIBEXECDIR=lib/$(DEB_HOST_MULTIARCH) \