From mboxrd@z Thu Jan 1 00:00:00 1970 From: L p R n d n Subject: Re: lumina desktop package Date: Sun, 10 Feb 2019 11:21:52 +0100 Message-ID: References: <20190210031302.lv3w6zafw6ceftry@WaraToNora> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gslJA-0006gY-G2 for help-guix@gnu.org; Sun, 10 Feb 2019 04:21:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gslJ9-0005Xu-JS for help-guix@gnu.org; Sun, 10 Feb 2019 04:21:52 -0500 Received: from mout02.posteo.de ([185.67.36.142]:51811) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gslJ9-0005VJ-DI for help-guix@gnu.org; Sun, 10 Feb 2019 04:21:51 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 655A22400E5 for ; Sun, 10 Feb 2019 10:21:45 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43y3MX4y0zz9rxD for ; Sun, 10 Feb 2019 10:21:44 +0100 (CET) In-Reply-To: <20190210031302.lv3w6zafw6ceftry@WaraToNora> (Yoshinori Arai's message of "Sun, 10 Feb 2019 12:13:02 +0900") 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@gnu.org Hello, Funny, I just wrote a package definition for Lumina yesterday too. Mine is a rougher (just builds and starts) but I didn't have any troube starting lumina. I didn't use xinitrc though. I just choosed lumina session in slim so it might not be helpfull to you... Here is the (arguments) part of what I wrote as it's probably where the magic happens (Mostly a rewrite of NixOS definition). Hope it helps. Maybe there's something hidden in the differences... (arguments `(#:phases (modify-phases %standard-phases (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (invoke "qmake" (string-append "PREFIX=" out))) #t)) (add-after 'unpack 'fix-paths (lambda* (#:key outputs inputs #:allow-other-keys) ;; Find Poppler-qt5 (substitute* "src-qt5/desktop-utils/lumina-pdf/mainUI.h" (("#include ") "#include ")) ;; Fix plugins directory (substitute* "src-qt5/core/lumina-theme-engine/lthemeengine.pri" (("\\$\\[QT_INSTALL_PLUGINS\\]") (string-append (assoc-ref outputs "out") "/lib/qt5/plugins"))) ;; Find Fluxbox styles (substitute* "src-qt5/core-utils/lumina-config/pages/page_fluxbox_settings.cpp" (("LOS::AppPrefix()+\"share/fluxbox") (string-append (assoc-ref inputs "fluxbox") "/share/fluxbox"))) (substitute* "src-qt5/OS-detect.pri" (("L_SESSDIR=/usr/share/xsessions") "")) (substitute* "src-qt5/core/libLumina/LuminaOS-Linux.cpp" (("\"/usr/\"") "PREFIX")) #t)) (add-before 'configure 'chdir (lambda _ (chdir "src-qt5") #t))))) Have a nice day, Lprndn