gnu: kdevelop: Update to 5.4.5.
* gnu/packages/kde.scm(kdevelop): Update to 5.4.5, use qt-build-sytem. [native-inputs]: Move shared-mime-info from … [inputs] … here; Remove kconfig, kdevplatform, libepoxy; Add apr, apr-util, astyle, attica, boost, kconfigwidgets, kservice, libkomparediff2, oxygen-icons, qtquickcontrols2, sonnet, subversion; structure and sort list of inputs. [arguments] Disable tests. <phases>: Base on phases from qt-build-system. {wrap-executable}: Remove. {add-include-path}: New phase. {check} Keep it..
This commit is contained in:
parent
498abd9534
commit
6e23bee634
1 changed files with 54 additions and 47 deletions
|
@ -37,6 +37,7 @@
|
||||||
#:use-module (gnu packages apr)
|
#:use-module (gnu packages apr)
|
||||||
#:use-module (gnu packages audio)
|
#:use-module (gnu packages audio)
|
||||||
#:use-module (gnu packages boost)
|
#:use-module (gnu packages boost)
|
||||||
|
#:use-module (gnu packages code)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages curl)
|
#:use-module (gnu packages curl)
|
||||||
#:use-module (gnu packages documentation)
|
#:use-module (gnu packages documentation)
|
||||||
|
@ -145,7 +146,7 @@ projects.")
|
||||||
(define-public kdevelop
|
(define-public kdevelop
|
||||||
(package
|
(package
|
||||||
(name "kdevelop")
|
(name "kdevelop")
|
||||||
(version "5.1.2")
|
(version "5.4.5")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -154,73 +155,79 @@ projects.")
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1iqaq0ilijjigqb34v5wq9in6bnjs0p9cmgbygjmy53xhh3yhm5g"))))
|
"08vhbg9ql0402bw3y3xw1kdxhig9sv3ss8g0h4477vy3z17m1h4j"))))
|
||||||
(build-system cmake-build-system)
|
(build-system qt-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("extra-cmake-modules" ,extra-cmake-modules)
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
|
("shared-mime-info" ,shared-mime-info)
|
||||||
("qttools" ,qttools)))
|
("qttools" ,qttools)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("kdevplatform" ,kdevplatform)
|
`(("boost" ,boost)
|
||||||
("kdevelop-pg-qt" ,kdevelop-pg-qt)
|
("clang" ,clang)
|
||||||
("qtbase" ,qtbase)
|
("grantlee" ,grantlee)
|
||||||
("qtdeclarative" ,qtdeclarative)
|
|
||||||
("qtquickcontrols" ,qtquickcontrols)
|
|
||||||
("qtwebkit" ,qtwebkit)
|
|
||||||
("karchive" ,karchive)
|
("karchive" ,karchive)
|
||||||
("kcmutils" ,kcmutils)
|
("kcmutils" ,kcmutils)
|
||||||
("kconfig" ,kconfig)
|
("kcrash" ,kcrash)
|
||||||
("kdeclarative" ,kdeclarative)
|
("kdeclarative" ,kdeclarative)
|
||||||
("kdoctools" ,kdoctools)
|
("kdoctools" ,kdoctools)
|
||||||
("kguiaddons" ,kguiaddons)
|
("kguiaddons" ,kguiaddons)
|
||||||
("ki18n" ,ki18n)
|
("ki18n" ,ki18n)
|
||||||
("kio" ,kio)
|
|
||||||
("kiconthemes" ,kiconthemes)
|
("kiconthemes" ,kiconthemes)
|
||||||
|
("kio" ,kio) ;; not checked as requirement
|
||||||
("kitemmodels" ,kitemmodels)
|
("kitemmodels" ,kitemmodels)
|
||||||
("kitemviews" ,kitemviews)
|
("kitemviews" ,kitemviews)
|
||||||
("kjobwidgets" ,kjobwidgets)
|
("kjobwidgets" ,kjobwidgets)
|
||||||
("knotifyconfig" ,knotifyconfig)
|
|
||||||
("knotifications" ,knotifications)
|
("knotifications" ,knotifications)
|
||||||
|
("knotifyconfig" ,knotifyconfig)
|
||||||
("kparts" ,kparts)
|
("kparts" ,kparts)
|
||||||
("kcrash" ,kcrash)
|
("kservice" ,kservice)
|
||||||
("knewstuff" ,knewstuff)
|
|
||||||
("krunner" ,krunner)
|
|
||||||
("kxmlgui" ,kxmlgui)
|
|
||||||
("libksysguard" ,libksysguard)
|
|
||||||
("threadweaver" ,threadweaver)
|
|
||||||
("ktexteditor" ,ktexteditor)
|
("ktexteditor" ,ktexteditor)
|
||||||
("kwindowsystem" ,kwindowsystem)
|
("kwindowsystem" ,kwindowsystem)
|
||||||
|
("kxmlgui" ,kxmlgui)
|
||||||
|
("libkomparediff2" ,libkomparediff2)
|
||||||
|
("oxygen-icons" ,oxygen-icons)
|
||||||
|
("qtbase" ,qtbase)
|
||||||
|
("qtdeclarative" ,qtdeclarative)
|
||||||
|
("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement
|
||||||
|
("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement
|
||||||
|
("qtwebkit" ,qtwebkit)
|
||||||
|
("threadweaver" ,threadweaver)
|
||||||
|
|
||||||
|
;; recommendes
|
||||||
|
("astyle" ,astyle)
|
||||||
|
("kdevelop-pg-qt" ,kdevelop-pg-qt)
|
||||||
|
("libksysguard" ,libksysguard)
|
||||||
|
|
||||||
|
;; optional
|
||||||
|
("apr" ,apr) ; required for subversion support
|
||||||
|
("apr-util" ,apr-util) ; required for subversion support
|
||||||
|
("attica" ,attica)
|
||||||
|
("kconfigwidgets" ,kconfigwidgets)
|
||||||
|
("knewstuff" ,knewstuff)
|
||||||
|
("krunner" ,krunner)
|
||||||
|
;; TODO: OktetaGui, OktetaKastenControllers
|
||||||
("plasma" ,plasma-framework)
|
("plasma" ,plasma-framework)
|
||||||
("grantlee" ,grantlee)
|
;; TODO: purpose
|
||||||
("libepoxy" ,libepoxy)
|
("sonnet" ,sonnet)
|
||||||
("clang" ,clang)
|
("subversion" ,subversion)))
|
||||||
("shared-mime-info" ,shared-mime-info)))
|
|
||||||
|
;; run-time packages - TODO
|
||||||
|
;; ClazyStandalone
|
||||||
|
;; Cppcheck
|
||||||
|
;; heaptrack
|
||||||
|
;; heaptrack_gui
|
||||||
|
;; meson
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:tests? #f ;; there are some issues with the test suite
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(delete 'check) ;; there are some issues with the test suite
|
(modify-phases (@ (guix build qt-build-system) %standard-phases)
|
||||||
(add-after 'install 'wrap-executable
|
(add-before 'configure 'add-include-path
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(substitute* "cmake/modules/FindClang.cmake"
|
||||||
(kdevplatform (assoc-ref inputs "kdevplatform"))
|
(("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line)
|
||||||
(kio (assoc-ref inputs "kio"))
|
(string-append line " " (assoc-ref inputs "clang") "/lib")))
|
||||||
(kcmutils (assoc-ref inputs "kcmutils"))
|
#t)))))
|
||||||
(qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
|
|
||||||
(qtbase (assoc-ref inputs "qtbase"))
|
|
||||||
(qtdeclarative (assoc-ref inputs "qtdeclarative"))
|
|
||||||
(qml "/qml"))
|
|
||||||
(wrap-program (string-append out "/bin/kdevelop")
|
|
||||||
`("XDG_DATA_DIRS" ":" prefix
|
|
||||||
,(map (lambda (s) (string-append s "/share"))
|
|
||||||
(list out kdevplatform kcmutils)))
|
|
||||||
`("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
|
|
||||||
(,(string-append qtbase "/plugins/platforms")))
|
|
||||||
`("QT_PLUGIN_PATH" ":" prefix
|
|
||||||
,(map (lambda (s) (string-append s "/lib/plugins"))
|
|
||||||
(list out kdevplatform kio)))
|
|
||||||
`("QML2_IMPORT_PATH" ":" prefix
|
|
||||||
(,(string-append qtquickcontrols qml)
|
|
||||||
,(string-append qtdeclarative qml))))))))))
|
|
||||||
(home-page "https://kdevelop.org")
|
(home-page "https://kdevelop.org")
|
||||||
(synopsis "IDE for C, C++, Python, Javascript and PHP")
|
(synopsis "IDE for C, C++, Python, Javascript and PHP")
|
||||||
(description "The KDevelop IDE provides semantic syntax highlighting, as
|
(description "The KDevelop IDE provides semantic syntax highlighting, as
|
||||||
|
|
Reference in a new issue