Patching gossip-0.8



As reported earlier, gossip-0.8, has problems with the configure file
properly detecting the presence of XScreenSaverRegister. This problem
was undetected when running Xorg-0.6.6, but surfaced when attempting to
build under Xorg-6.8.x. Earlier, I had fetched the latest CVS code,
gossip-0.8.5, which builds, installs, and runs.

Attached are files to get gossip-0.8 to actually build.


-Joseph

-- 
joseph_sacco [at] comcast [dot] net
8bbe3dac8d0da7e0b936971a01545f14  download/gossip-0.8.tar.bz2
8d33613d856433c4ef1fa3b387c2457d  files/gossip-configure.patch
--- ./configure.orig	2004-12-27 11:40:37.000000000 -0500
+++ ./configure	2005-07-12 15:03:50.000000000 -0400
@@ -21693,7 +21693,7 @@
   XSS_LIBS="-L$x_libraries -lXss"
 fi
 
-if test \! "$XSS_LIBS" = "no"; then
+if test "x$XSS_LIBS" != "xno"; then
    cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -21701,6 +21701,7 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#include <X11/Xlib.h>
 #include <X11/extensions/scrnsaver.h>
 
 int
@@ -21733,10 +21734,6 @@
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
-  enable_xss=no
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
 
 
@@ -21745,6 +21742,11 @@
 _ACEOF
 
 
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+enable_xss=no
 fi
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 else
GARNAME = gossip
GARVERSION = 0.8
CATEGORIES = fifth-toe
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

LIBDEPS = fifth-toe/loudmouth platform/libgnomeui bootstrap/dbus
PATCHFILES = gossip-configure.patch

DESCRIPTION = gossip
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) --enable-dbus

include ../category.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]