[gentoo-user] For those who complain

2012-01-20 Thread Albert W. Hopkins
For those who complain about default portage behavior:
It changes constantly. If you can't accept the bleeding edge behavior,
you're probably using the wrong distro.  There are always going to be
changes.  Some you don't like, some you say oh gosh, finally!.  For
the latter, I cheer, for former, I work around.  EMERGE_DEFAULT_OPTS is
your friend.

For those who complain about not knowing something was
added/removed/changed.  Most packages do a decent job of providing good
ChangeLogs, either from Gentoo or upstream.  It's not Gentoo's
responsibility to make you read them.  It's like reading the fine print.
Yet you can't complain that it's not there if it's in the fine print.
Some say there should be more announcements for changes, yet others
say there are too many announcements and important stuff gets lost.  One
man's trash is another man's treasure.  There just doesn't exist a sweet
spot that will satisfy everyone.

For those who complain about man pages being too cryptic/incomplete/etc.
Man pages have pretty much always been designed to be reference manuals.
The key word is reference.  They are not guides, they are not
tutorials.  They are more suited for I know this library provides a
function to do *this* but I don't know the function's signature.  They
are less suited for I don't know how to do *this*.  There are other
resources for the latter.  And if there are not, that's not the fault of
the man page.  But in my experience, and I'm sure I'm not alone on this,
most people who complain about man pages are those who don't bother, or
at least put *very* little effort, to *read* the man pages.

For those who complain Why do I have to compile all this stuff to get
X?: Why are you using Gentoo?

For those who complain about bugs/regressions: Why do you use software?

For those who complain about software/features needed/unwanted/changed
in a way you disagree with: Where is your patch?

For those who have genuine technical questions; for those who can
provide answers to those questions w/o being overly critical; for those
who give back by submitting bug reports, patches, ideas, praise: Thank
you.

Gentoo is a rainbow with no end and no pot of gold.

-a





Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Albert W. Hopkins
On Tue, 2011-12-20 at 11:25 +0100, Stefan G. Weichinger wrote:
[...]
 Do you see the same amounts of time to reconnect?

Not for me.  I'm reconnected before I have a chance to type in my
password... unless it's taking me a long time to type in my password :P

Not that I consider 30 seconds quite a long time anyway...

This is also a ThinkPad.

But if it's really only 30 seconds, I suggest you relax :P

-a





Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Albert W. Hopkins
On Tue, 2011-12-20 at 13:06 +0100, Stefan G. Weichinger wrote:
 Maybe I have something wrong in my /etc/hibernate/common.conf ...
 gotta
 look that up now.

I suspect that's not it.  If I were to guess I'd say it's probably
normal; that it takes a while to associate with the AP, either because
it's a less-than-stellar AP or you have a lot of RF
activity/interference in your area.
 
Personally, if it's only 30 seconds I wouldn't worry about it.  It takes
me at least that long to remember why I needed to turn on the computer
anyway :P

For sg, I made a screencast of me suspending and resuming my ThinkPad.
The entire video is only 34 seconds (oddly, it doesn't recored while
it's suspended :P) and as you can see I'm connected to the AP as soon as
the screen unlocks.

http://marduk.sdf.org/suspend.avi

Also, you didn't mention your kernel.  Could be an anomaly of your
kernel/firmware.




Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Albert W. Hopkins
On Tue, 2011-12-20 at 15:16 +0100, Stefan G. Weichinger wrote:

 
 But it connects faster when I boot the machine than when I resume it!
 At least it seems like, maybe I get that wrong ...
 

At it's core NM is just a daemon.  The gnome/kde stuff are just
front-ends that talk to the daemon via dbus when need-be.  So likely it
appears faster when you boot because the NetworkManager service is
already started and connecting to your AP before you even see X come up.
When you resume, all that other machinery is already up, so you are
waiting on the card and the AP to associate.

  Personally, if it's only 30 seconds I wouldn't worry about it.  It
  takes me at least that long to remember why I needed to turn on the
  computer anyway :P
 
 It's just a bit as nnoying. I remember this or that, or want to quickly
 research something ... take the thinkpad and then -wait- ... but as I
 mentioned, I just want to check how others experience this.
 
I personally haven't experienced the problem, but even if I did, I
wouldn't think that gnome/nm/suspend would be the fault.

Question: have you tried associateting with the AP manually?  How long
does that take?  Have you tried associating with other APs?

  For sg, I made a screencast of me suspending and resuming my
  ThinkPad. The entire video is only 34 seconds (oddly, it doesn't
  recored while it's suspended :P) and as you can see I'm connected to
  the AP as soon as the screen unlocks.
  
  http://marduk.sdf.org/suspend.avi
 
 black only here ... very suspended ;-) ... seems to take some time to
 download.

Should not take too long unless you have a very slow connection... it's
a 306K file (took me less than 1 second to wget).  It's uses the H.264
video codec so I'm guessing you don't have that.

  Also, you didn't mention your kernel.  Could be an anomaly of your 
  kernel/firmware.
 
 Latest and greatest:
 
 gentoo-sources-3.1.5 ~amd64 ... iwlagn-kernel-module ...
 with firmware net-wireless/iwl6005-ucode-17.168.5.3
 
 lspci says:
 
 Intel Corporation Centrino Advanced-N 6205 (rev 34)

Intel Corporation Centrino Wireless-N 1000 here.  I guess mine's not
Advanced but it's fast :D.  I'm on the 3.2 rc's but don't recall any
issues in the 3.1 days... I'm using a different firmware though.. the
iwlwifi.. but maybe it's because my card is different.

-a
  




Re: [gentoo-user] How can I keep baselayout-1?

2011-12-08 Thread Albert W. Hopkins
On Thu, 2011-12-08 at 15:41 +0100, Jarry wrote:
 Anyway I'm surprised that everything older than 2.0.3
 has been simply thrown overboard, especially while it
 worked for us without a problem for many years...

With all due respect, baselayout-2/openrc has been around for a while
too (I've been using it for at least 3 years) and has been deemed stable
enough to move to the stable trees.  And version 2 has been in stable
for quite some time. You can't blame the volunteer developers for not
wanting to have to support 2 versions of the software indefinitely. 
 
 




Re: [gentoo-user] thinkpad w/ core i5-2xxx ?

2011-12-06 Thread Albert W. Hopkins
On Tue, 2011-12-06 at 13:29 +0100, Stefan G. Weichinger wrote:
 I have an offer to sell my Lenovo ThinkPad R61 (Intel Core2Duo T8100).
 
 I am rather happy with that notebook, after having upgraded RAM, SSD and
 a new batterypack.
 
 The opportunity to get some money for it instead of using it until it
 isn't worth anything anymore makes me look for a new thinkpad.
 
 I'd like to keep with thinkpads as I like the overall quality ...
 
 Now there are so many variants and additionally it is always the
 question how the specific device behaves with linux and/or gentoo.
 
 Maybe anyone in here has some good recommendation out of personal
 experience?
 
 wishlist:
 
 core i5-2xxx CPU
 =4 GB RAM
 any hdd (I will put my SSD in there)
 ~15 inches of matte display
 
 I like that thinklight feature ... though it's not a must ;-)
 
 That's about it for a first thought.
 
 Thanks, looking forward to any tips, Stefan
 

I too have an R61... was happy that it came preinstalled with Linux
(albeit SuSe Linux) and the general experience with it has been rather
pleasant.  It was my first ThinkPad and what got me hooked on them.

Earlier this year I bought an X1.. I was specifically looking for
something thinner/lighter and without things I don't use (e.g. optical
drive and VGA port).  The X1 fits the bill, but with some caveats.. it's
a glossy widescreen.  While I've gotten use to the screen (and actually
like it in many ways), I'd still rather have a 4:3 screen.  The thinness
and lightness, and nice backlit keyboard make up for it though.

