diff --git a/srcpkgs/libglade/patches/libglade-gmodule.patch b/srcpkgs/libglade/patches/libglade-gmodule.patch new file mode 100644 index 00000000000..353088fa452 --- /dev/null +++ b/srcpkgs/libglade/patches/libglade-gmodule.patch @@ -0,0 +1,12 @@ +--- configure.in.orig ++++ configure.in +@@ -46,7 +46,8 @@ PKG_CHECK_MODULES(LIBGLADE, [dnl + libxml-2.0 >= required_libxml_version dnl + atk >= required_atk_version dnl + gtk+-2.0 >= required_gtk_version dnl +- glib-2.0 >= required_glib_version]) ++ glib-2.0 >= required_glib_version dnl ++ gmodule-no-export-2.0 >= required_glib_version]) + + AC_MSG_CHECKING([for native Win32]) + case "$host" in diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template index b014d5d7571..fccb2356d44 100644 --- a/srcpkgs/libglade/template +++ b/srcpkgs/libglade/template @@ -1,10 +1,10 @@ # Template build file for 'libglade'. pkgname=libglade version=2.6.4 -revision=11 +revision=12 build_style=gnu-configure configure_args="--disable-static --without-xml-catalog" -hostmakedepends="pkg-config python" +hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel" makedepends="libxml2-devel gtk+-devel xmlcatmgr" depends="xmlcatmgr" short_desc="Runtime interpreter for GLADE GUI files" @@ -17,6 +17,10 @@ checksum=64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec # Register DTDs with xmlcatmgr. xml_entries="system http://glade.gnome.org/glade-2.0.dtd /usr/share/xml/libglade/glade-2.0.dtd" +pre_configure() { + autoreconf -fi +} + libglade-devel_package() { depends="libxml2-devel gtk+-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" -- development files"