Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild: xfwm4 with tiling support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hasufell
Developer
Developer


Joined: 29 Oct 2011
Posts: 198

PostPosted: Thu Nov 03, 2011 1:01 pm    Post subject: ebuild: xfwm4 with tiling support Reply with quote

could not find it anywhere

adapted from this one https://aur.archlinux.org/packages.php?ID=40030

Code:
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfwm4/xfwm4-4.8.2.ebuild,v 1.5 2011/11/02 14:17:31 jer Exp $

EAPI=4
inherit xfconf

DESCRIPTION="Window manager for the Xfce desktop environment"
HOMEPAGE="http://www.xfce.org/projects/xfwm4/"
SRC_URI="mirror://xfce/src/xfce/${PN}/4.8/${P}.tar.bz2
   https://aur.archlinux.org/packages/xf/xfwm4-tiling/xfwm4-tiling.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="debug startup-notification +xcomposite"

RDEPEND=">=dev-libs/glib-2.10:2
   >=x11-libs/gtk+-2.14:2
   x11-libs/libICE
   x11-libs/libSM
   x11-libs/libX11
   x11-libs/libXext
   x11-libs/libXrandr
   x11-libs/libXrender
   x11-libs/pango
   >=x11-libs/libwnck-2.22:1
   >=xfce-base/libxfce4util-4.8
   >=xfce-base/libxfce4ui-4.8
   >=xfce-base/xfconf-4.8
   startup-notification? ( x11-libs/startup-notification )
   xcomposite? ( x11-libs/libXcomposite
      x11-libs/libXdamage
      x11-libs/libXfixes )"
DEPEND="${RDEPEND}
   dev-util/intltool
   dev-util/pkgconfig
   sys-devel/gettext"

src_unpack() {
    unpack ${A}
    cd "${S}"
    EPATCH_SOURCE="${WORKDIR}/xfwm4-tiling" EPATCH_SUFFIX="patch" \
        EPATCH_FORCE="yes" epatch
}

pkg_setup() {
   XFCONF=(
      --docdir="${EPREFIX}"/usr/share/doc/${PF}
      $(use_enable startup-notification)
      --enable-xsync
      --enable-render
      --enable-randr
      $(use_enable xcomposite compositor)
      $(xfconf_use_debug)
      )

   DOCS=( AUTHORS ChangeLog COMPOSITOR NEWS README TODO )
}


works like a charm. so does any1 want to maintain this?
Back to top
View user's profile Send private message
moodboom
n00b
n00b


Joined: 06 Aug 2007
Posts: 21

PostPosted: Fri Sep 14, 2012 3:15 pm    Post subject: Would love to see this too Reply with quote

Tiling really makes my window managing very efficient - and now that xfce4 is so popular, would be great to have this in portage. I've never maintained anything before. Can anyone do it? How hard is it/how much work?
Back to top
View user's profile Send private message
moodboom
n00b
n00b


Joined: 06 Aug 2007
Posts: 21

PostPosted: Fri Sep 14, 2012 4:23 pm    Post subject: Re: Would love to see this too Reply with quote

moodboom wrote:
Can anyone do it? How hard is it/how much work?


When I said "can anyone do it" I meant can I do it. Sorry if that came off as begging. Ha, dumb me.

To make this official, should this be done as an extension to xfce4, like xfce-extra/xfce4-mixer, or maybe as a USE flag?
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2100
Location: Finland

PostPosted: Fri Sep 14, 2012 6:12 pm    Post subject: Re: Would love to see this too Reply with quote

moodboom wrote:
moodboom wrote:
Can anyone do it? How hard is it/how much work?


When I said "can anyone do it" I meant can I do it. Sorry if that came off as begging. Ha, dumb me.

To make this official, should this be done as an extension to xfce4, like xfce-extra/xfce4-mixer, or maybe as a USE flag?


To make this official it needs to get reviewed by the Xfce developrs at http://bugzilla.xfce.org/ where the patch should be an attachment in a bug, otherwise it won't make it to the Portage tree.

We are maintaining a policy of not applying anything not upstreamized to the Xfce packages (ebuilds) unless it's really something Gentoo specific, avoiding the mistake called Xubuntu. 8)
Back to top
View user's profile Send private message
moodboom
n00b
n00b


Joined: 06 Aug 2007
Posts: 21

PostPosted: Fri Sep 14, 2012 9:18 pm    Post subject: Re: Would love to see this too Reply with quote

ssuominen wrote:
We are maintaining a policy of not applying anything not upstreamized to the Xfce packages


gotcha, thanks for the explanation ssuominen. I guess there are other workarounds for now, like wmctrl.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum