Bug#121459: Got microwindows to build on ppc

2002-01-07 Thread Thomas Bushnell, BSG
Aaron Schrab <[EMAIL PROTECTED]> writes:

> I agree.  My previous patch was mostly intended to show what needed to
> be turned off for powerpc.  I'd somehow got it in my head that it was
> the maintianer that had asked for help on -powerpc, and so completely
> missed that the package was orphaned.  Because of that, I thought that
> the maintainer would be better suited to fixing it to only affect ppc.

Well, I was playing maintainer-for-the-bug, as it were. ;)  But your
revised patch is superb; thanks for all the work!




Bug#121459: Got microwindows to build on ppc

2002-01-07 Thread Aaron Schrab
At 16:29 -0800 06 Jan 2002, "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote:
> This makes me nervous; aren't you turning off a useful feature here
> for all systems?  I'd feel better if you only turned it off on the one
> system that can't support it (powerpc)...

I agree.  My previous patch was mostly intended to show what needed to
be turned off for powerpc.  I'd somehow got it in my head that it was
the maintianer that had asked for help on -powerpc, and so completely
missed that the package was orphaned.  Because of that, I thought that
the maintainer would be better suited to fixing it to only affect ppc.

Here's an alternate patch for debian/config.fb.  I've used it to do
builds on powerpc and i386.  With this version vgaplan4.o isn't built on
powerpc, but is on i386 (and should be on other architectures).

--- debian/config.fb.dist   Mon Jan  7 00:41:12 2002
+++ debian/config.fbMon Jan  7 00:42:37 2002
@@ -39,6 +39,8 @@
 POWERPCTOOLSPREFIX   = powerpc-linux-
 RTEMSTOOLSPREFIX = i386-rtemself-
 
+DEBARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
 
 #
 # Compiling options
@@ -204,7 +206,11 @@
 # framebuffer screen driver (linear and/or vga 4 planes)
 # set VTSWITCH to include virtual terminal switch code
 FRAMEBUFFER  = Y
+ifeq ($(DEBARCH), powerpc)
+FBVGA= N
+else
 FBVGA= Y
+endif
 VTSWITCH = Y
 PORTRAIT_MODE= N
 

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 The only difference between a car salesman and a computer salesman is
 that the car salesman knows he's lying.



Bug#128111: awe-drv: wish a init.d script

2002-01-07 Thread Pedro Zorzenon Neto
Package: awe-drv
Version: 0.4.3.1-1.2
Severity: wishlist
Tags: patch

  Hi,

  I'd like a init.d script to load my prefered soundbank at boot.
  Please include the following script to awe-drv.
  Also put "aumix" package in "Suggests" section.

 Thanks,
 Pedro

--- begin of /etc/init.d/awe-drv ---
#! /bin/sh
#
# awe-drv   loads awe32 soundbank.
#
#   Written by Pedro Zorzenon Neto <[EMAIL PROTECTED]>
#
# Version:  @(#)awe-drv   0.1  07-Jan-2002  [EMAIL PROTECTED]

# please edit next two lines
SBK="/full/path/to/your/favorite/soundbank.sbk"
SBKNAME="somename"

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

test -x /usr/bin/sfxload || exit 0

if [ ! -e "$SBK" ]; then
  echo "*** Please edit /etc/init.d/awe-drv to load a soundbank at boot ***"
  exit 1
fi

if [ -x /usr/bin/aumix ]; then
  if [ -x /bin/tempfile ]; then
AUMIX="1"
  fi
fi

case "$1" in
start|restart|force-reload)
  echo -n "Loading AWE32 soundbank: "

  #save audio settings and mute before changing sbk
  if [ "$AUMIX" ]; then
 tmp=`tempfile` || exit 1
 aumix -q -v0 > $tmp || exit 1
  fi

  #loads soundbank
  echo -n $SBKNAME
  sfxload $SBK || exit 1
  
  #restore audio settings
  if [ "$AUMIX" ]; then
aumix -L -f $tmp >/dev/null 2>&1
rm -f $tmp
  fi
  
  echo "."
  ;;
stop)
  ;;
*)
  echo "Usage: /etc/init.d/awe-drv {start|stop|restart|force-reload}"
  exit 1
esac

exit 0
--- end of /etc/init.d/awe-drv ---

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux mantis 2.2.19 #1 Sat Oct 20 18:09:49 EST 2001 i686
Locale: LANG=C, LC_CTYPE=pt_BR

Versions of packages awe-drv depends on:
ii  libawe0.40.4.3.1-1.2 AWE32 shared library
ii  libc62.2.4-7 GNU C Library: Shared libraries an
ii  patch2.5.4-6 Apply a diff file to an original



Bug#121459: microwindows build status

2002-01-07 Thread Michael Schmitz
> > It was easily reproduced - there's no libmwdrivers.a for powerpc and the
> > microwindows build tries to use that before it's built.
>
> No, no, a thousand times no.  microwindows does try to build
> libmwdrivers.before it's used, and without someone giving me a log of

Not on powerpc it doesn't. I've kept the build tree around (17 MB), would
you like a tarball of that or just the log file?

> the actual failure (which will require dropping that silly redirection
> from debian/rules), you're just guessing.

I've quoted from the fail log in a followup to the BTS. And yes, I'm
guessing. That's all my limited resources permit at the moment.

Michael




Bug#128236: xcolorsel: no scrollbars

2002-01-07 Thread itz
Package: xcolorsel
Version: 1.1a-9
Severity: normal

Yeah, not much I can add :-)  No horizontal or vertical scrollbars in this
version of xcolorsel.

-- System Information
Debian Release: woody
Kernel Version: Linux kronstadt 2.4.16 #1 Tue Jan 1 09:26:25 PST 2002 i586 
unknown

Versions of the packages xcolorsel depends on:
ii  libc6  2.2.4-5GNU C Library: Shared libraries and Timezone
ii  libxaw74.1.0-6X Athena widget set library
ii  xlibs  4.1.0-5X Window System client libraries