From 43e9f500bf695131bed8d3edb35e2dfa623a97b919d5a9e00738614897ab7ab8 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Tue, 31 May 2011 10:02:00 +0000 Subject: [PATCH] - build with gtk2 based vte package on suse > 11.4 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxterminal?expand=0&rev=52 --- lxterminal.changes | 5 +++++ lxterminal.spec | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lxterminal.changes b/lxterminal.changes index 26d34fa..04b1910 100644 --- a/lxterminal.changes +++ b/lxterminal.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 31 10:01:36 UTC 2011 - andrea@opensuse.org + +- build with gtk2 based vte package on suse > 11.4 + ------------------------------------------------------------------- Mon Mar 14 18:51:11 UTC 2011 - gber@opensuse.org diff --git a/lxterminal.spec b/lxterminal.spec index 163cbbe..1c51e28 100644 --- a/lxterminal.spec +++ b/lxterminal.spec @@ -34,7 +34,13 @@ Patch0: %name-0.1.8-disable-f10.patch Patch1: %name-0.1.9-fix-char_widthheight.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes gtk2-devel intltool pkg-config update-desktop-files -BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel vte-devel +BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel +# lxterminal is not yet compatible with gtk3 +%if %suse_version <= 1140 +BuildRequires: vte-devel +%else +BuildRequires: vte2-devel +%endif Recommends: %name-lang %description