From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoshinori Arai Subject: Re: lumina desktop package Date: Wed, 13 Feb 2019 06:28:50 +0900 Message-ID: <20190212212850.cuef46fhwzfmludg@WaraToNora> References: <20190210031302.lv3w6zafw6ceftry@WaraToNora> <20190211002034.xbekn3jn75tcwfhe@WaraToNora> <20190212102104.GC3284@macbook41> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtfoX-0000oe-Vk for help-guix@gnu.org; Tue, 12 Feb 2019 16:42:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtfbv-0002ge-D7 for help-guix@gnu.org; Tue, 12 Feb 2019 16:29:00 -0500 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:33809) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtfbv-0002g0-7D for help-guix@gnu.org; Tue, 12 Feb 2019 16:28:59 -0500 Received: by mail-pg1-x52e.google.com with SMTP id i130so85314pgd.1 for ; Tue, 12 Feb 2019 13:28:59 -0800 (PST) Content-Disposition: inline In-Reply-To: <20190212102104.GC3284@macbook41> 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: Efraim Flashner Cc: help-guix@gnu.org, L p R n d n On Tue, Feb 12, 2019 at 12:21:05PM +0200, Efraim Flashner wrote: > On Mon, Feb 11, 2019 at 09:20:34AM +0900, Yoshinori Arai wrote: > > On Sun, Feb 10, 2019 at 11:21:52AM +0100, L p R n d n wrote: > > > 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 > > > > > > > Hello, > > > > Thank you for your suggestion. > > I'm going to try to build lumina-desktop with using part of your code. I was > > thinking how to debug lumina-desktop to find where is problem in c++ code. > > > > I haven't built it in a while but I have a copy of lumina which boots > correctly in a VM. I don't use it personally so I never cleaned up the > rough edges (PATH searching, etc) and submitted it. > > https://gitlab.com/Efraim/my-guix/blob/master/wip/lumina.scm > and the patch mentioned in the file: > https://gitlab.com/Efraim/my-guix/blob/master/add-LuminaOS-GuixSD.patch > > -- > Efraim Flashner אפרים פלשנר > GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypted Thank you. I will try it. I have tried Lprndn's code but I got same result.