Re: [gentoo-user] xlsfonts shows only a few fonts

2010-03-29 Thread Xi Shen
thanks guys, i solved my problem.

i ask this question because my emacs cannot displays chinese, a
there's no font for me to set. that is because i did not have the
'xft' feature enabled for my emacs. i recompiled emacs with 'xft' use
flag, and my emacs works fine for me. ;)


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



[gentoo-user] Can't get a DVD to burn.

2010-03-29 Thread Dale

Hi,

I been using k3b, it has been a while tho, and now it won't burn a DVD.  
It's not a ISO, it just contains a backup tarball.  This is the 
"debugging" output.


Burned media

---

DVD+RW

Devices

---

Optiarc DVD RW AD-7200A 1.05 (/dev/hdd, CD-R, CD-RW, CD-ROM, DVD-ROM, 
DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R 
Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, 
DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R 
Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, 
RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7]


K3b::IsoImager

---

mkisofs print size result: 2097493 (4295665664 bytes)

System

---

K3b Version: 1.91.0

KDE Version: 4.4.1 (KDE 4.4.1)

QT Version: 4.6.2

Kernel: 2.6.30-gentoo-r8

Used versions

---

mkisofs: 2.1.1a77

growisofs: 7.1

growisofs

---

WARNING: /dev/hdd already carries isofs!

About to execute 'builtin_dd if=/dev/fd/0 of=/dev/hdd obs=32k seek=0'

/dev/hdd: "Current Write Speed" is 4.1x1352KBps.

0/4295665664 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%

=== last message repeated 4 times. ===

:-[ wr...@lba=0h failed with SK=3h/POWER CALIBRATION AREA ERROR]: 
Input/output error


:-( write failed: Input/output error

growisofs command:

---

/usr/bin/growisofs -Z /dev/hdd=/dev/fd/0 -use-the-force-luke=notray 
-use-the-force-luke=tty -use-the-force-luke=4gms 
-use-the-force-luke=tracksize:2097493 -speed=4 
-use-the-force-luke=bufsize:32m


mkisofs

---

2097493

/usr/bin/mkisofs: Warning: Cannot add inode hints with -no-cache-inodes.

=== last message repeated 2 times. ===

0.02% done, estimate finish Mon Mar 29 20:09:24 2010

0.05% done, estimate finish Mon Mar 29 20:09:24 2010

0.07% done, estimate finish Mon Mar 29 20:32:37 2010

0.10% done, estimate finish Mon Mar 29 20:26:52 2010

0.12% done, estimate finish Mon Mar 29 20:23:18 2010

0.14% done, estimate finish Mon Mar 29 20:21:01 2010

0.17% done, estimate finish Mon Mar 29 20:19:22 2010

0.19% done, estimate finish Mon Mar 29 20:18:08 2010

0.22% done, estimate finish Mon Mar 29 20:17:08 2010

0.24% done, estimate finish Mon Mar 29 20:16:22 2010

0.26% done, estimate finish Mon Mar 29 20:15:45 2010

0.29% done, estimate finish Mon Mar 29 20:15:13 2010

0.31% done, estimate finish Mon Mar 29 20:14:46 2010

0.33% done, estimate finish Mon Mar 29 20:14:23 2010

0.36% done, estimate finish Mon Mar 29 20:14:03 2010

0.38% done, estimate finish Mon Mar 29 20:13:46 2010

0.41% done, estimate finish Mon Mar 29 20:13:30 2010

0.43% done, estimate finish Mon Mar 29 20:13:16 2010

0.45% done, estimate finish Mon Mar 29 20:13:04 2010

0.48% done, estimate finish Mon Mar 29 20:12:53 2010

0.50% done, estimate finish Mon Mar 29 20:12:43 2010

0.52% done, estimate finish Mon Mar 29 20:12:34 2010

0.55% done, estimate finish Mon Mar 29 20:12:26 2010

0.57% done, estimate finish Mon Mar 29 20:12:18 2010

0.60% done, estimate finish Mon Mar 29 20:12:11 2010

0.62% done, estimate finish Mon Mar 29 20:12:05 2010

0.64% done, estimate finish Mon Mar 29 20:11:59 2010

0.67% done, estimate finish Mon Mar 29 20:11:53 2010

0.69% done, estimate finish Mon Mar 29 20:11:48 2010

0.72% done, estimate finish Mon Mar 29 20:11:43 2010

0.74% done, estimate finish Mon Mar 29 20:11:39 2010

0.76% done, estimate finish Mon Mar 29 20:11:35 2010

mkisofs calculate size command:

---

/usr/bin/mkisofs -gui -graft-points -print-size -quiet -volid 
Data_2010.03.29-01.38.44_5 -volset -appid K3B THE CD KREATOR (C) 
1998-2010 SEBASTIAN TRUEG AND MICHAL MALEK -publisher -preparer -sysid 
LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-dale/k3bZc8327.tmp 
-rational-rock -hide-list /tmp/kde-dale/k3bfH8327.tmp -joliet 
-joliet-long -hide-joliet-list /tmp/kde-dale/k3bdC8327.tmp 
-no-cache-inodes -udf -full-iso9660-filenames -iso-level 3 -path-list 
/tmp/kde-dale/k3bck8327.tmp


mkisofs command:

---

/usr/bin/mkisofs -gui -graft-points -volid Data_2010.03.29-01.38.44_5 
-volset -appid K3B THE CD KREATOR (C) 1998-2010 SEBASTIAN TRUEG AND 
MICHAL MALEK -publisher -preparer -sysid LINUX -volset-size 1 
-volset-seqno 1 -sort /tmp/kde-dale/k3biU8327.tmp -rational-rock 
-hide-list /tmp/kde-dale/k3bVB8327.tmp -joliet -joliet-long 
-hide-joliet-list /tmp/kde-dale/k3bAn8327.tmp -no-cache-inodes -udf 
-full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-dale/k3bEN8327.tmp




I also tried to burn this with tkdvd but it failed too.  I don't think 
the media is bad.  It doesn't appear to be k3b since the other program 
fails too.  I also updated to the latest testing but no difference that 
I can see.  It does sometimes burn and sometimes if I try again it will 
burn but it's not getting any better.


In the regular burning box, it says that mkisofs has crashed.

Re: [gentoo-user] Re: help

2010-03-29 Thread Alan McKinnon
On Tuesday 30 March 2010 01:57:05 dan blum wrote:
> If one tries to modify the ebuild and test a change, the system issues a
> file size error. How do you get around that?


ebuild /path/to/ebuild/file.ebuild manifest

explanation: man ebuild

However, your next --sync will revert your change. Copy the ebuild to your 
private overlay and modify it there to preserve your changes.

More details: portage documentation gotten via:

equery files portage | grep man






> 
> --- On Mon, 3/29/10, Paul Hartman  wrote:
> > From: Paul Hartman 
> > Subject: Re: [gentoo-user] Re: help
> > To: gentoo-user@lists.gentoo.org
> > Date: Monday, March 29, 2010, 11:11 AM
> > On Mon, Mar 29, 2010 at 10:11 AM,
> > Stroller
> > 
> > 
> > wrote:
> > > On 29 Mar 2010, at 13:22, Dale wrote:
> > >>> ...
> > >>> Filling bug reports is important. I filled
> > 
> > over 50 on b.g.o this year
> > 
> > >>> alone. All of them are version bumps or bad
> > 
> > homepages. Some programs haven't
> > 
> > >>> been bumped for 5 years.
> > >> 
> > >> That is true but I don't have a account
> > 
> > there.  Someone else does so they
> > 
> > >> filed it for me.  I don't guess it matters
> > 
> > who files it as long as it is
> > 
> > >> filed.
> > > 
> > > It's helpful if you can subscribe to email updates,
> > 
> > and help test when
> > 
> > > revisions are available.
> > > 
> > > Sometimes an ebuild is posted to as an attachment to
> > 
> > the bug - you download
> > 
> > > it and add it to your local overlay. Thus you may get
> > 
> > the updated version
> > 
> > > before it's available in the Portage tree (some
> > 
> > ebuilds are attached to bugs
> > 
> > > for packages which never become accepted) and you can
> > 
> > at least add a "works
> > 
> > > for me" comment and encourage the devs by remarking
> > 
> > how useful it is to you.
> > 
> > And even if you've got nothing new to contribute to the
> > problem, you
> > can vote for bugs that are important to you.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: help

2010-03-29 Thread dan blum
If one tries to modify the ebuild and test a change, the system issues a file 
size error. How do you get around that?

--- On Mon, 3/29/10, Paul Hartman  wrote:

