[GNC-dev] Debian files
Stephen M. Butler
kg7je at arrl.net
Wed Jan 23 18:15:23 EST 2019
On 1/23/19 12:55 PM, Colin Law wrote:
> Steve, are you sure it is worth all this effort? If the flatpak
> nightly and stable builds become available then they will be perfectly
> acceptable for Ubuntu.
>
> Colin
Excellent question! Probably not. But then, I have some success this
afternoon (US West Coast).
I did the following and it worked for me. I've uploaded the three deb
files (along with the ddeb and changes, etc) to:
https://drive.google.com/open?id=1fV_fURy6c77e7gf6S41lTacM7dFyy7VD
I still need to figure out how to package this for Launchpad -- but I
think I just crossed over the biggest hurdle.
Besides, how else am I supposed to learn this stuff? <<grin>>
Items I see still need to be done:
1. Script the steps I made so I can automate it and avoid typing mistakes.
2. Push to launchpad so they can rebuild it.
Probably not worth it -- but it feels good to have accomplished this so far!
steve at SteveLaptop:~/Projects/GnuCash$ /*ls -Fal *.deb*/
-rw-r--r-- 1 steve steve 3901212 Jan 23 14:29 gnucash_3.4_amd64.deb
-rw-r--r-- 1 steve steve 5027024 Jan 23 14:29 gnucash-common_3.4_all.deb
-rw-r--r-- 1 steve steve 268880 Jan 23 14:29 python3-gnucash_3.4_amd64.deb
steve at SteveLaptop:~/Projects/GnuCash$ */sudo apt install ./*.deb/*
[sudo] password for steve:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'gnucash' instead of './gnucash_3.4_amd64.deb'
Note, selecting 'gnucash-common' instead of './gnucash-common_3.4_all.deb'
Note, selecting 'python3-gnucash' instead of
'./python3-gnucash_3.4_amd64.deb'
The following additional packages will be installed:
gnucash-docs libclass-inspector-perl libclass-singleton-perl
libcommon-sense-perl libdate-manip-perl libdatetime-locale-perl
libdatetime-perl libdatetime-timezone-perl libfile-sharedir-perl
libfinance-quote-perl libhtml-tableextract-perl libjs-jquery
libjson-perl libjson-xs-perl libtypes-serialiser-perl
Suggested packages:ls -Fal *.deb
libdbd-mysql libhtml-element-extended-perl
Recommended packages:
pythone3-gnucash
The following NEW packages will be installed:
gnucash gnucash-common gnucash-docs libclass-inspector-perl
libclass-singleton-perl libcommon-sense-perl libdate-manip-perl
libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl
libfile-sharedir-perl libfinance-quote-perl libhtml-tableextract-perl
libjs-jquery libjson-perl libjson-xs-perl libtypes-serialiser-perl
python3-gnucash
0 upgraded, 18 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/98.5 MB of archives.
After this operation, 227 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 /home/steve/Projects/GnuCash/gnucash-common_3.4_all.deb
gnucash-common all 1:3.4 [5,027 kB]
Get:2 /home/steve/Projects/GnuCash/gnucash_3.4_amd64.deb gnucash amd64
1:3.4 [3,901 kB]
Get:3 /home/steve/Projects/GnuCash/python3-gnucash_3.4_amd64.deb
python3-gnucash amd64 1:3.4 [269 kB]
Selecting previously unselected package libjs-jquery.
(Reading database ... 232220 files and directories currently installed.)
Preparing to unpack .../00-libjs-jquery_3.2.1-1_all.deb ...ls -Fal *.deb
Unpacking libjs-jquery (3.2.1-1) ...
Selecting previously unselected package gnucash-common.
Preparing to unpack .../01-gnucash-common_3.4_all.deb ...
Unpacking gnucash-common (1:3.4) ...
Selecting previously unselected package libhtml-tableextract-perl.
Preparing to unpack .../02-libhtml-tableextract-perl_2.15-1_all.deb ...
Unpacking libhtml-tableextract-perl (2.15-1) ...
Selecting previously unselected package libclass-inspector-perl.
Preparing to unpack .../03-libclass-inspector-perl_1.32-1_all.deb ...
Unpacking libclass-inspector-perl (1.32-1) ...
Selecting previously unselected package libfile-sharedir-perl.
Preparing to unpack .../04-libfile-sharedir-perl_1.104-1_all.deb ...
Unpacking libfile-sharedir-perl (1.104-1) ...
Selecting previously unselected package libdatetime-locale-perl.
Preparing to unpack .../05-libdatetime-locale-perl_1%3a1.17-1_all.deb
/sudo apt install ./*.deb/...
Unpacking libdatetime-locale-perl (1:1.17-1) ...
Selecting previously unselected package libclass-singleton-perl.
Preparing to unpack .../06-libclass-singleton-perl_1.5-1_all.deb ...
Unpacking libclass-singleton-perl (1.5-1) ...
Selecting previously unselected package libdatetime-timezone-perl.
Preparing to unpack
.../07-libdatetime-timezone-perl_1%3a2.18-1+2018d_all.deb ...
Unpacking libdatetime-timezone-perl (1:2.18-1+2018d) ...
Selecting previously unselected package libdatetime-perl.
Preparing to unpack .../08-libdatetime-perl_2%3a1.46-1_amd64.deb ...
Unpacking libdatetime-perl (2:1.46-1) ...
Selecting previously unselected package libjson-perl.
Preparing to unpack .../09-libjson-perl_2.97001-1_all.deb ...
Unpacking libjson-perl (2.97001-1) ...
Selecting previously unselected package libfinance-quote-perl.
Preparing to unpack .../10-libfinance-quote-perl_1.47-1_all.deb ...
Unpacking libfinance-quote-perl (1.47-1) ...
Selecting previously unselected package libdate-manip-perl.
Preparing to unpack .../11-libdate-manip-perl_6.60-1_all.deb ...
Unpacking libdate-manip-perl (6.60-1) ...
Selecting previously unselected package gnucash.
Preparing to unpack .../12-gnucash_3.4_amd64.deb ...
Unpacking gnucash (1:3.4) ...
Selecting previously unselected package libcommon-sense-perl.
Preparing to unpack .../13-libcommon-sense-perl_3.74-2build2_amd64.deb ...
Unpacking libcommon-sense-perl (3.74-2build2) ...
Selecting previously unselected package libtypes-serialiser-perl.
Preparing to unpack .../14-libtypes-serialiser-perl_1.0-1_all.deb ...
Unpacking libtypes-serialiser-perl (1.0-1) ...
Selecting previously unselected package libjson-xs-perl.
Preparing to unpack .../15-libjson-xs-perl_3.040-1_amd64.deb ...
Unpacking libjson-xs-perl (3.040-1) ...
Selecting previously unselected package python3-gnucash.
Preparing to unpack .../16-python3-gnucash_3.4_amd64.deb ...
Unpacking python3-gnucash (1:3.4) ...
Selecting previously unselected package gnucash-docs.
Preparing to unpack .../17-gnucash-docs_2.6.19-1_all.deb ...
Unpacking gnucash-docs (2.6.19-1) ...
Setting up libhtml-tableextract-perl (2.15-1) ...
Setting up libjs-jquery (3.2.1-1) ...
Setting up libcommon-sense-perl (3.74-2build2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libglib2.0-0:amd64 (2.56.3-0ubuntu0.18.04.1) ...
Setting up libtypes-serialiser-perl (1.0-1) ...
Setting up python3-gnucash (1:3.4) ...
Setting up libdate-manip-perl (6.60-1) ...
Setting up gnucash-common (1:3.4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Setting up libjson-perl (2.97001-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up gnucash-docs (2.6.19-1) ...
Setting up libclass-inspector-perl (1.32-1) ...
Setting up libclass-singleton-perl (1.5-1) ...
Setting up libdatetime-timezone-perl (1:2.18-1+2018d) ...
Setting up libjson-xs-perl (3.040-1) ...ls -Fal *.deb
Setting up libfile-sharedir-perl (1.104-1) ...
Setting up libdatetime-locale-perl (1:1.17-1) ...
Setting up libdatetime-perl (2:1.46-1) ...
Setting up libfinance-quote-perl (1.47-1) ...
Setting up gnucash (1:3.4) ...
V3.4 came up just fine.
>
> On Wed, 23 Jan 2019 at 17:27, Stephen M. Butler <kg7je at arrl.net> wrote:
>> On 1/22/19 8:08 PM, John Ralls wrote:
>>>> On Jan 22, 2019, at 7:01 PM, Stephen M. Butler <kg7je at arrl.net> wrote:
>>>>
>>>> Looking for someone more knowledgeable than I. Where did I go wrong?
>>>>
>>>> I uninstalled my locally built gnucash (sudo make uninstall) and cleaned
>>>> the system (sudo apt autoremove) then started with these debian files:
>>>>
>>> [snip]
>>>
>>>> --> whereis gnucash
>>>> gnucash: /etc/gnucash /usr/local/etc/gnucash /usr/local/lib/gnucash
>>>>
>>>> --> gnucash
>>>>
>>>> Command 'gnucash' not found, but can be installed with:
>>>>
>>>> sudo apt install gnucash
>>>>
>>>> --> sudo apt install gnucash
>>>> Reading package lists... Done
>>>> Building dependency tree
>>>> Reading state information... Done
>>>> gnucash is already the newest version (1:3.4).
>>>> 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
>>>>
>>>>
>>>> SMB: At this point I decided to remove the packages and see if my local
>>>> build would install and run
>>> [snip]
>>>
>>>> SMB: And gnucash works. So why didn't installing the debian package work?
>>> It appears from the dump that it didn’t complete installing because the Finance::Quote dependencies (which should be optional) and the jqplot dependency (needed for making chart reports, not optional) weren’t installed, but apt marked it as installed anyway. If you really care you could uninstall and reinstall the “official” gnucash.deb and see if it works. If it doesn’t then it would seem that something’s messed up and you should confer with Dimitry to figure out what it is.
>>>
>>> Regards,
>>> John Ralls
>>>
>>>
>> Removed my local build and installed the repository version (2.6.19 is
>> what it found). That worked.
>>
>> Dimitry isn't interested in helping.
>>
>>
>>
>> --
>> Stephen M Butler, PMP, PSM
>> Stephen.M.Butler51 at gmail.com
>> kg7je at arrl.net
>> 253-350-0166
>> -------------------------------------------
>> GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>>
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--
Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
253-350-0166
-------------------------------------------
GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
More information about the gnucash-devel
mailing list