[Glade-users] EXTERNAL: Re: Non-existing symbols are exported from libgladeui
- From: lrn1986 at gmail.com (LRN)
- Subject: [Glade-users] EXTERNAL: Re: Non-existing symbols are exported from libgladeui
- Date: Mon, 06 Aug 2012 19:01:32 +0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 25.07.2012 0:00, Damon Register wrote:
On 5/18/2012 11:13 PM, Juan Pablo wrote:
It's been a long time since I do not compile it on windows. Can
you elaborate more about the compiler and libs you are using to
do the compilation?
Is it mingw/msys?
Now I am to the point where I am trying to build glade3-3.12.1 and
I am getting the same error. I found this post but I don't see
that there was an answer. Did I miss a message? I don't know
about the original poster, but yes, I am using mingw/msys
Here's a set of patches against 3.12.1 that i've used last time i
needed to compile it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJQH9xMAAoJEOs4Jb6SI2CwQT0IAN6bxst6mcDA6PFo/+DNY26F
tNT+LfJP2bP3SuC4nryFgyX63IjuTCyqGPrhYcl7n5+cZ489Q6rV1yoDI/K2H9Z5
wbL9+zit8fDoq2XmKUKeJa1LfiTzc+43oA+G1Ye07DvkfX0f1/nFkbmHgLHVWsn0
bHNBPSxx1IBaaEiqrKZdYd8GlBJxbwZNA9MWxLVFLR6uOl8Ll0AVQKIpMB+ycFAA
w9vKr2msNoV/zmT/SScAJ3SZABVI+UmWuyogtFjR7VRoc5v2FDccqqvgznZoNpUY
GTvrkeMW+DBpbzNlmVAv6K+vq7K6DWuPdg06mE+Z9wsp0eLbfFCiqohhS9nBuHY=
=MCgs
-----END PGP SIGNATURE-----
-------------- next part --------------
--- glade-3.12.1/src/Makefile.am.orig 2012-05-06 23:01:32 +0400
+++ glade-3.12.1/src/Makefile.am 2012-05-19 06:07:58 +0400
@@ -33,6 +33,6 @@
endif
glade-win32-res.o: glade.rc
- $(WINDRES) $< $@
+ $(WINDRES) -I $(top_srcdir)/data/icons $< $@
EXTRA_DIST = glade.rc.in
--- glade-3.12.1/src/glade.rc.in.orig 2012-03-27 01:24:39 +0400
+++ glade-3.12.1/src/glade.rc.in 2012-05-19 06:09:03 +0400
@@ -1,6 +1,6 @@
#include <winver.h>
-GLADE_ICON ICON "../data/icons/glade.ico"
+GLADE_ICON ICON "glade.ico"
VS_VERSION_INFO VERSIONINFO
FILEVERSION @GLADE_MAJOR_VERSION@, at GLADE_MINOR_VERSION@, at GLADE_MICRO_VERSION@,0
--- glade-3.12.1/gladeui/glade-previewer.rc.in.orig 2012-03-27 01:24:39 +0400
+++ glade-3.12.1/gladeui/glade-previewer.rc.in 2012-05-19 06:10:00 +0400
@@ -1,6 +1,6 @@
#include <winver.h>
-GLADE_ICON ICON "../data/icons/glade.ico"
+GLADE_ICON ICON "glade.ico"
VS_VERSION_INFO VERSIONINFO
FILEVERSION @GLADE_MAJOR_VERSION@, at GLADE_MINOR_VERSION@, at GLADE_MICRO_VERSION@,0
--- glade-3.12.1/gladeui/Makefile.am.orig 2012-05-19 05:55:03 +0400
+++ glade-3.12.1/gladeui/Makefile.am 2012-05-19 06:10:59 +0400
@@ -163,7 +163,7 @@
endif
gladeui-win32-res.o: gladeui.rc
- $(WINDRES) $< $@
+ $(WINDRES) -I $(top_srcdir)/data/icons $< $@
#
# Marshaller generation
--- glade-3.12.1/gladeui/Makefile.am.orig 2012-05-19 06:11:47 +0400
+++ glade-3.12.1/gladeui/Makefile.am 2012-05-19 06:19:43 +0400
@@ -30,7 +30,7 @@
endif
glade-win32-res.o: glade-previewer.rc
- $(WINDRES) $< $@
+ $(WINDRES) -I $(top_srcdir)/data/icons $< $@
## Rest of the UI ;)
-------------- next part --------------
--- glade-3.12.1/m4/introspection.m4.orig 2012-05-18 18:54:03 +0400
+++ glade-3.12.1/m4/introspection.m4 2011-06-10 19:36:50 +0400
@@ -0,0 +1,94 @@
+dnl -*- mode: autoconf -*-
+dnl Copyright 2009 Johan Dahlin
+dnl
+dnl This file is free software; the author(s) gives unlimited
+dnl permission to copy and/or distribute it, with or without
+dnl modifications, as long as this notice is preserved.
+dnl
+
+# serial 1
+
+m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
+[
+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
+ AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
+
+ dnl enable/disable introspection
+ m4_if([$2], [require],
+ [dnl
+ enable_introspection=yes
+ ],[dnl
+ AC_ARG_ENABLE(introspection,
+ AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
+ [Enable introspection for this build]),,
+ [enable_introspection=auto])
+ ])dnl
+
+ AC_MSG_CHECKING([for gobject-introspection])
+
+ dnl presence/version checking
+ AS_CASE([$enable_introspection],
+ [no], [dnl
+ found_introspection="no (disabled, use --enable-introspection to enable)"
+ ],dnl
+ [yes],[dnl
+ PKG_CHECK_EXISTS([gobject-introspection-1.0],,
+ AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
+ found_introspection=yes,
+ AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build
AC_PACKAGE_NAME]))
+ ],dnl
+ [auto],[dnl
+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
+ ],dnl
+ [dnl
+ AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of
@<:@no/auto/yes@:>@])
+ ])dnl
+
+ AC_MSG_RESULT([$found_introspection])
+
+ INTROSPECTION_SCANNER=
+ INTROSPECTION_COMPILER=
+ INTROSPECTION_GENERATE=
+ INTROSPECTION_GIRDIR=
+ INTROSPECTION_TYPELIBDIR=
+ if test "x$found_introspection" = "xyes"; then
+ INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
+ INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
+ INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
+ INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
+ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
+ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
+ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
+ INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir
gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
+ fi
+ AC_SUBST(INTROSPECTION_SCANNER)
+ AC_SUBST(INTROSPECTION_COMPILER)
+ AC_SUBST(INTROSPECTION_GENERATE)
+ AC_SUBST(INTROSPECTION_GIRDIR)
+ AC_SUBST(INTROSPECTION_TYPELIBDIR)
+ AC_SUBST(INTROSPECTION_CFLAGS)
+ AC_SUBST(INTROSPECTION_LIBS)
+ AC_SUBST(INTROSPECTION_MAKEFILE)
+
+ AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
+])
+
+
+dnl Usage:
+dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
+
+AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
+[
+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
+])
+
+dnl Usage:
+dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
+
+
+AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
+[
+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
+])
-------------- next part --------------
--- glade-3.12.1/configure.ac.orig 2012-05-06 23:37:16 +0400
+++ glade-3.12.1/configure.ac 2012-05-18 18:57:34 +0400
@@ -76,10 +76,6 @@
# ================================================================
-GNOME_DEBUG_CHECK
-GNOME_COMPILE_WARNINGS([maximum])
-GNOME_MAINTAINER_MODE_DEFINES
-
# For the plugins, we don't use the warning flags defined by GNOME_COMPILE_WARNINGS.
# These flags include -Wmissing-prototypes, which we prefer not to use.
if test "x$GCC" = "xyes"; then
-------------- next part --------------
--- glade-3.12.1/gladeui/glade-app.h.orig 2012-05-06 23:01:32 +0400
+++ glade-3.12.1/gladeui/glade-app.h 2012-05-19 05:33:30 +0400
@@ -97,7 +97,6 @@
/* package paths */
const gchar *glade_app_get_catalogs_dir (void) G_GNUC_CONST;
const gchar *glade_app_get_modules_dir (void) G_GNUC_CONST;
-const gchar *glade_app_get_plugins_dir (void) G_GNUC_CONST;
const gchar *glade_app_get_pixmaps_dir (void) G_GNUC_CONST;
const gchar *glade_app_get_locale_dir (void) G_GNUC_CONST;
const gchar *glade_app_get_bin_dir (void) G_GNUC_CONST;
--- glade-3.12.1/gladeui/glade-catalog.h.orig 2012-05-06 23:01:32 +0400
+++ glade-3.12.1/gladeui/glade-catalog.h 2012-05-19 05:33:50 +0400
@@ -82,9 +82,6 @@
const GList *glade_widget_group_get_adaptors (GladeWidgetGroup *group);
-gboolean glade_catalog_supports_libglade (GladeCatalog *catalog);
-gboolean glade_catalog_supports_gtkbuilder (GladeCatalog *catalog);
-
G_END_DECLS
#endif /* __GLADE_CATALOG_H__ */
--- glade-3.12.1/gladeui/glade-signal-editor.h.orig 2012-05-06 23:01:32 +0400
+++ glade-3.12.1/gladeui/glade-signal-editor.h 2012-05-19 05:33:20 +0400
@@ -42,7 +42,6 @@
GType glade_signal_editor_get_type (void) G_GNUC_CONST;
GladeSignalEditor *glade_signal_editor_new (void);
-void glade_signal_editor_construct_signals_list (GladeSignalEditor *editor);
void glade_signal_editor_load_widget (GladeSignalEditor *editor,
GladeWidget *widget);
GladeWidget *glade_signal_editor_get_widget (GladeSignalEditor *editor);
-------------- next part --------------
--- glade-3.12.1/gladeui/Makefile.am.orig 2012-05-05 21:55:07 +0400
+++ glade-3.12.1/gladeui/Makefile.am 2012-05-19 05:34:41 +0400
@@ -158,32 +158,13 @@
endif
if NATIVE_WIN32
-libgladeui_2_la_LDFLAGS += -Wl,gladeui-win32-res.o -export-symbols gladeui.def
-libgladeui_2_la_DEPENDENCIES = gladeui-win32-res.o gladeui.def
+libgladeui_2_la_LDFLAGS += -Wl,gladeui-win32-res.o -export-symbols-regex '^glade_.+'
+libgladeui_2_la_DEPENDENCIES = gladeui-win32-res.o
endif
gladeui-win32-res.o: gladeui.rc
$(WINDRES) $< $@
-# gladeui.def: auto-generated DEF file for linker input
-# The routines below will scan the header files and extracts symbol declarations.
-# The symbol 'custom_get_type' is added manually. It's naming deviates from
-# the pattern set by all other public symbols in the glade namespace.
-#
-gladeui.def: $(libgladeuiinclude_HEADERS)
- @echo Generating $@
- @(echo EXPORTS; \
- echo 'custom_get_type'; \
- (cd $(srcdir); cat $(libgladeuiinclude_HEADERS) || echo 'glade_ERROR ()' ) | \
- grep -v -E '^# *include' | \
- grep -v -E '^# *define' | \
- grep -E '[^\(]glade_.*[[:space:]]+\(.*' | \
- sed -e 's/[ ]*(.*//' | \
- sed -e 's/.*glade_/glade_/' | \
- sort; \
- ) >$@
- @ ! grep -q glade_ERROR $@ || ($(RM) $@; false)
-
#
# Marshaller generation
#
@@ -196,7 +177,7 @@
&& mv glade-marshallers-c.tmp glade-marshallers.c \
|| ( rm -f glade-marshallers-c.tmp && exit 1 )
-CLEANFILES = $(BUILT_SOURCES) gladeui.def
+CLEANFILES = $(BUILT_SOURCES)
#
# Introspection generation
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]