Bundling KDE 1 / 24 Who am I? 2 / 24 Motivation 3 / 24 Users on - - PowerPoint PPT Presentation

bundling kde
SMART_READER_LITE
LIVE PREVIEW

Bundling KDE 1 / 24 Who am I? 2 / 24 Motivation 3 / 24 Users on - - PowerPoint PPT Presentation

Bundling KDE 1 / 24 Who am I? 2 / 24 Motivation 3 / 24 Users on supported software 4 / 24 What? 5 / 24 Installing KDE Applications 6 / 24 Snap sudo snap install kde-frameworks-5 sudo snap install kblocks Harald's Blog 7 / 24


slide-1
SLIDE 1

Bundling KDE

1 / 24

slide-2
SLIDE 2

Who am I?

2 / 24

slide-3
SLIDE 3

Motivation

3 / 24

slide-4
SLIDE 4

Users on supported software

4 / 24

slide-5
SLIDE 5

What?

5 / 24

slide-6
SLIDE 6

Installing KDE Applications

6 / 24

slide-7
SLIDE 7

Snap

sudo snap install kde-frameworks-5 sudo snap install kblocks

Harald's Blog 7 / 24

slide-8
SLIDE 8

Building Snaps

name: kalgebra version: 16.08.2 summary: ((TBD)) description: ((TBD)) confinement: strict grade: devel

Harald's Blog snapcraft-kde-applications.git 8 / 24

slide-9
SLIDE 9

apps: kalgebra: command: kf5-launch kalgebra plugs:

  • kde-frameworks-5-plug # content share itself
  • home # give us a dir in the user home
  • x11 # we run with xcb Qt platform for now
  • opengl # Qt/QML uses opengl
  • network # gethotnewstuff needs network IO
  • network-bind # gethotnewstuff needs network IO
  • unity7 # notifications
  • pulseaudio # sound notifications

9 / 24

slide-10
SLIDE 10

plugs: kde-frameworks-5-plug: interface: content content: kde-frameworks-5-all default-provider: kde-frameworks-5 target: kf5

10 / 24

slide-11
SLIDE 11

parts: kde-frameworks-5-dev: plugin: dump snap: [-*] source: http://build.neon.kde.org/job/kde-frameworks-5-release_amd64.snap/lastSuccessfulBuild/artifact/kde-frameworks-5-dev_amd64.tar.xz kde-frameworks-5-env: plugin: dump snap: [kf5-launch, kf5] source: http://github.com/apachelogger/kf5-snap-env.git kalgebra: after: [kde-frameworks-5-dev] plugin: cmake source: http://download.kde.org/stable/applications/16.08.2/src/kalgebra-16.08.2.tar.xz configflags:

  • "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
  • "-DCMAKE_INSTALL_PREFIX=/usr"
  • "-DCMAKE_BUILD_TYPE=Release"
  • "-DENABLE_TESTING=OFF"
  • "-DBUILD_TESTING=OFF"
  • "-DKDE_SKIP_TEST_SETTINGS=ON"

11 / 24

slide-12
SLIDE 12

Flatpak

curl http://distribute.kde.org/kdeflatpak.gpg > k.gpg flatpak remote-add kde http://distribute.kde.org/flatpak-testing/ --gpg-import=k.gpg flatpak install kde org.kde.Platform flatpak remote-add kdeapps http://distribute.kde.org/flatpak-apps/ --gpg-import=k.gpg flatpak install kdeapps org.kde.okular

Wiki! 12 / 24

slide-13
SLIDE 13

Flatpak Portals

Jan's Blog 13 / 24

slide-14
SLIDE 14

Building applications with Flatpak

flatpak install kde org.kde.Sdk flatpak-builder --ccache --repo=repo --subject="Build of AWESOMEAPP `date`" app org.kde.AWESOMEAPP.json

14 / 24

slide-15
SLIDE 15

{ "id": "org.kde.kalgebra", "runtime": "org.kde.Platform", "sdk": "org.kde.Sdk", "command": "kalgebra", "finish-args": ["--share=ipc", "--socket=x11", "--filesystem=host" ], "modules": [ { "name": "analitza", "cmake": true, "sources": [ { "type": "git", "url": "git://anongit.kde.org/analitza.git" } ] }, { "name": "kalgebra", "cmake": true, "sources": [ { "type": "git", "url": "git://anongit.kde.org/kalgebra.git" } ] } ] }

15 / 24

slide-16
SLIDE 16

Installing platform's applications

16 / 24

slide-17
SLIDE 17

Flatpak in Discover

0:00

17 / 24

slide-18
SLIDE 18

Snappy in Discover

18 / 24

slide-19
SLIDE 19

Beyond applications

19 / 24

slide-20
SLIDE 20

Developer Story

20 / 24

slide-21
SLIDE 21

Plasma

21 / 24

slide-22
SLIDE 22

Snappy Flatpak 22 / 24

slide-23
SLIDE 23

?

23 / 24

slide-24
SLIDE 24

Aleix Pol i Gonzàlez <aleixpol@kde.org>

24 / 24