- disable compositor on s390 s390x and ppc64
This commit is contained in:
parent
16e31a87d0
commit
a9749df2d4
@ -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 <rstrode@redhat.com> - 2.13.89.0.2006.02.17-2
|
||||
- disable compositor on s390 s390x and ppc64
|
||||
|
||||
* Fri Feb 17 2006 Ray Strode <rstrode@redhat.com> - 2.13.89.0.2006.02.17-1
|
||||
- Update to latest cvs snapshot to give meaningful failure error
|
||||
messages
|
||||
|
||||
Loading…
Reference in New Issue
Block a user