GNOME Bugzilla – Bug 781521
Add a first version of Flatpak manifest
Last modified: 2017-04-20 14:11:15 UTC
.
Created attachment 350109 [details] [review] build: Do not include absolute paths The meson.build file is including libgtop-2.0 from a absolute path. This is not recommended because it makes the application dependent on environments which rely on these directory structures. These might not work in different distros or even on a sandbox.
Created attachment 350110 [details] [review] flatpak: Add org.gnome.Usage flatpak manifest This will make it significantly easier for other developers to contribute to GNOME Usage.
After these changes are on git master, it will be as easy as: 1. Open GNOME Builder 2. Click on [Clone] 3. Type git://git.gnome.org/gnome-usage in the path entry 4. Press the Play (▶) button To run/test the application. It is important to notice that, so far with this version, Usage won't be able to list any other process of the system because it is running in a sandbox with strict access to the operating system. There are "holes" that can be used to access the required data but the main motivation of this patch/bug/flatpak-manifest is just to make it easier for developers to contribute to GNOME Usage.
Review of attachment 350109 [details] [review]: Accepted
Created attachment 350127 [details] [review] build: Compile GSchemas in post install This is necessary when building from the source code.
Review of attachment 350127 [details] [review]: Accepted
Review of attachment 350110 [details] [review]: Accepted
Attachment 350109 [details] pushed as 58aefe4 - build: Do not include absolute paths Attachment 350110 [details] pushed as 15544e0 - flatpak: Add org.gnome.Usage flatpak manifest Attachment 350127 [details] pushed as 0f48360 - build: Compile GSchemas in post install Thank you! For the record, by running Usage in a sandbox as it is now causes the Storage tab not to show anything because it doesn't have access to the root filesystem tree.