Re: pkg-kde: commit - rev 33 - people/jd/scripts

2004-02-12 Thread Chris Cheney
On Thu, Feb 12, 2004 at 05:53:52PM +0100, David Pashley wrote:
> Author: jd-guest
> Date: 2004-02-12 17:53:52 +0100 (Thu, 12 Feb 2004)
> New Revision: 33
> 
> Added:
>people/jd/scripts/check-replaces
> Removed:
>people/jd/scripts/check-conflicts.pl
> Log:
> It has come to my attention that I want to use Replaces, not Conflicts.
> script renamed and altered to read Replaces. The concept that a package
> conflicts with another package if they contain the same file is kept.

I haven't looked at the new script in detail but I wanted to make sure
you know the following information. If you need to take over a file
from a package that still exists, but no longer ships that file, just
use replaces. If you have a file that needs your version and the other
package still exists and contains that file you need a conflicts. If
you have a file that needs to take over a file from a package that no
longer exists then it should be a Conflicts and Replaces, this insures
that the old package does not stay installed on the system. At least as
I understand it. ;)

Also, as domi said when you use svn you should move the file not
add/remove so that changes can be tracked. :)

Chris


signature.asc
Description: Digital signature


Bug#232466: arts: Sound server fatal error: cpu overload, aborting

2004-02-12 Thread Ross Boylan
Package: arts
Version: 1.1.5-2
Severity: normal

A few seconds after KDE starts up I get a pop up window with "Error
-artsmess" visible on the title bar (I assume it's artsmessage, but I
can't resize it to see).

The error is 
"Sound server fatal error:
cpu overload, aborting"

Despite this warning, I still have at least some sound: I hear sounds
when I open and close windows, for example.  However, the "Test Sound"
button on the KDE Control Center/Sound System/aRTS tab is greyed out.

If I set the Sound I/O method to non and then restart it with
autodetect, I get the CPU overload popup again.

This problem could well be with another package (e.g., alsa), but I'm
filing this here because that's where I see the symptoms.  I posted a
question about this to debian-user
(http://lists.debian.org/debian-user/2004/debian-user-200401/msg07177.html)
a couple of weeks ago.  My only response has been from someone saying
they have the same problem.

Some clues:

The problem started coincident with upgrading to a new kernel (2.4.24,
Debianized) with a new alsa-source (1.0.1-1).  I also patches for
evms, device-mapper, i2c, and lm-sensors.

I'm not sure exactly which version I had before, but here are some
*excerpts* of recent changelog entries in alsa-driver that seem notable:

alsa-lib (1.0.1-1) unstable; urgency=medium

  * New upstream release (closes: #228102).
+ NOTE! This version includes source incompatibility with previous
  versions. We tested a great many packages and filed bugs, but you may
  want to check your own package too if it Build-Depends: on
  libasound2-dev. The change is briefly documented at
  /usr/share/doc/libasound2-dev/NOTES.
  * David B Harris:
+ Bump libasound2.shlibs to this release (>> 1.0.0) as a new
  symbol (snd_seq_port_subscribe_set_voices)
+ Install "NOTES" file as documentation in libasound2-dev, which documents
  the recent source-incompatible change

 -- Jordi Mallach <[EMAIL PROTECTED]>  Mon, 26 Jan 2004 14:18:06 +0100
[note this was from libasound2]

alsa-driver (0.9.8-2) unstable; urgency=low

  * Steve Kowalik:
- Drop debconf question about loading OSS compatibility modules. We now
  perform auto-detection during boot-up. (Closes: #222350)

alsa-driver (0.9.8-1) unstable; urgency=low

  * Steve Kowalik:
- Patch #16: New; compile core/oss/snd-pcm-oss.c with
  -fno-omit-frame-pointer. (Closes: #195837, #11, #201700)




I recall reading on debian-kde there were some issues with alsa
support, but I can't find that now.  In the past it's worked fine,
though it may have been using the OSS compatibility layer.

I have a dual-processor Athlon system.  Using devfs.

The problem has persisted as I've upgraded from the Debianized
(testing/unstable) KDE packages from 3.1.4 to 3.1.5.  I just rebooted
to be sure I was using the new stuff.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux iron 2.4.24advncd #1 SMP Fri Jan 30 14:30:34 PST 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages arts depends on:
ii  libarts1  1.1.5-2aRts Sound system
ii  libartsc0 1.1.5-2aRts Sound system C support librar

-- no debconf information


Here are my current KDE versions:
# dpkg -l '*kde*' | grep ii
ii  kde-core   3.1.1  The K Desktop Environment (Core)
ii  kdeaddons  3.1.3-1add-on plugins and applets provided with KDE
ii  kdeaddons-kfil 3.1.3-1KDE file dialog plugins for text files and f
ii  kdeadmin   3.1.5-1KDE Administration tools metapackage
ii  kdeadmin-kfile 3.1.5-1KDE File dialog plugins for deb and rpm file
ii  kdeartwork 3.1.5-2themes, styles and more from the official KD
ii  kdeartwork-mis 3.1.5-2various multimedia goodies released with KDE
ii  kdeartwork-sty 3.1.5-2widget styles released with KDE
ii  kdeartwork-the 3.1.5-2icon themes released with KDE
ii  kdeartwork-the 3.1.5-2window decoration themes released with KDE
ii  kdebase3.1.3-1KDE Base metapackage
ii  kdebase-bin3.1.3-1KDE Base (binaries)
ii  kdebase-data   3.1.3-1KDE Base (shared data)
ii  kdebase-kio-pl 3.1.3-1KDE I/O Slaves
ii  kdegames   3.1.4-1KDE Games metapackage
ii  kdegames-card- 3.1.4-1Card decks for KDE games
ii  kdegraphics3.1.4-1KDE Graphics metapackage
ii  kdegraphics-kf 3.1.4-1provide meta information for graphic files
ii  kdelibs3.1.5-1KDE core libraries metapackage
ii  kdelibs-bin3.1.5-1KDE core binaries
ii  kdelibs-data   3.1.5-1KDE core shared data
ii  kdelibs4   3.1.5-1KDE core libraries
ii  kdemultimedia  3.1.2-1KDE Multimedia metapackage
ii  kdemultimedia- 3.1.2-1au/avi/m3u/mp3/ogg/wav plugins for kfile
ii  kdemultimedia- 3.1.2-1Support for browsing audio CDs under Konquer
ii  kdenetwork 3.1.4-1KDE Net

Re: pkg-kde: commit - rev 33 - people/jd/scripts

2004-02-12 Thread Dominique Devriese
David Pashley writes:

> Added:
>people/jd/scripts/check-replaces
> Removed:
>people/jd/scripts/check-conflicts.pl

Isn't one of svn's advantages that you can move a file without
copying+deleting ? :)

cheers
domi



pkg-kde: commit - rev 33 - people/jd/scripts

2004-02-12 Thread David Pashley
Author: jd-guest
Date: 2004-02-12 17:53:52 +0100 (Thu, 12 Feb 2004)
New Revision: 33

Added:
   people/jd/scripts/check-replaces
Removed:
   people/jd/scripts/check-conflicts.pl
Log:
It has come to my attention that I want to use Replaces, not Conflicts.
script renamed and altered to read Replaces. The concept that a package
conflicts with another package if they contain the same file is kept.


Deleted: people/jd/scripts/check-conflicts.pl
===
--- people/jd/scripts/check-conflicts.pl2004-02-11 23:11:04 UTC (rev 32)
+++ people/jd/scripts/check-conflicts.pl2004-02-12 16:53:52 UTC (rev 33)
@@ -1,135 +0,0 @@
-#!/usr/bin/perl
-
-#
-# check-conflicts - Checks for conflicting files in packages currently
-# in stable, testing and unstable.
-#
-# (c) 2004 David Pashley <[EMAIL PROTECTED]>
-# $Id:$
-#
-#
-# This package is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 dated June, 1991.
-#
-# This package is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this package; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-#
-
-
-use warnings;
-use strict;
-use File::Find;
-use Data::Dumper;
-use Cwd;
-
-$|=1;
-
-my %filelist;
-my %conflicts;
-my %control_conflicts;
-my $dir = getcwd;
-
-sub dh_listpackages { # {{{
-   my @packages;
-   my $current_package;
-   open CONTROL, "debian/control" or die "could not open debian/control: $!\n";
-   while () {
-  chomp;
-  if (m/Package: (.*)$/) {
- push @packages, $1;
- $current_package = $1;
-  }
-  if (m/Conflicts: (.*)$/) {
- my %temp;
- for my $conflict ( split /, /, $1) {
-$conflict =~ m/^([\-a-zA-Z0-9]+)( .*)?/;
-$temp{$1} = $conflict;
- }
- $control_conflicts{$current_package} = \%temp;
-  }
-   }
-   close CONTROL;
-   return @packages;
-} # }}}
-
-sub load_filelists { # {{{
-
-   for my $package (dh_listpackages) {
-  find(\&wanted, "debian/$package");
-   }
-} # }}}
-
-sub wanted { # {{{
-   if (my ($package,$file) = $File::Find::name =~ m|debian/(.*?)/(.*)|) {
-  return if $file =~ m/^DEBIAN/;
-  return unless -f "$dir/$File::Find::name"; 
-  if (exists $filelist{$file}) { 
- print STDERR "$file is in $package and " .$filelist{$file} ."\n"; 
-  } else {
- # TODO You may actually want this to be true.
- $filelist{$file} = $package;
-  }
-   }
-} # }}}
-
-sub check_Contents { # {{{
-# Yes I kow it is hacky, but it is also the fastest method 
-#Benchmark: timing 10 iterations of Compress::Zlib, IO::Zlib, zcat...
-#Compress::Zlib:  55 wallclock secs ( 54.84 usr +  0.19 sys
 =  55.03 CPU) @  0.18/s (n=10)
-#  IO::Zlib: 115 wallclock secs (114.48 usr +  0.20 sys
 = 114.68 CPU) @  0.09/s (n=10)
-#  zcat:  23 wallclock secs ( 14.10 usr0.57 sys +  7.16 cusr  0.65 
csys =  22.48 CPU) @  0.68/s (n=10)
-   my $dist = shift;
-   my $contents 
="/var/cache/apt/ftp.uk.debian.org_debian_dists_${dist}_Contents-i386.gz";
-   open ZCAT, "zcat $contents|" or die "could not open $contents: $!\n";
-   while (){ last if m/^FILE   /; } # Skip the preamble
-   my ($file, $packages); 
-   while (my $line = ){
-  ($file) = $line =~ m/^(.*?)\s/;
-  if (exists $filelist{$file}) {
- ($file, $packages) = $line =~ m/^(.*?)\s+(.*)$/;
- my @packages;
- for my $package (split /,/, $packages) {
-$package =~ s#^.*/##;
-push @packages,  $package;
- }
- if (@packages = grep !/\Q$filelist{$file}\E/, @packages) {
-#print $filelist{$file} . " conflicts with ". join (', ', 
@packages) . " $file\n";
-for my $package (@packages) {
-   ${ $conflicts{ $filelist{$file} } }->{$package} = $dist;
-}
- }
-  }
-   }
-   close ZCAT;
-} # }}}
-
-
-load_filelists;
-
-print "parsing Contents.gz: ";
-for my $dist ("stable", "testing", "unstable") {
-   print "$dist ";
-   check_Contents $dist;
-}
-print "done\n";
-
-#print Dumper(\%conflicts);
-for my $package (sort keys %conflicts) {
-   print "$package:\n";
-   for my $pkg (sort keys %${$conflicts{$package}}) {
-  print "\tconflicts with $pkg in " . ${ $conflicts{ $package } }->{$pkg};
-  if (exists $control_conflicts{$package}->{$pkg}) {
- print " currently listed as: $control_conflicts{$package}->{$pkg}";
-  }
-  print "\n";
-   }
-}
-

