Re: [GRASS-dev] Docker image based on Alpine Linux with GRASS GIS 7.7.git and wxGUI

2019-08-01 Thread Markus Neteler
On Thu, Aug 1, 2019 at 9:23 PM Vaclav Petras  wrote:
> On Thu, Aug 1, 2019 at 1:22 PM Markus Neteler  wrote:
>>
>> Hi,
>>
>> On Thu, Aug 1, 2019 at 1:59 AM Vaclav Petras  wrote:
>> > On Wed, Jul 31, 2019 at 11:41 AM Markus Neteler  wrote:
>> >>
>> >> In fact, $GISBASE/gui/wxpython/wxgui.py isn't present in the docker image.
>> >>
>> >> Do you have an idea what to look for (say, what does it (not) generate)?
>> >
>> >
>> > Hi Markus, wxgui.py is a file copied from source to distribution by make, 
>> > so the question is what compilation output says.
>>
>> https://cloud.docker.com/repository/registry-1.docker.io/neteler/docker-alpine-grass-gis-gui/builds/c8c39f18-33cb-44df-a669-23f8cdc5682f
>
>
> The link does not work for me. Do I have to create an account?

I guess it is only visible to me.
I have downloaded it - you can get it now from here:

https://data.neteler.org/tmp/alpine_grass_wxgui_dockerhub.log.gz

>> /usr/bin/install -c -m 644 wxgui.py
>> /src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py
>>
>
> This says /src/grass_build/dist.x86_64-pc-linux-gnu/. I assume it is from 
> "make" but the GRASS GIS there is running from /usr/local/grass77, so I 
> assume there is also the "make install" step?

Yes:
https://github.com/OSGeo/grass/blob/master/docker/Dockerfile_alpine_wxgui#L198

> I did:
>
> $ docker run -i -t --rm -v $(pwd):/tmp -v /tmp/.X11-unix:/tmp/.X11-unix -e 
> uid=$(id -u) -e gid=$(id -g) -e DISPLAY=unix$DISPLAY --name grass77 
> neteler/docker-alpine-grass-gis-gui grass77 --tmp-location XY --exec bash
> ...
> $ ls /src
> $ echo $GISBASE
> /usr/local/grass77
> $ ls $GISBASE/gui
> ls: /usr/local/grass77/gui: No such file or directory

Exactly. Apparently there is a condition somewhere in the wxGUI Makefiles?

Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Docker image based on Alpine Linux with GRASS GIS 7.7.git and wxGUI

2019-08-01 Thread Vaclav Petras
On Thu, Aug 1, 2019 at 1:22 PM Markus Neteler  wrote:

> Hi,
>
> On Thu, Aug 1, 2019 at 1:59 AM Vaclav Petras  wrote:
> > On Wed, Jul 31, 2019 at 11:41 AM Markus Neteler 
> wrote:
> >>
> >> In fact, $GISBASE/gui/wxpython/wxgui.py isn't present in the docker
> image.
> >>
> >> Do you have an idea what to look for (say, what does it (not) generate)?
> >
> >
> > Hi Markus, wxgui.py is a file copied from source to distribution by
> make, so the question is what compilation output says.
>
>
> https://cloud.docker.com/repository/registry-1.docker.io/neteler/docker-alpine-grass-gis-gui/builds/c8c39f18-33cb-44df-a669-23f8cdc5682f


The link does not work for me. Do I have to create an account?


> /usr/bin/install -c -m 644 wxgui.py
> /src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py
>
>
This says /src/grass_build/dist.x86_64-pc-linux-gnu/. I assume it is from
"make" but the GRASS GIS there is running from /usr/local/grass77, so I
assume there is also the "make install" step?

I did:

$ docker run -i -t --rm -v $(pwd):/tmp -v /tmp/.X11-unix:/tmp/.X11-unix -e
uid=$(id -u) -e gid=$(id -g) -e DISPLAY=unix$DISPLAY --name grass77
neteler/docker-alpine-grass-gis-gui grass77 --tmp-location XY --exec bash
...
$ ls /src
$ echo $GISBASE
/usr/local/grass77
$ ls $GISBASE/gui
ls: /usr/local/grass77/gui: No such file or directory
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] g.extension: still fetching from SVN?

2019-08-01 Thread Markus Neteler
Hi Andy,

On Thu, Aug 1, 2019 at 6:43 PM Andy Wickert  wrote:
>
> Hi all,
>
> I have just updated to GRASS 7.6.1 on the Ubuntu grass-devel ppa. It now find 
> the set of relatively new add-ons that I have built (r.flowfill; r.richdem.*) 
> with the "-l" flag, but when I try to install them, I receive, for example, 
> "ERROR: Extension  not found". Is this simply that I must compile 
> the most recent version from source, or is there some other problem?

I have merged it only now (before it was an open pull request).

Now the binaries need to be rebuild - or you compile yourself - or you
simply update the g.extension.py which does not need to be compiled
but just put into the right place.

Best
Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Docker image based on Alpine Linux with GRASS GIS 7.7.git and wxGUI

2019-08-01 Thread Markus Neteler
Hi,

On Thu, Aug 1, 2019 at 1:59 AM Vaclav Petras  wrote:
> On Wed, Jul 31, 2019 at 11:41 AM Markus Neteler  wrote:
>>
>> In fact, $GISBASE/gui/wxpython/wxgui.py isn't present in the docker image.
>>
>> Do you have an idea what to look for (say, what does it (not) generate)?
>
>
> Hi Markus, wxgui.py is a file copied from source to distribution by make, so 
> the question is what compilation output says.

https://cloud.docker.com/repository/registry-1.docker.io/neteler/docker-alpine-grass-gis-gui/builds/c8c39f18-33cb-44df-a669-23f8cdc5682f

...
/usr/bin/install -c -m 644 image2target/ii2t_toolbars.py
/src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/image2target/ii2t_toolbars.py
/usr/bin/install -c -m 644 gis_set.py
/src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/gis_set.py
/usr/bin/install -c -m 644 gis_set_error.py
/src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/gis_set_error.py
/usr/bin/install -c -m 644 wxgui.py
/src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py
/usr/bin/install -c -m 644 README
/src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/README
python3 -t -m py_compile
/src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/icons/__init__.py
python3 -t -m py_compile
/src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/icons/icon.py
python3 -t -m py_compile
/src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/icons/grass_icons.py
...

There is no error at all...
Anything else I can look for?

thanks
Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] g.extension: still fetching from SVN?

2019-08-01 Thread Andy Wickert
Hi all,

I have just updated to GRASS 7.6.1 on the Ubuntu grass-devel ppa. It now
find the set of relatively new add-ons that I have built (r.flowfill;
r.richdem.*) with the "-l" flag, but when I try to install them, I receive,
for example, "ERROR: Extension  not found". Is this simply that
I must compile the most recent version from source, or is there some other
problem?

Thanks!

Andy

On Tue, Jul 16, 2019 at 3:41 AM Martin Landa  wrote:

> Hi,
>
> Ășt 16. 7. 2019 v 9:38 odesĂ­latel Martin Landa 
> napsal:
> > > Exactly. But first the g.extension change needs to be backported which
> has not been done yet AFAIK.
> > > On phone I cannot do that ;)
> >
> > I can take a look. Ma
>
> done. Ma
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev