Hey, We are trying to update opera packages (opera, opera-beta, opera-developer) to core22. From what I understand this should autoconnect to gnome-42-2204, but it doesn’t seem to work.
Latest edge opera-developer is based on core22. Could you help me figure out what am I missing here?
Here is snapcraft.yaml:
name: {{ filesystem_name }}
version: {{ major }}.{{ minor }}.{{ nightly }}.{{ patch }}
summary: Fast and secure web browser
description: |
Opera is a fast, secure, and user-friendly web browser.
It includes a built-in ad blocker, Video pop-out, and free VPN.
architectures:
- amd64
base: core22
confinement: strict
grade: stable
plugs:
browser-sandbox:
allow-sandbox: true
interface: browser-support
# We need to specify the chromium-ffmpeg interface slot for Opera. When a snap
# version Opera cannot play H.264 videos while the debian version can,
# consider update to the latest interface slot first. A slot version may also
# be removed from chromium-ffmpeg. In this case, we can do
# `snap revert chromium-ffmpeg` as a workaround.
chromium-ffmpeg-111306:
interface: content
target: $SNAP
default-provider: chromium-ffmpeg
apps:
{{ filesystem_name }}:
command: bin/{{ filesystem_name }}.launcher
desktop: usr/share/applications/{{ filesystem_name }}.desktop
environment:
DISABLE_WAYLAND: 1
extensions:
- gnome
slots:
- dbus-daemon
plugs:
- audio-playback
- avahi-observe
- browser-sandbox
- camera
- cups-control
- home
- network
- network-control
- network-manager
- password-manager-service
- process-control
- pulseaudio
- removable-media
- screen-inhibit-control
- u2f-devices
- unity7
- upower-observe
parts:
browser:
plugin: dump
source: data
stage-packages:
- libasound2
- libatk-bridge2.0-0
- libatk1.0-0
- libatspi2.0-0
- libcairo-gobject2
- libcairo2
- libcups2
- libcurl4
- libdatrie1
- libepoxy0
- libfontconfig1
- libfreetype6
- libgconf-2-4
- libgl1-mesa-glx
- libglu1-mesa
- libgpm2
- libgraphite2-3
- libgtk-3-0
- libharfbuzz0b
- libnotify4
- libnspr4
- libnss3
- libpango-1.0-0
- libpangocairo-1.0-0
- libpangoft2-1.0-0
- libpixman-1-0
- libpulse0
- libsecret-1-0
- libthai0
- libwayland-client0
- libwayland-cursor0
- libwayland-egl1
- libxcb-render0
- libxcb-shm0
- libxcomposite1
- libxcursor1
- libxi6
- libxinerama1
- libxkbcommon0
- libxrandr2
- libxrender1
- libxss1
- libxtst6
override-build: |
snapcraftctl build
chmod 4755 $SNAPCRAFT_PART_INSTALL/{{ target_dir }}/{{ filesystem_name }}/opera_sandbox
slots:
dbus-daemon:
interface: dbus
bus: session
name: com.opera.{{ filesystem_name }}