Warning, /multimedia/kdenlive/dev-docs/packaging.md is written in an unsupported language. File is not indexed.

0001 # Package Kdenlive
0002 
0003 ## Overview
0004 
0005 Package Type     | OS      | Script Location
0006 ---------------- | ------- | ----------------------------------------
0007 Appimage         | Linux   | [Craft Blueprints Repository][craft]
0008 Flatpak          | Linux   | [Flathub Repository][flatpak]
0009 Nightly Flatpak  | Linux   | [../packaging/flatpak][nightly-flatpak]
0010 Snap             | Linux   | [KDE Snapcraft Repository][snap]
0011 exe              | Windows | [Craft Blueprints Repository][craft]
0012 dmg              | macOS   | [Craft Blueprints Repository][craft]
0013 
0014 ## How to package
0015 
0016 * For **Flatpak** you can find instructions in the README.md file of the [nightly script folder][nightly-flatpak].
0017 
0018 * For **Snap** there is a [KDE guide][snap-kde-guide] with instructions.
0019 
0020 * For **Craft** based packing the command is `craft --package kdenlive`. For further instructions see https://community.kde.org/Craft.
0021 
0022 ### PPA
0023 
0024 #### Permissions
0025 
0026 You need to be in the kdenlive team on launchpad so you can push into git clones hosted there, to update the code
0027 
0028 #### Repositories
0029 
0030 The source code reposities of Kdenlive and MLT are mirrors of the original repositories and get updated automatically. You can not push to these repositories manually.
0031 
0032 For translations and packaging data there are `*-packaging` repositories:
0033 
0034 
0035 | Software | Command to clone repositories                                                   |
0036 | -------- | ------------------------------------------------------------------------------- |
0037 | MLT      | `git clone git+ssh://$USER@git.launchpad.net/~kdenlive/+git/mlt-packaging`      |
0038 | Kdenlive | `git clone git+ssh://$USER@git.launchpad.net/~kdenlive/+git/kdenlive-packaging` |
0039 
0040 Replace `$USER` by your Launchpad username.
0041 
0042 #### Translations
0043 
0044 *(Only Kdenlive)*
0045 
0046 The kdenlive-packaging repository contains a `po` branch containing the `po/` directory that is merged by KDE release service into [official tarballs][kde-release-tars]. You need to copy and past and push this manually.
0047 
0048 At the moment this applies only to the release recipe, for master builds translations are in the source repository now. With 22.12 this will probably also be the case for release so this step will be obsolete.
0049 
0050 #### Packaging data
0051 
0052 The `*-packaging` repositores on Launchpad host a `debian` branch with the packaging data (from debian/ubuntu + few adjustments from Vincent)
0053 
0054 * package metadata (like build or runtime dependencies) are in `debian/control` file
0055 * build instructions are in `debian/rules` (highly automated)
0056 * install instructions into sub-packages are in `debian/*.install`
0057 
0058 ##### Modify packaging data
0059 
0060 It is recommended to test your packaging before pushing to builders with a command like `debuild -us -uc`
0061 
0062 #### Trigger build
0063 
0064 "master" builds are automatic every night; "stable" builds are triggered manually:
0065 
0066 | Software | Url                                                          |
0067 | -------- | ------------------------------------------------------------ |
0068 | MLT      | https://code.launchpad.net/~kdenlive/+recipe/mlt-release     |
0069 | Kdenlive | https://code.launchpad.net/~kdenlive/+recipe/kdenlive-stable |
0070 
0071 1. Scroll down to "Recipe content"
0072 2. Update the deb-version number
0073 3. Update the branch or tag you want to load on the 2nd line
0074 4. That's it for the base operation!
0075 
0076 [flatpak]: https://github.com/flathub/org.kde.kdenlive
0077 [nightly-flatpak]: ../packaging/flatpak
0078 [snap]: https://invent.kde.org/packaging/snapcraft-kde-applications/-/tree/Neon/release/kdenlive
0079 [snap-kde-guide]: https://community.kde.org/Guidelines_and_HOWTOs/Snap
0080 [craft]: https://invent.kde.org/packaging/craft-blueprints-kde/-/blob/master/kde/kdemultimedia/kdenlive
0081 [kde-release-tars]: https://download.kde.org/stable/release-service