Re: [gentoo-user] --depclean complains that a package is not installed but it is installed.

2011-02-02 Thread netfab
Le 02/02/11 à 01:23, Dale a tapoté :
 Is this a bug or am I missing something, again.  ;-)
 

 Bug #353362 : http://bugs.gentoo.org/353362



[gentoo-user] Re: --depclean complains that a package is not installed but it is installed.

2011-02-02 Thread Nikos Chantziaras

On 02/02/2011 09:23 AM, Dale wrote:

I run --depclean every once and a while to see if anything is not needed
anymore. Sort of do a little house cleaning. When I run it, it gives me
this message:

Calculating dependencies... done!
* Dependencies could not be completely resolved due to
* the following required packages not being installed:
*
* media-sound/phonon[-aqua] pulled in by:
* x11-libs/qt-webkit-4.7.1-r1
*
* Have you forgotten to run `emerge --update --newuse --deep @world` prior
* to depclean? It may be necessary to manually uninstall packages that
no longer
* exist in the portage tree since it may not be possible to satisfy their
* dependencies. Also, be aware of the --with-bdeps option that is
documented
* in `man emerge`.
root@fireball / #

I ran this just before the above:

root@fireball / # emerge -uvDNa world --with-bdeps y


Not sure what's going on, but with weird errors it sometimes helped here 
to unmerge the packages first and then running emerge world again.  It's 
as if portage needs to forget something first by unmerging it, and 
re-emerging doesn't fix it.





Re: [gentoo-user] tuxonice and suspend-to-ram

2011-02-02 Thread Neil Bothwick
On Wed, 02 Feb 2011 08:17:11 +0100, Stefan G. Weichinger wrote:

  Tuxonice also includes kernel patches, so it isn't only using what the
  kernel provides. You can use the tuxonice scripts with a vanilla
  kernel, you just miss out on the extra features.  
 
 Sure. But what are the extras in S2R-context? What do I miss?

The most obvious is the ability to abort a suspend or resume.



signature.asc
Description: PGP signature


Re: [gentoo-user] USB stick recognition problem

2011-02-02 Thread Paul Hartman
On Mon, Jan 31, 2011 at 3:43 AM, Helmut Jarausch
jarau...@igpm.rwth-aachen.de wrote:
 Hi,

 since a few weeks I have a strange effect with my USB stick.

 According to fdisk there is one partition on it
 /dev/sde1              38     7839719     3919841    b  W95 FAT32

 which I haven't changed for a long time.

 Whenever I insert this stick, the kernel log shows
 /dev/sde  but not /dev/sde1  (and there is no file /dev/sde1)

 After Invoking fdisk /dev/sde with a simple 'p' command but nothing
 else, this device shows up.

 Has anybody an idea what's going on here?

I have a USB SD-card reader which cannot read the partition table when
first inserted into the PC. But, if I issue hdparm -z /dev/sdg then
the kernel re-reads the partition table and everything works fine
after that. You can try it, maybe it'll work for you, too.



Re: [gentoo-user] Re: Emerge Problems...

2011-02-02 Thread BRM
From: Peter Humphrey pe...@humphrey.ukfsn.org
On Tuesday 01 February 2011 20:43:43 BRM wrote:
 And you're doing a typically manual process for updating all the
 systems - update your server first, then any rsync clients. Fine 
 dandy if that is your process - but it's not mine. I may update my
 laptop twice as often as the other two, especially if I want to play
 with some software or try something out, or fix a bug, or get a
 later version of KDE. The server gets updated may be once a month,
 while the laptop is either once a month or at whim when I want
 something that just came out.
 
 It's not harder to do it this way, just a different method. The
 original rsync script worked perfectly fine; the broken update I did
 when I lost it is what started this whole thread.
What's wrong with keeping your server's portage cache up to date? You don't 
have 

to update the server from it if you don't want to, but if the cache is out of 
date it isn't being much of a server.
I recommend Occam's Razor.
-- 

Here's the problem with the Server's /usr/portage being hosted by rsync:

- Server sync's its portage against gentoo mirrors (emerge --sync)
- Update Server (emerge world -vuDN)
- Client sync's its portage against server portage mirror (emerge --sync)
- Update Client (emerge world -vudN)

So if you are manually updating the server, then no problem - you control the 
timing.

Now all that seems to work fine until you introduce the automatic updates of 
the 
server's portage, e.g. via cron.
Suppose the Server Update doesn't complete due to a build error. If the server 
automatically updated its portage during the build time then when you go to 
redo 
the build you may end up with another set of updates to push in, meanwhile you 
haven't finished the last round. Sure, the clients will still update just fine 
- 
it's not a problem for _them_, it's a problem for the server.

So, Occam's Razor - store the rsync hosted portage mirror separately from the 
server's /usr/portage copy, and sync the server against the local rsync just 
like all the clients.
The rsync hosted mirror can now be updated at will without any repercussions to 
any install, and the server works just like any of the clients; so now you end 
up with:

- sync server portage mirror against gentoo mirrors at scheduled intervals, 
e.g. 
every day at midnight
- Server sync's its portage against server portage mirror (emerge --sync)
- Update Server (emerge world -vuDN)
- Client sync's its portage against server portage mirror (emerge --sync)
- Update Client (emerge world -vudN)

The server is now completely 100% independent of the portage it is hosting for 
everyone else on the internal network, and you can get through a full update - 
resolving all issues, etc. - before any re-syncing.

So then the question becomes why run the night cron to update the server's 
portage mirror?
B/c I am not updating or installing software on my server as frequently as my 
other systems; so it doesn't need to be in sync itself as frequently.

Ben




Re: [gentoo-user] tuxonice and suspend-to-ram

2011-02-02 Thread Stefan G. Weichinger
Am 02.02.2011 09:41, schrieb Neil Bothwick:
 On Wed, 02 Feb 2011 08:17:11 +0100, Stefan G. Weichinger wrote:
 Sure. But what are the extras in S2R-context? What do I miss?
 
 The most obvious is the ability to abort a suspend or resume.

That was my impression as well. I don't really need that.
S2R is fast here, and resuming also ...

Stefan



[gentoo-user] xfce woes

2011-02-02 Thread John
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gentoo Lite Users,

I have recently upgraded to xfce 4.8
All seems to be well apart from
a) Normal Users cannot shutdown
b) Normal Users cannot automount using xfce (can through sudo mount).

I have followed xfce guide using use flags as suggested.

Users are in plugdev group
dbus and consolekit are in default runlevel.

I have removed hal (by masking) and makes no difference.

Have tried adding /usr/lib64/xfce4/session/xfsm-shutdown-helper
to sudo but no help there.

Have looked on a few forums and suggested that config file for this
is /etc/dbus.d/system.d/hal.conf. This does have a gentoo section which
looks like it would allow above.

Any suggestions would be appreciated.

I have this issue on 2 machines.


- -- 
John D Maunder
j...@articwolf.myzen.co.uk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (GNU/Linux)

iQEcBAEBAgAGBQJNSa8nAAoJEOuCgqleN2EyeUwH/1Fw2uxm+UdGM9MYP3kOumz5
tPqXemnrAfne41cIslzKbUI11yXrZrFbVAe2cOAsYN4MWIgwzJgh4vwe0vqMadEa
2JmaEEx2mrd7gecTQnv7Qctc7L7PECXt7YKUcwAs7jXZK5AFq4blknqy8ra1gE9o
lyhRh0nJc1fFu6jI1O1tQ2TdeIyi631+qAM8LiM905vY+qGE+L4xmKclC3syMCF8
zPvTyR8J7cqn5E+6T2APoT0EPw2fm0ad8B5awQumL+LA5Uc8eXpKgrPqSmPoAsh4
aEGfH4YAK70Bkz4kVPAxn6IxORjTdR1A068d7CV4M0ujidHF4XCQe7V1FrQ9KV0=
=xut7
-END PGP SIGNATURE-


Re: [gentoo-user] How can I reset mount-count?

2011-02-02 Thread Nils Holland
On 15:16 Tue 01 Feb , Dale wrote:
 
 I also googled a bit and it does appear that the booting check resets 
 the counter.  At least that was what one poster said.  May not be the 
 case now but thought I would mention it.

Yep, the check at boot that gets executed after the specified maximum
mount count has been reached definitely resets the mount count to 0
again, I've probably witnessed that millions of times myself in my
life. ;-)

Observation(tm): From the e2fsck man page: e2fsck -p: Automatically
repair (preen) the file system. This option will cause e2fsck to
automatically fix any filesystem problems that can be safely fixed
without human intervention. [...] This option is normally run by the
system's boot scripts.

The -p option to e2fsck acutually resets the mount count back to 0,
even when executed manually (and not as part of a script at boot time).

Greetings,
Nils


-- 
Nils Holland * Ti Systems, Wunsorf-Luthe (Germany)
Powered by GNU/Linux since 1998



Re: [gentoo-user] HDD with too aggressive power management

2011-02-02 Thread Nils Holland
On 22:08 Tue 01 Feb , Nils Holland wrote:
 
 I guess it's probably the way this machine works, and feel that the
 reference to acpid sounds like a very promising way to fixing this. As
 such, thanks to everyone who pointed me into that direction - I'll
 have a look and see if it works!

Replying to myself here, but wanted to give everybody who pointed my
in the acpid direction yesterday some feedback: I emerged acpid
yesterday, had a look at your examples, studied the man page a bit and
set it up. And well, I've explicitly switched between wall power and
battery power more often than I would normally do, with the result
that I can now say that the suggested solution works really well!

Thanks again and greetings,
Nils


-- 
Nils Holland * Ti Systems, Wunsorf-Luthe (Germany)
Powered by GNU/Linux since 1998



Re: [gentoo-user] Re: Emerge Problems...

2011-02-02 Thread Nils Holland
On 15:41 Tue 01 Feb , Joshua Murphy wrote:
 
 The trick I've been using for... a couple years now, across various
 machines (no cron involved), is syncing one box that shares portage
 *and* my distfiles on nfs, portage R/O, distfiles R/W, then when it's
 done syncing and starts its own metadata update, hop across all the
 others and do an emerge --metadata.

From the emerge man page: In versions of portage =2.1.5 the
--metadata action is totally unnecessary unless the user has enabled
FEATURES=metadata-trasfer in make.conf(5).

Could mean that you can skip this --metadata step on your other
machines?

Greetings,
Nils


-- 
Nils Holland * Ti Systems, Wunsorf-Luthe (Germany)
Powered by GNU/Linux since 1998



[gentoo-user] Re: USB stick recognition problem

2011-02-02 Thread walt

On 02/02/2011 07:48 AM, Paul Hartman wrote:


I have a USB SD-card reader which cannot read the partition table when
first inserted into the PC. But, if I issue hdparm -z /dev/sdg then
the kernel re-reads the partition table and everything works fine
after that.


That sounds to me like a bug :)  Is it 100% reproducible, and do you see
the same  on other computers?

And, let us not forget the Ultimate Gold Standard: does it work on Windows?






[gentoo-user] Re: xfce woes

2011-02-02 Thread walt

On 02/02/2011 11:23 AM, John wrote:


I have recently upgraded to xfce 4.8
All seems to be well apart from
a) Normal Users cannot shutdown
b) Normal Users cannot automount using xfce (can through sudo mount).


I understand very well your frustration because my gnome desktop goes
through periods where those things work, and then for some time they
don't work, etc, ad infinitum.

As much as I like the convenience of automounting as a luser, all of
my bofh instincts cry out that lusers shouldn't even be allowed to log
into my system, much less actually mount(!?!) a filesystem!

This is one of those Windows/convenience versus unix/security things,
I think, but I'm just an amateur bofh.

What do you professional bofhs think?




Re: [gentoo-user] Re: USB stick recognition problem

2011-02-02 Thread Mick
On Wednesday 02 February 2011 21:29:22 walt wrote:
 On 02/02/2011 07:48 AM, Paul Hartman wrote:
  I have a USB SD-card reader which cannot read the partition table when
  first inserted into the PC. But, if I issue hdparm -z /dev/sdg then
  the kernel re-reads the partition table and everything works fine
  after that.
 
 That sounds to me like a bug :)  Is it 100% reproducible, and do you see
 the same  on other computers?
 
 And, let us not forget the Ultimate Gold Standard: does it work on Windows?

Ha!  I usually invert this test when people tell me their MSWindows machine is 
playing up (again ...)
-- 
Regards,
Mick


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


[gentoo-user] Avoiding HAL

2011-02-02 Thread Brian Waters
Hi there. I recently took a few months off from Gentoo to try Ubuntu
(I heard it just works, and that is a Good Thing) only to find that
I'd much rather be back on Gentoo again. (The fact that Ubuntu ships
with PulseAudio means that sound it basically broken out of the box,
and I'm excited for Xfce 4.8.)

It's been a few months since I've been around, and I'd like to know if
HAL has been fully deprecated yet. I'd like to avoid using it if at
all possible, since that seems to be the way of the future. So I'm
wondering what versions of udev and X server (and any other packages,
dbus maybe?) I need to unmask in order to get rid of the HAL
dependency.

Thanks a lot!

- BW



Re: [gentoo-user] Re: USB stick recognition problem

2011-02-02 Thread Paul Hartman
On Wed, Feb 2, 2011 at 3:29 PM, walt w41...@gmail.com wrote:
 On 02/02/2011 07:48 AM, Paul Hartman wrote:

 I have a USB SD-card reader which cannot read the partition table when
 first inserted into the PC. But, if I issue hdparm -z /dev/sdg then
 the kernel re-reads the partition table and everything works fine
 after that.

 That sounds to me like a bug :)  Is it 100% reproducible, and do you see
 the same  on other computers?

 And, let us not forget the Ultimate Gold Standard: does it work on Windows?

Yes, it is exactly the same every time
Yes, every computer (for several kernel versions now)
Yes, it works in Windows straight away (without doing any tricks)

One thing I have not tried yet is to set delay_use option of
usb-storage to a higher value. Maybe the device is still starting up
and kernel tries to initialize it too quickly. I have usb-storage
compiled into kernel now, instead of as a module, so I need to
remember to change that that next time I plan to reboot.



Re: [gentoo-user] Avoiding HAL

2011-02-02 Thread Canek Peláez Valdés
On Wed, Feb 2, 2011 at 4:59 PM, Brian Waters brianmwat...@gmail.com wrote:
[...]
 So I'm
 wondering what versions of udev and X server (and any other packages,
 dbus maybe?) I need to unmask in order to get rid of the HAL
 dependency.

Using GNOME, the only package that depends by default on HAL is
gnome-power-manager (+hal dependency). Excepting for that one, if you
remove hal from your use flags nothing will try to pull it. I'm not
sure with Xfce or KDE.

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



[gentoo-user] Re: Avoiding HAL

2011-02-02 Thread Nikos Chantziaras

On 02/03/2011 12:59 AM, Brian Waters wrote:

[...]
It's been a few months since I've been around, and I'd like to know if
HAL has been fully deprecated yet. I'd like to avoid using it if at
all possible, since that seems to be the way of the future. So I'm
wondering what versions of udev and X server (and any other packages,
dbus maybe?) I need to unmask in order to get rid of the HAL
dependency.


To see that, put -hal in your make.conf, and check your package.use 
too to make sure there's no hal enabling in there.  Then unmerge the 
hal package and do an emerge -aDNt --with-bdeps=y world.  If something 
pulls hal back in, it's gonna show due to the t option of emerge.


Hope that helps.




Re: [gentoo-user] Avoiding HAL

2011-02-02 Thread Brian Waters
Thanks Canek, that's perfect because for this upcoming install I'm
planning on using acpid for power management anyway. I don't think
power management is something that should run as a regular logged in
user, and it causes problems like your laptop not sleeping when you're
logged out with the login screen up, which is pretty dumb. Although
I'm not sure you can easily use acpid to do something after 10
minutes of inactivity, so that will probably take jiggery pokery to
figure out.
Anyway, I digress. Maybe I'll start a thread on that when the time comes.

- BW


On Wed, Feb 2, 2011 at 6:09 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Wed, Feb 2, 2011 at 4:59 PM, Brian Waters brianmwat...@gmail.com wrote:
 [...]
 So I'm
 wondering what versions of udev and X server (and any other packages,
 dbus maybe?) I need to unmask in order to get rid of the HAL
 dependency.

 Using GNOME, the only package that depends by default on HAL is
 gnome-power-manager (+hal dependency). Excepting for that one, if you
 remove hal from your use flags nothing will try to pull it. I'm not
 sure with Xfce or KDE.

 Regards.
 --
 Canek Peláez Valdés
 Instituto de Matemáticas
 Universidad Nacional Autónoma de México





Re: [gentoo-user] Avoiding HAL

2011-02-02 Thread Paul Hartman
On Wed, Feb 2, 2011 at 4:59 PM, Brian Waters brianmwat...@gmail.com wrote:
 Hi there. I recently took a few months off from Gentoo to try Ubuntu
 (I heard it just works, and that is a Good Thing) only to find that
 I'd much rather be back on Gentoo again. (The fact that Ubuntu ships
 with PulseAudio means that sound it basically broken out of the box,
 and I'm excited for Xfce 4.8.)

 It's been a few months since I've been around, and I'd like to know if
 HAL has been fully deprecated yet. I'd like to avoid using it if at
 all possible, since that seems to be the way of the future. So I'm
 wondering what versions of udev and X server (and any other packages,
 dbus maybe?) I need to unmask in order to get rid of the HAL
 dependency.

 Thanks a lot!

http://www.x.org/wiki/XorgHAL

Xorg 1.8 and newer should have udev-instead-of-HAL available.



Re: [gentoo-user] Avoiding HAL

2011-02-02 Thread Dale

Brian Waters wrote:

Hi there. I recently took a few months off from Gentoo to try Ubuntu
(I heard it just works, and that is a Good Thing) only to find that
I'd much rather be back on Gentoo again. (The fact that Ubuntu ships
with PulseAudio means that sound it basically broken out of the box,
and I'm excited for Xfce 4.8.)

It's been a few months since I've been around, and I'd like to know if
HAL has been fully deprecated yet. I'd like to avoid using it if at
all possible, since that seems to be the way of the future. So I'm
wondering what versions of udev and X server (and any other packages,
dbus maybe?) I need to unmask in order to get rid of the HAL
dependency.

Thanks a lot!

- BW


   


I use KDE here but with KDE 4.6, hal is gone.  I use xorg 1.9 and no hal 
there.  If nothing in xfce doesn't need it, then I think it is gone.  
All this is on amd64.  I'm in the process of updating my x86 rig so I 
could answer for it in a day or so.  Give me a poke if you need a 
report.  ;-)


Keep in mind, there are still a few packages that you CAN enable hal 
on.  They are disabled here and still work fine as far as I know.  I 
haven't burned a CD/DVD yet but k3b does see the drive and all.  I would 
think it would work.  That reminds me, I need to update some backups.  o_O


Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] Re: Avoiding HAL

2011-02-02 Thread Dale

Nikos Chantziaras wrote:

On 02/03/2011 12:59 AM, Brian Waters wrote:

[...]
It's been a few months since I've been around, and I'd like to know if
HAL has been fully deprecated yet. I'd like to avoid using it if at
all possible, since that seems to be the way of the future. So I'm
wondering what versions of udev and X server (and any other packages,
dbus maybe?) I need to unmask in order to get rid of the HAL
dependency.


To see that, put -hal in your make.conf, and check your package.use 
too to make sure there's no hal enabling in there.  Then unmerge the 
hal package and do an emerge -aDNt --with-bdeps=y world.  If 
something pulls hal back in, it's gonna show due to the t option of 
emerge.


Hope that helps.






The way i read his post, which may not be read correctly, he doesn't 
have a Gentoo install at the moment to run those commands.  ;-)


Dale

:-)  :-)



[gentoo-user] Re: USB stick recognition problem

2011-02-02 Thread walt

On 02/02/2011 03:05 PM, Paul Hartman wrote:

On Wed, Feb 2, 2011 at 3:29 PM, waltw41...@gmail.com  wrote:

On 02/02/2011 07:48 AM, Paul Hartman wrote:


I have a USB SD-card reader which cannot read the partition table when
first inserted into the PC.



That sounds to me like a bug :)  do you see the same  on other computers?



Yes, every computer (for several kernel versions now)


Well, if an older kernel uses the card reader normally and newer kernels
don't, then I assume a kernel bug is responsible.

What *I* would do is to use git-bisect in Linus's kernel git repository to
isolate the bad commit and then report it to the person who submitted the
original bad patch to Linus.

If that idea sounds weird -- I plead nolo contendere.  Yet, it gets kernel
bugs fixed.  (Very roughly paraphrasing Galileo ;)





[gentoo-user] Re: How can I reset mount-count?

2011-02-02 Thread walt

On 02/01/2011 12:05 PM, Jarry wrote:


I would like to avoid
it [fsck], as it is rather large partition (2TB) with a lot of
files, and fsck takes quite long time...


The ext4 wiki site claims that fsck runs 2 to 20 time faster than
ext3, depending on the number and size of the files contained in
the ext4 filesystem.

I have no experience with ext4 (yet), but I would welcome comments
from those who do.





[gentoo-user] openoffice and IDL

2011-02-02 Thread Bill Kenworthy
I am having problems building openoffice - it gets to the IDL files
(actual file it hangs on can vary) and seems to crash part of X and the
build hangs.  

Anyone seen this before? - it is happening on only one of my systems and
I google isnt showing me any similar situations.

BillK






Re: [gentoo-user] openoffice and IDL

2011-02-02 Thread Dale

Bill Kenworthy wrote:

I am having problems building openoffice - it gets to the IDL files
(actual file it hangs on can vary) and seems to crash part of X and the
build hangs.

Anyone seen this before? - it is happening on only one of my systems and
I google isnt showing me any similar situations.

BillK

   


Since that is a huge package to build, you got enough memory?  How about 
drive space on portages work directory?  May want to check with top and 
df to see if one of those is causing problems.


May not help but worth checking.

Dale

:-)  :-)



Re: [gentoo-user] openoffice and IDL

2011-02-02 Thread Alan McKinnon
Apparently, though unproven, at 06:14 on Thursday 03 February 2011, Dale did 
opine thusly:

 Bill Kenworthy wrote:
  I am having problems building openoffice - it gets to the IDL files
  (actual file it hangs on can vary) and seems to crash part of X and the
  build hangs.
  
  Anyone seen this before? - it is happening on only one of my systems and
  I google isnt showing me any similar situations.
  
  BillK
 
 Since that is a huge package to build, you got enough memory?  How about
 drive space on portages work directory?  May want to check with top and
 df to see if one of those is causing problems.

Also try build with j=-1

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Avoiding HAL

