Bug#918328: aptitude: symbol lookup error: aptitude: undefined symbol: _ZN6Xapian4MSetC1EOS0_

2019-01-04 Thread Ted Percival
Package: aptitude
Version: 0.8.11-3
Severity: important

Starting aptitude fails due to a missing Xapian symbol:

$ aptitude
aptitude: symbol lookup error: aptitude: undefined symbol:
_ZN6Xapian4MSetC1EOS0_

This is probably a bug in the syms in the applicable xapian library package
causing aptitude to get a library dependency that is too weak.

In particular, my system has a recent version of aptitude with an older version
of libxapian30, so there was probably a new symbol introduced in libxapian30
without adjusting the shared library dependency information.

$ apt-cache policy aptitude
aptitude:
  Installed: 0.8.11-3
  Candidate: 0.8.11-6
  Version table:
 0.8.11-6 500
500 http://mirrors.xmission.com/debian testing/main amd64 Packages
500 http://mirrors.xmission.com/debian unstable/main amd64 Packages
 *** 0.8.11-3 100
100 /var/lib/dpkg/status
 0.8.7-1 990
990 http://mirrors.xmission.com/debian stable/main amd64 Packages

$ apt-cache policy libxapian30
libxapian30:
  Installed: 1.4.3-2+deb9u2
  Candidate: 1.4.3-2+deb9u2
  Version table:
 1.4.9-1 500
500 http://mirrors.xmission.com/debian testing/main amd64 Packages
500 http://mirrors.xmission.com/debian unstable/main amd64 Packages
 *** 1.4.3-2+deb9u2 990
990 http://mirrors.xmission.com/debian stable/main amd64 Packages
100 /var/lib/dpkg/status


-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:

aptitude linkage:
linux-vdso.so.1 (0x7ffdbd4e5000)
libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 
(0x7f7386abf000)
libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 
(0x7f7386a85000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 
(0x7f7386a57000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 
(0x7f738685)
libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 
(0x7f738674a000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 
(0x7f7386629000)
libboost_iostreams.so.1.62.0 => 
/usr/local/lib/libboost_iostreams.so.1.62.0 (0x7f738660a000)
libboost_system.so.1.62.0 => 
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.62.0 (0x7f7386605000)
libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 
(0x7f73861f1000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f73861d)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7f738604d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f7385eca000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7f7385eae000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f7385ced000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 
(0x7f7385cd3000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x7f7385ab5000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 
(0x7f7385aa2000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x7f738587c000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 
(0x7f7385668000)
libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 
(0x7f73855cd000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x7f73855ac000)
/lib64/ld-linux-x86-64.so.2 (0x7f7387101000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f73855a7000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f738559d000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x7f7385396000)

-- System Information:
Debian Release: 9.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii  aptitude-common   0.8.11-3
ii  libapt-pkg5.0 1.8.0~alpha2
ii  libboost-iostreams1.62.0  1.62.0+dfsg-10
ii  libboost-system1.62.0 1.62.0+dfsg-10
ii  libc6 2.28-4
ii  libcwidget3v5 0.5.17-11
ii  libgcc1   1:8.2.0-13
ii  libncursesw6  6.1+20181013-1
ii  libsigc++-2.0-0v5 2.10.0-1
ii  libsqlite3-0  3.25.3-2
ii  libstdc++68.2.0-13
ii  libtinfo6 6.1+20181013-1
ii  libxapian30   1.4.3-2+deb9u2

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-12
ii  sensible-utils 0.0.9+deb9u1

Versions of packages aptitude suggests:
ii  apt-xapian-index0.49
pn

Bug#915603: (no subject)

2018-12-05 Thread Ted Percival
Bug 871306[2] says graphicsmagick needs to Build-Depend on g++ (>= 4:7) to get
the new & old ABIs, but I don't see a versioned Build-Depends on g++ since the
bug was closed in version 1.3.26-5.

> For new
> executables to build without undefined references, your library will
> need rebuilding with GCC 7.

So the solution might just be to add the versioned Build-Depends: g++ (>= 4:7)
and rebuild to get the old symbols back into the library, rather than bumping
the soname.

[1] https://wiki.debian.org/GCC7#GCC_7_name_mangling_bug_fix
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871306



Bug#915606: libgraphicsmagick++-q16-12: Requires soname/shlibs bump for C++11 ABI changes

2018-12-05 Thread Ted Percival
Package: libgraphicsmagick++-q16-12
Version: 1.3.31-1
Severity: important

Important due to RC Policy "Shared library packages must include correct shlibs
files".

There was an ABI change between libgraphicsmagick++-q16-12 versions
1.3.30+hg15796-1~deb9u2 and 1.3.31-1 but the shlibs file was not changed. As a
result, some dependent packages like python3-pgmagick don't get a strict-enough
dependency from dpkg-shlibdeps and can end up in a broken state when built with
the newer library but installed with the older.

Steps to reproduce:

1. Ensure you have the stable repo in your apt sources.
2. Install the older library:

apt install libgraphicsmagick++-q16-12=1.3.30+hg15796-1~deb9u2

3. Install python3-pgmagick from testing/unstable:

apt install python3-pgmagick=0.7.4-1+b2

4. Try to load the library (which has an unconstrained dependency on
   libgraphicsmagick++-q16-12):

echo 'import pgmagick' | python3

Observation: failure to load libGraphicsMagick++-Q16.so due to missing symbol:

Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/pgmagick/__init__.py", line
1, in 
from pgmagick import _pgmagick
ImportError:
/usr/lib/python3/dist-packages/pgmagick/_pgmagick.cpython-36m-x86_64-linux-gnu.so:
undefined symbol:
_ZNK6Magick5ColorcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcv

This is because the python3-pgmagick library was built with the newer GM++
library, which declares the same soname/shlibs as the older library, but the
exported symbols differ because of the libstdc++ C++11 ABI change
.

You can compare the exported symbols from each version of
libgraphicsmagick++-q16-12:

readelf -s -W /usr/lib/libGraphicsMagick++-Q16.so.12 | awk '{
print $8 }' | sort -u

Diffing the symbol lists, you can see some changes related to the C++11 ABI
change:


-_ZNK6Magick5ColorcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
+_ZNK6Magick5ColorcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcv

There are also some other changes not necessarily related to the libstdc++ ABI
change.

So I think the soname should have been incremented in version 1.3.31-1 to
prevent packages getting dependencies that are too weak and allow broken
installations. Incrementing it now and rebuilding all dependent packages would
fix them.

-- System Information:
Debian Release: 9.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500,
'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgraphicsmagick++-q16-12 depends on:
ii  libc62.27-8
ii  libgcc1  1:8.2.0-10
ii  libgomp1 8.2.0-10
ii  libgraphicsmagick-q16-3  1.3.30+hg15796-1~deb9u2
ii  libstdc++6   8.2.0-10

libgraphicsmagick++-q16-12 recommends no packages.

Versions of packages libgraphicsmagick++-q16-12 suggests:
pn  graphicsmagick-dbg  



Bug#915603: libgraphicsmagick++-q16-12: Requires soname/shlibs bump for libstdc++11 transition

2018-12-05 Thread Ted Percival
Package: libgraphicsmagick++-q16-12
Version: 1.3.31-1
Severity: important

Important due to RC Policy "Shared library packages must include correct shlibs
files".

There was an ABI change between libgraphicsmagick++-q16-12 versions
1.3.30+hg15796-1~deb9u2 and 1.3.31-1 but the shlibs file was not changed. As a
result, some dependent packages like python3-pgmagick don't get strict-enough
dependency from dpkg-shlibdeps and can end up in a broken state when built with
the newer library but installed with the older.

Steps to reproduce:

1. Ensure you have the stable repo in your apt sources.
2. Install the older library:

apt install libgraphicsmagick++-q16-12=1.3.30+hg15796-1~deb9u2

3. Install python3-pgmagick from testing/unstable:

apt install python3-pgmagick=0.7.4-1+b2

4. Try to load the library (which has an unconstrained dependency on
   libgraphicsmagick++-q16-12):

echo 'import pgmagick' | python3

Observation: failure to load libGraphicsMagick++-Q16.so due to missing symbol:

Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/pgmagick/__init__.py", line 1, in 

from pgmagick import _pgmagick
ImportError: 
/usr/lib/python3/dist-packages/pgmagick/_pgmagick.cpython-36m-x86_64-linux-gnu.so:
 undefined symbol: 
_ZNK6Magick5ColorcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcv

This is because the python3-pgmagick library was built with the newer GM++
library, which declares the same soname/shlibs as the older library, but the
exported symbols differ because of the libstdc++ C++11 ABI change
.

You can compare the exported symbols from each version of
libgraphicsmagick++-q16-12:

readelf -s -W /usr/lib/libGraphicsMagick++-Q16.so.12 | awk '{ print $8 }' | 
sort -u

Diffing the symbol lists, you can see some changes related to the C++11 ABI
change:


-_ZNK6Magick5ColorcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
+_ZNK6Magick5ColorcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcv

There are also some other changes not necessarily related to the libstdc++ ABI
change.

So I think the soname should have been incremented in version 1.3.31-1 to
prevent packages getting dependencies that are too weak and allow broken
installations. Incrementing it now and rebuilding all dependent packages would
fix them.

-- System Information:
Debian Release: 9.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgraphicsmagick++-q16-12 depends on:
ii  libc62.27-8
ii  libgcc1  1:8.2.0-10
ii  libgomp1 8.2.0-10
ii  libgraphicsmagick-q16-3  1.3.30+hg15796-1~deb9u2
ii  libstdc++6   8.2.0-10

libgraphicsmagick++-q16-12 recommends no packages.

Versions of packages libgraphicsmagick++-q16-12 suggests:
pn  graphicsmagick-dbg  

-- no debconf information



Bug#907496: libcurlpp0: Always fails with "No URL set!"

2018-08-28 Thread Ted Percival
Package: libcurlpp0
Version: 0.8.1-2+b1
Severity: grave
Justification: renders package unusable

libcurlpp0 appears to always fail with a "No URL set!" error message.
I only tested the "Easy" API.

For example even the first example in its repo

doesn't work:

$ g++ -Wall example00.cpp `curlpp-config --cflags --libs` `curl-config --cflags 
--libs`
$ ./a.out 
No URL set!

I recompiled libcurlpp using both 7 & 8[1] and when linking the example program 
to
the new build it works fine (both static & dynamic libs). So I'm not sure where
the problem lies but even after reinstalling the Debian package I could only get
it to work with my local libcurlpp.

[1] GCC package versions:
g++-7: 7.3.0-28
g++-8: 4:8.2.0-1

-- System Information:
Debian Release: 9.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libcurlpp0 depends on:
ii  libc6   2.27-5
ii  libcurl47.61.0-1
ii  libgcc1 1:8.2.0-4
ii  libstdc++6  8.2.0-4

libcurlpp0 recommends no packages.

libcurlpp0 suggests no packages.

-- no debconf information



Bug#367320: Patch available

2014-01-07 Thread Ted Percival
On Sat, Dec 28, 2013 at 6:31 PM, Geoffrey Thomas  wrote:
> On Sat, 2 Sep 2006, Ted Percival wrote:
>
>> I have written a patch that adds timestamps to the output of prelink
>> through a "-T" command-line option. The patch is attached as
>> prelink-timestamp.patch and has been sent upstream.
>
> I notice this patch isn't present in current prelink SVN. Did you get a 
> response from upstream about including it, or shall I resubmit it to them?

I don't remember getting a response from upstream, feel free to submit
to them (or remove it if you like - it doesn't concern me anymore).


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



Bug#706593: Fwd: [Pkg-utopia-maintainers] Bug#706593: network-manager: Don't know how to create 'NMSettingVPN' connections

2013-05-02 Thread Ted Percival
On Thu, May 2, 2013 at 8:04 AM, Michael Biebl  wrote:
> It seems you don't have any of the VPN plugins installed.
> If you want to create new connections from within the GUI you will need
> them. Please install them and report back.

After installing network-manager-pptp-gnome the UI works fine.

Maybe if it gives a hint like "Check that an appropriate VPN package
is installed" I can figure it out myself next time :-)

Thanks!


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



Bug#706593: Dependencies are not the problem

2013-05-01 Thread Ted Percival
I tried upgrading libnm-glib-vpn1 to version 0.9.8.0-2 to match but
that did not solve the problem.


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



Bug#706593: network-manager: Don't know how to create 'NMSettingVPN' connections

2013-05-01 Thread Ted Percival
Package: network-manager
Version: 0.9.8.0-1
Severity: normal

I installed network-manager from experimental. When I try to create a
VPN from the GNOME GUI I get an error saying
"Error creating connection"
"Don't know how to create 'NMSettingVPN' connections"

I guess the dependencies below show that the libnm-glib-vpn1
dependency is not strict enough and allowed me to get mismatched
components (0.9.4 & 0.9.8).


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500,
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager-gnome depends on:
ii  dbus-x11 1.6.8-1
ii  dconf-gsettings-backend [gsettings-backend]  0.12.1-3
ii  dpkg 1.16.10
ii  gconf-service3.2.5-1+build1
ii  gnome-icon-theme 3.4.0-2
ii  libatk1.0-0  2.4.0-2
ii  libc62.13-38
ii  libcairo-gobject21.12.2-3
ii  libcairo21.12.2-3
ii  libdbus-1-3  1.6.8-1
ii  libdbus-glib-1-2 0.100.2-1
ii  libgconf-2-4 3.2.5-1+build1
ii  libgdk-pixbuf2.0-0   2.26.1-1
ii  libglib2.0-0 2.33.12+really2.32.4-5
ii  libgnome-bluetooth10 3.4.2-1
ii  libgnome-keyring03.4.1-1
ii  libgtk-3-0   3.4.2-6
ii  libnm-glib-vpn1  0.9.4.0-10
ii  libnm-glib4  0.9.8.0-2
ii  libnm-gtk0   0.9.8.0-1
ii  libnm-util2  0.9.8.0-2
ii  libnotify4   0.7.5-1
ii  libpango1.0-01.30.0-1
ii  network-manager  0.9.8.0-2
ii  policykit-1-gnome0.105-2

Versions of packages network-manager-gnome recommends:
ii  gnome-bluetooth 3.4.2-1
ii  gnome-keyring   3.4.1-5
ii  iso-codes   3.41-1
ii  mobile-broadband-provider-info  20130312-1
ii  notification-daemon 0.7.6-1

Versions of packages network-manager-gnome suggests:
pn  network-manager-openconnect-gnome  
pn  network-manager-openvpn-gnome  
pn  network-manager-pptp-gnome 
pn  network-manager-vpnc-gnome 

-- 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#663752: Fixed in glibc

2012-03-31 Thread Ted Percival
tags fixed-upstream upstream
thanks

This bug is fixed in glibc. Here are the patches:

Patch 1: 
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=c0244a9dedce43a4b950d91451b16a7cf5408476;hp=c5e3c2ae59cc8c5d3ad5e1adfd099c726baad862
Patch 2: 
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=e12df166d37522c2ed434c2d70a1b04640d2d7c6;hp=84e2a551a72c79b020694bb327e33b6d71b09b63

Thread leading to these changes:
http://cygwin.com/ml/libc-hacker/2011-06/msg2.html



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



Bug#663752: Literals map correctly, names do not

2012-03-13 Thread Ted Percival
Further investigation indicates that IPv4 literals (eg. 127.0.0.1) are
mapped correctly when resolved, but names (eg. localhost) are not.



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



Bug#663752: libc6: getaddrinfo AI_V4MAPPED & AF_INET6 returns AF_INET addresses

2012-03-13 Thread Ted Percival
Package: libc6
Version: 2.13-27
Severity: normal
Tags: ipv6

getaddrinfo() does not correctly implement the AI_V4MAPPED flag.
When requesting AF_INET6 addresses using the AI_V4MAPPED | AI_ALL
flags in the request, IPv4 addresses are returned as AF_INET, ie.
as standard IPv4 addresses, not IPv6-mapped IPv4 addresses.

A test program is attached that resolves the given hostname and prints
the addresses returned.

To compile:
  gcc gai2.c
To run:
  ./a.out he.net

Observed output:
  AF_INET: [216.218.186.2]:80
  AF_INET6: [2001:470:0:76::2]:80

Expected output (observed on RHEL 5.2, glibc 2.5-24):
  AF_INET6: [:::216.218.186.2]:80
  AF_INET6: [2001:470:0:76::2]:80


-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set 
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libc-bin  2.13-27Embedded GNU C Library: Binaries
ii  libgcc1   1:4.6.3-1  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0] 1.5.36.1   Debian configuration management sy
ii  glibc-doc 2.11.3-2   Embedded GNU C Library: Documentat
pn  locales(no description available)

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
* glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services: gdm openbsd-inetd exim4 cups cron atd apache2
* libraries/restart-without-asking: true
#include 
#include 
#include 
#include 
#include 

int main(int argc, char *argv[]) {
struct addrinfo hints, *addrs = NULL, *a = NULL;

if (argc < 2) {
fprintf(stderr, "Usage: %s \n", argv[0]);
return 1;
}

memset(&hints, 0, sizeof(hints));

hints.ai_family = AF_INET6;
hints.ai_flags = AI_V4MAPPED | AI_ALL;
hints.ai_socktype = SOCK_STREAM;

int e = getaddrinfo(argv[1], "80", &hints, &addrs);
if (e) {
fprintf(stderr, "getaddrinfo failed: %s\n", gai_strerror(e));
return 2;
}

for (a = addrs; a; a = a->ai_next) {
char host[NI_MAXHOST], port[NI_MAXSERV];

e = getnameinfo(a->ai_addr, a->ai_addrlen,
host, sizeof(host),
port, sizeof(port),
NI_NUMERICHOST | NI_NUMERICSERV);

if (e)
fprintf(stderr, "getnameinfo failed: %s\n", gai_strerror(e));

printf("%s: [%s]:%s\n",
a->ai_family == AF_INET ? "AF_INET" :
a->ai_family == AF_INET6 ? "AF_INET6" :
a->ai_family == AF_UNSPEC ? "AF_UNSPEC" :
"?",
e ? "?" : host,
e ? "?" : port
);
}

freeaddrinfo(addrs);

return 0;
}


Bug#93810: Bug 93810 merged but it is not the same

2011-02-16 Thread Ted Percival
On Wed, Feb 16, 2011 at 2:27 AM, Debian Bug Tracking System
 wrote:
> > forcemerge 93810 95254
> Bug#93810: Australian zoneinfo wrong - should be AEST, not EST
> Bug#95254: strftime("%Z") uses ambiguous timezone names
> Bug#149902: strftime("%Z") uses ambiguous timezone names

I don't find bug 93810 (Australian zoneinfo wrong) the same as the
other two (ambiguous timezone names). The zone names for Australia are
*wrong*. Ambiguity is only a side effect.

I know this bug won't be fixed in Debian unless upstream fixes it, but
IMO the bugs should still be tracked as distinct. Would you consider
unmerging them?



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



Bug#575026: update-manager-gnome: Typo (Administraion) & missing space in header text

2010-03-22 Thread Ted Percival
Package: update-manager-gnome
Version: 0.200.0-1
Severity: minor
Tags: patch

There is a typo, "Administraion", in the main UI when there are
upgrades. Additionally, when first run, there are two sentences directly
against each other with no space:
"... issued since Debian GNU/Linux was released.If you don't ..."

Listed in LaunchPad:
https://bugs.launchpad.net/debian/+source/update-manager/+bug/497339

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

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages update-manager-gnome depends on:
ii  gconf2   2.28.0-1GNOME configuration database syste
ii  gksu 2.0.2-2+b1  graphical frontend to su
ii  python   2.5.4-9 An interactive high-level object-o
ii  python-dbus  0.83.1-1simple interprocess messaging syst
ii  python-gconf 2.28.0-2Python bindings for the GConf conf
ii  python-gobject   2.20.0-1+b1 Python bindings for the GObject li
ii  python-gtk2  2.16.0-2Python bindings for the GTK+ widge
ii  python-support   1.0.7   automated rebuilding support for P
ii  python-vte   1:0.22.5-2  Python bindings for the VTE widget
ii  update-manager-core  0.200.0-1   APT update manager core functional

update-manager-gnome recommends no packages.

Versions of packages update-manager-gnome suggests:
pn  software-properties-gtk(no description available)
ii  update-notifier  0.70.7.debian-7 Daemon which notifies about packag

-- debconf-show failed
diff -ru update-manager-0.200.0/UpdateManager/Frontend/Gtk/ui.py update-manager-0.200.0-new/UpdateManager/Frontend/Gtk/ui.py
--- update-manager-0.200.0/UpdateManager/Frontend/Gtk/ui.py	2009-10-12 02:27:47.0 -0600
+++ update-manager-0.200.0-new/UpdateManager/Frontend/Gtk/ui.py	2010-03-22 15:02:25.554461599 -0600
@@ -883,7 +883,7 @@
 dist_name = self._application.get_dist_name()
 text_header = "%s" \
   % (_("Welcome to %s!") % (dist_name))
-text_label_main = _("These software updates have been issued since %s was released.") % (dist_name)
+text_label_main = _("These software updates have been issued since %s was released. ") % (dist_name)
 
 try:
 self._gconfclient.set_bool(
@@ -894,7 +894,7 @@
 text_header = "%s" \
   % _("Software updates are available for this computer.")
 
-text_label_main += _("If you don't want to install them now, choose \"Update Manager\" from the Administraion menu later.")
+text_label_main += _("If you don't want to install them now, choose \"Update Manager\" from the Administration menu later.")
 
 self.notebook_details.set_sensitive(True)
 self.treeview_update.set_sensitive(True)


Bug#559475: Description suggests non-existent tomcat6-webapps package

2009-12-04 Thread Ted Percival
Package: tomcat6
Version: 6.0.20-7
Severity: minor

The tomcat6 package description suggests installing "the tomcat6-webapps
package", but it does not exist.



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



Bug#508388: Dead links in samba-doc/htmldocs/index.html

2008-12-10 Thread Ted Percival
Package: samba-doc
Version: 2:3.2.5-1
Severity: minor

The Using Samba, Man pages, WHATSNEW and README.VENDOR links in
/usr/share/doc/samba-doc/htmldocs/index.html are dead.


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

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

samba-doc depends on no packages.

samba-doc recommends no packages.

Versions of packages samba-doc suggests:
pn  samba-doc-pdf  (no description available)

-- no debconf information



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



Bug#489060: Needs a versioned binary package dependency too

2008-07-08 Thread Ted Percival
tags 489060 -patch
thanks

pulseaudio needs a dependency on the libcap2 >= 2.10 binary package too,
not just a build-dependency. For details see
http://bugs.debian.org/464712#22 and its links.



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



Bug#464712: avahi-daemon needs "Depends libcap2 (>= 2.10)" too

2008-07-08 Thread Ted Percival
reopen 464712
found avahi-daemon/0.6.23-2
thanks

The libcap2 dependency is more nuanced than I realised. In order to
avoid a similar warning (warning: `avahi-daemon' uses deprecated v2
capabilities in a way that may be insecure.") the libcap2 package must
be >= 2.10 as well (not just libcap2-dev).

I guess this versioned "Depends" should be added explicitly.

For details see
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=kernel/capability.c;h=901e0fdc3fffa3b32fca26e0aa4e1985b244bd10;hb=HEAD#l55
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ca05a99a54db1db5bca72eccb5866d2a86f8517f
https://bugzilla.redhat.com/show_bug.cgi?id=447518



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



Bug#489060: Corrected patch for 32-bit capabilities warning

2008-07-02 Thread Ted Percival
severity 489060 minor
thanks

Oops, forgot the '2' in libcap2-dev in that patch. Here is a patch that
actually works.
Build against libcap2

Removes a warning about deprecated 32-bit capabilities.
Build-Depends on libcap2-dev (>= 2.10-1) to avoid possibly-insecure
use of v2 capabilities. See kernel/capability.c in the Linux source
for details (look for warn_deprecated_v2).

Fixes Debian bug #489060.

diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 5), cdbs, quilt, m4, libltdl3-dev,
 liboil0.3-dev (>= 0.3.0) | liboil-dev, libsamplerate0-dev,
 libsndfile1-dev (>= 1.0.10) | libsndfile-dev, libx11-dev,
 x11proto-core-dev, libxt-dev, libglib2.0-dev,
-libcap-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+libcap2-dev (>= 2.10-1) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
 libasound-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
 libavahi-client-dev, libjack0.100.0-dev, libwrap0-dev,
 liblircclient-dev, libgconf2-dev, libhal-dev, libasyncns-dev,


Bug#489060: warning: `pulseaudio' uses 32-bit capabilities (legacy support in use)

2008-07-02 Thread Ted Percival
Package: pulseaudio
Version: 0.9.10-2
Severity: normal
Tags: patch

On recent Linux kernels (2.6.24? definitely 2.6.25), the kernel logs a
warning about pulseaudio using 32-bit capabilities. This is because it
links with libcap1, but needs to be updated to libcap2 for 64-bit
capability support.

Linux only logs a warning about 32-bit capabilities for the first
process that uses them, so you might not see the message for pulseaudio
if another app triggers the warning first (eg. avahi-daemon, Debian bug
#464712).

You need a versioned dependency on libcap2-dev >= 2.10-1 as described in
the header of the attached patch.

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

Kernel: Linux 2.6.26-rc8 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pulseaudio depends on:
ii  adduser   3.108  add and remove users and groups
ii  libasound21.0.16-2   ALSA library
ii  libasyncns0   0.3-1  Asyncronous name service query lib
ii  libc6 2.7-10 GNU C Library: Shared libraries
ii  libcap1   1:1.10-14  support for getting/setting POSIX.
ii  libdbus-1-3   1.2.1-2simple interprocess messaging syst
ii  libflac8  1.2.1-1.2  Free Lossless Audio Codec - runtim
ii  libltdl3  1.5.26-4   A system independent dlopen wrappe
ii  libogg0   1.1.3-4Ogg Bitstream Library
ii  liboil0.3 0.3.14-5   Library of Optimized Inner Loops
ii  libpulsecore5 0.9.10-2   PulseAudio sound server core
ii  libsamplerate00.1.3-1audio rate conversion library
ii  libsndfile1   1.0.17-4   Library for reading/writing audio 
ii  libwrap0  7.6.q-15   Wietse Venema's TCP wrappers libra
ii  lsb-base  3.2-12 Linux Standard Base 3.2 init scrip

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio 0.9.7-2 GStreamer plugin for PulseAudio
ii  libasound2-plugins   1.0.16-1+b1 ALSA library additional plugins
ii  padevchooser 0.9.3-2 PulseAudio Device Chooser
pn  paprefs(no description available)
ii  pulseaudio-esound-compat 0.9.10-2PulseAudio ESD compatibility layer
ii  pulseaudio-module-hal0.9.10-2HAL device detection module for Pu
ii  pulseaudio-module-x110.9.10-2X11 module for PulseAudio sound se

-- no debconf information
commit 3af50eeb6c20754b1893b8e0471245d16e23d4c1
Author: Ted Percival <[EMAIL PROTECTED]>
Date:   Thu Jul 3 14:24:16 2008 +1000

Build against libcap2

Removes a warning about deprecated 32-bit capabilities.
Build-Depends on libcap2-dev (>= 2.10-1) to avoid possibly-insecure
use of v2 capabilities. See kernel/capability.c in the Linux source
for details (look for warn_deprecated_v2).

diff --git a/debian/control b/debian/control
index bf0d40b..b5ad632 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 5), cdbs, quilt, m4, libltdl3-dev,
 liboil0.3-dev (>= 0.3.0) | liboil-dev, libsamplerate0-dev,
 libsndfile1-dev (>= 1.0.10) | libsndfile-dev, libx11-dev,
 x11proto-core-dev, libxt-dev, libglib2.0-dev,
-libcap-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+libcap-dev (>= 2.10-1) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
 libasound-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
 libavahi-client-dev, libjack0.100.0-dev, libwrap0-dev,
 liblircclient-dev, libgconf2-dev, libhal-dev, libasyncns-dev,


Bug#464712: Patch for 32-bit capabilities warning

2008-07-02 Thread Ted Percival
tags 464712 patch
thanks

Avahi needs to be built against libcap2 instead of libcap1 to avoid this
warning from the kernel.

Build-Depend on libcap2-dev (>= 2.10-1) to avoid possibly-insecure
use of v2 capabilities. See kernel/capability.c in the Linux source
for details (look for warn_deprecated_v2).
Build against libcap2

Removes a warning about deprecated 32-bit capabilities.
Build-Depends on libcap2-dev (>= 2.10-1) to avoid possibly-insecure
use of v2 capabilities. See kernel/capability.c in the Linux source
for details (look for warn_deprecated_v2).

Fixes Debian bug #464712.

diff a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 5.0.37.2),
cdbs (>= 0.4.43),
pkg-config,
python-support (>= 0.6),
-   libcap-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64 !netbsd-i386],
+   libcap2-dev (>= 2.10-1) [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64 !netbsd-i386],
libgdbm-dev,
libglib2.0-dev (>= 2.4),
libgtk2.0-dev (>= 2.4),


Bug#486179: apt: Typo "intervall" in cron.daily script

2008-06-13 Thread Ted Percival
Package: apt
Version: 0.7.14+b1
Severity: minor

There is a tiny typo "intervall" in /etc/cron.daily/apt
(debian/apt.cron.daily in source) that should be "interval", on line
150.



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



Bug#480053: Switching b43 firmware

2008-06-09 Thread Ted Percival

Rene Engelhard wrote:

Nadav Kavalerchik wrote:

but you could have the bash script install different firmware to
different kernels ? can you ?


I could, but what will happen when the kernel gets upgrded from .24 to
.25? b43-fwcutter won't be upgraded. (although, hmm, that probably can
be solved with a trigger now and is not worse than now anyway..))

Or you install .25, install b43-fwcutter and for whatever reason revert
to testings .24 -> boom.


It sounds to me like it will require an init script to switch the 
firmware files (if necessary) at boot time. This is what the nvidia-glx 
package does for its TLS links. See debian/nvidia-glx.init.in in the 
nvidia-graphics-drivers source package.




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



Bug#483560: Unable to load image-loading modules

2008-05-30 Thread Ted Percival

Loïc Minier wrote:

/var/lib/dpkg/info/libgtk2.0-0.postinst:

# versions prior to 2.10.1-1 used the 2.4.0 binary version and generated module
# files below /etc/gtk-2.0 which will we can not leave behind (since they
# reference modules not on the system anymore)
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "2.10.3-2"; then
echo "Removing generated module files coming from the previous Gtk binary 
version..."
rm -v -f /etc/gtk-2.0/gdk-pixbuf.loaders
rm -v -f /etc/gtk-2.0/gtk.immodules
fi


That dpkg --compare-versions "lt" looks like it should be a "gt". 
Changing that and re-running the postinst configure does the trick.


Thanks for your help :)



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



Bug#483560: Unable to load image-loading modules

2008-05-29 Thread Ted Percival

Loïc Minier wrote:


  Failed to load gnome-fs-desktop: Unable to load image-loading module:
  /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so:
  /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared
  object file: No such file or directory



 Both 2.12.9-3 and 2.12.9-4 are using /usr/lib/gtk-2.0/2.10.0.  If
 anything mentions 2.4.0, it's very old stuff.

 Could you please ls /usr/local/lib?


$ ls /usr/local/lib/
python2.4  python2.5

I looked around and found /etc/gtk-2.0/gdk-pixbuf.loaders which is 
probably the cause of this. It is attached.


Since /usr/lib/libgtk2.0-0/update-gdkpixbuf-loaders "is a no-op since 
2.10.3-2", I guess some upgrade script should have removed the file from 
/etc but hasn't?


# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gtk+-2.8.20
#
# LoaderDir = /usr/lib/gtk-2.0/2.4.0/loaders
#
"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-gif.so"
"gif" 4 "gtk20" "The GIF image format"
"image/gif" ""
"gif" ""
"GIF8" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xbm.so"
"xbm" 4 "gtk20" "The XBM image format"
"image/x-xbitmap" ""
"xbm" ""
"#define " "" 100
"/*" "" 50

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so"
"xpm" 4 "gtk20" "The XPM image format"
"image/x-xpixmap" ""
"xpm" ""
"/* XPM */" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ico.so"
"ico" 5 "gtk20" "The ICO image format"
"image/x-icon" ""
"ico" "cur" ""
"  \001   " "zz znz" 100
"  \002   " "zz znz" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-wbmp.so"
"wbmp" 4 "gtk20" "The WBMP image format"
"image/vnd.wap.wbmp" ""
"wbmp" ""
" " "z" 1

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so"
"png" 5 "gtk20" "The PNG image format"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tga.so"
"tga" 4 "gtk20" "The Targa image format"
"image/x-tga" ""
"tga" "targa" ""
" \001\001" "x  " 100
" \001\t" "x  " 100
"  \002" "xz " 99
"  \003" "xz " 100
"  \n" "xz " 100
"  \013" "xz " 100

"/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tiff.so"
"tiff" 0 "gtk20" "The TIFF image format"
"image/tiff" ""
"tiff" "tif" ""
"MM *" "  z " 100
"II* " "   z" 100

"/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so"
"svg" 2 "gtk20" "Scalable Vector Graphics"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" 
"text/xml-svg" ""
"svg" "svgz" "svg.gz" ""
" 

Bug#483560: Problem details

2008-05-29 Thread Ted Percival
When upgrading libgtk2.0-0 and gtk2-engines-pixbuf from 2.12.9-3 to 
2.12.9-4 then running startx, in ~/.xsession-errors there are a bunch of 
errors like this from gnome-fs-desktop, gnome-panel, nm-applet and 
update-notifier:



  Failed to load gnome-fs-desktop: Unable to load image-loading module:
  /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so:
  /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared
  object file: No such file or directory


Then bug-buddy comes up for what seems to be every panel applet and 
application, and after closing it about 8 times I am left with a desktop 
with no panel, a lot of placeholder icons, and not much works.


I have attached my dpkg.log showing the two packages being upgraded, and 
my .xsession-errors file.


A similar error occurs with the gdm greeter, and it falls back to a 
non-themed one:



  There was an error loading the theme debian-moreblue

  Unable to load image-loading module:
  /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so:
  /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: cannot open
  shared object file: No such file or directory.


(Sorry about the initial email, I misused reportbug.)
2008-05-29 22:16:15 startup archives unpack
2008-05-29 22:16:15 upgrade gtk2-engines-pixbuf 2.12.9-3 2.12.9-4
2008-05-29 22:16:15 status half-configured gtk2-engines-pixbuf 2.12.9-3
2008-05-29 22:16:15 status unpacked gtk2-engines-pixbuf 2.12.9-3
2008-05-29 22:16:15 status half-installed gtk2-engines-pixbuf 2.12.9-3
2008-05-29 22:16:15 status half-installed gtk2-engines-pixbuf 2.12.9-3
2008-05-29 22:16:15 status unpacked gtk2-engines-pixbuf 2.12.9-4
2008-05-29 22:16:15 status unpacked gtk2-engines-pixbuf 2.12.9-4
2008-05-29 22:16:15 upgrade libgtk2.0-0 2.12.9-3 2.12.9-4
2008-05-29 22:16:15 status half-configured libgtk2.0-0 2.12.9-3
2008-05-29 22:16:16 status unpacked libgtk2.0-0 2.12.9-3
2008-05-29 22:16:16 status half-installed libgtk2.0-0 2.12.9-3
2008-05-29 22:16:16 status half-installed libgtk2.0-0 2.12.9-3
2008-05-29 22:16:17 status unpacked libgtk2.0-0 2.12.9-4
2008-05-29 22:16:17 status unpacked libgtk2.0-0 2.12.9-4
2008-05-29 22:16:18 startup packages configure
2008-05-29 22:16:18 configure libgtk2.0-0 2.12.9-4 2.12.9-4
2008-05-29 22:16:18 status unpacked libgtk2.0-0 2.12.9-4
2008-05-29 22:16:18 status unpacked libgtk2.0-0 2.12.9-4
2008-05-29 22:16:18 status half-configured libgtk2.0-0 2.12.9-4
2008-05-29 22:16:19 status installed libgtk2.0-0 2.12.9-4
2008-05-29 22:16:19 configure gtk2-engines-pixbuf 2.12.9-4 2.12.9-4
2008-05-29 22:16:19 status unpacked gtk2-engines-pixbuf 2.12.9-4
2008-05-29 22:16:19 status half-configured gtk2-engines-pixbuf 2.12.9-4
2008-05-29 22:16:19 status installed gtk2-engines-pixbuf 2.12.9-4
Xsession: X session started for ted at Thu May 29 22:30:03 AEST 2008
SESSION_MANAGER=local/lenovo:/tmp/.ICE-unix/10523
** Message: another SSH agent is running at: /tmp/ssh-GYEbT10523/agent.10523
xrdb:  "*Label.background" on line 220 overrides entry on line 150
xrdb:  "*Text.background" on line 226 overrides entry on line 191
xrdb:  "*Label.foreground" on line 232 overrides entry on line 151
xrdb:  "*Text.foreground" on line 238 overrides entry on line 192
Window manager warning: Failed to read saved session file 
/home/ted/.metacity/sessions/default0.ms: Failed to open file 
'/home/ted/.metacity/sessions/default0.ms': No such file or directory

(bluetooth-applet:10597): Gtk-WARNING **: Error loading theme icon 
'gtk-missing-image' for stock: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory
Initializing gnome-mount extension
seahorse nautilus module initialized
Connection failure: Connection refused
Failed to load gnome-fs-desktop: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory
Failed to load gnome-fs-desktop: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory

(gnome-panel:10580): Gtk-WARNING **: Error loading theme icon 
'gtk-missing-image' for stock: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory
Failed to load gnome-fs-desktop: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object file: 
No such file or directory

(gnome-panel:10580): Gtk-WARNING **: Error loading theme icon 
'gtk-missing-image' for stock: Unable to load image-loading module: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: 
/usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: cannot open shared object f

Bug#483560: libgtk2.0-0: Fails to load icons with libpixbufloader-png.so

2008-05-29 Thread Ted Percival
Package: libgtk2.0-0
Version: 2.12.9-4
Severity: grave
Justification: renders package unusable


Subject: libgtk2.0-0: Fails to load icons (libpixbufloader-png.so)
Package: libgtk2.0-0
Version: 2.12.9-4
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
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 libgtk2.0-0 depends on:
ii  libatk1.0-01.22.0-1  The ATK accessibility toolkit
ii  libc6  2.7-11GNU C Library: Shared libraries
ii  libcairo2  1.6.4-3   The Cairo 2D vector graphics libra
ii  libcomerr2 1.40.8-2  common error description library
ii  libcupsys2 1.3.7-5   Common UNIX Printing System(tm) - 
ii  libfontconfig1 2.5.93-1  generic font configuration library
ii  libglib2.0-0   2.16.3-2  The GLib library of C routines
ii  libgnutls262.2.5-1   the GNU TLS library - runtime libr
ii  libgtk2.0-common   2.12.9-4  Common files for the GTK+ graphica
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libkrb53   1.6.dfsg.3-2  MIT Kerberos runtime libraries
ii  libpango1.0-0  1.20.2-2  Layout and rendering of internatio
ii  libpng12-0 1.2.27-1  PNG library - runtime
ii  libtiff4   3.8.2-8   Tag Image File Format (TIFF) libra
ii  libx11-6   2:1.0.3-7 X11 client-side library
ii  libxcomposite1 1:0.4.0-2 X11 Composite extension library
ii  libxcursor11:1.1.9-1 X cursor management library
ii  libxdamage11:1.1.1-4 X11 damaged region extension libra
ii  libxext6   2:1.0.4-1 X11 miscellaneous extension librar
ii  libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii  libxi6 2:1.1.3-1 X11 Input extension library
ii  libxinerama1   2:1.0.3-2 X11 Xinerama extension library
ii  libxrandr2 2:1.2.2-2 X11 RandR extension library
ii  libxrender11:0.9.4-1 X Rendering Extension client libra
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages libgtk2.0-0 recommends:
ii  hicolor-icon-theme0.10-1 default fallback theme for FreeDes
ii  libgtk2.0-bin 2.12.9-3   The programs for the GTK+ graphica

-- no debconf information

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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



Bug#482655: reprepro: Typo "incomming" in manpage

2008-05-24 Thread Ted Percival
Package: reprepro
Version: 3.4.2-1
Severity: minor

reprepro(1):
> processincoming rulesetname [.changes-file]
>   Scan an incomming directory and process the .changes files found
^

Incoming should have one 'm' :)



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