Copied: people/jd/scripts/check-replaces (from rev 31, 
pe

Bug#232409: kconfigbackend.cpp seems to parse binary files as configuration files

2004-02-12 Thread Christian Kurz
Package: kdelibs4
Version: 4:3.1.5-1
Severity: normal

Hi,

today I started to examine my .xsession-errors file. I noticed a lot of
error messages like this:

Invalid entry (missing ']') at /usr/bin/gaim:2

The line number and the exact missing character are varying. I then
asked on #debian-kde for help and one user was able to help me a bit. We
figured out that the error message seems to occur because I'm starting
gaim automatically when I log into KDE. The other person did start gaim
manually. I then searched around and found a bugreport against RedHat
about the same error message but with a different application. Further
searches lead me to the file kconfigbackend.cpp which contains the error
messages. I then figured out that it's the function
"KConfigINIBackEnd::parseSingleConfigFile" that is creating those
messages. I'm not a programmer, but the name strongly suggest to me that
it's used to parse configuration files for KDE. But for reasons unknown
to me, it's trying to parse a binary file as configuration file, which
looks broken to me. Please fix this, so that the function is only
parsing valid configuration files. Thanks.

Christian


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.2
Locale: LANG=POSIX, [EMAIL PROTECTED]

Versions of packages kdelibs4 depends on:
ii  kdelibs-bin   4:3.1.5-1  KDE core binaries
ii  kdelibs-data  4:3.1.5-1  KDE core shared data
ii  libart-2.0-2  2.3.16-1   Library of functions for 2D graphi
ii  libarts1  1.1.5-2aRts Sound system
ii  libasound21.0.1-1Advanced Linux Sound Architecture 
ii  libaudio2 1.6b-2 The Network Audio System (NAS). (s
ii  libaudiofile0 0.2.3-4The Audiofile Library
ii  libbz2-1.01.0.2-1A high-quality block-sorting file 
ii  libc6 2.3.2.ds1-11   GNU C Library: Shared libraries an
ii  libcupsys21.1.20final-13 Common UNIX Printing System(tm) - 
ii  libfam0c102   2.7.0-5client library to control the FAM 
ii  libfontconfig12.2.1-14   generic font configuration library
ii  libfreetype6  2.1.7-2FreeType 2 font engine, shared lib
ii  libgcc1   1:3.3.3-0pre3  GCC support library
ii  libjpeg62 6b-9   The Independent JPEG Group's JPEG 
ii  libldap2  2.1.25-1   OpenLDAP libraries
ii  libmad0   0.15.0b-3  MPEG audio decoder library
ii  libogg0   1.1.0-1Ogg Bitstream Library
ii  libpcre3  4.3-4  Philip Hazel's Perl 5 Compatible R
ii  libpng12-01.2.5.0-4  PNG library - runtime
ii  libqt3c102-mt 3:3.2.3-2  Qt GUI Library (Threaded runtime v
ii  libstdc++51:3.3.3-0pre3  The GNU Standard C++ Library v3
ii  libtiff3g 3.5.7-2Tag Image File Format library
ii  libvorbis0a   1.0.1-1The Vorbis General Audio Compressi
ii  libvorbisenc2 1.0.1-1The Vorbis General Audio Compressi
ii  libvorbisfile31.0.1-1The Vorbis General Audio Compressi
ii  libxcursor1   1.0.2-4X Cursor management library
ii  libxft2   2.1.2-5FreeType-based font drawing librar
ii  libxml2   2.6.5-1GNOME XML library
ii  libxrender1   0.8.3-5X Rendering Extension client libra
ii  libxslt1.11.1.2-3XSLT processing library - runtime 
ii  xlibmesa3-gl [libgl1] 4.2.1-16   Mesa 3D graphics library [XFree86]
ii  xlibs 4.2.1-16   X Window System client libraries
ii  zlib1g1:1.2.1-4  compression library - runtime

-- no debconf information


-- 
Woe to the man whose heart has not learned while young to hope, to love
- and to put its trust in life.
-- Joseph Conrad



Re: ro svn checkout of svn.debian.org/svn/pkg-kde/

2004-02-12 Thread David Pashley
On Feb 12, 2004 at 10:44, Achim Bohnet praised the llamas by saying:
> > to do a regular checkout you need to do:
> > 
> > svn co svn+ssh://svn.debian.org/svn/pkg-kde/trunk
> > 
> > you can't put your username in the URL, you can either setup the special
> > svn way (I forgot what its called) or you add something like the
> > following to your .ssh/config file:
> > 
I am pretty sure you can use the username in the url. That is how I did
it.
> 
> Neither the .ssh/config,  user@ nor --username does work
> with svn+ssh:  (always the same error msg).  So I assume that
> svn+ssh:  mean rw access and that's of course denied (no problem
> for me).
> > 
You need to be able ot log into svn.debian.org using ssh. You can sort
out any password issues using alioth.debian.org.

Currently no-one except Chris can write to most of the repo. I have
added a directory under people which I have access to. 


-- 
David Pashley
[EMAIL PROTECTED]
Nihil curo de ista tua stulta superstitione.


pgpRiBosBBb4K.pgp
Description: PGP signature


Re: ro svn checkout of svn.debian.org/svn/pkg-kde/

2004-02-12 Thread Achim Bohnet
On Thursday 12 February 2004 04:59, Chris Cheney wrote:
> On Wed, Feb 11, 2004 at 11:42:13PM +0100, Achim Bohnet wrote:
> > Hi,
> > 
> > what's the method to check out a ro copy of svn pkg-kde repository
> > at svn.debian.org/svn/pkg-kde/
> > o http: and https: always return 405 Method Not Allowed
> >   (okay webdav disabled as mention on the home page ;)
> > o svn claims no repository found
> > o svn+ssh://[EMAIL PROTECTED]  does not accept my alioth account
> > o svn manual does not help any more :(
> > What do I wrong?
> 
> http is disabled as mentioned on the svn.debian.org main page. If I
> remember correctly to check out anonymously you need to do something
> like:
> 
> svn co svn://svn.debian.org/pkg-kde/trunk

Ahhh,  http: URL on svn.debian.org had an additonal /svn in the path
that has to be removed in the svn: URL.  Thx!! 
 
> to do a regular checkout you need to do:
> 
> svn co svn+ssh://svn.debian.org/svn/pkg-kde/trunk
> 
> you can't put your username in the URL, you can either setup the special
> svn way (I forgot what its called) or you add something like the
> following to your .ssh/config file:
> 
> Host svn.debian.org
>   User ccheney
> 
> The other svn way is explained in the svnbook.

Neither the .ssh/config,  user@ nor --username does work
with svn+ssh:  (always the same error msg).  So I assume that
svn+ssh:  mean rw access and that's of course denied (no problem
for me).
> 
> > Btw. what's the status/usage of debian/ in KDE's cvs and pkg-kde
> > at alioth?
> > 
> > Chris pkgs:
> > KDE 3.2 for woody in kde cvs
> > KDE 3.2 for sid in pkg-kde
> 
> I will probably remove the debian dirs from my packages at kde.org soon
> unless there is a pressing reason for it to be there.

Ralf?

Achim
> 
> > Ben
> > everything in kde-cvs
> > Right?
> 
> Yes at this time.
> 
> 
> Chris
> 

-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
  -- [EMAIL PROTECTED]