commit fe7495545760b966cae98c7a1e3a205c92f9bfaf Author: Sukhbir Singh sukhbir@torproject.org Date: Thu Jul 16 12:26:12 2015 -0400
Add patch for #16508 since we are not building on nightly --- projects/instantbird/config | 2 ++ .../instantbird/osx-saved-application-state.patch | 26 ++++++++++++++++++++ 2 files changed, 28 insertions(+)
diff --git a/projects/instantbird/config b/projects/instantbird/config index e23de89..9cd0343 100644 --- a/projects/instantbird/config +++ b/projects/instantbird/config @@ -105,6 +105,8 @@ input_files: - filename: branding/about.png - filename: branding/osx.patch enable: '[% c("var/osx") %]' + - filename: osx-saved-application-state.patch + enable: '[% c("var/osx") %]' - filename: cert-installer.patch enable: '[% c("var/osx") %]' - filename: cert_override.txt diff --git a/projects/instantbird/osx-saved-application-state.patch b/projects/instantbird/osx-saved-application-state.patch new file mode 100644 index 0000000..e92e6f7 --- /dev/null +++ b/projects/instantbird/osx-saved-application-state.patch @@ -0,0 +1,26 @@ +# HG changeset patch +# User Arlo Breault arlolra@gmail.com +# Date 1436500709 25200 +# Thu Jul 09 20:58:29 2015 -0700 +# Node ID 1464e4f7b9d0578859a3c25b55b096be83c782a7 +# Parent dfe08be4ec2350ca30eb7bc9f95f0ab363f25a10 +Set NSDisablePersistence to prevent disk leaks. + +diff --git a/im/app/macbuild/Contents/Info.plist.in b/im/app/macbuild/Contents/Info.plist.in +--- a/im/app/macbuild/Contents/Info.plist.in ++++ b/im/app/macbuild/Contents/Info.plist.in +@@ -25,12 +25,14 @@ + <key>CFBundleVersion</key> + <string>%APP_VERSION%</string> + <key>NSAppleScriptEnabled</key> + <true/> + <key>LSMinimumSystemVersion</key> + <string>10.6.0</string> + <key>NSSupportsAutomaticGraphicsSwitching</key> + <true/> ++ <key>NSDisablePersistence</key> ++ <true/> + <key>NSPrincipalClass</key> + <string>GeckoNSApplication</string> + </dict> + </plist>