[gentoo-user] python2.4 directory

2009-03-05 Thread Dirk Uys
Hi

I noticed that I still had python-2.4 on my system. Did a quick run of
python-updater, to make sure nothing is using python-2.4 anymore and
then unmerged python2.4.

Should I manually remove /usr/lib64/python2.4, or is there a way to
make portage do it?

Regards
Dirk



Re: [gentoo-user] python2.4 directory

2009-03-05 Thread Evgeniy Bushkov

Dirk Uys wrote:

Hi

I noticed that I still had python-2.4 on my system. Did a quick run of
python-updater, to make sure nothing is using python-2.4 anymore and
then unmerged python2.4.

Should I manually remove /usr/lib64/python2.4, or is there a way to
make portage do it?

Regards
Dirk

  

Just run: emerge --depclean -a python
You should get something like this:

dev-lang/python
   selected: 2.4.4-r14
protected: none
  omitted: 2.5.2-r7
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No]


Best regards,
Evgeniy B.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] python2.4 directory

2009-03-05 Thread Daniel Pielmeier
2009/3/5 Evgeniy Bushkov :
> Dirk Uys wrote:
>>
>> Hi
>>
>> I noticed that I still had python-2.4 on my system. Did a quick run of
>> python-updater, to make sure nothing is using python-2.4 anymore and
>> then unmerged python2.4.
>>
>> Should I manually remove /usr/lib64/python2.4, or is there a way to
>> make portage do it?
>>
>> Regards
>> Dirk
>>
>>
>
> Just run: emerge --depclean -a python
> You should get something like this:
>
> dev-lang/python
>   selected: 2.4.4-r14
> protected: none
>  omitted: 2.5.2-r7
 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be removed.
>
> Would you like to unmerge these packages? [Yes/No]

He already told us that he unmerged python.

If you have successfully migrated to python 2.5 you should normally be
able to remove this directory as this are probably leftovers from the
old install where portage can do nothing about.
To be save, what are the contents of this directory? Just
site-packages with byte compiled python modules?

-- 
Regards,
Daniel



[gentoo-user] QT goin LGPL

2009-03-05 Thread James

Here's an interesting article that cites QT's 
new 4.5 and future direction, including interoperability
wth gnome, mac and Doz operating systems:

http://www.linuxdevices.com/news/NS4824952673.html

enjoy,


James




[gentoo-user] Re: Grep question

2009-03-05 Thread Harry Putnam
Etaoin Shrdlu  writes:

> On Tuesday 3 March 2009, 03:10, Harry Putnam wrote:
>
>> cat a | awk '/^foo/{FLAG=1}\
>>  FLAG{print} \
>>  /^bar/{FLAG=""}'
>
> awk '/^foo/,/^bar/' a 
>
> does the same :)

Nice...




[gentoo-user] Re: Installing the "ptouch" CUPS Raster driver

2009-03-05 Thread Grant
> I have a Brother QL-570 label printer and the "ptouch" driver doesn't
> seem to be available in portage:
>
> http://openprinting.org/show_printer.cgi?recnum=Brother-QL-570
>
> I tried to install it manually as instructed by the ptouch docs:
>
> http://www.diku.dk/hjemmesider/ansatte/panic/P-touch/
>
>  > tar zxf ptouch-driver-*.tar.gz
>  > cd ptouch-driver-*
>  > ./configure
>  > make
>  > make install
>
> I then restarted cupsd but no new printers show up when I try to add a
> printer in the *:631 CUPS admin area.  Does anyone know how I can get
> get a manually installed CUPS Raster printer driver working?
>
> - Grant

I needed to install foomatic-db to get the PPD.  I also needed to
change the above to:

./configure --prefix=/usr

and add a symlink like so:

cd /usr/bin
ln -s /usr/lib/cups/filter/rastertoptch

- Grant



[gentoo-user] backup program recommendations?

2009-03-05 Thread James Wall
Hi all,

I am looking for a backup program that can back up to my DVD+-R/RW drive
to back up my private portage tree/distfile/music/web server. What
programs would you recommend to handle this task?

TIA James Wall



Re: [gentoo-user] backup program recommendations?

2009-03-05 Thread Hung Dang

James Wall wrote:

Hi all,

I am looking for a backup program that can back up to my DVD+-R/RW drive
to back up my private portage tree/distfile/music/web server. What
programs would you recommend to handle this task?

TIA James Wall

  

You can try k3b

Hung



[gentoo-user] Re: backup program recommendations?

2009-03-05 Thread Nikos Chantziaras

Hung Dang wrote:

James Wall wrote:

Hi all,

I am looking for a backup program that can back up to my DVD+-R/RW drive
to back up my private portage tree/distfile/music/web server. What
programs would you recommend to handle this task?

TIA James Wall

  

You can try k3b


Well, that's not a backup app.  But anyway, I don't use a "backup app" 
either.  I just tar.lzma the whole thing and burn it :P





[gentoo-user] Re: backup program recommendations?

2009-03-05 Thread James
James Wall  gmail.com> writes:

> 
> Hi all,
> 
> I am looking for a backup program that can back up to my DVD+-R/RW drive
> to back up my private portage tree/distfile/music/web server. What
> programs would you recommend to handle this task?
> 
> TIA James Wall



/usr/portage/app-backup

lists many packages.

Amanda is my favorite, but, it might be a bit much for a small installation.


hth,

James






RE: [gentoo-user] Re: Grep question

2009-03-05 Thread Adam Carter
> > awk '/^foo/,/^bar/' a
> >
> > does the same :)
>
> Nice...

Thanks for all these answers. Interesingly when I moved the sed script (sed 
"s/;/\\n/g") from Linux to Solaris it failed as Solaris sed doesn't like 
putting the newline character as the "translated to" bit. Installing GNU sed on 
the Solaris box sorted that out.



[gentoo-user] Making changes to a statically build driver

2009-03-05 Thread Ezra Taylor
Hello all:
   I made some changes to the e1000 kernel driver.  I then
recompiled the kernel without any issue.  How can I tell if the change
actually went through?  Again, this driver has been statically built into
the kernel.  Is there a way to test that a change went through without have
to setup a test environment?

-- 
Ezra Taylor


[gentoo-user] Telxon

2009-03-05 Thread dhk
Is it possible to put Gentoo on a Telxon gun?  If so, how would I go
about doing it?

Thanks,

dave



Re: [gentoo-user] Re: backup program recommendations?

2009-03-05 Thread Hung Dang

Nikos Chantziaras wrote:

Hung Dang wrote:

James Wall wrote:

Hi all,

I am looking for a backup program that can back up to my DVD+-R/RW 
drive

to back up my private portage tree/distfile/music/web server. What
programs would you recommend to handle this task?

TIA James Wall

  

You can try k3b


Well, that's not a backup app.  But anyway, I don't use a "backup app" 
either.  I just tar.lzma the whole thing and burn it :P




