Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create snap packages #273

Closed
2 of 8 tasks
jiri-janousek opened this issue Nov 16, 2016 · 8 comments
Closed
2 of 8 tasks

Create snap packages #273

jiri-janousek opened this issue Nov 16, 2016 · 8 comments
Assignees
Labels

Comments

@jiri-janousek
Copy link
Member

jiri-janousek commented Nov 16, 2016

Snaps are universal Linux packages.

Package any app for every Linux desktop, server, cloud or device, and deliver updates directly.

Depends on:

My bug reports:

Upstream Issues:

@jiri-janousek jiri-janousek added this to the November 2016 milestone Nov 16, 2016
@jiri-janousek jiri-janousek self-assigned this Nov 16, 2016
@jiri-janousek jiri-janousek changed the title Create snap package Create snap packages Nov 16, 2016
@jiri-janousek jiri-janousek modified the milestones: 4.x, December 2016 Feb 6, 2017
@jiri-janousek
Copy link
Member Author

Hello @flexiondotorg. I propose to fix my example 1 first (I've added you as a collaborator for that repo) and then post the solution to my bug 2 as it may be useful also for other developers.

@flexiondotorg
Copy link

@fenryxo For the WebKit issue I advise that you build webkit as a source part in the snap. I had to do this with zenity recently, for different reasons. The snapcraft.yaml looks something like this:

parts:
  # Build a minimal zenity from source, prevents dragging in WebKit et al.
  zenity:
    plugin: autotools
    configflags:
      - --prefix=/usr
    source: https://git.gnome.org/browse/zenity/snapshot/ZENITY_3_18_1_1.tar.xz
    build-packages:
      - gnome-common
      - libgtk-3-dev
      - libnotify-dev
      - yelp-tools
    stage:
      - usr/bin/zenity
      - usr/share/zenity

  client-test:
    plugin: dump
    source: http://example.org/$SNAPCRAFT_PROJECT_VERSION_amd64.deb
    source-type: deb
    after:
      - desktop-gtk2
      - zenity
    stage-packages:
      - libasound2
      - libavcodec-ffmpeg-extra56
      - libavformat-ffmpeg56
      - libcurl3
      - libgconf-2-4
      - libgl1-mesa-glx
      - libglu1-mesa
      - libgtk-3-0
      - libnotify4
      - libnss3
      - libpulse0
      - libssl1.0.0
      - libxss1
      - libxtst6

Hopefully that gives you the clues to proceed :-)

@jiri-janousek
Copy link
Member Author

Thanks @flexiondotorg. What prefix should I set to workaround the "Unable to fork a new WebProcess: Failed to execute child process "/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess" (No such file or directory)." issue?

@jiri-janousek jiri-janousek removed this from the 4.x milestone Apr 20, 2017
@jiri-janousek
Copy link
Member Author

Since Snap Apps Get Big Promo Push in Ubuntu 17.10, it might be a good idea to create a lite version of Nuvola (#371) for snap after Chromium port is complete.

@jiri-janousek
Copy link
Member Author

jiri-janousek commented Jan 16, 2018

Nuvola Lite 4.9.93 can now run in strict snap confinement (screenshot from Ubuntu 17.10):

deezer_snap

  • Help action crashes.
  • No desktop launcher yet.
  • No Nuvola branding yet.
  • GNOME App Menu doesn't work. It probably needs to export/access additional DBus stuff
  • Nuvola icon in about dialog is missing.
  • Clean up the snap a bit - it's huge: 284 MB.
  • Figure out how to use content interface to share common data between multiple web apps.
  • How about the GNOME platform snap package?

This was referenced May 7, 2018
@jiri-janousek jiri-janousek added the blocked This ticket is blocked by another ticked, which needs to be resolved first. label May 10, 2018
@jiri-janousek
Copy link
Member Author

Explore the contents of /sys/fs/cgroups/devices/snap.<snap name>.<app>.

@jiri-janousek jiri-janousek added stalled Some work has been done but nobody is working on finishing this ticket. and removed blocked This ticket is blocked by another ticked, which needs to be resolved first. labels Nov 19, 2018
@jiri-janousek jiri-janousek added status: backlog and removed stalled Some work has been done but nobody is working on finishing this ticket. labels Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants