Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578114 - x11-wm/lumina
Summary: x11-wm/lumina
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Rubin Simons
URL: https://github.com/pcbsd/lumina
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2016-03-23 17:47 UTC by Rubin Simons
Modified: 2016-08-22 11:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rubin Simons 2016-03-23 17:47:17 UTC
There's a new, lean-and-mean desktop environment in town called Lumina. The Lumina Desktop Environment is a lightweight system interface that is designed for use on any Unix-like operating system.

Lumina is created/distributed under the 3-clause BSD license, allowing it to be used by anyone, anywhere. It has been written from scratch in C++/Qt5 and is not based on any existing desktop's code-base. 

It also does not have a dependency on any of the Linux-based desktop frameworks (ConsoleKit, PolicyKit, D-Bus, systemd, etc..), instead using a simple built-in interface layer for communicating directly with the operating system (which is the only class specific to the operating system - making it simple to port/customize).

I've created an ebuild for the upcoming 0.9 version of Lumina which was accepted upstream here: https://github.com/pcbsd/lumina/blob/master/lumina-0.9_pre.ebuild

I would like lumina to become installable on Gentoo using Gentoo's main Portage tree, so that a user can simply type 'emerge lumina-base/lumina'. 

I'm not certain if the package needs to be adopted by an existing Gentoo developer, but regardless, I'm willing to maintain the ebuild and enhance it with future USE flags, stable/testing versions, etc.
Comment 1 Michael 'veremitz' Everitt 2016-03-24 12:41:59 UTC
Rubin, you probably want to get in contact with the Proxy Maintainers project ( https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers ) whereby you can maintain your ebuild, but without formally becoming a gentoo developer. An existing dev will commit your changes, but you will remain first contact for any bugs, version bumps, etc, and responsible for meeting Gentoo's QA requirements.
Comment 2 Brian Evans (RETIRED) gentoo-dev 2016-03-24 12:56:18 UTC
> lumina-0.9_pre.ebuild

>EAPI=5

EAPI 6 is the latest and should be used on new builds when possible

>inherit git-r3 qmake-utils versionator

A live ebuild should be numbered as 9999 and not -0.9_pre.
Please only use version numbers for released tarballs since they exist for this project.

>DEPEND="dev-qt/linguist-tools
>    dev-qt/qtconcurrent
>	dev-qt/qtcore
>	dev-qt/qtmultimedia
>	dev-qt/qtnetwork
>	dev-qt/qtwidgets
>	dev-qt/qtx11extras
>	x11-libs/libxcb
>	x11-libs/xcb-util
>	x11-libs/xcb-util-image
>	x11-libs/xcb-util-wm"
>RDEPEND="${DEPEND}
>	x11-misc/numlockx
>	x11-terms/xterm
>	x11-wm/fluxbox
>	x11-apps/xbacklight
>	media-sound/alsa-utils
>	sys-power/acpi
>	app-admin/sysstat"

You should be using slot for the qt dependencies.. is it qt4 or qt5?
For qt4 it should be dev-qt/qtcore:4 for example, and :5 for qt5.


>src_compile(){
>
>	eqmake5 PREFIX="${ROOT}usr" LIBPREFIX="${ROOT}usr/lib" DESTDIR="${D}" >CONFIG+="NO_I18N" || die "eqmake5 failed"
>	emake || die "emake failed"
>}

|| die is not needed in either of these

>src_install(){
>	emake install || die "emake install failed"
>}

This can be removed as it is the default function unless "emake DESTDIR="${D}" install" would have it fail.
Comment 3 Brian Evans (RETIRED) gentoo-dev 2016-03-24 13:05:31 UTC
Also is xterm really required at runtime?  Can another terminal suffice?

You should leave it up to the user to install one since there are several better choices than that very old terminal.

You could note this in a pkg_postinst
Comment 4 Brian Evans (RETIRED) gentoo-dev 2016-03-24 15:26:21 UTC
Just remembered.. live ebuilds should have KEYWORDS=""  as they are never in testing or stable
Comment 5 Rubin Simons 2016-03-24 19:13:51 UTC
Thanks for all comments! I'm being assisted by the proxy maintainer team via Freenode (#gentoo-proxy-maint) and I've got a pull request ready at: 
https://github.com/gentoo/gentoo/pull/1126
Comment 6 Patrice Clement (RETIRED) gentoo-dev 2016-03-25 09:46:24 UTC
commit cbc72c945ca6cf32a75e70bb888951a0443f2c5b (HEAD -> master)
Author:     Rubin Simons <rubin.simons@raaftech.com>
AuthorDate: Thu Mar 24 16:16:16 2016 +0100
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Fri Mar 25 09:29:54 2016 +0000

x11-wm/lumina: add lumina to the tree.

Lumina is a lightweight Desktop Environment.

Gentoo-Bug: https://bugs.gentoo.org/578114
Reporter: Rubin Simons <rubin.simons@raaftech.com>
Closes: https://github.com/gentoo/gentoo/pull/1126
Package-Manager: portage-2.2.26
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

x11-wm/lumina/Manifest               |  1 +
x11-wm/lumina/lumina-0.8.8_p1.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++++++++
x11-wm/lumina/lumina-9999.ebuild     | 46 ++++++++++++++++++++++++++++++++++++++++++++++
x11-wm/lumina/metadata.xml           | 28 ++++++++++++++++++++++++++++
4 files changed, 122 insertions(+)
create mode 100644 x11-wm/lumina/Manifest
create mode 100644 x11-wm/lumina/lumina-0.8.8_p1.ebuild
create mode 100644 x11-wm/lumina/lumina-9999.ebuild
create mode 100644 x11-wm/lumina/metadata.xml
Comment 7 Anthony Basile gentoo-dev 2016-03-27 03:01:38 UTC
(In reply to Patrice Clement from comment #6)
> commit cbc72c945ca6cf32a75e70bb888951a0443f2c5b (HEAD -> master)
> Author:     Rubin Simons <rubin.simons@raaftech.com>
> AuthorDate: Thu Mar 24 16:16:16 2016 +0100
> Commit:     Patrice Clement <monsieurp@gentoo.org>
> CommitDate: Fri Mar 25 09:29:54 2016 +0000
> 
> x11-wm/lumina: add lumina to the tree.

this fails to build.  was this ebuild every testing?
Comment 8 Rubin Simons 2016-03-27 07:23:08 UTC
Yes, it was tested, many times. We saw a possible issue building with QT 5.6 that has some reason upstream; maybe you have an error message?
Comment 9 dawgg 2016-08-22 11:31:22 UTC
it fails to build for me, too.
is there a fix for this somewhere? is some part of qt missing?


emerge --info:
Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r2, 4.7.1-gentoo x86_64)
=================================================================
System uname: Linux-4.7.1-gentoo-x86_64-AMD_A8-5500B_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2

Timestamp of repository gentoo: Mon, 22 Aug 2016 00:45:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p46::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.3.5-r8::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.6.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.21.3::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo, 5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
USE_PYTHON="2.7 3.3 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

qlist -CIv dev-qt:
dev-qt/designer-4.8.7
dev-qt/designer-5.5.1-r1
dev-qt/linguist-tools-5.6.1
dev-qt/qt3support-4.8.7
dev-qt/qtchooser-0_p20151008
dev-qt/qtconcurrent-5.6.1
dev-qt/qtcore-4.8.7-r2
dev-qt/qtcore-5.6.1
dev-qt/qtdbus-4.8.7
dev-qt/qtdbus-5.6.1
dev-qt/qtdeclarative-4.8.7
dev-qt/qtdeclarative-5.6.1-r1
dev-qt/qtgui-4.8.7
dev-qt/qtgui-5.6.1
dev-qt/qtlockedfile-2.4.1_p20150629
dev-qt/qtmultimedia-4.8.7
dev-qt/qtmultimedia-5.6.1
dev-qt/qtnetwork-5.6.1
dev-qt/qtopengl-4.8.7
dev-qt/qtopengl-5.6.1
dev-qt/qtprintsupport-5.6.1
dev-qt/qtquickcontrols-5.6.1
dev-qt/qtscript-4.8.7
dev-qt/qtscript-5.6.1
dev-qt/qtsingleapplication-2.6.1_p20150629
dev-qt/qtsql-4.8.7-r1
dev-qt/qtsql-5.6.1
dev-qt/qtsvg-4.8.7
dev-qt/qtsvg-5.6.1
dev-qt/qttest-4.8.7
dev-qt/qttest-5.6.1
dev-qt/qttranslations-4.8.7
dev-qt/qtwebkit-4.8.7
dev-qt/qtwebkit-5.6.1
dev-qt/qtwidgets-5.6.1
dev-qt/qtx11extras-5.6.1
dev-qt/qtxml-5.6.1
dev-qt/qtxmlpatterns-4.8.7
dev-qt/qtxmlpatterns-5.6.1