diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2019-03-08 07:58:02 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2019-03-08 08:35:21 +0300 |
commit | 6103da02f62d78799e6044b9ddfe6dfa16826e2d (patch) | |
tree | 8e71feffda0d9efcf5d1badb52171ed4121347ac /x11-wm | |
parent | x11-themes/e16-themes: Re-add e16 themes to the tree (diff) | |
download | gentoo-6103da02f62d78799e6044b9ddfe6dfa16826e2d.tar.gz gentoo-6103da02f62d78799e6044b9ddfe6dfa16826e2d.tar.bz2 gentoo-6103da02f62d78799e6044b9ddfe6dfa16826e2d.zip |
x11-wm/e16: Add E16 back to the tree
Enligtenment DR16 (e16) was earlier packaged as
x11-wm/enlightenment:0. No package move is possible here, since
the slot is being extracted and added as the separate package.
It is based on e16-overlay by Scott McClung <scott mcclung.com>:
https://github.com/mcclung/e16-overlay
However, there are many changes:
A plethora of new USE flags is added: e16 is highly configurable
with many yummy features. Defaults are set to some reasonable, but
smaller number of enabled features than upstream does.
Users can now provide custom fonts using ~/.e16/fonts/ and
~/.e16/fonts.cfg.
EAPI is updated to 7 with whole ebuild overhaul following.
Bug: https://bugs.gentoo.org/658860
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/e16/Manifest | 1 | ||||
-rw-r--r-- | x11-wm/e16/e16-1.0.19.ebuild | 116 | ||||
-rw-r--r-- | x11-wm/e16/files/e16-user-fonts.patch | 12 | ||||
-rw-r--r-- | x11-wm/e16/metadata.xml | 30 |
4 files changed, 159 insertions, 0 deletions
diff --git a/x11-wm/e16/Manifest b/x11-wm/e16/Manifest new file mode 100644 index 000000000000..cf2cea6107d7 --- /dev/null +++ b/x11-wm/e16/Manifest @@ -0,0 +1 @@ +DIST e16-1.0.19.tar.xz 1433016 BLAKE2B 9c27dd6a8d78d2f765b495e5398041a30bf939a5d3926f9f07e022c9bbbc70716b072e40beb6592159f896cc7a15e2fd4e25c8a07db333a80fc8156a82dce357 SHA512 9dc66a4224eacde92c567f9f5b029f21543675207b782077e25f3082ef2133a547eb955fc877b01b2200d99c26148f54a6b59f1ba191163760ecf3b32d5dd374 diff --git a/x11-wm/e16/e16-1.0.19.ebuild b/x11-wm/e16/e16-1.0.19.ebuild new file mode 100644 index 000000000000..ac8f6a27721b --- /dev/null +++ b/x11-wm/e16/e16-1.0.19.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Enlightenment Window Manager (E16)" +HOMEPAGE="https://www.enlightenment.org https://sourceforge.net/projects/enlightenment/" +SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.xz" +KEYWORDS="~amd64 ~x86" + +LICENSE="BSD" +SLOT="0" +IUSE="audiofile container dbus debug +dialogs doc examples gnome +libhack modules nls opengl +pango sndfile sound +themes xcomposite ++xft xi2 xinerama xpresent +xrandr +xrender +xsm +xsync zoom" + +BDEPEND=" + nls? ( sys-devel/gettext ) + virtual/pkgconfig +" +CDEPEND=" + dbus? ( sys-apps/dbus ) + doc? ( app-doc/e16-docs ) + nls? ( virtual/libintl ) + opengl? ( media-libs/glu media-libs/mesa ) + pango? ( x11-libs/pango[X] ) + sound? ( + || ( media-sound/pulseaudio media-sound/apulse[sdk] ) + sndfile? ( media-libs/libsndfile ) + audiofile? ( media-libs/audiofile ) + ) + xcomposite? ( + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXfixes + ) + xft? ( x11-libs/libXft ) + xinerama? ( x11-libs/libXinerama ) + xpresent? ( x11-libs/libXpresent ) + xrandr? ( x11-libs/libXrandr ) + xrender? ( x11-libs/libXrender ) + xsm? ( x11-libs/libICE x11-libs/libSM ) + zoom? ( x11-libs/libXxf86vm ) + =media-libs/freetype-2* + >=media-libs/imlib2-1.3.0[X] + virtual/libiconv + x11-libs/libX11 + x11-libs/libXext + x11-misc/xbitmaps +" +RDEPEND="${CDEPEND} + themes? ( x11-themes/e16-themes ) + !x11-wm/enlightenment:0 +" +DEPEND="${CDEPEND} + x11-base/xorg-proto +" +REQIRED_USE=" + audiofile? ( sound ) + opengl? ( composite ) + sndfile? ( sound ) + sound? ^^ ( sndfile audiofile ) +" + +PATCHES=( "${FILESDIR}/${PN}-user-fonts.patch" ) + +src_configure() { + local myconf=( + $(use_enable container) + $(use_enable dbus) + $(use_enable debug libtrip) + $(use_enable dialogs) + $(use_enable doc docs) + $(use_enable libhack) + $(use_enable modules) + $(use_enable nls) + $(use_enable opengl glx) + $(use_enable pango) + $(use_enable sound sound pulseaudio) + $(use_enable xcomposite composite) + $(use_enable xft) + $(use_enable xi2) + $(use_enable xinerama) + $(use_enable xpresent) + $(use_enable xrandr) + $(use_enable xrender) + $(use_enable xsm sm) + $(use_enable xsync) + $(use_enable zoom) + $(use_with audiofile sndldr audiofile) + $(use_with gnome gnome gnome3) + $(use_with sndfile sndldr sndfile) + --enable-mans + --disable-docs + --disable-esdtest + --disable-gcc-cpp + --disable-hints-gnome + --disable-werror + --disable-xscrnsaver + ) + + econf "${myconf[@]}" +} + +src_install() { + default + docompress -x /usr/share/doc/${PF}/e16.html + dodoc COMPLIANCE docs/e16.html + use examples && dodoc -r sample-scripts +} + +pkg_postinst() { + einfo "In order to use custom fonts, put them into ~/.e16/fonts/ and use" + einfo "appropriate names in ~/.e16/fonts.cfg. \"Use theme font configuration\"" + einfo "in the Theme setting should be disabled for this to work." +} diff --git a/x11-wm/e16/files/e16-user-fonts.patch b/x11-wm/e16/files/e16-user-fonts.patch new file mode 100644 index 000000000000..6a54efe0df97 --- /dev/null +++ b/x11-wm/e16/files/e16-user-fonts.patch @@ -0,0 +1,12 @@ +Allow users to provide custom fonts via ~/.e16/fonts/ +--- a/src/ttfont.c 2018-04-26 19:19:44.000000000 +0300 ++++ b/src/ttfont.c 2019-03-06 06:04:33.489831326 +0300 +@@ -46,6 +46,8 @@ + imlib_add_path_to_font_path(s); + Esnprintf(s, sizeof(s), "%s/fonts", EDirRoot()); + imlib_add_path_to_font_path(s); ++ Esnprintf(s, sizeof(s), "%s/fonts", Mode.conf.dir); ++ imlib_add_path_to_font_path(s); + #endif + } + diff --git a/x11-wm/e16/metadata.xml b/x11-wm/e16/metadata.xml new file mode 100644 index 000000000000..94998b76491c --- /dev/null +++ b/x11-wm/e16/metadata.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> + <use> + <flag name="container">Use container window (experimental)</flag> + <flag name="debug">Build libtrip debugging library</flag> + <flag name="dialogs">Enable support for configuration dialogs</flag> + <flag name="libhack">Build libhack window mode helper library</flag> + <flag name="modules">Enable support for loadable modules</flag> + <flag name="pango">Enable pango font rendering using <pkg>x11-libs/pango</pkg></flag> + <flag name="themes">Install the official E16 themes using <pkg>x11-themes/e16-themes</pkg></flag> + <flag name="xi2">Enable the experimental multipointer input XInput2. This incldues the MultiPointer X feature</flag> + <flag name="xpresent">Enable support for the X Present extension via <pkg>x11-libs/libXpresent</pkg></flag> + <flag name="xrandr">Enable support for the X RandR extension via <pkg>x11-libs/libXrandr</pkg></flag> + <flag name="xrender">Enable transparency support using the X Render extension via <pkg>x11-libs/libXrender</pkg></flag> + <flag name="xsm">Enable X Session Management support using <pkg>x11-libs/libSM</pkg></flag> + <flag name="xsync">Enable X Sync support</flag> + <flag name="zoom">Support resolution change of current window (zoom) using<pkg>x11-libs/libXxf86vm</pkg> (xvidtune)</flag> + </use> + <longdescription> + Enlightenment DR16 (E16) is a classic lightweighth X11 window manager. + </longdescription> + <upstream> + <remote-id type="sourceforge">enlightenment</remote-id> + </upstream> +</pkgmetadata> |