> From: Paul Hartman 
> Subject: Re: [gentoo-user] Re: help
> To: gentoo-user@lists.gentoo.org
> Date: Monday, March 29, 2010, 11:11 AM
> On Mon, Mar 29, 2010 at 10:11 AM,
> Stroller
> 
> wrote:
> >
> > On 29 Mar 2010, at 13:22, Dale wrote:
> >>>
> >>> ...
> >>> Filling bug reports is important. I filled
> over 50 on b.g.o this year
> >>> alone. All of them are version bumps or bad
> homepages. Some programs haven't
> >>> been bumped for 5 years.
> >>
> >> That is true but I don't have a account
> there.  Someone else does so they
> >> filed it for me.  I don't guess it matters
> who files it as long as it is
> >> filed.
> >
> > It's helpful if you can subscribe to email updates,
> and help test when
> > revisions are available.
> >
> > Sometimes an ebuild is posted to as an attachment to
> the bug - you download
> > it and add it to your local overlay. Thus you may get
> the updated version
> > before it's available in the Portage tree (some
> ebuilds are attached to bugs
> > for packages which never become accepted) and you can
> at least add a "works
> > for me" comment and encourage the devs by remarking
> how useful it is to you.
> 
> And even if you've got nothing new to contribute to the
> problem, you
> can vote for bugs that are important to you.
> 
> 






Re: [gentoo-user] Re: help

2010-03-29 Thread Dale

Paul Hartman wrote:

On Mon, Mar 29, 2010 at 10:11 AM, Stroller
  wrote:
   

On 29 Mar 2010, at 13:22, Dale wrote:
 

...
Filling bug reports is important. I filled over 50 on b.g.o this year
alone. All of them are version bumps or bad homepages. Some programs haven't
been bumped for 5 years.
 

That is true but I don't have a account there.  Someone else does so they
filed it for me.  I don't guess it matters who files it as long as it is
filed.
   

It's helpful if you can subscribe to email updates, and help test when
revisions are available.

Sometimes an ebuild is posted to as an attachment to the bug - you download
it and add it to your local overlay. Thus you may get the updated version
before it's available in the Portage tree (some ebuilds are attached to bugs
for packages which never become accepted) and you can at least add a "works
for me" comment and encourage the devs by remarking how useful it is to you.
 

And even if you've got nothing new to contribute to the problem, you
can vote for bugs that are important to you.

   


This wasn't filed on Gentoo's bug report.  It was filed on KDE's bug 
report.  So it's not a ebuild issue, it's just a lack of coding from 
upstream.  I have a Gentoo account but I rarely file anything.


Dale

:-)  :-)



Re: [gentoo-user] KDE4 doesn't heed hal keyboard settings

2010-03-29 Thread Crístian Viana
hey Frank, that was exactly my problem! :-) I also had ibus installed and I
had those variables set. now they don't exist, my keyboard is [almost]
working with HAL. now some other problems came up (like 1) when I press /,
the cursor goes to the beginning of the text field and then the character /
is displayed; 2) when I pressed DEL it emits PrtScn and then DEL). but it's
a start, I've never imagined that ibus was the cause of this.


Re: [gentoo-user] Re: help

2010-03-29 Thread Paul Hartman
On Mon, Mar 29, 2010 at 10:11 AM, Stroller
 wrote:
>
> On 29 Mar 2010, at 13:22, Dale wrote:
>>>
>>> ...
>>> Filling bug reports is important. I filled over 50 on b.g.o this year
>>> alone. All of them are version bumps or bad homepages. Some programs haven't
>>> been bumped for 5 years.
>>
>> That is true but I don't have a account there.  Someone else does so they
>> filed it for me.  I don't guess it matters who files it as long as it is
>> filed.
>
> It's helpful if you can subscribe to email updates, and help test when
> revisions are available.
>
> Sometimes an ebuild is posted to as an attachment to the bug - you download
> it and add it to your local overlay. Thus you may get the updated version
> before it's available in the Portage tree (some ebuilds are attached to bugs
> for packages which never become accepted) and you can at least add a "works
> for me" comment and encourage the devs by remarking how useful it is to you.

And even if you've got nothing new to contribute to the problem, you
can vote for bugs that are important to you.



Re: [gentoo-user] xlsfonts shows only a few fonts

2010-03-29 Thread Willie Wong
On Mon, Mar 29, 2010 at 10:58:27AM +0800, Xi Shen wrote:
> On Mon, Mar 29, 2010 at 4:56 AM, Paul Hartman
>  wrote:
> > I believe XFS is deprecated and has been removed from Gentoo recently
> > (at least in ~unstable). See the comments in this bug for info & maybe
> > something to help:
> >
> > http://bugs.gentoo.org/show_bug.cgi?id=293177
> >
> >
> 
> if XFS is deprecated, what is the replacement? how can i get the fonts
> working in emacs?
> 

xfs should not be necessary. 

I am on ~x86, and Chinese characters works. xlsfonts -l lists all
available fonts (though personally I prefer using xfontsel since it
doesn't lock up the system the same way), more lines than there can
fit in my rxvt buffer. 

Are there any font-related messages in the Xorg logs? 

You really need to provide a LOT more information before we can help
you: 

(1) Any interesting log messages from Xorg?
(2) Config files for Xorg?
(3) emerge -pv of the relevant packages?
(4) Error messages from emacs?
(5) Since you stated emacs and not xemacs, are you running it in a
terminal emulator in X? and if so, which one? 

These are just some of the ones that comes to mind, feel free to add
more information that you think may be useful. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: help

2010-03-29 Thread Stroller


On 29 Mar 2010, at 13:22, Dale wrote:

...
Filling bug reports is important. I filled over 50 on b.g.o this  
year alone. All of them are version bumps or bad homepages. Some  
programs haven't been bumped for 5 years.


That is true but I don't have a account there.  Someone else does so  
they filed it for me.  I don't guess it matters who files it as long  
as it is filed.


It's helpful if you can subscribe to email updates, and help test when  
revisions are available.


Sometimes an ebuild is posted to as an attachment to the bug - you  
download it and add it to your local overlay. Thus you may get the  
updated version before it's available in the Portage tree (some  
ebuilds are attached to bugs for packages which never become accepted)  
and you can at least add a "works for me" comment and encourage the  
devs by remarking how useful it is to you.


Stroller.




Re: [gentoo-user] Re: help

2010-03-29 Thread Dale

KH wrote:

Am 24.03.2010 23:18, schrieb Dale:

Alex Schuster wrote:

Is there a bug report files already?


I haven't filed one. I'm just hoping someone has.


Filling bug reports is important. I filled over 50 on b.g.o this year 
alone. All of them are version bumps or bad homepages. Some programs 
haven't been bumped for 5 years.


kh




That is true but I don't have a account there.  Someone else does so 
they filed it for me.  I don't guess it matters who files it as long as 
it is filed.


Dale

:-)  :-)



[gentoo-user] Re: help

2010-03-29 Thread KH

Am 24.03.2010 23:18, schrieb Dale:

Alex Schuster wrote:

Is there a bug report files already?


I haven't filed one. I'm just hoping someone has.


Filling bug reports is important. I filled over 50 on b.g.o this year 
alone. All of them are version bumps or bad homepages. Some programs 
haven't been bumped for 5 years.


kh



[gentoo-user] ghostscript / a2ps Courier invalidfont

2010-03-29 Thread Helmut Jarausch
Hi,

having emerged app-text/ghostscript-gpl-8.71-r2

ghostscript bails out for a postscript file
which was generated by a2ps containing

  /fCourier ISO-8859-1Encoding /Courier reencode_font

which causes a ghostscript error:
Error: /invalidfont in /findfont
Operand stack:
   iso1dict   fCourier   --nostringval--   Courier
Execution stack:
   %interp_exit   .runexec2   --nostringval-GPL Ghostscript 8.71: Unrecoverable 
error, exit code 1
-   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   
--nostringval--   --nostringval--   false   1   %stopped_push   1862   1   3   
%oparray_pop   1861   1   3   %oparray_pop   1845   1   3   %oparray_pop   1739 
  1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push   
--nostringval--   --nostringval--   1820   4   5   %oparray_pop
Dictionary stack:
   --dict:1159/1684(ro)(G)--   --dict:0/20(G)--   --dict:71/200(L)--   
--dict:56/200(L)--   --dict:0/8(L)--
Current allocation mode is local
Last OS error: 2

Has anybody experienced such an error?
Which fonts should be installed with ghostscript?
The ebuild requires media-fonts/urw-fonts which is blocking 
media-fonts/gnu-gs-fonts-std

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany