From 7b0525699b351a00372c97f9758555c0f51a5b8d Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Jan 06 2009 12:06:16 +0000 Subject: pkg-config --cflags gnome-desktop-2.0 doesn't implicitly include libgnomeui-2.0 anymore, so add it in explicitly --- diff --git a/icewm-configure.patch b/icewm-configure.patch index 2d166b0..6e20a5f 100644 --- a/icewm-configure.patch +++ b/icewm-configure.patch @@ -1,6 +1,16 @@ --- icewm-1.2.30/configure.in.old 2007-01-16 16:12:51.000000000 +0200 +++ icewm-1.2.30/configure.in 2007-01-16 16:13:31.000000000 +0200 -@@ -814,7 +814,7 @@ +@@ -820,15 +820,15 @@ + + if test "${PKG_CONFIG}" != ""; then + GNOME_VER=2 +- GNOME2_CFLAGS=`pkg-config --cflags gnome-desktop-2.0` +- GNOME2_LIBS=`pkg-config --libs gnome-desktop-2.0` ++ GNOME2_CFLAGS=`pkg-config --cflags gnome-desktop-2.0 libgnomeui-2.0` ++ GNOME2_LIBS=`pkg-config --libs gnome-desktop-2.0 libgnomeui-2.0` + + AC_DEFINE(CONFIG_GNOME_MENUS, 1, [Define to make IceWM more GNOME-friendly]) + APPLICATIONS="${APPLICATIONS} icewm-menu-gnome2" GNOME2_PREFIX=`pkg-config --variable=prefix gnome-desktop-2.0` GWMDIR="${GNOME2_PREFIX}/share/gnome/wm-properties/" @@ -11,7 +21,17 @@ if test "${GNOME2_CFLAGS}" = ""; then --- icewm-1.2.30/configure.old 2007-01-16 17:44:10.000000000 +0200 +++ icewm-1.2.30/configure 2007-01-16 17:44:31.000000000 +0200 -@@ -12000,7 +12000,7 @@ +@@ -12564,7 +12564,8 @@ + if test "${PKG_CONFIG}" != ""; then + GNOME_VER=2 + GNOME2_CFLAGS=`pkg-config --cflags gnome-desktop-2.0` +- GNOME2_LIBS=`pkg-config --libs gnome-desktop-2.0` ++ GNOME2_CFLAGS=`pkg-config --cflags gnome-desktop-2.0 libgnomeui-2.0` ++ GNOME2_LIBS=`pkg-config --libs gnome-desktop-2.0 libgnomeui-2.0` + + + cat >>confdefs.h <<\_ACEOF +@@ -12575,7 +12576,7 @@ APPLICATIONS="${APPLICATIONS} icewm-menu-gnome2" GNOME2_PREFIX=`pkg-config --variable=prefix gnome-desktop-2.0` GWMDIR="${GNOME2_PREFIX}/share/gnome/wm-properties/" diff --git a/icewm.spec b/icewm.spec index e3be5b4..cda9910 100644 --- a/icewm.spec +++ b/icewm.spec @@ -1,6 +1,6 @@ Name: icewm Version: 1.2.36 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Light and configurable window manager Group: User Interface/Desktops @@ -199,6 +199,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jan 6 2009 Caolán McNamara - 1.2.36-3 +- pkg-config --cflags gnome-desktop-2.0 doesn't implicitly include + libgnomeui-2.0 anymore, so add it in explicitly + * Mon Jan 5 2009 Gilboa Davara - 1.2.36-2 - Missing BR libgnomeui-devel. (devel) - Missing BR gnome-vfs2-devel. (devel)