Re: [gentoo-user] $LINGUAS question

2008-05-24 Thread Mick
On Friday 23 May 2008, Neil Bothwick wrote: On Fri, 23 May 2008 17:02:19 +0100, Mick wrote: Despite my LINGUAS settings I have noticed that kcontrol only shows US English under languages. Country Region allows me to select UK, but the only option that I have/can add under languages is US.

Re: [gentoo-user] Re: is grub in my mbr?

2008-05-24 Thread Dirk Heinrichs
Am Samstag, 24. Mai 2008 schrieb »Q«: OK, then for the reference: https://bugs.gentoo.org/show_bug.cgi?id=223311 Thanks much for filing that. I'm trying to resist temptation to spam the bug agreeing with you. You could use the vote function, then. Bye... Dirk signature.asc

Re: [gentoo-user] $LINGUAS question

2008-05-24 Thread Neil Bothwick
On Sat, 24 May 2008 07:17:35 +0100, Mick wrote: emerge kde-i18n Just as was ready to reply I already have I found out that I have not . . . Ha! I wonder if it should be a dependency of kdelibs if $LINGUAS is set to anything but en_US. -- Neil Bothwick We've all heard that a million

Re: [gentoo-user] High Definition and OSS

2008-05-24 Thread Florian Philipp
On Fri, 23 May 2008 16:12:16 -0400 (EDT) James [EMAIL PROTECTED] wrote: Hi list! I'm thinking about buying a BlueRay- and HD-DVD-combo reader. Can I use GNU/Linux standard software (mplayer preferred) to watch HD-movies or does its copy protection stop me from using it? If so, are

Re: [gentoo-user] join two tab-separate-value files without join field

2008-05-24 Thread Etaoin Shrdlu
On Saturday 24 May 2008, 12:08, Etaoin Shrdlu wrote: If my understanding is correct, then paste -d, file1 file2 If fields are separated by tabs instead of commas, then it's even easier: paste file1 file2 since paste will use tab as default delimiter. -- gentoo-user@lists.gentoo.org mailing

Re: [gentoo-user] join two tab-separate-value files without join field

2008-05-24 Thread Etaoin Shrdlu
On Saturday 24 May 2008, 06:18, Zhang Weiwu wrote: Hi. I got a datasheet from my colleague in MS Excel format and I intend to process that file with my awk/sed knowledge. The problem is: he sent me two Excel files each with 2134 records, in fact there should be only one excel file with 2134

[gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread dhk
How can I modify the CFLAGS before emerging a package? I want to add -g2 to the compile of libxml2 so I can step through their functions. If I add -g2 to CFLAGS in make.conf it will do it for all packages which is not what I want. Thanks, Dave -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Erik Ruotsalainen
On Sat, May 24, 2008 at 10:02:50AM +, dhk wrote: How can I modify the CFLAGS before emerging a package? I want to add -g2 to the compile of libxml2 so I can step through their functions. If I add -g2 to CFLAGS in make.conf it will do it for all packages which is not what I want.

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Ricardo Saffi Marques
On Sat, May 24, 2008 at 7:02 AM, dhk [EMAIL PROTECTED] wrote: How can I modify the CFLAGS before emerging a package? I want to add -g2 to the compile of libxml2 so I can step through their functions. If I add -g2 to CFLAGS in make.conf it will do it for all packages which is not what I

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Sebastian Magri
You can use the /etc/portage/env/category/package to declare environment variables for specific packages... 2008/5/25 Erik Ruotsalainen [EMAIL PROTECTED]: On Sat, May 24, 2008 at 10:02:50AM +, dhk wrote: How can I modify the CFLAGS before emerging a package? I want to add -g2 to the

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread dhk
I did the build the non-persistent way and ran my program with the debugger. When I got to the breakpoint for the the library function it says no line number. See the following from gdb. 3271 pobj=xmlXPathEvalExpression(tag, pctx); (gdb) Breakpoint 3, 0x2ab4493e4480 in

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Sebastian Magri
Yes, it's a way to do it, also you can create a file with the options as /etc/portage/env/options and then simlink to /etc/portage/env/category/package... This way you will always emerge this package with the settings declared in the environment dir, it's also usefull so made some optimizations

[gentoo-user] Need help with a regex

2008-05-24 Thread Robin Atwood
Regexs are not my strong point! I am trying to get a list of service scripts that provide virtual services. Each such script contains a line like: provide dns i.e. the line starts with one or more spaces, followed by the text provide, followed by one or more spaces and a single word. i

Re: [gentoo-user] join two tab-separate-value files without join field

2008-05-24 Thread Zhang Weiwu
Etaoin Shrdlu wrote: On Saturday 24 May 2008, 12:08, Etaoin Shrdlu wrote: If my understanding is correct, then paste -d, file1 file2 If fields are separated by tabs instead of commas, then it's even easier: paste file1 file2 since paste will use tab as default delimiter. Hi. This

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Andrey Falko
On Sat, May 24, 2008 at 11:22 AM, Robin Atwood [EMAIL PROTECTED] wrote: Regexs are not my strong point! I am trying to get a list of service scripts that provide virtual services. Each such script contains a line like: provide dns i.e. the line starts with one or more spaces, followed

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Andrey Falko
On Sat, May 24, 2008 at 11:32 AM, Andrey Falko [EMAIL PROTECTED] wrote: On Sat, May 24, 2008 at 11:22 AM, Robin Atwood [EMAIL PROTECTED] wrote: Regexs are not my strong point! I am trying to get a list of service scripts that provide virtual services. Each such script contains a line like:

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Etaoin Shrdlu
On Saturday 24 May 2008, 17:22, Robin Atwood wrote: Regexs are not my strong point! I am trying to get a list of service scripts that provide virtual services. Each such script contains a line like: provide dns i.e. the line starts with one or more spaces, followed by the text

[gentoo-user] confused on join(1)

2008-05-24 Thread Zhang Weiwu
Dear all I am learning to use join to manage data processing easier. I got two data files, they should join on field No. 9. But such simple join doesn't work. The output of join is 0 bytes. Feel surprised I size down both file size to contain only two records. Still fail. $ join -t $'\t' -j 8 a

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Robin Atwood
On Saturday 24 May 2008, Andrey Falko wrote: On Sat, May 24, 2008 at 11:32 AM, Andrey Falko [EMAIL PROTECTED] wrote: On Sat, May 24, 2008 at 11:22 AM, Robin Atwood [EMAIL PROTECTED] wrote: Regexs are not my strong point! I am trying to get a list of service scripts that provide virtual

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Alan McKinnon
On Saturday 24 May 2008, Robin Atwood wrote: Regexs are not my strong point! I am trying to get a list of service scripts that provide virtual services. Each such script contains a line like: provide dns i.e. the line starts with one or more spaces, followed by the text provide,

[gentoo-user] s2ram - on resume : iwl3945 Kill Switch On

2008-05-24 Thread Claudinei Matos
Hy guys, I'm giving suspend a try on my Acer Aspire and everything is working fine in both s2disk and s2ram, except from my wireless card Intel 3945ABG which refuse to work when system is resumed. After resuming my system I get those lines on dmesg: iwl3945: Error sending REPLY_RXON: time out

Re: [gentoo-user] confused on join(1)

2008-05-24 Thread Andrey Falko
2008/5/24 Zhang Weiwu [EMAIL PROTECTED]: Dear all I am learning to use join to manage data processing easier. I got two data files, they should join on field No. 9. But such simple join doesn't work. The output of join is 0 bytes. Feel surprised I size down both file size to contain only

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Robin Atwood
On Saturday 24 May 2008, Etaoin Shrdlu wrote: On Saturday 24 May 2008, 17:22, Robin Atwood wrote: Regexs are not my strong point! I am trying to get a list of service scripts that provide virtual services. Each such script contains a line like: provide dns i.e. the line starts

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Robin Atwood
On Saturday 24 May 2008, Alan McKinnon wrote: grep -e is not the same thing as egrep or grep -E, and I never managed to get \s to work as a synonym for [[:space:]] I was wondering about that! Plus you need a proper file glob i your file spec That was a typo in my post. Try: egrep

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Alan McKinnon
On Saturday 24 May 2008, Erik Ruotsalainen wrote: On Sat, May 24, 2008 at 10:02:50AM +, dhk wrote: How can I modify the CFLAGS before emerging a package? I want to add -g2 to the compile of libxml2 so I can step through their functions. If I add -g2 to CFLAGS in make.conf it will do

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Alan McKinnon
On Saturday 24 May 2008, Robin Atwood wrote: But why does [[:space:]]+ work and \s+ fail? Apparently because \s is not a synonym for [[:space:]] I've heard this one before but never got it to work and never seen it in writing. Do you have a reference for where you read it? -- Alan McKinnon

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Wolf Canis
Robin Atwood wrote: grep -e ^\s+provide\s+\w /etc/init.d but, as usual, nothing is matched. What am I doing wrong? You have to use back slashed versions of metacharacters. Following how would do that: $ grep -e '^[[:space:]]\+provide[[:space:]]\+[a-z]\+' /etc/init.d/*

Re: [gentoo-user] High Definition and OSS

2008-05-24 Thread Stroller
On 24 May 2008, at 10:03, Florian Philipp wrote: ... I would avoid bluray until it gets easier to play. Hmm, on which features depends the encryption? Would a Windows Media Player in Wine be able to play it or do I need an operating system supporting it, maybe in a virtual machine? Has anyone

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Sebastian Magri
2008/5/25 Alan McKinnon [EMAIL PROTECTED]: On Saturday 24 May 2008, Erik Ruotsalainen wrote: On Sat, May 24, 2008 at 10:02:50AM +, dhk wrote: How can I modify the CFLAGS before emerging a package? I want to add -g2 to the compile of libxml2 so I can step through their functions.

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Robin Atwood
On Saturday 24 May 2008, Alan McKinnon wrote: On Saturday 24 May 2008, Robin Atwood wrote: But why does [[:space:]]+ work and \s+ fail? Apparently because \s is not a synonym for [[:space:]] Here for a start: http://www.regular-expressions.info/charclass.html#shorthand and also

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Alan McKinnon
On Saturday 24 May 2008, Robin Atwood wrote: On Saturday 24 May 2008, Alan McKinnon wrote: On Saturday 24 May 2008, Robin Atwood wrote: But why does [[:space:]]+ work and \s+ fail? Apparently because \s is not a synonym for [[:space:]] Here for a start:

Re: [gentoo-user] s2ram - on resume : iwl3945 Kill Switch On

2008-05-24 Thread Florian Philipp
On Sat, 24 May 2008 12:47:35 -0300 Claudinei Matos [EMAIL PROTECTED] wrote: Hy guys, I'm giving suspend a try on my Acer Aspire and everything is working fine in both s2disk and s2ram, except from my wireless card Intel 3945ABG which refuse to work when system is resumed. After resuming

Re: [gentoo-user] confused on join(1)

2008-05-24 Thread Zhang Weiwu
Zhang Weiwu wrote: Dear all I am learning to use join to manage data processing easier. I got two data files, they should join on field No. 9. But such simple join doesn't work. The output of join is 0 bytes. Feel surprised I size down both file size to contain only two records. Still

Re: [gentoo-user] High Definition and OSS

2008-05-24 Thread Florian Philipp
On Sat, 24 May 2008 17:15:34 +0100 Stroller [EMAIL PROTECTED] wrote: On 24 May 2008, at 10:03, Florian Philipp wrote: ... I would avoid bluray until it gets easier to play. Hmm, on which features depends the encryption? Would a Windows Media Player in Wine be able to play it or do I

Re: [gentoo-user] s2ram - on resume : iwl3945 Kill Switch On

2008-05-24 Thread Claudinei Matos
tried both as module and built-in but wifi button or any other keys combinations still doesn't working. thanks anyway On Sat, May 24, 2008 at 2:19 PM, Florian Philipp [EMAIL PROTECTED] wrote: On Sat, 24 May 2008 12:47:35 -0300 Claudinei Matos [EMAIL PROTECTED] wrote: Hy guys, I'm

Re: [gentoo-user] Need help with a regex

2008-05-24 Thread Wolf Canis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin Atwood wrote: grep -e ^\s+provide\s+\w /etc/init.d but, as usual, nothing is matched. What am I doing wrong? You have to use back slashed versions of meta characters. Following how would do that: $ grep -e

[gentoo-user] Blocking - after emerge -C cvs ssmtp

2008-05-24 Thread dhk
Two problems along the same line. After doing an emerge -C cvs ssmtp and revdep-rebuild --ignore it seems that there are still traces of the two programs around. 1) The cvs I removed because I want to try subversion, but when I do an emerge -uDNp world cvs shows in the list. The

[gentoo-user] Mailing list and PGP/MIME

2008-05-24 Thread Wolf Canis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, it seems that sometimes mails of mine doesn't go to the list. :-( I had this problem just a couple of hours ago. I send a reply to the thread Need help with a regex but the mail doesn't reach the list. I looked in the archive and it

Re: [gentoo-user] High Definition and OSS

2008-05-24 Thread Stroller
On 24 May 2008, at 18:37, Florian Philipp wrote: On Sat, 24 May 2008 17:15:34 +0100 Stroller [EMAIL PROTECTED] wrote: Hmm, on which features depends the encryption? Would a Windows Media Player in Wine be able to play it or do I need an operating system supporting it, maybe in a virtual

Re: [gentoo-user] Mailing list and PGP/MIME

2008-05-24 Thread Eric Martin
Wolf Canis wrote: Hello all, it seems that sometimes mails of mine doesn't go to the list. :-( I had this problem just a couple of hours ago. I send a reply to the thread Need help with a regex but the mail doesn't reach the list. I looked in the archive and it doesn't reach there too. These

Re: [gentoo-user] Mailing list and PGP/MIME

2008-05-24 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wolf Canis wrote: | Hello all, | | it seems that sometimes mails of mine doesn't | go to the list. :-( | | I had this problem just a couple of hours ago. I | send a reply to the thread Need help with a regex | but the mail doesn't reach the list. I

[gentoo-user] Speed up `du'

2008-05-24 Thread reader
Is there any way to speed up the du command? I mean short of having cron run it on target directories and store results. (not really speeding up but at least not having to wait for a result) I've seen various mention of du being slow but don't recall any mentions of how to speed it up. I use

Re: [gentoo-user] Speed up `du'

2008-05-24 Thread Allan Gottlieb
At Sat, 24 May 2008 16:49:09 -0500 [EMAIL PROTECTED] wrote: Is there any way to speed up the du command? I mean short of having cron run it on target directories and store results. (not really speeding up but at least not having to wait for a result) I've seen various mention of du being

Re: [gentoo-user] Speed up `du'

2008-05-24 Thread Willie Wong
On Sat, May 24, 2008 at 04:49:09PM -0500, Penguin Lover [EMAIL PROTECTED] squawked: Is there any way to speed up the du command? I mean short of having cron run it on target directories and store results. (not really speeding up but at least not having to wait for a result) I've seen

Re: [gentoo-user] Mailing list and PGP/MIME

2008-05-24 Thread Mick
On Saturday 24 May 2008, Wolf Canis wrote: Hello all, it seems that sometimes mails of mine doesn't go to the list. :-( I had this problem just a couple of hours ago. I send a reply to the thread Need help with a regex but the mail doesn't reach the list. I looked in the archive and it

Re: [gentoo-user] Mailing list and PGP/MIME

2008-05-24 Thread Wolf Canis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: I don't think that there is. I can see both of your messages in the Need help with a regex thread. Somewhat strange is it. On archives.gentoo.org the mentioned mails aren't, only the second, but on gmane they are. I just looked

Re: [gentoo-user] Speed up `du'

2008-05-24 Thread Stroller
On 25 May 2008, at 00:24, Willie Wong wrote: On Sat, May 24, 2008 at 04:49:09PM -0500, Penguin Lover [EMAIL PROTECTED] squawked: ... I use Reiserfs with default sizes. In some situations like a large cache of nntp messages of several GB. I might wait 5-10 minutes or more for du to get

Re: [gentoo-user] Speed up `du'

2008-05-24 Thread Hemmann, Volker Armin
On Sonntag, 25. Mai 2008, Stroller wrote: On 25 May 2008, at 00:24, Willie Wong wrote: On Sat, May 24, 2008 at 04:49:09PM -0500, Penguin Lover [EMAIL PROTECTED] squawked: ... I use Reiserfs with default sizes. In some situations like a large cache of nntp messages of several GB. I

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread maxim wexler
--- On Sun, 5/25/08, Sebastian Magri [EMAIL PROTECTED] wrote: From: Sebastian Magri [EMAIL PROTECTED] Subject: Re: [gentoo-user] Setting CFLAGS for a single build To: gentoo-user@lists.gentoo.org Date: Sunday, May 25, 2008, 1:49 AM 2008/5/25 Alan McKinnon [EMAIL PROTECTED]: On

[gentoo-user] Re: is grub in my mbr?

2008-05-24 Thread »Q«
On Sat, 24 May 2008 09:43:34 +0200 Dirk Heinrichs [EMAIL PROTECTED] wrote: OK, then for the reference: https://bugs.gentoo.org/show_bug.cgi?id=223311 Thanks much for filing that. I'm trying to resist temptation to spam the bug agreeing with you. You could use the vote

[gentoo-user] Re: Need help with a regex

2008-05-24 Thread »Q«
On Sat, 24 May 2008 17:57:45 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: On Saturday 24 May 2008, Robin Atwood wrote: But why does [[:space:]]+ work and \s+ fail? Apparently because \s is not a synonym for [[:space:]] As Robin's already pointed out, \s is part of Perl's regex syntax.