Version 1.6.0 #3

Merged
merged 9 commits into from Sep 1, 2017

Conversation

Projects
None yet
3 participants
Member

diddledan commented Aug 25, 2017

also uses gnome-platform - works on my system when built with cleanbuild

diddledan added some commits Aug 3, 2017

replace jhbuild with individual parts
add gstreamer parts individually and replace jhbuild plugin use with the gnome-platform ppa and autotools part
remove unused jhbuild plugin and minor fixes
snapcraft.yaml: various improvements for pulseaudio and gstreamer
openh264-helper: remove debugging echo of $LD_LIBRARY_PATH
rename assets to snapcrafters-assets and add upstream data dir
- make clear that the assets are purely for the snapcrafters readme
- add a pair of assets from upstream's data dir. Uses the same dir layout as upstream to allow for later merge into their repo without changing any references in snapcraft.yaml
add gstreamer override and pulse override
- add snap-files/gstreamer-launch to provide gstreamer-specific overrides
- add snap-files/pulse-launch to provide pulseaudio overrides
Member

Ads20000 commented Aug 27, 2017

snapcraft on Ubuntu 17.04 failed. snapcraft cleanbuild works though and the snap built from that works. However, it does not run. Even after snap install gnome-3-24 and snap connect corebird:gnome-3-24-platform gnome-3-24:gnome-3-24-platform (which is not user-friendly at all, someone who installs via their software center and launches via their launcher will not see this message, Corebird will simply not work, but that's some design work that needs to happen on snappy's side with the GNOME platform and with software centers) it still says that I haven't connected this snap with the GNOME platform snap. I've reported the issue on the forum here.

$ snapcraft
Skipping pull desktop-gnome-platform (already ran)
Skipping pull libopenh264-library (already ran)
Skipping build libopenh264-library (already ran)
Skipping pull gnome-platform (already ran)
'gstreamer' has prerequisites that need to be staged: libopenh264-library gnome-platform
Preparing to build gnome-platform 
Building gnome-platform 
tee: /etc/apt/sources.list.d/gnome-3-24.list: Permission denied
deb http://ppa.launchpad.net/ubuntu-desktop/gnome-3-24/ubuntu xenial main
Executing: /tmp/apt-key-gpghome.VBD8dfZvQO/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 399B698EEA9EF163B6F9A0F62CC98497A1231595
gpg: key 2CC98497A1231595: public key "Launchpad PPA for Ubuntu Desktop" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no writable keyring found: Not found
gpg: error reading '[stdin]': General error
gpg: import from '[stdin]' failed: General error
gpg: Total number processed: 0
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Command '['/bin/sh', '/tmp/tmpyuxvzf3g', '/tmp/tmpgnngvfs7']' returned non-zero exit status 100.
$ sudo snap install gnome-3-24
gnome-3-24 3.24 from 'canonical' installed
$ sudo snap connect corebird:gnome-3-24-platform gnome-3-24:gnome-3-24-platform
$ snap run corebird
You need to connect this snap to the gnome platform snap.

You can do this with those commands:
snap install gnome-3-24
snap connect corebird:gnome-3-24-platform gnome-3-24:gnome-3-24-platform
Member

diddledan commented Aug 28, 2017

The issue with reporting that the gnome-platform snap isn't connected even when you've clearly done the required command is a bug in snapd which 2.27 is supposed to fix when it's available. In the meantime you can run sudo /usr/lib/snapd/snap-discard-ns corebird though that is a low-level internal-to-snapd command that shouldn't be used ordinarily by users

Member

Ads20000 commented Aug 28, 2017

Yes apologies I found the relevant bug online, let me try again.

Member

Ads20000 commented Aug 28, 2017

Interesting, SNAPCRAFT_CONTAINER_BUILDS=1 snapcraft fails when trying to build gstreamer, however snapcraft cleanbuild works fine and builds a working snap (haven't tested said snap on Ubuntu 16.04 though, have you?). Do you have write access to this repo so you can pull it? The sooner we get this out to stable the better (assuming it does work on 16.04, this really does need to be tested on that distro to see if it works on systems that don't have GTK+ 3.20 in their traditional packaging)!

$ SNAPCRAFT_CONTAINER_BUILDS=1 snapcraft

# ...

Parts 'libopenh264-library' and 'gstreamer' have the following file paths in common which have different contents:
    lib/x86_64-linux-gnu/libwrap.so.0.7.6
    usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0
    usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
    usr/lib/x86_64-linux-gnu/libpulse-simple.so.0.1.0
    usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.8
    usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
    usr/share/doc/gcc-6-base/README.Debian.amd64.gz
    usr/share/doc/gcc-6-base/changelog.Debian.gz
    usr/share/doc/libasyncns0/changelog.Debian.gz
    usr/share/doc/libdbus-1-3/NEWS.gz
    usr/share/doc/libdbus-1-3/changelog.Debian.gz
    usr/share/doc/libflac8/changelog.Debian.gz
    usr/share/doc/libflac8/copyright
    usr/share/doc/libpulse0/NEWS.gz
    usr/share/doc/libpulse0/changelog.Debian.gz
    usr/share/doc/libpulse0/copyright
    usr/share/doc/libsndfile1/changelog.Debian.gz
    usr/share/doc/libsndfile1/copyright
    usr/share/doc/libvorbis0a/changelog.Debian.gz
    usr/share/doc/libwrap0/changelog.Debian.gz

Snapcraft offers some capabilities to solve this by use of the following keywords:
    - `filesets`
    - `stage`
    - `snap`
    - `organize`

Learn more about these part keywords by running `snapcraft help plugins`
Member

diddledan commented Aug 29, 2017

no, I don't have access to pull the PR. @flexiondotorg or @popey should be able to do so

Member

Ads20000 commented Aug 29, 2017

Could I put a call for testing on the forum for 1.6.0 on Ubuntu 16.04? :)
(Will say to use the command git clone https://github.com/diddledan/corebird-snap.git --branch version-1.6.0 && snapcraft cleanbuild && sudo snap install corebird_1.6.0_amd64.snap --dangerous && snap run corebird)

@diddledan diddledan referenced this pull request Aug 31, 2017

Merged

Teeny snap #4

@popey popey merged commit 5acbe46 into snapcrafters:master Sep 1, 2017

diddledan pushed a commit to diddledan/corebird-snap that referenced this pull request Nov 19, 2017

diddledan added a commit to diddledan/corebird-snap that referenced this pull request Nov 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment