1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: gambas: Update to 3.20.2.

* gnu/packages/gambas.scm (gambas): Update to 3.20.2.
[source]: Remove snippet.
[arguments]: Fix install-desktop-file phase.

Change-Id: I38884d0d0fc16d7ebcf97de9ab17e316251f11dc
This commit is contained in:
宋文武
2025-03-11 19:43:28 +08:00
parent 18903a7a57
commit ec1858717e

View File

@@ -55,7 +55,7 @@
(define-public gambas
(package
(name "gambas")
(version "3.20.1")
(version "3.20.2")
(source
(origin
(method git-fetch)
@@ -64,13 +64,7 @@
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1fw3nark7vaw4vbmdvaaqb0an4838k0hhwwvc3dqd7f2033d41xq"))
(modules '((guix build utils)))
(snippet
;; Fix desktop file creation, upstream commit bbaa7b40.
'(substitute* "comp/src/gb.gui.base/.src/_Gui.class"
(("If sDir Begins [(]User\\.Home & \"/\"[)]" all)
(string-append all " And If Access(sDir, gb.Write)"))))))
(base32 "060f8w19jf78mappqgy11873ss3h97gi47ga3c1ws1bazix9x7rk"))))
(build-system gnu-build-system)
(arguments
(list
@@ -122,10 +116,8 @@
(let* ((out (assoc-ref outputs "out"))
(appdir (string-append out "/share/applications"))
(icondir (string-append out "/share/pixmaps")))
(install-file "app/desktop/gambas3.desktop"
(string-append appdir "/gambas3.desktop"))
(install-file "app/desktop/gambas3.png"
(string-append icondir "/gambas3.png"))))))))
(install-file "app/desktop/gambas3.desktop" appdir)
(install-file "app/desktop/gambas3.png" icondir)))))))
(native-inputs
(list autoconf
automake