[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] print.c woes
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] print.c woes |
Date: |
Wed, 22 Apr 2009 14:51:32 +0100 |
Sorry, this was a typo in the GLIB_MINOR_VERSION name, which didn't show
because the C preprocessor happily gives undefined preprocessor symbols
the value 0.
I've fixed the typo and reverted configure.in
can you check that all is well now.
Richard
On Wed, 2009-04-22 at 08:07 -0500, Jeremiah Benham wrote:
> On Tue, Apr 21, 2009 at 07:19:57PM +0100, Richard Shann wrote:
> > print.c didn't compile for the GLib in my distro (still etch, though
> > lenny is out).
> > I have fixed this, and got print preview working by reverting to the old
> > code for <2.14
> > *BUT* I have tried the same arguments for the print excerpt and it is
> > not working (for glib <2.14). If it all still works for Glib 2.14 I
> > suggest we don't have to bust a gut trying to fix this, I guess glib
> > 2.14 could be in lenny anyway.
> > I don't want to upgrade my machine to lenny until this release is out.
> >
> > So, I have checked this in, please compile under 2.14 and test.
>
> I can't compile under 2.14. I modified configure.in to check the version of
> glib like this:
>
> PKG_CHECK_MODULES(G_LIB_MINOR_VERSION, glib-2.0 > 2.14,
> AC_DEFINE(G_LIB_MINOR_VERSION, 15, [whether or not
> glib-2.0 is new enough for some code]))
>
> It sets the macro G_LIB_MINOR_VERSION to be 15 if glib-2.0 > 2.14. I would
> like it to set it to the minor version number but I don't know how to do
> that. I am hoping that this is good enough. I will need you to test
> ./autogen.sh;./configure to see if this does not break things for you. If not
> then we are good.
>
> Jeremiah
>
> >
> > Richard
> >
> >
> >
> >
> > _______________________________________________
> > Denemo-devel mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/denemo-devel