Re: [gentoo-user] layman config file setup?

2019-03-09 Thread Mick
On Saturday, 9 March 2019 20:04:46 GMT Walter Dnes wrote:
>   I originally had...
> 
> [palemoon]
> priority = 50
> location = /var/lib/layman/palemoon
> layman-type = git
> auto-sync = No
> 
>   I ran "layman -S"; no difference. I copied your config, ran "layman -S"
> and now I get...
> 
> =
> 
> [i660][root][~] emerge -pv layman
> !!! Repository 'palemoon' has sync-type attribute set to unsupported value:
> 'laymansync' !!! 

This is odd.  Is it reading some other repo file?

> Installed sync-types are: '['cvs', 'git', 'rsync', 'svn',
> 'webrsync']' WARNING: One or more repositories have missing repo_name
> entries:
> 
> /var/lib/layman/profiles/repo_name
> 
> NOTE: Each repo_name entry should be a plain text file containing a
> unique name for the repository on the first line.

OK, try this:

echo palemoon /var/lib/layman/profiles/palemoon


> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R] app-portage/layman-2.4.2-r1::gentoo  USE="git -bazaar -cvs
> -darcs (-g-sorcery) -gpg -mercurial -sqlite -squashfs -subversion
> -sync-plugin-portage -test" PYTHON_TARGETS="python2_7 python3_6 (-pypy)
> -python3_4 -python3_5" 0 KiB
> 
> =
> 
>   Is there anything unusual in my USE flags?

Not really.  In addition to yours I have sqlite and subversion set on mine, 
because git is not used by all overlays I'm interested in.

-- 
Regards,
Mick

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


Re: [gentoo-user] layman config file setup?

2019-03-09 Thread Walter Dnes
  I originally had...

[palemoon]
priority = 50
location = /var/lib/layman/palemoon
layman-type = git
auto-sync = No

  I ran "layman -S"; no difference. I copied your config, ran "layman -S"
and now I get...

=

[i660][root][~] emerge -pv layman
!!! Repository 'palemoon' has sync-type attribute set to unsupported value: 
'laymansync'
!!! Installed sync-types are: '['cvs', 'git', 'rsync', 'svn', 'webrsync']'
WARNING: One or more repositories have missing repo_name entries:

/var/lib/layman/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] app-portage/layman-2.4.2-r1::gentoo  USE="git -bazaar -cvs 
-darcs (-g-sorcery) -gpg -mercurial -sqlite -squashfs -subversion 
-sync-plugin-portage -test" PYTHON_TARGETS="python2_7 python3_6 (-pypy) 
-python3_4 -python3_5" 0 KiB

=

  Is there anything unusual in my USE flags?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] layman config file setup?

2019-03-09 Thread Corbin Bird
On 3/8/19 7:15 PM, Walter Dnes wrote:
>  
>   So I ran "layman -d ALL" followed by "layman -a palemoon".  Now...
> 
> [i660][root][~] cat /var/lib/layman/palemoon/profiles/repo_name 
> palemoon
> 
> ... but I still get the same warning!  Some more info...
> 

Apologies, if this a stupid question ... did you sync layman also?

( i.e. "layman -S", --NOT-- using emerge )

Layman has to be sync'd separately from portage/emerge.
( its a separate database system )

emerge will not find the updated ebuilds, from the overlays, without
layman being sync'd.

Also, the following dirs need the usual entries :
/etc/portage/package.use
/etc/portage/package.accept_keywords ( i.e. www-client/palemoon ~amd64 )

> 
>   What does your /etc/layman/overlays/ directory contain?
> 

... Same as yours.

Please check the contents of this file :
/etc/portage/repos.conf/layman.conf

content of /etc/portage/repos.conf/layman.conf :
[palemoon]
priority = 50
location = /var/lib/layman/palemoon
layman-type = git
sync-type = laymansync
sync-uri = https://github.com/deu/palemoon-overlay.git
auto-sync = Yes

Hope this helps.



Re: [gentoo-user] layman config file setup?

