Граф коммитов

55 Коммитов

Автор SHA1 Сообщение Дата
Ken VanDine 7655efedd7 Bug 1623631 - Set GTK_USE_PORTAL to enable xdg-desktop-portal support r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D68081
2020-05-05 09:58:37 +00:00
Johan Lorenzo a5c2c721c3 Bug 1623631 - Drop bundled mimeapps.list, mime cache and set TMPDIR to better take advantage of portals r=rail
Differential Revision: https://phabricator.services.mozilla.com/D67478
2020-05-05 14:29:41 +00:00
Ken VanDine 61d5f61899 Bug 1623627 - Updated to use the gnome-3-34 snapcraft extension r=rail
Differential Revision: https://phabricator.services.mozilla.com/D68252
2020-04-27 15:52:01 +00:00
Mihai Alexandru Michis 9517d84009 Backed out changeset e5a553590394 (bug 1623627) for causing snap failures.
CLOSED TREE
2020-04-27 18:14:29 +03:00
Ken VanDine bd366c3ae6 Bug 1623627 - Updated to use the gnome-3-34 snapcraft extension r=rail
Differential Revision: https://phabricator.services.mozilla.com/D68252
2020-04-27 14:32:15 +00:00
Ken VanDine f377d047a2 Bug 1622282 - extract gnome-3-28-1804 platform snap to be used in the cleanup part r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D67629

--HG--
extra : moz-landing-system : lando
2020-03-30 10:21:03 +00:00
Ken VanDine 866ea7e844 Bug 1622282 - Find files provided by the base and platform snap and ensure they aren't duplicated in this snap r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D66778

--HG--
extra : moz-landing-system : lando
2020-03-30 10:20:48 +00:00
Bogdan Tara f995b16e1b Backed out changeset 1a0776f93e88 (bug 1622282) for snap repackage bustages. DONTBUILD
--HG--
extra : rebase_source : c2a45e4f24a62cf7c42affeac397bb8f8e1b0e67
2020-03-20 14:59:53 +02:00
Ken VanDine 7b5a22d7e2 Bug 1622282 - Find files provided by the base and platform snap and ensure they aren't duplicated in this snap r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D66778

--HG--
extra : moz-landing-system : lando
2020-03-13 16:28:08 +00:00
Rob Lemley 27ef39e646 Bug 1615932 - Support building Thunderbird Snap packages with firefox-snap. r=jlorenzo
Changes to the firefox-snap Docker image to support building Thunderbird Snap
packages as well.
Replaced hardcoded "firefox" instances in runme.sh with $PRODUCT variable and
renamed "snapcraft.yaml.in" to "firefox.snapcraft.yaml.in".

Differential Revision: https://phabricator.services.mozilla.com/D63035

--HG--
rename : taskcluster/docker/firefox-snap/snapcraft.yaml.in => taskcluster/docker/firefox-snap/firefox.snapcraft.yaml.in
extra : moz-landing-system : lando
2020-03-03 14:48:49 +00:00
Johan Lorenzo fe9163f160 Bug 1616048 - Fix firefox-snap docker image r=rail
Differential Revision: https://phabricator.services.mozilla.com/D63077

--HG--
extra : moz-landing-system : lando
2020-02-18 22:18:01 +00:00
Krish De Souza e6b8e53803 Bug 1591751 - Updated snapcraft.yaml and Dockerfile to make use of modern snapcraft features. r=jlorenzo
In this patch I have adapted the Docker file to make use of core18 and snapcraft3.
This is the recommended approach as stated here.
https://snapcraft.io/docks/t/creating-docker-images-for-snapcraft/11739
Specifically the part talking about replacing likes FROM ubuntu:xenial with FROM ubuntu:bionic.


In snapcraft.yaml.in, I adjusted the snap by using the gnome-3-28 extensions as described in
https://forum.snapcraft.io/t/the-gnome-3-28-extension/13485.
In addition, I followed the instructions presented by removing the unnecessary plugs relating
to the desktop extension and adding the relevant dbus slot.

As part of the build process, it required a bunch of extra staged packages which I have documented.
I also used the magic part from Ken Vandine's thunderbird snapcraft for updating mime info.
https://bazaar.launchpad.net/~ubuntu-desktop/thunderbird/snap/view/head:/snapcraft.yaml
I also removed the xdg-open as that seemed to not be enabling the building of the snap.

Differential Revision: https://phabricator.services.mozilla.com/D53355

