Re: [GNC-dev] Build fail on Linux Mint 19.2

2019-09-09 Thread John Ralls



> On Sep 9, 2019, at 2:57 PM, David Cousens  wrote:
> 
> Hi John,
> 
> I am getting a cmake configuration fail while trying to build v3.7 from the
> tarball on Linux Mint 19.2. I have cmake  3.13.4 installed. I've listed the
> glib swig and guile  and gdk packages installed after the cmake output below
> and attached the cmake output log and error log from the build directory.  
> 
> The cmake error log seems to indicate a problem finding .  As far
> as I can see the dependencies are OK.  
> $ locate gdk.h
> /usr/include/gtk-2.0/gdk/gdk.h
> /usr/include/gtk-3.0/gdk/gdk.h
> 
> It may be a Linux Mint 19.2 related as I get the same errors building v3.6
> again from scratch. I can't remember having to rebuild it when I upgraded
> from Mint 19.1 to 19.2 a few weeks ago.
> 
> David
> 
> david@Mintie:~/Applications/gnucash-3.7$ mkdir build
> david@Mintie:~/Applications/gnucash-3.7$ cd build
> david@Mintie:~/Applications/gnucash-3.7/build$ cmake
> -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=yes ../gnucash
> -- The C compiler identification is GNU 7.4.0
> -- The CXX compiler identification is GNU 7.4.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> CMake Error at CMakeLists.txt:5 (file):
>  file problem creating directory: /glib-2.0/schemas
> 
> 
> -- Performing Test have_mod_mask
> -- Performing Test have_mod_mask - Failed
> CMake Error at gnome/CMakeLists.txt:59 (gnc_add_swig_guile_command):
>  Unknown CMake command "gnc_add_swig_guile_command".
> 
> 
> CMake Warning (dev) in CMakeLists.txt:
>  No cmake_minimum_required command is present.  A line of code such as
> 
>cmake_minimum_required(VERSION 3.13)
> 
>  should be added at the top of the file.  The version specified may be
> lower
>  if you wish to support older CMake versions for this project.  For more
>  information run "cmake --help-policy CMP".
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> -- Configuring incomplete, errors occurred!
> See also
> "/home/david/Applications/gnucash-3.7/build/CMakeFiles/CMakeOutput.log".
> See also
> "/home/david/Applications/gnucash-3.7/build/CMakeFiles/CMakeError.log".
> david@Mintie:~/Applications/gnucash-3.7/build$ 
> 
> the glib packages installed are:
> 
> david@Mintie:~$ apt-cache search glib-2.0
> gir1.2-glib-2.0 - Introspection data for GLib, GObject, Gio and GModule
> gir1.2-spiceclientglib-2.0 - GObject for communicating with Spice servers
> (GObject-Introspection)
> libqt5glib-2.0-0 - C++ bindings library for GLib and GObject with a Qt-style
> API - Qt 5 build
> libspice-client-glib-2.0-8 - GObject for communicating with Spice servers
> (runtime library)
> libspice-client-glib-2.0-dev - GObject for communicating with Spice servers
> (development files)
> david@Mintie:~$ dpkg -l | grep libglib
> ii  libglib-object-introspection-perl0.044-2  
>  
> amd64Perl bindings for gobject-introspection libraries
> ii  libglib-perl
> 3:1.326-1build1amd64interface to the
> GLib and GObject libraries
> ii  libglib2.0-0:amd64  
> 2.56.4-0ubuntu0.18.04.4amd64GLib library of
> C routines
> ii  libglib2.0-bin  
> 2.56.4-0ubuntu0.18.04.4amd64Programs for the
> GLib library
> ii  libglib2.0-cil  
> 2.12.40-2  amd64CLI binding for
> the GLib utility library 2.12
> ii  libglib2.0-cil-dev  
> 2.12.40-2  amd64CLI binding for
> the GLib utility library 2.12
> ii  libglib2.0-data 
> 2.56.4-0ubuntu0.18.04.4all  Common files for
> GLib library
> ii  libglib2.0-dev:amd64
> 2.56.4-0ubuntu0.18.04.4amd64Development
> files for the GLib library
> ii  libglib2.0-dev-bin  
> 2.56.4-0ubuntu0.18.04.4amd64Development
> utilities for the GLib library
> ii  libglib2.0-doc  
> 2.56.4-0ubuntu0.18.04.4all  Documentation
> files for the 

Re: [GNC-dev] Gnucash 3.7 released

2019-09-09 Thread Frank H. Ellenberger
Hi,

Am Mo., 9. Sept. 2019 um 17:52 Uhr schrieb John Ralls :
> > On Sep 9, 2019, at 8:30 AM, Benno Schulenberg 
> >  wrote:
> >
> >
> > Hello John,
> >
> >> Tarball at 
> >> https://github.com/Gnucash/gnucash/releases/download/3.7/gnucash-3.7.tar.bz2
> > The POT file (and therefore probably the source) still contains three
> > translator hints like this:
> >
> >  #. Translators: This string has a disambiguation prefix [...]
> >
> > B
>
> Benno,
>
> So it does, and I think we can remove the comments as the code now uses the 
> Q_ macro to generate a separate msgctxt and msgid in the potfile, making it 
> obvious. The one comment about translating only the bit after the '|' is 
> wrong as the Q_ macro strips out the '|'.
>
> Regards,
> John Ralls

fixed in commit fa4fc55.
Thanks for heads up!

Frank
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


[GNC-dev] Build fail on Linux Mint 19.2

2019-09-09 Thread David Cousens
Hi John,

I am getting a cmake configuration fail while trying to build v3.7 from the
tarball on Linux Mint 19.2. I have cmake  3.13.4 installed. I've listed the
glib swig and guile  and gdk packages installed after the cmake output below
and attached the cmake output log and error log from the build directory.  

The cmake error log seems to indicate a problem finding .  As far
as I can see the dependencies are OK.  
$ locate gdk.h
/usr/include/gtk-2.0/gdk/gdk.h
/usr/include/gtk-3.0/gdk/gdk.h

It may be a Linux Mint 19.2 related as I get the same errors building v3.6
again from scratch. I can't remember having to rebuild it when I upgraded
from Mint 19.1 to 19.2 a few weeks ago.

David

david@Mintie:~/Applications/gnucash-3.7$ mkdir build
david@Mintie:~/Applications/gnucash-3.7$ cd build
david@Mintie:~/Applications/gnucash-3.7/build$ cmake
-DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=yes ../gnucash
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:5 (file):
  file problem creating directory: /glib-2.0/schemas


-- Performing Test have_mod_mask
-- Performing Test have_mod_mask - Failed
CMake Error at gnome/CMakeLists.txt:59 (gnc_add_swig_guile_command):
  Unknown CMake command "gnc_add_swig_guile_command".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

cmake_minimum_required(VERSION 3.13)

  should be added at the top of the file.  The version specified may be
lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also
"/home/david/Applications/gnucash-3.7/build/CMakeFiles/CMakeOutput.log".
See also
"/home/david/Applications/gnucash-3.7/build/CMakeFiles/CMakeError.log".
david@Mintie:~/Applications/gnucash-3.7/build$ 

the glib packages installed are:

david@Mintie:~$ apt-cache search glib-2.0
gir1.2-glib-2.0 - Introspection data for GLib, GObject, Gio and GModule
gir1.2-spiceclientglib-2.0 - GObject for communicating with Spice servers
(GObject-Introspection)
libqt5glib-2.0-0 - C++ bindings library for GLib and GObject with a Qt-style
API - Qt 5 build
libspice-client-glib-2.0-8 - GObject for communicating with Spice servers
(runtime library)
libspice-client-glib-2.0-dev - GObject for communicating with Spice servers
(development files)
david@Mintie:~$ dpkg -l | grep libglib
ii  libglib-object-introspection-perl0.044-2
   
amd64Perl bindings for gobject-introspection libraries
ii  libglib-perl
3:1.326-1build1amd64interface to the
GLib and GObject libraries
ii  libglib2.0-0:amd64  
2.56.4-0ubuntu0.18.04.4amd64GLib library of
C routines
ii  libglib2.0-bin  
2.56.4-0ubuntu0.18.04.4amd64Programs for the
GLib library
ii  libglib2.0-cil  
2.12.40-2  amd64CLI binding for
the GLib utility library 2.12
ii  libglib2.0-cil-dev  
2.12.40-2  amd64CLI binding for
the GLib utility library 2.12
ii  libglib2.0-data 
2.56.4-0ubuntu0.18.04.4all  Common files for
GLib library
ii  libglib2.0-dev:amd64
2.56.4-0ubuntu0.18.04.4amd64Development
files for the GLib library
ii  libglib2.0-dev-bin  
2.56.4-0ubuntu0.18.04.4amd64Development
utilities for the GLib library
ii  libglib2.0-doc  
2.56.4-0ubuntu0.18.04.4all  Documentation
files for the GLib library
ii  libglib2.0-tests
2.56.4-0ubuntu0.18.04.4amd64GLib library of
C routines - installed tests
ii  libglib3.0-cil  
2.99.3-2   

Re: [GNC-dev] Gnucash 3.7 released

2019-09-09 Thread John Ralls



> On Sep 9, 2019, at 8:30 AM, Benno Schulenberg 
>  wrote:
> 
> 
> Hello John,
> 
>> Tarball at 
>> https://github.com/Gnucash/gnucash/releases/download/3.7/gnucash-3.7.tar.bz2
> The POT file (and therefore probably the source) still contains three
> translator hints like this:
> 
>  #. Translators: This string has a disambiguation prefix [...]
> 
> B

Benno,

So it does, and I think we can remove the comments as the code now uses the Q_ 
macro to generate a separate msgctxt and msgid in the potfile, making it 
obvious. The one comment about translating only the bit after the '|' is wrong 
as the Q_ macro strips out the '|'.

Regards,
John Ralls

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Building debian files within Docker

2019-09-09 Thread Dale Phurrough via gnucash-devel
Hi, thanks for checking in. I've never tested using the dev-docker
containers to build .deb within them. Long-term I would like it to build
containerized apps like snap, flatpak, etc. and maybe deb's come along for
free.

I vaguely remember reading "each package manager/person maintains their own
blahblah to create their distro's packages" If that's true and this package
metadata it isn't centrally kept by the core GnuCash team...then I suspect
it's technically possible to build deb packages within the containers
(since they are full OSs), but that the GnuCash team doesn't yet have it
automated because they don't coordinate/have the packager(s) metadata for
each distro.

True, no stable release of a Docker package to run on Disco yet. As an
alternative, you could run the testing release of Docker. Or...run the snap
for Docker. Running the snap removes your OS version conflict + gives you
the stable Docker 18.06 which is a very well tested and rich version of
Docker.  https://snapcraft.io/docker  By that webpage, disco is the 2nd
most popular OS on which it runs.

--Dale

On Mon, Sep 9, 2019 at 4:10 AM Stephen M. Butler  wrote:

> Dale,
>
> Are you able to build debian (*.deb) packages within your various Ubuntu
> docker environments?
>
> Disco (Ubuntu 19.04) complains about Docker not being available for this
> version.
>
> --
> Stephen M Butler, PMP, PSM
> stephen.m.butle...@gmail.com
> kg...@arrl.net
> 253-350-0166
> ---
> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel