3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: pcmanfm-qt: Remove obsolete workaround.

* gnu/packages/lxqt.scm (pcmanfm-qt)[inputs]: Remove GLIB:BIN.
[arguments]: Remove phase 'wrap-glib'.
This commit is contained in:
Marius Bakke 2020-04-11 17:56:06 +02:00
parent 7eee37cd56
commit 2d1f79229c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -994,8 +994,7 @@ components to build desktop file managers which belongs to LXDE.")
(base32 "0x3c25inlxll965xszx37mnl5gp3smm2h7x04f67z0qlh3vsbrjq")))) (base32 "0x3c25inlxll965xszx37mnl5gp3smm2h7x04f67z0qlh3vsbrjq"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("glib:bin" ,glib "bin") `(("libfm-qt" ,libfm-qt)
("libfm-qt" ,libfm-qt)
("qtbase" ,qtbase) ("qtbase" ,qtbase)
("qtx11extras" ,qtx11extras))) ("qtx11extras" ,qtx11extras)))
(native-inputs (native-inputs
@ -1011,17 +1010,7 @@ components to build desktop file managers which belongs to LXDE.")
(substitute* '("autostart/CMakeLists.txt") (substitute* '("autostart/CMakeLists.txt")
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
"DESTINATION \"etc/xdg")) "DESTINATION \"etc/xdg"))
#t)) #t)))))
(add-after 'install 'wrap-glib
(lambda* (#:key outputs inputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(glib (assoc-ref inputs "glib:bin"))
(gio-exe-path (string-append glib "/bin/gio-launch-desktop")))
(if (file-exists? gio-exe-path)
(wrap-program (string-append out "/bin/pcmanfm-qt")
`("GIO_LAUNCH_DESKTOP" = (,gio-exe-path)))
(error "could not find gio-launch-desktop"))
#t))))))
(home-page "https://lxqt.org/") (home-page "https://lxqt.org/")
(synopsis "File manager and desktop icon manager") (synopsis "File manager and desktop icon manager")
(description "PCManFM-Qt is the Qt port of PCManFM, the file manager of (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of