Bug#598432: python-apt: upgrade fails

2010-09-28 Thread Cameron Hutchison
Stefan Fleischmann wrote:
 Change the 3rd line in the file '/usr/share/pyshared-data/python-apt' to
 python-version = 2.6, 3.1, 2.5

That doesn't work for me. I tried both changing 3 to 3.1 and changing
the regex in /usr/share/pycentral-data/pyversions.py to make the decimal
point and following number optional. In both cases, I now get these
error:

Setting up python-apt (0.7.98) ...
Compiling /usr/lib/python3/dist-packages/apt/debfile.py ...
SyntaxError: ('invalid syntax', 
('/usr/lib/python3/dist-packages/apt/debfile.py', 575, 28, '
print(msg, file=sys.stderr)\n'))

Compiling /usr/lib/python3/dist-packages/apt/progress/gtk2.py ...
SyntaxError: ('invalid syntax', 
('/usr/lib/python3/dist-packages/apt/progress/gtk2.py', 510, 47, '
print(Exception happened:, exc, file=sys.stderr)\n'))

Compiling /usr/lib/python3/dist-packages/apt/progress/old.py ...
SyntaxError: ('invalid syntax', 
('/usr/lib/python3/dist-packages/apt/progress/old.py', 158, 32, '
print(\\r%s % (s), end=\' \')\n'))

pycentral: pycentral pkginstall: error byte-compiling files (17)
pycentral pkginstall: error byte-compiling files (17)


It looks like it is trying to compile the python3 source with python2
(the print(...) syntax errors).

I tried installing python3, but that made no difference.

On my system, python-apt is the only user of pycentral that has python3
sources.

Is this a bug in python-central not working properly with python3?




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#598432: python-apt: upgrade fails

2010-09-28 Thread Cameron Hutchison
I wrote:
 Stefan Fleischmann wrote:
  Change the 3rd line in the file '/usr/share/pyshared-data/python-apt' to
  python-version = 2.6, 3.1, 2.5

 That doesn't work for me. [...]

If I read Stefan's message further:
 Then you're able to remove the package or replace it with version
 0.7.97.1 from testing.

That does work.

I just kept trying to install the new version. Installing the testing
version has temporarily solved the problem.

However, the issue with python-central still remains.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#576926: kernel-package: too verbose on clean target

2010-04-08 Thread Cameron Hutchison
Package: kernel-package
Version: 12.033
Severity: wishlist

It would be nice if make-kpkg were quieter when doing a clean. It lists
many lines about unlinking files in the debian directory that dont seem
relevant except in a debug context. Perhaps these messages could be
elided unless a debug flag is set?

The specific problem this causes me is when I am building a kernel on a
session over a slow expensive link, the output saturates the link.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33.2-orthanc-1-2-gda456a9 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii  binutils 2.20.1-5The GNU assembler, linker and bina
ii  build-essential  11.5Informational list of build-essent
ii  debianutils  3.2.2   Miscellaneous utilities specific t
ii  file 5.04-2  Determines file type using magic
ii  gettext  0.17-10 GNU Internationalization utilities
ii  make 3.81-8  An utility for Directing compilati
ii  module-init-tools3.12~pre2-2 tools for managing Linux kernel mo
ii  po-debconf   1.0.16  tool for managing templates file t
ii  util-linux   2.16.2-0Miscellaneous system utilities

Versions of packages kernel-package recommends:
ii  cpio  2.11-2 GNU cpio -- a program to manage ar

Versions of packages kernel-package suggests:
pn  btrfs-tools   none (no description available)
ii  bzip2 1.0.5-4high-quality block-sorting file co
pn  docbook-utils none (no description available)
ii  e2fsprogs 1.41.11-1  ext2/ext3/ext4 file system utiliti
ii  grub  0.97-60GRand Unified Bootloader (dummy pa
pn  jfsutils  none (no description available)
ii  libncurses5-dev [libncurs 5.7+20100313-2 developer's libraries and docs for
pn  linux-initramfs-tool  none (no description available)
pn  linux-source | kernel-sou none (no description available)
pn  mcelognone (no description available)
pn  oprofile  none (no description available)
pn  pcmciautils   none (no description available)
ii  ppp   2.4.4rel-10.1  Point-to-Point Protocol (PPP) - da
ii  procps1:3.2.8-8  /proc file system utilities
pn  quota none (no description available)
pn  reiserfsprogs none (no description available)
pn  squashfs-toolsnone (no description available)
ii  udev  151-3  /dev/ and hotplug management daemo
ii  xfsprogs  3.1.1  Utilities for managing the XFS fil
pn  xmlto none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#546760: mutt: Cannot invoke interactive viewer now

2009-09-20 Thread Cameron Hutchison
A further consequence of this text/* change seems to be that I cannot
invoke an interactive viewer on any text/* attachments. Either it is
handled internally, or flagged with auto_view, in which case, only
mailcap entries with copiousoutput are used.

How do I disable the internal viewer without using auto_view?




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#546760: mutt: Cannot invoke interactive viewer now

2009-09-20 Thread Cameron Hutchison
Antonio Radici wrote:
 On Sun, Sep 20, 2009 at 10:13:11PM +1000, Cameron Hutchison wrote:
  A further consequence of this text/* change seems to be that I cannot
  invoke an interactive viewer on any text/* attachments. Either it is
  handled internally, or flagged with auto_view, in which case, only
  mailcap entries with copiousoutput are used.
  
  How do I disable the internal viewer without using auto_view?
 
 To disable the internal viewer you need to use auto_view, as specified
 in the patch and the it will follow the mailcap actions; if you do want
 to use a different viewer I suppose that piping attachments to your
 preferred interactive viewer should work, what I would do is, from the
 message view: 
 a) v (to show all attachments),
 b) then I select the attachment with the arrow keys w/out pressing enter
 c) | less  (or | vim -), which will invoke less or vim
 
 Does this answer your question?

The question was more to demonstrate the problem.

In the previous version of mutt, I could
a) v (to show all attachments),
b) select the attachment with arrow keys
c) press enter

This would cause mutt to use the system mailcap to invoke an external
program to handle the attachment. The mailcap entry used would not have
been the one marked with copiousoutput.

I would use this to view html attachments with lynx interactively. Right
now, the only way to view an html attachment interactively would be to
do as you have said and run | lynx. This is a backwards step.

Even with the proposed fix to not handle text/html internally, what
happens to other text/* mime types that were previously handled with an
external viewer?

The purpose of mailcap is so that it can specify the program to use.
Having to run | program means there may as well not be any mailcap
functionality at all.

The problem with auto_view is that it favours the mailcap entry with
copiousoutput. This does not allow for using an external program
interactively.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#545276: f-spot: does not install

2009-09-06 Thread Cameron Hutchison
Package: f-spot
Version: 0.6.0.0-1
Severity: grave
Justification: renders package unusable


f-spot cannot be installed:

# apt-get install f-spot
[...]
The following packages have unmet dependencies:
  f-spot: Depends: libflickrnet2.1.5-cil but it is not installable

Perhaps it needs to use the newer libflickrnet2.2-cil

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30.5-orthanc-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages f-spot depends on:
pn  beaglenone (no description available)
ii  dbus  1.2.16-2   simple interprocess messaging syst
ii  libart-2.0-2  2.3.20-2   Library of functions for 2D graphi
ii  libatk1.0-0   1.26.0-1   The ATK accessibility toolkit
ii  libc6 2.9-26 GNU C Library: Shared libraries
ii  libcairo2 1.8.8-2The Cairo 2D vector graphics libra
ii  libexif12 0.6.17-1   library to parse EXIF files
pn  libflickrnet2.1.5-cil none (no description available)
pn  libgconf2.0-cil   none (no description available)
ii  libgl1-mesa-glx [libgl1]  7.5-3  A free implementation of the OpenG
pn  libglade2.0-cil   none (no description available)
ii  libglib2.0-0  2.20.5-1   The GLib library of C routines
pn  libglib2.0-cilnone (no description available)
pn  libgnome-vfs2.0-cil   none (no description available)
pn  libgnome2.0-cil   none (no description available)
ii  libgnomeui-0  2.24.1-1   The GNOME 2 libraries (User Interf
ii  libgnomevfs2-01:2.24.1-4 GNOME Virtual File System (runtime
ii  libgphoto2-2  2.4.6-1gphoto2 digital camera library
ii  libgphoto2-port0  2.4.6-1gphoto2 digital camera port librar
ii  libgtk2.0-0   2.16.6-1   The GTK+ graphical user interface 
pn  libgtk2.0-cil none (no description available)
pn  libgtkhtml2.0-cil none (no description available)
ii  libjpeg62 6b-15  The Independent JPEG Group's JPEG 
ii  liblcms1  1.18.dfsg-1Color management library
pn  libmono-addins-gui0.2-cil none (no description available)
pn  libmono-addins0.2-cil none (no description available)
ii  libmono-corlib2.0-cil 2.4.2.3+dfsg-1 Mono core library (for CLI 2.0)
pn  libmono-sharpzip2.84-cil  none (no description available)
pn  libmono-sqlite2.0-cil none (no description available)
pn  libmono-system-data2.0-ci none (no description available)
pn  libmono-system-web2.0-cil none (no description available)
ii  libmono-system2.0-cil 2.4.2.3+dfsg-1 Mono System libraries (for CLI 2.0
pn  libmono2.0-cilnone (no description available)
pn  libndesk-dbus-glib1.0-cil none (no description available)
ii  libndesk-dbus1.0-cil  0.6.0-2CLI implementation of D-Bus
ii  libx11-6  2:1.2.2-1  X11 client-side library
ii  libxcomposite11:0.4.0-4  X11 Composite extension library
ii  mono-runtime  2.4.2.3+dfsg-1 Mono runtime

Versions of packages f-spot recommends:
pn  dcraw none (no description available)
pn  sqlitenone (no description available)
ii  sqlite3   3.6.17-2   A command line interface for SQLit

f-spot suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#544244: drapes: Invalid Homepage URL in package description

2009-08-29 Thread Cameron Hutchison
Package: drapes
Version: 0.5.2-3.1
Severity: minor


The Homepage URL in the package description is listed as
http://drapes.mindtouchsoftware.come/

s/come/com/

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30.5-orthanc-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages drapes depends on:
ii  gconf22.26.2-3   GNOME configuration database syste
ii  libc6 2.9-25 GNU C Library: Shared libraries
pn  libgconf2.0-cil   none (no description available)
pn  libglade2.0-cil   none (no description available)
pn  libglib2.0-cilnone (no description available)
pn  libgnome-vfs2.0-cil   none (no description available)
pn  libgnome2.24-cil  none (no description available)
pn  libgnomepanel2.24-cil none (no description available)
ii  libgtk2.0-0   2.16.5-1   The GTK+ graphical user interface 
pn  libgtk2.0-cil none (no description available)
ii  libmono-corlib2.0-cil 2.4.2.3+dfsg-1 Mono core library (for CLI 2.0)
ii  libmono-posix2.0-cil  2.4.2.3+dfsg-1 Mono.Posix library (for CLI 2.0)
ii  libmono-system2.0-cil 2.4.2.3+dfsg-1 Mono System libraries (for CLI 2.0
ii  libx11-6  2:1.2.2-1  X11 client-side library
ii  mono-runtime  2.4.2.3+dfsg-1 Mono runtime

drapes recommends no packages.

Versions of packages drapes suggests:
pn  mono  none (no description available)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#537518: Example files placed in /etc not /usr/share/doc/runit/examples

2009-07-19 Thread Cameron Hutchison
Package: runit
Version: 2.0.0-1
Severity: minor

The files /etc/sv/getty-5/* appear to be examples of how to start a
service and provide a finish script. It does not seem useful to provide
a configuration that runs getty only on tty5 when standard Debian
systems run gettys on tty1-6.

According to the Debian Policy Manual section 12.6, example
configuration files belong in /usr/share/doc/runit/examples .

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-rc3-fritz-1-wl
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

runit depends on no packages.

Versions of packages runit recommends:
pn  fgettynone (no description available)

Versions of packages runit suggests:
pn  runit-run none (no description available)
pn  socklog-run   none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#531213: gscan2pdf: Hangs saving files with latest imagemagick

2009-05-30 Thread Cameron Hutchison
Package: gscan2pdf
Version: 0.9.29-1
Severity: grave
Justification: renders package unusable

gscan2pdf hangs when saving files. The progress bar just sits at Saving
page 1 of 1 and does not advance.

When I downgraded package perlmagick from 7:6.5.1.0-1.1 to
7:6.3.7.9.dfsg2-1+b1 (which also required installing libmagick10), the
save functionality returned and the problem was fixed.

I also tested with the git version of gscan2pdf (master at b86811) and
it also has the same problem. The line that hangs is:
  my $x = $image-Read($filename);
in create_PDF.

The version of perlmagick below in the dependencies is the version I
downgraded to in order to make gscan2pdf work again.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc6-orthanc-1-0-rc6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gscan2pdf depends on:
ii  imagemagick 7:6.5.1.0-1.1image manipulation programs
ii  libconfig-general-p 2.40-1   Generic Configuration Module
ii  libforks-perl   0.33-1   forks - emulate threads with fork
ii  libgtk2-ex-simple-l 0.50-1.1 A simple interface to Gtk2's compl
ii  libgtk2-imageview-p 0.05-1   Perl bindings for the GtkImageView
ii  liblocale-gettext-p 1.05-4   Using libc functions for internati
ii  libpdf-api2-perl0.73-1   module for creating or modifying P
ii  librsvg2-common 2.22.3-2 SAX-based renderer library for SVG
ii  libsane-perl0.03-1   Perl bindings for the SANE (Scanne
ii  libset-intspan-perl 1.13-2   Manages sets of integers
ii  libtiff-tools   3.8.2-11 TIFF manipulation and conversion t
ii  perl-modules [libar 5.10.0-22Core Perl modules
ii  perlmagick  7:6.3.7.9.dfsg2-1+b1 Perl interface to the libMagick gr
ii  sane-utils  1.0.20-4 API library for scanners -- utilit

Versions of packages gscan2pdf recommends:
pn  djvulibre-bin none (no description available)
pn  gocr  none (no description available)
pn  libgtk2-ex-podviewer-perl none (no description available)
ii  sane  1.0.14-7   scanner graphical frontends
pn  tesseract-ocr none (no description available)
pn  unpaper   none (no description available)
ii  xdg-utils 1.0.2-6.1  desktop integration utilities from

gscan2pdf suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#493084: sane-utils: saned does not set process group ID properly

2008-07-31 Thread Cameron Hutchison
Package: sane-utils
Version: 1.0.19-15
Severity: important

The Debian-specific patch to saned(8) that implements the -a command line
option does not work properly when setting the process group ID. There
are two problems with it:

1. It does a seteuid(2) before setegid(2), so the setegid(2) will fail
with EPERM. It should do the setegid(2) while it still has root
privileges.

2. It does not set the supplemental group IDs. By default, saned would
run as saned:saned, but needs group scanner permissions to open USB
devices. The patch should use getgrouplist(3) followed by setgroups(2)
to set the supplemental group list.

Finally, the result of system calls should be checked and appropriate
error paths taken. Had this been done, this bug would not have made it
past release.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25.11-orthanc-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sane-utils depends on:
ii  adduser  3.108   add and remove users and groups
ii  debconf [debconf-2.0]1.5.23  Debian configuration management sy
ii  libavahi-client3 0.6.23-2Avahi client library
ii  libavahi-common3 0.6.23-2Avahi common library
ii  libc62.7-13  GNU C Library: Shared libraries
ii  libieee1284-30.2.11-5cross-platform library for paralle
ii  libsane  1.0.19-15   API library for scanners
ii  libusb-0.1-4 2:0.1.12-12 userspace USB programming library
ii  update-inetd 4.30inetd configuration file updater

Versions of packages sane-utils recommends:
ii  avahi-daemon  0.6.23-2   Avahi mDNS/DNS-SD daemon

Versions of packages sane-utils suggests:
pn  unpaper   none (no description available)

-- debconf information:
  sane-utils/saned_run: true
  sane-utils/saned_scanner_group: true



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



Bug#471266: bash: lvm completion does not work properly

2008-03-16 Thread Cameron Hutchison
Package: bash
Version: 3.1dfsg-9
Severity: normal


Command line completion (in /etc/bash_completion) for the lvm2 suite of 
tools does not work very well and it would be better to remove it
altogether.

Examples of broken behaviour:
# lvextend --size tab

This only allows completion on the words in the list g  G  k  K  m  M
t  T. However a number must also be entered before the the units and
then the units cannot be completed. This is of such marginal utility
that is should be removed (IMHO).

# lvextend --size +40G tab

The completes on the physical volumes, not the logical volumes as it
should. This is because it counts +40G as the logical volume (the
first non-option argument) and assumes that a physical volume path is
now needed.

I think there are a number of other situations when the completion
fails. I always seem to have to type a path to the logical volume
without tab completion available. It would be better if it did not try
any specific completion at all.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.3-orthanc-2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash depends on:
ii  base-files4.0.3  Debian base system miscellaneous f
ii  debianutils   2.28.4 Miscellaneous utilities specific t
ii  libc6 2.7-9  GNU C Library: Shared libraries
ii  libncurses5   5.6+20080203-1 Shared libraries for terminal hand

Versions of packages bash recommends:
pn  bash-completion   none (no description available)

-- no debconf information



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



Bug#350664: xterm: Escape sequence does not always change cursor colour

2006-01-30 Thread Cameron Hutchison
Package: xterm
Version: 208-3.1
Severity: minor

The escape sequence for changing the cursor colour does not work when
you are trying to change the cursor colour to the same colour as the
foreground text.

eg.
$ xterm -fg green -bg black
xterm$ echo -ne \E]12;red\007
xterm$ echo -ne \E]12;green\007
xterm$ echo -ne \E]12;blue\007
xterm$ echo -ne \E]12;green\007

The lines that should set the cursor to green do nothing.

The problem appears to be in charproc.c in set_cursor_gcs() where it
checks to see if the cursor colour is different from the foreground and
background colour. If so, it operates as though the cursor colour has
changed. Yet in this above case, the cursor colour has changed _to_ the
foreground colour.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4-imladris-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xterm depends on:
ii  libc6 2.3.5-12   GNU C Library: Shared libraries an
ii  libfontconfig12.3.2-1.1  generic font configuration library
ii  libfreetype6  2.1.10-1   FreeType 2 font engine, shared lib
ii  libice6   6.9.0.dfsg.1-4 Inter-Client Exchange library
ii  libncurses5   5.5-1  Shared libraries for terminal hand
ii  libsm66.9.0.dfsg.1-4 X Window System Session Management
ii  libx11-6  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxaw8   6.9.0.dfsg.1-4 X Athena widget set library
ii  libxext6  6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii  libxft2   2.1.8.2-2  FreeType-based font drawing librar
ii  libxmu6   6.9.0.dfsg.1-4 X Window System miscellaneous util
ii  libxrender1   1:0.9.0.2-1X Rendering Extension client libra
ii  libxt66.9.0.dfsg.1-4 X Toolkit Intrinsics
ii  xlibs-data6.9.0.dfsg.1-4 X Window System client data
ii  zlib1g1:1.2.3-9  compression library - runtime

Versions of packages xterm recommends:
ii  xutils6.9.0.dfsg.1-4 X Window System utility programs

-- no debconf information


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



Bug#334317: xterm: interpret action (in translations resource) does nothing

2005-10-16 Thread Cameron Hutchison
Package: xterm
Version: 6.8.2.dfsg.1-8
Severity: normal
Tags: patch

The interpret action available to the translations resource does not
do anything. It is meant to insert text into the input buffer as though
the user typed that text.

This used to work and broke a few months back. At that point, it looks
like the pty buffer handling changed (buffer size specified as a
resource) but the HandleInterpret function was not updated to work with
the dynamic buffering.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2-ch1-imladris-2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xterm depends on:
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libexpat1 1.95.8-3   XML parsing C library - runtime li
ii  libfontconfig12.3.2-1generic font configuration library
ii  libfreetype6  2.1.10-1   FreeType 2 font engine, shared lib
ii  libice6   6.8.2.dfsg.1-8 Inter-Client Exchange library
ii  libncurses5   5.4-9  Shared libraries for terminal hand
ii  libsm66.8.2.dfsg.1-8 X Window System Session Management
ii  libxaw8   6.8.2.dfsg.1-8 X Athena widget set library
ii  libxext6  6.8.2.dfsg.1-8 X Window System miscellaneous exte
ii  libxft2   2.1.7-1FreeType-based font drawing librar
ii  libxmu6   6.8.2.dfsg.1-8 X Window System miscellaneous util
ii  libxp66.8.2.dfsg.1-8 X Window System printing extension
ii  libxpm4   6.8.2.dfsg.1-8 X pixmap library
ii  libxrender1   1:0.9.0-2  X Rendering Extension client libra
ii  libxt66.8.2.dfsg.1-8 X Toolkit Intrinsics
ii  xlibs 6.8.2.dfsg.1-8 X Window System client libraries m
ii  xlibs-data6.8.2.dfsg.1-8 X Window System client data

Versions of packages xterm recommends:
ii  xutils6.8.2.dfsg.1-8 X Window System utility programs

-- no debconf information
diff -r -u xterm-203/misc.c xterm-203-ch/misc.c
--- xterm-203/misc.c	2005-07-07 10:46:14.0 +1000
+++ xterm-203-ch/misc.c	2005-10-17 13:24:41.528383576 +1000
@@ -325,12 +325,11 @@
 if (*param_count == 1) {
 	char *value = params[0];
 	int need = strlen(value);
-	int used = VTbuffer-next - VTbuffer-buffer;
-	int have = VTbuffer-last - VTbuffer-buffer;
+	int have = BUF_SIZE - (VTbuffer-last - VTbuffer-next);
 
-	if (have - used + need  (int) sizeof(VTbuffer-buffer)) {
+	if (need = have) {
 
-	fillPtyData(term-screen, VTbuffer, value, (int) strlen(value));
+	fillPtyData(term-screen, VTbuffer, value, need);
 
 	TRACE((Interpret %s\n, value));
 	VTbuffer-update++;


Bug#290443: apt-src: does not recognise installation succeeded when unpacking to APT::Src::Location

2005-01-13 Thread Cameron Hutchison
Package: apt-src
Version: 0.25.1
Severity: normal

I have apt-src configured to install source in /usr/src/debian by
setting the APT::Src::Location configuration parameter in
/etc/apt/apt.conf.

After unpacking the source, apt-src errors out with this error:
E: Did not unpack to $PWD/udev-0.050
where $PWD is your current directory. The error message is technically
correct because the source was not unpacked there, but it was not meant
to.

This results in no entry being written to $HOME/.apt-src/status, so
further apt-src commands report the source package is not installed.

I must ensure my current directory is /usr/src/debian when I install a
source package to be able to build it - defeating the purpose of
APT::Src::Location.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-ch1-imladris-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt-src depends on:
ii  apt   0.5.27.2   Advanced front-end for dpkg
ii  dpkg-dev  1.10.25Package building tools for Debian
ii  libapt-pkg-perl   0.1.13 Perl interface to libapt-pkg
ii  perl  5.8.4-5Larry Wall's Practical Extraction 

-- no debconf information


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



Bug#289969: gnome-session: gnome-wm does not work with fvwm/fvwm2

2005-01-11 Thread Cameron Hutchison
Package: gnome-session
Version: 2.8.1-5
Severity: minor
Tags: patch

If you set your gnome window manager to fvwm2, the session login hangs
waiting for fvwm to respond to the session manager. This is because it
is not being passed the correct arguments to identify the client ID.

Attached is a patch to gnome-wm that makes it work with fvwm.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-ch1-imladris-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gnome-session depends on:
ii  capplets 1:2.8.1-3   configuration applets for GNOME 2 
ii  desktop-base 0.3.15  common files for the Debian Deskto
ii  gconf2   2.8.1-4 GNOME configuration database syste
ii  libart-2.0-2 2.3.16-6Library of functions for 2D graphi
ii  libatk1.0-0  1.8.0-4 The ATK accessibility toolkit
ii  libaudiofile00.2.6-5 Open-source version of SGI's audio
ii  libbonobo2-0 2.8.0-4 Bonobo CORBA interfaces library
ii  libbonoboui2-0   2.8.0-2 The Bonobo UI library
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libesd0  0.2.35-2Enlightened Sound Daemon - Shared 
ii  libgconf2-4  2.8.1-4 GNOME configuration database syste
ii  libgcrypt11  1.2.0-11LGPL Crypto library - runtime libr
ii  libglib2.0-0 2.4.8-1 The GLib library of C routines
ii  libgnome-keyring00.4.0-2 GNOME keyring services library
ii  libgnome2-0  2.8.0-6 The GNOME 2 library - runtime file
ii  libgnomecanvas2-02.8.0-1 A powerful object-oriented display
ii  libgnomeui-0 2.8.0-3 The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0   2.8.3-8 The GNOME virtual file-system libr
ii  libgnutls11  1.0.16-13   GNU TLS library - runtime library
ii  libgpg-error01.0-1   library for common error values an
ii  libgtk2.0-0  2.4.14-2The GTK+ graphical user interface 
ii  libhowl0 0.9.8-2 Library for Zeroconf service disco
ii  libice6  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg626b-9The Independent JPEG Group's JPEG 
ii  liborbit21:2.10.2-1.1libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-01.6.0-3 Layout and rendering of internatio
ii  libpopt0 1.7-5   lib for parsing cmdline parameters
ii  libsm6   4.3.0.dfsg.1-10 X Window System Session Management
ii  libtasn1-2   0.2.10-4Manage ASN.1 structures (runtime)
ii  libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxml2  2.6.11-5GNOME XML library
ii  libxmu6  4.3.0.dfsg.1-10 X Window System miscellaneous util
ii  libxrandr2   4.3.0.dfsg.1-10 X Window System Resize, Rotate and
ii  libxrender1  0.8.3-7 X Rendering Extension client libra
ii  libxt6   4.3.0.dfsg.1-10 X Toolkit Intrinsics
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-4   compression library - runtime

-- no debconf information
--- gnome-wm2005-01-08 05:07:06.0 +1100
+++ /tmp/gnome-wm   2005-01-12 16:16:36.0 +1100
@@ -89,6 +89,11 @@
   OPT2=$SMID
   CURRENT=Enlightenment
   ;;
+fvwm|fvwm2)
+  OPT1=--clientid
+  OPT2=$SMID
+  CURRENT=fvwm
+  ;;
   esac
 fi