Giter Club home page Giter Club logo

snap-repo-template's Introduction

[Project]
[Project]

This is the snap for [Project], “Single-line elevator pitch for your amazing snap”. It works on Ubuntu, Fedora, Debian, and other major Linux distributions.

Published for with 💝 by Snapcrafters

Install

sudo snap install my-snap-name

(Don't have snapd installed?)

Remaining tasks

Snapcrafters (join us) are working to land snap install documentation and the snapcraft.yaml upstream so [Project] can authoritatively publish future releases.

  • Click the green "Use this template" button above to create a new repository based on this template
  • Give the newly created repository a sensible name, like godzilla if you're snapping the Godzilla software (Note: Do not use snap in this name.)
  • Update the description of the repository to Unofficial snap for [Project]
  • Update logos and references to [Project] and [my-snap-name]
  • Create a snap that runs in devmode
  • Convert the snap to strict confinement, or classic confinement if it qualifies
  • Register the snap in the store, using the preferred upstream name
  • Add a screenshot to this README.md
  • Add install instructions to this README.md
  • Update snap store metadata, icons and screenshots
  • Publish the confined snap in the Snap store beta channel
  • Update the install instructions in this README.md
  • Post a call for testing in the Snapcraft Forum "Snapcrafters" category - link
  • Add the Snapcraft store account ([email protected]) as a collaborator to your snap in the Dashboard and ask a Snapcrafters admin to accept this request
  • Fix all important issues found during testing
  • Make a post in the Snapcraft Forum "store-requests" category asking for a transfer of the snap name from you to Snapcrafters - link
  • Ask a Snapcrafters admin to fork your repo into github.com/snapcrafters, and configure the repo for automatic publishing into edge on commit
  • Add the provided Snapcraft build badge to this README.md
  • Publish the snap in the Snap store stable channel
  • Update the install instructions in this README.md
  • Post an announcement in the Snapcraft Forum "Snapcrafters" category - link
  • Ask the Snap Advocacy team to celebrate the snap - link
  • Submit a pull request or patch upstream that adds snap install documentation - link
  • Ask upstream if they are interested in maintaining the Snap. If they are:
    • Fork the upstream project, add the snap build files and required assets/launchers to that repo and submit a pull request or patch - link
    • Add upstream contact information to the README.md
    • If upstream accept the PR:
      • Request upstream create a Snap store account
      • Add upstream account as a collaborator on the snap
      • Contact the Snap Advocacy team to request the snap be transferred to upstream

If you have any questions, post in the Snapcraft forum.

snap-repo-template's People

Contributors

brlin-tw avatar chrismin13 avatar evandandrea avatar flexiondotorg avatar jnsgruk avatar merlijn-sebrechts avatar mr-cal avatar popey avatar ralight avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

snap-repo-template's Issues

Also, I have a new Android folder on ~/ that I think wasn't previously there.

Also, I have a new Android folder on ~/ that I think wasn't previously there.

I'm using Android Studio 4.1
Build #AI-201.8743.12.41.6858069, built on September 23, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.4.0-48-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1998M
Cores: 6
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: Dart, io.flutter
Current Desktop: ubuntu:GNOME

Originally posted by @lapisdecor in snapcrafters/android-studio#78 (comment)

Significant performance issues on current version

Im not sure if its just me but im currently having serious performance issues in running GZDoom on my P4 4Gb model, averaging around 5-15fps on default settings, no mods attached. I need to seriously turn down the anti-aliasing (x2) before before I can hit 20-25fps. This is also on a fully overclocked Pi with the temps never exceeding 57 degrees. CPU usage at 88% during gameplay.

Iv seen GZDoom run significantly smoother on Pi4's before, even with Brutal Doom. I can run OpenJK with absolutely zero issue so I am very confused with whats causing this.

or am I missing something? Thank you

Any chance that Reelism would work on this version of GZDoom? even ignoring the frame issues I was unable to get it to run.

Using xwayland for a python app

Hi guys,

I am trying to modify your example to make my python app work in a similar way.

Here is my yaml file (I basically kept it the same except the parts with the actual app)

name: tk-demo
version: '0.1'
summary: Demo of using tkinter for snappy

description: |
    PyGame bouncing ball on a snappy package
base: core18
confinement: devmode

layout:
    /usr/share/X11:
        bind: $SNAP/usr/share/X11
    /usr/share/tcltk:
        bind: $SNAP/usr/share/tcltk
    /usr/lib/tcltk:
        bind: $SNAP/usr/lib/tcltk

parts:
    xwayland-kiosk-helper:
        plugin: cmake
        source: https://github.com/MirServer/xwayland-kiosk-helper.git
        build-packages: [ build-essential ]
        stage-packages: [ xwayland, i3, libegl1-mesa, libgl1-mesa-glx ]

    pygame-demo:
        plugin: python
        python-version: python3
        source: .
        stage-packages: 
            - python3-tk
            - mesa-utils

environment:
      XWAYLAND_FULLSCREEN_WINDOW_HINT: title="tk"

apps:
    pygame-demo:
        command: xwayland-kiosk-launch bin/tk_demo
        plugs:
        - wayland

However, when I do:

miral-kiosk&
sudo snap install --dangerous ./tk-demo_0.1_amd64.snap --devmode
snap run tk-demo

I get the following error:

Error: Unable to find a valid Wayland socket in /run/user/0
Is a Wayland server running?

Your example works perfectly fine.

Could you possibly give me a pointer on where I might be getting it wrong ?

Many thanks

Apparmor clutter in dmesg?

I have a handful of applications I use on Ubuntu 20.04 that come as snap packages, mostly comms stuff - Discord, Telegram, Wire. All of these applications spew junk into dmesg on a nonstop basis due to apparmor and there isn't any obvious way to make it stop.

Nothing in /etc/appamor or /etc/apparmor.d seems to stop this.

I spent some time with aa-teardown and aa-disable, no joy there. Disabling apparmor with systemd didn't seem to help. I care not at all about what the programs listed in /var/lib/snapd/apparmor/profiles do, so I wiped that directory, which mostly cleaned up dmesg, at the expense of none of the three apps I mentioned being able to run.

I'm really puzzled as to the thought process that lead to this configuration being created in the first place. I've been using Unix since about the time dmesg was added and it's always been the command line view into the kernel ring buffer, a place where one could see particulars regarding system hardware. Absolutely nothing in userland should be getting under foot in there. Continuous notification of activity makes sense for someone who is tuning applications that are using apparmor, but alias of aa-log to tail -f of something in /var/log seems like the right way to go about doing that.

So ... how does one ban snap apps from doing this?

Crash on startup version g4.6.0-m snap release 58

~/snap/gzdoom/common/.config/gzdoom$ gzdoom
GZDoom g4.6.0-m - 2021-05-22 16:34:22 +0200 - SDL version
Compiled on Jul 6 2021

OS: Ubuntu Core 20, Linux 5.4.0-77-generic on x86_64
M_LoadDefaults: Load system defaults.

*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x7fffffff8

Generating gzdoom-crash.log and killing process 13546, please wait... sh: 1: gdb: not found
Terminado (killed)

~/snap/gzdoom/common/.config/gzdoom$ cat gzdoom-crash.log
*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x7fffffff8

System: Linux dubitat 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

GZDoom version g4.6.0-m (c320db66f4b31256d5ad400610a2e1fab028dfe7)
Command line: /snap/gzdoom/58/bin/gzdoom

Not in a level.

Executing: gdb --quiet --batch --command=gdb-respfile-VqEaOQ

$ ls -l /snap/gzdoom/
total 0
drwxr-xr-x 9 root root 120 jul 5 11:33 57/
drwxr-xr-x 9 root root 120 jul 6 11:02 58/
lrwxrwxrwx 1 root root 2 jul 6 23:01 current -> 58/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.