for example, when I wrapped atk:

add atkmodule.la to pyexec_LTLIBRARIES.

add:

atkmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex initatk
atkmodule_la_SOURCES = \
  atkmodule.c \
  atk.c
atkmodule_la_LIBADD = $(ATK_LIBS)

add:

atk.defs
atk.override

to EXTRA_DIST

The generic rule in pygtk cvs will handle the autogenerating.
        
On Tue, Nov 27, 2001 at 04:25:40PM -0600, Skip Montanaro wrote:
> 
> I decided to wrap the gtkhtml2 library today.  Seemed easy enough, small
> gtkhtml2.defs and gtkhtml2.override files did the trick, or so I thought.
> Then I started wading through the morass known as autoconf/automake/etc and
> quickly gave up on trying to do it "right".  I ended up simply editing
> pygtk/gtk/Makefile, trying to mimic what was there for gtk and gobject.  I
> eventually got to the point where I had something that compiled, linked and
> installed.  Now I get a segfault during import, which I have trouble
> stepping up to because it's in a shared library.
> 
> *sigh* Does anyone have a "recipe" for adding new wrappers to PyGtk2?  I
> believe I have suitable .defs and .override files.  I need the rest of the
> glue.
> 
> wrapping-other-libraries-was-never-this-hard-ly, y'rs,
> 
> Skip
> 
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to