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

Provide official Corebird Snap #707

Open
Ads20000 opened this issue Apr 17, 2017 · 3 comments
Open

Provide official Corebird Snap #707

Ads20000 opened this issue Apr 17, 2017 · 3 comments

Comments

@Ads20000
Copy link

Ads20000 commented Apr 17, 2017

Could you provide an official Corebird Snap? Diddledan made one which seems to work fine (sudo snap install corebird-diddledan ; snap run corebird-diddledan.corebird) but that run command is messy (snap run corebird would be better) so ideally we need a corebird Snap uploaded to the store that's primarily maintained by the original developers (you!). They're making a command for adding additional collaborators if you want to add Diddledan to help you maintain the official Snap later.

Could you use the following snapcraft.yaml to make a Snap for the Edge channel (it will automatically rebuild when you modify your Git repo)? It should be fairly self-explanatory on build.snapcraft.io but do comment if it's not and I'll try and help :)

name: corebird
version: master
summary: Corebird Twitter Client
description: |
  Corebird is a modern and lightweight Twitter client for the GNOME 3 desktop. It
  features inline image and video preview, creation of lists and favorites,
  filtering of tweets and full text search. Corebird is able to manage multiple
  Twitter accounts.
confinement: strict
slots:
  dbus-corebird:
    interface: dbus
    bus: session
    name: org.baedert.corebird
apps:
  corebird:
    command: desktop-launch $SNAP/usr/bin/corebird
    plugs: [gsettings, home, network, pulseaudio, unity7]
parts:
  corebird:
    source: https://github.com/baedert/corebird.git
    plugin: autotools
    configflags: [ '--prefix=/usr', '--disable-spellcheck' ]
    build-packages:
      - gettext
      - gstreamer1.0-alsa
      - gstreamer1.0-fluendo-mp3
      - gstreamer1.0-libav
      - gstreamer1.0-plugins-base
      - gstreamer1.0-plugins-good
      - gstreamer1.0-plugins-bad
      - gstreamer1.0-pulseaudio
      - gstreamer1.0-tools
      - gstreamer1.0-x
      - libgstreamer-plugins-base1.0-dev
      - libgstreamer-plugins-good1.0-dev
      - libgstreamer-plugins-bad1.0-dev
      - libgstreamer1.0-dev
      - libjson-glib-dev
      - librest-dev
      - libsqlite3-dev
      - libxml2-utils
      - valac
    stage-packages:
      - gstreamer1.0-alsa
      - gstreamer1.0-fluendo-mp3
      - gstreamer1.0-libav
      - gstreamer1.0-plugins-base
      - gstreamer1.0-plugins-good
      - gstreamer1.0-plugins-bad
      - gstreamer1.0-pulseaudio
      - gstreamer1.0-tools
      - gstreamer1.0-x
      - libgstreamer1.0-0
      - libgstreamer-plugins-base1.0-0
      - libgstreamer-plugins-good1.0-0
      - libgstreamer-plugins-bad1.0-0
      - libjson-glib-1.0-0
      - librest-0.7-0
      - libsqlite3-0
      - libxml2
      - zlib1g
after: [ desktop-gtk3 ]

Then, when a new release is tagged, push that build to Beta/Candidate/Stable :)

Also if you said somewhere how to install this you'd need to point out that the following command needs to be used to be able to log in and to open links and you can only do this on Ubuntu: sudo apt install snapd-xdg-open, so you'd also want to note that currently you can only install the Snap on Ubuntu. They're working on a way to open links from inside Snaps that doesn't require that package.

@Ads20000
Copy link
Author

Diddledan's made one called corebird now, ideally this issue should be kept open because baedert probably should be added as a collaborator when this feature is released.

@lucyllewy
Copy link

I'm willing to carry-on maintaining the snap indefinitely, so all @baedert needs to do if they feel inclined is to add instructions for snap in addition to the flatpak instructions.

For the time being it needs to be noted that the apt package called snapd-xdg-open needs to be installed to allow urls to be opened in a browser. After that, one just needs to snap install corebird and Bob will happen to be your Mother's Brother.

@Ads20000
Copy link
Author

That would certainly be nice if Snappy install instructions were added here! Thanks @diddledan for the rename though, I think that makes it slightly more discoverable.

Yes sudo apt install snapd-xdg-open unfortunately needs to be run for opening links on Ubuntu to work, unfortunately you can't open links on other distros. The command won't be necessary and links will work on other distros when this snapd PR is merged and a release with it included is made

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