Re: [GNC] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-26 Thread David Cousens
Colin

That is my take on the FHS defnitions as well. Distro packagers should be
installing third part software into /usr as frank pointed out.

David



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-26 Thread David Cousens
Frank,

This is obviously where the process of standardization becomes a bit murky. 

Now 4.1 of the FHS(v3.0) wrt /usr states

4.1. Purpose
/usr is the second major section of the filesystem. /usr is shareable,
read-only data. That means that /usr should be shareable between various
FHS-compliant hosts and must not be written to. Any information that is
host-specific or varies with time is stored elsewhere.

Large software packages must not use a direct subdirectory under the /usr
hierarchy.

and 4.9.1 wrt /usr/local

4.9.1. Purpose
The /usr/local hierarchy is for use by the system administrator when
installing software locally. It needs to be safe from being overwritten when
the system software is updated. It may be used for programs and data that
are shareable amongst a group of hosts, but not found in /usr.

Locally installed software must be placed within /usr/local rather than /usr
unless it is being installed to replace or upgrade software in /usr.


On my computers I am by default the system administrator and I install
programs like GnuCash on my system (in my case I build them but i do install
other packages from the repositories of third party software  made available
by the a subset of the maintainers of my distro who package software for use
on my system - far too slowly for my personal liking). If I look at what is
in /usr it is packages like apt, blueman, cinnamon (desktop), cli, ufw, gufw
and various installation, update, backup tools for the OS which are largely
to do with inter-operation of my computer with other external computers and
my LAN .  I also have some packages like calibre, ebook, jupyter (some parts
of) , R, scilab, sagemath
which are packages I optionally install usually from my distributions
software repository although that is not the case for R, scilab, sagemath. I
would argue the latter should really be installed in /usr/local.

It has been so long since I installed the GnuCash version from the LM
software repository (2.6.19 and a flatpak version 3.7) , I no longer
remember where it does install whether to /usr or /usr/local.  

Just did that and 2.6.19 installs to  /usr (/usr/bin/gnucash,
/usr/lib/x86_64-linux-gnu/gnucash, /usr/include/gnucash, /usr/share/gnucash,
/usr/share/man/man1/gnucash.1.gz) and I can run either 2.6.19 with
/usr/bin/gnucash  or my own localbuild of  3.7 with /usr/local/bin/gnucash
separately without any obvious problems (I didn't open any files as I have
been using V3.0-3.7 since they came out and i don't want to recreate the
user config files but the program (2.6.19) went as far as the file open
dialog). 

Interestingly after I remove it using the software manager 
/usr/include/gnucash and /usr/share/gnucash (same contents as
/usr/local/share/gnucash) remain on my system (they weren't there before I
installed form the repository) so the distribution packagers are not fully
removing GnuCash from the system. /etc/gnucash is not removed by the
software manager uninstall but it dates from my installation from my own
build and not the installation from the software manager. Removing these two
directories manually did not interfere with running my local build installed
in /usr/local. I will report that as a LM bug

My own local build installs to the following locations: /etc/gnucash
/usr/local/bin/gnucash /usr/local/etc/gnucash /usr/local/lib/gnucash
/usr/local/share/gnucash although whereis is not a reliable method of
locating all files ( only binaries and source) installed on a system. locate
does a better job but then too much information. I piped that to a file
(11Mb) which I will check out to see if there is any other strange stuff
lurking. The flathub version seems to install stuff to locations under /var
as there were a lot of gnucash/flatpak  related files there.

I also tried installing from the flathub but that failed to install. It
might require me to update the flathub installation but I am not going to
pursue that. I am not particularly a fan. It seems to leave a lot of empty
cache directories scattered around /var which can presumably be deleted
without consequence. I will uninstall flathub as well as the flathub version
of gnucash  and see what is left.

Just the gnucash related files found in mu ~/.local/share/Trash was an
education. I should recover quite a bit of disk space justclearing that out.
When LM goes through a major version upgrade I usually do a total fresh
install including all user software to clear all the rubbish out.

Cheers

David



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do 

Re: [GNC] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-26 Thread chris graves
Thanks for the confirmation!

> On Oct 26, 2019, at 2:24 PM, Colin Law  wrote:
> 
> "The /usr/local hierarchy is for use by the system administrator when
> installing software locally"  means software that is *not* installed
> using the normal packaging system.  The packaging system will not
> install to that location so it is safe to put things like self-built
> gnucash there.
> 
> Colin
> 
> On Sat, 26 Oct 2019 at 22:16, chris graves  wrote:
>> 
>> I guess I'm confused, when I read the FHS, I see:
>> 
>> 4.9.1. Purpose
>> The /usr/local hierarchy is for use by the system administrator when 
>> installing software locally. It needs to be safe from being overwritten when 
>> the system software is updated. It may be used for programs and data that 
>> are shareable amongst a group of hosts, but not found in /usr. Locally 
>> installed software must be placed within /usr/local rather than /usr unless 
>> it is being installed to replace or upgrade software in /usr.
>> 
>>> On Oct 26, 2019, at 11:03 AM, Frank H. Ellenberger 
>>>  wrote:
>>> 
>>> Hi David,
>>> 
>>> Am Sa., 26. Okt. 2019 um 15:58 Uhr schrieb David Cousens
>>> :
>>> :
>>> (only conflict is usually if you
 have installed an earlier version from the distribution software repository
 which installs to /usr/local
>>> :
>>> 
>>> If that is right, you should file a bug report against  your distribution.
>>> /usr/local is a forbidden place for them (FHS). They should install into 
>>> /usr/.
>>> 
 David Cousens
>>> 
>>> ~Frank
>>> ___
>>> gnucash-user mailing list
>>> gnucash-user@gnucash.org
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> If you are using Nabble or Gmane, please see 
>>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>> -
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>> 
>> ___
>> gnucash-user mailing list
>> gnucash-user@gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see 
>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-26 Thread Colin Law
"The /usr/local hierarchy is for use by the system administrator when
installing software locally"  means software that is *not* installed
using the normal packaging system.  The packaging system will not
install to that location so it is safe to put things like self-built
gnucash there.

Colin

On Sat, 26 Oct 2019 at 22:16, chris graves  wrote:
>
> I guess I'm confused, when I read the FHS, I see:
>
> 4.9.1. Purpose
> The /usr/local hierarchy is for use by the system administrator when 
> installing software locally. It needs to be safe from being overwritten when 
> the system software is updated. It may be used for programs and data that are 
> shareable amongst a group of hosts, but not found in /usr. Locally installed 
> software must be placed within /usr/local rather than /usr unless it is being 
> installed to replace or upgrade software in /usr.
>
> > On Oct 26, 2019, at 11:03 AM, Frank H. Ellenberger 
> >  wrote:
> >
> > Hi David,
> >
> > Am Sa., 26. Okt. 2019 um 15:58 Uhr schrieb David Cousens
> > :
> > :
> > (only conflict is usually if you
> >> have installed an earlier version from the distribution software repository
> >> which installs to /usr/local
> > :
> >
> > If that is right, you should file a bug report against  your distribution.
> > /usr/local is a forbidden place for them (FHS). They should install into 
> > /usr/.
> >
> >> David Cousens
> >
> > ~Frank
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > If you are using Nabble or Gmane, please see 
> > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> > -
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
>
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-26 Thread chris graves
I guess I'm confused, when I read the FHS, I see: 

4.9.1. Purpose
The /usr/local hierarchy is for use by the system administrator when installing 
software locally. It needs to be safe from being overwritten when the system 
software is updated. It may be used for programs and data that are shareable 
amongst a group of hosts, but not found in /usr. Locally installed software 
must be placed within /usr/local rather than /usr unless it is being installed 
to replace or upgrade software in /usr.

> On Oct 26, 2019, at 11:03 AM, Frank H. Ellenberger 
>  wrote:
> 
> Hi David,
> 
> Am Sa., 26. Okt. 2019 um 15:58 Uhr schrieb David Cousens
> :
> :
> (only conflict is usually if you
>> have installed an earlier version from the distribution software repository
>> which installs to /usr/local
> :
> 
> If that is right, you should file a bug report against  your distribution.
> /usr/local is a forbidden place for them (FHS). They should install into 
> /usr/.
> 
>> David Cousens
> 
> ~Frank
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-26 Thread Frank H. Ellenberger
Hi David,

Am Sa., 26. Okt. 2019 um 15:58 Uhr schrieb David Cousens
:
:
(only conflict is usually if you
> have installed an earlier version from the distribution software repository
> which installs to /usr/local
:

If that is right, you should file a bug report against  your distribution.
/usr/local is a forbidden place for them (FHS). They should install into /usr/.

> David Cousens

~Frank
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-26 Thread David Cousens
Building v3.0-3.7 directly on either Linux Mint 17,18,19 or Ubuntu
18.04,18.10 etc isn't all that difficult. The  main difficulty is getting
the correct dependencies and development headers for them installed and
setup initially and the build environment setup. The list and notes on the
wiki are as complete as I could make it when I started building on Linux
Mint 18 and 19. I have been building and installing successfully to
/usr/local despite John Ralls reservations (only conflict is usually if you
have installed an earlier version from the distribution software repository
which installs to /usr/local and it needs to be removed and then not
reinstalled over your own build and installation) for multiple users since
Linux Mint 16 initially with autotools and then cmake since the
configuration shifted to using it.


David Cousens





-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Backporting Gnucash 3.7 to Ubuntu "Bionic" (or Mint, etc.)

2019-10-26 Thread Tommy Trussell
On Fri, Oct 25, 2019 at 11:33 AM Stephen M. Butler  wrote:

> Since others appear able to provide the packages for Bionic, I'll handle
> whichever platform I'm native on.
>

I haven't seen any activity on the backport request. AND I don't see other
apps in bionic-backports, either... as far as I can see there are almost
all development tools and libraries. SO maybe I got my hopes up too much;
Instead of backports, the only ways for folks to get 3.7 on Bionic, Mint
etc. will be flatpak, a PPA or self-build / self-backport.

I'll try to get my procedure up on the GnuCash wiki sometime in the next
few days. Thanks for your corrections.
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.