tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge branch 'kdenetwork-filesharing'
Thomas Tuegel
10 years ago
fdefc0cb
d81538ff
+145
-2
10 changed files
expand all
collapse all
unified
split
nixos
modules
services
x11
desktop-managers
kde5.nix
pkgs
applications
kde-apps-15.12
default.nix
kdenetwork-filesharing.nix
kio-extras.nix
development
libraries
kde-frameworks-5.17
default.nix
kio
default.nix
samba-search-path.patch
series
openslp
default.nix
top-level
all-packages.nix
+2
nixos/modules/services/x11/desktop-managers/kde5.nix
···
102
102
kde5.gwenview
103
103
kde5.kate
104
104
kde5.kdegraphics-thumbnailers
105
105
+
kde5.kio-extras
105
106
kde5.konsole
106
107
kde5.okular
107
108
kde5.print-manager
···
125
126
++ lib.optional config.networking.networkmanager.enable kde5.plasma-nm
126
127
++ lib.optional config.hardware.pulseaudio.enable kde5.plasma-pa
127
128
++ lib.optional config.powerManagement.enable kde5.powerdevil
129
129
+
++ lib.optionals config.services.samba.enable [ kde5.kdenetwork-filesharing pkgs.samba ]
128
130
129
131
++ lib.optionals cfg.phonon.gstreamer.enable
130
132
[
+2
pkgs/applications/kde-apps-15.12/default.nix
···
39
39
gwenview = callPackage ./gwenview.nix {};
40
40
kate = callPackage ./kate.nix {};
41
41
kdegraphics-thumbnailers = callPackage ./kdegraphics-thumbnailers.nix {};
42
42
+
kdenetwork-filesharing = callPackage ./kdenetwork-filesharing.nix {};
42
43
kgpg = callPackage ./kgpg.nix { inherit (pkgs.kde4) kdepimlibs; };
44
44
+
kio-extras = callPackage ./kio-extras.nix {};
43
45
konsole = callPackage ./konsole.nix {};
44
46
libkdcraw = callPackage ./libkdcraw.nix {};
45
47
libkexiv2 = callPackage ./libkexiv2.nix {};
+29
pkgs/applications/kde-apps-15.12/kdenetwork-filesharing.nix
···
1
1
+
{ kdeApp
2
2
+
, lib
3
3
+
, extra-cmake-modules
4
4
+
, kdoctools
5
5
+
, kcoreaddons
6
6
+
, ki18n
7
7
+
, kio
8
8
+
, kwidgetsaddons
9
9
+
, samba
10
10
+
}:
11
11
+
12
12
+
kdeApp {
13
13
+
name = "kdenetwork-filesharing";
14
14
+
nativeBuildInputs = [
15
15
+
extra-cmake-modules
16
16
+
kdoctools
17
17
+
];
18
18
+
buildInputs = [
19
19
+
kcoreaddons
20
20
+
ki18n
21
21
+
kio
22
22
+
kwidgetsaddons
23
23
+
samba
24
24
+
];
25
25
+
meta = {
26
26
+
license = [ lib.licenses.gpl2 lib.licenses.lgpl21 ];
27
27
+
maintainers = [ lib.maintainers.ttuegel ];
28
28
+
};
29
29
+
}
+58
pkgs/applications/kde-apps-15.12/kio-extras.nix
···
1
1
+
{ kdeApp, lib
2
2
+
, extra-cmake-modules, kdoctools
3
3
+
, shared_mime_info
4
4
+
, exiv2
5
5
+
, karchive
6
6
+
, kbookmarks
7
7
+
, kconfig, kconfigwidgets
8
8
+
, kcoreaddons, kdbusaddons, kguiaddons
9
9
+
, kdnssd
10
10
+
, kiconthemes
11
11
+
, ki18n
12
12
+
, kio
13
13
+
, khtml
14
14
+
, kdelibs4support
15
15
+
, kpty
16
16
+
, libmtp
17
17
+
, libssh
18
18
+
, openexr
19
19
+
, openslp
20
20
+
, phonon
21
21
+
, qtsvg
22
22
+
, samba
23
23
+
, solid
24
24
+
}:
25
25
+
26
26
+
kdeApp {
27
27
+
name = "kio-extras";
28
28
+
nativeBuildInputs = [
29
29
+
extra-cmake-modules kdoctools
30
30
+
shared_mime_info
31
31
+
];
32
32
+
buildInputs = [
33
33
+
exiv2
34
34
+
karchive
35
35
+
kbookmarks
36
36
+
kconfig kconfigwidgets
37
37
+
kcoreaddons kdbusaddons kguiaddons
38
38
+
kdnssd
39
39
+
kiconthemes
40
40
+
ki18n
41
41
+
kio
42
42
+
khtml
43
43
+
kdelibs4support
44
44
+
kpty
45
45
+
libmtp
46
46
+
libssh
47
47
+
openexr
48
48
+
openslp
49
49
+
phonon
50
50
+
qtsvg
51
51
+
samba
52
52
+
solid
53
53
+
];
54
54
+
meta = {
55
55
+
license = with lib.licenses; [ gpl2 lgpl21 ];
56
56
+
maintainers = [ lib.maintainers.ttuegel ];
57
57
+
};
58
58
+
}
+1
-1
pkgs/development/libraries/kde-frameworks-5.17/default.nix
···
74
74
kidletime = callPackage ./kidletime.nix {};
75
75
kimageformats = callPackage ./kimageformats.nix {};
76
76
kinit = callPackage ./kinit {};
77
77
-
kio = callPackage ./kio.nix {};
77
77
+
kio = callPackage ./kio {};
78
78
kitemmodels = callPackage ./kitemmodels.nix {};
79
79
kitemviews = callPackage ./kitemviews.nix {};
80
80
kjobwidgets = callPackage ./kjobwidgets.nix {};
+3
-1
pkgs/development/libraries/kde-frameworks-5.17/kio.nix
pkgs/development/libraries/kde-frameworks-5.17/kio/default.nix
···
1
1
-
{ kdeFramework, lib, extra-cmake-modules, acl, karchive
1
1
+
{ kdeFramework, lib, copyPathsToStore
2
2
+
, extra-cmake-modules, acl, karchive
2
3
, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons
3
4
, kdbusaddons, kdoctools, ki18n, kiconthemes, kitemviews
4
5
, kjobwidgets, knotifications, kservice, ktextwidgets, kwallet
···
8
9
9
10
kdeFramework {
10
11
name = "kio";
12
12
+
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
11
13
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
12
14
buildInputs = [
13
15
acl karchive kconfig kcoreaddons kdbusaddons kiconthemes
+28
pkgs/development/libraries/kde-frameworks-5.17/kio/samba-search-path.patch
···
1
1
+
Index: kio-5.17.0/src/core/ksambashare.cpp
2
2
+
===================================================================
3
3
+
--- kio-5.17.0.orig/src/core/ksambashare.cpp
4
4
+
+++ kio-5.17.0/src/core/ksambashare.cpp
5
5
+
@@ -67,13 +67,18 @@ KSambaSharePrivate::~KSambaSharePrivate(
6
6
+
7
7
+
bool KSambaSharePrivate::isSambaInstalled()
8
8
+
{
9
9
+
- if (QFile::exists(QStringLiteral("/usr/sbin/smbd"))
10
10
+
- || QFile::exists(QStringLiteral("/usr/local/sbin/smbd"))) {
11
11
+
- return true;
12
12
+
+ const QByteArray pathEnv = qgetenv("PATH");
13
13
+
+ if (!pathEnv.isEmpty()) {
14
14
+
+ QLatin1Char pathSep(':');
15
15
+
+ QStringList paths = QFile::decodeName(pathEnv).split(pathSep, QString::SkipEmptyParts);
16
16
+
+ for (QStringList::iterator it = paths.begin(); it != paths.end(); ++it) {
17
17
+
+ it->append("/smbd");
18
18
+
+ if (QFile::exists(*it)) {
19
19
+
+ return true;
20
20
+
+ }
21
21
+
+ }
22
22
+
}
23
23
+
24
24
+
- //qDebug() << "Samba is not installed!";
25
25
+
-
26
26
+
return false;
27
27
+
}
28
28
+
+1
pkgs/development/libraries/kde-frameworks-5.17/kio/series
···
1
1
+
samba-search-path.patch
+19
pkgs/development/libraries/openslp/default.nix
···
1
1
+
{ stdenv, fetchurl }:
2
2
+
3
3
+
stdenv.mkDerivation {
4
4
+
name = "openslp-2.0.0";
5
5
+
6
6
+
src = fetchurl {
7
7
+
url = "mirror://sourceforge/openslp/2.0.0/2.0.0/openslp-2.0.0.tar.gz";
8
8
+
sha256 = "16splwmqp0400w56297fkipaq9vlbhv7hapap8z09gp5m2i3fhwj";
9
9
+
};
10
10
+
11
11
+
meta = with stdenv.lib; {
12
12
+
homepage = "http://openslp.org/";
13
13
+
description = "An open-source implementation of the IETF Service Location Protocol";
14
14
+
maintainers = with maintainers; [ ttuegel ];
15
15
+
license = licenses.bsd3;
16
16
+
platforms = platforms.all;
17
17
+
};
18
18
+
19
19
+
}
+2
pkgs/top-level/all-packages.nix
···
8003
8003
ffmpeg = ffmpeg_0;
8004
8004
};
8005
8005
8006
8006
+
openslp = callPackage ../development/libraries/openslp {};
8007
8007
+
8006
8008
# 2.3 breaks some backward-compability
8007
8009
libressl = libressl_2_2;
8008
8010
libressl_2_2 = callPackage ../development/libraries/libressl/2.2.nix {