Re: [GRASS-user] Grass on MacOS (Ken Mankoff)

2018-01-15 Thread Michael Barton
Eric,

I wrote you on this but apparently it never was sent.

I tested your new app and it works like a charm. Opens with a double click and 
no problems. There are a couple extra shell scripts in ../Contents/MacOS/ that 
don't seem to be called by anything. Or am I just not seeing it? I will try 
inserting the new start up scripts into my own build tomorrow and see if it 
works the same.

How did you get the size down so much? I got it close last week by removing the 
pkg folder, env folder, doc folder, and then some selective items in bin. But 
I'm hoping your have a more systematic list of what can be removed.

This looks like exactly what is needed. Hopefully I can package it as you did 
and get it posted to test by the end of the week.

Thanks again
Michael

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















On Jan 14, 2018, at 3:23 PM, Eric Hutton 
> wrote:

Hi Michael

Thanks for your earlier clarification about how grass runs (I was missing a key 
point!). I think I have a solution now. Basically, the 
Grass72.app/Contents/MacOS/Grass script now opens up a terminal and, within 
that terminal, executes the startup script (the one we were using before, which 
is now Grass.sh).

You can see what I mean here:


https://github.com/mcflugen/grass-conda-build/tree/master/osx/Grass72.app/Contents/MacOS

I'll start to make a new app but the one I have seems to be working now (I've 
been using the NC data you sent me).

Eric

On Sun, Jan 14, 2018 at 1:31 PM Michael Barton 
> wrote:
Ken & Co.

You might find this of interest.

I've been working off and on for the past several month to find a new way to 
compile and distribute GRASS for Mac with all dependencies created outside the 
Mac system folders and bundled with it. The goal is to eliminate the SIP 
problem and the potential for conflicts with different versions of 
dependencies/frameworks/python/wxpython.

With a lot of help from colleague Eric Hutton (Community Surface Dynamics 
Modeling System), we are very close to having a reproducible and distributable 
build of GRASS under Anaconda. Our goal is to compile GRASS in an Anaconda 
environment so that it is distributable in two related ways: as a standard Mac 
package and app, and as an Anaconda package (installed via the command 'conda 
install [grass version]'). This will be a fully 64 bit GRASS version using 
wxPython 3 for the GUI.

Due to the many other responsibilities and pulls on our time, Eric and I have 
only been able to work sporadically. But as of this week we are down to one 
main baffling and annoying problem left to solve. Then we can do some clean up 
and begin making this build available to test. With that in mind, if anyone has 
experience in creating Mac *.app and *.pkg environments for distribution, 
please get in touch. You might be able to help us get over the last hurdle.

Cheers
Michael

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 
480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  
480-727-0709 (CSDC)
www: 
http://www.public.asu.edu/~cmbarton,
 
http://csdc.asu.edu















On Jan 14, 2018, at 1:00 PM, 
grass-user-requ...@lists.osgeo.org 
wrote:

From: Ken Mankoff >
Subject: Re: [GRASS-user] Grass on MacOS
Date: January 14, 2018 at 7:46:27 AM MST
To: Adam Dershowitz 

Re: [GRASS-user] Unable to install add-ons on fedora23

2018-01-15 Thread Markus Neteler
On Mon, Jan 15, 2018 at 9:28 PM, Markus Metz
 wrote:
...
> I have added a working grass.spec file to trunk r72082. It works fine with
> Fedora 28 and GRASS 7.4.0 (yes, none of the two is already released).
> Installing addons with g.extension as standard user works now, granted that
> grass-devel is installed.
>
> The main change is that GRASS is installed into one single folder, the same
> as before, but now all required components are actually in this single
> folder and not moved away to different locations. Man pages and docs are in
> the system's standard locations and available without starting GRASS.
>
> Further on, the demolocation is now included in the standard installation,
> and the gui is a separate package.

Nice!

> @MarkusN: can you test the new spec file (trunk/rpm/grass.spec) with your
> copr system? Thanks!

Sure:
https://copr.fedorainfracloud.org/coprs/neteler/grass74/
Please test!

markusN


PS: I had to fix this:

@@ -158,7 +158,7 @@
 --with-netcdf=%{_bindir}/nc-config \
 %endif
 --with-mysql-includes=%{_includedir}/mysql \
---with-mysql-libs=%{_libdir} \
+--with-mysql-libs=%{_libdir}/mysql \
 %if (0%{?rhel} > 6 || 0%{?fedora})
 --with-postgres-includes=%{_includedir}/pgsql \
 %else

otherwise it would not find mysql...
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] r.stream.segment

2018-01-15 Thread Shane Carey
Hi All,

I am using the r.stream.segment module and I was wondering could anyone
tell me what is the difference between azimuth and direction in the
attribute table information!

Thanks


-- 
Le gach dea ghui,
*Shane Carey*
*GIS and Data Solutions Consultant*
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Unable to install add-ons on fedora23

2018-01-15 Thread Markus Metz
On Fri, Dec 15, 2017 at 2:37 PM, Markus Neteler  wrote:
>
> On Fri, Dec 15, 2017 at 10:04 AM, Laura Poggio 
wrote:
> > Dear all,
> > I am having the same problem also with the F27 package from
> > coprs/neteler/grass72/. But I am not sure it is the same problem or I am
> > doing something wrong.
> > I removed grass from fedora repository, enabled the copr repository and
then
> > installed grass again from the new repository.
>
> There is still a bug in the SPEC file defining how the RPM package is
> generated. It is missing to add the include/ directory into the
> grass-devel package.  See also
> https://bugzilla.redhat.com/show_bug.cgi?id=1489158
>
> I would need some support to get the SPEC file right.
> Anyone?

I have added a working grass.spec file to trunk r72082. It works fine with
Fedora 28 and GRASS 7.4.0 (yes, none of the two is already released).
Installing addons with g.extension as standard user works now, granted that
grass-devel is installed.

The main change is that GRASS is installed into one single folder, the same
as before, but now all required components are actually in this single
folder and not moved away to different locations. Man pages and docs are in
the system's standard locations and available without starting GRASS.

Further on, the demolocation is now included in the standard installation,
and the gui is a separate package.

@MarkusN: can you test the new spec file (trunk/rpm/grass.spec) with your
copr system? Thanks!

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