Re: Why do KDE packages depend on gcc-3.2?

2002-11-06 Thread Daniel Stone
On Wed, Nov 06, 2002 at 10:17:24PM -0500, Jeff Tranter scrawled:
> I'm curious why the KDE 3.1 Debian packages have a build dependency on 
> g++-3.2 when they build just fine with older versions of g++? Is it just 
> to make sure no one runs them on a system with the older compiler? For 
> those of us building packages on a system based on Debian Woody, the 
> dependency is just a minor annoyance.

KDE3.1 in sid will use g++3.2, as part of the entire gcc3.2 transition.

-- 
Daniel Stone <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Developer - http://kopete.kde.org, http://www.kde.org


pgpbxTLOx6xYO.pgp
Description: PGP signature


Why do KDE packages depend on gcc-3.2?

2002-11-06 Thread Jeff Tranter
I'm curious why the KDE 3.1 Debian packages have a build dependency on 
g++-3.2 when they build just fine with older versions of g++? Is it just 
to make sure no one runs them on a system with the older compiler? For 
those of us building packages on a system based on Debian Woody, the 
dependency is just a minor annoyance.




Re: KDE and security

2002-11-06 Thread Russell Coker
On Thu, 7 Nov 2002 00:34, Josef Spillner wrote:
> > One problem I am currently dealing with is that I want to run games under
> > a different context that is denied read access to regular files (so a
> > game can't send my private data over the net if cracked) and given
> > read-only access to it's config files.
>
> Oh come on.

???

We are seeing many security advisories concerning games at the moment...

> Some KDE games use KIO to transmit highscores and load/update level files.
> Some games use general data such as in /usr/share/trans (and all sort of
> dictionaries).

/usr/share/trans is read-only public data and isn't a problem.  KIO may be an 
issue, couldn't the games just write to a file as non-KDE games do?

> In the not-too-distant future, there will be gaming services spawning
> sandboxes on their own for each launched game type (which is currently hard
> to do on Linux when being non-root, unfortunately - 1:0 for the Hurd here
> ;).

HURD is good for this, but SE Linux and other MAC systems can do the same 
things if the administrator configures them appropriately.

> Some scan for available wallpapers, or media content of other games, at
> runtime (which, via KStandardDirs, can be global or local data, mixed
> transparently).

This KStandardDirs sounds like something that could be an issue if the user 
specifies a local file.

> > For /tmp/ksocket-user and /tmp/.ICE-unix, will KDE use an environment
> > variable for specifying the tmp directory?  If so it shouldn't be
> > difficult to solve this.  Also what is the point of the .ICE-unix
> > directory anyway?
>
> I've got this one in my startup scripts:
> ·   mkdir /tmp/.ICE-unix
> ·   chmod 1777 /tmp/.ICE-unix
> If not doing this, ICE (X11) would create it on its own and decide to
> sleep() (no joke, seen on a Gnome list some time ago).

This sounds like a good idea.  We should probably have that as the default in 
the Debian packages.

> > But the .DCOPserver* files are a more serious problem.  IMHO the core
> > code should be changed to put them somewhere more appropriate.  I'd be
> > happy to offer a patch if someone's interested in merging it (either in
> > Debian packages or upstream).
>
> If it's a security problem, a Debian-specific solution is not better than
> no solution at all.

It is for Debian users!  ;)

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page




Re: KDE and security

2002-11-06 Thread Josef Spillner
On Wednesday 06 November 2002 13:55, Russell Coker wrote:
> I think that these files should be created in a subdirectory so that they
> can be easily tracked, controlled, and removed when not needed.

Should be doable.

> One problem I am currently dealing with is that I want to run games under a
> different context that is denied read access to regular files (so a game
> can't send my private data over the net if cracked) and given read-only
> access to it's config files.

Oh come on.
Some KDE games use KIO to transmit highscores and load/update level files.
Some games use general data such as in /usr/share/trans (and all sort of 
dictionaries).
In the not-too-distant future, there will be gaming services spawning 
sandboxes on their own for each launched game type (which is currently hard 
to do on Linux when being non-root, unfortunately - 1:0 for the Hurd here ;).
Some scan for available wallpapers, or media content of other games, at 
runtime (which, via KStandardDirs, can be global or local data, mixed 
transparently).

> For /tmp/ksocket-user and /tmp/.ICE-unix, will KDE use an environment
> variable for specifying the tmp directory?  If so it shouldn't be difficult
> to solve this.  Also what is the point of the .ICE-unix directory anyway?

I've got this one in my startup scripts:
·   mkdir /tmp/.ICE-unix
·   chmod 1777 /tmp/.ICE-unix
If not doing this, ICE (X11) would create it on its own and decide to sleep() 
(no joke, seen on a Gnome list some time ago).

> But the .DCOPserver* files are a more serious problem.  IMHO the core code
> should be changed to put them somewhere more appropriate.  I'd be happy to
> offer a patch if someone's interested in merging it (either in Debian
> packages or upstream).

If it's a security problem, a Debian-specific solution is not better than no 
solution at all.

Josef

-- 
Free operating systems. Free software. Free games.




How to spot and remove an ugly font?

2002-11-06 Thread Jarno Elonen
Hi,

How to find and permanently remove a particular font (file) based on font's 
name?

The problem is that there's a font called "monotype-courier.new" that uglifies 
my otherwise beautifully rgb-hint-antialiased web experience on pages that 
use font face "Courier". :) Control Center's font section doesn't show it so 
that I could just hit Remove, but I can still choose it from virtually any 
"appearance" dialog of KDE applications. Xfontsel also lets me check the 
exact properties of the font, but of course doesn't tell where it actually 
comes from. I'm not using any font server.

- Jarno




Re: Which packages has koala.jar and qtjava.jar

2002-11-06 Thread Adam Treat
On Wednesday 06 November 2002 03:37 pm, David Goodenough wrote:
> Which Debian packages have these two JAR files in them.  The Debian
> package web page says it can not find them, and having installed
> 3.0.4 from the download.us.kde.org site recently I can not find
> them on my system.
>
> Thanks in advance
>
> David

Uh, that'd be in kdebindings.




Re: encoding ogg in konqueror <-resolved

2002-11-06 Thread Matěj Hausenblas
Thanks You all:) 
It's working nicely and I must admit, that it's 3x quicker than in my previous 
SuSE installation:)
regards
Matej




Which packages has koala.jar and qtjava.jar

2002-11-06 Thread David Goodenough
Which Debian packages have these two JAR files in them.  The Debian
package web page says it can not find them, and having installed
3.0.4 from the download.us.kde.org site recently I can not find
them on my system.

Thanks in advance

David




Re: 2 questions... again...

2002-11-06 Thread Corey Kovacs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks!

Corey

On Wednesday 06 November 2002 15:14, Achim Bohnet wrote:
> On Monday 04 November 2002 17:15, Corey Kovacs wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > I posted these question a few weeks ago with no good answer so I'll have
> > a go again since people are asking  me for the answer and i have none.
> > Seems that this is actually a problem so here goes... I am using
> > kde31-rc1 from http://shakti.ath.cx/debian/kde3.1-rc1
>
> In todays CVS build:
>
> Settings -> Show Feature Bar -> Distribution Lists.
>
> I liked the dialog much more but there seems to be a problem:
>
> http://lists.kde.org/?l=kde-pim&m=103660717314693&w=2
>
> Achim
>
> > 1. Does the new kaddressbook support "Creating" distribution lists as the
> > old "kab" did? It can use the old ones just fine, but I cannot figure out
> > how to create new ones.
> >
> > 2. What happened to the "archive web page" etc. tools for konquerer?
> >
> > Corey
> >
> >
> >
> > - --
> > Corey Kovacs   "I know not with what weapons World
> > War III Computer Science   will be fought, but World War
> > IV will be DePauw University.  fought with sticks and
> > stones." 765.658.4761  -
> > Albert Einstein -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.2.1 (GNU/Linux)
> >
> > iD8DBQE9xp07glw65kKkYY4RAsuvAJwNBgX5I+Wky53A5slhjNhsBJG7/QCeMcgW
> > 7f9ltTcWDNnfZbajWtlivZA=
> > =XuHz
> > -END PGP SIGNATURE-
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
>
> --
>   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]

