added dependencies to virtualbox
more/packages/virtualbox.scm
20 | 20 | #:use-module ((guix licenses) #:prefix license:) | |
21 | 21 | #:use-module (guix packages) | |
22 | 22 | #:use-module (guix download) | |
23 | + | #:use-module (guix svn-download) | |
23 | 24 | #:use-module (guix build-system gnu) | |
24 | 25 | #:use-module (gnu packages) | |
26 | + | #:use-module (gnu packages admin) | |
25 | 27 | #:use-module (gnu packages autotools) | |
26 | 28 | #:use-module (gnu packages base) | |
27 | 29 | #:use-module (gnu packages bison) | |
28 | 30 | #:use-module (more packages cdrom) | |
31 | + | #:use-module (gnu packages curl) | |
29 | 32 | #:use-module (gnu packages flex) | |
33 | + | #:use-module (gnu packages gl) | |
34 | + | #:use-module (gnu packages gnome) | |
35 | + | #:use-module (gnu packages image) | |
30 | 36 | #:use-module (gnu packages linux) | |
31 | 37 | #:use-module (gnu packages m4) | |
32 | 38 | #:use-module (gnu packages perl) | |
39 | + | #:use-module (gnu packages pkg-config) | |
40 | + | #:use-module (gnu packages python) | |
41 | + | #:use-module (gnu packages qt) | |
42 | + | #:use-module (gnu packages sdl) | |
33 | 43 | #:use-module (gnu packages texinfo) | |
34 | - | #:use-module (gnu packages xml)) | |
44 | + | #:use-module (gnu packages tls) | |
45 | + | #:use-module (gnu packages video) | |
46 | + | #:use-module (gnu packages xml) | |
47 | + | #:use-module (gnu packages xorg)) | |
35 | 48 | ||
36 | 49 | (define-public kbuild | |
37 | 50 | (package | |
38 | 51 | (name "kbuild") | |
39 | - | (version "0.1.5-p2") | |
52 | + | (version "0.1.9998") | |
40 | 53 | (source (origin | |
41 | - | (method url-fetch) | |
42 | - | (uri (string-append "ftp://ftp.netlabs.org/pub/kbuild/kBuild-" | |
43 | - | version "-src.tar.gz")) | |
54 | + | ;(method url-fetch) | |
55 | + | ;(uri (string-append "ftp://ftp.netlabs.org/pub/kbuild/kBuild-" | |
56 | + | ; version "-src.tar.gz")) | |
57 | + | ;(sha256 | |
58 | + | ; (base32 | |
59 | + | ; "19j2sswdqqjzjzmg0xam8nmwmxg422iii0fl9cwzcznjfigdn1c2")))) | |
60 | + | (method svn-fetch) | |
61 | + | (uri (svn-reference | |
62 | + | (url "http://svn.netlabs.org/repos/kbuild/trunk") | |
63 | + | (revision 3025))) | |
64 | + | (file-name (string-append name "-" version)) | |
44 | 65 | (sha256 | |
45 | 66 | (base32 | |
46 | - | "19j2sswdqqjzjzmg0xam8nmwmxg422iii0fl9cwzcznjfigdn1c2")))) | |
67 | + | "1k7y2lqqhsfwfzzi7rms7a2kakimm7g46qa2gypkvzdd3drbpanj")))) | |
47 | 68 | (build-system gnu-build-system) | |
48 | 69 | (native-inputs | |
49 | 70 | `(("autoconf" ,autoconf) | |
… | |||
140 | 161 | "12i2kyn7svy2kd6j40fzzhy7173xfq884ygb6x9fbihpcw1bnrw2")))) | |
141 | 162 | (build-system gnu-build-system) | |
142 | 163 | (native-inputs | |
143 | - | `(("kbuild" ,kbuild) | |
164 | + | `(;("kbuild" ,kbuild) | |
165 | + | ("pkg-config" ,pkg-config) | |
144 | 166 | ("which" ,which))) | |
145 | 167 | (inputs | |
146 | - | `(("acpica-unix" ,acpica-unix); for iasl | |
168 | + | `(("acpica" ,acpica); for iasl | |
169 | + | ("alsa" ,alsa-lib) | |
170 | + | ("curl" ,curl) | |
147 | 171 | ("cdrtools" ,cdrtools) | |
148 | - | ("libxslt" ,libxslt))) | |
172 | + | ("glu" ,glu) | |
173 | + | ("libidl" ,libidl) | |
174 | + | ("libpng" ,libpng) | |
175 | + | ("libvpx" ,libvpx) | |
176 | + | ("libxcursor" ,libxcursor) | |
177 | + | ("libxext" ,libxext) | |
178 | + | ("libxinerama" ,libxinerama) | |
179 | + | ("libxml2" ,libxml2) | |
180 | + | ("libxmu" ,libxmu) | |
181 | + | ("libxrandr" ,libxrandr) | |
182 | + | ("libxslt" ,libxslt) | |
183 | + | ("lvm2" ,lvm2) | |
184 | + | ("mesa" ,mesa) | |
185 | + | ("python" ,python-2) | |
186 | + | ("qt5" ,qt) | |
187 | + | ("openssl" ,openssl) | |
188 | + | ("sdl" ,sdl))) | |
149 | 189 | (arguments | |
150 | 190 | `(#:phases | |
151 | 191 | (modify-phases %standard-phases | |
152 | - | (add-before 'configure 'remove-binaries | |
153 | - | (lambda* _ | |
192 | + | (add-before 'configure 'fix-paths | |
193 | + | (lambda* (#:key inputs #:allow-other-keys) | |
154 | 194 | (substitute* "configure" | |
155 | - | (("bin/\\$OS.\\$BUILD_MACHINE") "bin")) | |
156 | - | (delete-file-recursively "tools") | |
157 | - | (delete-file-recursively "kBuild/bin"))) | |
195 | + | (("PYTHONDIR=.*") | |
196 | + | (string-append "PYTHONDIR=" (assoc-ref inputs "python") "\n"))))) | |
197 | + | ;(add-before 'configure 'remove-binaries | |
198 | + | ;(lambda* _ | |
199 | + | ;(substitute* "configure" | |
200 | + | ; (("bin/\\$OS.\\$BUILD_MACHINE") "bin")) | |
201 | + | ;(delete-file-recursively "tools") | |
202 | + | ;(delete-file-recursively "kBuild/bin"))) | |
158 | 203 | (replace 'configure | |
159 | 204 | (lambda* (#:key outputs inputs #:allow-other-keys) | |
160 | 205 | (zero? (system* "./configure" "--disable-java" "--disable-pulse" | |
161 | 206 | "--disable-vmmraw" | |
162 | - | (string-append "--with-kbuild=" | |
163 | - | (assoc-ref inputs "kbuild"))))))))) | |
207 | + | (string-append "--with-makeself=" (which "echo")))))) | |
208 | + | ;(string-append "--with-kbuild=" | |
209 | + | ; (assoc-ref inputs "kbuild")))))) | |
210 | + | (replace 'build | |
211 | + | (lambda* _ | |
212 | + | (zero? (system* "kmk"))))))) | |
164 | 213 | (home-page "https://www.virtualbox.org") | |
165 | 214 | (synopsis "Virtual Machine manager") | |
166 | 215 | (description |