--HG--
extra : moz-landing-system : lando
2019-11-26 14:34:47 +00:00
Johan Lorenzo a966f72bb8 Bug 1597928 - Snap repackage: Stop fetching scripts from the hg.mozilla.org archive endpoint r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D53933

--HG--
extra : moz-landing-system : lando
2019-11-21 09:50:47 +00:00
Sylvestre Ledru d932e6b836 Bug 1562642 - add missing license in taskcluster r=dustin
Depends on D52579

Differential Revision: https://phabricator.services.mozilla.com/D52581

--HG--
extra : moz-landing-system : lando
2019-11-11 22:16:37 +00:00
Johan Lorenzo 3369159d15 Bug 1460347 - snap: enable joystick interface r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D47743

--HG--
extra : moz-landing-system : lando
2019-10-01 10:07:07 +00:00
Olivier Tilloy 3de38436b6 Bug 1436457 - Add a group policy file to disable app updates, as those are handled by snapd. r=jlorenzo,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D26281

--HG--
extra : moz-landing-system : lando
2019-04-09 12:40:32 +00:00
Olivier Tilloy 296bf87781 Bug 1473602 - Add u2f-devices plug to snap package. r=jlorenzo
This allows the confined snap to interact with Universal 2nd Factor devices, such as Yubikeys.

Differential Revision: https://phabricator.services.mozilla.com/D24147

--HG--
extra : moz-landing-system : lando
2019-03-20 12:54:00 +00:00
Jed Davis cb0091487b Bug 1472589 - Fix parent process crash reporting in the Snap package environment. r=ted,jlorenzo
1. The unsetting of LD_LIBRARY_PATH is removed, because it's no longer
necessary and interferes with environments where it's necessary to find
"system" libraries like GTK; see bug 1472589 comment #1 through #4.

2. The Snap package manifest adds a dependency on the libcurl package,
so that the crash reporter can send the report.  This uses the GnuTLS
variant because we're already pulling in GnuTLS as a dependency of some
other packages (FFmpeg and CUPS, but also the non-GnuTLS cURL packages
depend on it anyway via OpenLDAP).

Differential Revision: https://phabricator.services.mozilla.com/D18625

--HG--
extra : moz-landing-system : lando
2019-02-11 13:49:35 +00:00
Johan Lorenzo 5b3fccf5b2 Bug 1456327 - Snap: pin desktop-gtk3 dependency for causing start up crash r=sfraser
MozReview-Commit-ID: 4diqZRxNwj3

--HG--
extra : rebase_source : cf97f01c31e8e67ebb05c2360a55cb44d0a5d1db
2018-04-27 11:17:02 +02:00
Johan Lorenzo bd5684096a Bug 1447263 - Snap: Split build and upload task r=rail
MozReview-Commit-ID: DGLQZLTjJDu

--HG--
rename : taskcluster/ci/release-snap/kind.yml => taskcluster/ci/release-snap-repackage/kind.yml
rename : taskcluster/taskgraph/transforms/release_snap.py => taskcluster/taskgraph/transforms/release_snap_repackage.py
extra : rebase_source : dcd16e9e7e28f1817de12ff469c1456305a2dafc
2018-03-20 17:19:50 +01:00
Olivier Tilloy e9b0682a45 Bug 1449864: [snap package] add the removable-media plug to allow saving downloaded files to /media. r=jlorenzo
MozReview-Commit-ID: LcKaZOZP6vS

--HG--
extra : rebase_source : 52b66130a2d7044f35e0ef7f645469d62f81d0fb
2018-03-29 10:10:53 +02:00
Johan Lorenzo fe8f5fc199 Bug 1448239 - Force apt database update so snapcraft can fetch packages r=rail
MozReview-Commit-ID: KAp4dCyHMRA

--HG--
extra : rebase_source : 15210a4ad3e402859f11771bb4a212132b002ac6
2018-03-23 12:06:51 +01:00
Johan Lorenzo c0b485fa3a Bug 1444898 - Snap: Use dedicated snap docker image instead of the Ubuntu one r=rail
MozReview-Commit-ID: 2wDKUHJI9tr

--HG--
extra : rebase_source : 43ca551162eeeea43800c268c4033892da3644d2
extra : intermediate-source : 1e0275c17b6cf25563de0f6af4f60c57edc0400a
extra : source : 64c2b865e1f277e0a5965e4331dce75cf5458f50
2018-03-12 15:23:32 +01:00
Ken VanDine 4bdff4292f Bug 1444140 - xdg-utils shouldn't be bundled in the firefox snap r=jlorenzo
MozReview-Commit-ID: CI6j8lxxA1T

