[poppler] Poppler glibmm bindings
glennricster at gmail.com
Tue Oct 16 13:11:34 PDT 2012
Although it is not generated from the gir files, for the most part all
you have to do is tell gmmproc what to name the c++ classes and methods,
and which c objects and methods they are derived from. Then the actual
c++ code is generated. There were not many cases that needed hand
coding. The hardest part was converting your poppler-glib demo to use
gtkmm and my poppler-glibmm library. Of course there is no automatic
way to do that.
As I understand it there is some work by the gtkmm devs to do some of
the conversion work from the gir files, but I think that is to replace
the clumsy defs file generation that is currently used. Not to replace
the hg and ccg file creation, from which files the actual code is
In any case, I have attached a tarball of the code.
On 10/16/2012 01:58 PM, Albert Astals Cid wrote:
> El Dimarts, 16 d'octubre de 2012, a les 13:50:07, Glenn Rice va escriure:
>> The library is not automatically generated from the gir files.
> Sad :-/
>> It uses
>> the standard method that glib libraries are wrapped via gmmproc. There
>> is some maintenance involved as with any library, but generally not that
>> much. gmmproc uses macros that automate the wrapping of most things.
>> There are some things that the macros don't properly handle and so they
>> have to be hand coded.
> Oh :-(
>> I am willing to maintain it, and will make it
>> available somewhere else if you are not interested. I could attach a
>> tarball of the source if you want to take a look.
> Well, let's see how much code and let's see if someone mentions they are
> interested in the feature. I am not pro nor against it at the moment.
>> On 10/16/2012 12:43 PM, Albert Astals Cid wrote:
>>> El Dimarts, 16 d'octubre de 2012, a les 08:17:44, Glenn Rice va escriure:
>>>> I have created a library that wraps the poppler-glib library using
>>>> glibmm/gtkmm's gmmproc. I don't know if you are interested in this. I
>>>> not sure where to make this available to the public. It would be
>>>> nice to have it at freedesktop.org so that it is together with poppler.
>>>> you are interested it could even be integrated in with the rest of
>>>> I would even be willing to pass the code off to you. I did this for
>>>> purely educational purposes of my own. Although it would be nice to
>>>> the result.
>>>> If you are not interested I will probably make it available via
>>>> If you would like to take a look at what I have that would be great
>>> How much code is it? And more importantly, how much maintaince it needs?
>>> Is it automagically generated from the gir thing?
>>>> Glenn Rice
>>>> poppler mailing list
>>>> poppler at lists.freedesktop.org
>>> poppler mailing list
>>> poppler at lists.freedesktop.org
> poppler mailing list
> poppler at lists.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 790508 bytes
Desc: not available
More information about the poppler