From a9749df2d47910c2d7231789fe3731733c72417c Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Sun, 19 Feb 2006 19:45:56 +0000 Subject: - disable compositor on s390 s390x and ppc64 --- metacity.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'metacity.spec') diff --git a/metacity.spec b/metacity.spec index ae9f038..c489d69 100644 --- a/metacity.spec +++ b/metacity.spec @@ -39,8 +39,6 @@ Patch1: metacity-2.13.89.0.2006.02.16-static-cm.patch Patch2: metacity-2.13.89.0.2006.02.16-fix-type.patch Patch3: libcm-0.0.16.0.2006.02.16-include-glxext.patch -ExcludeArch: s390 s390x ppc64 - %description Metacity is a simple window manager that integrates nicely with @@ -60,25 +58,34 @@ popd %build rm -rf $RPM_BUILD_ROOT +%ifnarch s390 s390x ppc64 pushd libcm-%{libcm_version}.0.%{libcm_snapshot_date} %configure make make install DESTDIR=$RPM_BUILD_ROOT popd +%endif LIBS="$LIBS -lGL -lGLU" LIBS="$LIBS -lICE -lSM" LIBS="$LIBS -lX11 -lXext -lXinerama -lXrandr" LIBS="$LIBS -lXrender -lXcursor" LIBS="$LIBS -lXdamage -lXtst -lXfixes -lXcomposite" +%ifnarch s390 s390x ppc64 LIBS="$LIBS $PWD/libcm-%{libcm_version}.0.%{libcm_snapshot_date}/src/.libs/libcm.a" +%endif export LIBS CPPFLAGS="$CPPFLAGS -I$RPM_BUILD_ROOT%{_includedir}" export CPPFLAGS autoreconf + +%ifnarch s390 s390x ppc64 %configure --enable-compositor +%else +%configure +%endif SHOULD_HAVE_DEFINED="HAVE_SM HAVE_XINERAMA HAVE_XFREE_XINERAMA HAVE_SHAPE HAVE_RANDR HAVE_STARTUP_NOTIFICATION HAVE_COMPOSITE_EXTENSIONS" @@ -135,6 +142,9 @@ done %{_mandir}/man1/* %changelog +* Sun Feb 19 2006 Ray Strode - 2.13.89.0.2006.02.17-2 +- disable compositor on s390 s390x and ppc64 + * Fri Feb 17 2006 Ray Strode - 2.13.89.0.2006.02.17-1 - Update to latest cvs snapshot to give meaningful failure error messages -- cgit