[gentoo-user] Re: How to access ~user on lighttpd ?

2008-03-04 Thread Jure Varlec
Amar Cosic wrote:

 I uncomented mod_userdir in lighttpd.conf but still cant access to it. I
 got 404 error
 
 
 


You also need something like this:
userdir.path = public_html
userdir.exclude-user = (root)

userdir.path sets the name of directory in the user's home that will be
exported.


Regards
Jure


-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Mathematica 6 Gentoo amd64

2007-08-08 Thread Jure Varlec
Aleksey V. Kunitskiy wrote:

 Hi,
 
 Does anybody have experience of installing Mathematica 6 on Gentoo amd64
 box? Is there any possibility to install it without chroot'ed environment?
 
 Thanks for suggentions
 

I never tried version 6, but they used to have 64 bit version for 5, so I 
guess there should be one for 6 :/ . Since the 5.1 that I used was native 64 
bit, it needed no chroot.

Regards
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Disable the access to a defined memory area

2007-07-02 Thread Jure Varlec
On Monday 02 of July 2007 11:50:37 Pongracz Istvan wrote:
 Hi,

 One of my partners has a problem in an existing motherboard.

 There are physical memory regions, which regions are buggy.
 I do not know, the memory module itself, or them motherboard, but if the
 kernel want to access to these region, it crashes.

 I would like to know, is there a solution to make a memory hole, which
 will be never addressed?

 The situation is similar, when the HDD has bad sectors and I cover them
 with a never-used-partition or file.

 I googled a while, before I wrote this email, but I have no result yet.

 Thank you,
 István


I think a boot parameter of the form
reserve=0xff48,0x87
should do the trick.

Regards,
Jure

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OpenSSL certificates and Kmail

2007-05-21 Thread Jure Varlec
On Sunday 20 of May 2007 20:16:43 Mick wrote:
 OK, I also tried Validate with CRL and I am now getting a CRL related
 error: =
 5 - 2007-05-20 19:09:00 gpg-agent[7251]: handler 0x80c8820 for fd 0
 terminated 7 - 2007-05-20 19:09:01 dirmngr[9532.0x8080078] DBG: - ISVALID
 CDECFDC58640B7262B39CCB59B61E8EEFF2ED4D0.0380C6
   7 - 2007-05-20 19:09:01 dirmngr[9532]: no CRL available for issuer id
 CDECFDC58640B7262B39CCB59B61E8EEFF2ED4D0
   7 - 2007-05-20 19:09:01 dirmngr[9532.0x8080078] DBG: - INQUIRE SENDCERT
   7 - 2007-05-20 19:09:01 dirmngr[9532.0x8080078] DBG: - [ 44 20 30 82 05
 42 30 82 03 2a a0 03 02 01 02 02 03 03 80 c6 30 25 30 44 06 09 2a [snip ] 7
 - 2007-05-20 19:09:01 dirmngr[9532.0x8080078] DBG: - [ 44 20 1c 45 de 3e
 49 63 5f 1f 65 58 03 4f 5c 08 82 ef cd b0 15 bd a7 2b 3e 58 76 [snip ] 7 -
 2007-05-20 19:09:01 dirmngr[9532.0x8080078] DBG: - END
   7 - 2007-05-20 19:09:01 dirmngr[9532]: crl_fetch via issuer failed:
 Configuration error
   7 - 2007-05-20 19:09:01 dirmngr[9532]: command ISVALID failed:
 Configuration error
   7 - 2007-05-20 19:09:01 dirmngr[9532.0x8080078] DBG: - ERR 167772275
 Configuration error
   6 - 2007-05-20 19:09:01 gpgsm[9531]: response of dirmngr: ec=10.115
   6 - 2007-05-20 19:09:01 gpgsm[9531]: checking the CRL failed:
 Configuration error
   6 - 2007-05-20 19:09:01 gpgsm[9531.0x80806a0] DBG: - S INV_RECP 0
 9964FAAE960AD708013D03A5CC3E6023CDC3E990
   6 - 2007-05-20 19:09:01 gpgsm[9531.0x80806a0] DBG: - ERR 167772275
 Configuration error
   6 - 2007-05-20 19:09:04 gpgsm[9531.0x80806a0] DBG: - BYE
   6 - 2007-05-20 19:09:05 gpgsm[9531.0x80806a0] DBG: - OK closing
 connection 7 - 2007-05-20 19:09:05 dirmngr[9532.0x8080078] DBG: - [EOF]
 =

 What should I use OCP or CRL and if the latter how am I supposed to
 configure this?


Ugh. Well, they say a picture is worth a thousand words:
http://imgs.xkcd.com/comics/unspeakable_pun.jpg

Now that I checked with some random signed mails on this list, it turns out my 
setup shows exactly the same symptoms as yours, i.e. it can't download 
certain CRLs and cacert's OCP doesn't work. To be frank, what I really needed 
S/MIME to work for are the bills my telco issues through e-mail. After 
installing dimngr and the relevant certificate, kmail recognizes signature in 
their bills correctly.

Funny thing is, kleopatra can and does download certain CRLs correctly using 
URLs embedded in a certificate, but can't do so for some others. And even if 
it can download a CRL, it then can't download the issuer certificate which 
makes it a bit useless. I haven't a clue how to proceed, as documentation 
seems a bit scarce.

As there are people on this list who use S/MIME signatures I guess it can be 
made to work. Perhaps someone could chime in?

Regards
Jure


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] OpenSSL certificates and Kmail

2007-05-21 Thread Jure Varlec
On Sunday 20 of May 2007 19:20:11 Elias Probst wrote:
 On Sunday 20 May 2007 14:53:06 Jure Varlec wrote:
  As, for the solution, it seem Kleopatra wants app-crypt/dirmngr, emerging
  it solved my problem. I'm not sure why relevant KDE apps don't depend on
  it.

 If kleopatra and other KDE apps really need dirmngr and it's not yet set as
 a dependency in the ebuilds, please report this to bugs.gentoo.org

 Thanks!

 Elias P.

Oh, I certainly would. The problem is I'm not quite sure that it is really a 
bug. Debug output suggests the preferred way to handle this isn't the dirmngr 
binary, but a service; the binary is merely a fallback. I don't know enough 
to determine which package provides it. S/MIME certs are black magic to me: I 
understand the principle, but the implementation is horrific from my point of 
view.

Regards
Jure


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] OpenSSL certificates and Kmail

2007-05-20 Thread Jure Varlec
On Sunday 20 of May 2007 13:24:09 Mick wrote:
 Hi All,

 I am trying to get to grips with OpenSSL Certs in Kmail.  I have created a
 CA and then created and signed with it a certificate for my email account
 (crt). Finally, I exported it as a pkcs12 bundle and tried to import it as
 smime into Konqueror  Kmail.  All went seemingly well, except for:

 1. When I tried to specify which cert to use in
 Kmail/Indentity/Cryptography I can see my imported Cert, but as I select it
 a red X comes up on the key symbol.  I assume then that it is not suitable
 for smime
 signatures/encryption?
 2. When I run gpgsm -K I get:
 ===
 [snip]
  validity: 2007-05-19 18:12:12 through 2010-05-18 18:12:12
  key type: 4096 bit RSA
 key usage: [error: No value]
  chain length: [error: No value]
 ===

 which is different to another certificate I have obtained from
 www.cacert.org: ===
  validity: 2007-04-23 13:49:42 through 2007-10-20 13:49:42
  key type: 2048 bit RSA
 ext key usage: emailProtection (suggested), clientAuth (suggested),
 1.3.6.1.4.1.311.10.3.4 (suggested), serverGatedCrypto.ms (suggested),
 serverGatedCrypto.ns (suggested)
 ===

 Any ideas what I need to do to make this certificate valid for use by
 Kmail?

 PS. I am not sure if the above errors mean that there is anything wrong
 with my certificate, as opposed to Kmail  Kleopatra.  Any certificate
 signed messages that I receive are not verified in Kmail - all I get is:
 
 Not enough information to check signature. [Details]

 Status: No status information available.
 

 If I press on [Details] Kleopatra pops up showing my cert.  Selecting
 Verify just shows done.

 Have you managed to make smime work with Kmail at all?

Hello

Heh, I dealt with a similar problem about a week ago. I'm not sure I'll ever 
understand all these certificate issues that seem to crop up on just about 
all platforms I ever used.

As, for the solution, it seem Kleopatra wants app-crypt/dirmngr, emerging it 
solved my problem. I'm not sure why relevant KDE apps don't depend on it.

Hope this helps
Jure



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] OpenSSL certificates and Kmail

2007-05-20 Thread Jure Varlec
On Sunday 20 of May 2007 16:47:00 Mick wrote:
 On Sunday 20 May 2007 13:53, Jure Varlec wrote:
  On Sunday 20 of May 2007 13:24:09 Mick wrote:
   Hi All,
  
   I am trying to get to grips with OpenSSL Certs in Kmail.  I have
   created a CA and then created and signed with it a certificate for my
   email account (crt). Finally, I exported it as a pkcs12 bundle and
   tried to import it as smime into Konqueror  Kmail.  All went seemingly
   well, except for:
  
   1. When I tried to specify which cert to use in
   Kmail/Indentity/Cryptography I can see my imported Cert, but as I
   select it a red X comes up on the key symbol.  I assume then that it is
   not suitable for smime
   signatures/encryption?
   2. When I run gpgsm -K I get:
   ===
   [snip]
validity: 2007-05-19 18:12:12 through 2010-05-18 18:12:12
key type: 4096 bit RSA
   key usage: [error: No value]
chain length: [error: No value]
   ===
  
   which is different to another certificate I have obtained from
   www.cacert.org: ===
validity: 2007-04-23 13:49:42 through 2007-10-20 13:49:42
key type: 2048 bit RSA
   ext key usage: emailProtection (suggested), clientAuth (suggested),
   1.3.6.1.4.1.311.10.3.4 (suggested), serverGatedCrypto.ms (suggested),
   serverGatedCrypto.ns (suggested)
   ===
  
   Any ideas what I need to do to make this certificate valid for use by
   Kmail?
  
   PS. I am not sure if the above errors mean that there is anything wrong
   with my certificate, as opposed to Kmail  Kleopatra.  Any certificate
   signed messages that I receive are not verified in Kmail - all I get
   is: 
   Not enough information to check signature. [Details]
  
   Status: No status information available.
   
  
   If I press on [Details] Kleopatra pops up showing my cert.  Selecting
   Verify just shows done.
  
   Have you managed to make smime work with Kmail at all?
 
  Hello
 
  Heh, I dealt with a similar problem about a week ago. I'm not sure I'll
  ever understand all these certificate issues that seem to crop up on just
  about all platforms I ever used.
 
  As, for the solution, it seem Kleopatra wants app-crypt/dirmngr, emerging
  it solved my problem. I'm not sure why relevant KDE apps don't depend on
  it.

 Thanks Jure, I'm afraid it didn't help in my case.  :(

 When I try to sign a message with my cacert.org certificate it fails
 with: Signing failed: General error.  Adding my selfsigned certificate
 also fails (but his may have something to do with the way I generated the
 certificate, rather than Kmail).  This is sooo complicated compared to
 GnuPG.

 Anything else I could try?

Hm, installing dirmngr should at least get rid of the Not enough information 
to check signature problem. *shrugs*
I suggest you start kwatchgnupg, it listens on the gnupg socket and displays 
all messages your apps send through there. It's the only way I found to see 
what's actually going on, because kmail's and kleopatra's error messages 
couldn't be less informative.

Hopefully, that should give a clue as to what to do next.

Regards
Jure


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] When could XGL support my video card ATI Radeon M300??

2007-01-02 Thread Jure Varlec
On Sunday 31 December 2006 06:27, [EMAIL PROTECTED] wrote:
 I was interested in 3D desktop of XGL, but my video has not been supported
 till now... This is the info of my card:
 01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Radeon
 Mobility M300]

 So, is there a hope for me to use XGL in future???

My Mobility X700 works quite well with opensource drivers included with xorg 
and AIGLX (never tried XGL, AIGLX is too simple to set up ;) ). Specifically, 
I tried it with x11-base/xorg-server-1.1.99.903-r1, media-libs/mesa-6.5.2, 
x11-libs/libdrm-2.3.0 and x11-drivers/xf86-video-ati-6.6.3.
But I still prefer using my i915, even though it's slower and uses shared 
memory, since x700 tends to have hiccups on heavy disk IO and uses more power 
(== shorter battery life).


pgpFXrXwqUaPK.pgp
Description: PGP signature


Re: [gentoo-user] Please Help: Major problems with Modular X

2006-09-23 Thread Jure Varlec
On Saturday 23 September 2006 09:58, Chris Walters wrote:
 Hello everyone,

 I realize that I just posted on this subject, but since all versions of
 Xorg, except for modular X have been hard masked, I need some help or
 advice - preferably from someone who has had this problem and solved it.

 My configuration: Athlon 1 Ghz, 512 MB, and for video an ATI Radeon
 9550SE (identified by the kernel probe as a Radeon 9600 AS.

 This all works fine under monolithic Xorg (6.8.2).  However, when I have
 tried to switch to modular Xorg, I can't get a screen.  I have tried
 both the proprietary driver, which is supposed to support my card (the
 kernel won't load it), and the radeon driver.

 For setup, I have used every setup utility available, and even tried to
 set up my xorg.conf file myself.  In most cases, it finds all the modes
 supported by my card when I try it out, but it errors out with a couple
 of errors: 1. Insufficient memory for the requested window, and 2.
 Screens found, but none have a usable configuration.

 For some reason, modular Xorg is not allocating enough memory for a
 screen and I can't find a way to fix this.

 Regards,
 Chris


Chris,
Unless I missed your mail, as tends to happen to me on this list, you didn't 
respond to my earlier suggestion, nor did you post your /var/log/Xorg.0.log 
as Richard requested. I don't see why a new thread is necessary.

Regards,
Jure


pgpmkWxZ4npd2.pgp
Description: PGP signature


Re: [gentoo-user] Please Help: Major problems with Modular X

2006-09-23 Thread Jure Varlec
On Saturday 23 September 2006 15:09, Chris Walters wrote:
 I don't recall seeing any replies to my original post, so I figured it
 must have gotten lost.  As for the Xorg log, I don't have one to post -
 if I had, I would have posted the pertinent portions rather than
 describe the problem.

I apologize then. While single messages do sometimes go missing on this list 
(they should be archived on gmane though), it's strange that both of them 
would go missing so I assumed you got at least one.

Anyway, my suggestion was to put  'VideoRam 131072' in your xorg.conf under 
Section Device, assuming misdetection of card's memory is the only problem. 
There's not much else to try without any detailed information, i.e. logs :/ . 
How about running with 'startx -logfile filename' or, if that 
fails, 'startx -verbose 3'? In the latter case, you can log it easily 
using 'script'.

HTH
Jure


pgphbjqiPzHJl.pgp
Description: PGP signature


Re: [gentoo-user] Major problem with Xorg 7+

2006-09-20 Thread Jure Varlec
On Wednesday 20 September 2006 12:25, Chris Walters wrote:
 It works with xorg-x11-6.8.2-r8, which is now hard masked.  Under
 xorg-x11-7.0-r1 it will not work, no matter what I've tried.  I tried
 the proprietary ATI driver, the Radeon driver and even the VESA driver.
  The proprietary driver will not load during the boot process, and with
 the other drivers, even when I tell it what modes to use, I get an error
 that says there's not enough memory for the selected mode.  The final
 error goes something like, Screens found but none have a usable
 configuration.  I have tried the Xorg configuration utilities, but they
 haven't produced any better results.

Chris,
Have you tried putting 'VideoRam 131072' in your xorg.conf under 
Section Device? The error saying there's not enough memory makes me think 
it fails to detect the correct amount of it. You can look 
at '/var/log/Xorg.0.log' to see if this is true.

Regards,
Jure


pgpcJTIgIlBeI.pgp
Description: PGP signature


Re: [gentoo-user] Why is glibc ntpl+nptl-only?

2006-09-16 Thread Jure Varlec
On Friday 15 September 2006 07:07, Wolfgang Liebich wrote:
 Hi,
 For my new gentoo system I switched to the latest  greatest profile -
 2006.1. During the initial installation emerge told me glibc 2.4 is
 nptlonly - so I turned on the nptl and nptlonly USE flags in make.conf.
 Now my old linux system (profile 2006.0) tells me the same.
 Sooo - i guess I would have to switch to the no-nptl profile in order to
 keep the old (-nptl -nptlonly) settings. Is this a good Idea? Or is
 using nptl+nptlonly better (faster, less hassle, less memory footprint)
 anyways?
 TIA,
 Wolfgang Liebich

Well, the new glibc-2.4 only supports nptl, unlike glibc-2.3 which supported 
both threading models. So if you want legacy linuxthreads, you have to stay 
with glibc-2.3.
As for being better, glibc-2.4 is better than 2.3 IMHO. 
Also, nptl -nptlonly combination with 2.3 actually builds two versions of 
glibc, one with nptl and one with linuxthreads, so you get a longer compile 
and larger disk footprint.

Regards,
Jure


pgpfBVcN6quJH.pgp
Description: PGP signature


Re: [gentoo-user] mediawiki mass installation

2006-08-27 Thread Jure Varlec
On Sunday 27 August 2006 15:06, Enrico Weigelt wrote:
 Hi folks,

 does anyone have some tool for mediawiki mass installations,
 which does an completely automatic (non-interactive) mediawiki
 installation from some configfile ?

 It also would be fine, if this tool could move the non-individual
 parts (ie. program code, stylesheets, ...) to some common place,
 so save some space.

AFAIK Gentoo's webapp-config does these things, but I've only managed to 
scratch the surface of what it's capable of since I don't use webapps much. 
If you have multiple physical servers to maintain, you could emerge 
mediawiki, install it with webapp-config and write a simple script which 
executes posti-install instructions and modifies config files so you don't 
have to do it manually on each server. After that, upgrades are handled with 
webapp-config.
-- 
Jure Varlec


pgpicQey89j7V.pgp
Description: PGP signature


Re: [gentoo-user] IP Masquerading hardware, crossover versus hub

2006-08-10 Thread Jure Varlec
On Thursday 10 August 2006 05:22, Iain Buchanan wrote:
 Go not to gentoo-user for council, for they will say both hub and no
 hub.

I say switch :P

-- 
Jure Varlec


pgpD1wbHFlNoA.pgp
Description: PGP signature


Re: [gentoo-user] Kernel output to ttyS1

2006-07-06 Thread Jure Varlec
On Thursday 06 July 2006 20:20, Bertram Scharpf wrote:
 Hi,

 I'm migrating my router to Gentoo. Therefore I have to boot
 the old system from time to time. This I'm doing through a
 serial connection.

 Grub und the getty communicate to Minicom without complaint.
 However, the kernel messages while booting get lost.

 The Grub configuration is:

 serial --unit=1 --speed=9600
 ...
 kernel /boot/vmlinuz-2.6.16-myone root=/dev/hda1 ro vga=791 console=tty0
 console=ttyS1

 The old kernel on the old system reports as expected with
 the same parameters.

 Suppose I forgot something to compile into the kernel.

 Any hints?

 Thanks in advance,

 Bertram


 --
 Bertram Scharpf
 Stuttgart, Deutschland/Germany
 http://www.bertram-scharpf.de

I don't recall what the defaults are, maybe it would help if you changed the 
parameter for your kernel to console=ttyS1,115200n8r or whatever suits your 
config.

As for the kernel, everything you need should be in
Device Drivers - Character devices - Serial drivers

My config:

* 8250/16550 and compatible serial support
[*]   Console on 8250/16550 and compatible serial port
[ ]   8250/16550 device discovery via ACPI namespace
(4)   Maximum number of non-legacy 8250/16550 serial ports
[*]   Extended 8250/16550 serial driver options
[*] Support more than 4 legacy serial ports
[*] Support for sharing serial interrupts
[ ] Autodetect IRQ on standard ports (unsafe)
[*] Support special multiport boards
[*] Support RSA serial ports

-- 
Jure Varlec


pgpSzTfY8yyc6.pgp
Description: PGP signature


Re: [gentoo-user] ufed questions

2006-06-30 Thread Jure Varlec
On Friday 30 June 2006 04:09, sean wrote:
 Trying out the program for the first time and one simple question is if
 you choose an item how do you specify that you want it to be a '-'?

 Pressing the space bar selects it, and adds it to make.conf with a +,
 but how do you get it to add with the '-' in front of it?

   Thanks
   Sean

It's been a while since I last used it, but as far as I remember it will do 
that only if an item is in the defaults AND you unselected it. No point in 
having it disabled in make.conf if it wasn't enabled in the first place.
-- 
Jure Varlec


pgp1CfSuN7qau.pgp
Description: PGP signature


Re: [gentoo-user] USE flag

2006-06-29 Thread Jure Varlec
On Thursday 29 June 2006 06:49, Ryan Tandy wrote:
 Er... maybe I misunderstood something, but gtk and ncurses are two
 COMPLETELY different things.

Well, they are both libraries for creating user interfaces. GTK uses X, 
ncurses uses a terminal. And if Nick prefers to run profuse in the console, 
he really doesn't need GTK support.
-- 
Jure Varlec


pgp3TYiSq4cuO.pgp
Description: PGP signature


Re: [gentoo-user] USE flag

2006-06-29 Thread Jure Varlec
On Thursday 29 June 2006 09:03, Jure Varlec wrote:
 On Thursday 29 June 2006 06:49, Ryan Tandy wrote:
  Er... maybe I misunderstood something, but gtk and ncurses are two
  COMPLETELY different things.

 Well, they are both libraries for creating user interfaces. GTK uses X,
 ncurses uses a terminal. And if Nick prefers to run profuse in the console,
 he really doesn't need GTK support.

Sorry, didn't pay attention to what you quoted. Apologies.
 without gtk support (aka ncurses)

-- 
Jure Varlec


pgpeeqbaZ9gzC.pgp
Description: PGP signature


Re: [gentoo-user] get unversioned list of installed packages without eix or esearch

2006-06-26 Thread Jure Varlec
On Monday 26 June 2006 08:44, Bo Ørsted Andresen wrote:
 I was of course considering something like this:

 # cd /var/db/pkg  ls * |
 ${some_magic_regular_expression_to_remove_version}

 But I have found it impossible to make a regular expression that does break
 for at least one of those:

sed -r 's/-[^-]+(-r[0-9]+)*$//'
It works on the examples you provided. I don't think anything in the tree 
uses '-' in the version number, unless it's a case of '-rN'. But you never 
know, of course, so I always double check all package names I ever filter 
through anything.

Regards
Jure


pgp0WsBJENCxI.pgp
Description: PGP signature


Re: [gentoo-user] Unwanted dependencies

2006-06-24 Thread Jure Varlec
On Friday 23 June 2006 23:16, Benno Schulenberg wrote:

 These bugs look relevant:
 https://bugs.gentoo.org/show_bug.cgi?id=81012
 https://bugs.gentoo.org/show_bug.cgi?id=124053

 Benno

Ah, thank you. So people are aware of this. I need to search more thoroughly 
next time :/

Jure


pgp06i5ig5iNZ.pgp
Description: PGP signature


Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Jure Varlec
Thank you for replying. I see now that I should clarify further what is 
bothering me, as you didn't quite see my point. I guess it got lost in the 
noise. No more stories then :)

Remember USE flags are for *optional* dependencies. Mandatory dependencies 
will remain no matter what USE flags you set.

I understand. That is not the problem.

How did you determine that? Did the ebuild inherit any eclasses and did you 
look in those? Also make sure you have =gentoolkit-0.2.2.

Gentoolkit is 0.2.2. After equery, I took a look at the ebuild.
As for the eclasses, I must admit I'm still not too comfortable with them, 
which is what I was actually referring to when I said I need to understand 
portage better. It's a shame really considering that I've been using gentoo 
for two-and-a-half years. I need to get spanked ;) . But as far as I 
understand it (and from what I can see looking at the eclasses) they are 
merely collections of useful shell functions which devs can use when writing 
ebuilds.

