Bug#363267: xutils-dev: Should drop -lXp dependency of Xaw

2006-04-18 Thread Daniel Schepler
Package: xutils-dev
Version: 1:1.0.2-2
Severity: important
Justification: causes FTBFS in numerous packages until libxp moves to /usr/lib

As the subject says: since libxaw8 is being dropped, the imake templates
should no longer make Xaw-using apps link against -lXp.  This is currently
causing FTBFS in several packages; for example, from my build log for nas:

...
rm -f audemo
gcc -m32 -o audemo audemo.o -g -O2 -fno-strict-aliasing   
../../../lib/audio/libaudio.a -lXt -lSM -lICE -lXext -lX11 -lm 
../../../clients/audio/widgets/libwidgets.a -lXaw -lXmu -lXt -lSM -lICE -lXpm 
-lXp -lXext -lX11
/usr/bin/ld: cannot find -lXp
collect2: ld returned 1 exit status
make[4]: *** [audemo] Error 1
make[4]: Leaving directory `/tmp/buildd/nas-1.7/clients/audio/audemo'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/buildd/nas-1.7/clients/audio'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/buildd/nas-1.7/clients'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/nas-1.7'
make: *** [build] Error 2

(I see libxp is in incoming along with a couple associated packages.  But
dropping the unnecessary -lXp is still a good idea.)
-- 
Daniel Schepler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363267: xutils-dev: Should drop -lXp dependency of Xaw

2006-04-18 Thread Steve Langasek
tags 363267 patch
thanks

Attached is a proposed fix for this bug.  Any objections?

BTW, David, you seem to have not committed the last two xutils-dev patches
to the svn tree. :/

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/
Index: xorg-cf-files-1.0.1/X11.tmpl
===
--- xorg-cf-files-1.0.1/X11.tmpl(revision 1847)
+++ xorg-cf-files-1.0.1/X11.tmpl(working copy)
@@ -3920,11 +3920,7 @@
 #endif
 
 #ifndef ExtraXawReqs
-# if BuildXaw
-#  define ExtraXawReqs $(XPLIB)
-# else
-#  define ExtraXawReqs /**/
-# endif
+# define ExtraXawReqs /**/
 #endif
 
 EXTRAXAWREQS = ExtraXawReqs


signature.asc
Description: Digital signature


Processed: Re: Bug#363267: xutils-dev: Should drop -lXp dependency of Xaw

2006-04-18 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 363267 patch
Bug#363267: xutils-dev: Should drop -lXp dependency of Xaw
There were no tags set.
Tags added: patch

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363267: xutils-dev: Should drop -lXp dependency of Xaw

2006-04-18 Thread Daniel Stone
On Tue, Apr 18, 2006 at 02:24:22AM -0700, Steve Langasek wrote:
 Attached is a proposed fix for this bug.  Any objections?

Looks fine to me.


signature.asc
Description: Digital signature


Bug#363267: xutils-dev: Should drop -lXp dependency of Xaw

2006-04-18 Thread Steve Langasek
On Tue, Apr 18, 2006 at 01:21:51PM +0300, Daniel Stone wrote:
 On Tue, Apr 18, 2006 at 02:24:22AM -0700, Steve Langasek wrote:
  Attached is a proposed fix for this bug.  Any objections?
 
 Looks fine to me.

Eugene did actually raise an objection on IRC; here's a revised patch which
confines the changes to linux.cf.

It also adds ExtraXawClientDepLibs and ExtraXawClientLibs at his suggestion,
but ExtraXawReqs is still required (and the only option that has any effect
AFAICT) for my test case of xaw3d.

Anyway, I'll go ahead and commit this one.

Thanks,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/
Index: xutils-dev/xorg-cf-files-1.0.1/linux.cf
===
--- xutils-dev.orig/xorg-cf-files-1.0.1/linux.cf2006-04-18 
14:09:37.0 -0700
+++ xutils-dev/xorg-cf-files-1.0.1/linux.cf 2006-04-18 14:33:56.0 
-0700
@@ -1153,6 +1153,16 @@
 #define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
 #define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
 
+#ifndef ExtraXawClientLibs
+# define ExtraXawClientLibs /**/
+#endif
+#ifndef ExtraXawClientDepLibs
+# define ExtraXawClientDepLibs /**/
+#endif
+#ifndef ExtraXawReqs
+# define ExtraXawReqs /**/
+#endif
+
 #if HaveLib64
 # ifndef LibDirName
 #  define LibDirName   lib64


signature.asc
Description: Digital signature