kdepim-apps-libs: init at 17.04.0
This commit is contained in:
parent
7640cae5b0
commit
4b032f12ea
@ -83,6 +83,7 @@ let
|
||||
kdenetwork-filesharing = callPackage ./kdenetwork-filesharing.nix {};
|
||||
kdenlive = callPackage ./kdenlive.nix {};
|
||||
kdepim-runtime = callPackage ./kdepim-runtime.nix {};
|
||||
kdepim-apps-libs = callPackage ./kdepim-apps-libs {};
|
||||
kdf = callPackage ./kdf.nix {};
|
||||
kgpg = callPackage ./kgpg.nix {};
|
||||
khelpcenter = callPackage ./khelpcenter.nix {};
|
||||
|
21
pkgs/applications/kde/kdepim-apps-libs/default.nix
Normal file
21
pkgs/applications/kde/kdepim-apps-libs/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
mkDerivation, copyPathsToStore, lib, kdepimTeam,
|
||||
extra-cmake-modules, kdoctools,
|
||||
akonadi, akonadi-contacts, grantlee, grantleetheme, kconfig, kconfigwidgets,
|
||||
kcontacts, ki18n, kiconthemes, kio, libkleo, pimcommon, prison,
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
name = "kdepim-apps-libs";
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
||||
maintainers = kdepimTeam;
|
||||
};
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
buildInputs = [
|
||||
akonadi akonadi-contacts grantlee grantleetheme kconfig kconfigwidgets
|
||||
kcontacts ki18n kiconthemes kio libkleo pimcommon prison
|
||||
];
|
||||
outputs = [ "out" "dev" ];
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
Index: kdepim-apps-libs-17.04.0/kaddressbookgrantlee/src/formatter/grantleecontactgroupformatter.cpp
|
||||
===================================================================
|
||||
--- kdepim-apps-libs-17.04.0.orig/kaddressbookgrantlee/src/formatter/grantleecontactgroupformatter.cpp
|
||||
+++ kdepim-apps-libs-17.04.0/kaddressbookgrantlee/src/formatter/grantleecontactgroupformatter.cpp
|
||||
@@ -50,9 +50,9 @@ public:
|
||||
mTemplateLoader.clear();
|
||||
}
|
||||
|
||||
- void changeGrantleePath(const QString &path)
|
||||
+ void changeGrantleePath(const QStringList &paths)
|
||||
{
|
||||
- mTemplateLoader->setTemplateDirs(QStringList() << path);
|
||||
+ mTemplateLoader->setTemplateDirs(paths);
|
||||
mEngine->addTemplateLoader(mTemplateLoader);
|
||||
|
||||
mSelfcontainedTemplate = mEngine->loadByName(QStringLiteral("contactgroup.html"));
|
||||
@@ -86,12 +86,12 @@ GrantleeContactGroupFormatter::~Grantlee
|
||||
|
||||
void GrantleeContactGroupFormatter::setAbsoluteThemePath(const QString &path)
|
||||
{
|
||||
- d->changeGrantleePath(path);
|
||||
+ d->changeGrantleePath(QStringList(path));
|
||||
}
|
||||
|
||||
void GrantleeContactGroupFormatter::setGrantleeTheme(const GrantleeTheme::Theme &theme)
|
||||
{
|
||||
- d->changeGrantleePath(theme.absolutePath());
|
||||
+ d->changeGrantleePath(theme.absolutePaths());
|
||||
}
|
||||
|
||||
inline static void setHashField(QVariantHash &hash, const QString &name, const QString &value)
|
||||
Index: kdepim-apps-libs-17.04.0/kaddressbookgrantlee/src/formatter/grantleecontactformatter.cpp
|
||||
===================================================================
|
||||
--- kdepim-apps-libs-17.04.0.orig/kaddressbookgrantlee/src/formatter/grantleecontactformatter.cpp
|
||||
+++ kdepim-apps-libs-17.04.0/kaddressbookgrantlee/src/formatter/grantleecontactformatter.cpp
|
||||
@@ -74,9 +74,9 @@ public:
|
||||
mTemplateLoader.clear();
|
||||
}
|
||||
|
||||
- void changeGrantleePath(const QString &path)
|
||||
+ void changeGrantleePath(const QStringList &paths)
|
||||
{
|
||||
- mTemplateLoader->setTemplateDirs(QStringList() << path);
|
||||
+ mTemplateLoader->setTemplateDirs(paths);
|
||||
mEngine->addTemplateLoader(mTemplateLoader);
|
||||
|
||||
mSelfcontainedTemplate = mEngine->loadByName(QStringLiteral("contact.html"));
|
||||
@@ -112,12 +112,12 @@ GrantleeContactFormatter::~GrantleeConta
|
||||
|
||||
void GrantleeContactFormatter::setAbsoluteThemePath(const QString &path)
|
||||
{
|
||||
- d->changeGrantleePath(path);
|
||||
+ d->changeGrantleePath(QStringList(path));
|
||||
}
|
||||
|
||||
void GrantleeContactFormatter::setGrantleeTheme(const GrantleeTheme::Theme &theme)
|
||||
{
|
||||
- d->changeGrantleePath(theme.absolutePath());
|
||||
+ d->changeGrantleePath(theme.absolutePaths());
|
||||
}
|
||||
|
||||
void GrantleeContactFormatter::setForceDisableQRCode(bool b)
|
1
pkgs/applications/kde/kdepim-apps-libs/series
Normal file
1
pkgs/applications/kde/kdepim-apps-libs/series
Normal file
@ -0,0 +1 @@
|
||||
kdepim-apps-libs-grantlee-merge-theme-dirs.patch
|
Loading…
Reference in New Issue
Block a user