Bug#478714: smbfs: Please provide debug symbols in samba-dbg

2008-05-01 Thread Ted Percival

Steve Langasek wrote:

Ted Percival wrote:

There are no debug symbols available for the files in the smbfs package.
Could they be included in samba-dbg too?


Why do you need these?  The smbfs package only contains small userspace
utilities for interfacing with the kernel fs driver.  Are these utilities
crashing for you?


I found a non-crash bug in mount.cifs[1] and hoped to use the debug 
symbols to get a better idea of where it was occurring without 
rebuilding samba myself (yet).


[1] https://bugzilla.samba.org/show_bug.cgi?id=5434

Naturally I'll have to build Samba myself if I want to do any real 
debugging, I just thought maybe the debug symbols were left out by accident.




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



Bug#478714: smbfs: Please provide debug symbols in samba-dbg

2008-04-30 Thread Ted Percival
Package: smbfs
Version: 1:3.2.0~pre3-1
Severity: wishlist

There are no debug symbols available for the files in the smbfs package.
Could they be included in samba-dbg too?



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



Bug#93810: libc6: Patched tzdata packages available

2008-04-27 Thread Ted Percival
Package: libc6
Followup-For: Bug #93810

For those who prefer their timezones as AEST, AEDT and so on, I am
maintaining a patch & Debian tzdata package with these timezone names.

http://tedp.id.au/tzdata-au/



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



Bug#476896: kdelibs4c2a: Ported patch

2008-04-19 Thread Ted Percival
Package: kdelibs4c2a
Followup-For: Bug #476896

There are two trivial conflicts when applying upstream's patch to the
Debian package. In case it saves some time, I prepared a patch
with the conflicts resolved.
commit 3b2e06674197b23e52381521185bd13e046a16d7
Author: Ted Percival <[EMAIL PROTECTED]>
Date:   Sun Apr 20 12:49:31 2008 +1000

Backported fix for KDE bug #150006
Using attachment #23875

diff --git a/khtml/rendering/render_container.cpp b/khtml/rendering/render_container.cpp
index 7500780..c309b67 100644
--- a/khtml/rendering/render_container.cpp
+++ b/khtml/rendering/render_container.cpp
@@ -79,6 +79,8 @@ void RenderContainer::addChild(RenderObject *newChild, RenderObject *beforeChild
 kdDebug( 6040 ) << this << ": " <<  renderName() << "(RenderObject)::addChild( " << newChild << ": " <<
 newChild->renderName() << ", " << (beforeChild ? beforeChild->renderName() : "0") << " )" << endl;
 #endif
+// protect ourselves from deletion
+setDoNotDelete(true);
 
 bool needsTable = false;
 
@@ -159,6 +161,8 @@ void RenderContainer::addChild(RenderObject *newChild, RenderObject *beforeChild
 static_cast(newChild)->setText(textToTransform, true);
 }
 newChild->attach();
+
+setDoNotDelete(false);
 }
 
 RenderObject* RenderContainer::removeChildNode(RenderObject* oldChild)
@@ -545,7 +549,7 @@ void RenderContainer::removeLeftoverAnonymousBoxes()
 	RenderObject *next = child->nextSibling();
 
 	if ( child->isRenderBlock() && child->isAnonymousBlock() && !child->continuation() &&
- !child->childrenInline() && !child->isTableCell() ) {
+ !child->childrenInline() && !child->isTableCell() && !child->doNotDelete()) {
 	RenderObject *firstAnChild = child->firstChild();
 	RenderObject *lastAnChild = child->lastChild();
 	if ( firstAnChild ) {
@@ -560,17 +564,21 @@ void RenderContainer::removeLeftoverAnonymousBoxes()
 		child->previousSibling()->setNextSibling( firstAnChild );
 		if ( child->nextSibling() )
 		child->nextSibling()->setPreviousSibling( lastAnChild );
+		if ( child == firstChild() )
+		m_first = firstAnChild;
+		if ( child == lastChild() )
+		m_last = lastAnChild;
 	} else {
 		if ( child->previousSibling() )
 		child->previousSibling()->setNextSibling( child->nextSibling() );
 		if ( child->nextSibling() )
 		child->nextSibling()->setPreviousSibling( child->previousSibling() );
-
+		if ( child == firstChild() )
+		m_first = child->nextSibling();
+		if ( child == lastChild() )
+		m_last = child->previousSibling();
 	}
-	if ( child == firstChild() )
-		m_first = firstAnChild;
-	if ( child == lastChild() )
-		m_last = lastAnChild;
+
 	child->setParent( 0 );
 	child->setPreviousSibling( 0 );
 	child->setNextSibling( 0 );
diff --git a/khtml/rendering/render_object.cpp b/khtml/rendering/render_object.cpp
index 9840688..9f97922 100644
--- a/khtml/rendering/render_object.cpp
+++ b/khtml/rendering/render_object.cpp
@@ -178,7 +178,8 @@ RenderObject::RenderObject(DOM::NodeImpl* node)
   m_isRoot( false ),
   m_afterPageBreak( false ),
   m_needsPageClear( false ),
-  m_containsPageBreak( false )
+  m_containsPageBreak( false ),
+	  m_doNotDelete( false )
 {
   assert( node );
   if (node->getDocument()->documentElement() == node) setIsRoot(true);
diff --git a/khtml/rendering/render_object.h b/khtml/rendering/render_object.h
index 0df080f..ea3938f 100644
--- a/khtml/rendering/render_object.h
+++ b/khtml/rendering/render_object.h
@@ -753,6 +753,9 @@ public:
 
 virtual void deleteInlineBoxes(RenderArena* arena=0) {(void)arena;}
 virtual void detach( );
+
+void setDoNotDelete(bool b) { m_doNotDelete = b; }
+bool doNotDelete() const { return m_doNotDelete; }
 
 const QFont &font(bool firstLine) const {
 	return style( firstLine )->font();
@@ -835,7 +838,9 @@ private:
 bool m_needsPageClear: 1;
 bool m_containsPageBreak : 1;
 
-// ### we have 16 + 24 bits. Cut 8 and save 32
+	bool m_doNotDelete 	 : 1; // This object should not be auto-deleted
+
+// ### we have 16 + 25 bits.
 
 
 void arenaDelete(RenderArena *arena, void *objectBase);


Bug#476896: kdelibs4c2a: Crash when rendering some pages (including debianhelp.org)

2008-04-19 Thread Ted Percival
Package: kdelibs4c2a
Version: 4:3.5.9.dfsg.1-2+b1
Severity: important
Tags: patch, upstream, fixed-upstream

libkhtml crashes in khtml::RenderBlock::addChildToFlow when rendering
some pages. There are 12 duplicates upstream, so I guess it's popular.

You can trigger it by loading a forum page from
debianhelp.org such as http://www.debianhelp.org/node/13217
It is fixed by the patch attached to the bug report, which has been
committed upstream:
https://bugs.kde.org/attachment.cgi?id=23875&action=view



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



Bug#475329: iceweasel: "Report Broken Web Site" is broken

2008-04-09 Thread Ted Percival
Package: iceweasel
Version: 3.0~b5-1
Severity: normal

The "Report Broken Web Site..." option in the Help menu seems to be
nerfed, maybe as part of Iceweasel rebranding. There are two problems:

- The Privacy Policy pane is empty.
- The dialog does not actually submit a report. It seems to be missing
  a second dialog where the user provides more information before
  submitting the report.

Possibly related to upstream bug #374666:
https://bugzilla.mozilla.org/show_bug.cgi?id=374666 where a user reports
that the Privacy Policy is blank on Mac OS X.

I checked the extensions.reporter.privacyURL setting as mentioned in the
upstream bug report and it is set to the default,
http://reporter.mozilla.org/privacy/


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iceweasel depends on:
ii  debianutils2.28.4Miscellaneous utilities specific t
ii  fontconfig 2.5.0-2   generic font configuration library
ii  libatk1.0-01.20.0-1  The ATK accessibility toolkit
ii  libc6  2.7-10GNU C Library: Shared libraries
ii  libcairo2  1.5.8-1   The Cairo 2D vector graphics libra
ii  libdbus-1-31.1.20-1  simple interprocess messaging syst
ii  libdbus-glib-1-2   0.74-1simple interprocess messaging syst
ii  libfontconfig1 2.5.0-2   generic font configuration library
ii  libfreetype6   2.3.5-1+b1FreeType 2 font engine, shared lib
ii  libgcc11:4.3.0-1 GCC support library
ii  libglib2.0-0   2.16.1-2  The GLib library of C routines
ii  libgtk2.0-02.12.9-2  The GTK+ graphical user interface 
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libpango1.0-0  1.20.0-1  Layout and rendering of internatio
ii  libstdc++6 4.3.0-1   The GNU Standard C++ Library v3
ii  libx11-6   2:1.0.3-7 X11 client-side library
ii  libxrender11:0.9.4-1 X Rendering Extension client libra
ii  libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii  procps 1:3.2.7-6 /proc file system utilities
ii  psmisc 22.6-1Utilities that use the proc filesy
ii  zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime

iceweasel recommends no packages.

-- no debconf information



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



Bug#471587: Patch & more

2008-03-19 Thread Ted Percival

I like patches, even for trivial bugs. This one is no different.

I'm also providing one that makes the Homepage a real dpkg field rather 
than being part of the description.


If you're feeling really adventurous, there is a new upstream version 
(currently 0.4.2)


--
\0

diff -ru libntlm-0.3.13/debian/docs libntlm-0.3.13-tp/debian/docs
--- libntlm-0.3.13/debian/docs	2008-03-18 15:49:44.0 +1000
+++ libntlm-0.3.13-tp/debian/docs	2008-03-19 16:01:36.0 +1000
@@ -1,3 +1,2 @@
 NEWS
 README
-test.txt
diff -ru libntlm-0.3.13/debian/control libntlm-0.3.13-tp/debian/control
--- libntlm-0.3.13/debian/control	2008-03-18 15:49:44.0 +1000
+++ libntlm-0.3.13-tp/debian/control	2008-03-19 16:03:02.0 +1000
@@ -4,6 +4,7 @@
 Build-Depends: debhelper (>= 4.0.0), autotools-dev
 Standards-Version: 3.7.2.2
 Section: libs
+Homepage: http://josefsson.org/libntlm/
 
 Package: libntlm0-dev
 Section: libdevel
@@ -13,8 +14,6 @@
  Libntlm is a library that implements Microsoft's NTLM authentication.
  This package contains all the files necessary for developing programs 
  with NTLM support.
- .
-  Homepage: http://josefsson.org/libntlm/
 
 Package: libntlm0
 Section: libs
@@ -31,5 +30,3 @@
  clients are able to prove their identities without sending a  password to
  the server. It consists of three messages, commonly referred  to as Type 1
  (negotiation), Type 2 (challenge) and Type 3 (authentication).
- .
-   Homepage: http://josefsson.org/libntlm/
diff -ru libntlm-0.3.13/debian/docs libntlm-0.3.13-tp/debian/docs
--- libntlm-0.3.13/debian/docs	2008-03-18 15:49:44.0 +1000
+++ libntlm-0.3.13-tp/debian/docs	2008-03-19 16:01:36.0 +1000
@@ -1,3 +1,2 @@
 NEWS
 README
-test.txt


Bug#471587: libntlm0-dev: test.txt in doc directory is useless

2008-03-18 Thread Ted Percival
Package: libntlm0-dev
Version: 0.3.13-1
Severity: minor

libntlm0-dev installs /usr/share/doc/libntlm0-dev/test.txt which
is used when running the automated tests at build-time, but is
not useful to have installed.



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



Bug#461181: found 461181 in 0.6.20-2

2008-01-19 Thread Ted Percival
# Automatically generated email from bts, devscripts version 2.10.13
# toresbe reports on #avahi that this happens in 0.6.20-2ubuntu3, i am marking 
this found so it shows up in the unstable bugs list instead of just "other 
branch"
found 461181 0.6.20-2




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



Bug#459344: Patch to make the cron script quiet

2008-01-17 Thread Ted Percival

tags 459344 patch
stop

This would do the trick for me -- making the cron script exit quietly if 
the cache is locked.


--
\0

diff -ru apt-0.7.10/debian/apt.cron.daily apt-0.7.10-rofl/debian/apt.cron.daily
--- apt-0.7.10/debian/apt.cron.daily	2008-01-08 06:22:37.0 +1000
+++ apt-0.7.10-rofl/debian/apt.cron.daily	2008-01-18 12:26:59.0 +1000
@@ -174,9 +174,10 @@
 fi
 
 # check if we can lock the cache and if the cache is clean
+# There's a reasonable chance that someone is already running an apt
+# frontend that has locked the cache, so exit quietly if it is locked.
 if ! apt-get check -q -q 2>/dev/null; then
-echo "$0: could not lock the APT cache"
-exit 1
+exit 0
 fi
 
 


Bug#457191: octave2.1: Should conflict with octave2.9

2007-12-20 Thread Ted Percival
Package: octave2.1
Version: 1:2.1.73-14
Severity: important

octave2.1 cannot be installed when octave2.9 is installed. Neither
package has a Conflicts relationship so the failure happens when dpkg
tries to install the package:

> Unpacking octave2.1 (from .../octave2.1_1%3a2.1.73-14_i386.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/octave2.1_1%3a2.1.73-14_i386.deb (--unpack):
>  trying to overwrite `/usr/share/enscript/hl/octave.st', which is also
>  in package octave2.9


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages octave2.1 depends on:
ii  atlas3-base [liblapack 3.6.0-20.6Automatically Tuned Linear Algebra
ii  lapack3 [liblapack.so. 3.0.2531a-6.1 library of linear algebra routines
ii  libc6  2.7-3 GNU C Library: Shared libraries
ii  libfftw3-3 3.1.2-3   library for computing Fast Fourier
ii  libg2c01:3.4.6-6 Runtime library for GNU Fortran 77
ii  libgcc11:4.2.2-4 GCC support library
ii  libhdf5-serial-1.6.5-0 1.6.5-5+b1Hierarchical Data Format 5 (HDF5) 
ii  libncurses55.6+20071013-1Shared libraries for terminal hand
ii  libreadline5   5.2-3 GNU readline and history libraries
ii  libstdc++6 4.2.2-4   The GNU Standard C++ Library v3
ii  refblas3 [libblas.so.3 1.2-8 Basic Linear Algebra Subroutines 3
ii  texinfo4.11.dfsg.1-2 Documentation system for on-line i
ii  zlib1g 1:1.2.3.3.dfsg-6  compression library - runtime

Versions of packages octave2.1 recommends:
ii  atlas3-base   3.6.0-20.6 Automatically Tuned Linear Algebra
ii  gnuplot   4.2.2-1A command-line driven interactive 



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



Bug#455446: Failure to execute absolute paths with directory-based config

2007-12-09 Thread Ted Percival
Package: ccontrol
Version: 0.9.1+20071204-1
Severity: important

When using the directory-based program configuration introduced in
0.9.1+20071204-1, gcc fails to call ld because gcc does its own path
resolution.

Given the config line
  ld = /usr/bin
and
  PATH=/usr/lib/ccontrol:/usr/bin:/bin

ccontrol fails with:
  ccontrol error: failed to exec '/usr/bin//usr/lib/ccontrol/ld': 2

Reverting the config line to the original syntax of
  ld = /usr/bin/ld
solves the problem.

A workaround in the mean time is to use the directory-based
configuration only for the cc and c++ settings.



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



Bug#367835: fetchexc package ready

2007-12-05 Thread Ted Percival

A fetchexc package is ready on mentors.debian.net, awaiting sponsorship.

http://mentors.debian.net/cgi-bin/maintainer-packages?action=details;package=fetchexc

It has been put up for sponsorship before but no sponsor was found:
  http://lists.debian.org/debian-mentors/2006/07/msg00151.html
  http://lists.debian.org/debian-java/2007/08/msg8.html

--
\0



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



Bug#209043: Workaround for misdetection of UTF-16 LE

2007-12-02 Thread Ted Percival
One workaround for this bug (UTF-16 LE text detected as MPEG ADTS) is to 
check for Unicode before MPEG. The attached patch does this.


If the two file formats really do have overlapping magic bytes, one will 
have to take precedence over the other. Here's a +1 vote for UTF16-LE 
before MPEG ADTS.


--
\0
--- ../magic/Makefile.am	2007-12-02 22:44:19.0 +1000
+++ ../magic/Makefile.am	2007-12-02 22:38:37.0 +1000
@@ -27,7 +27,11 @@
 magic.mime.mgc: magic.mime
 	$(FILE_COMPILE) -C -m $(srcdir)/magic.mime
 
+# Notes on file ordering:
+# unicode must precede animation to prevent UTF-16 (LE) being misdetected
+# as MPEG ADTS (http://bugs.debian.org/209043)
 magic_FRAGMENTS = \
+Magdir/unicode \
 Magdir/acorn \
 Magdir/adi \
 Magdir/adventure \
@@ -205,7 +209,6 @@
 Magdir/tuxedo \
 Magdir/typeset \
 Magdir/unknown \
-Magdir/unicode \
 Magdir/uuencode \
 Magdir/varied.out \
 Magdir/varied.script \
--- ../magic/Makefile.in	2007-12-02 22:50:16.0 +1000
+++ ../magic/Makefile.in	2007-12-02 22:47:51.0 +1000
@@ -167,7 +167,11 @@
 CLEANFILES = magic magic.mgc magic.mime.mgc
 @[EMAIL PROTECTED] = $(top_builddir)/src/file
 @[EMAIL PROTECTED] = file
+# Notes on file ordering:
+# unicode must precede animation to prevent UTF-16 (LE) being misdetected
+# as MPEG ADTS (http://bugs.debian.org/209043)
 magic_FRAGMENTS = \
+Magdir/unicode \
 Magdir/acorn \
 Magdir/adi \
 Magdir/adventure \
@@ -345,7 +349,6 @@
 Magdir/tuxedo \
 Magdir/typeset \
 Magdir/unknown \
-Magdir/unicode \
 Magdir/uuencode \
 Magdir/varied.out \
 Magdir/varied.script \


Bug#451333: miro: instead of in German translation

2007-11-14 Thread Ted Percival
Package: miro
Version: 0.9.9.1-1
Severity: minor
Tags: upstream l10n patch

The welcome screen when run in LANG=de_DE shows a line of text with
mismatching HTML tags  and .

The upstream translation website has a problem at the moment, so I hope
you can pass on this patch for me.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages miro depends on:
ii  libatk1.0-0   1.20.0-1   The ATK accessibility toolkit
ii  libboost-python1.34.1 1.34.1-2   Boost.Python Library
ii  libc6 2.6.1-6GNU C Library: Shared libraries
ii  libcairo2 1.4.10-1   The Cairo 2D vector graphics libra
ii  libfontconfig12.4.2-1.2  generic font configuration library
ii  libgcc1   1:4.2.2-3  GCC support library
ii  libglib2.0-0  2.14.1-5   The GLib library of C routines
ii  libgtk2.0-0   2.12.1-1   The GTK+ graphical user interface 
ii  libnspr4-0d   4.6.7-1NetScape Portable Runtime Library
ii  libpango1.0-0 1.18.3-1   Layout and rendering of internatio
ii  libstdc++64.2.2-3The GNU Standard C++ Library v3
ii  libx11-6  2:1.0.3-7  X11 client-side library
ii  libxcursor1   1:1.1.9-1  X cursor management library
ii  libxext6  1:1.0.3-2  X11 miscellaneous extension librar
ii  libxfixes31:4.0.3-2  X11 miscellaneous 'fixes' extensio
ii  libxi62:1.1.3-1  X11 Input extension library
ii  libxine1  1.1.8-2the xine video/media player librar
ii  libxinerama1  1:1.0.2-1  X11 Xinerama extension library
ii  libxrandr22:1.2.2-1  X11 RandR extension library
ii  libxrender1   1:0.9.4-1  X Rendering Extension client libra
ii  libxul0d  1.8.1.9-1  Gecko engine library
ii  miro-data 0.9.9.1-1  GTK+ based RSS video aggregator da
ii  python2.4.4-6An interactive high-level object-o
ii  python-glade2 2.12.0-1   GTK+ bindings: Glade support
ii  python-gnome2 2.20.0-1   Python bindings for the GNOME desk
ii  python-gnome2-extras  2.14.3-1   Python bindings for the GNOME desk
ii  python-gtk2   2.12.0-1   Python bindings for the GTK+ widge
ii  python-pysqlite2  2.3.5-1python interface to SQLite 3
ii  python-support0.7.5  automated rebuilding support for p
ii  python2.4 2.4.4-6An interactive high-level object-o

miro recommends no packages.

-- no debconf information
diff -ru miro-0.9.9.1/resources/locale/de.po miro-0.9.9.1-new/resources/locale/de.po
--- miro-0.9.9.1/resources/locale/de.po	2007-09-06 08:02:54.0 +1000
+++ miro-0.9.9.1-new/resources/locale/de.po	2007-11-15 11:43:05.0 +1000
@@ -2233,7 +2233,7 @@
 #: ../../platform/gtk-x11/glade/miro.glade.h:11
 msgid "Would you like to run Miro when your computer starts up?"
 msgstr ""
-"Möchten Sie, dass Miro automatisch startet, wenn Sie sich am Computer "
+"Möchten Sie, dass Miro automatisch startet, wenn Sie sich am Computer "
 "anmelden?"
 
 #: ../../platform/gtk-x11/glade/miro.glade.h:12


Bug#447832: Make ccontrol abort when called as a specific gcc version.

2007-11-03 Thread Ted Percival

Tony Breeds wrote:

On Wed, Oct 24, 2007 at 12:03:03PM +1000, Tony Breeds wrote:

The debian package includes a bunch of symlinks (I've sumbitted a bug
asking that they're removed) for various compilers which point to
ccontrol which leads to the following unexpected behaviour.


Hmm actually this patch is broken. I'll work out a better fix


How about this patch? The ccontrol config file can contain things like
  cc = /usr/bin

If invoked as gcc-4.2 it will execute /usr/bin/gcc-4.2, etc.

--
\0
Nur in ccontrol-0.9.1+20060806-new: build-stamp.
Nur in ccontrol-0.9.1+20060806-new: ccontrol.
Nur in ccontrol-0.9.1+20060806-new: ccontrol.1.
diff -ru ccontrol-0.9.1+20060806/ccontrol.1.txt ccontrol-0.9.1+20060806-new/ccontrol.1.txt
--- ccontrol-0.9.1+20060806/ccontrol.1.txt	2006-08-06 14:19:40.0 +1000
+++ ccontrol-0.9.1+20060806-new/ccontrol.1.txt	2007-11-04 13:10:53.0 +1000
@@ -74,37 +74,38 @@
 will end in a "*" to include all subdirectories.
 
 All paths beginning with "~" are relative to the user's home
-directory.
+directory. A path may be specified as a directory, in which case
+ccontrol will append the program name to the directory.
 
 The following settings are available:
 
 cc::
-  Followed by '=' specifies the full path of the compiler to be
+  Followed by '=' specifies the path of the compiler to be
   invoked when ccontrol is invoked as "cc" or "gcc".  ccontrol will
   fail to compile C programs if this is not set.
 
 c++::
-  Followed by '=' specifies the full path of the compiler to be
+  Followed by '=' specifies the path of the compiler to be
   invoked when ccontrol is invoked as "c++" or "g++".  ccontrol will
   fail to compile C++ programs if this is not set.
 
 ld::
-  Followed by '=' specifies the full path of the linker to be invoked
+  Followed by '=' specifies the path of the linker to be invoked
   when ccontrol is invoked as "ld".  ccontrol will fail to link
   programs if this is not set.
 
 make::
-  Followed by '=' specifies the full path of the binary to be invoked
+  Followed by '=' specifies the path of the binary to be invoked
   when ccontrol is invoked as "make".  ccontrol will fail to make if
   this is not set.
 
 ccache::
-  Followed by '=' specifies the full path of "ccache", and indicates
+  Followed by '=' specifies the path of "ccache", and indicates
   that ccache is to be used where appropriate.  If followed by
   'disable', or not set, ccache will not be used.
 
 distcc::
-  Followed by '=' specifies the full path of "distcc", and indicates
+  Followed by '=' specifies the path of "distcc", and indicates
   that distcc is to be used where appropriate.  If followed by
   'disable', or not set, or distcc-hosts is not set, distcc will not
   be used.
diff -ru ccontrol-0.9.1+20060806/ccontrol.c ccontrol-0.9.1+20060806-new/ccontrol.c
--- ccontrol-0.9.1+20060806/ccontrol.c	2006-08-06 14:19:40.0 +1000
+++ ccontrol-0.9.1+20060806-new/ccontrol.c	2007-11-04 13:22:54.0 +1000
@@ -330,6 +330,19 @@
 
 	/* This handles open failure if fd < 0. */
 	sec = read_config(configname, dirname, fd);
+
+/* If the config file says this app is a directory, it means
+ * that the command can be found _in_ that directory.
+ * (Only doing this for absolute path names). */
+if (sec.names[type][0] == '/'
+&& stat(sec.names[type], &st) == 0
+&& S_ISDIR(st.st_mode)) {
+sec.names[type] = realloc_array(sec.names[type],
+strlen(sec.names[type]) + strlen(argv[0]) + 2);
+strcat(sec.names[type], "/");
+strcat(sec.names[type], argv[0]);
+}
+
 	fstat(fd, &st);
 
 	/* Run low priority; people like to use apps while compiling. */
diff -ru ccontrol-0.9.1+20060806/ccontrol-init ccontrol-0.9.1+20060806-new/ccontrol-init
--- ccontrol-0.9.1+20060806/ccontrol-init	2007-11-04 12:58:10.0 +1000
+++ ccontrol-0.9.1+20060806-new/ccontrol-init	2007-11-04 13:33:59.0 +1000
@@ -24,7 +24,7 @@
 else
 	echo Found "$ANS" >&2
 fi
-echo $ANS
+echo `dirname $ANS`
 }
 
 test_net()
Nur in ccontrol-0.9.1+20060806-new: ccontrol-init.1.
Nur in ccontrol-0.9.1+20060806-new: ccontrol_test.
Nur in ccontrol-0.9.1+20060806-new: config.status.
Nur in ccontrol-0.9.1+20060806-new/debian: ccontrol.
Nur in ccontrol-0.9.1+20060806-new/debian: ccontrol.substvars.
Nur in ccontrol-0.9.1+20060806-new/debian: files.
Nur in ccontrol-0.9.1+20060806-new/gui: gccontrol.
Nur in ccontrol-0.9.1+20060806-new/gui: gccontrol.1.
Nur in ccontrol-0.9.1+20060806-new: Makefile.
Nur in ccontrol-0.9.1+20060806-new: tags.
Nur in ccontrol-0.9.1+20060806-new/testsuite: 10ccontrol-invoke.test.
Nur in ccontrol-0.9.1+20060806-new/testsuite: 10ccontrol-invoke-V.test.


Bug#433782: libcap-bin: Manual page for `cap_from_text(3)' is missing

2007-10-12 Thread Ted Percival

Ludovic Courtes wrote:

In addition to bug #118186, the manual page for `cap_from_text(3)' (which
is referred to by `getpcaps') isn't available.  This makes it hard to use
the tools.


cap_from_text(3)'s manpage is in libcap-dev. Would this be solved if 
libcap-bin suggested libcap-dev?


I hesitate to suggest a Recommends relationship because satisfying that 
would also bring in libc6-dev.


--
\0



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



Bug#444235: Patch for 444235: Typo in avahi-daemon

2007-09-27 Thread Ted Percival

tags 444235 patch
found 444235 0.6.21-2
thanks


avahi-received.patch:

"Recieved" should also be "'I' before 'E' except after 'C'" (despite the 
many exceptions to that rule[1]).



avahi-an_utf-8.patch:

I also suggest "a UTF-8" is preferable over "an UTF8" because it's 
pronounced with a 'y' sound. (This patch should apply after the other.)



[1] http://web.midg3t.net/blog/109/i-before-e/
[2] http://en.wiktionary.org/wiki/an#Article

--
\0

  pedant (noun):
A person who is overly concerned with formal rules and trivial
points of learning.
  - http://en.wiktionary.org/wiki/pedant
diff -ru avahi-0.6.21-new/avahi-core/server.c avahi-0.6.21-new2/avahi-core/server.c
--- avahi-0.6.21-new/avahi-core/server.c	2007-09-27 17:17:13.0 +1000
+++ avahi-0.6.21-new2/avahi-core/server.c	2007-09-27 17:19:57.0 +1000
@@ -579,7 +579,7 @@
 int unicast_response = 0;
 
 if (!(key = avahi_dns_packet_consume_key(p, &unicast_response))) {
-avahi_log_warn(__FILE__": Packet too short or invalid while reading question key. (Maybe an UTF8 problem?)");
+avahi_log_warn(__FILE__": Packet too short or invalid while reading question key. (Maybe a UTF-8 problem?)");
 goto fail;
 }
 
@@ -606,7 +606,7 @@
 int unique = 0;
 
 if (!(record = avahi_dns_packet_consume_record(p, &unique))) {
-avahi_log_warn(__FILE__": Packet too short or invalid while reading known answer record. (Maybe an UTF8 problem?)");
+avahi_log_warn(__FILE__": Packet too short or invalid while reading known answer record. (Maybe a UTF-8 problem?)");
 goto fail;
 }
 
@@ -623,7 +623,7 @@
 int unique = 0;
 
 if (!(record = avahi_dns_packet_consume_record(p, &unique))) {
-avahi_log_warn(__FILE__": Packet too short or invalid while reading probe record. (Maybe an UTF8 problem?)");
+avahi_log_warn(__FILE__": Packet too short or invalid while reading probe record. (Maybe a UTF-8 problem?)");
 goto fail;
 }
 
@@ -661,7 +661,7 @@
 /* char *txt; */
 
 if (!(record = avahi_dns_packet_consume_record(p, &cache_flush))) {
-avahi_log_warn(__FILE__": Packet too short or invalid while reading response record. (Maybe an UTF8 problem?)");
+avahi_log_warn(__FILE__": Packet too short or invalid while reading response record. (Maybe a UTF-8 problem?)");
 break;
 }
 
diff -ru avahi-0.6.21/avahi-core/server.c avahi-0.6.21-new/avahi-core/server.c
--- avahi-0.6.21/avahi-core/server.c	2007-08-13 01:45:34.0 +1000
+++ avahi-0.6.21-new/avahi-core/server.c	2007-09-27 17:17:13.0 +1000
@@ -228,9 +228,9 @@
 char *t = avahi_record_to_string(record);
 
 if (won)
-avahi_log_debug("Recieved conflicting probe [%s]. Local host won.", t);
+avahi_log_debug("Received conflicting probe [%s]. Local host won.", t);
 else if (lost) {
-avahi_log_debug("Recieved conflicting probe [%s]. Local host lost. Withdrawing.", t);
+avahi_log_debug("Received conflicting probe [%s]. Local host lost. Withdrawing.", t);
 withdraw_rrset(s, record->key);
 }
 
@@ -262,7 +262,7 @@
 
 /* Refresh */
 t = avahi_record_to_string(record); 
-avahi_log_debug("Recieved goodbye record for one of our records [%s]. Refreshing.", t);
+avahi_log_debug("Received goodbye record for one of our records [%s]. Refreshing.", t);
 avahi_server_prepare_matching_responses(s, i, e->record->key, 0);
 
 valid = 0;
@@ -289,7 +289,7 @@
 /* Refresh */
 t = avahi_record_to_string(record); 
 
-avahi_log_debug("Recieved record with bad TTL [%s]. Refreshing.", t);
+avahi_log_debug("Received record with bad TTL [%s]. Refreshing.", t);
 avahi_server_prepare_matching_responses(s, i, e->record->key, 0);
 valid = 0;
 
@@ -326,11 +326,11 @@
 t = avahi_record_to_string(record); 
  
 if (withdraw_immediately) {
-avahi_log_debug("Recieved conflicting record [%s] with local record to be. Withdrawing.", t);
+avahi_log_debug("Received conflicting record [%s] with local record to be. Withdrawing.", t);
 withdraw_rrset(s, record->key);
 } else {
 assert(conflicting_entry);
-avahi_log_debug("Recieved conflicting record [%s]. Resetting our record.", t);
+avahi_log_debug("Received conflicting record [%s]. Resetting our record.", t);
 avahi_entry_return_to_initial_state(s, conflicting_entry, i);
 
 /* Local unique records are returned to probing
@@ -893,7 +893,7 @@
 

Bug#444109: irssi-plugin-xmpp: Copyedited package description

2007-09-25 Thread Ted Percival
Package: irssi-plugin-xmpp
Version: 0.13-1
Severity: minor
Tags: patch

The package description seems a bit awkward to a native English speaker
and "resources" is misspelled. I reviewed the package description and
have some suggested changes.

Thanks,
-Ted
diff -ru irssi-plugin-xmpp-0.13/debian/control 
irssi-plugin-xmpp-0.13-new/debian/control
--- irssi-plugin-xmpp-0.13/debian/control   2007-09-26 16:38:59.0 
+1000
+++ irssi-plugin-xmpp-0.13-new/debian/control   2007-09-26 16:48:00.0 
+1000
@@ -11,15 +11,12 @@
 Description: XMPP plugin for irssi
  An irssi plugin to connect to the Jabber network, using the XMPP protocol.
  .
- Its aim is to provide a good integration in this text-based irc client and a
- good support of XMPP.
- .
- Current main features are:
+ Its main features are:
   - Sending and receiving messages in irssi's query windows
-  - A roster with contact's ressources tracking (contact list)
-  - Contact management (add, remove, manage subscriptions...)
-  - Contact's JIDs, ressources and commands completion (TAB key)
-  - Multiple accounts support (in different connection)
+  - A roster with contact & resource tracking (contact list)
+  - Contact management (add, remove, manage subscriptions)
+  - Tab completion of commands, JIDs and resources
+  - Support for multiple accounts
   - Unicode support (UTF-8)
   - SSL support
  .


Bug#428554: Can't reproduce this problem

2007-09-23 Thread Ted Percival

Andrés Roldán wrote:

Hi.
I am unable to reproduce this problem. I have icedove 2.0.0.4.dfsg1-2
installed and I run prelink daily without problems.


Today I took another look and it works fine, although I have upgraded
some packages since my first message.

These are the packages that have been upgraded since:
  libatk1.0-0 from 1.18.0-2 to 1.20.0-1
  libc6 from 2.6.1-3 to 2.6.1-5
  libpango1.0-0 from 1.18.1-1 to 1.18.2-1

I downgraded them to the original versions and ran `prelink --all -mR` 
but icedove continued to work, so I guess this is now unreproducible for 
me too.


I'll leave the packages at these versions and see if it comes back after 
I've restarted, but I suspect the old error was really because of a 
mismatch between some installed library and what was already loaded into 
memory.


--
\0



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



Bug#325755: fixed 325755 in 0.9.23-1

2007-09-14 Thread Ted Percival
# Automatically generated email from bts, devscripts version 2.10.7
# allow the BTS to consider this closed (sorry for the noise, notfound did not 
seem to work)
fixed 325755 0.9.23-1




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



Bug#325755: notfound 325755 in 0.9.28-2

2007-09-14 Thread Ted Percival
# Automatically generated email from bts, devscripts version 2.10.7
# allow the BTS to consider this closed
notfound 325755 0.9.28-2




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



Bug#442268: tailor: Homepage has changed

2007-09-14 Thread Ted Percival
Package: tailor
Version: 0.9.28-2
Severity: minor

The Tailor homepage has changed from what is in the package description.
It is now http://wiki.darcs.net/DarcsWiki/Tailor


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tailor depends on:
ii  python2.4.4-6An interactive high-level object-o
ii  python-support0.6.4  automated rebuilding support for p

Versions of packages tailor recommends:
ii  rsync 2.6.9-5fast remote file copy program (lik

-- no debconf information



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



Bug#428554: Icedove segfault caused by prelink

2007-09-12 Thread Ted Percival

reassign 428554 prelink 0.0.20061201-1
retitle 428554 prelink: Breaks icedove 2
thanks

I saw Icedove segfaulting today after I upgraded to Icedove 2 yesterday 
(I also added a userChrome.css on the same day). I reinstalled icedove 
and the problem went away, but then I ran `prelink --all` and it came 
back, so I assume this is caused by prelinking.


The exact time of the segfault is when I click on a message and the 
moment I expect it to show up in the preview pane, the segfault occurs.


Ronney, does your machine have prelink installed?

I got a backtrace, not very useful other than to indicate which library 
the segfault is in (libnspr4-0d):



Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209817408 (LWP 18378)]
0x464ff78a in PR_DestroyMonitor () from /usr/lib/libnspr4.so.0d
(gdb) bt
#0  0x464ff78a in PR_DestroyMonitor () from /usr/lib/libnspr4.so.0d
#1  0xb6b89000 in ?? () from
  /usr/lib/icedove/components/libtoolkitcomps.so
#2  0x in ?? ()


It seems to be icedove that is affected, not libnspr because 
reinstalling libnspr4-0d does not change anything but reinstalling 
icedove does. On my machine, libnspr4-0d has been the same version 
(4.6.7-1) for the last 11 days.



Versions of packages prelink (0.0.20061201-1) depends on:
ii  libc62.6.1-3 GNU C Library: Shared libraries
ii  libelfg0 0.8.6-4 an ELF object file access 
library

ii  libselinux1  2.0.15-2+b1 SELinux shared libraries

Versions of packages icedove (2.0.0.4.dfsg1-2) depends on:
ii  debianutils 2.23.1   Miscellaneous utilities 
specific t
ii  fontconfig  2.4.2-1.2generic font configuration 
library

ii  libatk1.0-0 1.18.0-2 The ATK accessibility toolkit
ii  libc6   2.6.1-3  GNU C Library: Shared libraries
ii  libcairo2   1.4.10-1 The Cairo 2D vector 
graphics libra
ii  libfontconfig1  2.4.2-1.2generic font configuration 
library
ii  libfreetype62.3.5-1+b1   FreeType 2 font engine, 
shared lib

ii  libgcc1 1:4.2.1-5GCC support library
ii  libglib2.0-02.14.0-2 The GLib library of C routines
ii  libgtk2.0-0 2.10.13-1The GTK+ graphical user 
interface
ii  libhunspell-1.1-0   1.1.9-1  spell checker and 
morphological an
ii  libjpeg62   6b-14The Independent JPEG 
Group's JPEG
ii  libnspr4-0d 4.6.7-1  NetScape Portable Runtime 
Library
ii  libnss3-0d  3.11.7-1 Network Security Service 
libraries
ii  libpango1.0-0   1.18.1-1 Layout and rendering of 
internatio

ii  libpng12-0  1.2.15~beta5-2   PNG library - runtime
ii  libstdc++6  4.2.1-5  The GNU Standard C++ Library v3
ii  libx11-62:1.0.3-7X11 client-side library
ii  libxcursor1 1:1.1.9-1X cursor management library
ii  libxext61:1.0.3-2X11 miscellaneous extension 
librar
ii  libxfixes3  1:4.0.3-2X11 miscellaneous 'fixes' 
extensio
ii  libxft2 2.1.12-2 FreeType-based font drawing 
librar

ii  libxi6  2:1.1.3-1X11 Input extension library
ii  libxinerama11:1.0.2-1X11 Xinerama extension library
ii  libxrandr2  2:1.2.2-1X11 RandR extension library
ii  libxrender1 1:0.9.3-1X Rendering Extension 
client libra

ii  libxt6  1:1.0.5-3X11 toolkit intrinsics library
ii  psmisc  22.5-1   Utilities that use the proc 
filesy

ii  zlib1g  1:1.2.3.3.dfsg-5 compression library - runtime


--
\0



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



Bug#440602: RFP: tinytinyrss -- Web-based news reader

2007-09-02 Thread Ted Percival
Package: wnpp
Severity: wishlist

* Package name: tinytinyrss
  Version : 1.2.14.2
  Upstream Author : Andrew Dolgov 
* URL : http://tt-rss.spb.ru/
* License : GPL
  Programming Lang: PHP
  Description : Web-based news reader

Tiny Tiny RSS is a web-based news feed (RSS/Atom) aggregator, designed
to allow you to read news from any location, while feeling as close to a
real desktop application as possible.


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



Bug#440324: bugzilla: Uninstallable due to bashisms (when using POSIX shell, eg. dash)

2007-08-31 Thread Ted Percival
Package: bugzilla
Version: 2.22.1-2
Severity: serious
Justification: Policy 10.4

Installation is failing on my system where /bin/sh is a link to
/bin/dash. The precense of the "-ne" and "-e" in output indicates that
there are probably one or more scripts using bash features without
specifying /bin/bash as the interpreter.

Here is a snippet of the output during installation:
> Replacing config file /etc/bugzilla/dbconfig-params with new version
> -ne granting access to database bugzilla for [EMAIL PROTECTED]: 
> -e failed.
> error encountered creating user:
> mysql said: ERROR 1049 (42000): Unknown database 'bugzilla'


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16.29-xen
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages bugzilla depends on:
ii  apache2-mpm-prefork [httpd 2.2.3-4+etch1 Traditional model for Apache HTTPD
ii  dbconfig-common1.8.29+etch1  common framework for packaging dat
ii  debconf [debconf-2.0]  1.5.11Debian configuration management sy
ii  exim4  4.63-17   metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-t 4.63-17   lightweight exim MTA (v4) daemon
ii  libappconfig-perl  1.56-2Perl module for configuration file
ii  libdbd-mysql-perl  3.0008-1  A Perl5 database interface to the 
ii  libmailtools-perl  1.74-1Manipulate email in perl programs
ii  libmime-perl   5.420-0.1 Perl5 modules for MIME-compliant m
ii  libtemplate-perl   2.14-1template processing system written
ii  libtimedate-perl   1.1600-5  Time and date functions for Perl
ii  mysql-client-5.0 [mysql-cl 5.0.32-7etch1 mysql database client binaries
ii  patch  2.5.9-4   Apply a diff file to an original
ii  ucf2.0020Update Configuration File: preserv

Versions of packages bugzilla recommends:
ii  libchart-perl   2.4.1-4  Chart Library for Perl
ii  libxml-parser-perl  2.34-4.2 Perl module for parsing XML files
ii  mysql-server5.0.32-7etch1mysql database server (meta packag
ii  mysql-server-5.0 [m 5.0.32-7etch1mysql database server binaries
ii  perlmagick  7:6.2.4.5.dfsg1-0.14 A perl interface to the libMagick 

-- debconf information excluded


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



Bug#435064: aptitude: Continues downloading packages when disk is full

2007-08-07 Thread Ted Percival

Daniel Burrows wrote:

Are you sure you really had a full partition, and not just one that
had exhausted its non-root quota?


I tested aptitude and it turns out it was just using root quota.

PEBKAC ;)

--
\0


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



Bug#435201: Patch for htdig's noisy cron

2007-08-03 Thread Ted Percival

tags 435201 patch
thanks

Here's a patch for htdig's daily cron script to exit silently if it is 
not installed.


--
\0
diff -ruN htdig-3.2.0b6/debian/htdig.cron.daily htdig-3.2.0b6-new/debian/htdig.cron.daily
--- htdig-3.2.0b6/debian/htdig.cron.daily	2007-08-04 16:22:58.0 +1000
+++ htdig-3.2.0b6-new/debian/htdig.cron.daily	2007-08-04 16:38:38.0 +1000
@@ -1,5 +1,9 @@
 #!/bin/sh
 
+if ! `which lockfile-create >/dev/null 2>&1` || [ ! -x /usr/bin/rundig ]; then
+	exit 0
+fi
+
 if ! lockfile-create /var/run/htdig.cron; then
 # Another htdig indexing cronjob is already running
 exit 0


Bug#435064: aptitude: Continues downloading packages when disk is full

2007-07-31 Thread Ted Percival
Daniel Burrows wrote:
> Are you sure you really had a full partition, and not just one that
> had exhausted its non-root quota?  e.g.,
> 
> [EMAIL PROTECTED]:~$ df -h /mnt
> FilesystemSize  Used Avail Use% Mounted on
> /home/daniel/testfs49M   46M 0 100% /mnt
> 
>   Note that "Size" and "Used" differ.

That was probably the cause. I always wrongly assumed discrepancies were
due to block size rounding rather than reserved-for-root space. I'll run
some tests when I get the opportunity.

Feel free to adjust the bug to match the behaviour you saw rather than
the hallucination I reported.

> [EMAIL PROTECTED]:~$ echo "test" > /mnt/test.txt
> bash: echo: write error: No space left on device test
> [EMAIL PROTECTED]:~$ sudo echo "test" > /mnt/test.txt

The shell redirection in the second command is done by the unprivileged
shell, I would not expect it to be any different from the first command.
I see your point that root can still write to the filesystem, though.

-- 
\0


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



Bug#431054: Found in 0.4.6.1-1 (aptitude doesn't respond to keyboard)

2007-07-30 Thread Ted Percival

found 431054 0.4.6.1-1
thanks

This problem of loss of keyboard input still occurs for me in 0.4.6.1-1 
on 2.6.18.



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.6-6 0.7.4  Advanced front-end for dpkg
ii  libc6 2.6-4  GNU C Library: Shared libra
ii  libgcc1   1:4.2.1-1  GCC support library
ii  libncursesw5  5.6+20070716-1 Shared libraries for termin
ii  libsigc++-2.0-0c2a2.0.17-2   type-safe Signal Framework
ii  libstdc++64.2.1-1The GNU Standard C++ librar

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do  (no description available)
ii  libparse-debianchangelog-perl 1.1-1  parse Debian changelogs and

-- no debconf information

--
\0


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



Bug#435064: aptitude: Continues downloading packages when disk is full

2007-07-30 Thread Ted Percival

Daniel Burrows wrote:

Could you include the contents of sources.list, so I can see what
methods you're using, and describe exactly what symptoms you see?


I saw aptitude continue to download packages. There was nothing out of 
the ordinary as far as aptitude appeared. I knew I'd run out of space 
when I got a notification from Gnome saying my disk was 100% full. I 
opened a terminal and ran 'df -h' and saw that there were indeed 0 bytes 
free.


/etc/apt/sources.list

deb http://ftp.au.debian.org/debian unstable main contrib non-free
deb-src http://ftp.au.debian.org/debian unstable main contrib non-free

deb http://ftp.au.debian.org/debian experimental main contrib non-free
deb-src http://ftp.au.debian.org/debian experimental main contrib non-free

deb http://apt.cerkinfo.be/ unstable main contrib
deb-src http://apt.cerkinfo.be/ unstable main contrib

deb http://svn.debian.org/~heikkih-guest/mugshot ./


/etc/apt/apt.conf
> // Retry once.
> Acquire {
> Retries "1";
> Queue-Mode "host";
> http::Proxy "http://erwin.network.midg3t.net:3142/";;
> }

That http::Proxy is an apt-cacher version 1.5.3. It was definitely being 
used during the connection.


$HOME/.aptitude/config
> aptitude "";
> aptitude::Keep-Unused-Pattern "";
> aptitude::Delete-Unused-Pattern "";
> aptitude::Ignore-Old-Tmp "false";

I did not have to re-run aptitude to install the packages that were 
apparently not hitting my disk, so perhaps they were going somewhere I 
was unaware of. Here is a full list of my mounted partitions. /dev/hda1 
is the one that was full. All the other "real" filesystems (not 
including udev, proc, etc, but including /dev/shm) have enough space for 
the packages that were being downloaded.



/dev/hda1 on / type ext3 (rw,errors=remount-ro,user_xattr)

> /dev/mapper/vg0-lvhome on /home type ext3 (rw,nosuid,user_xattr)
> /dev/sda1 on /500 type ext3 (rw)

tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
proc on /home/ted/chroots/etch/proc type proc (rw)
/dev on /home/ted/chroots/etch/dev type bind (rw,bind)
//erwin/store on /store type smbfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)


/tmp is a symlink to /home/ted/tmp (which has plenty of space). There 
are no symlinks in /var that would cause the packages to go onto another 
partition:

# find /var -type l | grep -E '(apt|dpkg|deb)' | grep -v python
/var/cache/apt-build/repository/stable
/var/cache/apt-build/repository/dists
/var/cache/apt-build/repository/apt-build
/var/cache/apt-build/repository/main
/var/cache/apt-build/repository/binary-i386
/var/log/debian-installer
/var/backup/lenovo/etc/xdg/menus/debian-menu.menu


Daniel Burrows also wrote:

When I manually generate a low-space condition [...]


Out of interest, did you do that by actually filling up your disk, or is 
there some other mechanism for causing ENOSPC?


--
\0


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



Bug#368840: Updated patch for amarok-dbg package

2007-07-29 Thread Ted Percival
Here is an updated patch for adding a debug package, based on the
1.4.6-1 source package.

-- 
\0
diff -ru amarok-1.4.6/debian/control amarok-1.4.6-new/debian/control
--- amarok-1.4.6/debian/control	2007-07-30 14:31:37.0 +1000
+++ amarok-1.4.6-new/debian/control	2007-07-30 14:41:21.0 +1000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Adeodato Simó <[EMAIL PROTECTED]>
 Uploaders: Ana Beatriz Guerrero Lopez <[EMAIL PROTECTED]>
-Build-Depends: cdbs, debhelper, quilt, bzip2, automake1.9, libtool,
+Build-Depends: cdbs, debhelper (>= 5), quilt, bzip2, automake1.9, libtool,
  kdelibs4-dev, kdemultimedia-dev, kdebase-dev,
  libxine-dev,
  libtag1-dev, libsqlite3-dev, libtunepimp-dev,
@@ -60,3 +60,11 @@
  This package provides the xine engine for Amarok, which you may prefer
  for some reason over the other engines (e.g., it is the lightest engine
  Dependency-wise).
+
+Package: amarok-dbg
+Architecture: any
+Depends: amarok (= ${binary:Version})
+Description: Debug information for Amarok
+ This package contains the debug symbols required for providing useful
+ backtraces of Amarok crashes. It is only useful if you intend to debug
+ Amarok or report a crash to the developers.


Bug#435201: htdig: cron.daily script fails noisily when package is not installed

2007-07-29 Thread Ted Percival
Package: htdig
Version: 1:3.2.0b6-3.1
Severity: normal

I removed the htdig and its lockfile-progs dependency but its cron
script remains (as it is a conf file), however every day I get an email
saying:
  /etc/cron.daily/htdig:
  /etc/cron.daily/htdig: 6: lockfile-create: not found

Policy 9.5 (Cron jobs) suggests that "crontab entries in these
directories [/etc/cron.*] should check if all necessary programs are
installed before they try to execute them".


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages htdig depends on:
ii  debconf [debconf-2.0]   1.5.13   Debian configuration management sy
ii  libc6   2.6-2GNU C Library: Shared libraries
ii  libgcc1 1:4.2-20070712-1 GCC support library
ii  libstdc++6  4.2-20070712-1   The GNU Standard C++ Library v3
pn  lockfile-progs (no description available)
ii  perl5.8.8-7  Larry Wall's Practical Extraction 
ii  zlib1g  1:1.2.3.3.dfsg-5 compression library - runtime

htdig recommends no packages.


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



Bug#435141: aptitude: Continues downloading packages when disk is full

2007-07-29 Thread Ted Percival

Package: aptitude
Version: 0.4.5.4-1
Severity: minor

When I run out of disk space downloading packages, aptitude continues
downloading, seemingly unaware that its downloads are going nowhere.
I would expect it to stop downloading packages if the system runs out of
disk space to save on bandwidth.

Bug #377554 is related - it suggests warning the user when aptitude
might cause the system to run low on free space.

The amount of space freed by removing packages should not be counted in
the calculation - in this case I was downloading 350 MB of packages and
freeing 1000 MB with removals. The downloading happens first so the
1000 MB freed is moot.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.5 0.7.3Advanced front-end for dpkg
ii  libc6   2.6-4GNU C Library: Shared libraries
ii  libgcc1 1:4.2-20070712-1 GCC support library
ii  libncursesw55.6-3Shared libraries for 
terminal hand
ii  libsigc++-2.0-0c2a  2.0.17-2 type-safe Signal Framework 
for C++

ii  libstdc++6  4.2-20070712-1   The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do  (no description available)
ii  libparse-debianchangelog-perl 1.0-1  parse Debian changelogs and 
output


-- no debconf information


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



Bug#435064: aptitude: Continues downloading packages when disk is full

2007-07-28 Thread Ted Percival
Package: aptitude
Version: 0.4.5.4-1
Severity: minor

When I run out of disk space downloading packages, aptitude continues 
downloading, seemingly unaware that its downloads are going nowhere.
I would expect it to stop downloading packages if the system runs out of
disk space to save on bandwidth.

Bug #377554 is related - it suggests warning the user when aptitude
might cause the system to run low on free space.

The amount of space freed by removing packages should not be counted in
the calculation - in this case I was downloading 350 MB of packages and
freeing 1000 MB with removals. The downloading happens first so the
1000 MB freed is moot.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.5 0.7.3Advanced front-end for dpkg
ii  libc6   2.6-4GNU C Library: Shared libraries
ii  libgcc1 1:4.2-20070712-1 GCC support library
ii  libncursesw55.6-3Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a  2.0.17-2 type-safe Signal Framework for C++
ii  libstdc++6  4.2-20070712-1   The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do  (no description available)
ii  libparse-debianchangelog-perl 1.0-1  parse Debian changelogs and output

-- no debconf information


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



Bug#407800: Patch for bug #407800 (Debian seahorse)

2007-07-06 Thread Ted Percival

tags 407800 patch upstream
forwarded 407800 http://bugzilla.gnome.org/show_bug.cgi?id=454469
thanks

> seahorse: undocumented conflict with gpg-agent causing crash

I think I have solved this. A patch is attached.

I also filed it upstream (URI above) with a long description of what 
caused the bug.


--
\0
diff -ru seahorse-1.0.1/agent/seahorse-agent-ssh.c seahorse-1.0.1-new/agent/seahorse-agent-ssh.c
--- seahorse-1.0.1/agent/seahorse-agent-ssh.c	2007-03-18 05:36:55.0 +1000
+++ seahorse-1.0.1-new/agent/seahorse-agent-ssh.c	2007-07-07 15:22:22.0 +1000
@@ -713,6 +713,8 @@
 return FALSE;
 
 g_assert (!ssh_agent_initialized);
+
+seahorse_agent_cache_init ();
 
 if (listen (ssh_agent_socket, 5) < 0) {
 g_warning ("couldn't listen on SSH proxy socket: %s: %s", ssh_agent_sockname, g_strerror (errno));


Bug#428157: mail-notification: patch for incorrect no-SSL behaviour

2007-06-09 Thread Ted Percival
tags 428157 patch security
stop

I have sent a patch for this to the upstream tracker:
 https://savannah.nongnu.org/bugs/index.php?20131
 https://savannah.nongnu.org/bugs/download.php?file_id=12991

I wonder if this should be set to grave severity because of password
leakage.

-- 
\0



signature.asc
Description: OpenPGP digital signature


Bug#428157: mail-notification: Silently falls back to unencrypted connection: password sent in cleartext

2007-06-09 Thread Ted Percival
Package: mail-notification
Version: 4.0.dfsg.1-1+b1
Severity: important

mail-notification falls back to unencrypted connections even when the
user has configured a connection to use SSL/TLS. mail-notification will
send a user's password over an insecure connection and it can easily be
sniffed.

It should be clear to the user that SSL/TLS connections are not
possible and there should be no fallback to insecure connections.

This is somewhat related to bug #286672 (Can't use SSL/TLS).


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mail-notification depends on:
ii  gnome-icon-theme   2.18.0-3  GNOME Desktop icon theme
ii  libart-2.0-2   2.3.19-3  Library of functions for 2D graphi
ii  libatk1.0-01.18.0-2  The ATK accessibility toolkit
ii  libbonobo2-0   2.18.0-2  Bonobo CORBA interfaces library
ii  libbonoboui2-0 2.18.0-5  The Bonobo UI library
ii  libc6  2.5-10GNU C Library: Shared libraries
ii  libcairo2  1.4.6-1.1 The Cairo 2D vector graphics libra
ii  libdbus-1-31.0.2-5   simple interprocess messaging syst
ii  libdbus-glib-1-2   0.73-2simple interprocess messaging syst
ii  libeel2-2.18   2.18.0.1-2Eazel Extensions Library (for GNOM
ii  libfontconfig1 2.4.2-1.2 generic font configuration library
ii  libfreetype6   2.2.1-6   FreeType 2 font engine, shared lib
ii  libgail-common 1.18.0-2  GNOME Accessibility Implementation
ii  libgail18  1.18.0-2  GNOME Accessibility Implementation
ii  libgconf2-42.18.0.1-3GNOME configuration database syste
ii  libglade2-01:2.6.0-4 library to load .glade files at ru
ii  libglib2.0-0   2.12.12-1 The GLib library of C routines
ii  libgmime-2.0-2 2.2.9-1   MIME library, unstable version
ii  libgnome-keyring0  0.8.1-2   GNOME keyring services library
ii  libgnome2-02.18.0-4  The GNOME 2 library - runtime file
ii  libgnomecanvas2-0  2.14.0-2  A powerful object-oriented display
ii  libgnomeui-0   2.18.1-2  The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0 1:2.18.1-2GNOME Virtual File System (runtime
ii  libgtk2.0-02.10.12-2 The GTK+ graphical user interface 
ii  libice61:1.0.3-2 X11 Inter-Client Exchange library
ii  libnotify1 [libnotify1 0.4.4-3   sends desktop notifications to a n
ii  liborbit2  1:2.14.7-0.1  libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0  1.16.4-1  Layout and rendering of internatio
ii  libpng12-0 1.2.15~beta5-2PNG library - runtime
ii  libpopt0   1.10-3lib for parsing cmdline parameters
ii  libsasl2-2 2.1.22.dfsg1-8+b1 Authentication abstraction library
ii  libsm6 2:1.0.3-1 X11 Session Management library
ii  libx11-6   2:1.0.3-7 X11 client-side library
ii  libxcursor11:1.1.8-2 X cursor management library
ii  libxext6   1:1.0.3-2 X11 miscellaneous extension librar
ii  libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii  libxi6 1:1.0.1-4 X11 Input extension library
ii  libxinerama1   1:1.0.2-1 X11 Xinerama extension library
ii  libxml22.6.28.dfsg-1 GNOME XML library
ii  libxrandr2 2:1.2.1-1 X11 RandR extension library
ii  libxrender11:0.9.2-1 X Rendering Extension client libra
ii  zlib1g 1:1.2.3-15compression library - runtime

mail-notification recommends no packages.

-- no debconf information


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



Bug#425783: apt-listbugs: Obsolete invocation of `tail`

2007-05-23 Thread Ted Percival
Package: apt-listbugs
Version: 0.0.75
Severity: normal
Tags: patch

apt-listbugs uses the obsolete tail invocation of "tail -1". The
coreutils NEWS.Debian.gz and tail info page describe that it should be
changed to "tail -n 1".

This showed up when I used inotail as /usr/bin/tail.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-listbugs depends on:
ii  apt 0.6.46.4-0.1 Advanced front-end for dpkg
ii  libdpkg-ruby1.8 0.3.2modules/classes for dpkg on ruby 1
ii  libhttp-access2-ruby1.8 2.0.6-3  HTTP accessing library for ruby
ii  libintl-gettext-ruby1.8 0.11-9   Gettext wrapper for Ruby 1.8
ii  libruby1.8 [libzlib-ruby1.8 1.8.6-1  Libraries necessary to run Ruby 1.
ii  libxml-parser-ruby1.8   0.6.8-2  Interface of expat for the scripti
ii  ruby1.8.2-1  An interpreter of object-oriented 

apt-listbugs recommends no packages.

-- no debconf information
diff -ru apt-listbugs-0.0.75/aptcleanup apt-listbugs-0.0.75-new/aptcleanup
--- apt-listbugs-0.0.75/aptcleanup  2005-06-02 13:25:09.0 +1000
+++ apt-listbugs-0.0.75-new/aptcleanup  2007-05-24 10:12:37.0 +1000
@@ -10,7 +10,7 @@
 pinnedpkgs = buf.split(' ')
 $stderr.puts "Pinned: #{pinnedpkgs.sort.join(' ')}" if $DEBUG
 bugpkgs = []
-open("|/usr/sbin/apt-listbugs -q list #{buf} | tail -1 ") { |io|
+open("|/usr/sbin/apt-listbugs -q list #{buf} | tail -n 1 ") { |io|
   buf = io.read.delete(' ').gsub(/\([^\)]+\)/,'').chomp
   bugpkgs = buf.split(',')
 }


Bug#215849: ccache profiling patch

2007-05-19 Thread Ted Percival
I've had this problem too. The effect was the .gcno file never
showing up for object compilation.

I think a reasonable workaround is to simply pass profiling-enabled
builds to a real compiler, rather than trying to cache them.

Frediano Ziglio provides some details at
http://lists.samba.org/archive/ccache/2006q1/000216.html

Based on that, I created a really dumb/simple patch for the Debian
package to pass profiling-enabled builds to the compiler. It is attached.

-- 
\0
diff -ru ccache-2.4/ccache.c ccache-2.4-tp/ccache.c
--- ccache-2.4/ccache.c	2007-05-20 03:14:19.0 +1000
+++ ccache-2.4-tp/ccache.c	2007-05-20 03:17:54.0 +1000
@@ -641,6 +641,9 @@
 
 		/* these are too hard */
 		if (strcmp(argv[i], "-fbranch-probabilities")==0 ||
+		strcmp(argv[i], "-fprofile-arcs") == 0 ||
+		strcmp(argv[i], "-ftest-coverage") == 0 ||
+		strcmp(argv[i], "--coverage") == 0 ||
 		strcmp(argv[i], "-M") == 0 ||
 		strcmp(argv[i], "-MM") == 0 ||
 		strcmp(argv[i], "-x") == 0) {


signature.asc
Description: OpenPGP digital signature


Bug#422188: bum: Homepage should not have trailing slash (/)

2007-05-03 Thread Ted Percival
Package: bum
Version: 2.1.8-1
Severity: minor
Tags: patch

The Homepage line contains a trailing slash that leads to a page with
broken CSS. Removing the slash at the end leads to the right place.

It should also be indented by one more space (and with an empty line
before it) to match the format and output recommended in the Developers
Reference
().


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bum depends on:
ii  gksu 2.0.0-4 graphical frontend to su
ii  libglib-perl 1:1.140-1   Perl interface to the GLib and GOb
ii  libgtk2-gladexml-perl1.006-1 Perl interface to use user interfa
ii  libgtk2-perl 1:1.140-1   Perl interface to the 2.x series o
ii  liblocale-gettext-perl   1.05-1  Using libc functions for internati
ii  perl 5.8.8-7 Larry Wall's Practical Extraction 
ii  sysv-rc  2.86.ds1-38 System-V-like runlevel change mech

bum recommends no packages.

-- no debconf information
diff -ru bum-2.1.8/debian/control bum-2.1.8-new/debian/control
--- bum-2.1.8/debian/control2007-05-04 16:17:06.0 +1000
+++ bum-2.1.8-new/debian/control2007-05-04 16:21:08.0 +1000
@@ -13,5 +13,5 @@
  Boot-Up Manager is a graphical tool to allow easy configuration
  of init services in user and system runlevels, as far as changing
  Start/Stop services priority. 
- Homepage: http://www.marzocca.net/linux/bum.html/
-
+ .
+  Homepage: http://www.marzocca.net/linux/bum.html


Bug#419186: apt-listbugs: Prompt breaks/repeats with non [Y/n] response

2007-04-14 Thread Ted Percival
Package: apt-listbugs
Version: 0.0.74
Severity: minor

The apt-listbugs prompts append the [Y/n] prompt every time, which leads
to interesting/broken prompts if something other than 'y' or 'n' is
entered:
> Retry downloading bug information?[Y/n]? l
> Retry downloading bug information?[Y/n]?[Y/n]? l
> Retry downloading bug information?[Y/n]?[Y/n]?[Y/n]? l
and so on.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-listbugs depends on:
ii  apt 0.6.46.4-0.1 Advanced front-end for dpkg
ii  libdpkg-ruby1.8 0.3.2modules/classes for dpkg on ruby 1
ii  libhttp-access2-ruby1.8 2.0.6-3  HTTP accessing library for ruby
ii  libintl-gettext-ruby1.8 0.11-9   Gettext wrapper for Ruby 1.8
ii  libruby1.8 [libzlib-ruby1.8 1.8.6-1  Libraries necessary to run Ruby 1.
ii  libxml-parser-ruby1.8   0.6.8-2  Interface of expat for the scripti
ii  ruby1.8.2-1  An interpreter of object-oriented 

apt-listbugs recommends no packages.


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



Bug#418496: kernel-package: Typo "call" -> "cause" in make-kpkg(1) manpage

2007-04-09 Thread Ted Percival
Package: kernel-package
Version: 10.067
Severity: minor

The make-kpkg(1) manpage says the following under CONCURRENCY_LEVEL:
> Do NOT set the -j
> option in MAKEFLAGS directly, this shall call the build to fail.

It should be "... shall cause the build to fail."
^


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


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



Bug#418494: checkinstall: Charset not set for de and es, displays broken characters

2007-04-09 Thread Ted Percival
Package: checkinstall
Version: 1.6.1-1
Severity: minor
Tags: patch l10n

The German (de) and Spanish (es) PO-files don't have their charsets set,
causing some characters to display incorrectly.

I discovered this with "LANG=de_DE.utf8". LANG=es_ES.utf8 is probably
the same, but I couldn't test properly because I have destroyed Spanish
translations on my system by using localepurge.

I detected the existing character sets using 'file' which reported both
as ISO-8859. I chose -15 for German and -1 for Spanish based on
. The German translation shows up
properly with this setting.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages checkinstall depends on:
ii  file4.20-4   Determines file type using "magic"
ii  findutils   4.2.28-2 utilities for finding files--find,
ii  libc6   2.3.6.ds1-13 GNU C Library: Shared libraries

checkinstall recommends no packages.

-- no debconf information
diff -ru checkinstall-1.6.1/locale/checkinstall-de.po checkinstall-1.6.1-new/locale/checkinstall-de.po
--- checkinstall-1.6.1/locale/checkinstall-de.po	2006-11-01 17:09:54.0 +1000
+++ checkinstall-1.6.1-new/locale/checkinstall-de.po	2007-04-10 12:46:52.0 +1000
@@ -16,7 +16,7 @@
 "Last-Translator: Andreas Muck <[EMAIL PROTECTED]>\n"
 "Language-Team: DE <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=iso-8859-15\n"
 "Content-Transfer-Encoding: 8bit\n"
 
 msgid "   This software is released under the GNU GPL."
diff -ru checkinstall-1.6.1/locale/checkinstall-es.po checkinstall-1.6.1-new/locale/checkinstall-es.po
--- checkinstall-1.6.1/locale/checkinstall-es.po	2003-03-14 05:09:49.0 +1000
+++ checkinstall-1.6.1-new/locale/checkinstall-es.po	2007-04-10 13:00:40.0 +1000
@@ -11,7 +11,7 @@
 "Last-Translator: Felipe Eduardo Sanchez Diaz Duran <[EMAIL PROTECTED]>\n"
 "Language-Team: ES <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
 "Content-Transfer-Encoding: 8bit\n"
 
 msgid "   This software is released under the GNU GPL."


Bug#418242: bpalogin-configure uses bashism for "read" builtin

2007-04-08 Thread Ted Percival
Package: bpalogin
Version: 2.0.2-9
Severity: normal
Tags: patch

When /bin/sh points to /bin/dash, bpalogin-configure doesn't work --
instead it prints out messages like:
> read: 63: arg count
> read: 191: arg count
and exits without prompting for anything.

It is relying on bash to assign a response to the REPLY variable.
dash's read command must have a variable name passed to it.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-486
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages bpalogin depends on:
ii  libc6   2.3.6.ds1-13 GNU C Library: Shared libraries
ii  lsb-base3.1-23.1 Linux Standard Base 3.1 init scrip

Versions of packages bpalogin recommends:
ii  dhcp-client  2.0pl5-19.5 DHCP Client

-- no debconf information
--- /usr/sbin/bpalogin-configure2006-07-10 15:45:09.0 +1000
+++ /tmp/bp/bpalogin-configure  2007-04-08 22:27:30.0 +1000
@@ -23,7 +23,7 @@
 fi
 
 eval `cat "$CONFIG_FILE" | \
-(while read
+(while read REPLY
   do
 case "$REPLY" in
   '# '*)
@@ -85,7 +85,7 @@
   for var in $variables
   do
 echo -n "Enter $var [`eval 'echo $'$var`]: "
-if read && [ -n "$REPLY" ]
+if read REPLY && [ -n "$REPLY" ]
 then
   eval "$var=\"$REPLY\""
 fi
@@ -99,7 +99,7 @@
 then
   echo
   echo -n "Would you like to configure additional options? (y/n): "
-  read
+  read REPLY
   case "$REPLY" in
 [Yy]*)
   cat <

Bug#416238: gdm: Should suggest xnest

2007-03-25 Thread Ted Percival
Package: gdm
Version: 2.16.4-1.1
Severity: wishlist

gdm should Suggest xnest, because when Xnest is installed the "New Login
in a Nested Window" menu item will be visible and gdmflexiserver --xnest
will work.

See /usr/share/applications/gdmflexiserver-xnest.desktop for reference.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages gdm depends on:
ii  adduser  3.102   Add and remove users and groups
ii  debconf [debconf-2.0 1.5.13  Debian configuration management sy
ii  gksu 2.0.0-4 graphical frontend to su
ii  gnome-session2.14.3-6The GNOME 2 Session Manager
ii  gnome-terminal [x-te 2.14.2-2The GNOME 2 terminal emulator appl
ii  konsole [x-terminal- 4:3.5.5a.dfsg.1-6   X terminal emulator for KDE
ii  kwin [x-window-manag 4:3.5.5a.dfsg.1-6   the KDE window manager
ii  libart-2.0-2 2.3.17-1Library of functions for 2D graphi
ii  libatk1.0-0  1.12.4-3The ATK accessibility toolkit
ii  libattr1 1:2.4.32-1.1Extended attribute shared library
ii  libc62.3.6.ds1-13GNU C Library: Shared libraries
ii  libcairo21.2.4-4 The Cairo 2D vector graphics libra
ii  libdmx1  1:1.0.2-2   X11 Distributed Multihead extensio
ii  libfontconfig1   2.4.2-1.2   generic font configuration library
ii  libglade2-0  1:2.6.0-4   library to load .glade files at ru
ii  libglib2.0-0 2.12.6-2The GLib library of C routines
ii  libgnomecanvas2-02.14.0-2A powerful object-oriented display
ii  libgtk2.0-0  2.8.20-7The GTK+ graphical user interface 
ii  libpam-modules   0.79-4  Pluggable Authentication Modules f
ii  libpam-runtime   0.79-4  Runtime support for the PAM librar
ii  libpam0g 0.79-4  Pluggable Authentication Modules l
ii  libpango1.0-01.14.8-5Layout and rendering of internatio
ii  libpopt0 1.10-3  lib for parsing cmdline parameters
ii  librsvg2-2   2.14.4-2SAX-based renderer library for SVG
ii  librsvg2-common  2.14.4-2SAX-based renderer library for SVG
ii  libselinux1  1.32-3  SELinux shared libraries
ii  libwrap0 7.6.dbs-13  Wietse Venema's TCP wrappers libra
ii  libx11-6 2:1.0.3-6   X11 client-side library
ii  libxau6  1:1.0.1-2   X11 authorisation library
ii  libxcursor1  1.1.7-4 X cursor management library
ii  libxdmcp61:1.0.1-2   X11 Display Manager Control Protoc
ii  libxext6 1:1.0.1-2   X11 miscellaneous extension librar
ii  libxfixes3   1:4.0.1-5   X11 miscellaneous 'fixes' extensio
ii  libxi6   1:1.0.1-4   X11 Input extension library
ii  libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii  libxml2  2.6.27.dfsg-1   GNOME XML library
ii  libxrandr2   2:1.1.0.2-5 X11 RandR extension library
ii  libxrender1  1:0.9.1-3   X Rendering Extension client libra
ii  lsb-base 3.1-23.1Linux Standard Base 3.1 init scrip
ii  metacity [x-window-m 1:2.14.5-4  A lightweight GTK2 based Window Ma
ii  rxvt [x-terminal-emu 1:2.6.4-10  VT102 terminal emulator for the X 
ii  sawfish [x-window-ma 1:1.3+cvs20061004-1 a window manager for X11
ii  xbase-clients1:7.1.ds1-2 miscellaneous X clients

Versions of packages gdm recommends:
ii  dialog1.0-20060221-3 Displays user-friendly dialog boxe
ii  gdm-themes0.5.1  Themes for the GNOME Display Manag
ii  whiptail  0.52.2-10  Displays user-friendly dialog boxe
ii  zenity2.14.3-2   Display graphical dialog boxes fro

-- debconf information:
  gdm/daemon_name: /usr/bin/gdm
* shared/default-x-display-manager: gdm


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



Bug#416236: desktop-file-utils: Manpage for non-existent command desktop-menu-tool

2007-03-25 Thread Ted Percival
Package: desktop-file-utils
Version: 0.11-1
Severity: minor

desktop-file-utils ships a manpage for desktop-menu-tool(1) but there is
no such command. An `apt-file search` indicates the program does not
exist at all in Debian, so it can probably just be removed. The
package's README can also be updated to remove reference to that
command.

Some other minor points:
- It would be nice if the README file was wrapped at <80 columns.
- The desktop-file-install manpage is in section 8, but the command is
  installed in /usr/bin. Should the manpage be in section 1?


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages desktop-file-utils depends on:
ii  libc6   2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libglib2.0-02.12.6-2 The GLib library of C routines

desktop-file-utils recommends no packages.

-- no debconf information


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



Bug#326733: Minor bug in that snapshot patch

2007-03-19 Thread Ted Percival
Ted Percival wrote:
> I have an early version of the change available that will patch against
> the current (4.24-5) version of XScreenSaver in Debian if you're
> interested.

I just remembered a bug where if the newLoginCommand option is not set,
there will be no mouse cursor with which to click the button. The Debian
packages are not configured this way by default. (Too many negatives
there; if you use the default Debian config, you will be OK.)

There is a fix for it, though:
  svn diff -r51:52 http://rc.vintela.com/svn/repos/xscreensaver/trunk

Anyway the patch on its own is not thoroughly tested, it's more of a
development snapshot. For most people, just wait for the upstream release.

-- 
tedp



signature.asc
Description: OpenPGP digital signature


Bug#326733: Done upstream, patch available

2007-03-18 Thread Ted Percival
A patch has been merged upstream that adds an "Unlock" button. The
button positioning is not yet finalised but it should at least be an
improvement from the current dialog.

I have an early version of the change available that will patch against
the current (4.24-5) version of XScreenSaver in Debian if you're
interested. It is not the same as what went in upstream because of
subsequent changes (and because upstream is now up to version 5.01). The
patch and a screenshot are attached.

-- 
tedp
(c) 2007, Quest Software, Inc. All rights reserved.

This file is part of XScreenSaver,
Copyright (c) 1993-2006 Jamie Zawinski <[EMAIL PROTECTED]>

Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.  No representations are made about the suitability of this
software for any purpose.  It is provided "as is" without express or 
implied warranty.

diff -ru xscreensaver-4.24/driver/lock.c xscreensaver-4.24-new/driver/lock.c
--- xscreensaver-4.24/driver/lock.c	2007-01-22 16:29:03.0 +1000
+++ xscreensaver-4.24-new/driver/lock.c	2007-01-30 15:22:16.0 +1000
@@ -108,6 +108,7 @@
   char *date_label;
   char *user_string;
   char *passwd_string;
+  char *unlock_label;
   char *login_label;
 
   XFontStruct *heading_font;
@@ -137,6 +138,9 @@
   Dimension passwd_field_x, passwd_field_y;
   Dimension passwd_field_width, passwd_field_height;
 
+  Dimension unlock_button_x, unlock_button_y;
+  Dimension unlock_button_width, unlock_button_height;
+
   Dimension login_button_x, login_button_y;
   Dimension login_button_width, login_button_height;
 
@@ -149,6 +153,7 @@
   unsigned long *logo_pixels;
 
   Cursor passwd_cursor;
+  Bool unlock_button_down_p;
   Bool login_button_down_p;
   Bool login_button_p;
   Bool login_button_enabled_p;
@@ -161,7 +166,7 @@
   float ratio);
 static void destroy_passwd_window (saver_info *si);
 static void undo_vp_motion (saver_info *si);
-static void handle_passwd_button (saver_info *si, XEvent *event);
+static void finished_typing_passwd (saver_info *si, passwd_dialog_data *pw);
 
 
 static void
@@ -206,6 +211,8 @@
 	"Dialog.Label.Label");
   pw->passwd_label = get_string_resource ("passwd.passwd.label",
 	  "Dialog.Label.Label");
+  pw->unlock_label = get_string_resource ("passwd.unlock.label",
+	"Dialog.Button.Label");
   pw->login_label = get_string_resource ("passwd.login.label",
  "Dialog.Button.Label");
 
@@ -218,6 +225,7 @@
   if (!pw->user_label) pw->user_label = strdup("ERROR");
   if (!pw->passwd_label) pw->passwd_label = strdup("ERROR");
   if (!pw->date_label) pw->date_label = strdup("ERROR");
+  if (!pw->unlock_label) pw->unlock_label = strdup("ERROR (UNLOCK)");
   if (!pw->login_label) pw->login_label = strdup ("ERROR (LOGIN)") ;
 
   /* Put the version number in the label. */
@@ -378,6 +386,26 @@
   w2 = w2 + w3 + (pw->shadow_width * 2);
   h2 = MAX (h2, h3);
 
+  /* The "Unlock" button. */
+  XTextExtents (pw->label_font,
+		pw->unlock_label, strlen(pw->unlock_label),
+		&direction, &ascent, &descent, &overall);
+  button_w = overall.width;
+  button_h = ascent + descent;
+
+  /* Add some horizontal padding inside the button. */
+  button_w += ascent;
+  
+  button_w += ((ascent + descent) / 2) + (pw->shadow_width * 2);
+  button_h += ((ascent + descent) / 2) + (pw->shadow_width * 2);
+
+  pw->unlock_button_width = button_w;
+  pw->unlock_button_height = button_h;
+
+  w2 = MAX (w2, button_w);
+  h2 += button_h * 1.5;
+
+  /* The "New Login" button */
   pw->login_button_width = 0;
   pw->login_button_height = 0;
 
@@ -554,10 +582,9 @@
(pw->shadow_width * 4 +
 pw->date_font->ascent + pw->date_font->descent);
 
-  if (pw->login_button_p)
-height += ((pw->button_font->ascent + pw->button_font->descent) * 2 +
-   2 * pw->shadow_width);
-
+  height += ((pw->button_font->ascent + pw->button_font->descent) * 2 +
+ 2 * pw->shadow_width) * (pw->login_button_p ? 2 : 1);
+  
   spacing = (((pw->height
- ((pw->login_button_p ? 4 : 2) * pw->shadow_width)
- pw->internal_border - height))
@@ -689,13 +716,37 @@
 XDrawString (si->dpy, si->passwd_dialog, gc1, x2, y1, buf, strlen(buf));
   }
 
+  /* Set up the GCs for the "New Login" and "Unlock" buttons.
+   */
+  XSetForeground(si->dpy, gc1, pw->button_foreground);
+  XSetForeground(si->dpy, gc2, pw->button_background);
+  XSetFont(si->dpy, gc1, pw->button_font->fid);
+
+  /* The "Unlock" button */
+  x2 = pw->width - pw->internal_border - (pw->shadow_width * 2);
+
+  /* centered button */
+  x1 = (pw->logo_width + pw->thermo_width + (pw->shadow_width * 

Bug#414156: apt-cacher: Does not reopen log file after it is cycled

2007-03-09 Thread Ted Percival
Package: apt-cacher
Version: 1.5.3
Severity: normal

apt-cacher has a daily logrotate command, but the process is not
notified that the logfile has been cycled. That means logging
information is written to the now-cycled log file.

Here, the .1 file is still being written to (note the file timestamps):

:/var/log/apt-cacher$ ls -l access.log*
-rw-r--r-- 1 www-data www-data  284277 2007-03-09 06:43 access.log
-rw-r--r-- 1 www-data www-data 1549638 2007-03-10 01:40 access.log.1


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)


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



Bug#408898: samba-common: smb.conf refers to wrong documentation directory

2007-01-28 Thread Ted Percival
Package: samba-common
Version: 3.0.23d-4
Severity: minor

The included smb.conf file refers to the file
/usr/share/doc/samba-doc/htmldocs/Samba-HOWTO-Collection/ServerType.html
but it is actually in
/usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html

There is also a reference to
/usr/share/doc/samba-doc/htmldocs/speed.html that should be
/usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html

-- 
tedp


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



Bug#408368: avifile-utils: Typo in avicat manpage (joing -> joining)

2007-01-25 Thread Ted Percival
Package: avifile-utils
Version: 1:0.7.44.20051021-2.2+b1
Severity: minor

The avicat manpage says:
>avicat - cat tool for joing files

Looks like s/joing/joining/ would do the trick :)

Cheers.
-tedp

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages avifile-utils depends on:
ii  avifile-player  1:0.7.44.20051021-2.2+b1 video player for AVI/ASF/WMF files
ii  libavifile-0.7c 1:0.7.44.20051021-2.2+b1 shared libraries for AVI read/writ
ii  libc6   2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libfontconfig1  2.4.2-1  generic font configuration library
ii  libgcc1 1:4.2-20060709-1 GCC support library
ii  libice6 1:1.0.1-2X11 Inter-Client Exchange library
ii  libjpeg62   6b-13The Independent JPEG Group's JPEG 
ii  libqt3-mt   3:3.3.7-3Qt GUI Library (Threaded runtime v
ii  libsdl1.2debian 1.2.11-7 Simple DirectMedia Layer
ii  libsm6  1:1.0.1-3X11 Session Management library
ii  libstdc++6  4.1.1-21 The GNU Standard C++ Library v3
ii  libx11-62:1.0.3-4X11 client-side library
ii  libxext61:1.0.1-2X11 miscellaneous extension librar
ii  libxft2 2.1.8.2-8FreeType-based font drawing librar
ii  libxi6  1:1.0.1-4X11 Input extension library
ii  libxinerama11:1.0.1-4.1  X11 Xinerama extension library

avifile-utils recommends no packages.

-- no debconf information


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



Bug#408343: ssh-askpass: Package ships /usr/bin and /usr/sbin but does not use them

2007-01-24 Thread Ted Percival
Package: ssh-askpass
Version: 1:1.2.4.1-6.1
Severity: minor

The ssh-askpass package creates /usr/bin and /usr/sbin but does not put
any files in those directories:

> $ dpkg -L ssh-askpass | grep bin
> /usr/bin
> /usr/sbin

They are created by the debian/dirs file and dh_installdirs.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-tp1
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)

Versions of packages ssh-askpass depends on:
ii  libc6   2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libice6 1:1.0.1-2X11 Inter-Client Exchange library
ii  libsm6  1:1.0.1-3X11 Session Management library
ii  libx11-62:1.0.3-4X11 client-side library
ii  libxt6  1:1.0.2-2X11 toolkit intrinsics library

ssh-askpass recommends no packages.

-- no debconf information


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



Bug#408030: systemimager-server-flamethrowerd: Incorrect package description

2007-01-22 Thread Ted Percival
Package: systemimager-server-flamethrowerd
Version: 3.6.3dfsg1-2
Severity: minor

The systemimager-server-flamethrowerd package has the wrong short
description:

$ apt-cache show systemimager-server-flamethrowerd | grep ^Description
Description: SystemImager boot binaries for ia64 client nodes

Its long description is fine.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)


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



Bug#407886: xscreensaver: New upstream release: 5.01

2007-01-21 Thread Ted Percival
Package: xscreensaver
Version: 4.24-5
Severity: wishlist

I'd love to see the latest version of XScreenSaver packaged for Debian.
Currently the latest version is 5.01:
http://www.jwz.org/xscreensaver/download.html

-- 
tedp


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



Bug#320742: Too much work

2006-11-07 Thread Ted Percival
OK, turns out to be difficult to do without messing up with the giant
state machine that the readConfigFile function is. I suggest using the
existing fix for now. After seeing the myriad of things that could cause
logrotate to exit, I think it's OK for logrotate to exit if missingok is
not set and a glob fails.

-- 
tp



signature.asc
Description: OpenPGP digital signature


Bug#320742: Patch for logrotate #320742

2006-11-05 Thread Ted Percival
Ted Percival wrote:
> If missingok is _not_ set and a glob fails, logrotate will still exit
> without processing any more stanzas & log files. If you think it should
> continue, just remove lines 71 and 72 of the patch.

Having thought about this a bit more, I think printing an error message
and continuing would be the correct behaviour, however it should still
exit with a failure code. That will require a bit more than just
removing lines 71 and 72 of the patch. I'll try to get an updated patch
available soon.

-- 
tp


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



Bug#396949: Patch for Debian #396964 - lynx security

2006-11-05 Thread Ted Percival
tags 396964 patch
stop

Here's a possible patch to stop lynx opening .mailcap and .mime.types
files in its current directory.

-- 
tp
diff -ru lynx-2.8.5/src/HTInit.c lynx-2.8.5-new/src/HTInit.c
--- lynx-2.8.5/src/HTInit.c	2004-01-08 12:03:09.0 +1000
+++ lynx-2.8.5-new/src/HTInit.c	2006-11-05 19:20:20.0 +1000
@@ -157,10 +157,7 @@
  /*
   *  Load the local maps.
   */
- if (LYCanReadFile(personal_type_map)) {
- /* These should override everything else. */
- HTLoadTypesConfigFile(personal_type_map);
- } else {
+ {
  char buffer[LY_MAXPATH];
  LYAddPathToHome(buffer, sizeof(buffer), personal_type_map);
  HTLoadTypesConfigFile(buffer);
@@ -1050,10 +1047,7 @@
 /* These should override the default extensions as necessary. */
 HTLoadExtensionsConfigFile(global_extension_map);
 
-if (LYCanReadFile(personal_extension_map)) {
-	/* These should override everything else. */
-	HTLoadExtensionsConfigFile(personal_extension_map);
-} else {
+{
 	char buffer[LY_MAXPATH];
 	LYAddPathToHome(buffer, sizeof(buffer), personal_extension_map);
 	/* These should override everything else. */


signature.asc
Description: OpenPGP digital signature


Bug#320742: Patch for logrotate #320742

2006-11-03 Thread Ted Percival
tags 320742 patch
stop

Here's a patch that makes the "missingok" directive within a stanza
apply to the glob of files it is meant to apply to.

If missingok is _not_ set and a glob fails, logrotate will still exit
without processing any more stanzas & log files. If you think it should
continue, just remove lines 71 and 72 of the patch.

-- 
tp
Patch for Debian bugs #277652, #320742, #391439:
Logrotate breaks if unmatched glob pattern is found

This patch makes the "missingok" directive apply to the directory glob.
Patch by Ted Percival <[EMAIL PROTECTED]>, 2006-11-04.

--- logrotate-3.7.1/config.c	2003-08-07 21:13:14.0 +1000
+++ logrotate-3.7.1-new/config.c	2006-11-04 16:31:43.0 +1000
@@ -38,6 +38,7 @@
 /* I shouldn't use globals here :-( */
 static char ** tabooExts = NULL;
 int tabooCount = 0;
+static int glob_errno = 0;
 
 static int readConfigFile(const char * configFile, logInfo * defConfig, 
 			  logInfo ** logsPtr, int * numLogsPtr);
@@ -342,8 +343,7 @@
 }
 
 static int globerr(const char * pathname, int theerr) {
-message(MESS_ERROR, "error accessing %s: %s\n", pathname, 
-	strerror(theerr));
+glob_errno = theerr;
 
 /* We want the glob operation to abort on error, so return 1 */
 return 1;
@@ -372,6 +372,7 @@
 glob_t globResult;
 const char ** argv;
 int argc, argNum;
+char *globerr_msg = NULL;
 
 /* FIXME: createOwner and createGroup probably shouldn't be fixed
length arrays -- of course, if we aren't run setuid it doesn't
@@ -961,14 +962,21 @@
 	newlog->files = NULL;
 	newlog->numFiles = 0;
 	for (argNum = 0; argNum < argc; argNum++) {
+		if (globerr_msg) {
+		free(globerr_msg);
+		globerr_msg = NULL;
+		}
+
 		rc = glob(argv[argNum], GLOB_NOCHECK, globerr, &globResult);
 		if (rc == GLOB_ABORTED) {
-		if(newlog->flags & LOG_FLAG_MISSINGOK)
-		continue;
+		/* We don't yet know whether this stanza has "missingok"
+		 * set, so store the error message for later. */
+		rc = asprintf(&globerr_msg, "%s:%d glob failed for %s: %s\n",
+			configFile, lineNum, argv[argNum], strerror(glob_errno));
+		if (rc == -1)
+			globerr_msg = NULL;
 
-		message(MESS_ERROR, "%s:%d glob failed for %s\n",
-			configFile, lineNum, argv[argNum]);
-		return 1;
+		globResult.gl_pathc = 0;
 		}
 
 		newlog->files = realloc(newlog->files, sizeof(*newlog->files) * 
@@ -1012,6 +1020,15 @@
 		return 1;
 	}
 
+	if (globerr_msg) {
+		if (!(newlog->flags & LOG_FLAG_MISSINGOK))
+		message(MESS_ERROR, globerr_msg);
+		free(globerr_msg);
+		globerr_msg = NULL;
+		if (!(newlog->flags & LOG_FLAG_MISSINGOK))
+		return 1;
+	}
+
 	if (newlog->oldDir) {
 		for (i = 0; i < newlog->numFiles; i++) {
 		char *ld;


signature.asc
Description: OpenPGP digital signature


Bug#395897: Patch for ktorrent FTBFS (#395897)

2006-11-03 Thread Ted Percival
tags 395897 patch fixed-upstream
stop

Upstream removed the LDFLAGS in revision 594434 [1].

This patch removes all three instances of LDFLAGS from the source,
equivalent to the upstream change. It fixed FTBFS on my powerpc machine
and passed "program starts OK" testing.

[1] Upstream revision 594434:
http://websvn.kde.org/trunk/extragear/network/ktorrent/configure.in.in?rev=594434&view=rev

-- 
tp
diff -ru ktorrent-2.0.3+dfsg1/configure ktorrent-2.0.3+dfsg1-new/configure
--- ktorrent-2.0.3+dfsg1/configure	2006-10-10 02:09:14.0 +1000
+++ ktorrent-2.0.3+dfsg1-new/configure	2006-11-04 09:57:50.0 +1000
@@ -31299,7 +31299,6 @@
 
 #MIN_CONFIG(3.3)
 CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS $USE_EXCEPTIONS $USE_RTTI"
-LDFLAGS="$LDFLAGS -Wl -z now"
 
 
 # Check whether --enable-largefile or --disable-largefile was given.
diff -ru ktorrent-2.0.3+dfsg1/configure.in ktorrent-2.0.3+dfsg1-new/configure.in
--- ktorrent-2.0.3+dfsg1/configure.in	2006-10-10 02:09:08.0 +1000
+++ ktorrent-2.0.3+dfsg1-new/configure.in	2006-11-04 09:57:33.0 +1000
@@ -65,7 +65,6 @@
 
 #MIN_CONFIG(3.3)
 CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS $USE_EXCEPTIONS $USE_RTTI"
-LDFLAGS="$LDFLAGS -Wl -z now"
 
 dnl PACKAGE set before
 
diff -ru ktorrent-2.0.3+dfsg1/configure.in.in ktorrent-2.0.3+dfsg1-new/configure.in.in
--- ktorrent-2.0.3+dfsg1/configure.in.in	2006-10-10 02:04:11.0 +1000
+++ ktorrent-2.0.3+dfsg1-new/configure.in.in	2006-11-04 09:57:40.0 +1000
@@ -1,6 +1,5 @@
 #MIN_CONFIG(3.3)
 CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS $USE_EXCEPTIONS $USE_RTTI"
-LDFLAGS="$LDFLAGS -Wl -z now"
 
 AM_INIT_AUTOMAKE(ktorrent,2.0.3)
 


signature.asc
Description: OpenPGP digital signature


Bug#395512: Patch for #395512: sg3-utils FTBFS

2006-10-28 Thread Ted Percival
tags 395512 patch
stop

Here's a patch to fix the FTBFS. It's very similar to the one for the
FTBFS in sg-utils, but this one uses a function wrapper rather than a
preprocessor macro in order to get type-checking and it follows the
existing code style better.
diff -rup sg3-utils-1.21/llseek.c sg3-utils-1.21-new/llseek.c
--- sg3-utils-1.21/llseek.c	2004-08-24 11:33:10.0 +1000
+++ sg3-utils-1.21-new/llseek.c	2006-10-28 23:14:30.0 +1000
@@ -26,30 +26,28 @@
 
 #ifdef __linux__
 
-#ifdef HAVE_LLSEEK
-#include 
-
-#else   /* HAVE_LLSEEK */
-
 #if defined(__alpha__) || defined(__ia64__)  || defined(__s390x__)
 
 #define my_llseek lseek
 
 #else
-#include/* for __NR__llseek */
+#include/* for SYS__llseek */
 
 static int _llseek (unsigned int, unsigned long,
unsigned long, llse_loff_t *, unsigned int);
 
-#ifdef __NR__llseek
+#ifdef SYS__llseek
 
-static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high,
- unsigned long, offset_low,llse_loff_t *,result,
- unsigned int, origin)
+static int _llseek(unsigned int fd, unsigned long offset_high,
+   unsigned long offset_low, llse_loff_t *result,
+   unsigned int origin) {
+return syscall(SYS__llseek, fd, offset_high, offset_low,
+result, origin);
+}
 
-#else
+#else /* !SYS__llseek */
 
-/* no __NR__llseek on compilation machine - might give it explicitly */
+/* no SYS__llseek on compilation machine - might give it explicitly */
 static int _llseek (unsigned int fd, unsigned long oh,
 unsigned long ol, llse_loff_t *result,
 unsigned int origin) {
@@ -73,8 +71,6 @@ static llse_loff_t my_llseek (unsigned i
 
 #endif /* __alpha__ */
 
-#endif  /* HAVE_LLSEEK */
-
 llse_loff_t llse_llseek (unsigned int fd, llse_loff_t offset,
  unsigned int origin)
 {


signature.asc
Description: OpenPGP digital signature


Bug#395891: extipl: Fails to build from source and ignores $(MAKE) return code

2006-10-28 Thread Ted Percival
Package: extipl
Version: 5.04-2
Severity: serious
Tags: patch
Justification: FTBFS

extipl fails to build from source, or would if the $(MAKE) return code
was not ignored.

I have attached a patch that does the following:
- Don't ignore return status of $(MAKE) calls in debian/rules
- Update _llseek syscall usage to allow the package to build with
  linux-kernel-headers >= 2.6.18 (current in unstable).

All the best,
-Ted

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
diff -ru extipl-5.04/debian/rules extipl-5.04-new/debian/rules
--- extipl-5.04/debian/rules2006-10-28 22:37:12.0 +1000
+++ extipl-5.04-new/debian/rules2006-10-28 22:43:06.0 +1000
@@ -15,7 +15,7 @@
 
# Add here commands to compile the package.
cp debian/addition/Makefile .
-   -$(MAKE) 
+   $(MAKE) 
 
touch build-stamp
 
@@ -26,7 +26,7 @@
 
# Add here commands to clean up after the build process.
rm -f Makefile
-   -$(MAKE) -f debian/addition/Makefile allclean
+   $(MAKE) -f debian/addition/Makefile allclean
 
dh_clean
 
@@ -40,7 +40,7 @@
 
# Add here commands to install the package into debian/tmp.
cp debian/addition/Makefile .
-   -$(MAKE) install DESTDIR=`pwd`/debian/tmp
+   $(MAKE) install DESTDIR=`pwd`/debian/tmp
 
for i in pollux castor altair aldebaran; \
 do cp src/$$i.bin debian/extipl-boot/boot/extipl-$$i.b; done
diff -ru extipl-5.04/src/extipl.c extipl-5.04-new/src/extipl.c
--- extipl-5.04/src/extipl.c2001-07-03 01:35:12.0 +1000
+++ extipl-5.04-new/src/extipl.c2006-10-28 22:49:07.0 +1000
@@ -23,7 +23,7 @@
 #include 
 #include 
 #ifdef __linux__
-#include 
+#include 
 #endif
 #include "extipl.h"
 #include "sysident.h"
@@ -79,7 +79,7 @@
 static char *ask(char *);
 static int  sure(char *);
 #ifdef __linux__
-static _syscall5(int, _llseek,  uint,  fd, ulong, hi, ulong, lo, loff_t *, 
res, uint, wh);
+static int _llseek(uint, ulong, ulong, loff_t *, uint);
 static int long_seek(int, off_t, int);
 #endif
 /* for DEBUG  */
@@ -1104,6 +1104,15 @@
 }
 
 #ifdef __linux__
+
+static int _llseek(fd, hi, lo, res, whence)
+uint fd, whence;
+ulong hi, lo;
+loff_t *res;
+{
+return syscall(SYS__llseek, fd, hi, lo, res, whence);
+}
+
 /* Hacked by Taketoshi Sano <[EMAIL PROTECTED]>  */
 static int long_seek(fd, offset, whence)
 int fd, whence;
@@ -1131,7 +1140,8 @@
 }
 return(OK);
 }
-#endif
+
+#endif /* __linux__ */
 
 
 /*=


Bug#294836: gpart bug fixes

2006-10-28 Thread Ted Percival
tags 294836 patch
stop

I was able to reproduce bug #294836 on my powerpc system. I was also
able to fix it by changing some ifdefs. I combined the patch to fix that
with the existing FTBFS patch for bug #393039 and ended up with the
attached patch. It should at least increase the number of platforms that
gpart works on :)
diff -ru gpart-0.1h/src/l64seek.c gpart-0.1h-new/src/l64seek.c
--- gpart-0.1h/src/l64seek.c	2000-12-14 08:54:11.0 +1000
+++ gpart-0.1h-new/src/l64seek.c	2006-10-28 04:09:05.0 +1000
@@ -25,8 +25,14 @@
 } ostck[OSTACKLEN];
 static int		osptr = -1;
 
-#if defined(__linux__) && defined(__i386__)
-_syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
+#if defined(__linux__)
+#include 
+# if defined(SYS__llseek)
+static int _llseek(uint fd, ulong hi, ulong lo, loff_t *res, uint wh)
+{
+	return syscall(SYS__llseek, fd, hi, lo, res, wh);
+}
+# endif
 #endif
 
 
@@ -35,7 +41,7 @@
 {
 	off64_t		ret = (off64_t)-1;
 
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && defined(SYS__llseek)
 	int		iret;
 	unsigned long	ohi, olo;
 
@@ -44,9 +50,7 @@
 	iret = _llseek(fd,ohi,olo,&ret,whence);
 	if (iret == -1)
 		ret = (off64_t)-1;
-#endif
-
-#if defined(__FreeBSD__) || (defined(__linux__) && defined(__alpha__))
+#else
 	ret = lseek(fd,offset,whence);
 #endif
 


signature.asc
Description: OpenPGP digital signature


Bug#393039: Patch for bug 393039: FTBFS in gpart

2006-10-28 Thread Ted Percival
tags 393039 patch
stop

Here is a patch to fix the FTBFS. It updates gpart to use the syscall
libc function required since linux-kernel-headers 2.6.18 made the
_syscall* macros unavailable.
diff -ru gpart-0.1h/src/l64seek.c gpart-0.1h-new/src/l64seek.c
--- gpart-0.1h/src/l64seek.c	2000-12-14 08:54:11.0 +1000
+++ gpart-0.1h-new/src/l64seek.c	2006-10-28 21:37:36.0 +1000
@@ -26,7 +26,11 @@
 static int		osptr = -1;
 
 #if defined(__linux__) && defined(__i386__)
-_syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
+#include 
+static int _llseek(uint fd, ulong hi, ulong lo, loff_t *res, uint wh)
+{
+	return syscall(SYS__llseek, fd, hi, lo, res, wh);
+}
 #endif
 
 


signature.asc
Description: OpenPGP digital signature


Bug#395425: Confirmed, fixed upstream

2006-10-26 Thread Ted Percival
tags 395425 fixed-upstream
stop

I tested the new upstream release (0.99.12) using `uupdate` and it fixes
this problem.

-Ted


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



Bug#394535: Unnecessary build-dep

2006-10-23 Thread Ted Percival

   * Fix FTBFS because old syscall usage. (closes: #394535)
 Apply patch so lphdisk compiles with new kernel headers;
 Build-depend on linux-kernel-headers >= 2.6.18.


I don't think the build-dependency is necessary. It should still work 
fine on older kernels, as the syscall() libc function has been around 
for a while.


Thanks for your quick response :)

-Ted


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



Bug#392392: Patch for amarok #392392 FTBFS

2006-10-23 Thread Ted Percival
tags 392392 patch
forwarded 392392 http://bugs.kde.org/show_bug.cgi?id=136185
stop

Here is a patch that makes the libhttp11.so* files install to /usr/lib
rather than /usr/share.

I tested as much DAAP and ruby-script functionality as I could and
nothing seemed to be broken by it. After that, I spoke with eeanm on the
#amarok IRC channel:

< eeanm> nothing is affected in 1.4.3 by this
< eeanm> so debian would be fine applying that patch
< tedp> so, it's actually unused code in 1.4.3?
< eeanm> yes

The first part of the patch is actually unnecessary because the files
are unused, but I thought they might end up being installed there in a
future release when they are used.

-Ted
diff -ruN amarok-1.4.3/debian/amarok.install amarok-1.4.3-new/debian/amarok.install
--- amarok-1.4.3/debian/amarok.install	2006-10-23 23:17:35.0 +1000
+++ amarok-1.4.3-new/debian/amarok.install	2006-10-23 23:15:27.0 +1000
@@ -55,6 +55,7 @@
 debian/tmp/usr/lib/kde3/libamarok_daap-mediadevice.so
 debian/tmp/usr/share/services/amarok_daap-mediadevice.desktop
 
+debian/tmp/usr/lib/amarok/*
 debian/tmp/usr/lib/libamarok.*
 
 debian/tmp/usr/bin/amarok
diff -ruN amarok-1.4.3/debian/patches/daap_libhttp11_location.patch amarok-1.4.3-new/debian/patches/daap_libhttp11_location.patch
--- amarok-1.4.3/debian/patches/daap_libhttp11_location.patch	1970-01-01 10:00:00.0 +1000
+++ amarok-1.4.3-new/debian/patches/daap_libhttp11_location.patch	2006-10-23 23:15:29.0 +1000
@@ -0,0 +1,9 @@
+diff -ru amarok-1.4.3/amarok/src/mediadevice/daap/mongrel/http11/Makefile.am amarok-1.4.3-new/amarok/src/mediadevice/daap/mongrel/http11/Makefile.am
+--- amarok-1.4.3/amarok/src/mediadevice/daap/mongrel/http11/Makefile.am	2006-09-05 12:42:40.0 +1000
 amarok-1.4.3-new/amarok/src/mediadevice/daap/mongrel/http11/Makefile.am	2006-10-23 21:25:30.0 +1000
+@@ -1,4 +1,4 @@
+-amarokrubylibdir = $(kde_datadir)/amarok/ruby_lib
++amarokrubylibdir = $(libexecdir)/ruby_lib
+ 
+ amarokrubylib_LTLIBRARIES = libhttp11.la
+ 
diff -ruN amarok-1.4.3/debian/patches/series amarok-1.4.3-new/debian/patches/series
--- amarok-1.4.3/debian/patches/series	2006-10-23 23:17:35.0 +1000
+++ amarok-1.4.3-new/debian/patches/series	2006-10-23 23:15:29.0 +1000
@@ -5,3 +5,4 @@
 disable-final.diff -p0
 revert-fix-for-bug-116127.diff -p0
 143_provided_upstream_playlist_encoding.diff -p0
+daap_libhttp11_location.patch -p1


signature.asc
Description: OpenPGP digital signature


Bug#394853: sg-utils: FTBFS due to old syscall usage

2006-10-23 Thread Ted Percival
Package: sg-utils
Version: 1.02-3
Severity: serious
Tags: patch

sg-utils fails to build from source using linux-kernel-headers >=
2.6.18.

> gcc -g -O2 -Wall -D_REENTRANT   -c -o llseek.o llseek.c
> llseek.c:44: error: expected declaration specifiers or ‘...’ before ‘_llseek’
> llseek.c:44: error: expected declaration specifiers or ‘...’ before ‘fd’
> llseek.c:44: error: expected declaration specifiers or ‘...’ before 
> ‘offset_high

This is due to new syscall usage. A patch is attached.

-Ted

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
diff -ru sg-utils-1.02/llseek.c sg-utils-1.02-new/llseek.c
--- sg-utils-1.02/llseek.c	2000-12-09 09:50:02.0 +1000
+++ sg-utils-1.02-new/llseek.c	2006-10-23 22:04:07.0 +1000
@@ -24,30 +24,21 @@
 
 #ifdef __linux__
 
-#ifdef HAVE_LLSEEK
-#include 
-
-#else	/* HAVE_LLSEEK */
-
 #if defined(__alpha__) || defined(__ia64__)
 
 #define my_llseek lseek
 
 #else
-#include 	/* for __NR__llseek */
+#include 	/* for SYS__llseek */
 
-static int _llseek (unsigned int, unsigned long,
-		   unsigned long, llse_loff_t *, unsigned int);
+#ifdef SYS__llseek
 
-#ifdef __NR__llseek
-
-static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high,
-		 unsigned long, offset_low,llse_loff_t *,result,
-		 unsigned int, origin)
+#define _llseek(fd, offset_high, offset_low, result, origin) \
+	syscall(SYS__llseek, fd, offset_high, offset_low, result, origin)
 
 #else
 
-/* no __NR__llseek on compilation machine - might give it explicitly */
+/* no SYS__llseek on compilation machine - might give it explicitly */
 static int _llseek (unsigned int fd, unsigned long oh,
 		unsigned long ol, llse_loff_t *result,
 		unsigned int origin) {
@@ -71,8 +62,6 @@
 
 #endif /* __alpha__ */
 
-#endif	/* HAVE_LLSEEK */
-
 llse_loff_t llse_llseek (unsigned int fd, llse_loff_t offset,
 			 unsigned int origin)
 {


Bug#394535: Severity #394535 - FTBFS is serious

2006-10-23 Thread Ted Percival
severity 394535 serious
stop

FTBFS bugs are serious. This one should be too.

-Ted



signature.asc
Description: OpenPGP digital signature


Bug#394535: lphdisk: FTBFS due to old syscall usage

2006-10-21 Thread Ted Percival
Package: lphdisk
Version: 0.9.1-1
Severity: normal
Tags: patch

lphdisk does not build with linux-kernel-headers >= 2.6.18 due to the
_syscall* macros being no longer available. It results in the following
build failure:

> cc -g -Wall -O2   -c -o lphdisk.o lphdisk.c
> lphdisk.c:117: error: expected declaration specifiers or ‘...’ before 
> ‘_llseek’
> lphdisk.c:117: error: expected declaration specifiers or ‘...’ before ‘fd’
> lphdisk.c:117: error: expected declaration specifiers or ‘...’ before 
> ‘offset_high’


Patch attached.

-Ted

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
diff -ru lphdisk-0.9.1/lphdisk.c lphdisk-0.9.1-new/lphdisk.c
--- lphdisk-0.9.1/lphdisk.c	2006-10-22 04:16:27.0 +1000
+++ lphdisk-0.9.1-new/lphdisk.c	2006-10-22 04:15:14.0 +1000
@@ -105,18 +105,17 @@
 /* call to do seeks to "long long" offsets under linux (this is needed to*/
 /* seek to sectors beyond 4194303 (2GB)).  This isn't directly supported by  */
 /* glibc, so we need to make our own interface function for it.  We should   */
-/* be able to get the _NR__llseek define from linux/unistd.h.  From this we  */
+/* be able to get the SYS__llseek define from sys/syscall.h.  From this we  */
 /* can construct a wrapper to perform the right system call. */
 
-#include/* for __NR__llseek */
+#include/* for SYS__llseek */
 
 typedef long long lloff_t;
 
-#ifdef __NR__llseek
+#ifdef SYS__llseek
 
-static _syscall5(int,_llseek, unsigned int,fd, unsigned long,offset_high,
- unsigned long,offset_low, lloff_t *,result,
- unsigned int,origin)
+#define _llseek(fd, offset_high, offset_low, result, origin) \
+	syscall(SYS__llseek, fd, offset_high, offset_low, result, origin)
 
 lloff_t llseek (unsigned int fd, lloff_t offset, unsigned int origin) {
   lloff_t result;
@@ -128,9 +127,9 @@
   return (retval == -1 ? (lloff_t) retval : result);
 }
 
-#else /* __NR__llseek */
+#else /* SYS__llseek */
 
-/* Somehow, __NR__llseek wasn't in linux/unistd.h.  This shouldn't ever  */
+/* Somehow, SYS__llseek wasn't in sys/syscall.h.  This shouldn't ever  */
 /* happen, but better safe than sorry.. The best we can do is emulate it */
 /* with lseek, and hope we don't get an offset that's too large (throw an*/
 /* error if we do)   */
@@ -148,7 +147,7 @@
   }
 }
 
-#endif /* __NR__llseek */
+#endif /* SYS__llseek */
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 


Bug#393040: Patch available for #393040 FTBFS

2006-10-21 Thread Ted Percival
tags 393040 patch
stop

Here's a patch to use the syscall() libc function rather than the
no-longer-available syscall* macros.

-Ted
diff -ru grubconf-0.5.1/src/partitioning.c grubconf-0.5.1-new/src/partitioning.c
--- grubconf-0.5.1/src/partitioning.c	2003-04-17 23:32:59.0 +1000
+++ grubconf-0.5.1-new/src/partitioning.c	2006-10-22 04:03:59.0 +1000
@@ -31,7 +31,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include 
 #include 
 
@@ -74,9 +74,8 @@
 }
 
 #if !defined (__alpha__) && !defined (__ia64__) && !defined (__x86_64__) && !defined (__s390x__)
-static
-_syscall5(int,  _llseek,  uint,  fd, ulong, hi, ulong, lo,
-   loff_t *, res, uint, wh);
+#define _llseek(fd, hi, lo, res, wh) \
+	syscall(SYS__llseek, fd, hi, lo, res, wh)
 #endif
 
 static int


signature.asc
Description: OpenPGP digital signature


Bug#393007: Patch available for #393007 (FTBFS)

2006-10-21 Thread Ted Percival
tags 393007 patch
stop

Here's a patch to fix FTBFS.

The comment in the patch's context is amusing.

-Ted
diff -ru tct-1.11/src/fstools/mylseek.c tct-1.11-new/src/fstools/mylseek.c
--- tct-1.11/src/fstools/mylseek.c	2000-07-31 09:39:20.0 +1000
+++ tct-1.11-new/src/fstools/mylseek.c	2006-10-22 03:50:59.0 +1000
@@ -23,15 +23,15 @@
 #ifdef USE_MYLSEEK
 #ifdef HAVE_LLSEEK
 #include 
-#include 
+#include 
 
  /*
   * This is LINUX, live on the bleeding edge and watch your software break
   * with the next release...
   */
-static  _syscall5(int, _llseek, unsigned int, fd, unsigned long, offset_high,
-		  unsigned long, offset_low, OFF_T *, result,
-		  unsigned int, origin)
+#define _llseek(fd, offset_high, offset_low, result, origin) \
+		syscall(SYS__llseek, fd, offset_high, offset_low, result, origin)
+
 /* mylseek - seek beyond the 32-bit barrier */
 
 OFF_T   mylseek(int fd, OFF_T offset, int whence)


signature.asc
Description: OpenPGP digital signature


  1   2   3   >