--HG--
extra : rebase_source : da0e99aa8d494044269051c50531e5018cad8aca
2018-03-09 10:56:44 +00:00
Brindusan Cristian eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Ken VanDine 7d4a79ab48 Bug 1442419 - Fixed typo in the mimeapps.list bundled in the snap r=jlorenzo 2018-03-08 13:25:12 +00:00
Johan Lorenzo 7a3bc22148 Bug 1443419 - Extract gtk30.mo files from all the Ubuntu langpacks and bundle them into the snap. p=kenvandine r=sfraser
MozReview-Commit-ID: JB2PojGgike

--HG--
extra : rebase_source : 699a98d0564c8f2a73a0e3687eebcc2885632572
2018-03-07 18:54:54 +01:00
Ken VanDine 2f58dc2d51 Bug 1443736 - Improved mechanism for handing opening files after downloading with snap r=jlorenzo
MozReview-Commit-ID: 6WR2HBJRlBy

--HG--
extra : rebase_source : cfc5fe1450778f038e5f9c47b333c86d9ab07e5c
2018-03-07 08:26:48 +00:00
Ken VanDine c04a3e753e Bug 1443522 - Fix mime cache generation which was breaking themes r=jlorenzo
MozReview-Commit-ID: 52jjK66U7iO

--HG--
extra : rebase_source : 901efa708aa6b85596a3084ef9115c08288ecaf1
2018-03-06 15:28:06 +00:00
Tiberius Oros 9a5db673a8 Backed out changeset 32c3c20fd489 (bug 1443419) for shell failure on shell failure on /firefox-snap/runme.sh:53 on CLOSED TREE
--HG--
extra : amend_source : cbc8b1f406e34c98ebb5e1ba570859a9b2d90988
2018-03-06 15:25:37 +02:00
Ken VanDine 14dd930e17 Bug 1443419 - Extract gtk30.mo files from all the Ubuntu langpacks and bundle them into the snap. r=jlorenzo
MozReview-Commit-ID: BGioikt15CL

--HG--
extra : rebase_source : 2f7a3bd3b66bd0dbd0534398d0d4056b4f199019
2018-03-06 09:15:26 +00:00
Johan Lorenzo ef248693b2 Bug 1443144 - part2: Fix bad shell quotes r=sfraser a=RyanVM
MozReview-Commit-ID: BD8NTgd1Xgq

--HG--
extra : rebase_source : 7f9be73fde97dd6831b2954bd37afe477ecb0573
2018-03-05 16:33:19 +01:00
Ken VanDine ebfccc8c4c Bug 1443144 - Fix snap build failure caused by files not being copied into ${WORKSPACE} r=jlorenzo
MozReview-Commit-ID: KF1ZH9jZGOf

--HG--
extra : rebase_source : a997df0d0b7ed11b7ba2ef19e3efb50469580cdd
2018-03-05 14:32:26 +00:00
Ken VanDine ca87e2403a Bug 1442419 - Fix failure to open files after downloading with snap r=jlorenzo
This fix does several things:
 * Removes the mime cache generated by the desktop-gtk3 remote part
 * Installs a stub shared-mime-info database
 * Set default association for all types to use xdg-open

Note: There is still work[1] to be completed in snapd, adding OpenFile
support to xdg-open.  Landing this is harmless though, it will fail
silently just as it does today but will start working when the snapd
feature lands.

1. https://github.com/snapcore/snapd/pull/4766
opening requested files,

MozReview-Commit-ID: 1eeOLeVN8xQ

--HG--
extra : rebase_source : e948bafc583f91177530ce00ec26c69619a7f8f9
2018-03-01 22:02:21 +00:00
Ken VanDine 1d54e75ded Bug 1441920 - Run update-mime-database at the end of the build rather than on startup of the snap r=jlorenzo
MozReview-Commit-ID: 8Fu1A8LsLSr

--HG--
extra : rebase_source : 43b3e4a981e0e7bd8d83c98fc1b01fb64aa4f973
2018-02-28 17:44:00 +00:00
Ken VanDine d30a516912 Bug 1441884 - Add network-observe to plugs in snap r=jlorenzo
MozReview-Commit-ID: FZ5yOvnwmaF

--HG--
extra : rebase_source : b86988fa128834eeb8200703f3b353cbac54d710
2018-02-28 16:09:04 +00:00
Ken VanDine 85584725b3 Bug 1441822 - Add upower-observe to plugs in snap r=jlorenzo
MozReview-Commit-ID: FqJ9lC9PwRF

--HG--
extra : rebase_source : 4d2a11cba2ca059738e1f7a385732e8611154b8d
2018-02-28 15:53:29 +00:00
Johan Lorenzo 42a82bc9bb Bug 1411559 - Snap: Add upload on mozilla-release and restrict channels r=sfraser
MozReview-Commit-ID: DHszbMhpFKI

--HG--
extra : rebase_source : 1b8954fb96c1e5fbedbdd4f58f65e26be1a4ba29
2018-02-28 14:50:28 +01:00
Michael Kaply 775018640e Bug 1436468 - Send downloads to the correct directory. r=jlorenzo
MozReview-Commit-ID: LSPNgFOjQhz

--HG--
extra : rebase_source : 373bccadbae13fd3df9043c8bf41950a907836f7
2018-02-07 12:46:53 -06:00
Johan Lorenzo b098ea094d Bug 1436445 - Use icon included in the snap r=mkaply
MozReview-Commit-ID: BXl5TghQpRx

--HG--
extra : rebase_source : ed80103b931c5fd45920559abf21815d500e3ed0
2018-02-12 10:31:25 +01:00
Simon Fraser 5acab0f13e Bug 1432627 Add shellcheck linter to CI r=ahal
MozReview-Commit-ID: 2IYUsXunfab

--HG--
extra : rebase_source : 806ab4abfb1838a1b5eec279f5e93ce5c703685d
2018-01-29 15:27:04 +00:00
Simon Fraser 5812422f52 Bug 1432756 Linting compliance for firefox-snap docker image r=jlorenzo
MozReview-Commit-ID: IyfL0Cbnkjh

--HG--
extra : rebase_source : abed84a8628b229cedc17780152683f8ec8db79f
2018-01-24 14:36:46 +00:00
Johan Lorenzo 53c7caf998 Bug 1432417 - Fetch l10n_changesets from tree r=sfraser
MozReview-Commit-ID: FEyb6hmJXmf

--HG--
extra : rebase_source : df298ca97769a210d9fab81bd1a7c87effba8ef6
2018-01-23 11:17:49 +01:00
Dorel Luca d3a8d8de8b Backed out changeset 5a4e85dccded (bug 1432417) for lint failure on /builds/worker/checkouts/gecko/taskcluster/docker/firefox-snap/extract_locales_from_l10n_json.py on a CLOSED TREE
--HG--
extra : amend_source : 5bad9668247f422f1f2665543a33b2ebd2f90e52
2018-01-23 15:05:05 +02:00
Johan Lorenzo 3354095c95 Bug 1432417 - Fetch l10n_changesets from tree r=sfraser
MozReview-Commit-ID: FEyb6hmJXmf

--HG--
extra : rebase_source : 29294a5e9cc0c2b513391826d7ab8249e6e12f41
2018-01-23 11:17:49 +01:00
Johan Lorenzo d4fa2b0378 Bug 1430073 - Snap: Move executable outside of $WORKSPACE/source/opt/firefox r=sfraser
MozReview-Commit-ID: 1Fqeg04yncD

--HG--
extra : rebase_source : cd7f988e3ef9068fa315b51d114ffe6d60094be8
2018-01-12 13:51:40 +01:00
Johan Lorenzo 34803fee8d Bug 1428728 - Snap: Fix media playback, webgl and printing r=sfraser
MozReview-Commit-ID: G31Iq6NjXN4

--HG--
extra : rebase_source : b207a528507871c831d01c4b03df8b7f544db8ee
2018-01-08 10:46:00 +01:00
Rail Aliiev 030ee29f17 Bug 1425518 - Snap: remove wayland support r=mtabara DONTBUILD
--HG--
extra : amend_source : 93e7cf599c6a095dc5ffac59b064071f12d987fb
2017-12-18 16:32:09 -05:00
Aki Sasaki 8e84a34463 bug 1423081 - snap support. r=callek
MozReview-Commit-ID: BPZrBDJxLYu

--HG--
extra : rebase_source : b3d1af05be248bb6df59f4441296f3c6014d803c
extra : histedit_source : 52145ce664c0ca6ab26b0eaac2ceb5c5163b1139
2017-12-05 19:27:00 -08:00
Johan Lorenzo 4577fc1a90 Bug 1422063 - Cannot start snap on Wayland r=rail
MozReview-Commit-ID: 1GyQUqJZFra

--HG--
extra : rebase_source : e351f3000a1dec48270d785ac902cce77a19d02d
2017-11-30 18:58:08 +01:00