OBS User unknown 2007-04-03 19:28:32 +00:00 committed by Git OBS Bridge
parent 14ee60479e
commit a40d53e14b
2 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 3 14:55:09 CEST 2007 - sbrabec@suse.cz
- Disabled DirectFB by default (#256775).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 21 13:16:22 CST 2007 - maw@suse.de Wed Mar 21 13:16:22 CST 2007 - maw@suse.de

View File

@ -12,7 +12,12 @@
Name: gtk2 Name: gtk2
%define _name gtk+ %define _name gtk+
# If you enable DirectFB support here, you have to enable it in cairo, too:
%define DIRECTFB_SUPPORT 0
BuildRequires: atk-devel cairo-devel cups-devel gcc-c++ gnome-patch-translation gtk-doc libtiff-devel pango-devel BuildRequires: atk-devel cairo-devel cups-devel gcc-c++ gnome-patch-translation gtk-doc libtiff-devel pango-devel
%if %DIRECTFB_SUPPORT
BuildRequires: DirectFB-devel
%endif
%if %suse_version <= 1020 %if %suse_version <= 1020
# Missing in cups-devel: # Missing in cups-devel:
BuildRequires: openssl-devel BuildRequires: openssl-devel
@ -23,7 +28,7 @@ Group: System/Libraries
Autoreqprov: on Autoreqprov: on
PreReq: /usr/bin/touch /bin/rm /bin/rmdir PreReq: /usr/bin/touch /bin/rm /bin/rmdir
Version: 2.10.10 Version: 2.10.10
Release: 1 Release: 5
Summary: Library for Creation of Graphical User Interfaces Summary: Library for Creation of Graphical User Interfaces
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.10/%{_name}-%{version}.tar.bz2 Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.10/%{_name}-%{version}.tar.bz2
Source1: SuSEconfig.gtk2 Source1: SuSEconfig.gtk2
@ -215,8 +220,13 @@ export CFLAGS="$CFLAGS -mminimal-toc"
sed -i /HAVE__NL_TIME_FIRST_WEEKDAY/d config.h.in sed -i /HAVE__NL_TIME_FIRST_WEEKDAY/d config.h.in
# needed for gtk+-2.10.6: # needed for gtk+-2.10.6:
export CFLAGS="$CFLAGS -fno-strict-aliasing" export CFLAGS="$CFLAGS -fno-strict-aliasing"
%if %DIRECTFB_SUPPORT
%configure\ %configure\
--with-gdktarget=directfb\
--enable-fbmanager --enable-fbmanager
%else
%configure
%endif
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
%install %install
@ -337,6 +347,8 @@ fi
%{_datadir}/gtk-doc/html/* %{_datadir}/gtk-doc/html/*
%changelog %changelog
* Tue Apr 03 2007 - sbrabec@suse.cz
- Disabled DirectFB by default (#256775).
* Wed Mar 21 2007 - maw@suse.de * Wed Mar 21 2007 - maw@suse.de
- Update to version 2.10.10 - Update to version 2.10.10
- Bugfixes, including bugzilla.gnome.org 399907, 396899, 402453, - Bugfixes, including bugzilla.gnome.org 399907, 396899, 402453,