- -- 
Corey Kovacs   "I know not with what weapons World War III
Computer Science   will be fought, but World War IV will be
DePauw University.  fought with sticks and stones."
765.658.4761  - Albert Einstein
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9yXtrglw65kKkYY4RAkU3AKC0gGb8WEFRlEdvUqhEM47sFsftDgCfXjE5
uq8gwsHit1BRkiwJ04Tcp/w=
=yDkU
-END PGP SIGNATURE-




Re: encoding ogg in konqueror

2002-11-06 Thread Todd Charron
Also with IDE-SCSi you need to 

chgrp /dev/sg0 audio
add your user to the audio group 
and then 
chmod g+rw sg0
log out, log in and all should work.

Todd


On Wed, 2002-11-06 at 15:09, Matěj Hausenblas wrote:
> Hi,
> I'm fan of KDE and I found that konqueror is able to encode the audio CD's 
> directly into ogg (or mp3). I successfully did this action in my previous 
> SuSE Linux, but now when I installed KDE3 on Debian, I can't acces the audio 
> CD's this way. 
> I would like to know what all programs I need to make it work also in Debian 
> (because I won't leave Debian for this;)
> Maybe a problem could be my cdrom drives are ide-scsi emulated, but I made 
> /dev/cdrom pointing to /dev/scd0 and /dev/cdrom1 -> /dev/scd1, so there's not 
> problem with some linking or stuff, also this works in abcde, but I would 
> like to use konqueror, it worked nicely.
> thanks in advance
> Matej
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 





Re: encoding ogg in konqueror

2002-11-06 Thread Chris Cheney
You need to install the kio audiocd plugin.

Chris

On Wed, Nov 06, 2002 at 09:09:57PM +0100, Mat?j Hausenblas wrote:
> Hi,
> I'm fan of KDE and I found that konqueror is able to encode the audio CD's 
> directly into ogg (or mp3). I successfully did this action in my previous 
> SuSE Linux, but now when I installed KDE3 on Debian, I can't acces the audio 
> CD's this way. 
> I would like to know what all programs I need to make it work also in Debian 
> (because I won't leave Debian for this;)
> Maybe a problem could be my cdrom drives are ide-scsi emulated, but I made 
> /dev/cdrom pointing to /dev/scd0 and /dev/cdrom1 -> /dev/scd1, so there's not 
> problem with some linking or stuff, also this works in abcde, but I would 
> like to use konqueror, it worked nicely.
> thanks in advance
> Matej




Re: 2 questions... again...

2002-11-06 Thread Achim Bohnet
On Monday 04 November 2002 17:15, Corey Kovacs wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I posted these question a few weeks ago with no good answer so I'll have a go 
> again since people are asking  me for the answer and i have none. Seems that 
> this is actually a problem so here goes... I am using kde31-rc1 from
> http://shakti.ath.cx/debian/kde3.1-rc1

In todays CVS build:

Settings -> Show Feature Bar -> Distribution Lists.

I liked the dialog much more but there seems to be a problem:

http://lists.kde.org/?l=kde-pim&m=103660717314693&w=2

Achim
> 
> 1. Does the new kaddressbook support "Creating" distribution lists as the old 
> "kab" did? It can use the old ones just fine, but I cannot figure out how to 
> create new ones.
> 
> 2. What happened to the "archive web page" etc. tools for konquerer?
> 
> Corey
> 
> 
> 
> - --
> Corey Kovacs   "I know not with what weapons World War III
> Computer Science   will be fought, but World War IV will be
> DePauw University.  fought with sticks and stones."
> 765.658.4761  - Albert Einstein
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE9xp07glw65kKkYY4RAsuvAJwNBgX5I+Wky53A5slhjNhsBJG7/QCeMcgW
> 7f9ltTcWDNnfZbajWtlivZA=
> =XuHz
> -END PGP SIGNATURE-
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 

-- 
  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]




encoding ogg in konqueror

2002-11-06 Thread Matěj Hausenblas
Hi,
I'm fan of KDE and I found that konqueror is able to encode the audio CD's 
directly into ogg (or mp3). I successfully did this action in my previous 
SuSE Linux, but now when I installed KDE3 on Debian, I can't acces the audio 
CD's this way. 
I would like to know what all programs I need to make it work also in Debian 
(because I won't leave Debian for this;)
Maybe a problem could be my cdrom drives are ide-scsi emulated, but I made 
/dev/cdrom pointing to /dev/scd0 and /dev/cdrom1 -> /dev/scd1, so there's not 
problem with some linking or stuff, also this works in abcde, but I would 
like to use konqueror, it worked nicely.
thanks in advance
Matej




Re: kbatt installation

2002-11-06 Thread Brian Nelson
Josep Febrer <[EMAIL PROTECTED]> writes:

> -- 
>L I N U X  .~.
> The Choice  /V\
>   of a GNU  /(  )\
>   Generation ^^-^^

Err, your penguin seems to be falling apart.  :)

-- 
People said I was dumb, but I proved them!




Re: kbatt installation (SOLVED)

2002-11-06 Thread Anders E. Andersen
./configure --prefix=/usr
Worked for me!
Thanks.
Anders



Re: KDE and security

2002-11-06 Thread David Bishop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 06 November 2002 05:55 am, Russell Coker wrote:
> For /tmp/ksocket-user and /tmp/.ICE-unix, will KDE use an environment
> variable for specifying the tmp directory?  If so it shouldn't be difficult
> to solve this.  Also what is the point of the .ICE-unix directory anyway?

Speak to the kde-kiosk guys about this.  It's a question that comes up 
everyonce in a while, but I don't remember the answer.  IOW, you could 
probably go through their list archives.

> But the .DCOPserver* files are a more serious problem.  IMHO the core code
> should be changed to put them somewhere more appropriate.  I'd be happy to
> offer a patch if someone's interested in merging it (either in Debian
> packages or upstream).

See above.

> While we're at it, the error handling in QT could probably be improved.  If
> you are denied access to create ~/.qt/.qtrc.lock then trying it four times
> is not going to get you access...

IIRC, this is because of crappy nfs issues.  I.e., it is quite possible to be 
denied access the first couple times and allowed the third, simply because so 
many nfs implementations suck :-(  Note that I am explicitly including 
linux's here...

- -- 
A mouse is a device used to point at the xterm you want to type in. 
  --Kim Alm, a.s.r 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9ySUcEHLN/FXAbC0RAlolAJ0blnfiaxiCuG2p3lV9CWvsHgNhcACg8PG7
KkssMsdYynPZ631DGKMZCp8=
=CYiu
-END PGP SIGNATURE-




Re: kbatt installation

2002-11-06 Thread Jan Schumacher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 06 November 2002 11:34, Josep Febrer wrote:
> A Dimarts 05 Novembre 2002 22:50, Anders E. Andersen va escriure:
> > the kbatt libraries are installed in
> >
> > /usr/local/kde/libs
>
> That's the problem the standard debian kde packages are on /usr not
> /usr/local. You can solve this on the configure with prefix, like this:
>
> ./configure --prefix=/usr

If you don't want to put selfcompiled programs into /usr, you can also add a 
line for all additional prefixes to /etc/kde3/system.kdeglobals, e.g.:

prefixes=/usr/local

under [Directories].

- -Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9yRoA4cR0MEP0sUQRAjEXAKC1rS/dSHgt10ZyfQIy2aB9R/jA7wCgzmI4
pMA4TJw/Ujy5bzkL7wOhgzU=
=3rbi
-END PGP SIGNATURE-




Re: kde3.0.4 very slow on startup (splashscreen)

2002-11-06 Thread Todd Charron
I've noticed this behaviour when no network connection is available. 
One of the running services (possibly lisa?) is trying to make a network
connection and waiting until it times out before continuing loading. 
That's my experience at least...

Todd

On Wed, 2002-11-06 at 04:47, Roland Gremmelspacher wrote:
> when i startup kde3 it seems to hang at the second icon of the 
> splashscreen (startup/init sytemservices). when i change to a console 
> and have a look to cpu-usage with top, top is the process with the 
> biggest cpu% wiht 0,5 to 0,7 it seems that kde waits for nothing 
> (harddisk is inactive too). but with patience a view MINUTES later kde 
> will start througth an i can use it with normal response times.
> 
> has anyone, any ideas
> 
> thx in advance
> roland
> 
> :wq
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 





KDE and security

2002-11-06 Thread Russell Coker
When logging in to KDE a file .DCOPserver_hostname__0 is created in the home 
directory and a symlink named .DCOPserver_hostname_:0 is created to point to 
it.

There are several other files that have been used by different versions of 
KDE, there was .MCOP-random-seed and there were a few others.

I think that these files should be created in a subdirectory so that they can 
be easily tracked, controlled, and removed when not needed.

One problem I am currently dealing with is that I want to run games under a 
different context that is denied read access to regular files (so a game 
can't send my private data over the net if cracked) and given read-only 
access to it's config files.

I've currently got my ~/.qt and ~/.kde directories set to the type 
user_games_ro_t so that games can read them but not write them (and regular 
processes can write them).  However the games still need access to 
/tmp/.ICE-unix (which is a bad idea anyway for security reasons), 
~/.DCOPserver_hostname__0, and /tmp/ksocket-user.

For /tmp/ksocket-user and /tmp/.ICE-unix, will KDE use an environment variable 
for specifying the tmp directory?  If so it shouldn't be difficult to solve 
this.  Also what is the point of the .ICE-unix directory anyway?

But the .DCOPserver* files are a more serious problem.  IMHO the core code 
should be changed to put them somewhere more appropriate.  I'd be happy to 
offer a patch if someone's interested in merging it (either in Debian 
packages or upstream).

While we're at it, the error handling in QT could probably be improved.  If 
you are denied access to create ~/.qt/.qtrc.lock then trying it four times is 
not going to get you access...

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page




Re: kbatt installation

2002-11-06 Thread Josep Febrer
A Dimarts 05 Novembre 2002 22:50, Anders E. Andersen va escriure:

> the kbatt libraries are installed in
>
> /usr/local/kde/libs
>

That's the problem the standard debian kde packages are on /usr not 
/usr/local. You can solve this on the configure with prefix, like this:

./configure --prefix=/usr

-- 
   L I N U X  .~.
The Choice  /V\
  of a GNU  /(  )\
  Generation ^^-^^




kde3.0.4 very slow on startup (splashscreen)

2002-11-06 Thread Roland Gremmelspacher
when i startup kde3 it seems to hang at the second icon of the 
splashscreen (startup/init sytemservices). when i change to a console 
and have a look to cpu-usage with top, top is the process with the 
biggest cpu% wiht 0,5 to 0,7 it seems that kde waits for nothing 
(harddisk is inactive too). but with patience a view MINUTES later kde 
will start througth an i can use it with normal response times.

has anyone, any ideas
thx in advance
roland
:wq



Re: Arts trouble with Ogg files..

2002-11-06 Thread Giles Constant
On Mon, 4 Nov 2002, I wrote:

> Hi,
>
> I was wondering where all my CPU went, and a quick look at top pointed at
> artsd.  Apon flicking to console, I saw this lot:
>
> OggS-SEEK: at 64640 want 64632 got 63040 (diff-requested -8)
> OggS-SEEK: at 64768 want 64760 got 63040 (diff-requested -8)
> OggS-SEEK: at 65344 want 65336 got 63040 (diff-requested -8)

Surely I'm not the only person seeing this.. ?