[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lumina desktop package

From: L p R n d n
Subject: Re: lumina desktop package
Date: Sun, 10 Feb 2019 11:21:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)


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... 

       (modify-phases %standard-phases
         (replace 'configure
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out")))
               (invoke "qmake"
                       (string-append "PREFIX=" out)))
         (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 <poppler-qt5.h>") "#include 
             ;; Fix plugins directory
             (substitute* "src-qt5/core/lumina-theme-engine/lthemeengine.pri"
               (("\\$\\[QT_INSTALL_PLUGINS\\]") (string-append (assoc-ref 
outputs "out")
             ;; Find Fluxbox styles
               (("LOS::AppPrefix()+\"share/fluxbox") (string-append
                                                      (assoc-ref inputs 
             (substitute* "src-qt5/OS-detect.pri"
               (("L_SESSDIR=/usr/share/xsessions") ""))
             (substitute* "src-qt5/core/libLumina/LuminaOS-Linux.cpp"
               (("\"/usr/\"") "PREFIX"))
         (add-before 'configure 'chdir
           (lambda _
             (chdir "src-qt5")

Have a nice day,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]