[GNC] Upgrading GC under Ubuntu

Colin Law clanlaw at gmail.com
Wed Jul 4 04:57:59 EDT 2018


Eureka moment - it is obvious if I just look in the right place.  The
full cmake command I have is

file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons"
TYPE DIRECTORY FILES
"/home/colinl/apps/gnucash-3.2/data/pixmaps/hicolor" REGEX ".*/apps.*"
EXCLUDE)

The REGEX is given the full path, which includes
/home/colinl/apps/gnucash-3.2/data/pixmaps/hicolor.  I have put my
source directory under a folder called apps so the regex matches
everything!  Changing the regex to

REGEX "hicolor/.*/apps.*" EXCLUDE

works perfectly.

Colin


On 2 July 2018 at 20:34, Colin Law <clanlaw at gmail.com> wrote:
> I thought you might have hit on something there (the shell) as I have been
> using ssh to connect in to run it, but I have tried locally and it is the
> same.  I have added some cmake message output and can see that the command
> to install to /usr/local/share/gnucash/icons does nothing unless I hack the
> regex.  The one to output to /usr/local/share/icons is working correctly.  I
> am using bash too.
>
> It doesn't make sense.   I am at a loss to know what to try next.
>
> Colin
>
> On 2 July 2018 at 17:53, Stephen M. Butler <kg7je at arrl.net> wrote:
>>
>> On 07/02/2018 07:31 AM, Colin Law wrote:
>> > On 29 June 2018 at 20:50, Stephen M. Butler <kg7je at arrl.net
>> > <mailto:kg7je at arrl.net>> wrote:
>> >
>> >     ...
>> >     Having just done a download and compile to my Ubuntu 18.04, let me
>> >     share
>> >     with you what I did.  Sometimes reading the web sites leaves one (at
>> >     least me) scratching their head vigorously -- in my case not a
>> >     good idea
>> >     with the hair I have left!
>> >
>> >
>> > Hi Stephen
>> >
>> > Following your 18.04 build have you got all the icons available?
>> > Assuming you installed to /usr/local then you should see
>> > $ ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions
>> > total 72
>> > -rw-r--r-- 1 root root 540 Apr 15 00:51 gnc-account-delete.png
>> > -rw-r--r-- 1 root root 416 Apr 15 00:51 gnc-account-edit.png
>> > -rw-r--r-- 1 root root 460 Apr 15 00:51 gnc-account-new.png
>> > -rw-r--r-- 1 root root 540 Apr 15 00:51 gnc-account-open.png
>> > -rw-r--r-- 1 root root 334 Apr 15 00:51 gnc-account.png
>> > ....
>> >
>> > If they are there could you help me to debug an install issue please?
>> > Remove or rename /usr/local/share/gnucash/icons and rerun
>> > sudo make install
>> > Then check to see if the icons have been restored?  When I try it on
>> > 18.04 I am not getting the icons and have to hack one of the cmake
>> > files to get it to work, but for others it works ok on Ubuntu 16.04.
>> >
>> > Thanks
>> >
>> > Colin
>> >
>>
>> I have:
>> ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions
>> total 72
>> -rw-r--r-- 1 root root 540 Apr 14 16:51 gnc-account-delete.png
>> -rw-r--r-- 1 root root 416 Apr 14 16:51 gnc-account-edit.png
>> -rw-r--r-- 1 root root 460 Apr 14 16:51 gnc-account-new.png
>> -rw-r--r-- 1 root root 540 Apr 14 16:51 gnc-account-open.png
>> -rw-r--r-- 1 root root 334 Apr 14 16:51 gnc-account.png
>> -rw-r--r-- 1 root root 417 Apr 14 16:51 gnc-account-report.png
>> -rw-r--r-- 1 root root 549 Apr 14 16:51 gnc-gnome-pdf.png
>> -rw-r--r-- 1 root root 824 Apr 14 16:51 gnc-invoice-duplicate.png
>> -rw-r--r-- 1 root root 711 Apr 14 16:51 gnc-invoice-edit.png
>> -rw-r--r-- 1 root root 542 Apr 14 16:51 gnc-invoice-new.png
>> -rw-r--r-- 1 root root 767 Apr 14 16:51 gnc-invoice-pay.png
>> -rw-r--r-- 1 root root 546 Apr 14 16:51 gnc-invoice.png
>> -rw-r--r-- 1 root root 658 Apr 14 16:51 gnc-invoice-post.png
>> -rw-r--r-- 1 root root 682 Apr 14 16:51 gnc-invoice-unpost.png
>> -rw-r--r-- 1 root root 723 Apr 14 16:51 gnc-jumpto.png
>> -rw-r--r-- 1 root root 616 Apr 14 16:51 gnc-split-trans.png
>> -rw-r--r-- 1 root root 789 Apr 14 16:51 gnc-transfer.png
>> -rw-r--r-- 1 root root 714 Apr 14 16:51 gnc-sx-new.png
>> -rw-r--r-- 1 root root 789 Apr 14 16:51 gnc-transfer.png
>>
>> I then did:
>> cd /usr/local/share/gnucash
>> sudo mv icons smbhold
>> cd ~/Projects/GnuCash/mybuild
>> sudo make install
>> << snip a long list>>
>> -- Up-to-date: /usr/local/share/gnucash/pixmaps/gnucash_splash.png
>> -- Installing: /usr/local/share/gnucash/icons/hicolor
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/scalable
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/16x16
>> steve at stevelaptop:/usr/local/share/gnucash
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/16x16/actions
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-edit.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-post.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-gnome-pdf.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-edit.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-pay.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-new.png
>> -- Installing:
>>
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-report.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-new.png
>> -- Installing:
>>
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-duplicate.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-sx-new.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-jumpto.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-open.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-split-trans.png
>> -- Installing:
>>
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-invoice-unpost.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-transfer.png
>> -- Installing:
>>
>> /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-delete.png
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/24x24
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/24x24/actions
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-invoice-edit.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-invoice-post.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-gnome-pdf.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-account-edit.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-invoice-pay.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-account-new.png
>> -- Installing:
>>
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-account-report.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-invoice-new.png
>> -- Installing:
>>
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-invoice-duplicate.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-sx-new.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-jumpto.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-account-open.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-invoice.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-split-trans.png
>> -- Installing:
>>
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-invoice-unpost.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-account.png
>> -- Installing:
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-transfer.png
>> -- Installing:
>>
>> /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-account-delete.png
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/256x256
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/22x22
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/96x96
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/64x64
>> steve at stevelaptop:/usr/local/share/gnucash
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/128x128
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/32x32
>> -- Installing: /usr/local/share/gnucash/icons/hicolor/48x48
>> -- Up-to-date: /usr/local/share/icons/hicolor
>> <<snip another long list>>
>>
>> cd /usr/local/share/gnucash/icons/hicolor/16x16/actions
>> ls -l
>> total 72
>> -rw-r--r-- 1 root root 540 Apr 14 16:51 gnc-account-delete.png
>> -rw-r--r-- 1 root root 416 Apr 14 16:51 gnc-account-edit.png
>> -rw-r--r-- 1 root root 460 Apr 14 16:51 gnc-account-new.png
>> -rw-r--r-- 1 root root 540 Apr 14 16:51 gnc-account-open.png
>> -rw-r--r-- 1 root root 334 Apr 14 16:51 gnc-account.png
>> -rw-r--r-- 1 root root 417 Apr 14 16:51 gnc-account-report.png
>> -rw-r--r-- 1 root root 549 Apr 14 16:51 gnc-gnome-pdf.png
>> steve at stevelaptop:/usr/local/share/gnucash
>> -rw-r--r-- 1 root root 824 Apr 14 16:51 gnc-invoice-duplicate.png
>> -rw-r--r-- 1 root root 711 Apr 14 16:51 gnc-invoice-edit.png
>> -rw-r--r-- 1 root root 542 Apr 14 16:51 gnc-invoice-new.png
>> -rw-r--r-- 1 root root 767 Apr 14 16:51 gnc-invoice-pay.png
>> steve at stevelaptop:/usr/local/share/gnucash
>> -rw-r--r-- 1 root root 546 Apr 14 16:51 gnc-invoice.png
>> steve at stevelaptop:/usr/local/share/gnucashps
>> -rw-r--r-- 1 root root 658 Apr 14 16:51 gnc-invoice-post.png
>> -rw-r--r-- 1 root root 682 Apr 14 16:51 gnc-invoice-unpost.png
>> -rw-r--r-- 1 root root 723 Apr 14 16:51 gnc-jumpto.png
>> -rw-r--r-- 1 root root 616 Apr 14 16:51 gnc-split-trans.png
>> -rw-r--r-- 1 root root 714 Apr 14 16:51 gnc-sx-new.png
>> -rw-r--r-- 1 root root 789 Apr 14 16:51 gnc-transfer.png
>>
>> Which shell are you running?  It looks like I am running under bash.
>>
>> ps
>>   PID TTY          TIME CMD
>>  4844 pts/0    00:00:00 bash
>>  5929 pts/0    00:00:00 ps
>>
>>
>> --
>> 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 547
>>
>> -rw-r--r-- 1 root root 789 Apr 14 16:51 gnc-transfer.png7 0385 81D8
>>
>


More information about the gnucash-user mailing list