2011-02-02 Thread Alan McKinnon
Apparently, though unproven, at 01:59 on Thursday 03 February 2011, Dale did 
opine thusly:

 Brian Waters wrote:
  Hi there. I recently took a few months off from Gentoo to try Ubuntu
  (I heard it just works, and that is a Good Thing) only to find that
  I'd much rather be back on Gentoo again. (The fact that Ubuntu ships
  with PulseAudio means that sound it basically broken out of the box,
  and I'm excited for Xfce 4.8.)
  
  It's been a few months since I've been around, and I'd like to know if
  HAL has been fully deprecated yet. I'd like to avoid using it if at
  all possible, since that seems to be the way of the future. So I'm
  wondering what versions of udev and X server (and any other packages,
  dbus maybe?) I need to unmask in order to get rid of the HAL
  dependency.
  
  Thanks a lot!
  
  - BW
 
 I use KDE here but with KDE 4.6, hal is gone.  I use xorg 1.9 and no hal
 there.  If nothing in xfce doesn't need it, then I think it is gone.
 All this is on amd64.  I'm in the process of updating my x86 rig so I
 could answer for it in a day or so.  Give me a poke if you need a
 report.  ;-)
 
 Keep in mind, there are still a few packages that you CAN enable hal
 on.  They are disabled here and still work fine as far as I know.  I
 haven't burned a CD/DVD yet but k3b does see the drive and all.  I would
 think it would work.  That reminds me, I need to update some backups.  o_O

Everything left here is optional:

$ equery depends hal
 * These packages depend on hal:
app-cdr/k3b-2.0.2-r1 (hal ? sys-apps/hal)
app-emulation/wine-1.3.11 (hal ? sys-apps/hal)
app-misc/hal-info-20091130 (=sys-apps/hal-0.5.10)
dev-libs/e_dbus-1.0.0 (hal ? sys-apps/hal)
media-gfx/gimp-2.6.11 (hal ? sys-apps/hal)
media-libs/libgphoto2-2.4.10 (hal ? =sys-apps/hal-0.5)
media-tv/xbmc-10.0 (hal ? sys-apps/hal)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: xfce woes

2011-02-02 Thread Alan McKinnon
Apparently, though unproven, at 00:00 on Thursday 03 February 2011, walt did 
opine thusly:

 On 02/02/2011 11:23 AM, John wrote:
  I have recently upgraded to xfce 4.8
  All seems to be well apart from
  a) Normal Users cannot shutdown
  b) Normal Users cannot automount using xfce (can through sudo mount).
 
 I understand very well your frustration because my gnome desktop goes
 through periods where those things work, and then for some time they
 don't work, etc, ad infinitum.
 
 As much as I like the convenience of automounting as a luser, all of
 my bofh instincts cry out that lusers shouldn't even be allowed to log
 into my system, much less actually mount(!?!) a filesystem!
 
 This is one of those Windows/convenience versus unix/security things,
 I think, but I'm just an amateur bofh.
 
 What do you professional bofhs think?

Depends on what the machine is used for.

For a multiuser box, you probably want user to not shutdown/reboot, be able to 
mount removeable media and nfs shares, not mount fixed disks.

For a terminal server serving thin clients, you likely want users to not be 
able to do any of that on the server.

For a single user workstation, the sole user should be able to do all of it.

Perhaps yourself and the maintainer writing the template config disagree on 
the basic purpose of the machine in question.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] openoffice and IDL

2011-02-02 Thread Bill Kenworthy
On Thu, 2011-02-03 at 07:08 +0200, Alan McKinnon wrote:
 Apparently, though unproven, at 06:14 on Thursday 03 February 2011, Dale did 
 opine thusly:
 
  Bill Kenworthy wrote:
   I am having problems building openoffice - it gets to the IDL files
   (actual file it hangs on can vary) and seems to crash part of X and the
   build hangs.
   
   Anyone seen this before? - it is happening on only one of my systems and
   I google isnt showing me any similar situations.
   
   BillK
  
  Since that is a huge package to build, you got enough memory?  How about
  drive space on portages work directory?  May want to check with top and
  df to see if one of those is causing problems.
 
 Also try build with j=-1
 

Done that, plus ~210 gigabytes spare, tried no ccache, blank cflags etc
etc, and its built successfully many times on this machine - up until a
month or so ago.

However, I'm running python-updater as Ive discovered a few other things
are not working, so its probably some obscure part of the build
chain/supporting apps is broken.

Billk






Re: [gentoo-user] Avoiding HAL

2011-02-02 Thread Brian Waters
I can't imagine why the GIMP would depend on HAL... lol.

And for the record, yes, I am not on Gentoo right now.

- BW

On Thu, Feb 3, 2011 at 12:12 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Apparently, though unproven, at 01:59 on Thursday 03 February 2011, Dale did
 opine thusly:

 Brian Waters wrote:
  Hi there. I recently took a few months off from Gentoo to try Ubuntu
  (I heard it just works, and that is a Good Thing) only to find that
  I'd much rather be back on Gentoo again. (The fact that Ubuntu ships
  with PulseAudio means that sound it basically broken out of the box,
  and I'm excited for Xfce 4.8.)
 
  It's been a few months since I've been around, and I'd like to know if
  HAL has been fully deprecated yet. I'd like to avoid using it if at
  all possible, since that seems to be the way of the future. So I'm
  wondering what versions of udev and X server (and any other packages,
  dbus maybe?) I need to unmask in order to get rid of the HAL
  dependency.
 
  Thanks a lot!
 
  - BW

 I use KDE here but with KDE 4.6, hal is gone.  I use xorg 1.9 and no hal
 there.  If nothing in xfce doesn't need it, then I think it is gone.
 All this is on amd64.  I'm in the process of updating my x86 rig so I
 could answer for it in a day or so.  Give me a poke if you need a
 report.  ;-)

 Keep in mind, there are still a few packages that you CAN enable hal
 on.  They are disabled here and still work fine as far as I know.  I
 haven't burned a CD/DVD yet but k3b does see the drive and all.  I would
 think it would work.  That reminds me, I need to update some backups.  o_O

 Everything left here is optional:

 $ equery depends hal
  * These packages depend on hal:
 app-cdr/k3b-2.0.2-r1 (hal ? sys-apps/hal)
 app-emulation/wine-1.3.11 (hal ? sys-apps/hal)
 app-misc/hal-info-20091130 (=sys-apps/hal-0.5.10)
 dev-libs/e_dbus-1.0.0 (hal ? sys-apps/hal)
 media-gfx/gimp-2.6.11 (hal ? sys-apps/hal)
 media-libs/libgphoto2-2.4.10 (hal ? =sys-apps/hal-0.5)
 media-tv/xbmc-10.0 (hal ? sys-apps/hal)


 --
 alan dot mckinnon at gmail dot com





[gentoo-user] Any way to get real text console without killing X capability?

2011-02-02 Thread Walter Dnes
  Back around 2000, we still had CRT monitors, not LCDs.  The cheaper
monitors shimmered badly in GUI mode and were hard on my eyes.  One of
the factors that drove me to linux back then was that, except for web
browsing and spreadsheets, I could do most of my work in a true text
console (and I don't mean an xterm, either).  I love sharp crisp
textmode fonts on a text console.  I used to do email and write code in
text consoles, and {CTRL-ALT-F10} to GUI for browsing (yes, I tweaked my
/etc/inittab to allow 10 consoles).

  Recently, however, video drivers for both Intel and ATI have switched
over to some brain-dead framebuffer mode that renders regular
consolefonts microscopic.  Also the line lengths are ridiculously long.
E.g. on my 1920x1200 LCD monitor, an 8x16 font gives 75 rows of 240
columns each.  On my 14 notebook (1366x768) it's 48 rows of 170 columns
each.  The largest consolefont I can find in /usr/share/consolefonts/ is
sun12x22.  It's large enough to be at least readable, but I don't like
the way the font looks, and it's still too small for my taste, 54 rows
of 160 columns each on the LCD monitor.

  My questions, in decreasing order of preference, are...

Plan a) Is there a way to have a real text console?  I know that I can
have 2 X sessions on tty10 and tty11 with different resolutions, and
colour depths.  Is there a way to set tty1..tty9 to 640x480 *IN TEXT
MODE*, so that lat1-?? fonts would look normal, without killing the
ability to have X run at 1920x1200?

Plan b) Are there extra large versions of lat1-?? fonts (24 pixels wide
for my 24 LED and 17 pixels wide for my notebook) that I can use in
framebuffer mode to emulate the look of real text mode?

Plan c) Are there any font-design and manipulation utilities that will
allow me to modify lat1-?? fonts to generate bigger versions?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: USB stick recognition problem

2011-02-02 Thread Paul Hartman
On Wed, Feb 2, 2011 at 8:11 PM, walt w41...@gmail.com wrote:
 On 02/02/2011 03:05 PM, Paul Hartman wrote:

 On Wed, Feb 2, 2011 at 3:29 PM, waltw41...@gmail.com  wrote:

 On 02/02/2011 07:48 AM, Paul Hartman wrote:

 I have a USB SD-card reader which cannot read the partition table when
 first inserted into the PC.

 That sounds to me like a bug :)  do you see the same  on other computers?

 Yes, every computer (for several kernel versions now)

 Well, if an older kernel uses the card reader normally and newer kernels
 don't, then I assume a kernel bug is responsible.

 What *I* would do is to use git-bisect in Linus's kernel git repository to
 isolate the bad commit and then report it to the person who submitted the
 original bad patch to Linus.

 If that idea sounds weird -- I plead nolo contendere.  Yet, it gets kernel
 bugs fixed.  (Very roughly paraphrasing Galileo ;)

I meant that I've tried it for a few kernel versions (it's not a new
card reader, it's a few years old). It has never worked properly in
Linux since I've owned it.



Re: [gentoo-user] Avoiding HAL

2011-02-02 Thread Dale

Brian Waters wrote:

I can't imagine why the GIMP would depend on HAL... lol.

And for the record, yes, I am not on Gentoo right now.

- BW

   


In GIMP under the file menu, there is a option to get pictures from a 
camera.  I have never used that but I guess that is where hal comes in.  
It may be something else but that is all I could find.


Dale

:-)  :-)



Re: [gentoo-user] Re: USB stick recognition problem

2011-02-02 Thread Alan McKinnon
Apparently, though unproven, at 08:08 on Thursday 03 February 2011, Paul 
Hartman did opine thusly:

 On Wed, Feb 2, 2011 at 8:11 PM, walt w41...@gmail.com wrote:
  On 02/02/2011 03:05 PM, Paul Hartman wrote:
  On Wed, Feb 2, 2011 at 3:29 PM, waltw41...@gmail.com  wrote:
  On 02/02/2011 07:48 AM, Paul Hartman wrote:
  I have a USB SD-card reader which cannot read the partition table when
  first inserted into the PC.
  
  That sounds to me like a bug :)  do you see the same  on other
  computers?
  
  Yes, every computer (for several kernel versions now)
  
  Well, if an older kernel uses the card reader normally and newer kernels
  don't, then I assume a kernel bug is responsible.
  
  What *I* would do is to use git-bisect in Linus's kernel git repository
  to isolate the bad commit and then report it to the person who
  submitted the original bad patch to Linus.
  
  If that idea sounds weird -- I plead nolo contendere.  Yet, it gets
  kernel bugs fixed.  (Very roughly paraphrasing Galileo ;)
 
 I meant that I've tried it for a few kernel versions (it's not a new
 card reader, it's a few years old). It has never worked properly in
 Linux since I've owned it.

Then the reader itself is probably horribly broken. Or has been built to 
comply to whatever broken Windows is doing today

My USD card reader JustWorks(tm) everywhere with everything. And they are dirt 
cheap, about the price of the smallest SD card I can buy.

Time for a new reader perhaps?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Avoiding HAL

2011-02-02 Thread Brian Waters
On Thu, Feb 3, 2011 at 1:41 AM, Dale rdalek1...@gmail.com wrote:
 In GIMP under the file menu, there is a option to get pictures from a
 camera.  I have never used that but I guess that is where hal comes in.  It
 may be something else but that is all I could find.

Christ, it's like .dll hell all over again.

There's probably a use flag to turn that off.

- BW



Re: [gentoo-user] Avoiding HAL

2011-02-02 Thread Philip Webb
110202 Brian Waters wrote:
 I recently took a few months off from Gentoo to try Ubuntu
 -- I heard it just works and that is a Good Thing --
 only to find that I'd much rather be back on Gentoo again.

When I set up my little EEE netbook 2009 , I considered alternatives,
but quickly decided that Gentoo really does just work  is a good thing,
ie once you've put in the time to install it properly.

 I'd like to know if HAL has been fully deprecated yet.

I eliminated it successfully a long time ago:
it seems to be needed by the KDE desktop, but not by the KDE apps I use.
I don't like the KDE 4 desktop, so use Fluxbox, which I strongly recommend
as something else which just works once you've set it up to taste.
BTW there are reports of problems with Xfce 4.8 .

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: USB stick recognition problem

2011-02-02 Thread Dale

Alan McKinnon wrote:

Then the reader itself is probably horribly broken. Or has been built to
comply to whatever broken Windows is doing today

My USD card reader JustWorks(tm) everywhere with everything. And they are dirt
cheap, about the price of the smallest SD card I can buy.

Time for a new reader perhaps?

   


I have a card reader and it works with a lot of cards.  So far it has 
worked fine.  I did have a pin to bend once but most likely my fault.  
It has Targus wrote on it.  I assume that is the brand.  I think it was 
about $10 or $15 or so.  It works fine with Linux so far and I think I 
used it once on my brothers windoze rig.


It does sound like there is something fishy about your card tho.

Dale

:-)  :-)