From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: lumina desktop package Date: Tue, 12 Feb 2019 12:21:05 +0200 Message-ID: <20190212102104.GC3284@macbook41> References: <20190210031302.lv3w6zafw6ceftry@WaraToNora> <20190211002034.xbekn3jn75tcwfhe@WaraToNora> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vmttodhTwj0NAgWp" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:32811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtVBh-0006XD-Dd for help-guix@gnu.org; Tue, 12 Feb 2019 05:21:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtVBg-0006mT-9K for help-guix@gnu.org; Tue, 12 Feb 2019 05:21:13 -0500 Received: from flashner.co.il ([178.62.234.194]:51118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtVBd-0006ez-Mi for help-guix@gnu.org; Tue, 12 Feb 2019 05:21:11 -0500 Content-Disposition: inline In-Reply-To: <20190211002034.xbekn3jn75tcwfhe@WaraToNora> 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: Yoshinori Arai Cc: help-guix@gnu.org, L p R n d n --vmttodhTwj0NAgWp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, > >=20 > > 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...=20 > >=20 > > (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=3D" 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/lthemeengin= e.pri" > > (("\\$\\[QT_INSTALL_PLUGINS\\]") (string-append (assoc-r= ef outputs "out") > > "/lib/qt= 5/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=3D/usr/share/xsessions") "")) > > (substitute* "src-qt5/core/libLumina/LuminaOS-Linux.cpp" > > (("\"/usr/\"") "PREFIX")) > > #t)) > > (add-before 'configure 'chdir > > (lambda _ > > (chdir "src-qt5") > > #t))))) > >=20 > > Have a nice day, > >=20 > > Lprndn > >=20 >=20 > Hello, >=20 > 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. >=20 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 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --vmttodhTwj0NAgWp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxingsACgkQQarn3Mo9 g1Ei/Q//Ta6X2kmPkEaMfolOR3gyaaPXUK5uCyKenep3N8u3vnKkIqtcD6lQqg8o D0IpfM6p206xL3QarovwFosyucHICxQAU7vxZmfy8RIC8vVzq5zXGPnGBhh46eH6 BJQ/wpZlIc5XfUWHXHdF0cqjgKJ1+I3YIbZDMS+6PpVaXCUZ0ml9acI9erc/PKvp afMO9sHSwJR6Tlx55L3k/DBS3IQnv16YXx8ksqf48dwsXTO5ffyGQTnqzzhEutbS Cw9UtIP/Mkgkyh4X8RyEvCwjY8HqUsYa+wAfuICy41/mBMvPrqqGX+ENNsQqLN9q FrL+iEoOTMjvu5p0PCurO9a5ujwgTTOWX9GmLVXoap/SLHhSkmqHEzPeyz8L4Ufk 9oyYt60nAE+b+2pAjtwRNC2AQPeo5gNn10tMwf+++FX/Mk0n0ZvhUdwlCkan2Syf LPzE/IzFMvFO31FA9E0wpD9Zd2JCKwwZcqbPa3Xk5uEwZagmdXFNwhz/EWtaKl1C ebUGV9wpETlfLLc7lZZuPbvzLKdRUxVXBSKfXxToNpYzosyFNdDfz+ENAkjoIoFW cTtj9bKkuqKLQHfcF8cgm0Z8Brs1ha8UzxAaTR/iFZJ2F/uFQYG7UBbLG8Nce2zw jpgFe35sbVI7HvmJ07V5M7c8OBg//6Vim/GVNDYXiw0idhTBKt0= =fA6S -----END PGP SIGNATURE----- --vmttodhTwj0NAgWp--