My bad :( I thought it is the program to write to DVD.
I am not sure what you want. In my case, I combine a bash script to 
compress, rsync ... with cron to do the back up weekly. It seem to be 
quite convenient.


If you have big files using rar is faster and save more space than tar.

Hung




Re: [gentoo-user] Re: backup program recommendations?

2009-03-05 Thread comrade b14ck
If you want to make backups, don't do it on a cdrom. Try rsync, it's a great
backup tool. Here's a guide to dip your feet in:
http://www.mikerubel.org/computers/rsync_snapshots/

On Thu, Mar 5, 2009 at 8:48 AM, Hung Dang  wrote:

> Nikos Chantziaras wrote:
>
>> Hung Dang wrote:
>>
>>> James Wall wrote:
>>>
 Hi all,

 I am looking for a backup program that can back up to my DVD+-R/RW drive
 to back up my private portage tree/distfile/music/web server. What
 programs would you recommend to handle this task?

 TIA James Wall



>>> You can try k3b
>>>
>>
>> Well, that's not a backup app.  But anyway, I don't use a "backup app"
>> either.  I just tar.lzma the whole thing and burn it :P
>>
>>
>>  My bad :( I thought it is the program to write to DVD.
> I am not sure what you want. In my case, I combine a bash script to
> compress, rsync ... with cron to do the back up weekly. It seem to be quite
> convenient.
>
> If you have big files using rar is faster and save more space than tar.
>
> Hung
>
>
>


Re: [gentoo-user] Making changes to a statically build driver

2009-03-05 Thread Francisco Ares
Never made such thing, so just a guess: maybe a log entry on some
event, like link up - at that time, probably, the log engine is
already up and running.

Francisco

On Thu, Mar 5, 2009 at 8:16 PM, Ezra Taylor  wrote:
> Hello all:
>    I made some changes to the e1000 kernel driver.  I then
> recompiled the kernel without any issue.  How can I tell if the change
> actually went through?  Again, this driver has been statically built into
> the kernel.  Is there a way to test that a change went through without have
> to setup a test environment?
>
> --
> Ezra Taylor
>



-- 
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and
I have one idea and we exchange these ideas, then each of us will have
two ideas." - George Bernard Shaw



Re: [gentoo-user] Telxon

2009-03-05 Thread Francisco Ares
try the gentoo-embedded list, better chances to get an answer there.

Francisco

On Thu, Mar 5, 2009 at 8:32 PM, dhk  wrote:
> Is it possible to put Gentoo on a Telxon gun?  If so, how would I go
> about doing it?
>
> Thanks,
>
> dave
>
>



-- 
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and
I have one idea and we exchange these ideas, then each of us will have
two ideas." - George Bernard Shaw



Re: [gentoo-user] Making changes to a statically build driver

2009-03-05 Thread W.Kenworthy
Set something that will show on the modinfo command?

I dont have e1000, but this a coda.ko example

bunyip ~ # modinfo coda 
filename:   /lib/modules/2.6.27-gentoo-r4/kernel/fs/coda/coda.ko
version:6.6
license:GPL
alias:  char-major-67-*
description:Coda Distributed File System VFS interface
author: Jan Harkes, Peter J. Braam
srcversion: 88DB5609F61269AF835BA05
depends:
vermagic:   2.6.27-gentoo-r4 preempt mod_unload modversions
PENTIUMM 
bunyip ~ #

Billk




On Thu, 2009-03-05 at 23:17 -0300, Francisco Ares wrote:
> Never made such thing, so just a guess: maybe a log entry on some
> event, like link up - at that time, probably, the log engine is
> already up and running.
> 
> Francisco
> 
> On Thu, Mar 5, 2009 at 8:16 PM, Ezra Taylor  wrote:
> > Hello all:
> >I made some changes to the e1000 kernel driver.  I then
> > recompiled the kernel without any issue.  How can I tell if the change
> > actually went through?  Again, this driver has been statically built into
> > the kernel.  Is there a way to test that a change went through without have
> > to setup a test environment?
> >
> > --
> > Ezra Taylor
> >
> 
> 
> 




Re: [gentoo-user] Making changes to a statically build driver

2009-03-05 Thread W.Kenworthy
I missed the bit where you said it was staic in the kernel - that
besides, make it print something during load.

Billk

On Fri, 2009-03-06 at 11:28 +0900, W.Kenworthy wrote:
> Set something that will show on the modinfo command?
> 
> I dont have e1000, but this a coda.ko example
> 
> bunyip ~ # modinfo coda 
> filename:   /lib/modules/2.6.27-gentoo-r4/kernel/fs/coda/coda.ko
> version:6.6
> license:GPL
> alias:  char-major-67-*
> description:Coda Distributed File System VFS interface
> author: Jan Harkes, Peter J. Braam
> srcversion: 88DB5609F61269AF835BA05
> depends:
> vermagic:   2.6.27-gentoo-r4 preempt mod_unload modversions
> PENTIUMM 
> bunyip ~ #
> 
> Billk
> 
> 
> 
> 
> On Thu, 2009-03-05 at 23:17 -0300, Francisco Ares wrote:
> > Never made such thing, so just a guess: maybe a log entry on some
> > event, like link up - at that time, probably, the log engine is
> > already up and running.
> > 
> > Francisco
> > 
> > On Thu, Mar 5, 2009 at 8:16 PM, Ezra Taylor  wrote:
> > > Hello all:
> > >I made some changes to the e1000 kernel driver.  I then
> > > recompiled the kernel without any issue.  How can I tell if the change
> > > actually went through?  Again, this driver has been statically built into
> > > the kernel.  Is there a way to test that a change went through without 
> > > have
> > > to setup a test environment?
> > >
> > > --
> > > Ezra Taylor
> > >
> > 
> > 
> > 
> 
> 




Re: [gentoo-user] backup program recommendations?

2009-03-05 Thread Dale
James Wall wrote:
> Hi all,
>
> I am looking for a backup program that can back up to my DVD+-R/RW drive
> to back up my private portage tree/distfile/music/web server. What
> programs would you recommend to handle this task?
>
> TIA James Wall
>
>
>   

I use Kbackup and then k3b to burn them.  Works well so far.  Just
depends on what you want and whether you have a GUI or not.

Dale

:-)  :-)