public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-wm/e16/, x11-wm/e16/files/
@ 2019-03-08  5:35 Andrew Savchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Savchenko @ 2019-03-08  5:35 UTC (permalink / raw
  To: gentoo-commits

commit:     6103da02f62d78799e6044b9ddfe6dfa16826e2d
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  8 04:58:02 2019 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Fri Mar  8 05:35:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6103da02

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 <AT> gentoo.org>

 x11-wm/e16/Manifest                   |   1 +
 x11-wm/e16/e16-1.0.19.ebuild          | 116 ++++++++++++++++++++++++++++++++++
 x11-wm/e16/files/e16-user-fonts.patch |  12 ++++
 x11-wm/e16/metadata.xml               |  30 +++++++++
 4 files changed, 159 insertions(+)

diff --git a/x11-wm/e16/Manifest b/x11-wm/e16/Manifest
new file mode 100644
index 00000000000..cf2cea6107d
--- /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 00000000000..ac8f6a27721
--- /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 00000000000..6a54efe0df9
--- /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 00000000000..94998b76491
--- /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>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-wm/e16/, x11-wm/e16/files/
@ 2022-08-02 12:51 Andrew Savchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Savchenko @ 2022-08-02 12:51 UTC (permalink / raw
  To: gentoo-commits

commit:     2fd5430f6bdd0ba5e81ed0330adb86f9a09396e5
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  2 12:50:50 2022 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 12:50:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fd5430f

x11-wm/e16: drop 1.0.22

Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 x11-wm/e16/Manifest                   |   1 -
 x11-wm/e16/e16-1.0.22.ebuild          | 146 ----------------------------------
 x11-wm/e16/files/e16-user-fonts.patch |  12 ---
 3 files changed, 159 deletions(-)

diff --git a/x11-wm/e16/Manifest b/x11-wm/e16/Manifest
index 33779622ea3b..8c473fe0361f 100644
--- a/x11-wm/e16/Manifest
+++ b/x11-wm/e16/Manifest
@@ -1,3 +1,2 @@
-DIST e16-1.0.22.tar.xz 1442288 BLAKE2B 7f102474f9054935ea15ed58c91f18613561eaad84c8398c410014a5dbfb2f7f5fd079399db4c6462096c9a351bd89e47fbd61d304ca99ec844806c26c97d6a9 SHA512 0ff40390a56f0dbd2219d9e4e665b1c1802801e552df3bd76fa71502ad2fb7466f2f175757b088b490fbc58e4196b362d6cf451ad43d5104849ac8ce2805299e
 DIST e16-1.0.24.tar.xz 1392444 BLAKE2B 5a4c30af2d484226fac73cbe9131ae9dc308638fc035958012b99747ddaa15b1fc1340fe74c7e809e399b5c93dfc7bf8a6ead338c3977483621f4ab98f8f4a3e SHA512 869e2c654bbdcdbb56656cacea8338b0f99a991e4aeaa4dde3fd01e358b1010a58422344e617d522e024186ab98a1d9364e6ea3428507b3831516d1da5dfb08a
 DIST e16-1.0.25.tar.xz 1400004 BLAKE2B 34ef7be6896d04234b3a48675c185aa86d7a70e0e8b5db2cdf15bef4336a40575065713f9612b94dd29a490902f36f9eb08489a779160801e885a5635d896e56 SHA512 e5cc6b08ddad8eb3052dbafda2a0ab56134e90eb9cdf75da405ac853301eadf8348dc918218119117a1f96d08e562367ff60365deb790a14af5fbdaaf89684d3

diff --git a/x11-wm/e16/e16-1.0.22.ebuild b/x11-wm/e16/e16-1.0.22.ebuild
deleted file mode 100644
index 8490c84fa233..000000000000
--- a/x11-wm/e16/e16-1.0.22.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2021 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"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+alsa audiofile container dbus debug +dialogs doc examples
-gnome libhack modules nls opengl +pango player pulseaudio +sndfile
-sound +themes xcomposite +xft xi2 xinerama xpresent +xrandr
-+xrender +xsm +xsync zoom"
-
-REQUIRED_USE="
-	opengl? ( xcomposite )
-	pango? ( xft )
-	sound? (
-		^^ ( alsa player pulseaudio )
-		alsa?       ( ^^ ( sndfile audiofile ) )
-		pulseaudio? ( ^^ ( sndfile audiofile ) )
-	)
-"
-
-BDEPEND="
-	nls? ( sys-devel/gettext )
-	virtual/pkgconfig
-"
-COMMON_DEPEND="
-	media-libs/freetype:2
-	media-libs/imlib2[X]
-	virtual/libiconv
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-misc/xbitmaps
-	dbus? ( sys-apps/dbus )
-	opengl? (
-		media-libs/glu
-		media-libs/mesa
-	)
-	pango? (
-		dev-libs/glib:2
-		x11-libs/pango[X]
-	)
-	sound? (
-		alsa? ( media-libs/alsa-lib )
-		player? ( media-sound/alsa-utils )
-		pulseaudio? ( || (
-			media-sound/apulse[sdk]
-			media-sound/pulseaudio
-		) )
-		audiofile? ( media-libs/audiofile:= )
-		sndfile? ( media-libs/libsndfile )
-	)
-	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 )
-"
-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
-"
-
-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 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)
-		--enable-mans
-		--disable-docs
-		--disable-esdtest
-		--disable-gcc-cpp
-		--disable-hints-gnome
-		--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-user-fonts.patch b/x11-wm/e16/files/e16-user-fonts.patch
deleted file mode 100644
index 6a54efe0df97..000000000000
--- a/x11-wm/e16/files/e16-user-fonts.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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
- }
- 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-02 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-02 12:51 [gentoo-commits] repo/gentoo:master commit in: x11-wm/e16/, x11-wm/e16/files/ Andrew Savchenko
  -- strict thread matches above, loose matches on Subject: below --
2019-03-08  5:35 Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox