[gentoo-user] GNOME configuration problem

2013-02-04 Thread Helmut Jarausch

Hi,

I'm not using the full GNOME desktop but only single applications like  
'meld'.


(Only) for some users (including root on one machine and a non-root  
user on an another machine)

meld fails with :

  File /usr/lib64/meld/meld/ui/historyentry.py, line 121, in  
_save_history

self.__gconf_client.set_list(key, gconf.VALUE_STRING, gconf_items)
glib.GError:
Configuration server couldn't be contacted: D-BUS error: Can't overwrite
existing read-only value: Value for
`/apps/gnome-settings/meld/history-direntry' set in a read-only source  
at the

front of your configuration path


I have even removed $HOME/.gconf  and $HOME/.local/meld with no success.

Any hints are very much appreciated,
Helmut.



[gentoo-user] Using KDE networkmanagement applet with systemd??

2013-02-04 Thread Robert Walker
Hi all,
I'm wondering if it is possible to get the KDE network management
(system tray) applet to work properly on my laptop. I'm using the Gentoo
systemd overlay and KDE 4.9.5.

$ emerge -pv networkmanager network management
[ebuild R ~] net-misc/networkmanager-0.9.6.4-r1 USE=avahi dhcpcd doc
gnutls introspection modemmanager ppp systemd wext -bluetooth
-connection-sharing -consolekit -dhclient -nss -resolvconf -vala -wimax
0 kB
[ebuild R ~] kde-misc/network management-0.9.0.6:4 USE=(-aqua) -debug
LINGUAS=-ar -ca -cs -da -de -el -es -et -fa -fi -fr -ga -hu -it -ja -kk
-km -lt -nb -nds -nl -nn -pl -pt -pt_BR -ro -ru -se -sk -sr
-sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -tr -uk -zh_TW 1,298 kB

Currently the tray applet starts but can't see the systemd enabled
NetworkManager service - the service is definitely working though...
$ systemctl status NetworkManager.service
NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib64/systemd/system/NetworkManager.service; enabled)
Active: active (running) since Mon 2013-02-04 10:35:19 GMT; 43min ago
Main PID: 4849 (NetworkManager)
CGroup: name=systemd:/system/NetworkManager.service
├─4849 /usr/sbin/NetworkManager --no-daemon
└─4908 /sbin/dhcpcd -B -K -L -G -c /usr/libexec/nm-dhcp-client.action eth0

I click on the KDE network management system tray icon and the popup
window says Network Manager is not working. Please start it.

Clearly should work - as it does on ARCH, Chakra, OpenSUSE, Mageia and
Rosa distros!! Not really a big deal but it would be nice to fix it :-)

Any thoughts??

Thanks
Bob




[gentoo-user] google drive

2013-02-04 Thread András Csányi
Hi All,

I would like to get some advise what would be the good - reasonably
good - solution use my Google Drive storage under Gentoo. In the last
1.5 years I haven't used Gentoo so, I'm a little bit out of scope
about the actualities.

I found grive but it is not compiling. At the moment I don't have time
to figure out what could be the issue with it and I have no time to
report it. Maybe, later.

What I'm looking for is similar to I had under Windows. The drive
could be mountable and it is  synchronized. At the moment does not
matter it is synchronized automatically or it requires a command.

Thanks for any suggestions in advance!

András
--
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell



Re: [gentoo-user] Compiling Gentoo for Raspberry Pi (Was: List of base system packages)

2013-02-04 Thread Nilesh Govindrajan
On Mon, Feb 4, 2013 at 12:35 PM, Yohan Pereira yohan.pere...@gmail.com wrote:

 In that case why don't you just go ahead and use the stage 3 provided
 for the pi? I know you said you didn't want to use it earlier, but
 assuming your using the default profile to cross compile it will pull in
 everything that's in the stage3 tarball anyway.

 Once the stage 3 is setup you can use distcc and get rid of the stuff
 you dont want.

 Another thing you can do to speed things up is mount the root file
 system over NFS or on a usb hdd. It was quite a bit faster in
 my experience


Three reasons:
Fun
Experience
Knowledge

:-)

--
Nilesh Govindrajan
http://nileshgr.com



Re: [gentoo-user] Using KDE networkmanagement applet with systemd??

2013-02-04 Thread João Matos
2013/2/4 Robert Walker robert_mt_wal...@yahoo.co.uk

 Hi all,
 I'm wondering if it is possible to get the KDE network management
 (system tray) applet to work properly on my laptop. I'm using the Gentoo
 systemd overlay and KDE 4.9.5.

 $ emerge -pv networkmanager network management
 [ebuild R ~] net-misc/networkmanager-0.9.6.4-r1 USE=avahi dhcpcd doc
 gnutls introspection modemmanager ppp systemd wext -bluetooth
 -connection-sharing -consolekit -dhclient -nss -resolvconf -vala -wimax
 0 kB
 [ebuild R ~] kde-misc/network management-0.9.0.6:4 USE=(-aqua) -debug
 LINGUAS=-ar -ca -cs -da -de -el -es -et -fa -fi -fr -ga -hu -it -ja -kk
 -km -lt -nb -nds -nl -nn -pl -pt -pt_BR -ro -ru -se -sk -sr
 -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -tr -uk -zh_TW 1,298 kB

 Currently the tray applet starts but can't see the systemd enabled
 NetworkManager service - the service is definitely working though...
 $ systemctl status NetworkManager.service
 NetworkManager.service - Network Manager
 Loaded: loaded (/usr/lib64/systemd/system/NetworkManager.service; enabled)
 Active: active (running) since Mon 2013-02-04 10:35:19 GMT; 43min ago
 Main PID: 4849 (NetworkManager)
 CGroup: name=systemd:/system/NetworkManager.service
 ├─4849 /usr/sbin/NetworkManager --no-daemon
 └─4908 /sbin/dhcpcd -B -K -L -G -c /usr/libexec/nm-dhcp-client.action eth0

 I click on the KDE network management system tray icon and the popup
 window says Network Manager is not working. Please start it.

 Clearly should work - as it does on ARCH, Chakra, OpenSUSE, Mageia and
 Rosa distros!! Not really a big deal but it would be nice to fix it :-)

 Any thoughts??

 Thanks
 Bob



Here it is working pretty well, and I'm not using any overlay, just the
useflag systemd. I had a problem recently, but it was solved when I
filled this bug: https://bugs.gentoo.org/show_bug.cgi?id=45 .

When I started using systemd, I had a similar problem. It was something
related with pam autentication, that I don't remember, but it surely worth
to search a little about.

In fact, I was connected to the Internet, using networkmanagement, but I
had this problem with the tray icon.

-- 
João de Matos
Linux User #461527
Graduando em Engenharia de Computação 2005.1
UEFS - Universidade Estadual de Feira de Santana


Re: [gentoo-user] google drive

2013-02-04 Thread Yohan Pereira
On 04/02/13 at 01:43pm, András Csányi wrote:
 Hi All,
 
 I would like to get some advise what would be the good - reasonably
 good - solution use my Google Drive storage under Gentoo. In the last
 1.5 years I haven't used Gentoo so, I'm a little bit out of scope
 about the actualities.
 
 I found grive but it is not compiling. At the moment I don't have time
 to figure out what could be the issue with it and I have no time to
 report it. Maybe, later.

Place the attached file in the folder (create the folder if it doesn't
exists)
/etc/portage/patches/net-misc/grive-0.2.0/

Here's how it looks on my system.

$ cat /etc/portage/patches/net-misc/grive-0.2.0/binutils.patch
--- grive-0.2.0/libgrive/src/bfd/SymbolInfo.cc  2012-07-07 21:13:18.0 
+0530
+++ grive-0.2.0-patch/libgrive/src/bfd/SymbolInfo.cc2012-10-25 
19:50:12.753953058 +0530
@@ -21,7 +21,7 @@
 #include Debug.hh
 
 #include vector
-
+#define PACKAGE
 #include bfd.h
 #include execinfo.h
 #include dlfcn.h

 What I'm looking for is similar to I had under Windows. The drive
 could be mountable and it is  synchronized. At the moment does not
 matter it is synchronized automatically or it requires a command.

after you configure grive, it syncs the current folder with your google
drive. You need to run it again to sync any changes. I use a cron entry
to periodically sync my drive.

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain
--- grive-0.2.0/libgrive/src/bfd/SymbolInfo.cc	2012-07-07 21:13:18.0 +0530
+++ grive-0.2.0-patch/libgrive/src/bfd/SymbolInfo.cc	2012-10-25 19:50:12.753953058 +0530
@@ -21,7 +21,7 @@
 #include Debug.hh
 
 #include vector
-
+#define PACKAGE
 #include bfd.h
 #include execinfo.h
 #include dlfcn.h


[gentoo-user] Re: google drive

2013-02-04 Thread walt
On 02/04/2013 04:43 AM, András Csányi wrote:
 Hi All,
 
 I would like to get some advise what would be the good - reasonably
 good - solution use my Google Drive storage under Gentoo. In the last
 1.5 years I haven't used Gentoo so, I'm a little bit out of scope
 about the actualities.
 
 I found grive but it is not compiling.

Here's a quick and dirty workaround:

#cd /usr/include
#ln -s json-c json
(I think the json-c package puts that symlink in the wrong place.)

That should let you install grive.  Let us know if grive does what you want.





[gentoo-user] cloning problem

2013-02-04 Thread Helmut Jarausch

Hi,

since not too long I have a problem when cloning a Gentoo system
on to a machine with identical hardware.
I copy / /usr and /LOCAL to the new machine, edit several files in /etc
rebuilt the kernel and reinstall grub:0. Furthermore I have adapted the
fstab file in the initramfs.

On the very first boot the cloned system fails to mount all file systems
even /dev/pts which is a bit problematic when doing all this from  
remote.


I get PTY allocation request failed on channel 0

Luckily I still can use the console on the remote system although I  
don't

get a prompt.

Just doing
mount -a

and rebooting seems to fix the problem.

Still, I'm interested what's going there?

Many thanks for a hint,
Helmut.



[gentoo-user] Re: error: Cg/cg.h: No such file or directory

2013-02-04 Thread nunojsilva
On 2013-02-03, João Matos wrote:

 Dear list,

 I'm trying to build dolphin-emu from gamerlay, and I got the following
 error:


 error: Cg/cg.h: No such file or directory

 But the file actually exists:

 /opt/nvidia-cg-toolkit/include/Cg/cg.h

 Should it be a problem that I can solve myself?

 I thought so, than I've made a symlink for
 /opt/nvidia-cg-toolkit/include/Cg at /usr/include. The compilation took a
 little longer, but later, I've got the following:

It took a little longer because it compiled, in fact the error occured
so early that it failed without doing that much, I guess.


 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld:
 cannot find -lCg
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld:
 cannot find -lCgGL

It is some library detail: when configuring the makefiles to build some
piece of source, the configure script needs to find the libraries and
set *two* things from these libraries:

- The include directories, to which it should append the
  /opt/nvidia-cg-toolkit/include path

- The library directories, to which it should append a directory where
  nvidia-cg-toolkit has its libs

This, at least for some packages, is done with pkg-config, see, for
example, if you have gtk+-2.x on your system:

   pkg-config --cflags gtk+-2.0

This generates the right flags to pass to gcc when you want to compile a
gtk+-2.x application. Likewise, --libs gives you the linker flags.

Now what happened: you *did* provide it the header file, which is enough
to compile the code part that depends on the nvidia library
(compilation, which is modular, you can just go for parts of the code
and information on other parts are on the header files), but you still
need the library itself when you are assembling the final binary, so
that the binary can be extended with information on where to get the
library (or with the library itself, in the case of static linking).

Although here --libs only gives me -l* for gtk, there is also a
companion -L flag that, like -I for includes, sets the directories where
the libraries can be found. I assue that, if -L is not given, that just
means gtk+ is in the default locations.


If you can figure out how to tell the configure script where to look for
the libs, that would be the easiest thing to do; next to that, you can
manually link the files using the right -L parameter or perhaps
appending it to LD_LIBRARY_PATH when compiling.


Perhaps try reinstalling nvidia-cg-toolkit after resyncing: some
searches tell me there was yet another compilation breakage that got
fixed recently: https://bugs.gentoo.org/show_bug.cgi?id=443546

But one person noted it does not work in amd64... I wonder if linking
lib64 to lib there would work.

-- 
Nuno Silva (aka njsg)
http://njsg.sdf-eu.org/




Re: [gentoo-user] Gtkam getting on my nerves, again.

2013-02-04 Thread Dale
Walter Dnes wrote:
 I use Gtkam to get pics from my Canon camera.  I already put up with the
 fact that it crashes a LOT.  It really gets on my nerves but sort of
 getting used to that.  Now I have a new issue.  When I tell it to save a
 picture to say /home/dale/Desktop/Documents/Camera-pics/2013/Yard/ it
 always saves them to /home/dale.  It does this regardless of what I have
 asked it to save them too.  This used to work fine when I had this sort
 of thing mounted on a directory called /data.  It would go something
 like this:  /data/Camera-pics/2013/Yard/  That would work fine.  When I
 got my shiney new 3Tb drive, I moved all that over to my home directory
 and ever since then, Gtkam saves to the wrong place. 

 I have changed the permissions for /home/dale and EVERYTHING under it
 but still get the same thing.  I'm 99% sure it is not a permissions
 issue.  This is what permissions look like:

 drwxrwxr-x 27 dale users 4096 Dec  9  2009 2009
 drwxrwxr-x 37 dale users 4096 Nov 16  2011 2010
 drwxrwxr-x 31 dale users 4096 Dec 30  2011 2011
 drwxrwxr-x 20 dale users 4096 Nov 12 01:20 2012
 drwxrwxr-x  4 dale users 4096 Jan 30 03:00 2013
   Grasping at straws here; from /home/dale try...

 chmod 777 Desktop

 ...and then try saving an image to Desktop.  BTW, do you have pam or acl
 in use?


Well, I cleaned out the camera pics so I'll have to take some more pics
to test.  After getting digikam to work by importing it through the card
reader, I got all the pics downloaded.  Then I cleaned out my card. 

Putting on the todo list.  I'll reply when I get some results. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: google drive

2013-02-04 Thread András Csányi
On 4 February 2013 15:04, walt w41...@gmail.com wrote:
 On 02/04/2013 04:43 AM, András Csányi wrote:
 Hi All,

 I would like to get some advise what would be the good - reasonably
 good - solution use my Google Drive storage under Gentoo. In the last
 1.5 years I haven't used Gentoo so, I'm a little bit out of scope
 about the actualities.

 I found grive but it is not compiling.

 Here's a quick and dirty workaround:

 #cd /usr/include
 #ln -s json-c json
 (I think the json-c package puts that symlink in the wrong place.)

 That should let you install grive.  Let us know if grive does what you want.

Thanks for the quick help both of you. I compiled the code
successfully using the link command you suggested. At the moment sync
is running and it looks like that one I want it.


--
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell



Re: [gentoo-user] Compiling Gentoo for Raspberry Pi (Was: List of base system packages)

2013-02-04 Thread Dustin C. Hatch

On 2/3/2013 23:43, Nilesh Govindrajan wrote:

On Mon, Feb 4, 2013 at 3:14 AM, Dustin C. Hatch admiraln...@gmail.com wrote:

On 2/3/2013 12:24, Nilesh Govindrajan wrote:
Okay, the problem is probably the way PAM tries to link against db. Unless
you need that functionality, I'd go ahead and remove the berkdb USE flag and
try again. You may also want to file a bug.



Nah, I don't need berkdb, I'll do without it.
Did you install emerge/portage on the Pi yet?
Python cannot be cross compiled (it's a hot topic since ages, but very
few people have been successful with that).
So I guess Python would have to be compiled on the Pi itself... the
question is, emerge needs python and python needs emerge?!!?

--
Nilesh Govindrajan
http://nileshgr.com

No, minimalist Pi only has exactly what I need to run it. When I need to 
install additional software, I put the SD card in my desktop and run


armv6j-hardfloat-linux-gnueabi-emerge --root=/mnt/raspberrypi -av $pkg

I do have Python installed on it though. I actually have more than one 
Raspberry Pi, one of which runs a full install of Gentoo from a stage3 
tarball. I've got it set up with DistCC to offload most of the compiling 
to my desktops and servers, so it didn't take too long to build Python 
natively. Once it was built, I just installed the binary on the 
minimalist Pi using the same method as other packages.


--
♫Dustin



Re: [gentoo-user] Creating accounts in Thunderbird

2013-02-04 Thread Paul Hartman
On Sun, Feb 3, 2013 at 11:32 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 For the first one, host is 127.0.0.1, wizard validates it as saves it as
 localhost.
 For the second one, host is again entered as 172.0.0.1, which is a
 different string to localhost, validation succeeds and config is
 written to prefs.js. Ha-ha! Gotcha motherfucker! Your stupid front end
 validation didn't think of that!

Similar to what I did, but added /etc/hosts entries so i have
localhost localhost2 localhost3 localhost4 and so on. All pointing to
the same IP. :)



Re: [gentoo-user] Creating accounts in Thunderbird

2013-02-04 Thread Michael Mol
On Mon, Feb 4, 2013 at 2:33 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Sun, Feb 3, 2013 at 11:32 AM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
 For the first one, host is 127.0.0.1, wizard validates it as saves it as
 localhost.
 For the second one, host is again entered as 172.0.0.1, which is a
 different string to localhost, validation succeeds and config is
 written to prefs.js. Ha-ha! Gotcha motherfucker! Your stupid front end
 validation didn't think of that!

 Similar to what I did, but added /etc/hosts entries so i have
 localhost localhost2 localhost3 localhost4 and so on. All pointing to
 the same IP. :)


If you run /sbin/ip route show, you should see this in your routing table:

127.0.0.0/8 via 127.0.0.1 dev lo

You have an entire /8 devoted to localhost. 127.0.0.1 goes to the same
place as 127.15.0.0, 127.11.10.1, etc...


--
:wq



Re: [gentoo-user] cloning problem

2013-02-04 Thread Neil Bothwick
On Mon, 04 Feb 2013 16:53:09 +0100, Helmut Jarausch wrote:

 On the very first boot the cloned system fails to mount all file systems
 even /dev/pts which is a bit problematic when doing all this from  
 remote.
 
 I get PTY allocation request failed on channel 0
 
 Luckily I still can use the console on the remote system although I  
 don't
 get a prompt.


Did you copy /dev/null and /dev/console to the new machine. These need to
exist on the root partition as they are needed before udev starts.


-- 
Neil Bothwick

WinErr 00F: Unexplained error - Please tell us how this happened


signature.asc
Description: PGP signature


[gentoo-user] Feeding new versions of mdadm to genkernel?

2013-02-04 Thread Daniel Frey
Hi all,

It seems that the genkernel team did the switcheroo with genkernel.

I used to build an initramfs with a newer mdadm by putting:

MDADM_VER=3.2.6

in genkernel.conf and copying the related tarball to /var/cache/genkernel.

I discovered a bit of a problem, all that's been removed in the latest
genkernel, and I don't see any obvious notes or new config files. Anyone
know how to do this?

Dan



Re: [gentoo-user] Confusing emerge output

2013-02-04 Thread Michael Orlitzky
On 02/03/2013 04:00 PM, Alan McKinnon wrote:

 http://wiki.gentoo.org/wiki/Sub-slots_and_Slot-Operators
 
 I'd already found much the same info in devmanual by the time I got and
 read your reply. So let's see if I understand this now:
 

Beats me. I know what they're supposed to do, but haven't bothered to
figure out how they work yet.




Re: [gentoo-user] Feeding new versions of mdadm to genkernel?

2013-02-04 Thread William Kenworthy
On 05/02/13 06:54, Daniel Frey wrote:
 Hi all,

 It seems that the genkernel team did the switcheroo with genkernel.

 I used to build an initramfs with a newer mdadm by putting:

 MDADM_VER=3.2.6

 in genkernel.conf and copying the related tarball to /var/cache/genkernel.

 I discovered a bit of a problem, all that's been removed in the latest
 genkernel, and I don't see any obvious notes or new config files. Anyone
 know how to do this?

 Dan

I got caught with the busybox versions ... it seems if you put the older
entries back it will work as it used to, at least it did for me.

BillK




Re: [gentoo-user] Compiling Gentoo for Raspberry Pi (Was: List of base system packages)

2013-02-04 Thread Nilesh Govindrajan
On Tue, Feb 5, 2013 at 12:53 AM, Dustin C. Hatch admiraln...@gmail.com wrote:
 No, minimalist Pi only has exactly what I need to run it. When I need to
 install additional software, I put the SD card in my desktop and run

 armv6j-hardfloat-linux-gnueabi-emerge --root=/mnt/raspberrypi -av $pkg

 I do have Python installed on it though. I actually have more than one
 Raspberry Pi, one of which runs a full install of Gentoo from a stage3
 tarball. I've got it set up with DistCC to offload most of the compiling to
 my desktops and servers, so it didn't take too long to build Python
 natively. Once it was built, I just installed the binary on the minimalist
 Pi using the same method as other packages.


The question is, how did you compile python? You ran a job on one of the Pis?

--
Nilesh Govindrajan
http://nileshgr.com



Re: [gentoo-user] Compiling Gentoo for Raspberry Pi (Was: List of base system packages)

2013-02-04 Thread Dustin C. Hatch

On 2/4/2013 22:41, Nilesh Govindrajan wrote:

On Tue, Feb 5, 2013 at 12:53 AM, Dustin C. Hatch admiraln...@gmail.com wrote:

No, minimalist Pi only has exactly what I need to run it. When I need to
install additional software, I put the SD card in my desktop and run

armv6j-hardfloat-linux-gnueabi-emerge --root=/mnt/raspberrypi -av $pkg

I do have Python installed on it though. I actually have more than one
Raspberry Pi, one of which runs a full install of Gentoo from a stage3
tarball. I've got it set up with DistCC to offload most of the compiling to
my desktops and servers, so it didn't take too long to build Python
natively. Once it was built, I just installed the binary on the minimalist
Pi using the same method as other packages.



The question is, how did you compile python? You ran a job on one of the Pis?

--
Nilesh Govindrajan
http://nileshgr.com

Yes. Just use the --buildpkg switch, copy the resulting .tbz2 from 
$PKGDIR on the Raspberry Pi to your crossdev host and then use emerge 
--usepkg to install it on your SD card.


--
♫Dustin