Re: [GNC] Build on 18.04

2018-07-02 Thread Stephen M. Butler
On 07/02/2018 06:04 AM, Colin Law wrote: > Well, this line in build/data/pixmaps/cmake_install.cmake > > file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons" TYPE > DIRECTORY FILES "/home/me/apps/gnucash-3.2/data/pixmaps/hicolor" REGEX > ".*/apps.*" EXCLUDE) > > Is supposed to

Re: [GNC] Build on 18.04

2018-07-02 Thread Stephen M. Butler
On 07/02/2018 07:19 AM, Colin Law wrote: > OK, thanks. > > I am confident now that my cmake in 18.04 (3.10.2-1ubuntu2) does not like > the regex in > REGEX ".*/apps.*" EXCLUDE > which excludes everything. If I replace this with > REGEX ".*/apps/gnucash-icon.*" EXCLUDE > then it works correctly.

Re: [GNC] Build on 18.04

2018-07-02 Thread Colin Law
OK, thanks. I am confident now that my cmake in 18.04 (3.10.2-1ubuntu2) does not like the regex in REGEX ".*/apps.*" EXCLUDE which excludes everything. If I replace this with REGEX ".*/apps/gnucash-icon.*" EXCLUDE then it works correctly. All the files in apps are of the form gnucash-icon.* I

Re: [GNC] Build on 18.04

2018-07-02 Thread Roger Miskowicz
Yes, e.g. $ ls -l /usr/local/share/gnucash/icons/hicolor/16x16/actions total 72K -rw-r--r-- 1 root root 540 Jun 26 11:17 gnc-account-delete.png -rw-r--r-- 1 root root 416 Jun 26 11:17 gnc-account-edit.png -rw-r--r-- 1 root root 460 Jun 26 11:17 gnc-account-new.png -rw-r--r-- 1 root root 540 Jun 26

Re: [GNC] Build on 18.04

2018-07-02 Thread Colin Law
On 2 July 2018 at 14:26, Roger Miskowicz wrote: > I renamed the icon folder and executed sudo make install and the icon > folder was recreated. > With all the icons in it? Colin > > Roger > > > On Mon, Jul 2, 2018 at 9:05 AM Colin Law wrote: > >> Well, this line in

Re: [GNC] Build on 18.04

2018-07-02 Thread Roger Miskowicz
I renamed the icon folder and executed sudo make install and the icon folder was recreated. Roger On Mon, Jul 2, 2018 at 9:05 AM Colin Law wrote: > Well, this line in build/data/pixmaps/cmake_install.cmake > > file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons" > TYPE

Re: [GNC] Build on 18.04

2018-07-02 Thread Colin Law
Well, this line in build/data/pixmaps/cmake_install.cmake file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons" TYPE DIRECTORY FILES "/home/me/apps/gnucash-3.2/data/pixmaps/hicolor" REGEX ".*/apps.*" EXCLUDE) Is supposed to copy files from gnucash-3.2/data/pixmaps/hicolour/* to

Re: [GNC] Build on 18.04

2018-07-02 Thread Colin Law
@John I see in src data/pixmaps/CMakeLists.txt the list of icons. I don't know about the cmake system though. What is supposed to happen to those files? What can I do to work out where the problem is? Colin On 1 July 2018 at 18:58, John Ralls wrote: > data/pixmaps/CMakeLists.txt. There

Re: [GNC] Build on 18.04

2018-07-01 Thread Roger Miskowicz
Great point Stephen, I had forgotten that I had to remove all files from the build directory first. On Sun, Jul 1, 2018 at 6:36 PM Stephen M. Butler wrote: > On 07/01/2018 09:36 AM, Roger Miskowicz wrote: > > I have GC3.2 on two 16.04 linux systems and in one build I have > >

Re: [GNC] Build on 18.04

2018-07-01 Thread Stephen M. Butler
On 07/01/2018 10:33 AM, Colin Law wrote: > I have just rebuilt (on 18.04) using the exact same commands and my > manifest does not include the icons. Do you know what is supposed to tell > the system to install them? > > Colin Is it possible that it detected them in the install directory during

Re: [GNC] Build on 18.04