The X1 is pretty much Gentoo-friendly.  all the hardware I have is
supported (well I haven't tried the fingerprint reader in Gentoo, but it
works to boot/resume the machine).  Bluetooth and SDHC adapter works.
All extra keys work (there aren't really many extra keys, which I
like).  HDMI works (though I haven't tried audio via HDMI yet). The USB3
port works.  The eSATA port works.  Bluetooth works.

Things you may not like: built-in battery. The battery life is kinda
only so-so, which is disappointing for a thin/light.  I get about 3-4
hours on a charge.  I've heard reports of bigger ThinkPads getting
better battery life.  It does have an option.

Oh, the keyboard is different, but I like it.  I type pretty well on it
(as a programmer I bang on it quite a lot).  I originally had a problem
where the up arrow seemed not to fit correctly, and had to apply a
little extra pressure to get it to work, but I guess normal wear on it
has made it act normally.

Some people complained that there is not CAPS lock indicator on the
machine, but as I have CAPS mapped to another CTRL key, it has not been
an issue for me.

When I got my X1 it kept shutting down.. overheating or whatever.   It
was *very* annoying.  I took it to the authorized repair center a few
times.  First they replaced the fan, then the battery.  Finally I
quasi-purposefully bricked it (updated the firmware and it shut off
midway).  I took it to the repair center again.  This time they shipped
it to Lenovo.  Lenovo replaced the motherboard.  And, quite
surprisingly, they replaced my i3 processor with an i7 for free.  Since
the motherboard replacement, the machine has not shut down on me once
(and I stress it pretty good with Gentoo) so perhaps it was just a bad
capacitor or something.

When it's cool it's quiet.  When it's hot the fan is pretty audible.
But it usually cools down pretty quick after an emerge.

All-in-all, I really like the thin/lightness of the machine.  It's very
portable, but not one of those netbooks (which are too small for my
tastes and I never touched one with a keyboard that I liked).  It's
powerful enough for my needs and the build quality is good (not
withstanding the original heating issue (repaired), the keyboard issue
(fixed itself), and the glossy screen (learned to live with it).

Hope this helps,
-a





Re: [gentoo-user] Chrome

2011-12-04 Thread Albert W. Hopkins
On Sun, 2011-12-04 at 17:36 +0100, András Csányi wrote:
 Has anybody experienced that the Chrome browser is able to eat all of
 memory? I have this issue on both Linux and Win 7 as well. I assume
 flash could be the main issue. However, facebook, gmail and g+ eat
 more than 100 MByte memory.

Chrome/Chromium is a memory-hungry app.
 
 It's annoying...

Don't use Chrome.

 
 
 




Re: [gentoo-user] Anyone using libreoffice 3.5.0.0 yet?

2011-12-03 Thread Albert W. Hopkins
On Thu, 2011-12-01 at 14:43 -0800, walt wrote:
 I just finished building it on my ~x86 and ~amd64 machines, and I'm
 seeing a very annoying bug in localc on both of them.
 
 When I do anything that requires the window to repaint, like scrolling
 or zooming, the screen doesn't repaint until I start clicking on the
 spreadsheet.  And then the screen repaints only in a rectangular area
 under the mouse, about 3 x 4 cm.  I have to click on every part of the
 sheet to get the whole thing properly redrawn.  Very strange, and very
 annoying.
 
 A quick test of lowriter doesn't seem to show the same problem.
 
 Can anyone confirm or deny?
 

IIRC, libreoffice was released with *experimental* support for gtk3, and
have acknowledged that there are issues with the gtk3 port.  However
Gentoo decided to enable gtk3 support by default.  However it *should*
work as expected when built against gtk2.

-a





Re: [gentoo-user] gnome3 hotkey for searching in overview

2011-12-02 Thread Albert W. Hopkins
On Fri, 2011-12-02 at 07:23 +0100, András Csányi wrote:
 Dear Stefan,
 
 Nowadays I'm using it just at home for private. I would be so happy if
 it would be a gentoo my workspace! :) 

I use Gentoo at home and at work, and am running GNOME3 at both
locations.  No problems.




Re: [gentoo-user] media-libs/freetype

2011-12-02 Thread Albert W. Hopkins
On Fri, 2011-12-02 at 14:10 +0100, Alexander Tanyukevich wrote:
 Is there anybody able to compile media-libs/freetype with USE=-*,
 because my one wan't be compiled until USE=static-libs has been set
 up.
 ARCH=amd64, CFLAGS=-march=atom -O2 -pipe

It really depends.. Do you you splashutils, which, e.g., needs
freetype's static libraries.  This so you can install the required
utilities in your initramfs.

But the short answer is: it depends.






Re: [gentoo-user] gnome3 hotkey for searching in overview

2011-12-02 Thread Albert W. Hopkins
On Fri, 2011-12-02 at 15:02 +0100, Stefan G. Weichinger wrote:
 Am 02.12.2011 12:34, schrieb Albert W. Hopkins:
  On Fri, 2011-12-02 at 07:23 +0100, András Csányi wrote:
  Dear Stefan,
 
  Nowadays I'm using it just at home for private. I would be so happy if
  it would be a gentoo my workspace! :) 
  
  I use Gentoo at home and at work, and am running GNOME3 at both
  locations.  No problems.
 
 And you don't miss stuff like icons on desktop, applets etc ?
 Do you use fallback-mode?
 
 
If you'd look at my GNOME2 desktop you'd probably notice the lack of
icons on the desktop, applets on the panel, etc.[1]  I find these things
distracting (especially in my work environment).  Usually when I install
GNOME2 the first thing I do is turn most of those things off.

When GNOME3 came out, I thought they had read my mind.  I use extensions
to get rid of a few more icons on the top panel.  I patched so it
doesn't show the time (if the time is shown on the desktop, I find I'm
constantly looking at the time which is also distracting (for the same
reason I don't wear a watch))[2].  So I like to keep things simple, and
for most-used apps I use keyboard shortcuts.  Works for me.

If you want icons on the desktop, etc. There are extensions and config
settings to enable that in GNOME3.  gnome-tweak-tool is your friend.

I don't use fallback mode.  The gnome-shell is (almost) exactly what I
want.

[1] http://ompldr.org/vYmp4OA
[2] http://ompldr.org/vYmp4YQ





Re: [gentoo-user] Gnome 3: GL_MAX_TEXTURE_SIZE is too small.

2011-11-30 Thread Albert W. Hopkins
On Wed, 2011-11-30 at 10:11 +0100, Maximilian Bräutigam wrote:
 (2) Mesa is built with gallium and it is enables using eselect.

AFAIK intel drivers didn't work (well) with gallium, at least I
checked[1].

Anyway you might want to try the classic.  Works for me.

[1] http://www.phoronix.com/scan.php?page=news_itempx=ODE0OQ





Re: [gentoo-user] Tcl in your system...

2011-11-29 Thread Albert W. Hopkins
On Tue, 2011-11-29 at 11:33 +0700, Pandu Poluan wrote:
 Just wondering if anyone here ever use Tcl for scripting (i.e., automating
 repetitive procedures) or even *gasp* serious programming.

At a previous job we had licensed some software that was written in
TCL.. and even had an API for the system.  I can't recall the name of
the software at the moment, but it was very specialized so not cheap.
This was during the late 90s/early 2000s.

I have no idea if the company is still around of if they still sell the
software or if it's still tcl-based (my memory fails me).

-a





Re: [gentoo-user] Re: What happened to OpenRC 0.9.6?

2011-11-29 Thread Albert W. Hopkins
On Tue, 2011-11-29 at 18:33 +0100, Andrea Conti wrote:
 I was just a little surprised that a system package turned out to be
 completely broken in a scenario that I thought was quite widespread,
 especially among the devs (as rc_parallel results in _very_ tangible
 time savings, especially on a desktop with lots of services and
 frequent
 boots). 

I have desktops and have not seen any noticable difference in startup
times with rc_parallel.  The config file even says slight speed
improvement, then goes on with a *huge* caveat as if to say yeah, you
might see a little difference, but it's probably not worth it for most
people.

Basically I take that to mean, it *may* speed things up slightly for
some people.  If it works for you, great for you.  If it breaks, you get
to pick up the pieces.




Re: [gentoo-user] Re: Tcl in your system...

2011-11-29 Thread Albert W. Hopkins
On Tue, 2011-11-29 at 23:09 +0100, Jörg Schaible wrote:
  At a previous job we had licensed some software that was written in
  TCL.. and even had an API for the system.  I can't recall the name
 of
  the software at the moment, but it was very specialized so not
 cheap.
  This was during the late 90s/early 2000s.
  
  I have no idea if the company is still around of if they still sell
 the
  software or if it's still tcl-based (my memory fails me).
 
 Vignette? Was at that time a major player in CMS market ;-)
 Acquired by OpenText in 2009. 

No, it was healthcare...

Actually I Googled it.  It was (is?) called Cloverleaf.  Dunno if it's
still being sold but here's a refrence:

