{"action":"created","issue":{"url":"https://api.github.com/repos/jangernert/FeedReader/issues/268","repository_url":"https://api.github.com/repos/jangernert/FeedReader","labels_url":"https://api.github.com/repos/jangernert/FeedReader/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/jangernert/FeedReader/issues/268/comments","events_url":"https://api.github.com/repos/jangernert/FeedReader/issues/268/events","html_url":"https://github.com/jangernert/FeedReader/issues/268","id":190592932,"number":268,"title":"Create snap for feedreader","user":{"login":"lightonflux","id":1377943,"avatar_url":"https://avatars.githubusercontent.com/u/1377943?v=3","gravatar_id":"","url":"https://api.github.com/users/lightonflux","html_url":"https://github.com/lightonflux","followers_url":"https://api.github.com/users/lightonflux/followers","following_url":"https://api.github.com/users/lightonflux/following{/other_user}","gists_url":"https://api.github.com/users/lightonflux/gists{/gist_id}","starred_url":"https://api.github.com/users/lightonflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightonflux/subscriptions","organizations_url":"https://api.github.com/users/lightonflux/orgs","repos_url":"https://api.github.com/users/lightonflux/repos","events_url":"https://api.github.com/users/lightonflux/events{/privacy}","received_events_url":"https://api.github.com/users/lightonflux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-11-20T23:40:51Z","updated_at":"2016-12-08T12:30:54Z","closed_at":null,"body":"Here my first try getting a more complex application snapped. At the moment it compiles without complains but exits with an error.\r\n\r\nHere the current snapcraft file which compiles well under Ubuntu 16.10.\r\n\r\n```\r\n\r\nname: feedreader-snap\r\nversion: '0.1'\r\nsummary: FeedReader is a desktop application to complement  RSS accounts.\r\ndescription: |\r\n  Mindblowing good description of feedreader the awesome feedreader app.\r\n\r\ngrade: devel # must be 'stable' to release into candidate/stable channels\r\nconfinement: devmode # use 'strict' once you have the right plugs and slots\r\n\r\napps:\r\n  feedreader-snap:\r\n    command: bin/feedreader\r\n    plugs: [home, unity7, x11, gsettings, network]\r\n  env: # for testing\r\n    command: env\r\n\r\nparts:\r\n  feedreader:\r\n    plugin: cmake\r\n    configflags: [\"-DUSE_WEBKIT_4=ON -DWITH_LIBUNITY=OFF\"]\r\n    source: https://github.com/jangernert/FeedReader.git\r\n    build-packages:\r\n      - build-essential\r\n      - cmake\r\n      - valac\r\n      - pkg-config\r\n      - libgirepository1.0-dev\r\n      - libgtk-3-dev\r\n      - libsoup2.4-dev\r\n      - libjson-glib-dev\r\n      - libwebkit2gtk-4.0-dev\r\n      - libsqlite3-dev\r\n      - libsecret-1-dev\r\n      - libnotify-dev\r\n      - libxml2-dev\r\n      - librest-dev\r\n      - libgee-0.8-dev\r\n      - libcurl4-gnutls-dev\r\n      - libgstreamer-plugins-base1.0-dev\r\n      - libpeas-dev\r\n      - libgoa-1.0-dev\r\n```\r\n\r\nThe error when running:\r\n\r\n```\r\n\r\n$ feedreader-snap\r\n(feedreader:2195): Gtk-WARNING **: Locale not supported by C library.\r\n        Using the fallback 'C' locale.\r\n\r\n(feedreader:2195): GLib-GIO-ERROR **: No GSettings schemas are installed on the system\r\nTrace/breakpoint trap (core dumped)\r\n\r\n```\r\n\r\n\r\nWill investigate further later. But if you have an idea what the problem is please tell. Do we need to package the gsetting schemas? If so how do i generate the schemas?"},"comment":{"url":"https://api.github.com/repos/jangernert/FeedReader/issues/comments/265729282","html_url":"https://github.com/jangernert/FeedReader/issues/268#issuecomment-265729282","issue_url":"https://api.github.com/repos/jangernert/FeedReader/issues/268","id":265729282,"user":{"login":"lightonflux","id":1377943,"avatar_url":"https://avatars.githubusercontent.com/u/1377943?v=3","gravatar_id":"","url":"https://api.github.com/users/lightonflux","html_url":"https://github.com/lightonflux","followers_url":"https://api.github.com/users/lightonflux/followers","following_url":"https://api.github.com/users/lightonflux/following{/other_user}","gists_url":"https://api.github.com/users/lightonflux/gists{/gist_id}","starred_url":"https://api.github.com/users/lightonflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightonflux/subscriptions","organizations_url":"https://api.github.com/users/lightonflux/orgs","repos_url":"https://api.github.com/users/lightonflux/repos","events_url":"https://api.github.com/users/lightonflux/events{/privacy}","received_events_url":"https://api.github.com/users/lightonflux/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T12:30:54Z","updated_at":"2016-12-08T12:30:54Z","body":"I see. On my system i have two files:\r\n\r\n/usr/share/dbus-1/services/feedreader.service\r\n/usr/local/share/dbus-1/services/feedreader.service\r\n\r\nOne with local in the path one without. So feedreader-snap calls dbus, and dbus starts the daemon from local. I have no idea how to fix that. Would be nice if you can use feedreader from a snap and local copy at the same time."}}
{"actor":{"display_login":"lightonflux"}}