drop support for building with non-modular X

This commit is contained in:
Nils Philippsen 2011-06-07 13:14:46 +02:00
parent a954c2d1ca
commit 5b7e0b8fab

View File

@ -2,8 +2,6 @@
# Use the following --with/--without <option> switches to control how the
# package will be built:
#
# modular_x: modular X dependencies
%bcond_without modular_x
# lcms: lcms support
%bcond_without lcms
# python: python support
@ -38,7 +36,7 @@ Summary: GNU Image Manipulation Program
Name: gimp
Epoch: 2
Version: 2.6.11
Release: 14%{?dist}
Release: 15%{?dist}
%define binver 2.6
%define gimp_lang_ver 20
%define interfacever 2.0
@ -93,12 +91,8 @@ BuildRequires: webkitgtk-devel >= 1.1.0
%else
BuildRequires: WebKit-gtk-devel >= 1.1.0
%endif
%if %{with modular_x}
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
%else
BuildRequires: xorg-x11-devel
%endif
BuildRequires: sed
BuildRequires: intltool
BuildRequires: gettext
@ -214,7 +208,6 @@ viewing GIMP online help.
cat << EOF
Build options:
modular X: %{with modular_x}
LCMS support: %{with lcms}
Python support: %{with python}
MP support: %{with mp}
@ -511,6 +504,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_libdir}/gimp/%{interfacever}/plug-ins/help-browser
%changelog
* Tue Jun 07 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-15
- drop support for building with non-modular X
* Mon May 23 2011 Nils Philippsen <nils@redhat.com> - 2:2.6.11-14
- fix buffer overflows in sphere-designer (CVE-2010-4541),
gfig (CVE-2010-4542), lighting (CVE-2010-4540) plugins