http://www.networkcomputing.com/unixworld/review/006.html





Re: [gentoo-user] ImageMagick

2011-11-28 Thread Albert W. Hopkins
On Sun, 2011-11-27 at 17:04 -0500, Colleen Beamer wrote:
[..]
  yes :) It's /usr/bin/convert
 
 This isn't quite what I wanted - you have to add options to the
 command.  I was hoping to get the graphical interface that I had
 before.  Please don't tell me they took a great little program and
 screwed it up!  :-)
 
 Colleen
 
AFAIK ImageMagick has *always* been a suite of commands, and an optional
GUI client. I have been used ImageMagick as far back as the early 90s
and it's always been that way... perhaps we were using different
ImageMagicks?






Re: [gentoo-user] What happened to OpenRC 0.9.6?

2011-11-28 Thread Albert W. Hopkins
On Sun, 2011-11-27 at 20:28 +0100, Andrea Conti wrote:
 With 100% repeatability, mind you, which does raise same questions on
 the amount of testing done before release. Yes, it's ~arch and
 rc_parallel is explicitly marked experimental, but it's not expected
 to be completely and consistently broken, either.
 
 If that sounds like I'm ranting, it's because I just spent about an
 hour
 getting three machines affected by this problem back into working
 state.
 
 If anyone still has it installed, it's time to sync and downgrade :)


Sorry to add more to the whining but...

Yes, you are in the testing tree.  Yes, as a member of testing, *you*
expect things will occasionally break, and it is *your* job to test
things, break them, and report bugs.
 
And no, don't expect the devs to have tested something even they have
told you is experimental and might not always work. If you don't like
the unpredictability of testing, move to something more *stable* and
don't enable options that come with a caveat.
 




Re: [gentoo-user] Re: What happened to OpenRC 0.9.6?

2011-11-28 Thread Albert W. Hopkins
On Mon, 2011-11-28 at 18:15 +0200, Nikos Chantziaras wrote:
 Generally true, but not when something is obviously broken.  That
 means 
 not even its upstream dev bothered to test it.
 
 ~arch is for we think this works, but please give it a go in case
 there 
 are problems.  It's *not* for we have no idea if this works because
 we 
 didn't even try it once. 

You're experience is obviously different than mine.  I've been using
Gentoo for many years and sometimes things in unstable don't even
compile... and it's obvious that the Gentoo developers didn't even
attempt to compile it.  This is par for the course.

And you're talking about a feature that is already documented as
probably won't work and you're expecting them to test *that* given
that they don't even test things that are expected to work?!

Good luck with that.





Re: [gentoo-user] Re: What happened to OpenRC 0.9.6?

2011-11-28 Thread Albert W. Hopkins
On Mon, 2011-11-28 at 18:41 +0200, Alan McKinnon wrote:
 My experience is different to both of yours. I too have been using
 Gentoo for many years and had good results with unstable. Hardly ever,
 if even at all, have I run into packages that would not compile at
 Build failures for me have always been some unusual configs on my end,
 usually strange USE flags. But I don't use any of the more exotic
 packages like those in sci- and games- so YMMV I guess. 

I'm not saying that unstable is somehow bad, I'm just saying it's
sometimes... unstable.

I dont' have any exotic packages or configs either, but I do from time
to time encounter such problems as

 1. Patches not included
 2. Patches not applying
 3. build failures because a patch in a previous revision is no
longer applicable in the new revision
 4. build failures caused by upstream issues 
 5. build failures due bad ebuilds 
 6. incomplete DEPENDS or RDEPENDS(this actually happens quite more
frequently than i'd like)
 7. Broken functionality (upstream bugs)
 8. A dependency of a package was bumped, and that package doesn't
build against the bump.

Granted, when I test, I test hard.  I depclean with build time
dependencies removed, to make sure packages have the correct DEPENDS.  I
do an emerge -e world about once per month.  I have a build system
that builds virtual appliances from scratch that help me find bugs
(granted, most of these VMs are in the stable tree so they actually find
bugs in stable and the stage3 tarballs).  I set USE flags manually
instead of using the defaults.  So, while that may be considered an
unusual config it should work and it helps me find bugs before they
get into stable.

But my feeling is, if you use the testing branch and you *don't* find
bugs, then you aren't testing hard enough :P


-a





Re: [gentoo-user] Re: What happened to OpenRC 0.9.6?

2011-11-28 Thread Albert W. Hopkins
On Mon, 2011-11-28 at 17:19 +, Grant Edwards wrote:
 I don't think that's fair.  Perhaps nobody had compiled it using the
 exact set of USE flags and the exast set of library versions and
 configurations you were using, but I've never seen anything appear in
 testing that was so broken it could be said that nobody had ever tried
 to build it. 

I have.. even for packages w/o a USE flag.  Granted, I'm not blaming the
developers.. they have a lot of work to do.  But it *does* happen.
Usually the fix is easy enough.

Just yesterday I reported a bug with webkit-gtk.  The gtk2 version
doesn't build at all (it's an upstream issue that they call a
gtk3-specific function).  No matter what combination of USE flags you
use it wasn't gonna build, but it was obvious nobody had ever tried to
build it, not even upstream apparently. :P

-a





Re: [gentoo-user] Re: What happened to OpenRC 0.9.6?

2011-11-28 Thread Albert W. Hopkins
On Mon, 2011-11-28 at 20:57 +0100, Florian Philipp wrote:
 Sorry if that sounded harsh but really, what you want is what Redhat
 (maybe) does for its releases and those only occur every few years and
 cost lots of money. 

Yeah, and even *they* send test pre-releases to some of their clients
and beg them to test and submit bugs.  Because no one has the resources
to test *everything*.

But people who put themselves in the *testing* branch are basically
volunteering to be crash-test dummies and really shouldn't be surprised
when something doesn't work.




Re: [gentoo-user] Any vbox made gentoo vm appliances available for dload

2011-11-27 Thread Albert W. Hopkins
On Sun, 2011-11-27 at 08:48 +0530, Vishnupradeep wrote:
 Albert W. Hopkins, is that 64bit or 32bit ?

It si 64-bit.  Though conceivably the build process could build 32-bit
appliances, I haven't yet tried it.





Re: [gentoo-user] Any vbox made gentoo vm appliances available for dload

2011-11-27 Thread Albert W. Hopkins
On Sun, 2011-11-27 at 08:53 +0530, Vishnupradeep wrote:
 Need login details.

There are none.  When you first log in (as root) you are forced to set a
password.





Re: [gentoo-user] Re: Any vbox made gentoo vm appliances available for dload

2011-11-27 Thread Albert W. Hopkins
On Sun, 2011-11-27 at 04:52 -0600, Harry Putnam wrote:
 Albert, I cloned your hg repo and tried to build from it, but it fails
 at downloading gentoo-sources.  Something about not being able to
 resolve the kernel URLS.
 
 I suspect it is a problem in the ebuild itself, but I was not able to
 find where `portage' is on disc during that build.  I wanted to
 attempt editing the ebuild but even with variable:
   REMOVE_PORTAGE_TREE NO
 I never find a `portage' directory. 

It grabs the sources from wherever they are specified (SRC_URI) in the
ebuild.

I just tried it and it worked for me:

virtual-appliance # emerge --fetchonly gentoo-sources
Calculating dependencies... done!

 Fetching (1 of 1) sys-kernel/gentoo-sources-3.0.6
 Downloading
'http://distfiles.gentoo.org/distfiles/linux-3.0.tar.bz2'
--2011-11-27 12:15:37--
http://distfiles.gentoo.org/distfiles/linux-3.0.tar.bz2
Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.233.100,
64.50.236.52, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 76753134 (73M) [application/x-tar]
Saving to: `/usr/portage/distfiles/linux-3.0.tar.bz2'

100%[==] 76,753,134   523K/s   in
49s

The portage tree itself (should be) in the chroot directory.  The build
will download the latest snapshot and unpack it in the chroot.
Although, I did just try that and am getting failures.  It seems the
latest portage snapshot is currupt?

virtual-appliance # make portage
rsync --no-motd -L
rsync://rsync.us.gentoo.org/gentoo/snapshots/portage-latest.tar.bz2
portage-latest.tar.bz2
touch sync_portage
mkdir -p /root/virtual-appliance/vabuild
tar xjpf stage4/base-stage4.tar.bz2 -C /root/virtual-appliance/vabuild
touch stage3
tar xjf portage-latest.tar.bz2 -C /root/virtual-appliance/vabuild/usr
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
make: *** [portage] Error 2

Anyone else getting this?





Re: [gentoo-user] booting fails, something with openrc?

2011-11-26 Thread Albert W. Hopkins
On Sat, 2011-11-26 at 15:24 +0100, Stefan G. Weichinger wrote:
 Oh boy:   setting rc_parallel=NO in /etc/rc.conf did the trick now.
 Around 4 hrs of fiddling ... and then it is one wrong bit.
 
 I don't have an explanation, just the result ... up and running fine
 now
 w/ openrc. 

So a couple of people I've heard of so far have an issue with the
parallel setting and the latest openrc.  You should report a bug if
there isn't one already.

-a





Re: [gentoo-user] Any vbox made gentoo vm appliances available for dload

2011-11-26 Thread Albert W. Hopkins
On Sat, 2011-11-26 at 17:01 -0600, Harry Putnam wrote:
 Creating a gentoo vm has always been a serious pita to me.  I'm sure
 there will be those who claim its `simple'.  
 
 Simple or not, I want to bypass it if possible.
 
 So wondering if anyone here has (or has seen) a gentoo (vbox)
 appliance available for download?
 
 
I maintain a quasi-daily build of a gentoo virtual appliance.  It should
work with kvm, vmware, and virutalbox (and possibly xen?).

The list of packages installed are:

http://starship.python.net/crew/marduk/base-dist-package.lst

The image is at:

http://starship.python.net/crew/marduk/base-dist.vmdk.bz2

It's a vmdk but I'm told it works with vbox.

This is just a minimal Gentoo install, I have specialized appliances as
well.







Re: [gentoo-user] glibc-2.14.1 upgrade

2011-11-25 Thread Albert W. Hopkins
On Fri, 2011-11-25 at 22:30 +, Neil Bothwick wrote:
 On Fri, 25 Nov 2011 19:59:51 +0100, Florian Philipp wrote:
 
  I've used Gentoo since 2006 and never had any reason to emerge -e.
 
 Apart from the occasional gcc ABI change, the only time I do it is after
 a fresh install, so that everything is built with the installed toolchain.

I do it about once per month, just to make sure everthing works as
should, and, if not, usually I'll submit a bug report if necessary.






Re: [gentoo-user] Install problem - SATA CD-ROM drive

2011-11-25 Thread Albert W. Hopkins
On Sat, 2011-11-26 at 11:01 +1100, Paul Colquhoun wrote:
 Some research tells me that this is a problem with SATA CD-ROMs, and
 needs a 
 kernel configured with the libata module option atapi_enabled=1
 
 Does anybody know of a Live CD that will work with a SATA CD drive? 

AFAIK most (all) modern computers that have CDROM drives are SATA, at
least the one i bought a couple of years ago does.. so I'm wondering if
your problem is not that you have a SATA CDROM but something else.

Have you tried boot media other than the Gentoo livecd?





Re: [gentoo-user] 200MB waste from /usr/share/locale ?

2011-11-25 Thread Albert W. Hopkins
On Sat, 2011-11-26 at 01:28 +0100, Sebastian Pipping wrote:
 It seems that /usr/share/locale is keeping files for many languages
 not
 of any use to me: around 200MB in total.
 
 Is there a way to configure this away that I am not aware of?
 
 Thanks in advance, 

What do you have in LINGUAS and locales.conf?  My /usr/share/locale is
only about 16MB on a GNOME desktop, 9MB on a base install and about 26MB
on a KDE VM (not that 200MB is really that big by today's standards).

-a





Re: [gentoo-user] experience with rsnapshot

2011-11-23 Thread Albert W. Hopkins
On Wed, 2011-11-23 at 19:26 -0500, cov...@ccs.covici.com wrote:
 I am using rdiff-backup which is no longer maintained, but still seems
 to work, but I was thinking to use rsnapshot instead which seems like
 a
 nice way to do this, but this seems not to have been maintained for a
 while, either, so I was wondering if anyone is using it and how it
 works
 for you? 

I use good ole' rsync, together with a couple of scripts.  It does the
hard link-style incrementals and I can do a near-bare-metal restore.
From that.  rsync is still maintained afaik.






Re: [gentoo-user] A helping hand with virtual machines, please.

2011-11-22 Thread Albert W. Hopkins
On Tue, 2011-11-22 at 19:20 +, Alan Mackenzie wrote:
 Hi, Gentoo.
 
 A friend of mine recently suggested I should install and play with
 virtual machines on my Gentoo.
 
 I've scanned /usr/portage for likely looking packages, particularly in
 directory virtual, yet found nothing likely looking.
 
 Would somebody please give me some hints which packages I should be
 looking at, and perhaps any use flags I might need. 


They would be under app-emulation.  The virtual category is for
virtual packages (e.g. virtual/editor).

You could research Google for Linux visualization.  The big 3 open
source/semi-open-source are kvm, VirtualBox, and xen.  I have personal
experience with xen and kvm... and pretty much only use kvm now.

The big closed source one is VMware, but, except for legacy
requirements,  I personally don't know why people (still) use that when
the competing open source solutions are typically as good or better than
VMWare.

As for what USE flags, that would wildly depend on the visualization
package you choose (and a billion other ifs).  As always, required
dependencies are required by the packages themselves, forced USE flags
are forced by the packages themselves, anything else is our own personal
choice.







Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-16 Thread Albert W. Hopkins
On Wed, 2011-11-16 at 08:30 -0500, Willie Wong wrote:
 On Wed, Nov 16, 2011 at 03:29:27PM +0700, Pandu Poluan wrote:
   what does graphite add ?
  
  
  It makes gcc-4.5.3 use a newer method to detect parallelism, thus
  (potentially) makes programs compiled by gcc to have better multithreaded
  performance.
 
 Now, why can't the USE descriptions be like the kernel option
 descriptions and have something like what Pandu wrote included? 

$ equery u gcc
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for sys-devel/gcc-4.5.3-r1:
 U I
 - - bootstrap : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used
 during original system bootstrapping [make stage2]
 - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for
 creating build images and the first half of
bootstrapping
 [make stage1]
 + + cxx   : Builds support for C++ (bindings, extra libraries, code
 generation, ...)
 - - doc   : Adds extra documentation (API, Javadoc, etc). It is
 recommended to enable per package instead of globally
 - - fortran   : Adds support for fortran (formerly f77)
 - - gcj   : Enable building with gcj (The GNU Compiler for the
Javatm
 Programming Language)
 - - graphite  : Add support for the framework for loop optimizations
based on
 a polyhedral intermediate representation
 - - gtk   : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 + + lto   : Add support for link-time optimizations (unsupported,
use at
 your own risk).
 - - mudflap   : Add support for mudflap, a pointer use checking library
 - - multislot : Allow for SLOTs to include minor version (3.3.4 instead
of
 just 3.3)
 - - nls   : Adds Native Language Support (using gettext - GNU
locale
 utilities)
 - - nocxx : Old flag -- USE=cxx from now on
 - - nopie : Disable PIE support (NOT FOR GENERAL USE)
 - - nossp : Disable SSP support (NOT FOR GENERAL USE)
 + + nptl  : Enable support for Native POSIX Threads Library, the
new
 threading module (requires linux-2.6 or better usually)
 - - objc  : Build support for the Objective C code language
 - - objc++: Build support for the Objective C++ language
 - - objc-gc   : Build support for the Objective C code language Garbage
 Collector
 - - openmp: Build support for the OpenMP (support parallel
computing),
 requires =sys-devel/gcc-4.2 built with USE=openmp
 - - test  : Workaround to pull in packages needed to run with
 FEATURES=test. Portage-2.1.2 handles this internally,
so don't
 set it in make.conf/package.use anymore
 - - vanilla   : Do not add extra patches which change default
behaviour; DO
 NOT USE THIS ON A GLOBAL SCALE as the severity of the
meaning
 changes drastically





Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?

2011-11-15 Thread Albert W. Hopkins
On Tue, 2011-11-15 at 14:44 +0700, Pandu Poluan wrote:
 However, my Gentoo systems are all virtual servers (DomU VMs on
 XenServer).
 So, the hardware devices are static. Will switching over to mdev give
 any
 benefits?
 
 I even am toying around with the idea of having a completely
 static /dev,
 but still can't find any guide/pointers yet.

I have a completely static /dev/ on my VMs.. I just disable the udev
devfs services and create whatever device nodes needed manually.





Re: [gentoo-user] mobo replaced; eth0 fails

2011-11-12 Thread Albert W. Hopkins
On Fri, 2011-11-11 at 21:41 -0500, Allan Gottlieb wrote:
 3.  Some advised blowing away .../persistent-net.rules.
 I chose to modify it so that the new device is now eth0 and the
 old
 device is gone.

Removing it does the same thing.  The device file is re-created with the
currently probed hardware and indexes start from 0.  It's just that most
people prefer to just remove it because it's less typing and less prone
to errors.

 
 




Re: [gentoo-user] [OT] Searching for a solution to a logical problem...

2011-11-06 Thread Albert W. Hopkins
On Sun, 2011-11-06 at 07:45 +0100, meino.cra...@gmx.de wrote:
 Hi,
 
 The problem for which I am looking for a workaround is not based on 
 a bug -- it is a logical problem.
 
 I am using session manager like KDE/Gnome/XFCE and others but openbox
 as a window manager.
 
 The mapping of keystrokes to certain funtionalities is a common
 feature or most applications nowadays.
 
 And with this keymappings there come the conflicting of keymappings
 into existence...
 
 With openbox I have mapped Ctrl-Left and Ctrl-right to next-desktop
 and previous-desktop.
 When starting blender, which is a great keymapper also, I know have
 lost the keymapping which is mapped to Ctrl-Left and Ctrl-right,
 since openbox catches this one and blender does not get a glimpse of
 it.
 
 The remapping of lost keymaps not always helps, since often used
 functions are mapped to key combos, which can be reached easily. Those
 are used often and therefore overlap often.
 
 Remapping to avoid conflicts then led to situations where a simple
 del-char of an editor is mapped to something awful like
 Left-Ctrl-ALT-6 (exaggerated...;)
 
 Since there is one rule in the internet: You are not the first person
 haveing a certain problem... I dare to ask   :) .
 
 Is there any way to ease this situation?
 
 Thank you very much in advance for any help! Have nice sunday!
 Best regards,
 mcc

What a immensely long way to ask a simple question!

Here's the simple (and brief answer):

You can't have an app and window manager use the same keybindings.
AFAIK the window manager will always win.  Best solution is to change
the bindings of one or the other.

Personally, I'd cjamge.  (CTRL-Left/Right) is simply too simple of a
keybinding to have grabbed at the window manager level.  I actually use
CTRL-ALT-Up/Down to switch (vertical) workspaces.  I believe
CTRL-ALT-Arrow_keys is the default on most window managers because it's
sane, which the openbox setting is not.




Re: [gentoo-user] Python idle - font size for menu and help

2011-11-05 Thread Albert W. Hopkins
On Sat, 2011-11-05 at 15:12 +0100, Hartmut Figge wrote:
 Greetings,
 
 i am just playing a bit with python and have discovered idle. For idle
 to be useful the fonts have to be enlarged both for the menus and the
 help window.
 
 http://www.triffids.de/pub/screenshot/id05.png (60 KB)
 
 With options-Configure IDLE it was possible to set the font for the
 edit window, but how can this be done for menus and help?


AFAIK IDLE uses  the Tk toolkit.  So you'll probably need to configure
the fonts for Tk (however that's done).

-a





Re: [gentoo-user] Problem with sound card

2011-10-24 Thread Albert W. Hopkins
On Mon, 2011-10-24 at 20:35 +0800, Lavender wrote:
 I have asked the question in gentoo forum , but
 it seems that very few people like hanging around
 in forums , I didn't get useful method.
 My sound card can't work normally , when I use music
 player there is no sound .
 Someone said that I need low-level codec support , I'm not
 sure whether it is. Here is the information in sysfs, I really
 hope you can know where the problem is.
  
 # ls /sys/class/sound
 audio  card0 card1  controlC0  controlC1
 dsp  hwC0D0  hwC1D0 mixer  mixer1
 pcmC0D0c  pcmC0D0p  pcmC1D3p
 seq  sequencer  sequencer2  timer
  
 # ls -l /sys/class/sound/card0
 lrwxrwxrwx 1 root root 0 Oct 25 03:37 card0
 - ../../devices/pci:00/:00:14.2/sound/card0
  
 # ls /sys/class/sound/card0/
 audio  controlC0  device  dsp
 hwC0D0  id  mixer  number
 pcmC0D0c  pcmC0D0p  power
 subsystem  uevent
 Regards
 Lavender
 
 
When you go in into the kernel config, there is the option for Intel
AC97-like sound, which I believe is what the majority of sound cards
use.  For AC97 there are codecs in the kernel config.  A safe choice
is to select them all.

The output you gave is not very helpful or informative, but I'll ask
just a few questions/suggestions:

  * Looks like maybe you have 2 sound cards. Are you going through
the correct card for output?
  * Did you go into alsamixer to verify that the appropriate outputs
are unmuted?
  * Try aplay or speaker-test or something else low-level to see
if even basic output is working.  It could be your sound card is
fine but you don't have the correct support for whatever music
player you are using.




Re: [gentoo-user] emerge --sync failed

2011-10-23 Thread Albert W. Hopkins
On Mon, 2011-10-24 at 01:40 +0200, Hartmut Figge wrote:
 Greetings,
 
 emerge --sync was successfull till 'Performing Global Updates' which
 leaded to an error. After waiting for perhaps 1 to 2 hours i tried
 another 'emerge --sync' in the hope that would fix the issue. No luck.
 
 ---
 i5 hafi # emerge --sync
 
 Performing Global Updates:
 (Could take a couple of minutes if you have a lot of binary packages.)
   .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
   s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
   p='update /etc/portage/package.*'
 /usr/portage/profiles/updates/3Q-2011..
 /usr/portage/profiles/updates/4Q-2011..
 ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 
 dev-php/dev-php5/pecl-ssh2'
 Traceback (most recent call last):
   File /usr/bin/emerge, line 43, in module
 retval = emerge_main()
   File /usr/lib/portage/pym/_emerge/main.py, line 1531, in emerge_main
 _global_updates(trees, mtimedb[updates], quiet=(--quiet in myopts)):
   File /usr/lib/portage/pym/portage/_global_updates.py, line 160, in 
 _global_updates
 moves = vardb.move_ent(update_cmd, repo_match=repo_match)
   File /usr/lib/portage/pym/portage/dbapi/vartree.py, line 300, in move_ent
 origmatches = self.match(origcp, use_cache=0)
   File /usr/lib/portage/pym/portage/dbapi/vartree.py, line 474, in match
 origdep, mydb=self, use_cache=use_cache, settings=self.settings)
   File /usr/lib/portage/pym/portage/dbapi/dep_expand.py, line 33, in 
 dep_expand
 mydep = Atom(mydep, allow_repo=True)
   File /usr/lib/portage/pym/portage/dep/__init__.py, line 1097, in __init__
 raise InvalidAtom(self)
 InvalidAtom: dev-php5/dev-php5/pecl-ssh2
 ---

I'm seeing this chatter now.  It looks like someone made a typo.  And
some mirrors are still picking it up.

You should be able to delete /usr/portage/profiles/updates/4Q-2011 (or
edit the file and fix it... it's pretty straighforward) and continue
from there.

-a





Re: [gentoo-user] Networkmanager-9999 won't compile

2011-10-19 Thread Albert W. Hopkins
On Wed, 2011-10-19 at 13:11 -0700, Canek Peláez Valdés wrote:
 Why don't you try networkmanager-0.9.1.90? It's working great for me
 in GNOME 3.2.0
 
 Is there something in the live ebuild that you need?
 
I can't confirm (never tried it) but I've been told the autounmask
option in portage will blindly unmask even live ebuilds.. which might
account for people suddenly pulling in a surprising (and potentially
problematic) amount of live ebuilds.


 




Re: [gentoo-user] Networkmanager-9999 won't compile

2011-10-19 Thread Albert W. Hopkins
On Thu, 2011-10-20 at 07:37 +0530, Nilesh Govindarajan wrote:
[...]
 BTW, which overlays did you use?

I'll just interject once again.

When you use many overlays, there is a feeling of a exponential increase
in complexity/instability.

The thing is when you use official tree, all the Gentoo devs are
(supposed to) play in the same sandbox.  This means the behaviors of
different packages and their dependencies and interactions with each
other are somewhat predictable, and when problems occur, they are easier
to debug and solve because everyone's playing in the same sandbox.

When you are mixing differing packages from differing repos (overlays),
then not everyone is on the same page.  The developers in overlay A may
not be aware of what's going on in overlay B as they are usually only
concerned about their own sandboxes (and the official repo).  This can
makes debugging much more complex and, if it's an interaction between
different overlays, usually it's going to be the user who is going to
have to figure it out, not the developers.

The if you add live ebuilds into the mix, you are adding even more
sandboxes, and the upstream repos are even more unpredictable.  So one
minute you can have a perfectly harmonious system, and the next you are
dealing with a bunch of unstable isotopes.

This is not to say you can't/shouldn't do these things.  After all this
is Gentoo, and one of the nice things about Gentoo is that we *do* have
this power.  But my point is with great power comes great
responsibility.  And sometimes that means when it breaks, *you* get to
pick up the pieces.

-a




Re: [gentoo-user] portage wants to remove less and nano

2011-10-07 Thread Albert W. Hopkins
On Fri, 2011-10-07 at 13:30 +0200, Niccolò Belli wrote:
 Il 07/10/2011 13:25, Willie Wong ha scritto:
  Most likely you've never set them.
 
 Shouldn't it ship with a default setting? Anyway even after setting a 
 default, portage still wants to remove both less and nano. I had to put 
 them in the world set.

I'll chime in.  I know this has been discussed so many times... but it
seems the discussion recurs.

You *can* get away with not putting virtuals in your world file, even
with the new portage behavior.  The trick is to not have any other
package satisfy the virtual.  For example, I use most as my pager and
gvim as my editor.  I uninstalled nano because I can't stand it and
never use it.  I also uninstalled less because I use most.  My world
file has neither most nor gvim in it, but because nothing else satisfies
the dependencies for virtual/pager and virtual/editor then they don't
get depclean'ed.

Of course this won't work for everyone.  If you have to have 2 pagers
installed, for example. Where I think some people will come into a
problem is with sys-apps/util-linux[ncurses].  This satisfies the
virtual/pager dep so it may want to clean sys-apps/more.  I don't have
the ncurses flag set for util-linux, so I don't have that issue.

Anyway a lot of people don't like the new behavior (which isn't really
new anymore).  I can't say I'm enthused about the change, but if you
think about (for a while) it makes sense, and it's not like it's going
to kill you to put nano/more/whatever in your world file.

-a





Re: [gentoo-user] GTK+ HTML5 broadway

2011-10-04 Thread Albert W. Hopkins
On Tue, 2011-10-04 at 21:39 +0200, Michal Sroka wrote:
 Hello,
 I would like to run my gtk applications over web-browser using Alexander 
 Larsson's gtk+ broadway option 
 http://blogs.gnome.org/alexl/2010/11/23/gtk3-vs-html5/ 
 http://blogs.gnome.org/alexl/2010/11/23/gtk3-vs-html5/
 1 Have you got any experience with this on gentast 

Currently it doesn't work, at least not with libcanberra.  There is a
but in canberra that causes the app to segfault when using the broadway
backend.

 2 How can I specify, if to run my application (e.g. gnome-calculator) over 
 gtk+ 3 or my stable gtk+ version?

If I understand you correctly, it doesn't work that way.  You can't,
just magically turn a gtk2 app into a gtk3 app. The APIs are different
so the app has to be writen for the gtk3 API.

 3 I can't see any enable-broadway option in gtk+ portage install options. 
 Do I have to compile gtk+ 3 from source?

You can use EXTRA_ECONF but, again, it doesn't currently work anyway.






Re: [gentoo-user] pstree for modules ?

2011-09-28 Thread Albert W. Hopkins
On Wed, 2011-09-28 at 06:41 -0400, Willie Wong wrote:
 On Wed, Sep 28, 2011 at 09:42:09AM +0200, Florian Philipp wrote:
  You could still create a tree, but only by making most modules appear
  multiple times.
 
 Just like the '--tree' option for 'emerge'


In that case something like:

# for m in `lsmod |awk '{print $1}'; do echo $m; modprobe \
  --show-depends $m|sed s'/^insmod \/.*\//  `-/;s/\.ko//'; done





Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?

2011-09-26 Thread Albert W. Hopkins
On Mon, 2011-09-26 at 11:15 -0500, Dale wrote:
 So buy a mobo without it or that can disable it.  Got it.  It'll be a 
 good while before I buy a new mobo tho.  I'm sure they will have a
 nice 
 fix by then but this is something I need to remember just in
 case.  ;-) 

Ok, I'll bite...

It depends on who makes your system.  For example, I've got a new
laptop, with UEFI BIOS and SATA HDD, but if you go in the UEFI settings
and change a couple of settings, you'll be able to boot into DOS.  Why?
Because, surprisingly, they still have quite a few corporate customers
that need to use DOS.  So if you can boot DOS you can boot Linux.

Some manufacturers still provide firmware and BIOS updates via DOS boot
cds.  If you can boot from a non-signed CD, you can boot Linux.  Some
manufactures still consider it a competitive advantage to offer
fast-boot linux-based firmware.  Likely those would be able to be
manipulated in order to to boot Linux from disk.

On the server side, I don't think there is any major server manufacturer
dumb enough to sell a system not capable of running Linux.

In short, it's probably less of a problem then than people make it out
to be.  It's akin to the old(?) days when Broadcom cards didn't work
with Linux.  The solution is always simple: don't buy a system that has
a Broadcom card.





Re: [gentoo-user] Unity on Gentoo?

2011-09-25 Thread Albert W. Hopkins
On Sun, 2011-09-25 at 20:54 +0100, Stroller wrote:
 The end users do not give a monkey's uncle about the CLA. They just
 want to use the software, and our distro already provides Sun Java
 binaries, Unreal Tournament and stuff under all sorts of licenses. If
 people want to use it, and it's in the package manager, then they
 will. You are very much an exception, IMO, taking ethical exception to
 Canonical's CLA.

I think the important thing, for me anyway, is not the general user
community, but the open source development community.  Most of those
people reluctant to sign their code over to another organization.  Let's
say, for example, that Linus Torvalds goes into another one of his Your
desktop environment sucks! tirades and starts creating a bunch of
patches to Unity.  I somehow doubt he's going to add to that and here
are some patches and by the way you can have complete copyright to it.
Or what if Red Hat designates some of their programmers to help make
Unity integrate better with Fedora, but wants to push those changes
upstream (like a good free software citizen).  I somehow doubt Red Hat
is going to want to pay their employees to write code and turn over
ownership of it to Canonical. I can just see the press release now: Red
Hat and Canonical Announce New Software License Agreement.  Huh?  What?
But it's *free* software!?
 
 Unity is GPL. It can always be forked. 

Yeah, but not everyone is going to want to fork an entire software
project just to contribute some code and retain the rights to their own
code.  Say for example someone is really passionate about accessibility
and wants to contribute to make desktop accessibility better, but
doesn't want to sign a CLA?  They're not going to fork just for that.
No want wants Unity-fork with accessibility patches  they want Unity
with improved accessibility.  This is why large community-lead free
software projects like Linux, KDE, and GNOME rarely have forks aside
from a few corporate-sponsored forks to fill a niche (e.g. Android).
One could argue that Unity *is* a corporate-sponsored fork (of GNOME) to
fill a niche.

-a





Re: [gentoo-user] Unity on Gentoo?

2011-09-24 Thread Albert W. Hopkins
On Sat, 2011-09-24 at 11:23 +0530, Nilesh Govindarajan wrote:
 Okay the thing is, I don't like Ubuntu. So I don't want to install it on
 my system.
 
 Unity is kinda famous, want to try it on Gentoo. Can't find a package in
 `eix -sS unity', I'm missing something?

I'm sure *when* there is enough interest, and when I say interest I
mean interest by those who are willing to contribute and not those who
just sit on the sidelines waiting for someone else to do it, then it
will find its way in an overlay and maybe even into the official tree.

When I'm not convinced of, however, is that there will be enough
interest.





Re: [gentoo-user] [off-topic] - can /var be placed in a separate partition?

2011-09-11 Thread Albert W. Hopkins


On Sunday, September 11 at 18:54 (-0500), Dale said:

 I think I saw it mentioned on -dev that some time shortly /usr
 and /var 
 will be needed on / or you will need the init* thingy to boot.
 That's 
 was my understanding of this mess.  So, if you are about to do a
 install 
 that needs /var on its own partition, I would ask a dev to see how
 you 
 should plan.  I could have misunderstood but I'm pretty sure it's 
 coming.  It may also depend on what you are going to be running too.
 I 
 mention because no need doing it one way now and having to fix it 
 later.  That sucks!
 
 That said, I have /var on its own partition and mine boots fine, 
 although I haven't rebooted in a week or so.  I don't think the
 change 
 has happened yet but is coming.  I may have a different answer in a 
 month or so.  ;-)
 
 Dale
 

Hmm, that doesn't smell right to me.  What I think you may have heard is
about /run.  systemd and some other things are preferring to
move /var/run to /run.  The reason being is that /var does not have to
be on the root fs.  sysdemd needs /run early (before mounting
filesystems) so the idea was to put /var/run on the rootfs, thus /run.

I don't think /usr should or ever will be required to be on the rootfs.
That's just dumb.  The reason we have /bin /sbin, etc. is so that /usr
need not be on the rootfs.  It doesn't make sense to change that well
known/established notion.

See also the FHS.




Re: [gentoo-user] RootFS not umounting at shutdown?

2011-09-11 Thread Albert W. Hopkins


On Monday, September 12 at 07:23 (+0530), Nilesh Govindarajan said:

 Ever since I have updated my system on 20th September, my rootfs
 (/dev/sda2) isn't umounted (remounted ro) on shutdown, due to which I
 see recover messages by kernel at boot (before init starts up).
 
 What's going wrong? I added the rc-service named root to the sysinit
 runlevel, but it seems nothing happened.

https://bugs.gentoo.org/show_bug.cgi?id=381783





Re: [gentoo-user] Re: Wireless Configuration...

2011-09-09 Thread Albert W. Hopkins


On Friday, September 9 at 13:53 (+0200), Moritz Schlarb said:

 I don't think so! NetworkManager generates a configuration file on the
 fly for wpa_supplicant, so you still need it, you just don't need to
 configure it anywhere else than NetworkManager!
 
Well, not entirely through an on-the-fly config file but through a dbus
connection.

But yeah, NM requires wpa_supplicant (with dbus enabled).  Just look at
the .ebuild.




Re: [gentoo-user] Re: What is up with the libreoffice ebuild?

2011-09-06 Thread Albert W. Hopkins


On Tuesday, September 6 at 18:57 (+), Alan Mackenzie said:

 The support for lpr exists.  It's being removed, for some reason.
 Given
 that printing works by constructing a postscript equivalent of the
 thing
 being printed, just how difficult can it be to squirt this postscript
 down lpr rather than the cups equivalent?  How long does it take to
 write
 a C++ `if' statement?

The latest lprng available in portage was released in 2004.  The latest
version of lprng released was released in 2010 but isn't even in
portage... There is a bump request, but it was created 2 years ago and
so far no takers (and no CC's).  My guess is that ratio of the the
demand for the packages vs. willing maintainers is close to nil and that
lprng is no longer considered ng.

As far as the simple if statement.  If it were that simple you could
just do it yourself ;-)
 
  And again, it's Open Source. If there is enough demand, someone will
  write support for other printing systems. Just don't assume that any
  project (being LibreOffice or Gentoo) need to support your choices
  besides the most used one.
 
 Again the code already exists, it's merely a matter of not destroying
 it.

It's also a matter of maintaining it.  When code changes around it,
someone has to go in and fix that part of the code and verify that it
still works.   Chances are there's no one doing that, probably because
most people have moved to cups).




Re: [gentoo-user] How do slots work?

2011-08-29 Thread Albert W. Hopkins


On Monday, August 29 at 08:51 (+), Alan Mackenzie said:

 What I really want to do is to try out Gnome 3, to see if it's like
 what
 people say it is, but without endangering my current Gnome 2.32.1.  If
 I
 build Gnome 3, will its executable have a different name?

It's not slotted, so that answers your first question.

Also, gnome is a *bunch* of executables and libraries, so it's not as
simple as renameing gnome-session to gnome-session3.

To answer the first, if you have two or more of the same package, say
foo, then slots tell portage that more than one version of foo may
be installed if they are in different slots.  For example, python-2.7.*
packages are in slot 2.7 and python-3.2* packages are in slot 3.2 so
python-2.7.2-r2 and python-3.2-r2 may be installed simultaneously.
However, ex., 2.7.1-r2 and 2.7.2-r2 may not (because they are in both
slot) 2.7.

Similarly gnome-2* and gnome-3* (from the gnome overlay) are both in
slot 2.0.

The reason why GNOME 3 is in slot 2.0 is that it cannot be installed
alongside GNOME 2, so no use in bumping the slot #.





Re: [gentoo-user] Re: How do slots work?

2011-08-29 Thread Albert W. Hopkins


On Monday, August 29 at 12:02 (-0400), Canek Peláez Valdés said:
[...]
 Actually, it's pretty stable. It doesn't have much customization
 available

You can get a fair amount of customization by using gnome-shell
extensions.  You can also customize the shell interface by changing the
gnome-shell.css file or using the.  For non-ui customization, I
recommend the tweak tools app and dconf-editor and gconf-editor still
work as well.

Here's an example of my slightly-customized GNOME 3 desktop (work in
progress):

http://ompldr.org/vYTN6NQ






Re: [gentoo-user] Re: How do slots work?

2011-08-29 Thread Albert W. Hopkins


On Monday, August 29 at 13:01 (-0400), Canek Peláez Valdés said:

  http://ompldr.org/vYTN6NQ
 
 Damn, that looks hot. Did you modify the CSS file by yourself? I would
 love a window title bar a little smaller.
 
I started by modifying it myself.  I really wanted the top panel to look
more like my GNOME2, panel.  And now it does (actually GNOME 3 fixes a
problem I had with GNOME2  whereby I had the clock widget in the
middle, but when I switched to an bigger external monitor it would not
automatically stay centered.  GNOME3 fixes that.)  I changed the font
size and face either in CSS or the tweak tool.  The dialogs (log out,
etc.) which you don't see in the screenshot were grabbed from the CSS of
another theme.  The title bar is from the Hope theme.  I only grabbed
the window manager part as I wasn't interested in the rest.

-a





Re: [gentoo-user] Update to make breaks lots of things...

2011-08-08 Thread Albert W. Hopkins


On Monday, August 8 at 18:30 (+), Grant Edwards said:

 I don't think this is Gentoo-specific, but I've noticed that a recent
 update to make is causing makefile breakage.  For example, trying to
 build a Linux 2.6.28 kernel:
 
   beta linux-2.6.28-gentoo-r5 # make oldconfig
   Makefile:442: *** mixed implicit and normal rules.  Stop.
 
 Apparently the authors of make are cracking down on things that have
 been allowed for many years. As a result, some Makefiles don't work
 anymore.
 
 At least for me, that means that make now needs to be slotted so
 that I can keep an older version around that's compatible with older
 Makefiles.  Is there any chance of that?
 
 [I don't suppose anybody knows off-hand which version of make
 introduced all the breakage?]
 

Have not experienced this (GNU Make 3.82).






Re: [gentoo-user] Listing partition labels

2011-08-01 Thread Albert W. Hopkins


On Tuesday, August 2 at 10:12 (+0800), Andrew Lowe said:

 Greetings all,
   I'm probably in the situation where I can't see the wood for the trees 
 so a bit of help would be appreciated. I've decided to go the LABEL 
 route in fstab and have set the labels on my partitions a few days ago. 
 I now want to update fstab but can't remember the names. I can't find a 
 command that will list the partitions and the names I've given them. I'm 
 sure fdisk does not list them when I do just fdisk at the command 
 prompt, but then again as I said above, I think I'm in the wood/forest 
 mode at the moment. Any idea on the command?
   Andrew
 
 /sbin/blkid




Re: [gentoo-user] mixing python-2 and python-3 howto

2010-04-22 Thread Albert W. Hopkins
On Thu, 2010-04-22 at 16:12 +0200, Justin wrote:
 There will be an announcement, when py-3.* goes stable and is
 supported
 to be used as system python.

Yes, so make certain you leave instructions in your will ;)

(if you didn't get that then just ignore it)




Re: [gentoo-user] vde_switch cannot create tap

2010-04-14 Thread Albert W. Hopkins
On Wed, 2010-04-14 at 11:57 +0800, Xi Shen wrote:
 hi,
 
 i followed the instructions on
 http://en.gentoo-wiki.com/wiki/KVM_with_VDE to configure my system.
 the kvm and tun modules loaded fine. but when i run vde_switch
 --numports 4 --hub --mod 777 --group users --tap tap0, it will not
 return until i press ctrl+d, and after that, the tap0 interface is not
 created. there's no error messages.

I read this document, and it seems to be doing basically what you get
with libvirt, except libvirt does all that for you (but uses brctl
instead of vde (I'm not sure what the differences are)).

Anyway it seems like libvirt may be another alternative for you.  It
takes care of the bridging/dnsmasq/masquerading stuff for you and also
has some nice management features (and a gui).

-a






Re: [gentoo-user] Portage + checksums

2010-04-06 Thread Albert W. Hopkins
On Tue, 2010-04-06 at 14:15 -0400, Butterworth, John W. wrote:
 How can I verify that the installed packages on a Gentoo system came
 from the same source that was on a main rotation mirror and/or
 “blessed” by the Gentoo development team?  
 
  
 
 By verifying the checksum located in  /var/db/pkg/$APPNAME/CONTENTS am
 I only confirming that the source was the same as that which was
 downloaded from the mirror? 
 
  
 
 I guess what I’m getting at is how can I be sure I can trust a
 mirror?  
 
  
 
 Thank you very much in advance for any insight provided,

It really depends on your level of paranoia.  Ultimately it can't be
trusted at all.

If you really want to be sure then just the source/manifest from your
trusted mirror and compare.







Re: [gentoo-user] Re: [OT] NoSQL?

2010-03-02 Thread Albert W. Hopkins
On Tue, 2010-03-02 at 09:07 -0800, walt wrote:
 I've also not heard of the NoSQL movement before

The NoSQL movement is long-lasting and continuous.  It just changes
names every few years :-)






Re: [gentoo-user] see what's been emerged

2010-01-18 Thread Albert W. Hopkins
On Mon, 2010-01-18 at 10:03 -0500, James wrote:
 All,
 
 I posted this question about a year ago and can't find the email or
 answer for the life of me...so I'll try again. :)
 
 I'm trying to find a file or database that keeps track of everything
 I've emerged since I set my system up, preferably in chronological
 order.
 
 Where / how can I obtain this information? I know that portage keeps
 track of it somehow.

emerge.log, unless you (or a log rotator) have truncated it.





Re: [gentoo-user] What xorg pkgs needed for X to work

2010-01-15 Thread Albert W. Hopkins
On Fri, 2010-01-15 at 12:03 -0600, Harry Putnam wrote:
 Sorry for the awkwardly phrased subject... but couldn't think of
 anything better.
 
 I'm rebuilding my home desktop with a full reinstall
 
 So far haven't gotten to getting X working... but did notice that when
 I test what all gets installed with:
 
   emerge -vp xfce4-meta
 
 I notice that xorg-x11 is not amongst the... dependencies. 
 
 xorg-server is absent as well, but I seem to recall a more basic xorg
 pkgs being involved.  Maybe something like xorg-base... or whatever.
 
 Apparently something has happened with naming of pkgs or something,
 that I haven't kept up with.
 
 But can a user really get use out of xfce4-meta with no xorg-server?

Yes, in same way a user can can get use out of Firefox without
installing Apache ;-).  X11 is client/server based.  Client(s) and
server need not exist on the same machine, and a server can serve
multiple distributed clients simultaneously without any local clients.

You probably want:

$ # set up VIDEO_CARDS and INPUT_DEVICES as appropriate
$ emerge -vp xfce4-meta xorg-server 




Re: [gentoo-user] Database only server

2010-01-12 Thread Albert W. Hopkins
On Tue, 2010-01-12 at 15:15 +0100, Laurent Kappler wrote:
 Hi,
 
 I'm looking for some information about the configuration for a server 
 used only for a huge database.
 I guess dépendanding on which database server used Mysql or Berkley the 
 hardware should not be same.
 Or is it all about having a lot of RAM ?
 
 Could I do that using only Mysql or is it possible to have Mysql and 
 Berkley, or should I have just Berkley ... ?

Could you do *what*?

Do you mean Berkely DB?  Berkely DB isn't really a DBMS.  It's more of a
flat-file database.  It's not even relational, it's key-value based.

http://en.wikipedia.org/wiki/Berkeley_DB

One could argue that MySQL isn't a real DBMS too but I won't get into
that ;-)

Anyway it's very difficult to answer your questions without knowing what
your requirments are (how large is huge, how many simultaneous users,
anticipated queries/sec etc.)




Re: [gentoo-user] linux usb webcam to website

2010-01-12 Thread Albert W. Hopkins
On Tue, 2010-01-12 at 11:53 +0100, Zoltán Füves wrote:
 Sorry guys to disturb you with like this but I'm stuck
 
 
 I have to 4 usb webcam stream (from 4 different machine)  embed to a
 website
 
 I read and try adobe flash media server (and it likes to work on
 linux ) but
 unfortunately the encoder witch stream the webcam to the server is
 available only windows :(  (of course no linux version yet someone use
 wine
 to use but I think this is not the best solution )
 
 I looked for any alternatives I found red5 and an article about how to
 use
 the local flashplayer plugin publish the cam ( http://ptm.fi/?p=29 ,
 http://ptm.fi/?cat=6 ) but I dont really know how to start
 
 Is it worth to try usb-server to use remote cams as local device?
 
 If anybody had experiences about like my problem please help my to
 give
 some  info and manual link
 
 of course I don't insist the adobe product and solution I just want to
 work
 :)
 
 thanks your time and help
 
 have a nice day
 
 Z. 

I may have misunderstood your question.

Last summer I was looking to stream my webcam to flash.  I think I
looked at the red5 product but decided against it.  There's also some
web services that will do it but I didn't want my webcam hosted on
another service.

So I ended up using a vlc script.  vlc is cool because not only can you
stream to flv but just about any other format.

script will look something like this:

WIDTH=320
HEIGHT=240
BITRATE=512
BITRATE=1024
CODEC1=FLV1
AUDIODEV=/dev/dsp1
DEV=/dev/video2

vlc  \
-I dummy \
v4l2://${DEV}:width=${WIDTH}:height=${HEIGHT} \
:input-slave=oss://${AUDIODEV} \
--sub-filter time \
--sout \
'#transcode{vcodec='${CODEC1}',vb='${BITRATE}',acodec=mp3,samplerate=11025}:std{access=http,dst=127.0.0.1:8082/stream.flv}}




Re: [gentoo-user] packages.gentoo.org down?

2007-08-09 Thread Albert W. Hopkins
Hi.  I'm sorry for the late response but the following will hopefully
clear up some things.

I am out of town all this week and all next week.  I have no access to
Gentoo's servers and limited access to the Internet.  On top of that I
am *very* busy ATM.

There is a problem with the site that affected its operation.  Since I
could not be contacted a decision was made to shut down
packages.gentoo.org.  I was not/could not be available for that decision
and I apologize.

I also have had limited contact with other Gentoo devs.  I'm told that
most of the infra- group is away at LWE.  So we are pretty short-staffed
ATM.  Most people should be back next week and It should be pretty
speedy to get the site back up but the issue now is that I'm not able to
work on it myself and others who can are also unavailable.

This has nothing to do with Gentoo dying.  I've been using Gentoo since
2003 and it seems like, at least since Daniel Robbins left the first
time, at least once a month someone speculates that Gentoo is dying.
This can mean one of two things: either this has to be one of the
slowest deaths ever or perhaps we should see another doctor for a second
opinion.  Not to worry we have a plot reserved next to OS/2 :-).  A down
web site does not indicate that a distro/organization/person is dead.
It does, however, indicate that maybe we as an organization need to get
our ducks better aligned.  When you go to gentoo.org and start getting
No such domain then you can start worrying.*

Again, I apologize for the outage.  We'll be back online next week and
hopefully after that we'll have a better way of dealing with issues like
this when they arise. So please have patience with us.


--
Albert W. Hopkins

* Actually this is not true either.  I once worked for a company with
over $3 billion U.S. in revenue that forgot to renew its domain name
registration and so was offline for a day and a half.  Lucky for us
its Internet presence is not a major source of revenue. 

-- 
[EMAIL PROTECTED] mailing list