]> git.pld-linux.org Git - packages/wxWidgets.git/commitdiff
- link wxGTK2 libs with -lpangox (needed for gtk+ 2.8.x)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 5 Sep 2005 05:49:55 +0000 (05:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wxWidgets-pangox.patch -> 1.1

wxWidgets-pangox.patch [new file with mode: 0644]

diff --git a/wxWidgets-pangox.patch b/wxWidgets-pangox.patch
new file mode 100644 (file)
index 0000000..ce268ae
--- /dev/null
@@ -0,0 +1,29 @@
+--- wxWidgets-2.6.1/configure.in.orig  2005-09-04 17:57:44.359484848 +0200
++++ wxWidgets-2.6.1/configure.in       2005-09-04 17:58:34.275896400 +0200
+@@ -2608,6 +2608,8 @@
+     WIN32INSTALL=win32install
+ fi
++PKG_PROG_PKG_CONFIG
++
+ if test "$wxUSE_GUI" = "yes"; then
+     USE_GUI=1
+@@ -2721,10 +2723,16 @@
+             save_CFLAGS="$CFLAGS"
+             save_LIBS="$LIBS"
+             CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
+-            LIBS="$LIBS $wx_cv_lib_gtk"
++            LIBS="$LIBS $wx_cv_libs_gtk"
+             
+             AC_CHECK_FUNCS([pango_font_family_is_monospace])
+             
++            dnl needed for pango_x_get_context() in src/gtk/window.cpp
++            PKG_CHECK_MODULES(PANGOX, pangox,
++                    [wx_cv_libs_gtk="$wx_cv_libs_gtk $PANGOX_LIBS"],
++                    [AC_MSG_ERROR([pangox library not found])]
++            )
++
+             dnl test if we have at least GTK+ 2.4:
+             AC_MSG_CHECKING([if GTK+ is version >= 2.4])
+             AC_TRY_COMPILE([
This page took 0.100569 seconds and 4 git commands to generate.