Re: [poppler] Build fail on Ubuntu 14.04

2016-09-28 Thread Jason Crain
On Wed, Sep 28, 2016 at 08:36:01PM +0200, Albert Astals Cid wrote:
> El dimarts, 27 de setembre de 2016, a les 18:20:43 CEST, Jason Crain va 
> escriure:
> > On Tue, Sep 27, 2016 at 10:31:21PM +0200, Albert Astals Cid wrote:
> > > El dijous, 15 de setembre de 2016, a les 15:30:08 CEST, Jason Crain va
> > > 
> > > escriure:
> > > > On 2016-09-15, Alex Korobkin  wrote:
> > > > > poppler-document.cc:1521:25: error: invalid conversion from 'int' to
> > > > > 'GParamFlags' [-fpermissive]
> > > > > 
> > > > > G_PARAM_READWRITE));
> > > > 
> > > > ...
> > > > 
> > > > > Does it need a newer version of glib-2.0 since 0.47 release? Or am I
> > > > > missing something other library or reference?
> > > > 
> > > > It needs a newer version of glib.  See
> > > > https://bugs.freedesktop.org/97432.
> > > > Old glib has G_PARAM_READWRITE as a #define and C++ doesn't like that.
> > > 
> > > Anyone knows what's that newer glib version so we can update the checks?
> > 
> > It's changed in commit 6c395244, in glib version 2.41.0.
> 
> 6c395244 is our commit hash or glib's?

It's glib's hash: https://git.gnome.org/browse/glib/commit/?id=6c395244
___
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Build fail on Ubuntu 14.04

2016-09-28 Thread Albert Astals Cid
El dimarts, 27 de setembre de 2016, a les 18:20:43 CEST, Jason Crain va 
escriure:
> On Tue, Sep 27, 2016 at 10:31:21PM +0200, Albert Astals Cid wrote:
> > El dijous, 15 de setembre de 2016, a les 15:30:08 CEST, Jason Crain va
> > 
> > escriure:
> > > On 2016-09-15, Alex Korobkin  wrote:
> > > > poppler-document.cc:1521:25: error: invalid conversion from 'int' to
> > > > 'GParamFlags' [-fpermissive]
> > > > 
> > > > G_PARAM_READWRITE));
> > > 
> > > ...
> > > 
> > > > Does it need a newer version of glib-2.0 since 0.47 release? Or am I
> > > > missing something other library or reference?
> > > 
> > > It needs a newer version of glib.  See
> > > https://bugs.freedesktop.org/97432.
> > > Old glib has G_PARAM_READWRITE as a #define and C++ doesn't like that.
> > 
> > Anyone knows what's that newer glib version so we can update the checks?
> 
> It's changed in commit 6c395244, in glib version 2.41.0.

6c395244 is our commit hash or glib's?

Cheers,
  Albert

> ___
> poppler mailing list
> poppler@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler


___
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Build fail on Ubuntu 14.04

2016-09-27 Thread Jason Crain
On Tue, Sep 27, 2016 at 10:31:21PM +0200, Albert Astals Cid wrote:
> El dijous, 15 de setembre de 2016, a les 15:30:08 CEST, Jason Crain va 
> escriure:
> > On 2016-09-15, Alex Korobkin  wrote:
> > > poppler-document.cc:1521:25: error: invalid conversion from 'int' to
> > > 'GParamFlags' [-fpermissive]
> > > 
> > > G_PARAM_READWRITE));
> > 
> > ...
> > 
> > > Does it need a newer version of glib-2.0 since 0.47 release? Or am I
> > > missing something other library or reference?
> > 
> > It needs a newer version of glib.  See https://bugs.freedesktop.org/97432.
> > Old glib has G_PARAM_READWRITE as a #define and C++ doesn't like that.
> 
> Anyone knows what's that newer glib version so we can update the checks?

It's changed in commit 6c395244, in glib version 2.41.0.
___
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Build fail on Ubuntu 14.04

2016-09-27 Thread Albert Astals Cid
El dijous, 15 de setembre de 2016, a les 15:30:08 CEST, Jason Crain va 
escriure:
> On 2016-09-15, Alex Korobkin  wrote:
> > poppler-document.cc:1521:25: error: invalid conversion from 'int' to
> > 'GParamFlags' [-fpermissive]
> > 
> > G_PARAM_READWRITE));
> 
> ...
> 
> > Does it need a newer version of glib-2.0 since 0.47 release? Or am I
> > missing something other library or reference?
> 
> It needs a newer version of glib.  See https://bugs.freedesktop.org/97432.
> Old glib has G_PARAM_READWRITE as a #define and C++ doesn't like that.

Anyone knows what's that newer glib version so we can update the checks?

Cheers,
  Albert

> ___
> poppler mailing list
> poppler@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler


___
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Build fail on Ubuntu 14.04

2016-09-15 Thread Alex Korobkin
That worked, thanks!

On Thu, Sep 15, 2016 at 4:30 PM, Jason Crain  wrote:

> On 2016-09-15, Alex Korobkin  wrote:
> > poppler-document.cc:1521:25: error: invalid conversion from 'int' to
> > 'GParamFlags' [-fpermissive]
> > G_PARAM_READWRITE));
> ...
> > Does it need a newer version of glib-2.0 since 0.47 release? Or am I
> > missing something other library or reference?
>
> It needs a newer version of glib.  See https://bugs.freedesktop.org/97432.
> Old glib has G_PARAM_READWRITE as a #define and C++ doesn't like that.
>



-- 
-Alex
___
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler


Re: [poppler] Build fail on Ubuntu 14.04

2016-09-15 Thread Jason Crain
On 2016-09-15, Alex Korobkin  wrote:
> poppler-document.cc:1521:25: error: invalid conversion from 'int' to
> 'GParamFlags' [-fpermissive]
> G_PARAM_READWRITE));
...
> Does it need a newer version of glib-2.0 since 0.47 release? Or am I
> missing something other library or reference?

It needs a newer version of glib.  See https://bugs.freedesktop.org/97432.
Old glib has G_PARAM_READWRITE as a #define and C++ doesn't like that.
___
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler


[poppler] Build fail on Ubuntu 14.04

2016-09-15 Thread Alex Korobkin
Hi all,

I'm trying to build poppler 0.47 on Ubuntu 14.04, and it fails with this
error:

poppler-document.cc: In function 'void
poppler_document_class_init(PopplerDocumentClass*)':
poppler-document.cc:1521:25: error: invalid conversion from 'int' to
'GParamFlags' [-fpermissive]
G_PARAM_READWRITE));
 ^
In file included from /usr/include/glib-2.0/glib-object.h:28:0,
 from poppler.h:22,
 from poppler-document.cc:41:
/usr/include/glib-2.0/gobject/gparamspecs.h:1085:13: error:   initializing
argument 5 of 'GParamSpec* g_param_spec_string(const gchar*, const gchar*,
const gchar*, const gchar*, GParamFlags)' [-fpermissive]
 GParamSpec* g_param_spec_string  (const gchar  *name,
 ^
poppler-document.cc:1573:25: error: invalid conversion from 'int' to
'GParamFlags' [-fpermissive]


Does it need a newer version of glib-2.0 since 0.47 release? Or am I
missing something other library or reference?

Longer output:
http://pastebin.com/wBdmL7GV

-- 
-Alex
___
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler