tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
qt47: remove, no longer used
Vladimír Čunát
13 years ago
d65e07d6
0d6bb2b5
-117
3 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
qt-4.x
4.7
default.nix
top-level
all-packages.nix
release-python.nix
-114
pkgs/development/libraries/qt-4.x/4.7/default.nix
···
1
1
-
{ stdenv, fetchurl
2
2
-
, alsaLib, pulseaudio
3
3
-
, libXft, libXrender, randrproto, xextproto, libXinerama, xineramaproto, libXcursor, libXmu
4
4
-
, libXv, libXext, libXfixes, inputproto, fixesproto, libXrandr, freetype, fontconfig
5
5
-
, zlib, libjpeg, libpng, libmng, which, mesa, openssl, dbus, cups, pkgconfig, libtiff, glib
6
6
-
, mysql, postgresql, sqlite
7
7
-
, perl, coreutils, libXi
8
8
-
, buildDemos ? false, buildExamples ? false, useDocs ? false
9
9
-
}:
10
10
-
11
11
-
let
12
12
-
v = "4.7.4";
13
13
-
in
14
14
-
15
15
-
stdenv.mkDerivation rec {
16
16
-
name = "qt-${v}";
17
17
-
18
18
-
src = fetchurl {
19
19
-
url = "ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${v}.tar.gz";
20
20
-
sha256 = "07i283si8rckdsg3h9a4sp213l16hgjrl7cpzclrjvx4x2y5w6cp";
21
21
-
};
22
22
-
23
23
-
preConfigure =
24
24
-
''
25
25
-
export LD_LIBRARY_PATH="`pwd`/lib:$LD_LIBRARY_PATH"
26
26
-
configureFlags+="
27
27
-
-docdir $out/share/doc/${name}
28
28
-
-plugindir $out/lib/qt4/plugins
29
29
-
-importdir $out/lib/qt4/imports
30
30
-
-examplesdir $out/share/doc/${name}/examples
31
31
-
-demosdir $out/share/doc/${name}/demos
32
32
-
-datadir $out/share/${name}
33
33
-
-translationdir $out/share/${name}/translations
34
34
-
"
35
35
-
'';
36
36
-
37
37
-
configureFlags =
38
38
-
''
39
39
-
-v -no-separate-debug-info -release -fast -confirm-license -opensource
40
40
-
-system-zlib -system-libpng -system-libjpeg -qt-gif -system-libmng
41
41
-
-opengl -xrender -xrandr -xinerama -xcursor
42
42
-
-plugin-sql-mysql -system-sqlite
43
43
-
-qdbus -cups -glib -xfixes -dbus-linked -openssl-linked
44
44
-
-fontconfig -I${freetype}/include/freetype2
45
45
-
-exceptions -xmlpatterns
46
46
-
-multimedia -audio-backend -no-phonon
47
47
-
-webkit -javascript-jit
48
48
-
-make libs -make tools -make translations
49
49
-
${if buildDemos == true then "-make demos" else "-nomake demos"}
50
50
-
${if buildExamples == true then "-make examples" else "-nomake examples"}
51
51
-
${if useDocs then "-make docs" else "-nomake docs"}
52
52
-
'';
53
53
-
54
54
-
propagatedBuildInputs = [
55
55
-
alsaLib
56
56
-
sqlite
57
57
-
libXft
58
58
-
libXrender
59
59
-
libXrandr
60
60
-
libXi
61
61
-
randrproto
62
62
-
xextproto
63
63
-
libXinerama
64
64
-
xineramaproto
65
65
-
libXcursor
66
66
-
zlib
67
67
-
libjpeg
68
68
-
libmng
69
69
-
mysql
70
70
-
postgresql
71
71
-
libpng
72
72
-
which
73
73
-
mesa
74
74
-
libXmu
75
75
-
libXv
76
76
-
openssl
77
77
-
dbus.libs
78
78
-
cups
79
79
-
pkgconfig
80
80
-
libXext
81
81
-
freetype
82
82
-
fontconfig
83
83
-
inputproto
84
84
-
fixesproto
85
85
-
libXfixes
86
86
-
glib
87
87
-
libtiff
88
88
-
pulseaudio
89
89
-
];
90
90
-
91
91
-
buildInputs = [ perl ];
92
92
-
93
93
-
prefixKey = "-prefix ";
94
94
-
95
95
-
prePatch = ''
96
96
-
substituteInPlace configure --replace /bin/pwd pwd
97
97
-
substituteInPlace src/corelib/global/global.pri --replace /bin/ls ${coreutils}/bin/ls
98
98
-
sed -e 's@/\(usr\|opt\)/@/var/empty/@g' -i config.tests/*/*.test -i mkspecs/*/*.conf
99
99
-
'';
100
100
-
101
101
-
postInstall = ''
102
102
-
${if useDocs then "rm -rfv $out/share/doc/${name}/{html,src}" else ""}
103
103
-
'';
104
104
-
105
105
-
enableParallelBuilding = true;
106
106
-
107
107
-
meta = with stdenv.lib; {
108
108
-
homepage = http://qt.nokia.com/products;
109
109
-
description = "A cross-platform application framework for C++";
110
110
-
license = "GPL/LGPL";
111
111
-
maintainers = with maintainers; [ urkud sander ];
112
112
-
platforms = platforms.linux;
113
113
-
};
114
114
-
}
-2
pkgs/top-level/all-packages.nix
···
4856
4856
4857
4857
qt4 = pkgs.kde4.qt4;
4858
4858
4859
4859
-
qt47 = callPackage ../development/libraries/qt-4.x/4.7 { };
4860
4860
-
4861
4859
qt48 = callPackage ../development/libraries/qt-4.x/4.8 {
4862
4860
# GNOME dependencies are not used unless gtkStyle == true
4863
4861
inherit (pkgs.gnome) libgnomeui GConf gnome_vfs;
-1
pkgs/top-level/release-python.nix
···
1501
1501
qshowdiff = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
1502
1502
qsynth = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
1503
1503
qt3 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
1504
1504
-
qt47 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
1505
1504
qt_gstreamer = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
1506
1505
qtpfsgui = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
1507
1506
qtractor = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };