From a40d53e14b3e392f6654e70ea444ae0c8e46818180b71bc0648426210e9da529 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 3 Apr 2007 19:28:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2?expand=0&rev=9 --- gtk2.changes | 5 +++++ gtk2.spec | 14 +++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/gtk2.changes b/gtk2.changes index f5faaa9..d4721e8 100644 --- a/gtk2.changes +++ b/gtk2.changes @@ -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 diff --git a/gtk2.spec b/gtk2.spec index 2f0109f..c8ea429 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -12,7 +12,12 @@ Name: gtk2 %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 +%if %DIRECTFB_SUPPORT +BuildRequires: DirectFB-devel +%endif %if %suse_version <= 1020 # Missing in cups-devel: BuildRequires: openssl-devel @@ -23,7 +28,7 @@ Group: System/Libraries Autoreqprov: on PreReq: /usr/bin/touch /bin/rm /bin/rmdir Version: 2.10.10 -Release: 1 +Release: 5 Summary: Library for Creation of Graphical User Interfaces Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.10/%{_name}-%{version}.tar.bz2 Source1: SuSEconfig.gtk2 @@ -215,8 +220,13 @@ export CFLAGS="$CFLAGS -mminimal-toc" sed -i /HAVE__NL_TIME_FIRST_WEEKDAY/d config.h.in # needed for gtk+-2.10.6: export CFLAGS="$CFLAGS -fno-strict-aliasing" +%if %DIRECTFB_SUPPORT %configure\ + --with-gdktarget=directfb\ --enable-fbmanager +%else +%configure +%endif make %{?jobs:-j%jobs} %install @@ -337,6 +347,8 @@ fi %{_datadir}/gtk-doc/html/* %changelog +* Tue Apr 03 2007 - sbrabec@suse.cz +- Disabled DirectFB by default (#256775). * Wed Mar 21 2007 - maw@suse.de - Update to version 2.10.10 - Bugfixes, including bugzilla.gnome.org 399907, 396899, 402453,