Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)

2013-07-17 Thread Neil Bothwick
On Tue, 16 Jul 2013 20:44:18 -0400, gottl...@nyu.edu wrote:

 I just did it again with cut and paste from above.
 Now the end of make.conf is (from cut and paste)
 
   FEATURES= buildsyspkg
 
   USE=-networkmanager
 
 and I still get
 
   newlap gottlieb # emerge --depclean networkmanager
   
   Calculating dependencies... done!
 net-misc/networkmanager-0.9.8.2 pulled in by:
   gnome-base/gnome-control-center-3.6.3-r1 requires
   =net-misc/networkmanager-0.8.997  
   gnome-base/gnome-shell-3.6.3.1 requires
   =net-misc/networkmanager-0.8.999[introspection]  
   gnome-extra/nm-applet-0.9.6.4-r1 requires
 =net-misc/networkmanager-0.9.6 net-libs/libsocialweb-0.25.21 requires
 net-misc/networkmanager

Did you do emerge --update --deep --changed-use --ask @world after
changing make.conf? Changing the USE flag there doesn't change the flags
that those packages were built with. They will need to be rebuilt without
NM support before portage allows you to depclean it.


-- 
Neil Bothwick

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


signature.asc
Description: PGP signature


Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)

2013-07-17 Thread gottlieb
On Wed, Jul 17 2013, Neil Bothwick wrote:

 On Tue, 16 Jul 2013 20:44:18 -0400, gottl...@nyu.edu wrote:

 I just did it again with cut and paste from above.
 Now the end of make.conf is (from cut and paste)
 
   FEATURES= buildsyspkg
 
   USE=-networkmanager
 
 and I still get
 
   newlap gottlieb # emerge --depclean networkmanager
   
   Calculating dependencies... done!
 net-misc/networkmanager-0.9.8.2 pulled in by:
   gnome-base/gnome-control-center-3.6.3-r1 requires
   =net-misc/networkmanager-0.8.997  
   gnome-base/gnome-shell-3.6.3.1 requires
   =net-misc/networkmanager-0.8.999[introspection]  
   gnome-extra/nm-applet-0.9.6.4-r1 requires
 =net-misc/networkmanager-0.9.6 net-libs/libsocialweb-0.25.21 requires
 net-misc/networkmanager

 Did you do emerge --update --deep --changed-use --ask @world after
 changing make.conf? Changing the USE flag there doesn't change the flags
 that those packages were built with. They will need to be rebuilt without
 NM support before portage allows you to depclean it.

Right.  Our msgs outlining the problem and its soln crossed in the mail.
The above was indeed the problem and the required fix.

thanks as always,
allan



Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)

2013-07-16 Thread Wang Xuerui
在 2013-7-16 下午9:50, gottl...@nyu.edu写道:

 (This is not a msg about networkmanager's quality.)

 My main system is ~amd64 and runs gnome-3.6.

 I wanted to experiment with removing networkmanager.
 I do not have networkmanager in world and did not have it in make.conf.
 However gnome-3.6 by default pulls it in.  For example
 gnome-control-center-3.6.3-r1.ebuild contains

   IUSE=+bluetooth +colord +cups +gnome-online-accounts +i18n
   input_devices_wacom kerberos +networkmanager +socialweb systemd v4l

 and

   COMMON_DEPEND=
 ...
 networkmanager? (
 =gnome-extra/nm-applet-0.9.1.90
 =net-misc/networkmanager-0.8.997 )

 I believe the first says that if the networkmanager use flag is neither
 set nor unset, treat it as set and the second says
 if the use flag is set (or treated as set), require
 net-misc/networkmanager.

 I don't see how to have the flag unset since its default is set.
 For example, editing make.conf to add

   USE=-networkmanager

 (I had no USE in make.conf previously) has no effect
 since networkmanager was not in USE before.

 How do I specify that the networkmanager USE flag is explicitly unset
 (rather than just not explicitly set).

 thanks,
 allan


Just write a package.use file to handle that.


Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)

2013-07-16 Thread Neil Bothwick
On Tue, 16 Jul 2013 09:49:42 -0400, gottl...@nyu.edu wrote:

 nome-control-center-3.6.3-r1.ebuild contains
 
   IUSE=+bluetooth +colord +cups +gnome-online-accounts +i18n
   input_devices_wacom kerberos +networkmanager +socialweb systemd v4l
 
 and
 
   COMMON_DEPEND=
 ...
 networkmanager? (
 =gnome-extra/nm-applet-0.9.1.90
 =net-misc/networkmanager-0.8.997 )  
 
 I believe the first says that if the networkmanager use flag is neither
 set nor unset, treat it as set and the second says
 if the use flag is set (or treated as set), require
 net-misc/networkmanager.

That's correct. The + just means it defaults to on, instead of the usual
off default for USE flags.

 I don't see how to have the flag unset since its default is set.  
 For example, editing make.conf to add
 
   USE=-networkmanager
 
 (I had no USE in make.conf previously) has no effect

That should do exactly what you want, although you can do it
in /etc/portage/package.use too (although that makes no sense in this
case as the decision on which network manager to use must be global).

Are you sure that you have spelled the USE flag correctly, that one has
wasted significant chunks of my life before now 9and will probably do so
again in the future).

 since networkmanager was not in USE before.

This is irrelevant. No USE flags are in make.conf until you put them
there.


-- 
Neil Bothwick

In the begining, there was nothing.
And God said Let there be light and there was light.
There was still nothing, but you could see it better.


signature.asc
Description: PGP signature


Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)

2013-07-16 Thread gottlieb
On Tue, Jul 16 2013, Neil Bothwick wrote:

 On Tue, 16 Jul 2013 09:49:42 -0400, gottl...@nyu.edu wrote:

 gnome-control-center-3.6.3-r1.ebuild contains
 
   IUSE=+bluetooth +colord +cups +gnome-online-accounts +i18n
   input_devices_wacom kerberos +networkmanager +socialweb systemd v4l
 
 and
 
   COMMON_DEPEND=
 ...
 networkmanager? (
 =gnome-extra/nm-applet-0.9.1.90
 =net-misc/networkmanager-0.8.997 )  
 
 I believe the first says that if the networkmanager use flag is neither
 set nor unset, treat it as set and the second says
 if the use flag is set (or treated as set), require
 net-misc/networkmanager.

 That's correct. The + just means it defaults to on, instead of the usual
 off default for USE flags.

 I don't see how to have the flag unset since its default is set.  
 For example, editing make.conf to add
 
   USE=-networkmanager
 
 (I had no USE in make.conf previously) has no effect

 That should do exactly what you want, although you can do it
 in /etc/portage/package.use too (although that makes no sense in this
 case as the decision on which network manager to use must be global).

 Are you sure that you have spelled the USE flag correctly, that one has
 wasted significant chunks of my life before now 9and will probably do so
 again in the future).

I just did it again with cut and paste from above.
Now the end of make.conf is (from cut and paste)

  FEATURES= buildsyspkg

  USE=-networkmanager

and I still get

  newlap gottlieb # emerge --depclean networkmanager
  
  Calculating dependencies... done!
net-misc/networkmanager-0.9.8.2 pulled in by:
  gnome-base/gnome-control-center-3.6.3-r1 requires
  =net-misc/networkmanager-0.8.997
  gnome-base/gnome-shell-3.6.3.1 requires
  =net-misc/networkmanager-0.8.999[introspection]
  gnome-extra/nm-applet-0.9.6.4-r1 requires =net-misc/networkmanager-0.9.6
  net-libs/libsocialweb-0.25.21 requires net-misc/networkmanager

To be sure that make.conf was being consulted, I tried it with a
fictitious flag joeee, which worked and then with -joeee which didn't
work.  That is, putting -joeee in make.conf results in *neither* joeee
or -joeee in the USE printed by emerge --info

 since networkmanager was not in USE before.

 This is irrelevant. No USE flags are in make.conf until you put them
 there.

My wording here was bad.  I meant that networkmanager was not in the USE
shown by emerge --sync and apparently (to my surprise) specifying
-foo in make.conf only removes USEs from the emerge --sync listing
and does not insert -foo into the emerge --sync USE, assuming
that neither foo nor -foo was originally in emerge --sync USE.

I am sure I am doing something wrong since I agree that
   USE=-networkmanager
in make.conf should be just what is needed, but I don't think it is just
my misspelling networkmanager.

allan



Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)

2013-07-16 Thread gottlieb
On Tue, Jul 16 2013, Wang Xuerui wrote:

 在 2013-7-16 下午9:50, gottl...@nyu.edu写道:

 How do I specify that the networkmanager USE flag is explicitly unset
 (rather than just not explicitly set).

 thanks,
 allan


 Just write a package.use file to handle that.

Thanks, but I would need many entries since the flag is relevant to many
packages and I would need to be sure to add entries as packages change
(I don't think it would be wise to have some, but not all, packages
merged with that USE flag).  That is why I want to do it in make.conf.

allan

PS. I actually have a package.use directory; with a number of files
turning USEs on.



Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)

2013-07-16 Thread gottlieb
On Tue, Jul 16 2013, gottl...@nyu.edu wrote:

 I am sure I am doing something wrong since I agree that
USE=-networkmanager
 in make.conf should be just what is needed, but I don't think it is just
 my misspelling networkmanager.

Mystery solved.  The line above does indeed work in that an update world
with --newuse does reinstall apps without the networkmanager USE flag.

I was testing the line above with

  emerge --depclean networkmanager

and that is the wrong test.  It is only after I do the update world so
that the -networkmanager USE takes affect, that I can hope to for the
--depclean to take affect.

thanks to all.
allan