2018-07-01 Thread Stephen M. Butler
On 07/01/2018 09:36 AM, Roger Miskowicz wrote: > I have GC3.2 on two 16.04 linux systems and in one build I have > install_manifest.txt which includes the 'icons' directory and in the other > the install_manifest.txt does not exist (in this one the icons files were > installed months earlier so

Re: [GNC] Build on 18.04

2018-07-01 Thread Colin Law
I have found these lines in gnucash-build/data/pixmaps/cmake_install.cmake if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons" TYPE DIRECTORY FILES

Re: [GNC] Build on 18.04

2018-07-01 Thread Roger Miskowicz
my directory listing shows: $ ls accounts/ gnucash.1icons/ migratable-prefs.xml scm/ ui/ checks/gtkbuilder/ make-prefs-migration-script.xsl pixmaps/ tip_of_the_day.list On Sun, Jul 1, 2018 at 3:23 PM Colin Law wrote: > On 1 July 2018 at 19:14, Colin Law

Re: [GNC] Build on 18.04

2018-07-01 Thread Colin Law
On 1 July 2018 at 19:14, Colin Law wrote: > On 1 July 2018 at 18:58, John Ralls wrote: > >> data/pixmaps/CMakeLists.txt. There aren't any conditionals. >> >> Does your build directory have share/gnucash/icons? >> > > No > > $ ls share/gnucash/ > accounts gnucash.1

Re: [GNC] Build on 18.04

2018-07-01 Thread Colin Law
On 1 July 2018 at 18:58, John Ralls wrote: > data/pixmaps/CMakeLists.txt. There aren't any conditionals. > > Does your build directory have share/gnucash/icons? > No $ ls share/gnucash/ accounts gnucash.1 make-prefs-migration-script.xsl pixmaps tip_of_the_day.list checksgtkbuilder

Re: [GNC] Build on 18.04

2018-07-01 Thread Roger Miskowicz
Yes, it does. On Sun, Jul 1, 2018 at 2:01 PM John Ralls wrote: > data/pixmaps/CMakeLists.txt. There aren't any conditionals. > > Does your build directory have share/gnucash/icons? > > Regards, > John Ralls > > > > On Jul 1, 2018, at 10:33 AM, Colin Law wrote: > > > > I have just rebuilt (on

Re: [GNC] Build on 18.04

2018-07-01 Thread John Ralls
data/pixmaps/CMakeLists.txt. There aren't any conditionals. Does your build directory have share/gnucash/icons? Regards, John Ralls > On Jul 1, 2018, at 10:33 AM, Colin Law wrote: > > I have just rebuilt (on 18.04) using the exact same commands and my > manifest does not include the icons.

Re: [GNC] Build on 18.04

2018-07-01 Thread Roger Miskowicz
Hi Colin, No idea, but from the 'build' directory I did: $ grep -r "gnucash/icons" * to get: data/pixmaps/cmake_install.cmake: file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnucash/icons" TYPE DIRECTORY FILES "/home/roger/Projects/Gnucash/master/gnucash/data/pixmaps/hicolor" REGEX

Re: [GNC] Build on 18.04

2018-07-01 Thread Colin Law
I have just rebuilt (on 18.04) using the exact same commands and my manifest does not include the icons. Do you know what is supposed to tell the system to install them? Colin On 1 July 2018 at 17:36, Roger Miskowicz wrote: > I have GC3.2 on two 16.04 linux systems and in one build I have >

Re: [GNC] Build on 18.04

2018-07-01 Thread Roger Miskowicz
I have GC3.2 on two 16.04 linux systems and in one build I have install_manifest.txt which includes the 'icons' directory and in the other the install_manifest.txt does not exist (in this one the icons files were installed months earlier so not part of my latest install). I just rebuilt GC3.2 on

Re: [GNC] Build on 18.04

2018-07-01 Thread Stephen M. Butler
On 07/01/2018 08:36 AM, Roger Miskowicz wrote: > in 16.04 and GC3.2 using: > > $ locate gnc-account-report > > I found: > > /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-report.png > /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-account-report.png > > Are these files

Re: [GNC] Build on 18.04

2018-07-01 Thread Colin Law
On 1 July 2018 at 16:36, Roger Miskowicz wrote: > in 16.04 and GC3.2 using: > > $ locate gnc-account-report > > I found: > > /usr/local/share/gnucash/icons/hicolor/16x16/actions/ > gnc-account-report.png > /usr/local/share/gnucash/icons/hicolor/24x24/actions/ > gnc-account-report.png > > Are

Re: [GNC] Build on 18.04

2018-07-01 Thread Roger Miskowicz
in 16.04 and GC3.2 using: $ locate gnc-account-report I found: /usr/local/share/gnucash/icons/hicolor/16x16/actions/gnc-account-report.png /usr/local/share/gnucash/icons/hicolor/24x24/actions/gnc-account-report.png Are these files found in 18.04? On Sun, Jul 1, 2018 at 10:55 AM, Colin Law

Re: [GNC] Build on 18.04

2018-07-01 Thread Colin Law
In the trace file I see around a dozen lines similar to * 13:29:29 WARN [gnc_load_app_icons()] No icon named 'gnc-account' found. Some gui elements may be missing their icons * 13:29:29 WARN [gnc_load_app_icons()] No icon named 'gnc-account-report' found. Some gui elements may be missing

Re: [GNC] Build on 18.04

2018-07-01 Thread Colin Law
Actually I see there are more icons missing, such as the Split button icon in the toolbar. It seems that the missing files are the png files from data/pixmaps/hicolor/?/actions. Are these supposed to be copied somewhere by make install? Colin On 1 July 2018 at 11:21, Colin Law wrote: >

[GNC] Build on 18.04

2018-07-01 Thread Colin Law
Following the instructions for building GC 3.x on the wiki [1] has been accomplished on Ubuntu 18.04 with little difficulty, so many thanks to the contributors to the wiki. Just one small issue so far, the icons to the left of the account names are all showing as a little no entry sign, which I