Bug 1443522 - Fix mime cache generation which was breaking themes r=jlorenzo
authorKen VanDine <ken.vandine@canonical.com>
Tue, 06 Mar 2018 15:28:06 +0000
changeset 406773 76c828bf2d0332ff25672569ae4b7c68d6fbe9c4
parent 406772 f40b3c7a568df0be3e81048197066abd66226261
child 406774 b98a010be06f6de1bbe43fb047dadd0e9bf523eb
push id33579
push userdluca@mozilla.com
push dateTue, 06 Mar 2018 21:53:23 +0000
treeherdermozilla-central@f89b9a3c44d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlorenzo
bugs1443522
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1443522 - Fix mime cache generation which was breaking themes r=jlorenzo MozReview-Commit-ID: 52jjK66U7iO
taskcluster/docker/firefox-snap/snapcraft.yaml.in
--- a/taskcluster/docker/firefox-snap/snapcraft.yaml.in
+++ b/taskcluster/docker/firefox-snap/snapcraft.yaml.in
@@ -31,20 +31,16 @@ apps:
       - x11
 
 plugs:
   browser-sandbox:
     interface: browser-support
     allow-sandbox: true
 
 parts:
-  desktop-gtk3:
-    prime:
-      - -usr/share/mime
-
   firefox:
     plugin: dump
     source: source
     stage-packages:
       - libxt6
       - libdbus-glib-1-2
       - libasound2
       - libpulse0
@@ -67,19 +63,14 @@ parts:
       update-desktop-database -v $SNAPCRAFT_PART_INSTALL/usr/share/applications
     build-packages:
       - desktop-file-utils
     build-attributes: [no-system-libraries]
 
   shared-mime-info:
     after: [xdg-open]
     plugin: nil
-    source: .
-    build-packages:
+    stage-packages:
       - shared-mime-info
     build-attributes: [no-system-libraries]
     install: |
       set -eux
-      mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
-      install -m 644 mime-handler.xml $SNAPCRAFT_PART_INSTALL/usr/share/mime/packages
       update-mime-database $SNAPCRAFT_PART_INSTALL/usr/share/mime
-    stage:
-      - usr/share/mime