trisquel-icecat/icecat/debian/patches/support-coinstallable-trunk-build.patch

34 lines
965 B
Diff

Description: Introduce --with-app-profile to change the profile location, so
that we can have nightly builds that are fully coinstallable with release
builds
Author: Chris Coulson <chris.coulson@canonical.com>
Forwarded: no
--- a/old-configure.in
+++ b/old-configure.in
@@ -2195,6 +2195,15 @@
MOZ_UA_VENDOR="$WITH_UA_VENDOR"
fi
+MOZ_ARG_WITH_STRING(app-profile,
+[--with-app-profile=APPPROFILE sets MOZ_APP_PROFILE to APPPROFILE],
+WITH_APP_PROFILE=$withval,
+)
+
+if test -n "$WITH_APP_PROFILE" ; then
+ MOZ_APP_PROFILE="$WITH_APP_PROFILE"
+fi
+
AC_SUBST(MOZ_OFFICIAL_BRANDING)
if test -n "$MOZ_OFFICIAL_BRANDING"; then
if test -z "$MOZ_OFFICIAL_BRANDING_DIRECTORY"; then
--- a/build/moz.configure/old.configure
+++ b/build/moz.configure/old.configure
@@ -240,6 +240,7 @@
"--includedir",
"--libdir",
"--prefix",
+ "--with-app-profile",
"--with-branding",
"--with-distribution-id",
"--with-macbundlename-prefix",