Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16224 - xfig-3.2.4 does not use Xaw3d but Xaw
Summary: xfig-3.2.4 does not use Xaw3d but Xaw
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-23 08:31 UTC by Sander Graswinckel
Modified: 2003-07-14 01:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
3.2.4-r1-build that obeys Xaw3d use flag. (xfig-3.2.4-r1.ebuild,1.08 KB, text/plain)
2003-07-13 07:03 UTC, Thomas R. (TRauMa)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Graswinckel 2003-02-23 08:31:43 UTC
xfig-3.2.4 does not use Xaw3D. It uses the normal Xaw, which doesn't look as good.
Besides, the ebuild has Xaw3D as a dependency although it's not actually used.
It's not very important, but still...

"xaw3d" could also be made into a USE option, but I'm not sure that's a good idea.

The folowing patch enables Xaw3D:

--- xfig.3.2.4.orig/Imakefile   2003-02-23 14:04:25.000000000 +0100
+++ xfig.3.2.4/Imakefile        2003-02-23 14:12:31.000000000 +0100
@@ -105,10 +105,10 @@
 XCOMM Then be sure to change the XAW3DINC to point to the directory where your
 XCOMM 3D Athena widget headers are located
 
-XCOMM #define XAW3D
+#define XAW3D
 
 #ifdef XAW3D
-XAW3DINC = -I/usr/include/X11/Xaw3d
+XAW3DINC = -I/usr/X11R6/include/X11/Xaw3d
 DUSEXAW3D = -DXAW3D
 XAWLIB = -lXaw3d
 #endif

Reproducible: Always
Steps to Reproduce:
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-10 06:34:55 UTC
thanks Sander, sorry to have taken so long.
Comment 2 Thomas R. (TRauMa) 2003-07-13 07:03:59 UTC
Created attachment 14432 [details]
3.2.4-r1-build that obeys Xaw3d use flag.

Beauty is in the eye of the beholder. I'm for example one of those that dislike
Xaw3d and therefore disabled the use flag. I'm not happy when it gets ignored.
Comment 3 Thomas R. (TRauMa) 2003-07-13 16:17:20 UTC
Comment on attachment 14432 [details]
3.2.4-r1-build that obeys Xaw3d use flag.

Breaks compile :-(
No idea why.
Comment 4 Sander Graswinckel 2003-07-14 01:07:01 UTC
AFAIK xfig does not work properly with Xaw. IIRC you get problems with scrolling in list boxes (no scroll bar showing when there should be one).