Bug 1443522 - Fix mime cache generation which was breaking themes r=jlorenzo a=RyanVM
authorKen VanDine <ken.vandine@canonical.com>
Tue, 06 Mar 2018 15:28:06 +0000
changeset 455118 0370af216a0b6b3d64db885704d245d10b71a396
parent 455117 c98eb35cfd6d181f11211f191c04c14efb548e49
child 455119 08d230e4b91e3d85d95d2e528e7cc95d645a9a47
push id1663
push userjlorenzo@mozilla.com
push dateWed, 07 Mar 2018 06:15:10 +0000
treeherdermozilla-release@0370af216a0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlorenzo, RyanVM
bugs1443522
milestone59.0
Bug 1443522 - Fix mime cache generation which was breaking themes r=jlorenzo a=RyanVM 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