Fix more intellij packages
more/packages/intellij.scm
243 | 243 | (delete-file "platform/util/src/com/intellij/util/ui/IsRetina.java") | |
244 | 244 | #t))))) | |
245 | 245 | (propagated-inputs | |
246 | - | `(("java-batik-1.7" ,java-batik-1.7) | |
246 | + | `(("java-batik" ,java-batik) | |
247 | 247 | ("java-commons-compress" ,java-commons-compress) | |
248 | 248 | ("java-imagescalr" ,java-imagescalr) | |
249 | 249 | ("java-intellij-platform-util-rt" ,java-intellij-platform-util-rt) | |
… | |||
270 | 270 | (inherit base) | |
271 | 271 | (propagated-inputs | |
272 | 272 | (append (alist-delete "java-jdom-for-intellij" (package-propagated-inputs base)) | |
273 | - | `(("java-batik" ,java-batik) | |
273 | + | `(("java-batik-1.7" ,java-batik-1.7) | |
274 | 274 | ("java-iq80-snappy" ,java-iq80-snappy) | |
275 | 275 | ("java-jdom" ,java-jdom-for-intellij-2013)))) | |
276 | 276 | (inputs | |
… | |||
320 | 320 | ("java-intellij-resources" ,java-intellij-resources) | |
321 | 321 | ("java-jetbrains-annotations" ,java-jetbrains-annotations) | |
322 | 322 | ("java-trove4j-intellij" ,java-trove4j-intellij))) | |
323 | + | (properties | |
324 | + | `((intellij-2013-variant . ,(delay java-intellij-platform-core-api-2013)))) | |
323 | 325 | (home-page "https://github.com/JetBrains/intellij-community") | |
324 | 326 | (synopsis "") | |
325 | 327 | (description "") | |
326 | 328 | (license license:asl2.0))) | |
327 | 329 | ||
330 | + | (define-public java-intellij-platform-core-api-2013 | |
331 | + | (let ((base (intellij-2013-package | |
332 | + | (strip-2013-variant java-intellij-platform-core-api)))) | |
333 | + | (package | |
334 | + | (inherit base) | |
335 | + | (propagated-inputs | |
336 | + | (append (package-propagated-inputs base) | |
337 | + | `(("java-cglib" ,java-cglib)))) | |
338 | + | (arguments | |
339 | + | (append | |
340 | + | (package-arguments base) | |
341 | + | `(#:phases | |
342 | + | (modify-phases %standard-phases | |
343 | + | (add-before 'build 'fix-cglib-asm | |
344 | + | (lambda _ | |
345 | + | ;; needed for platform-impl, but we don't build it | |
346 | + | (delete-file-recursively "platform/core-api/src/net") | |
347 | + | #t))))))))) | |
348 | + | ||
328 | 349 | (define-public java-intellij-platform-core-impl | |
329 | 350 | (package | |
330 | 351 | (name "java-intellij-platform-core-impl") |