From 81b5d7628b70b63a9b5743e7ac2437d1c1a30822 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 18 Nov 2019 14:14:12 +0100 Subject: [PATCH] x11-wm/icewm: Revbump for massive dependencies overhaul Thanks-to: Yury Martynov Bug: https://bugs.gentoo.org/700474 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Lars Wendler --- ...ewm-1.6.2.ebuild => icewm-1.6.2-r1.ebuild} | 33 ++++++++++++++----- x11-wm/icewm/metadata.xml | 3 ++ 2 files changed, 28 insertions(+), 8 deletions(-) rename x11-wm/icewm/{icewm-1.6.2.ebuild => icewm-1.6.2-r1.ebuild} (81%) diff --git a/x11-wm/icewm/icewm-1.6.2.ebuild b/x11-wm/icewm/icewm-1.6.2-r1.ebuild similarity index 81% rename from x11-wm/icewm/icewm-1.6.2.ebuild rename to x11-wm/icewm/icewm-1.6.2-r1.ebuild index 869277de7f94..4c87bc3f6120 100644 --- a/x11-wm/icewm/icewm-1.6.2.ebuild +++ b/x11-wm/icewm/icewm-1.6.2-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/ice-wm/icewm/releases/download/${PV}/${P}.tar.lz" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="+alsa ao bidi debug nls truetype uclibc xinerama" +IUSE="+alsa ao bidi debug +gdk-pixbuf nls truetype uclibc xinerama" # Tests broken in all versions, patches welcome, bug #323907, #389533 RESTRICT="test" @@ -22,15 +22,25 @@ REQUIRED_USE="|| ( alsa ao )" #fix for icewm preversion package names S="${WORKDIR}/${P/_}" -RDEPEND=" +# These are the core dependencies of icewm. +# Look into configure.ac and search for PKG_CHECK_MODULES([CORE] +CORE_DEPEND=" media-libs/fontconfig - x11-libs/gdk-pixbuf:2[X] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender +" + +RDEPEND=" + ${CORE_DEPEND} x11-libs/libICE x11-libs/libSM - x11-libs/libX11 x11-libs/libXft + x11-libs/libXpm x11-libs/libXrandr - x11-libs/libXrender alsa? ( media-libs/alsa-lib media-libs/libsndfile[alsa] @@ -40,15 +50,22 @@ RDEPEND=" media-libs/libsndfile ) bidi? ( dev-libs/fribidi ) - truetype? ( x11-libs/libXext ) + gdk-pixbuf? ( + x11-libs/gdk-pixbuf:2[X] + ) + !gdk-pixbuf? ( + media-libs/libpng:0= + virtual/jpeg + ) xinerama? ( x11-libs/libXinerama ) " DEPEND=" ${RDEPEND} $(unpacker_src_uri_depends) + dev-libs/glib:2 gnome-base/librsvg x11-base/xorg-proto - truetype? ( >=media-libs/freetype-2.0.9 ) + gdk-pixbuf? ( gnome-base/librsvg:2 ) " BDEPEND=" @@ -76,7 +93,6 @@ src_configure() { fi local myconf=( - --enable-gdk-pixbuf --enable-logevents --enable-xrandr --with-cfgdir=/etc/icewm @@ -85,6 +101,7 @@ src_configure() { --with-libdir=/usr/share/icewm $(use_enable bidi fribidi) $(use_enable debug) + $(use_enable gdk-pixbuf) $(use_enable nls i18n) $(use_enable nls) $(use_enable xinerama) diff --git a/x11-wm/icewm/metadata.xml b/x11-wm/icewm/metadata.xml index 43abc08bd4b1..7b0cfd7e0829 100644 --- a/x11-wm/icewm/metadata.xml +++ b/x11-wm/icewm/metadata.xml @@ -5,6 +5,9 @@ polynomial-c@gentoo.org Lars Wendler + + Enable gdk-pixbuf rendering + IceWM is a window manager designed for speed, usability, and consistency. It is able to emulate the looks of Motif, OS/2, and Windows, and allows you -- 2.26.2