2019-03-08 Thread Walter Dnes
On Thu, Mar 07, 2019 at 09:27:04PM -0600, Corbin Bird wrote
> Have you added an overlay using layman?
> 
> Gentoo's List : https://overlays.gentoo.org/
> 
> Add  : layman -a
> Sync : layman -S
> 
> I use the Palemoon overlay :
> /var/lib/layman/palemoon/profiles/repo_name
> 
> contents of repo_name :
> palemoon
> 
> When you add the overlay the directories and files are created in
> /var/lib/layman/*
 
  So I ran "layman -d ALL" followed by "layman -a palemoon".  Now...

[i660][root][~] cat /var/lib/layman/palemoon/profiles/repo_name 
palemoon

... but I still get the same warning!  Some more info...

  First the layman dir
[i660][root][~] ll -og /var/lib/layman/
total 292
drwxr-xr-x  4   4096 Mar  8 19:54 .
drwxr-xr-x 12   4096 Mar  1 16:10 ..
-rw-r--r--  1 29 Mar  8 19:53 
cache_930c3ed4a5f89f74fd810585751a06e3.timestamp
-rw-r--r--  1 266586 Mar  1 16:26 cache_930c3ed4a5f89f74fd810585751a06e3.xml
-rw-r--r--  1615 Mar  8 19:54 installed.xml
drwxr-xr-x  2   4096 Mar  1 16:37 metadata
drwxr-xr-x  7   4096 Mar  8 19:54 palemoon

  Then the palemoon subdir...
[i660][root][~] ll -og /var/lib/layman/palemoon/
total 32
drwxr-xr-x 7 4096 Mar  8 19:54 .
drwxr-xr-x 4 4096 Mar  8 19:54 ..
drwxr-xr-x 7 4096 Mar  8 19:54 .git
-rw-r--r-- 1   97 Mar  8 19:54 README.md
drwxr-xr-x 2 4096 Mar  8 19:54 eclass
drwxr-xr-x 2 4096 Mar  8 19:54 metadata
drwxr-xr-x 2 4096 Mar  8 19:54 profiles
drwxr-xr-x 4 4096 Mar  8 19:54 www-client

  Then the profiles subdir...
[i660][root][~] ll -og /var/lib/layman/palemoon/profiles/
total 16
drwxr-xr-x 2 4096 Mar  8 19:54 .
drwxr-xr-x 7 4096 Mar  8 19:54 ..
-rw-r--r-- 1   25 Mar  8 19:54 package.use.mask
-rw-r--r-- 19 Mar  8 19:54 repo_name

  The repo_name file...
[i660][root][~] cat /var/lib/layman/palemoon/profiles/repo_name
palemoon

  Now what?  Some more searching in /etc/layman...
[i660][root][~] ll -og /etc/layman/
total 24
drwxr-xr-x  3 4096 Aug  8  2018 .
drwxr-xr-x 64 4096 Feb 11 23:18 ..
-rw-r--r--  1 9358 Aug  8  2018 layman.cfg
drwxr-xr-x  2 4096 Aug  8  2018 overlays

[i660][root][~] ll -og /etc/layman/overlays/
total 8
drwxr-xr-x 2 4096 Aug  8  2018 .
drwxr-xr-x 3 4096 Aug  8  2018 ..
-rw-r--r-- 10 Aug  8  2018 .keep_app-portage_layman-0

  What does your /etc/layman/overlays/ directory contain?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] layman config file setup?

2019-03-07 Thread Corbin Bird
Have you added an overlay using layman?

Gentoo's List : https://overlays.gentoo.org/

Add  : layman -a
Sync : layman -S

I use the Palemoon overlay :
/var/lib/layman/palemoon/profiles/repo_name

contents of repo_name :
palemoon

When you add the overlay the directories and files are created in
/var/lib/layman/*

Hope this helps.

On 3/7/19 4:11 PM, Walter Dnes wrote:
>   I've set up layman, and it appears to work, but I seem to be missing a
> config entry somewhere.  Whenever I run emerge I get...
> 
> =
> WARNING: One or more repositories have missing repo_name entries:
> 
> /var/lib/layman/profiles/repo_name
> 
> NOTE: Each repo_name entry should be a plain text file containing a
> unique name for the repository on the first line.
> =
> 
>   What and where do I need to enter?  I don't even have a
> /var/lib/layman/profiles/ directory.
> 



[gentoo-user] layman config file setup?

2019-03-07 Thread Walter Dnes
  I've set up layman, and it appears to work, but I seem to be missing a
config entry somewhere.  Whenever I run emerge I get...

=
WARNING: One or more repositories have missing repo_name entries:

/var/lib/layman/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
=

  What and where do I need to enter?  I don't even have a
/var/lib/layman/profiles/ directory.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications