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

The size of snap package is too big & can be optimized #1

Closed
keshavbhatt opened this issue May 4, 2021 · 5 comments
Closed

The size of snap package is too big & can be optimized #1

keshavbhatt opened this issue May 4, 2021 · 5 comments

Comments

@keshavbhatt
Copy link

Hi, I just inspected your snapcraft.yaml file (I suppose is being used to build snap package) and found there are lots of packages in stage package that are not required like i don't know why you need those lib-dev packages go inside the final snap? Also are you sure the gstreamer packages you adding to stage package do not already exists in the gnome content snap that you using? I learned from the docs that they package GStreamer, and even WebKitGTK inside the gnome runtime content snap. The snapcraft file need to be inspected to bring the size of your application down. If you need help, visit http://forum.snapcraft.io/ open a forum post, ask people for help etc.

@mirkobrombin
Copy link
Owner

mirkobrombin commented May 4, 2021

The webkitgtk bundled in the gnome runtime is too old. The gstreamer plugins are required for Amazon music to function properly, otherwise a message is displayed inviting you to use Chrome.

Ps. you link the flatpak docs, this is the snapcraft one https://snapcraft.io/docs/gnome-3-38-extension

@keshavbhatt
Copy link
Author

Ps. you link the flatpak docs, this is the snapcraft one https://snapcraft.io/docs/gnome-3-38-extension

Yes, the docs here says they are derived from gnome-platform-sdk . You can check what is already inside the content snap built with the recipe and avoid adding them in your snap stage-package, cause if you do there is no use of using content snap. The webkit version thing is reasonable though.

Cheers, for the updates. You managed to reduce size of your final snap nearly by 42% :)

@mirkobrombin
Copy link
Owner

Ps. you link the flatpak docs, this is the snapcraft one https://snapcraft.io/docs/gnome-3-38-extension

Yes, the docs here says they are derived from gnome-platform-sdk . You can check what is already inside the content snap built with the recipe and avoid adding them in your snap stage-package, cause if you do there is no use of using content snap. The webkit version thing is reasonable though.

Cheers, for the updates. You managed to reduce size of your final snap nearly by 42% :)

Thanks for your contribution!

@keshavbhatt
Copy link
Author

keshavbhatt commented May 4, 2021

Thanks for your contribution!

Man, Sorry i couldn't make it to a PR, been too busy maintaining my own apps lately.
I also noticed some more issues :

  • App launcher find no icon for your application, tested in Unity 7 Desktop.
  • The mainwindow is not draggable with mouse, tested in Unity 7 Desktop.
    I am using Unity 7 desktop for my work, so I was only able to test your app in Unity 7.

@mirkobrombin
Copy link
Owner

Thanks for your contribution!

Man, Sorry i couldn't make it to a PR, been too busy maintaining my own apps lately.
I also noticed some more issues :

  • App launcher find no icon for your application, tested in Unity 7 Desktop.
  • The mainwindow is not draggable with mouse, tested in Unity 7 Desktop.
    I am using Unity 7 desktop for my work, so I was only able to test your app in Unity 7.

I'm working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants