commit:     053425c58c6297bdfe3cc27fe5518b470d3d48d9
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 11 15:36:27 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 16:13:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053425c5

x11-wm/e16: add 1.0.31

Upstream changes since 1.0.29:
- dbus defaults to on
- poll/select event handling option has been removed
- added line edit using either dev-libs/editline or sys-libs/readline

Changes not from upstream:
- fix installation of docs (always disabled previously, even with
  USE=doc)
- opengl requires xrender, or build fails
- zoom requires x11-libs/libXxf86vm only if compiled with -xrandr
- some dependencies clean-up

Still to do:
- too many REQUIRED_USE
- some of them generate pkgcheck warnings:
  'default/linux/amd64/23.0/desktop' (25 total) failed REQUIRED_USE: xcomposite
  'default/linux/amd64/23.0/desktop/gnome' (18 total) failed REQUIRED_USE:
        exactly-one-of ( alsa player pulseaudio )

Closes: https://bugs.gentoo.org/938281
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 x11-wm/e16/Manifest                          |   1 +
 x11-wm/e16/e16-1.0.31.ebuild                 | 164 +++++++++++++++++++++++++++
 x11-wm/e16/files/e16-1.0.31-fix-docdir.patch |  10 ++
 x11-wm/e16/metadata.xml                      |   1 +
 4 files changed, 176 insertions(+)

diff --git a/x11-wm/e16/Manifest b/x11-wm/e16/Manifest
index a31ae1a0d0f1..5392b65f5e23 100644
--- a/x11-wm/e16/Manifest
+++ b/x11-wm/e16/Manifest
@@ -1,2 +1,3 @@
 DIST e16-1.0.25.tar.xz 1400004 BLAKE2B 
34ef7be6896d04234b3a48675c185aa86d7a70e0e8b5db2cdf15bef4336a40575065713f9612b94dd29a490902f36f9eb08489a779160801e885a5635d896e56
 SHA512 
e5cc6b08ddad8eb3052dbafda2a0ab56134e90eb9cdf75da405ac853301eadf8348dc918218119117a1f96d08e562367ff60365deb790a14af5fbdaaf89684d3
 DIST e16-1.0.29.tar.xz 1410672 BLAKE2B 
5b96a13ed6ec70d01772cade4d85caf39f6b156a48a6778a9312cce4c9ade95f5c77d991de4d9128fff27abb7cc78add08930615031117c6b0791ddb5743553d
 SHA512 
930fd97c125e85cca6ee4cb1eae350219721d9e96824f2147fedfcd4050596e603ed174789faaf23b1265671e18d1717eba6a3dae7e4fa944bf7eff01b707a4c
+DIST e16-1.0.31.tar.xz 1420172 BLAKE2B 
0ae698cae7e3663ae721cc9b538565e882aaacb17ed3af76a592ac3cb7f4a7813b5b975f5e3ea17918957644ec42f20d6cc0c7ec34f4722892a68ccefe46821a
 SHA512 
06497fafb98c3d891274e3969dcbed31a29eae619ca63ffdf766cc16eeefe4c373f54a6f64a369716fe5f10ca2fabfe5378526b59e6385ffd8e0aedb9fe50bf5

diff --git a/x11-wm/e16/e16-1.0.31.ebuild b/x11-wm/e16/e16-1.0.31.ebuild
new file mode 100644
index 000000000000..d5841593a782
--- /dev/null
+++ b/x11-wm/e16/e16-1.0.31.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Enlightenment Window Manager (E16)"
+HOMEPAGE="https://www.enlightenment.org 
https://sourceforge.net/projects/enlightenment/";
+SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.xz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+alsa audiofile +dbus debug +dialogs doc examples gnome
+libhack editline modules nls no-container opengl +pango player
+pulseaudio readline +sndfile sound +themes xcomposite +xft
+xi2 xinerama xpresent +xrandr +xrender +xsm +xsync zoom"
+
+REQUIRED_USE="
+       ?? ( editline readline )
+       opengl? ( xcomposite xrender )
+       pango? ( xft )
+       sound? (
+               ^^ ( alsa player pulseaudio )
+               alsa?       ( ^^ ( sndfile audiofile ) )
+               pulseaudio? ( ^^ ( sndfile audiofile ) )
+       )
+"
+
+BDEPEND="
+       nls? ( sys-devel/gettext )
+       virtual/pkgconfig
+"
+COMMON_DEPEND="
+       media-libs/imlib2[X,text]
+       virtual/libiconv
+       x11-libs/libX11
+       x11-libs/libXext
+       x11-misc/xbitmaps
+       dbus? ( sys-apps/dbus )
+       editline? ( dev-libs/editline:= )
+       opengl? (
+               media-libs/glu
+               media-libs/libglvnd[X]
+       )
+       pango? (
+               dev-libs/glib:2
+               x11-libs/pango[X]
+       )
+       readline? ( sys-libs/readline:= )
+       sound? (
+               alsa? ( media-libs/alsa-lib )
+               player? ( media-sound/alsa-utils )
+               pulseaudio? ( || (
+                       media-libs/libpulse
+                       media-sound/apulse[sdk]
+               ) )
+               audiofile? ( media-libs/audiofile:= )
+               sndfile? ( media-libs/libsndfile )
+       )
+       xcomposite? (
+               x11-libs/libXcomposite
+               x11-libs/libXdamage
+               x11-libs/libXfixes
+       )
+       xft? ( x11-libs/libXft )
+       xi2? ( x11-libs/libXi )
+       xinerama? ( x11-libs/libXinerama )
+       xpresent? ( x11-libs/libXpresent )
+       xrandr? ( x11-libs/libXrandr )
+       xrender? ( x11-libs/libXrender )
+       xsm? (
+               x11-libs/libICE
+               x11-libs/libSM
+       )
+       zoom? ( !xrandr? ( x11-libs/libXxf86vm ) )
+"
+RDEPEND="${COMMON_DEPEND}
+       doc? ( app-doc/e16-docs )
+       nls? ( virtual/libintl )
+       themes? ( x11-themes/e16-themes )
+       !x11-wm/enlightenment:0
+"
+DEPEND="${COMMON_DEPEND}
+       x11-base/xorg-proto
+       pango? (
+               media-libs/fontconfig
+               media-libs/freetype:2
+               media-libs/harfbuzz:=
+       )
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.0.31-fix-docdir.patch
+)
+
+src_prepare() {
+       default
+
+       eautoreconf
+}
+
+src_configure() {
+       local myconf=(
+               $(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 no-container containerless)
+               $(use_enable opengl glx)
+               $(use_enable pango)
+               $(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 gnome gnome gnome3)
+               $(usev editline --with-lineedit=yes)
+               $(usev readline --with-lineedit=readline)
+               --enable-mans
+               --disable-esdtest
+               --disable-gcc-cpp
+               --disable-werror
+               --disable-xscrnsaver
+       )
+       if use sound; then
+               use alsa       && myconf+=( --enable-sound=alsa )
+               use pulseaudio && myconf+=( --enable-sound=pulseaudio )
+               use player     && myconf+=( --enable-sound=player )
+
+               if use alsa || use pulseaudio; then
+                       use sndfile   && myconf+=( --with-sndldr=sndfile )
+                       use audiofile && myconf+=( --with-sndldr=audiofile )
+               else
+                       myconf+=( --without-sndldr )
+               fi
+       else
+               myconf+=( --disable-sound --without-sndldr )
+       fi
+
+       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-1.0.31-fix-docdir.patch 
b/x11-wm/e16/files/e16-1.0.31-fix-docdir.patch
new file mode 100644
index 000000000000..36aea5d0ce61
--- /dev/null
+++ b/x11-wm/e16/files/e16-1.0.31-fix-docdir.patch
@@ -0,0 +1,10 @@
+Docs go into /usr/share/doc/e16, we preffer them in /usr/share/doc/${PF}
+
+--- a/docs/Makefile.am
++++ b/docs/Makefile.am
+@@ -1,4 +1,4 @@
+-e16docdir = ${datadir}/doc/${PACKAGE}
++e16docdir = ${docdir}
+ 
+ EXTRA_DIST = e16.asc e16.man.in e16.html
+ 

diff --git a/x11-wm/e16/metadata.xml b/x11-wm/e16/metadata.xml
index 4779c48058fa..8d27e3e7102a 100644
--- a/x11-wm/e16/metadata.xml
+++ b/x11-wm/e16/metadata.xml
@@ -5,6 +5,7 @@
   <use>
     <flag name="debug">Build libtrip debugging library</flag>
     <flag name="dialogs">Enable support for configuration dialogs</flag>
+    <flag name="editline">Use <pkg>dev-libs/editline</pkg> for line 
editing</flag>
     <flag name="libhack">Build libhack window mode helper library</flag>
     <flag name="modules">Enable support for loadable modules</flag>
     <flag name="no-container">Do not use container window (experimental)</flag>

Reply via email to