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

GnomeICU: Found a solution! Patch below... (fwd)



FYI...

---------- Forwarded message ----------
Date: Sun, 23 Jul 2000 09:08:45 -0400 (EDT)
From: Christopher C. Chimelis <chris@debian.org>
To: 66841@bugs.debian.org
Cc: edlang@debian.org
Subject: Found a solution! Patch below...


Turns out that Alphas have problems if you enable the XScreenSaver
extension support.  I think it's related to the fact that some extensions
for X don't compile on alpha since they're not 64-bit clean yet.  Passing
the option '--without-xss' to the configure script fixed it
handily.  Believe it or not, I found that solution in the .spec file
included in the upstream tarball (of all places).  Below is a patch to
pass this option ONLY on alpha and won't affect other archs.

If you could apply this and upload it for potato, I'd GREATLY appreciate
it since Alpha's current gnomeicu is useless and otherwise it'll have to
be removed from Alpha's tree...

Thanks
C

diff -ruN gnomeicu-0.90b/debian/rules gnomeicu-patched/debian/rules
--- gnomeicu-0.90b/debian/rules	Sun Jul 23 08:53:30 2000
+++ gnomeicu-patched/debian/rules	Sun Jul 23 08:53:20 2000
@@ -5,12 +5,18 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+CONFFLAGS = --prefix=/usr --sysconfdir=/etc
+
+ifeq ($(ARCH),alpha)
+CONFFLAGS += --without-xss
+endif
 
 build: build-stamp
 build-stamp:
 	dh_testdir
 
-	./configure --prefix=/usr --sysconfdir=/etc 
+	./configure $(CONFFLAGS)
 	$(MAKE) 
 
 	touch build-stamp




Reply to: