[gentoo-user] Re: When a dependancy built by hand

2005-06-02 Thread Harry Putnam
Paul Varner [EMAIL PROTECTED] writes:


[...]


 Your /etc/portage/profile/package.provided file is correct.
 Unfortunately, in this case, the dependency is on virtual/emacs.

 Add virtual/emacs app-editors/emacs-cvs
 to /etc/portage/profile/virtuals and it will quit trying to install
 emacs. This tells portage to use app-editors/emacs-cvs to satisfy the
 virtual instead of the default of app-editors/emacs.

 For the second one, you have a typo - it is dev-util/cvs not
 dev-util*s*/cvs

Many thanks.  All working now.  I had really managed to confuse myself
for a bit there.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: When a dependancy built by hand

2005-06-01 Thread Neil Bothwick
On Wed, 01 Jun 2005 00:13:06 -0500, Harry Putnam wrote:

 I've now created a package.provided file in two locations to be sure.
 
 /etc/portage/profile/package.provided

This is correct.

 /etc/make.profile/package.provided (as referenced in `man portage')

This is wrong. This should be a symlink to your profile in /usr/portage.
removing the link could cause all sorts of problems.

 
 The file contains:
   dev-utils/cvs-1.12.11
   app-editors/emacs-cvs-22.0.50.1
 
 However I still see the same output from emerge.
 It still wants to install emacs-21.. as dependancy for emacs-w3m, and
 cvs-1.11.. as dependancy for emacs-cvs.

You need to put the packages that portage wants to install in this file.
If emacs-w3m specifically wants emacs, not emacs-cvs, adding emacs-cvs to
package.provided will make no difference.


-- 
Neil Bothwick

Keep your words soft and sweet in case you have to eat them.


pgpM41inJTZhj.pgp
Description: PGP signature


Re: [gentoo-user] Re: When a dependancy built by hand

2005-06-01 Thread Nagatoro
Harry Putnam wrote:
 The file contains:
   dev-utils/cvs-1.12.11
   app-editors/emacs-cvs-22.0.50.1
 
 However I still see the same output from emerge.
 It still wants to install emacs-21.. as dependancy for emacs-w3m, and
 cvs-1.11.. as dependancy for emacs-cvs.

Please correct me i I'm wrong but isn't version number 0. portages
way of saying it's a cvs version?
If so shouldn't the line be:

app-editors/emacs-0.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: When a dependancy built by hand

2005-06-01 Thread Paul Varner
On Wed, 2005-06-01 at 00:03 -0500, Harry Putnam wrote:
 Is something more than creating and editing the subject file required?
 I don't see any difference in emerge -v -p output having created it.
 Maybe its not correct:
   cat /etc/portage/profile/package.provided
 
 ---
dev-utils/cvs-1.12.11
app-editors/emacs-cvs-22.0.50.1
 ---
 
   emerge -v -p emacs-w3m
   These are the packages that I would merge, in order:
 
   Calculating dependencies ...done!
   [ebuild  N] app-editors/emacs-21.4  +X -Xaw3d -debug +gnome -leim 
 -lesstif +motif +nls -nosendmail 0 kB 
   [ebuild  N] dev-libs/boehm-gc-6.3-r1  -c++ 754 kB 
   [ebuild  N] media-libs/gdk-pixbuf-0.22.0-r3  -doc -mmx 388 kB 
   [ebuild  N] www-client/w3m-0.5.1-r1  +X -async -cjk +gpm +gtk +imlib 
 -imlib2 -lynxkeymap -migemo +nls +ssl -xface 1,852 kB 
   [ebuild  N] app-emacs/emacs-w3m-1.4.3  708 kB 
 
 Note that emacs-21.4 is still slated for install.
 ---
 
  emerge -v -p emacs-cvs
 
   These are the packages that I would merge, in order:
 
   Calculating dependencies ...done!
   [ebuild  N] dev-util/cvs-1.11.18  -doc -emacs 0 kB 
   [ebuild  N] app-editors/emacs-cvs-22.0.50  +X -Xaw3d (-aqua) -debug 
 +gif +gnome +gtk +jpeg +nls +png +spell +tiff 0 kB 
 

Your /etc/portage/profile/package.provided file is correct.
Unfortunately, in this case, the dependency is on virtual/emacs.

Add virtual/emacs app-editors/emacs-cvs
to /etc/portage/profile/virtuals and it will quit trying to install
emacs. This tells portage to use app-editors/emacs-cvs to satisfy the
virtual instead of the default of app-editors/emacs.

For the second one, you have a typo - it is dev-util/cvs not
dev-util*s*/cvs

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Harry Putnam
Jason Stubbs [EMAIL PROTECTED] writes:


 /etc/portage/profile/package.provided


Where to look to learn about the required syntax?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Holly Bostick
Harry Putnam schreef:
 Jason Stubbs [EMAIL PROTECTED] writes:
 
 
/etc/portage/profile/package.provided

 
 
 Where to look to learn about the required syntax?
 

man portage

:)

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Paul Varner
On Tue, 2005-05-31 at 22:15 -0500, Harry Putnam wrote:
 Jason Stubbs [EMAIL PROTECTED] writes:
 
 
  /etc/portage/profile/package.provided
 
 
 Where to look to learn about the required syntax?
 

man portage

Specifically for the package.provided file it wants the package and
version that you have installed outside of portage.  For example: If you
have downloaded and installed your own kernel from kernel.org, placing 

sys-kernel/vanilla-sources-2.6.11.11

into package.provided tells portage that you have provided that version
of the package and to not manage that package.

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Harry Putnam
Graham Murray [EMAIL PROTECTED] writes:

 While it would mean re-installing emacs, you could use the emacs-cvs
 ebuild which builds emacs from cvs head. To keep up-to-date you just
 have to re-emerge and you will build with the latest changes.

How can I get a look at what and how stuff gets installed without
actually installing cvs-emacs?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Nick Rout

On Tue, 31 May 2005 22:22:29 -0500
Harry Putnam wrote:

 An
 example might be that if emacs isn't installed at /usr/local its
 already outside the standard emacs install.

and you have moved outside the standard gentoo install i suspect :)



-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Harry Putnam
Graham Murray [EMAIL PROTECTED] writes:

 While it would mean re-installing emacs, you could use the emacs-cvs
 ebuild which builds emacs from cvs head. To keep up-to-date you just
 have to re-emerge and you will build with the latest changes.

Sorry to hammer on this so much... I haven't been tinkering and
keeping up with my gentoo install for a while.

emerge -v -p emacs-cvs
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] dev-util/cvs-1.11.18  -doc -emacs 0 kB 
[ebuild  N] app-editors/emacs-cvs-22.0.50  +X -Xaw3d 
(-aqua) -debug +gif +gnome +gtk +jpeg +nls +png +spell +tiff 0 kB

I have a more recent cvs installed from scratch too.  Mainly to build
a version that allows root commits.
Looking at the output I've forgotten what the minus and plus signs
mean.

I kind of understand the notations on `emacs-cvs' from building it
repeatedly over the years.  It will build with those items with plus
signs but in this case I know what the items are.

cvs-1.11.18  -doc -emacs = what does it mean exactly?  Why would
emacs be a factor in building cvs?  And what does -doc refer to.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Nick Rout

On Tue, 31 May 2005 22:25:42 -0500
Harry Putnam wrote:

  While it would mean re-installing emacs, you could use the emacs-cvs
  ebuild which builds emacs from cvs head. To keep up-to-date you just
  have to re-emerge and you will build with the latest changes.
 
 How can I get a look at what and how stuff gets installed without
 actually installing cvs-emacs?

read the ebuild!



-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Harry Putnam
Nick Rout [EMAIL PROTECTED] writes:

 On Tue, 31 May 2005 22:22:29 -0500
 Harry Putnam wrote:

 An
 example might be that if emacs isn't installed at /usr/local its
 already outside the standard emacs install.

 and you have moved outside the standard gentoo install i suspect :)

Not sure what your point is Nick.  I see the smiley so assume its a
joke.  But of course I'm well outside gentoo standard by installing
any packages from scratch.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Harry Putnam
Jason Stubbs [EMAIL PROTECTED] writes:

 /etc/portage/profile/package.provided

And if no `profile' directory exists, is that something one creates or
is it put there by some package?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Harry Putnam
Jason Stubbs [EMAIL PROTECTED] writes:


[...]


 /etc/portage/profile/package.provided

 Regards,
 Jason Stubbs

Paul Varner [EMAIL PROTECTED] writes:


[...]

 man portage

 Specifically for the package.provided file it wants the package and
 version that you have installed outside of portage.  For example: If you
 have downloaded and installed your own kernel from kernel.org, placing 

 sys-kernel/vanilla-sources-2.6.11.11

 into package.provided tells portage that you have provided that version
 of the package and to not manage that package.

Is something more than creating and editing the subject file required?
I don't see any difference in emerge -v -p output having created it.
Maybe its not correct:
  cat /etc/portage/profile/package.provided

---
   dev-utils/cvs-1.12.11
   app-editors/emacs-cvs-22.0.50.1
---

  emerge -v -p emacs-w3m
  These are the packages that I would merge, in order:

  Calculating dependencies ...done!
  [ebuild  N] app-editors/emacs-21.4  +X -Xaw3d -debug +gnome -leim 
-lesstif +motif +nls -nosendmail 0 kB 
  [ebuild  N] dev-libs/boehm-gc-6.3-r1  -c++ 754 kB 
  [ebuild  N] media-libs/gdk-pixbuf-0.22.0-r3  -doc -mmx 388 kB 
  [ebuild  N] www-client/w3m-0.5.1-r1  +X -async -cjk +gpm +gtk +imlib 
-imlib2 -lynxkeymap -migemo +nls +ssl -xface 1,852 kB 
  [ebuild  N] app-emacs/emacs-w3m-1.4.3  708 kB 

Note that emacs-21.4 is still slated for install.
---

 emerge -v -p emacs-cvs

  These are the packages that I would merge, in order:

  Calculating dependencies ...done!
  [ebuild  N] dev-util/cvs-1.11.18  -doc -emacs 0 kB 
  [ebuild  N] app-editors/emacs-cvs-22.0.50  +X -Xaw3d (-aqua) -debug +gif 
+gnome +gtk +jpeg +nls +png +spell +tiff 0 kB 

Note that cvs-1.11.18 is sill slated for install.
---

If the package.provided is correct, shouldn't I see some different
results from emerge?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Nick Rout

On Tue, 31 May 2005 23:34:36 -0500
Harry Putnam wrote:

 Nick Rout [EMAIL PROTECTED] writes:
 
  On Tue, 31 May 2005 22:22:29 -0500
  Harry Putnam wrote:
 
  An
  example might be that if emacs isn't installed at /usr/local its
  already outside the standard emacs install.
 
  and you have moved outside the standard gentoo install i suspect :)
 
 Not sure what your point is Nick.  I see the smiley so assume its a
 joke.  But of course I'm well outside gentoo standard by installing
 any packages from scratch.

Well i guess i am saying that although emacs (and much else) goes in
/usr/local, the gentoo standard seems to be to put it elsewhere. So I
guess you have to choose either the emacs standard or the gentoo
standard.

The smiley was to illustrate irony as much as anything else. Cheers.

 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Harry Putnam
Paul Varner [EMAIL PROTECTED] writes:

  /etc/portage/profile/package.provided
 
 
 Where to look to learn about the required syntax?
 

 man portage

 Specifically for the package.provided file it wants the package and
 version that you have installed outside of portage.  For example: If you
 have downloaded and installed your own kernel from kernel.org, placing 

 sys-kernel/vanilla-sources-2.6.11.11

Is  /etc/portage/profile/package.provided the correct address for
this?

In `man portage' I see reference to:
  /etc/make.profile/package.provided

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Harry Putnam
Paul Varner [EMAIL PROTECTED] writes:

 man portage

 Specifically for the package.provided file it wants the package and
 version that you have installed outside of portage.  For example: If you
 have downloaded and installed your own kernel from kernel.org, placing 

 sys-kernel/vanilla-sources-2.6.11.11

I've now created a package.provided file in two locations to be sure.

/etc/portage/profile/package.provided
/etc/make.profile/package.provided (as referenced in `man portage')

The file contains:
  dev-utils/cvs-1.12.11
  app-editors/emacs-cvs-22.0.50.1

However I still see the same output from emerge.
It still wants to install emacs-21.. as dependancy for emacs-w3m, and
cvs-1.11.. as dependancy for emacs-cvs.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes:

 Is  /etc/portage/profile/package.provided the correct address for
 this?

 In `man portage' I see reference to:
   /etc/make.profile/package.provided

Gack I see its a symlink ... but now I'm even more confused.  The
symlink points to:
/usr/portage/profiles/default-linux/x86/2005.0

/etc/portage/profile does not appear to be a symlink to that address
yet placing my file there, it also turns up in 
/usr/portage/profiles/default-linux/x86/2005.0

So are these hardlinked or what? 
At any rate the file appears in 
/etc/portage/profile/package.provided
/etc/make.profile/package.provided
/usr/portage/profiles/default-linux/x86/2005.0/package.provided

Yet I still get output from emerge indicating both of the listed
packaged need to be installed as dependancies to one thing or
another. 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: When a dependancy built by hand

2005-05-31 Thread Rumen Yotov
Harry Putnam wrote:

Harry Putnam [EMAIL PROTECTED] writes:

  

Is  /etc/portage/profile/package.provided the correct address for
this?

In `man portage' I see reference to:
  /etc/make.profile/package.provided



Gack I see its a symlink ... but now I'm even more confused.  The
symlink points to:
/usr/portage/profiles/default-linux/x86/2005.0

/etc/portage/profile does not appear to be a symlink to that address
yet placing my file there, it also turns up in 
/usr/portage/profiles/default-linux/x86/2005.0

So are these hardlinked or what? 
At any rate the file appears in 
/etc/portage/profile/package.provided
/etc/make.profile/package.provided
/usr/portage/profiles/default-linux/x86/2005.0/package.provided

Yet I still get output from emerge indicating both of the listed
packaged need to be installed as dependancies to one thing or
another. 

  

Hi,
Think that /etc/portage/... thing serves to hold portage override
settings.
So if you wanna change some of the default portage/profile settings,
which are in /usr/portage/...,
this could be done throu use of /etc/portage/... settings.
System-wide default settings are in: /etc/make.profile (customizable),
throu change in profiles.
Just like the dot.apprc files (in home dir).
HTH. Rumen


smime.p7s
Description: S/MIME Cryptographic Signature