>>>>> Ivan Shmakov <[EMAIL PROTECTED]> writes:
>>>>> Bernhard R Link <[EMAIL PROTECTED]> writes:

        [Re-sending, as this one apparently didn't reach the list.]

 >>> Now that Xaw3d has not seen a release in five years [1], and as Xaw
 >>> allows for even more slicky UI (and seems to be still maintained
 >>> upstream), couldn't the xaw3d package be removed and all the
 >>> packages depending on it switched to use Xaw instead?

 >> Do you have some documentation about porting programs from xaw3d to
 >> Xaw?  (ideally without too large changes in the UI).

 > No.  May be I'll find some time to port a package or two and then
 > post the bits of my experience.

[...]

 > $ apt-cache showpkg xaw3dg 
[...]
 >   xboard,xaw3dg 1.5+E-1
[...]
 > $ 

        For instance, I've used the following (rather trivial) patch to
        get XBoard built with libXaw7 (on Debian etch):

--- xboard-4.2.7-debian-7.1/debian/changelog    2008-06-26 23:08:31.000000000 
+0700
+++ xboard-4.2.7-debian-7.1.xaw+0.1/debian/changelog    2008-06-26 
22:53:33.000000000 +0700
@@ -1,3 +1,9 @@
+xboard (4.2.7-7.1.xaw+0.1) unstable; urgency=low
+
+  * Rebuilt with Xaw once again.
+
+ -- Ivan Shmakov <[EMAIL PROTECTED]>  Thu, 26 Jun 2008 22:53:33 +0700
+
 xboard (4.2.7-7.1) unstable; urgency=low
 
   * Non-maintainer upload.
--- xboard-4.2.7-debian-7.1/debian/control      2008-06-26 23:08:31.000000000 
+0700
+++ xboard-4.2.7-debian-7.1.xaw+0.1/debian/control      2008-06-26 
22:51:33.000000000 +0700
@@ -2,7 +2,7 @@
 Section: games
 Priority: optional
 Maintainer: Alexander L. Belikoff <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), xaw3dg-dev, flex, autotools-dev, dpatch, 
libxaw7-dev
+Build-Depends: debhelper (>= 5), flex, autotools-dev, dpatch, libxaw7-dev
 Standards-Version: 3.7.2
 
 Package: xboard
diff -drHu --exclude='*.o' --exclude='*~' xboard-4.2.7-debian-7.1/debian/rules 
xboard-4.2.7-debian-7.1.xaw+0.1/debian/rules
--- xboard-4.2.7-debian-7.1/debian/rules        2008-06-26 23:08:31.000000000 
+0700
+++ xboard-4.2.7-debian-7.1.xaw+0.1/debian/rules        2008-06-26 
22:56:09.000000000 +0700
@@ -29,7 +29,6 @@
                --infodir='$${prefix}/share/info' \
                --mandir='$${prefix}/share/man' \
                --x-includes=/usr/X11R6/include/X11 \
-               --with-Xaw3d \
                --x-libraries=/usr/X11R6/lib --enable-zippy)
        touch $@
 

        (Apparently, `configure' doesn't support `--without-xaw3d'
        properly.)

        I've tested it a bit and haven't seen anything wrong with this
        build.

        As for the 3D-look, I suggest the following files for
        /etc/X11/app-defaults.  One may wish to compare the ``Xaw
        classic'' and the ``colorized'' variant using, e. g.:

$ xboard -xrm '*customization: ' &

$ xboard -xrm '*customization: -color' &

!!! XBoard --- Application defaults for XBoard  -*- X-Resource-Generic -*-
!! No resources here.
!!! XBoard ends here

!!! XBoard-color --- XBoard with colors and 3D  -*- X-Resource-Generic -*-

!! Mostly duplicates app-defaults/Xmessage-color.

#include "XBoard"

*background:                    gray85
*foreground:                    gray15

*Scrollbar.thumb:               vlines2
*Scrollbar.width:               14
*Scrollbar.foreground:          rgb:a/5/5
*Scrollbar.borderWidth:         0
*Scrollbar.displayList:\
foreground      gray90;\
lines           1,-1,-1,-1,-1,1;\
foreground      gray60;\
lines           -1,0,0,0,0,-1

*Text.?.cursorColor:            rgb:d/5/5
*Text.borderColor:              gray80
*Text*background:               gray96
*Text*Scrollbar.background:     gray80
*Text.displayList:\
foreground      gray90;\
lines           1,-1,-1,-1,-1,1;\
foreground      gray60;\
lines           -1,0,0,0,0,-1

*Command.highlightThickness:    2
*Command.internalWidth:         5
*Command.internalHeight:        3
*Command.borderColor:           gray40
*Command.shapeStyle:            Rectangle
*Command.background:            gray80
*Command.displayList:\
foreground      gray60;\
lines           1,-1,-1,-1,-1,1;\
foreground      gray90;\
lines           -1,0,0,0,0,-1

*Form.displayList:\
foreground      gray60;\
lines           1,-1,-1,-1,-1,1;\
foreground      gray90;\
lines           -1,0,0,0,0,-1

!! The part below is based on app-defaults/Editres-color.

*MenuButton.displayList:
*MenuButton.borderWidth:        0
*MenuButton.borderColor:        gray80
*MenuButton.shapeStyle:         rectangle
*MenuButton.leftBitmap:         None
*MenuButton.translations:       \
<Enter>:        set-values(1, displayList, "foreground gray60;lines 
1,-1,-1,-1,-1,1;foreground gray90;lines -1,0,0,0,0,-1")\n\
<Leave>:        set-values(1, displayList, "")\n\
Any<BtnDown>:   PopupMenu()

!!! XBoard-color ends here

[...]


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

Reply via email to