From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoshinori Arai Subject: lumina desktop package Date: Sun, 10 Feb 2019 12:13:02 +0900 Message-ID: <20190210031302.lv3w6zafw6ceftry@WaraToNora> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsfYP-0003D0-Qo for help-guix@gnu.org; Sat, 09 Feb 2019 22:13:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsfYO-00017k-PU for help-guix@gnu.org; Sat, 09 Feb 2019 22:13:13 -0500 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:35568) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsfYO-00016t-FW for help-guix@gnu.org; Sat, 09 Feb 2019 22:13:12 -0500 Received: by mail-pf1-x429.google.com with SMTP id z9so3583779pfi.2 for ; Sat, 09 Feb 2019 19:13:11 -0800 (PST) Received: from localhost ([2409:11:4a40:3600:afd4:3247:4a32:242a]) by smtp.gmail.com with ESMTPSA id d129sm11539068pfc.31.2019.02.09.19.13.09 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Feb 2019 19:13:09 -0800 (PST) Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix Hello, I'm making lumina-desktop package. I have succeeded to build the package but failed to execute start-lumina-desktop in xinitrc after login with slim. The log message is as follows, Starting the Lumina desktop on current X11 session: ":0.0" - Resetting monitor configuration to last-used settings - Starting the session... [Lumina] Checking User Files - Old Version: "1.4.0" - Current Version: "1.4.0" - Made Changes: false Finished with user files check Got Desktop Process Finished: 11 Finished Closing Down Lumina I have installed fluxbox individually so I think it's not needed to include it in propagated-inputs. However, I tried to include it into propagated-inputs but I got same result. Please tell me some idea to resolve it. Package definition is as follows, (define-module (lumina) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xorg) #:use-module (gnu packages qt) #:use-module (gnu packages pdf) ;; poppler-qt5 #:use-module (gnu packages wm) #:use-module (gnu packages xdisorg)) (define-public lumina-desktop (package (name "lumina-desktop") (version "1.4.0-p1") (source (origin (method url-fetch) (uri (string-append "https://github.com/lumina-desktop/lumina/archive/v" version ".tar.gz")) (sha256 (base32 "0bz7jjcvqylizgri3mpn6isq7lgv74d2373i9nrv3jxwni72y83b")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'fix-all-project-file (lambda _ (for-each (lambda (f) (let ((out (assoc-ref %outputs "out"))) (substitute* f (("\\$\\$\\{L_SHAREDIR\\}") (string-append out "/share")) (("\\$\\$\\{L_SESSDIR\\}") (string-append out "/share/xsessions")) (("\\$\\$\\{L_ETCDIR\\}") (string-append out "/etc")) (("\\$\\$\\{L_MANDIR\\}") (string-append out "/share/man")) (("\\$\\$\\{LRELEASE\\}") (which "lrelease"))))) (find-files "." ".*\\.pro")))) (add-after 'unpack 'fix-lumina-pdf-pro (lambda _ (let ((pqt5 (assoc-ref %build-inputs "poppler-qt5"))) (substitute* "src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro" (("\\$\\$\\{L_INCLUDEDIR\\}") (string-append pqt5 "/include")))) #t)) (add-after 'unpack 'fix-lthemeengine-pri (lambda _ (let ((out (assoc-ref %outputs "out"))) (substitute* "src-qt5/core/lumina-theme-engine/lthemeengine.pri" (("\\$\\$\\{DISTDIR\\}\\$\\$\\[QT_INSTALL_PLUGINS\\]") (string-append out "/lib/qt5/plugins/styles")))) #t)) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (invoke "qmake" "CONFIG+=WITH_I18N" (string-append "PREFIX=" out)))))))) (native-inputs `(("pkg-config" ,pkg-config) ("qttools" ,qttools))) (inputs `(("qtbase" ,qtbase) ("qtx11extras" ,qtx11extras) ("qtmultimedia" ,qtmultimedia) ("qtsvg" ,qtsvg) ("poppler-qt5" ,poppler-qt5) ("libxcb" ,libxcb) ("xcb-util" ,xcb-util) ("xcb-util-image" ,xcb-util-image) ("xcb-util-wm" ,xcb-util-wm) ("libxdamage" ,libxdamage) ("libxcursor" ,libxcursor))) (propagated-inputs `(("fluxbox" ,fluxbox) ("xscreensaver" ,xscreensaver))) (home-page "https://www.lumina-desktop.org/") (synopsis "Lightweight Desktop Environment") (description "Lumina Desktop Environment is a lightweight system interface that is designed for use on any Unix-like operating system.") (license license:bsd-3))) lumina-desktop