[gentoo-user] Hugin panoramic picture and auto control points.

2020-11-20 Thread Dale
Howdy,

I been using Hugin to create panoramic pictures for years.  The
automatic create control point button never worked.  It always spit out
a error about a tool missing so I did it manually.  Time consuming to
say the least.  I recently took a few pictures and got tired of spending
all night going through pictures manually setting control points.  I
decided to try and figure out how to fix it since all the programs and
commands should be installed.  I went to File, Preferences and then
clicked on the Control Point Detectors tab in the new window.  If you
have autopano-sift-C installed, it should be the default.  Highlight it
and then click Edit. Find Program and then click the Choose button.  The
correct setting and path is /usr/bin/autopano-sift-c.  The default I
think was autopano-noop.sh or autopano-noop.  When I googled, I couldn't
find that command anywhere so no idea why that is the default setting. 
It took me a while to figure out where that setting was.  Google wasn't
much help.  Once you have that set up, you should be able to add
pictures and then tell it to Create Control Points and it work. 

I don't know how few use this program on this list but since I get a lot
of help here, I wanted to post this just in case it will help someone
who does use this and has the same problem I had with having to do it
manually.  Trust me, it is much faster and it does a awesome job so
far.  What normally would take me all night only took a few minutes with
the auto tool working plus it creates a lot more control points. 

Hope this helps someone.  Pictures makes memories.  :-D  I may post a
link to some at some point. 

Dale

:-)  :-) 



Re: [gentoo-user] strange ebuild problem

2020-11-20 Thread Helmut Jarausch

On 11/20/2020 05:50:11 PM, Mickaël Bucas wrote:
Le  ven. 20 nov. 2020    16:44, Helmut Jarausch  
<_j_a_r_a_u_s_c_h_@_s_k_y_n_e_t_._b_e> a ©crit  :

 Hi,
 I have an ebuild containing

 inherit git-r3

 and

 src_compile() {

         ./build_all.sh
 }

 The script build_all.sh contains

 [ -d csources ] || git clone --depth 1  
  
_h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_n_i_m_-_l_a_n_g_/_c_s_o_u_r_c_e_s_._g_i_t



 When I try to build I get the strange error
 fatal: unable to access  
'_h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_n_i_m_-_l_a_n_g_/_c_s_o_u_r_c_e_s_._g_i_t_/':

  
 Could not resolve host: _g_i_t_h_u_b_._c_o_m

 But when I exec
 git clone --depth 1  
_h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_n_i_m_-_l_a_n_g_/_c_s_o_u_r_c_e_s_._g_i_t

 in an xterm (i.e. without using 'ebuild') it succeeds.

 What's going on here?

 Many thanks for a hint,
 Helmut

Hi Helmut

I believe this is a consequence of the sandboxing of ebuilds.

When I had the same problem with an ebuild trying to download many  
things from

the Maven repository, I added the following lines inside the ebuild:
# To enable Maven access to  
_h_t_t_p_s_:_/_/_r_e_p_o_._m_a_v_e_n_._a_p_a_c_h_e_._o_r_g_/_m_a_v_e_n_2

RESTRICT="network-sandbox"

It is described (shortly) in "man 5 ebuild"
This is forbidden in the Portage tree, but is allowed in your own  
overlay.


Best regards
Micka l Bucas



Many, many thanks Micka. I'd never thought of that.

Stay healthy,
Helmut




Re: [gentoo-user] strange ebuild problem

2020-11-20 Thread Mickaël Bucas
Le ven. 20 nov. 2020 à 16:44, Helmut Jarausch  a écrit :

> Hi,
> I have an ebuild containing
>
> inherit git-r3
>
> and
>
> src_compile() {
>
> ./build_all.sh
> }
>
> The script build_all.sh contains
>
> [ -d csources ] || git clone --depth 1
> https://github.com/nim-lang/csources.git
>
>
> When I try to build I get the strange error
> fatal: unable to access 'https://github.com/nim-lang/csources.git/':
> Could not resolve host: github.com
>
> But when I exec
> git clone --depth 1 https://github.com/nim-lang/csources.git
> in an xterm (i.e. without using 'ebuild') it succeeds.
>
> What's going on here?
>
> Many thanks for a hint,
> Helmut
>

Hi Helmut

I believe this is a consequence of the sandboxing of ebuilds.

When I had the same problem with an ebuild trying to download many things
from the Maven repository, I added the following lines inside the ebuild:
# To enable Maven access to https://repo.maven.apache.org/maven2
RESTRICT="network-sandbox"

It is described (shortly) in "man 5 ebuild"
This is forbidden in the Portage tree, but is allowed in your own overlay.

Best regards
Mickaël Bucas


[gentoo-user] strange ebuild problem

2020-11-20 Thread Helmut Jarausch

Hi,
I have an ebuild containing

inherit git-r3

and

src_compile() {

./build_all.sh
}

The script build_all.sh contains

[ -d csources ] || git clone --depth 1  
https://github.com/nim-lang/csources.git



When I try to build I get the strange error
fatal: unable to access 'https://github.com/nim-lang/csources.git/':  
Could not resolve host: github.com


But when I exec
git clone --depth 1 https://github.com/nim-lang/csources.git
in an xterm (i.e. without using 'ebuild') it succeeds.

What's going on here?

Many thanks for a hint,
Helmut