Merge pull request #22902 from ttuegel/kde5-instructions

KDE 5 packaging instructions
This commit is contained in:
Thomas Tuegel 2017-02-17 21:09:31 -06:00 committed by GitHub
commit a8b49802db
4 changed files with 67 additions and 19 deletions

View File

@ -1,11 +1,27 @@
/* /*
# New packages
READ THIS FIRST
This module is for official packages in the KDE Applications Bundle. All
available packages are listed in `./srcs.nix`, although some are not yet
packaged in Nixpkgs (see below).
IF YOUR PACKAGE IS NOT LISTED IN `./srcs.nix`, IT DOES NOT GO HERE.
Many of the packages released upstream are not yet built in Nixpkgs due to lack
of demand. To add a Nixpkgs build for an upstream package, copy one of the
existing packages here and modify it as necessary. A simple example package that
still shows most of the available features is in `./gwenview.nix`.
# Updates # Updates
1. Update the URL in `maintainers/scripts/generate-kde-applications.sh` and 1. Update the URL in `./fetch.sh`.
run that script from the top of the Nixpkgs tree. 2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/desktops/kde-5/applications`
2. Check that the new packages build correctly. from the top of the Nixpkgs tree.
3. Commit the changes and open a pull request. 3. Invoke `nix-build -A kde5` and ensure that everything builds.
4. Commit the changes and open a pull request.
*/ */
@ -71,11 +87,6 @@ let
spectacle = callPackage ./spectacle.nix {}; spectacle = callPackage ./spectacle.nix {};
l10n = pkgs.recurseIntoAttrs (import ./l10n.nix { inherit callPackage lib pkgs; }); l10n = pkgs.recurseIntoAttrs (import ./l10n.nix { inherit callPackage lib pkgs; });
# External packages
kipi-plugins = callPackage ../../../applications/graphics/kipi-plugins/5.x.nix {};
ktorrent = callPackage ../../../applications/networking/p2p/ktorrent/5.nix { };
libktorrent = callPackage ../../../development/libraries/libktorrent/5.nix { };
}; };
in packages in packages

View File

@ -1,11 +1,26 @@
/* /*
# New packages
READ THIS FIRST
This module is for official packages in KDE Plasma 5. All available packages are
listed in `./srcs.nix`, although a few are not yet packaged in Nixpkgs (see
below).
IF YOUR PACKAGE IS NOT LISTED IN `./srcs.nix`, IT DOES NOT GO HERE.
Many of the packages released upstream are not yet built in Nixpkgs due to lack
of demand. To add a Nixpkgs build for an upstream package, copy one of the
existing packages here and modify it as necessary.
# Updates # Updates
1. Update the URL in `maintainers/scripts/generate-kde-plasma.sh` and run 1. Update the URL in `./fetch.sh`.
that script from the top of the Nixpkgs tree. 2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/desktops/kde-5/plasma`
2. Check that the new packages build correctly. from the top of the Nixpkgs tree.
3. Commit the changes and open a pull request. 3. Invoke `nix-build -A kde5` and ensure that everything builds.
4. Commit the changes and open a pull request.
*/ */

View File

@ -1,11 +1,26 @@
/* /*
# New packages
READ THIS FIRST
This module is for official packages in KDE Frameworks 5. All available packages
are listed in `./srcs.nix`, although a few are not yet packaged in Nixpkgs (see
below).
IF YOUR PACKAGE IS NOT LISTED IN `./srcs.nix`, IT DOES NOT GO HERE.
Many of the packages released upstream are not yet built in Nixpkgs due to lack
of demand. To add a Nixpkgs build for an upstream package, copy one of the
existing packages here and modify it as necessary.
# Updates # Updates
1. Update the URL in `maintainers/scripts/generate-kde-frameworks.sh` and 1. Update the URL in `./fetch.sh`.
run that script from the top of the Nixpkgs tree. 2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/development/libraries/kde-frameworks`
2. Check that the new packages build correctly. from the top of the Nixpkgs tree.
3. Commit the changes and open a pull request. 3. Invoke `nix-build -A kde5` and ensure that everything builds.
4. Commit the changes and open a pull request.
*/ */

View File

@ -9286,6 +9286,8 @@ with pkgs;
libkeyfinder = callPackage ../development/libraries/libkeyfinder { }; libkeyfinder = callPackage ../development/libraries/libkeyfinder { };
libktorrent = callPackage ../development/libraries/libktorrent/5.nix { };
mlt = callPackage ../development/libraries/mlt/qt-5.nix { mlt = callPackage ../development/libraries/mlt/qt-5.nix {
ffmpeg = ffmpeg_2; ffmpeg = ffmpeg_2;
}; };
@ -13955,6 +13957,8 @@ with pkgs;
ksuperkey = callPackage ../tools/X11/ksuperkey { }; ksuperkey = callPackage ../tools/X11/ksuperkey { };
ktorrent = qt5.callPackage ../applications/networking/p2p/ktorrent/5.nix { };
kubernetes = callPackage ../applications/networking/cluster/kubernetes { kubernetes = callPackage ../applications/networking/cluster/kubernetes {
go = go_1_6; go = go_1_6;
}; };
@ -16853,9 +16857,12 @@ with pkgs;
plasma = import ../desktops/kde-5/plasma { inherit pkgs; }; plasma = import ../desktops/kde-5/plasma { inherit pkgs; };
applications = import ../desktops/kde-5/applications { inherit pkgs; }; applications = import ../desktops/kde-5/applications { inherit pkgs; };
merged = self: merged = self:
{ plasma = plasma self; {
plasma = plasma self;
frameworks = qt5.kdeFrameworks; frameworks = qt5.kdeFrameworks;
applications = applications self; } applications = applications self;
kipi-plugins = self.callPackage ../applications/graphics/kipi-plugins/5.x.nix {};
}
// qt5.kdeFrameworks // qt5.kdeFrameworks
// plasma self // plasma self
// applications self; // applications self;