Anyway, to get rid of unnecessary confusion, I will give you an example 
package which I remember, and whose ebuild is simple enough so that it does 
not include any complicated inherits. In fact, it is short enough to be 
included in this mail.

 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/gqview-2.0.1.ebuild,v
 1.8 2006/02/21 21:31:07 mr_bones_ Exp $

 DESCRIPTION=A GTK-based image browser
 HOMEPAGE=http://gqview.sourceforge.net/;
 SRC_URI=mirror://sourceforge/gqview/${P}.tar.gz

 LICENSE=GPL-2
 SLOT=0
 KEYWORDS=alpha amd64 ia64 ppc ppc64 sparc x86
 IUSE=

 RDEPEND==x11-libs/gtk+-2.4.0
 virtual/libintl

 DEPEND=${RDEPEND}
 sys-devel/gettext

 src_install() {
 make DESTDIR=${D} install || die make install failed
 # leave README uncompressed because the program reads it
 dodoc AUTHORS ChangeLog TODO
 rm -f ${D}/usr/share/doc/${PF}/COPYING
 }

As you can see, it does not inherit anything, and does not depend on anything 
gnomish. However, when I checked with equery, it definitely depended on 
something which I didn't need/want (sorry, I can't remember what it was, 
probably gconf or some such), although the ebuild specifies no such 
dependency, not even indirectly (through gtk+ etc.)  After I removed the 
unwanted dep and remerged gqview, it did not pull the removed dependency 
back in, and no longer depends on it.

The same applies for dependencies which were disabled through use flags, such 
as this snip (from openoffice):

 gnome? ( =x11-libs/gtk+-2.4

 =gnome-base/gnome-vfs-2.6
 =gnome-base/gconf-2.0 )

In this case, It depended on gnome-vfs and gconf, even when the gnome USE flag 
was disabled. After I removed the offending packages and recompiled 
openoffice, the dependecy is gone.
Note: you might remember I wrote that oo.org used to be compiled with 
USE=eds, which pulls these in along with other stuff indirectly through 
gnome-extra/evolution-data-server. It was the reason these libs were 
installed in the first place. The dependency problem I'm describing, however, 
is independent from that and was present even after I recompiled oo.org 
without eds.

I hope this helped you better understand what is bothering me. It's not that 
I'm particularly against having those libs installed and wouldn't mind to 
keep them if they were hard deps of something I needed, but I'm kind of 
frustrated when packages depend on things I told them not to depend on 
through USE flags. It means I cant test a package with a hard dep on a lib 
because in case I emerge something while that lib is installed, I'll never 
know if it will choose to depend on that lib, which in turn would mean that 
after I remove the lib, I need to recompile stuff, once more. In the past two 
weeks, I recompiled openoffice 4 times, which is 3 times more than I'm 
normally willing to do it. This is not to say I would be less frustrated if 
only small packages were affected :)

Looking at oo.org ebuild again and I see that it uses use_enable function in 
the call to ./configure. So why the heck did it depend on gconf and gnome-vfs 
when it was obviously told not to? And even more confusing: how did equery 
know about this dependency?

*Sigh*
I hope I'm missing something here. Because if these are bugs, there's quite a 
few. Sadly, I removed all the temporary lists of packages I removed and 
rebuilt, so I have nothing to report now. Stupid me.

Jure




pgp42lQd4UUE6.pgp
Description: PGP signature


Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Jure Varlec
On Friday 23 June 2006 18:34, Neil Bothwick wrote:
 On Fri, 23 Jun 2006 17:51:16 +0200, Jure Varlec wrote:
  Note: you might remember I wrote that oo.org used to be compiled with
  USE=eds, which pulls these in along with other stuff indirectly
  through gnome-extra/evolution-data-server. It was the reason these libs
  were installed in the first place. The dependency problem I'm
  describing, however, is independent from that and was present even
  after I recompiled oo.org without eds.

 How did you disable that USE flag? AIUI equery works with global USE
 flags, so if emerge --info still shows eds, equery will think OOo depends
 on it, no matter what you have in /etc/portage.

It's disabled in make.conf. I have a policy to disable global flags there, and 
local flags in package.use. It's just that I missed eds when I went through 
global flags, and I obviously didn't pay attention when I emerged oo.org. Not 
that it matters for the problem at hand.

Jure


pgpVtnbGQrnZf.pgp
Description: PGP signature


Re: [gentoo-user] Unwanted dependecies

2006-06-23 Thread Jure Varlec
On Friday 23 June 2006 19:40, Bo Ørsted Andresen wrote:
 I do have openoffice and gnome-vfs too. equery depends gnome-vfs does
 report openoffice for me despite the fact that the gnome use flag is
 disabled. So I tried removing gnome-vfs from
 /var/db/pkg/app-office/openoffice*/{R,}DEPEND. That stopped equery from
 showing openoffice with equery depends gnome-vfs. I also tried removing
 gnome-vfs and running revdep-rebuild -p. This did not report any broken
 dependencies from openoffice. So I think it is very possible that there are
 still bugs in equery... I don't know though how equery works though so it's
 just a guess.

Hm. I guess it's not hard to imagine equery fails to read USE flags correctly 
and that would make it a bug. But this still doesn't explain gqview, which 
doesn't have neither hard nor USE dependencies on anything I removed.

Obviously I have to do more research, especially since I haven't any data to 
support me. And I thought cleaning out unneeded libs would be a fun thing to 
do in between the exams :) . Meh. Unless someone picks this up, I'll have 
more time in a month or so. I'm definitely not going to file any bugs or some 
such until I know more.

Thank you for your input
Jure


pgpLbqJfpkRmK.pgp
Description: PGP signature


Re: [gentoo-user] LDPATH not set

2006-06-07 Thread Jure Varlec
On Wednesday 07 June 2006 01:45, Robert Persson wrote:
 in /etc/env.d/00basic I have the line
 LDPATH=/usr/local/lib
 yet when I enter echo $LDPATH I get nothing and I have to set it manually
 to get programs using libraries installed in /usr/local/lib to work.

 What have I done wrong?

 Many thanks
 Robert
 --
 Robert Persson
 That's MISTER Scum to you.


Did you run env-update?


pgpmIxQGSkXLv.pgp
Description: PGP signature


Re: [gentoo-user] viewing consoles remotely

2006-06-03 Thread Jure Varlec
On Friday 02 June 2006 06:57, Ryan Tandy wrote:
 Multi-user mode.  Only works as root, regardless of who started the screen.

AFAIK suid root is enough. Using it depends on your approach to security 
though :) .


pgpscL0Ui4GUP.pgp
Description: PGP signature


Re: [gentoo-user] Xgl mem usage

2006-05-31 Thread Jure Varlec
Funny. I'm using xorg 7 and am experiencing similarly high memory usage.

On Wednesday 31 May 2006 16:31, Lukas Kasprowicz wrote:
 Hi,

 Is the Xgl mem usage how it should be?

 For me Xgl starts with 69m RES. After one day it uses 290m RES. It had

 400m RES, too until i restarted X.

 It seems for me, like it does not use cache. Is this correct?


 Lukas


pgpbRKPMBjVMr.pgp
Description: PGP signature


Re: [gentoo-user] Problems when more than one application uses sound

2006-05-28 Thread Jure Varlec
On Sunday 28 May 2006 17:57, Felipe Ribeiro wrote:
 Hi,

 I'm using alsa, and i can't use the sound simultaneously by more than
 one application, for example, when i'm seeing flash animations on
 firefox, xmms can't output sound. How can i solve this?

 Cheers,
 Felipe

ALSA supports software mixing, but you have to create a proper asoundrc config 
file to activate the dmix plugin. See 
http://gentoo-wiki.com/HOWTO_ALSA_Complete_(includes_dmix)


pgpmKY8aDc0VO.pgp
Description: PGP signature


Re: [gentoo-user] xorg i810/i915 mode problem (modular X)

2006-05-21 Thread Jure Varlec
On Sunday 21 May 2006 01:42, W.Kenworthy wrote:
 The modes are there but xorgs log shows them as filled out with zeros
 (see the bit for Mode 38 below - quite a number of modes are like this).
 915resolution reports that the modes I want to use are present) If I
 start it up with the ext monitor connected I get a weird display on both
 screens - unusable.

 Ive done all the standard things and am thinking Ive run up into an xorg
 bug with this driver.  It will be a few weeks before I get the time to
 fiddle with this again - its at least usable as long as I dont boot it
 with an ext monitor plugged in, if non-optimal in the way I am currently
 using it.

The modes which xorg null's out are the ones your hardware cannot support. 
Only now did I notice that your laptop's native resolution is 1366x768. That 
is 768 pixels vertical. You physically cannot have 1024 pixels. Yet you write 
that you managed to force it once. Are you sure that was it?

Anyway, I don't think you can use such a mode on your laptop. Your projector 
should work fine of course, but without clone mode.

Another possibility would be having 1280x1024 workspace, which should display 
properly on the projector, but using a lower resolution on the laptop, which 
should behave like zooming because the workspace is bigger. I don't know how 
to do this off the top of my head, but it should be in the man pages.

Regards,
Jure


pgpWbjs2oSqCA.pgp
Description: PGP signature


Re: [gentoo-user] xorg i810/i915 mode problem (modular X)

2006-05-20 Thread Jure Varlec
On Wednesday 17 May 2006 08:12, W.Kenworthy wrote:
 I have a new Sony Vaio laptop with a 1366x768 screen using the intel
 Mobile 915GM/GMS/910GML Express Graphics Controller which can be
 driven by the xorg i810 driver.  Works fine on the laptop in this
 resolution.

 The problem I have is that many of the possible modes for this chipset
 return blank when xorg starts as in the example below from the xorg log
 - the mode I want to use is 1280x1024 for an external projector.

 I have (once!) been able to get 1280x1024 using 915resolution to force
 the mode, and two screens but I need to use clone mode so this wasnt
 practical (I want clone mode with the same desktop on both screens)

 Can someone point me towards a solution please.  It seems to me that
 xorg is not reading the chipset correctly.  Note that ddc on or off
 doesnt help (and if I have an external monitor attached when xorg
 starts, it really stuffs things up, also ddc on or off!)

 My requirement is to use 1360x768 when standalone, or 1280x1024 on
 either an LCD desk monitor, or same resolution on a projector in clone
 mode.  When doing the external thing, the laptop screen doesnt have to
 be 'perfect'.  Currently I can do this, but only in 1024x768, which
 looks terrible on the ext LCD due to aliasing.


 BillK


First, make sure you have proper modes in your VBIOS with 915resolution, and 
that you have those resolution in your Screen section in xorg.conf. Then 
make sure xorg knows which pipe has which display (e.g., I have 
Option MonitorLayout CRT,LFP in my xorg.conf; check the driver's man 
page).
After that, using clone mode should work with all those resolutions. However, 
there are two things you must be aware of. Firstly, it seems you need to 
restart xorg /after/ you connect the other monitor in order for it to enable 
clone mode (although I think there is an option for the driver to enable 
polling). Secondly, xorg fails to negotiate the proper resolution with 
certain displays, e.g. I had a problem with a projector once. In that case, 
you must set the correct resolution in your Screen section and delete the 
others.

Good luck.


pgpXwEUnXps44.pgp
Description: PGP signature


Re: [gentoo-user] A couple projects on my laptop

2006-05-09 Thread Jure Varlec
On Monday 08 May 2006 20:48, Timothy A. Holmes wrote:
  I need to be able to use a USB to Serial dongle to talk to my
 switches -- the adapters that I have are Triplite ones and I do have the
 driver disk for windows -- along with this, I need a good communications
 program (equivalent to hyperterm ) to use with them to talk to my
 switches and to my UPS

There are many drivers in the kernel. They've got a category among other USB 
devices. I'm not sure, but it may be that you have to enable serial support.
You can read more under Documentation/usb/usb-serial.txt.

For the terminal, I recommend net-dialup/minicom.


pgpdRI0STxwh7.pgp
Description: PGP signature


Re: [gentoo-user] LVM2 Problems

2006-05-09 Thread Jure Varlec
I've never seen this issue, so I may not be the right person to give advice 
here. But at a glance, it looks like lvm and device-mapper are incompatible 
or something similar. If I were in your place I would try differrent versions 
of lvm2, device-mapper and/or kernel.

FYI, my configuration works with kernel 2.6.16-r1,
device-mapper 1.02.03 and lvm2 2.02.05.

On Tuesday 09 May 2006 17:40, [EMAIL PROTECTED] wrote:
 Hi,

 I recently synced my Gentoo (2.6.7-gentoo-r13) and after emerging
 updated ebuilds, sure lvm2 was one of them and a reboot I lost my
 mounted fs.

 Fortunately I do not have / (root) under LVM however all efforts so far
 haven't brought my fs back:

 # /etc/fstab: static file system information.
 # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14
 2003/10/13 20:03:38 azarah Exp $
 #
 # noatime turns off atimes for increased performance (atimes normally
 aren't # needed; notail increases performance of ReiserFS (at the expense
 of storage
 # efficiency).  It's safe to drop the noatime options if you want and to
 # switch between notail and tail freely.

 # fs  mountpointtype  opts
 dump/pass

 # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
 /dev/hda1   /boot   ext2noauto,noatime
 0 0
 /dev/hda2   /   reiserfsnoatime
 0 0
 /dev/cont/swap  noneswapsw
 0 0
 /dev/cont/usr   /usrreiserfsnoatime
 0 0
 /dev/cont/var   /varreiserfsnoatime
 0 0
 /dev/cont/home  /home   reiserfsnoatime
 0 0
 /dev/cont/tmp   /tmpreiserfsnoatime
 0 0
 /dev/cont/var-log   /var/logreiserfsnoatime
 0 0
 /dev/cont/var-www   /var/wwwreiserfsnoatime
 0 0
 /dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto,ro
 0 0
 #/dev/fd0   /mnt/floppy autonoauto
 0 0

 # NOTE: The next line is critical for boot!
 none/proc   procdefaults
 0 0

 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
 # POSIX shared memory (shm_open, shm_unlink).
 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
 #  use almost no memory if not populated with files)
 # Adding the following line to /etc/fstab should take care of this:

 none/dev/shmtmpfs   defaults
 0 0


 df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/hda2 479M   80M  399M  17% /
 none


 pvscan
   PV /dev/hda3   VG cont   lvm2 [111.23 GB / 6.74 GB free]
   Total: 1 [111.23 GB] / in use: 1 [111.23 GB] / in no VG: 0 [0   ]

 vgscan
   Reading all physical volumes.  This may take a while...
   Found volume group cont using metadata type lvm2

 vgchange -a y
   device-mapper: deps ioctl failed: Invalid argument
   _deps: task run failed for (254:0)
   Failed to add device (254:0) to dtree
   device-mapper: deps ioctl failed: Invalid argument
   _deps: task run failed for (254:1)
   Failed to add device (254:1) to dtree
   device-mapper: deps ioctl failed: Invalid argument
   _deps: task run failed for (254:2)
   Failed to add device (254:2) to dtree
   device-mapper: deps ioctl failed: Invalid argument
   _deps: task run failed for (254:3)
   Failed to add device (254:3) to dtree
   device-mapper: deps ioctl failed: Invalid argument
   _deps: task run failed for (254:4)
   Failed to add device (254:4) to dtree
   device-mapper: deps ioctl failed: Invalid argument
   _deps: task run failed for (254:5)
   Failed to add device (254:5) to dtree
   device-mapper: deps ioctl failed: Invalid argument
   _deps: task run failed for (254:6)
   Failed to add device (254:6) to dtree
   device-mapper: deps ioctl failed: Invalid argument
   _deps: task run failed for (254:7)
   Failed to add device (254:7) to dtree
   8 logical volume(s) in volume group zoom now active
   248M 0  248M   0% /dev/shm

 Any further suggestions how to troubleshoot or fix the issue ?

 ~Barny


pgpBxLT72Rqdu.pgp
Description: PGP signature


Re: [gentoo-user] OT - which X terminal do you use?

2006-05-09 Thread Jure Varlec
On Tuesday 09 May 2006 20:33, Neil Bothwick wrote:
 I am writing a comparative review of a number of X terminals, so I
 thought I'd draw on the collective wisdom of this list. which are your
 most/least favourite X terminals, and why?

I use yakuake. It's the the best drop-down terminal I've ever used, and I 
believe I tried almost all of them (there really aren't many). Off the top of 
my head, I recall yeahconsole and kuake. There's also tilda, but I never 
tried it.

yeahconsole is good if you want as few dependencies as possible. It's 
basically xterm wrapped in a hidable window, although it seems to be missing 
some functionality (e.g. unicode support, at least back when I used it). 
Also, you need to use screen if you want to make it really useful, which 
isn't bad, of course,  but lack of tabs is lack of features nonetheless :) . 
Also, I had to hack source in order to change some configuration, can't 
remember what.

kuake is rather out-of-date and has been superseded by yakuake. While both are 
wrappers for KDE's konsole, the latter is noticeably faster and has more 
features. Most important, it has tabs and is also more configurable regarding 
focus policy (whether it retracts when it loses focus). The only thing it 
currently lacks and would really be useful is emacs-like tiling. It would 
basically make it a retractable set of terminals. It would make copypaste 
easier. But tab switching is actually quick enough to compensate for this 
lacking.


pgpKavzr2Rrtb.pgp
Description: PGP signature


[gentoo-user] What exactly is kernel timer frequency?

2006-05-07 Thread Jure Varlec
What exactly does 'Timer frequency' (under 'Processor type and features') do? 
Which timer does it control? I'm asking because it seems to have interesting 
effects.

I used to have it set to 1KHz. Yesterday, I tried setting it to 100Hz just to 
see what effects it would have. I didn't notice any impact on responsiveness. 
There is a funny effect with superkaramba though. I noticed it with the 
system monitor first, but I added a clock to see it better. I set the refresh 
interval for the clock to 1 sec, and everytime it refreshes, it seems to 
'skip a beat'. Hard to describe it. When it refreshes to show the current 
number of seconds, it refreshes again a not-sot-tiny fraction of a second 
later and shows the next second. Then, it fails to refresh for almost 2 sec, 
then does it again.
It seems funny because 100Hz frequency is low enough for a human to observe 
(or not, depending on what you're observing) but too high to cause such 
behavior. That means I misunderstand what this setting does, so I'm turning 
to you for an answer.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What exactly is kernel timer frequency?

2006-05-07 Thread Jure Varlec
On Sunday 07 May 2006 21:47, Jure Varlec wrote:
 So now I mostly understand what this does. But the way the clock acts still
 seems funny. Where could that jump come from? 100Hz seems too high for
 that, unless I'm missing something.

I played with it some more. Only with superkaramba for now, as this is where 
it's most apparent (haven't noticed this jump/skip anywhere else for now). 
This jump seems to happen when I have multiple themes and/or sensors set to 
the same update interval of 1 sec, i.e. when there are many processes 
starting up at the same moment.
As the timer frequency relates to the process scheduler, I now believe that 
with such a low frequency not all processes manage to complete their tasks 
within the update interval. Therefore some of them update too late. But why 
another update so soon after the last one? It makes me think two updates get 
stacked and then both processed at the same time.

Pha. It's bloody obvious I haven't a clue about how this is all implemented. 
While it's not an issue to be solved, it's interesting and I'd appreciate if 
someone can explain this to me.


pgp8hHpLRuSgN.pgp
Description: PGP signature


Re: [gentoo-user] ipw2200 chipset mini wireless card

2006-05-05 Thread Jure Varlec
On Friday 05 May 2006 15:52, Jeremy Olexa wrote:
 Does anyone really know what the difference is? I originally used the
 ebuilds because I could only assume that they will be more up to date.
 But now I realize that new kernels come out pretty quick so I don't
 think this is the case. Anyone have insight?

For me, both worked well for normal usage. However, the in-kernel drivers 
didn't support monitor mode too well (or at all), i.e. kismet didn't work. I 
think firmware was the real culprit, but I'm not sure. Anyways, ebuild 
drivers and firmware 3.0 work perfectly.


pgpbSzq0dwfYI.pgp
Description: PGP signature


Re: [gentoo-user] Non Standard X Resolution

2006-05-04 Thread Jure Varlec
On Thursday 04 May 2006 05:46, Jamie wrote:
 In the next few days I will be getting my brand new Dell 2007WFP LCD
 delivered and obviously I want to use it on my Gentoo box.
 This screen uses a non-standard resolution of [EMAIL PROTECTED] and I have no
 idea how to get this setting in my XOrg setup. Can anyone point me in the
 right direction?

 Thanks

 Jamie

It's a valid resolution, simply put it under Modes, Subsection Display, 
Section Screen.
The only problem you should have are invalid VideoBIOS entries if your card is 
an i915.


pgpPbDtraRIyL.pgp
Description: PGP signature


Re: [gentoo-user] Best File System For Linux

2006-05-04 Thread Jure Varlec
On Thursday 04 May 2006 18:26, Michael Sullivan wrote:
 Is there a way to defragment a rieserfs file system?

From Wikipedia:
 There is no known way to defragment a ReiserFS filesystem, aside from a full 
dump and restore. However ReiserFS v4 has a repacker that takes care of file 
fragmentation.

-- 
gentoo-user@gentoo.org mailing list