From 4fc5ce202d8d368e734aeb2ff753a431a399c9e7 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Mon, 8 Jun 2009 17:16:17 +0000 Subject: [PATCH] x11-wm/cairo-compmgr: New ebuild for bug #271775, thanks to scarabeus for help on ebuild form svn path=/sunrise/; revision=8637 --- x11-wm/cairo-compmgr/ChangeLog | 10 ++++++ x11-wm/cairo-compmgr/Manifest | 6 ++++ .../cairo-compmgr/cairo-compmgr-0.2.93.ebuild | 32 +++++++++++++++++++ .../cairo-compmgr-0.2.93-glitz-code.patch | 31 ++++++++++++++++++ ...cairo-compmgr-0.2.93-glitz-tfp-undef.patch | 15 +++++++++ x11-wm/cairo-compmgr/metadata.xml | 5 +++ 6 files changed, 99 insertions(+) create mode 100644 x11-wm/cairo-compmgr/ChangeLog create mode 100644 x11-wm/cairo-compmgr/Manifest create mode 100644 x11-wm/cairo-compmgr/cairo-compmgr-0.2.93.ebuild create mode 100644 x11-wm/cairo-compmgr/files/cairo-compmgr-0.2.93-glitz-code.patch create mode 100644 x11-wm/cairo-compmgr/files/cairo-compmgr-0.2.93-glitz-tfp-undef.patch create mode 100644 x11-wm/cairo-compmgr/metadata.xml diff --git a/x11-wm/cairo-compmgr/ChangeLog b/x11-wm/cairo-compmgr/ChangeLog new file mode 100644 index 000000000..cbef92395 --- /dev/null +++ b/x11-wm/cairo-compmgr/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-wm/cairo-compmgr +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 08 Jun 2009; Ian Stakenvicius (_AxS_) + +cairo-compmgr-0.2.93.ebuild, + +files/cairo-compmgr-0.2.93-glitz-code.patch, + +files/cairo-compmgr-0.2.93-glitz-tfp-undef.patch, +metadata.xml: + New ebuild for bug #271775, thanks to scarabeus for help on ebuild form + diff --git a/x11-wm/cairo-compmgr/Manifest b/x11-wm/cairo-compmgr/Manifest new file mode 100644 index 000000000..914b37332 --- /dev/null +++ b/x11-wm/cairo-compmgr/Manifest @@ -0,0 +1,6 @@ +AUX cairo-compmgr-0.2.93-glitz-code.patch 1132 RMD160 f9c12302bb56c10f4700b89a53fac1eb12868638 SHA1 74344a64d8df56bb22539a3376a4ac0867d8fa2a SHA256 84419ebab9f672089cfa205a766083003a2d923f6c650e0e37e7c50b9fea4c36 +AUX cairo-compmgr-0.2.93-glitz-tfp-undef.patch 397 RMD160 c24e9b49e7ce46fdf04181df5d3d16f93dec578e SHA1 d5a0cdc5234dc901c1a44cdcd18477eb1eb7d640 SHA256 0874b67a8b156fc073ff19bee06e825cc694f3f172e77c9c5b2ff8083475cc0c +DIST cairo-compmgr-0.2.93.tar.gz 832806 RMD160 77e84c4996cabad70b729c1dfbbb94848669cf19 SHA1 0d4c3b8c98487c4c1ad63c10f5658578ec0bd723 SHA256 6cd4552cfa572ca1db593e0cbcd4b4089e613e6409e23e28d93bdd2e6243b05c +EBUILD cairo-compmgr-0.2.93.ebuild 750 RMD160 60cafbed9be8884f9fdcee25103ab93387331ae8 SHA1 7ffdac7293204f984ee527b2a10bc8ba8361a85d SHA256 9e3747b86a684a37c2690d97d25b02847c59d68dc5d6a5a480bf4f916ce68a64 +MISC ChangeLog 405 RMD160 ce611ff975ba0dc996d9e1852aee06a27b7c6579 SHA1 9253cd043dac03c765ac17246109e80247466cef SHA256 b93987a2f3a1031ccf6b1c5ad1fcb7078773fec6e63d1458ac129615449361d0 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/x11-wm/cairo-compmgr/cairo-compmgr-0.2.93.ebuild b/x11-wm/cairo-compmgr/cairo-compmgr-0.2.93.ebuild new file mode 100644 index 000000000..e4db19c0c --- /dev/null +++ b/x11-wm/cairo-compmgr/cairo-compmgr-0.2.93.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit autotools eutils gnome2 + +DESCRIPTION="A versatile and extensible compositing manager which uses cairo for rendering" +HOMEPAGE="http://cairo-compmgr.tuxfamily.org/" +SRC_URI="http://download.tuxfamily.org/ccm/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/cairo + x11-libs/pixman" +DEPEND="${RDEPEND} + >=x11-proto/glproto-1.4.9" + +pkg_setup() { + G2CONF="--disable-glitz --disable-glitz-tfp --enable-shave" +} + +src_prepare() { + epatch "${FILESDIR}/${P}-glitz-tfp-undef.patch" + epatch "${FILESDIR}/${P}-glitz-code.patch" + AT_M4DIR="." eautoreconf +} diff --git a/x11-wm/cairo-compmgr/files/cairo-compmgr-0.2.93-glitz-code.patch b/x11-wm/cairo-compmgr/files/cairo-compmgr-0.2.93-glitz-code.patch new file mode 100644 index 000000000..f9ff7abbf --- /dev/null +++ b/x11-wm/cairo-compmgr/files/cairo-compmgr-0.2.93-glitz-code.patch @@ -0,0 +1,31 @@ +--- cairo-compmgr-0.2.93/src/ccm-window-glitz.c 2009-03-04 16:31:26.000000000 -0500 ++++ cairo-compmgr-0.2.93.new/src/ccm-window-glitz.c 2009-05-29 13:53:37.000000000 -0400 +@@ -278,13 +278,13 @@ + GLITZ_FORMAT_RED_SIZE_MASK | + GLITZ_FORMAT_GREEN_SIZE_MASK | + GLITZ_FORMAT_BLUE_SIZE_MASK | +- GLITZ_FORMAT_DEPTH_MASK; ++ GLITZ_FORMAT_DEPTH_SIZE_MASK; + + templ.doublebuffer = 0; + templ.color.red_size = 8; + templ.color.green_size = 8; + templ.color.blue_size = 8; +- templ.depth = depth; ++ templ.depth_size = depth; + + g_object_get(G_OBJECT(screen), "indirect_rendering", &indirect, NULL); + #ifdef ENABLE_GLITZ_TFP_BACKEND +--- cairo-compmgr-0.2.93/src/ccm-pixmap-glitz.c 2009-03-05 03:36:51.000000000 -0500 ++++ cairo-compmgr-0.2.93.new/src/ccm-pixmap-glitz.c 2009-05-29 13:52:22.000000000 -0400 +@@ -126,8 +126,8 @@ + tmp.color.alpha_size = 8; + if (ccm_drawable_get_format(CCM_DRAWABLE(self)) == CAIRO_FORMAT_ARGB32) + { +- tmp.depth = 32; +- mask |= GLITZ_FORMAT_DEPTH_MASK; ++ tmp.depth_size = 32; ++ mask |= GLITZ_FORMAT_DEPTH_SIZE_MASK; + } + + format = glitz_glx_find_window_format ( diff --git a/x11-wm/cairo-compmgr/files/cairo-compmgr-0.2.93-glitz-tfp-undef.patch b/x11-wm/cairo-compmgr/files/cairo-compmgr-0.2.93-glitz-tfp-undef.patch new file mode 100644 index 000000000..c4ad90fff --- /dev/null +++ b/x11-wm/cairo-compmgr/files/cairo-compmgr-0.2.93-glitz-tfp-undef.patch @@ -0,0 +1,15 @@ +--- cairo-compmgr/src/Makefile.am 2009-03-15 18:03:42.000000000 -0400 ++++ cairo-compmgr.new/src/Makefile.am 2009-05-29 13:19:26.000000000 -0400 +@@ -30,10 +30,8 @@ + + if HAVE_GLITZ_TFP_BACKEND + INCLUDES += -DENABLE_GLITZ_TFP_BACKEND +-endif +- +-if HAVE_GLITZ_TFP_BACKEND +-INCLUDES += -DENABLE_GLITZ_TFP_BACKEND ++else ++INCLUDES += -DDISABLE_GLITZ_TFP_BACKEND + endif + + if ENABLE_GOBJECT_INTROSPECTION diff --git a/x11-wm/cairo-compmgr/metadata.xml b/x11-wm/cairo-compmgr/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/x11-wm/cairo-compmgr/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + -- 2.43.2