[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/31: gnu: lxqt-build-tools: Update to 0.11.0.
From: |
guix-commits |
Subject: |
01/31: gnu: lxqt-build-tools: Update to 0.11.0. |
Date: |
Sun, 21 Aug 2022 21:06:17 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit 6072d025569ce6f980ca29c9111e2afa7b050885
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Wed Aug 17 10:13:58 2022 +0800
gnu: lxqt-build-tools: Update to 0.11.0.
* gnu/packages/lxqt.scm (lxqt-build-tools)
[version]: Update to 0.11.0.
[arguments]: Configure LXQtConfigVars.cmake to use relative paths.
---
gnu/packages/lxqt.scm | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index eab9a24d1d..29ed90a462 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
+;;; Copyright © 2015, 2022 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Nikita <nikita@n0.is>
@@ -31,6 +31,7 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix build-system cmake)
@@ -129,7 +130,7 @@ to statistics about the system on which it's run.")
(define-public lxqt-build-tools
(package
(name "lxqt-build-tools")
- (version "0.9.0")
+ (version "0.11.0")
(source
(origin
(method url-fetch)
@@ -137,16 +138,29 @@ to statistics about the system on which it's run.")
"/download/" version
"/lxqt-build-tools-" version ".tar.xz"))
(sha256
- (base32 "0kayad5l72h8n90zkf3hy8fxy72n4b1mrkjglpa9dj0cdj6qg0lp"))))
+ (base32 "1ff1pkrlxd8h0j8v49p6wrfhnqrz8s5b53hi835m41cvkzjljpfx"))))
(build-system cmake-build-system)
(arguments
- `(#:tests? #f ; no tests
- #:configure-flags
- ;; 'startlxqt' will add LXQT_DATA_DIR to XDG_DATA_DIRS,
- ;; LXQT_ETC_XDG_DIR to XDG_CONFIG_DIRS, and 'lxqt-about' will report
- ;; LXQT_ETC_XDG_DIR in its "Technical Info".
- '("-DLXQT_DATA_DIR=/run/current-system/profile/share"
- "-DLXQT_ETC_XDG_DIR=/run/current-system/profile/etc/xdg")))
+ (list
+ #:tests? #f ; no tests
+ #:modules `((ice-9 regex)
+ (guix build cmake-build-system)
+ (guix build utils))
+ ;; In phases and configure-flags: Set LXQT_TRANSLATIONS_DIR,
+ ;; LXQT_DATA_DIR, etc. to relative paths, so that packages using
+ ;; LXQtConfigVars.cmake from lxqt-build-tools will install translations
+ ;; and data files into their outputs, remove the need to patch their
+ ;; cmake files.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'patch-LXQtConfigVars.cmake
+ (lambda _
+ (substitute* (string-append #$output
+ "/share/cmake/lxqt-build-tools"
+ "/modules/LXQtConfigVars.cmake")
+ (((regexp-quote (string-append #$output "/"))) "")))))
+ #:configure-flags
+ #~(list "-DLXQT_ETC_XDG_DIR=etc/xdg")))
(native-inputs
(list pkg-config glib))
(inputs
- branch master updated (50fd598729 -> fdde539028), guix-commits, 2022/08/21
- 01/31: gnu: lxqt-build-tools: Update to 0.11.0.,
guix-commits <=
- 04/31: gnu: liblxqt: Update to 1.1.0., guix-commits, 2022/08/21
- 09/31: gnu: lxqt-globalkeys: Update to 1.1.0., guix-commits, 2022/08/21
- 07/31: gnu: lxqt-admin: Update to 1.1.0., guix-commits, 2022/08/21
- 06/31: gnu: lxqt-about: Update to 1.1.0., guix-commits, 2022/08/21
- 03/31: gnu: Add qtxdg-tools., guix-commits, 2022/08/21
- 05/31: gnu: libsysstat: Update to 0.4.6., guix-commits, 2022/08/21
- 08/31: gnu: lxqt-config: Update to 1.1.0., guix-commits, 2022/08/21
- 10/31: gnu: lxqt-notificationd: Update to 1.1.0., guix-commits, 2022/08/21
- 12/31: gnu: lxqt-panel: Update to 1.1.0., guix-commits, 2022/08/21
- 11/31: gnu: lxqt-openssh-askpass: Update to 1.1.0., guix-commits, 2022/08/21