Re: Problem building gnucash on ubuntu 12.04 alpha - g_static_private_get deprecated
On 10 December 2011 20:42, Colin Law clan...@googlemail.com wrote: On 10 December 2011 17:08, John Ralls jra...@ceridwen.us wrote: On Dec 10, 2011, at 8:58 AM, Colin Law wrote: On 10 December 2011 16:51, John Ralls jra...@ceridwen.us wrote: On Dec 10, 2011, at 8:29 AM, Colin Law wrote: On 10 December 2011 14:32, Colin Law clan...@googlemail.com wrote: I am testing the build of gnucash on ubuntu 12.04 alpha. I have checkout out the 2.4 branch from git and run ./autogen.sh ./configure --prefix=/usr/bin/gnucash2.4 --enable-compile-warnings --with-html-engine=webkit make I get the error: /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\qof\ -I../../../lib/libc -I../../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c -o guid.lo guid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\qof\ -I../../../lib/libc -I../../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c guid.c -fPIC -DPIC -o .libs/guid.o guid.c: In function 'guid_to_string': guid.c:680:5: error: 'g_static_private_get' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:245): Use 'g_private_get' instead [-Werror=deprecated-declarations] guid.c:684:9: error: 'g_static_private_set' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:248): Use 'g_private_set' instead [-Werror=deprecated-declarations] The version of glib is 2.31.2. The version on Ubuntu 11.10 that compiles ok is 2.30.0 ... Reported bug https://bugzilla.gnome.org/show_bug.cgi?id=665923 Are there plans to look at this at some point? I still cannot build on Ubuntu 12.04 alpha (due for release in April). I would have a go myself but know nothing about this area of code. I do know C though so if it is a straightforward fix I can implement it if someone tells me what to do. Colin ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Advice for bugs related to xea accounts files
I've closed a couple of bugs related to some gnucash-xea files in the accounts subfolder. The patches were submitted to the 2.4 repo: do I have to submit them also to trunk? Regards Cristian ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Problem building gnucash on ubuntu 12.04 alpha - g_static_private_get deprecated
2012.01.06 12:18, Colin Law rašė: On 10 December 2011 20:42, Colin Lawclan...@googlemail.com wrote: On 10 December 2011 17:08, John Rallsjra...@ceridwen.us wrote: Reported bug https://bugzilla.gnome.org/show_bug.cgi?id=665923 Are there plans to look at this at some point? I still cannot build on Ubuntu 12.04 alpha (due for release in April). I would have a go myself but know nothing about this area of code. I do know C though so if it is a straightforward fix I can implement it if someone tells me what to do. Hello, as a workaround I use --disable-error-on-warning in my ./configure call because there are more warnings that prevent a successful build. Aurimas ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Advice for bugs related to xea accounts files
On Fri, 06 Jan 2012 11:21:43 +0100 Cristian Marchi cr...@libero.it wrote: I've closed a couple of bugs related to some gnucash-xea files in the accounts subfolder. The patches were submitted to the 2.4 repo: do I have to submit them also to trunk? Regards Cristian Hi Cristian Having just gone through this and made a few errors I'll test my new knowledge here. All commits should be to trunk. Commits that need to be backported to 2.4 should be indicated as requiring audit by adding BP (no quotes) on a line on their own to the commit message. Having been audited, which in practice appears be that no-one objects to the backport, the changes are then cherry picked to to the 2.4 branch. Christian Stimming has written a script to do the cherry pick, utils/git-backport.sh. This assumes you are using git. It correctly adds the original trunk commit revision in [123456] to the commit message. Commit this to 2.4 branch. See: http://wiki.gnucash.org/wiki/Development_Process#Fixing_Bugs I see that John Ralls has recently updated this section. Mike Evans ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Anyone speak french (gnucash-fr needs a new moderator)?
Hey, Email to the moderator of the gnucash-fr mailing list has been bouncing for a while. I want to ask the gnucash-fr list if there is anyone that would like to step up to be a moderator, but I don't speak french. I presume I could just write in English and hope people there understand me, or I could attempt to use Google Translate to make myself somewhat understood. But I was hoping someone on this list might be able to help? Thanks, -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Testing
Just a test of the mailing list. Please ignore. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Problem building gnucash on ubuntu 12.04 alpha - g_static_private_get deprecated
On Jan 6, 2012, at 2:18 AM, Colin Law wrote: On 10 December 2011 20:42, Colin Law clan...@googlemail.com wrote: On 10 December 2011 17:08, John Ralls jra...@ceridwen.us wrote: On Dec 10, 2011, at 8:58 AM, Colin Law wrote: On 10 December 2011 16:51, John Ralls jra...@ceridwen.us wrote: On Dec 10, 2011, at 8:29 AM, Colin Law wrote: On 10 December 2011 14:32, Colin Law clan...@googlemail.com wrote: I am testing the build of gnucash on ubuntu 12.04 alpha. I have checkout out the 2.4 branch from git and run ./autogen.sh ./configure --prefix=/usr/bin/gnucash2.4 --enable-compile-warnings --with-html-engine=webkit make I get the error: /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\qof\ -I../../../lib/libc -I../../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c -o guid.lo guid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\qof\ -I../../../lib/libc -I../../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c guid.c -fPIC -DPIC -o .libs/guid.o guid.c: In function 'guid_to_string': guid.c:680:5: error: 'g_static_private_get' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:245): Use 'g_private_get' instead [-Werror=deprecated-declarations] guid.c:684:9: error: 'g_static_private_set' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:248): Use 'g_private_set' instead [-Werror=deprecated-declarations] The version of glib is 2.31.2. The version on Ubuntu 11.10 that compiles ok is 2.30.0 ... Reported bug https://bugzilla.gnome.org/show_bug.cgi?id=665923 Are there plans to look at this at some point? I still cannot build on Ubuntu 12.04 alpha (due for release in April). I would have a go myself but know nothing about this area of code. I do know C though so if it is a straightforward fix I can implement it if someone tells me what to do. It looks to me that you're going to have to not use disable-deprecated in your build. As I'm sure you know, our policy is to support very old and stable distributions (Debian stable and RHEL), and the target minimum GLib versions are 2.12 for GC 2.4 and 2.20 for 2.6. We haven't yet discussed what we'll aim the next version after 2.6 at, but Ryan is moving GLib along at such a clip that it's unlikely that GC will ever build cleanly without deprecations against the current release versions. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Advice for bugs related to xea accounts files
Hi, Mike Evans mi...@saxicola.idps.co.uk writes: On Fri, 06 Jan 2012 11:21:43 +0100 Cristian Marchi cr...@libero.it wrote: I've closed a couple of bugs related to some gnucash-xea files in the accounts subfolder. The patches were submitted to the 2.4 repo: do I have to submit them also to trunk? Regards Cristian Hi Cristian Having just gone through this and made a few errors I'll test my new knowledge here. All commits should be to trunk. Commits that need to be backported to 2.4 should be indicated as requiring audit by adding BP (no quotes) on a line on their own to the commit message. Having been audited, which in practice appears be that no-one objects to the backport, the changes are then cherry picked to to the 2.4 branch. Christian Stimming has written a script to do the cherry pick, utils/git-backport.sh. This assumes you are using git. It correctly adds the original trunk commit revision in [123456] to the commit message. Commit this to 2.4 branch. See: http://wiki.gnucash.org/wiki/Development_Process#Fixing_Bugs I see that John Ralls has recently updated this section. The exception is for translation updates, which only occur on the stable branch. Mike Evans -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Problem building gnucash on ubuntu 12.04 alpha - g_static_private_get deprecated
On Jan 6, 2012, at 7:28 AM, John Ralls wrote: On Jan 6, 2012, at 2:18 AM, Colin Law wrote: On 10 December 2011 20:42, Colin Law clan...@googlemail.com wrote: On 10 December 2011 17:08, John Ralls jra...@ceridwen.us wrote: On Dec 10, 2011, at 8:58 AM, Colin Law wrote: On 10 December 2011 16:51, John Ralls jra...@ceridwen.us wrote: On Dec 10, 2011, at 8:29 AM, Colin Law wrote: On 10 December 2011 14:32, Colin Law clan...@googlemail.com wrote: I am testing the build of gnucash on ubuntu 12.04 alpha. I have checkout out the 2.4 branch from git and run ./autogen.sh ./configure --prefix=/usr/bin/gnucash2.4 --enable-compile-warnings --with-html-engine=webkit make I get the error: /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\qof\ -I../../../lib/libc -I../../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c -o guid.lo guid.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\qof\ -I../../../lib/libc -I../../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c guid.c -fPIC -DPIC -o .libs/guid.o guid.c: In function 'guid_to_string': guid.c:680:5: error: 'g_static_private_get' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:245): Use 'g_private_get' instead [-Werror=deprecated-declarations] guid.c:684:9: error: 'g_static_private_set' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:248): Use 'g_private_set' instead [-Werror=deprecated-declarations] The version of glib is 2.31.2. The version on Ubuntu 11.10 that compiles ok is 2.30.0 ... Reported bug https://bugzilla.gnome.org/show_bug.cgi?id=665923 Are there plans to look at this at some point? I still cannot build on Ubuntu 12.04 alpha (due for release in April). I would have a go myself but know nothing about this area of code. I do know C though so if it is a straightforward fix I can implement it if someone tells me what to do. It looks to me that you're going to have to not use disable-deprecated in your build. As I'm sure you know, our policy is to support very old and stable distributions (Debian stable and RHEL), and the target minimum GLib versions are 2.12 for GC 2.4 and 2.20 for 2.6. We haven't yet discussed what we'll aim the next version after 2.6 at, but Ryan is moving GLib along at such a clip that it's unlikely that GC will ever build cleanly without deprecations against the current release versions. Sorry, disregard that... I lost track of what this was about (although it's probably true that you'll have to start permitting glib-deprecated functions at some point). It should indeed be a straightforward fix, just replace the deprecated functions with the ones the warnings suggest -- adjusting as necessary for the different parameters if any, of course. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Explorer's log: Entering the maze
On Sat, 03 Dec 2011 13:03:41 -0800, John Ralls wrote: If you haven't already, you might find it helpful to take a few minutes to skim over the Doxygen documentation. That will help you understand why the docs are structured the way they are. People using a scripting languagee to access gnucash date structures would probably be most interested in the pages starting at src/doc/html/group__Engine.html, or online, at http://svn.gnucash.org/docs/HEAD/group__Engine.html because most of the links at http://svn.gnucash.org/docs/HEAD/index.html#doxylist seem to refer to obsolete documentation. -- hendrik ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel