aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-09-09 14:17:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-09-09 14:17:30 +0000
commit8d4c9bbd327ebf658d997afd62f83c9d87a410da (patch)
treef8b3f2f672c3a6639f565160d01150202d461638 /x11-toolkits/wxgtk
parent2c19fe23a29d3ed3732a37f65c6c5368d578c094 (diff)
downloadports-8d4c9bbd327ebf658d997afd62f83c9d87a410da.tar.gz
ports-8d4c9bbd327ebf658d997afd62f83c9d87a410da.zip
Update to 2.2.9.
Poked by: joe
Notes
Notes: svn path=/head/; revision=65919
Diffstat (limited to 'x11-toolkits/wxgtk')
-rw-r--r--x11-toolkits/wxgtk/Makefile8
-rw-r--r--x11-toolkits/wxgtk/distinfo2
-rw-r--r--x11-toolkits/wxgtk/files/patch-aa56
-rw-r--r--x11-toolkits/wxgtk/files/patch-ac87
-rw-r--r--x11-toolkits/wxgtk/files/patch-configure78
-rw-r--r--x11-toolkits/wxgtk/files/patch-include::wx::gtk::menu.h15
-rw-r--r--x11-toolkits/wxgtk/files/patch-src::common::strconv.cpp14
-rw-r--r--x11-toolkits/wxgtk/files/patch-wx-config.in16
-rw-r--r--x11-toolkits/wxgtk/pkg-plist11
9 files changed, 142 insertions, 145 deletions
diff --git a/x11-toolkits/wxgtk/Makefile b/x11-toolkits/wxgtk/Makefile
index 06ad2ef54e74..b1f06f2d13c1 100644
--- a/x11-toolkits/wxgtk/Makefile
+++ b/x11-toolkits/wxgtk/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= wxgtk
-PORTVERSION= 2.2.7
+PORTVERSION= 2.2.9
PORTEPOCH= 1
CATEGORIES= x11-toolkits
-MASTER_SITES= ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/ \
- http://www.mirror.ac.uk/sites/wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= wxwindows
DISTNAME= wxGTK-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
@@ -18,6 +18,7 @@ MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
+USE_BZIP2= yes
USE_X_PREFIX= yes
USE_MESA= yes
USE_GMAKE= yes
@@ -31,6 +32,7 @@ CONFIGURE_ARGS= --with-libpng=sys \
--with-zlib=sys \
--with-opengl
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} \
+ -I${WRKSRC}/include \
-I${LOCALBASE}/include \
-I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib \
diff --git a/x11-toolkits/wxgtk/distinfo b/x11-toolkits/wxgtk/distinfo
index 0b003ee855af..a934a397ee54 100644
--- a/x11-toolkits/wxgtk/distinfo
+++ b/x11-toolkits/wxgtk/distinfo
@@ -1 +1 @@
-MD5 (wxGTK-2.2.7.tar.gz) = 042ba034e2bc31ca1df74f6f9f60fe57
+MD5 (wxGTK-2.2.9.tar.bz2) = f9bf738050fca93e33a65081b1c55905
diff --git a/x11-toolkits/wxgtk/files/patch-aa b/x11-toolkits/wxgtk/files/patch-aa
index e4156f619bad..e2a94922c390 100644
--- a/x11-toolkits/wxgtk/files/patch-aa
+++ b/x11-toolkits/wxgtk/files/patch-aa
@@ -1,46 +1,28 @@
$FreeBSD$
---- configure.in.orig Tue May 22 17:27:55 2001
-+++ configure.in Mon May 28 17:26:14 2001
-@@ -1968,16 +1968,12 @@
- WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY}_gl.a"
+--- configure.in.orig Fri Jan 4 17:47:57 2002
++++ configure.in Mon Sep 9 13:59:17 2002
+@@ -2206,14 +2206,12 @@
+ WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
dnl the name of the shared library
--WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
--WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
+-WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
+-WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
+WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.so.2"
+WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl.so.2"
dnl the name of the links to the shared library
--WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
--WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.so"
--WX_LIBRARY_LINK3="lib${WX_LIBRARY}.so"
--WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
--WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
--WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.so"
+-WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
+-WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
+-WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
+-WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
+WX_LIBRARY_LINK1="lib${WX_LIBRARY}.so"
+WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl.so"
- dnl shared library settings
- SHARED_LD=
-@@ -2074,8 +2070,13 @@
- *-*-freebsd* | *-*-openbsd* | *-*-netbsd*)
- SHARED_LD="${CC} -shared -o"
- PIC_FLAG="-fPIC"
-- WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
-- WX_ALL="CREATE_LINKS"
-+ if test "$wxUSE_OPENGL" = "yes"; then
-+ WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
-+ WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
-+ else
-+ WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
-+ WX_ALL="CREATE_LINKS"
-+ fi
- ;;
- *-*-osf* )
- SHARED_LD="${CXX} -shared -o"
-@@ -2749,24 +2750,6 @@
+
+ dnl --- the marker for quick search, leave it here: SHARED_LIB_SETUP ---
+@@ -2994,24 +3000,6 @@
fi
fi
@@ -63,23 +45,21 @@ $FreeBSD$
-fi
-
dnl ---------------------------------------------------------------------------
- dnl Optional libraries
+ dnl the library may be built without GUI classes at all
dnl ---------------------------------------------------------------------------
-@@ -3808,8 +3791,6 @@
- AC_SUBST(WX_LIBRARY)
+@@ -3960,7 +3948,6 @@
+ AC_SUBST(WX_LIBRARY_NAME_SHARED)
AC_SUBST(WX_TARGET_LIBRARY)
AC_SUBST(WX_LIBRARY_LINK1)
-AC_SUBST(WX_LIBRARY_LINK2)
--AC_SUBST(WX_LIBRARY_LINK3)
AC_SUBST(PROGRAM_EXT)
dnl global gl options
-@@ -3819,8 +3800,6 @@
- AC_SUBST(WX_LIBRARY_GL)
+@@ -3968,7 +3955,6 @@
+ AC_SUBST(WX_LIBRARY_NAME_SHARED_GL)
AC_SUBST(WX_TARGET_LIBRARY_GL)
AC_SUBST(WX_LIBRARY_LINK1_GL)
-AC_SUBST(WX_LIBRARY_LINK2_GL)
--AC_SUBST(WX_LIBRARY_LINK3_GL)
dnl are we supposed to create the links?
AC_SUBST(WX_ALL)
diff --git a/x11-toolkits/wxgtk/files/patch-ac b/x11-toolkits/wxgtk/files/patch-ac
index e9cf29bb3964..299113130bd8 100644
--- a/x11-toolkits/wxgtk/files/patch-ac
+++ b/x11-toolkits/wxgtk/files/patch-ac
@@ -1,80 +1,89 @@
$FreeBSD$
---- Makefile.in.orig Fri May 25 05:55:33 2001
-+++ Makefile.in Mon May 28 19:47:06 2001
-@@ -379,39 +379,23 @@
+--- Makefile.in.orig Fri Jan 4 17:47:57 2002
++++ Makefile.in Mon Sep 9 15:55:57 2002
+@@ -342,17 +342,13 @@
- CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
- @$(RM) ./lib/@WX_LIBRARY_LINK1@
-- @$(RM) ./lib/@WX_LIBRARY_LINK2@
-- @$(RM) ./lib/@WX_LIBRARY_LINK3@
- cd lib \
+ $(build_libdir)/@WX_LIBRARY_LINK1@: $(build_libdir)/@WX_LIBRARY_NAME_SHARED@
+ @$(RM) $(build_libdir)/@WX_LIBRARY_LINK1@
+- @$(RM) $(build_libdir)/@WX_LIBRARY_LINK2@
+ cd $(build_libdir) \
- && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@ \
-- && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@ \
-- && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK3@
+- && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK2@
+ && $(LN_S) @WX_TARGET_LIBRARY@ @WX_LIBRARY_LINK1@
- CREATE_LINKS_GL: @WX_LIBRARY_NAME_SHARED_GL@
- @$(RM) ./lib/@WX_LIBRARY_LINK1_GL@
-- @$(RM) ./lib/@WX_LIBRARY_LINK2_GL@
-- @$(RM) ./lib/@WX_LIBRARY_LINK3_GL@
- cd lib \
+ $(build_libdir)/@WX_LIBRARY_LINK1_GL@: $(build_libdir)/@WX_LIBRARY_NAME_SHARED_GL@
+ @$(RM) $(build_libdir)/@WX_LIBRARY_LINK1_GL@
+- @$(RM) $(build_libdir)/@WX_LIBRARY_LINK2_GL@
+ cd $(build_libdir) \
- && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK1_GL@ \
-- && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK2_GL@ \
-- && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK3_GL@
+- && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK2_GL@
+ && $(LN_S) @WX_TARGET_LIBRARY_GL@ @WX_LIBRARY_LINK1_GL@
+ $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
+
+@@ -382,17 +378,13 @@
+
CREATE_INSTALLED_LINKS: preinstall
$(RM) $(libdir)/@WX_LIBRARY_LINK1@
- $(RM) $(libdir)/@WX_LIBRARY_LINK2@
-- $(RM) $(libdir)/@WX_LIBRARY_LINK3@
cd $(libdir) \
- && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK1@ \
-- && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@ \
-- && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK3@
+- && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@
+ && $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK1@
CREATE_INSTALLED_LINKS_GL: preinstall_gl
$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
- $(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
-- $(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
cd $(libdir) \
- && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK1_GL@ \
-- && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK2_GL@ \
-- && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK3_GL@
+- && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK2_GL@
+ && $(LN_S) @WX_LIBRARY_NAME_SHARED_GL@ @WX_LIBRARY_LINK1_GL@
- $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
+ afminstall: preinstall
+ $(INSTALL) -d $(datadir)
+@@ -404,7 +396,7 @@
-@@ -461,11 +445,11 @@
- cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLKIT_NAME@-config wx-config
- $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
+ # this is the real install target: copies the library, wx-config and the
+ # headers to the installation directory
+-preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLCHAIN_NAME@-config
++preinstall:
+ @echo " "
+ @echo " Installing wxWindows..."
+ @echo " "
+@@ -421,11 +413,8 @@
+ @# import livraru name
+ @if test "@TOOLKIT_DIR@" = "msw" -a "@WX_LIBRARY_NAME_STATIC@" != "@WX_TARGET_LIBRARY@"; then $(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_LIBRARY_NAME_STATIC@ $(libdir)/@WX_LIBRARY_NAME_STATIC@; fi
- $(INSTALL) -d $(libdir)/wx
- $(INSTALL) -d $(libdir)/wx/include
-- $(INSTALL) -d $(libdir)/wx/include/wx
-- $(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_NAME@
-- $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
-+# $(INSTALL) -d $(libdir)/wx
-+# $(INSTALL) -d $(libdir)/wx/include
+- $(INSTALL) -d $(libdir)/wx/include/@TOOLCHAIN_NAME@
+- $(INSTALL) -d $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx
+- $(INSTALL_DATA) $(top_builddir)/lib/wx/include/@TOOLCHAIN_NAME@/wx/setup.h $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx/setup.h
+ $(INSTALL) -d $(prefix)/include/wx
-+ $(INSTALL) -d $(prefix)/include/wx/@TOOLKIT_NAME@
-+ $(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(prefix)/include/wx/@TOOLKIT_NAME@/setup.h
++ $(INSTALL_DATA) $(top_builddir)/lib/wx/include/@TOOLCHAIN_NAME@/wx/setup.h $(prefix)/include/wx/setup.h
$(INSTALL) -d $(includedir)/wx
- @if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
-@@ -513,13 +497,9 @@
+ @# FIXME: This will erroneously install a wx/base dir for wxBase..
+@@ -449,7 +438,7 @@
+ echo "$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo"; \
+ done
+
+-preinstall_gl: $(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@
++preinstall_gl:
+ @echo " "
+ @echo " Installing wxWindows OpenGl add-on..."
+ @echo " "
+@@ -476,11 +465,9 @@
@echo " Removing library..."
@$(RM) $(libdir)/@WX_TARGET_LIBRARY@
@$(RM) $(libdir)/@WX_LIBRARY_LINK1@
- @$(RM) $(libdir)/@WX_LIBRARY_LINK2@
-- @$(RM) $(libdir)/@WX_LIBRARY_LINK3@
@echo " Removing GL library..."
@$(RM) $(libdir)/@WX_TARGET_LIBRARY_GL@
@$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
- @$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
-- @$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
@echo " Removing helper files..."
- @$(RM) $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
+ @$(RM) $(libdir)/wx/include/@TOOLCHAIN_NAME@/wx/setup.h
@$(RM) $(bindir)/wx-config
diff --git a/x11-toolkits/wxgtk/files/patch-configure b/x11-toolkits/wxgtk/files/patch-configure
index 1b8b18df93b2..9f94e418fd5b 100644
--- a/x11-toolkits/wxgtk/files/patch-configure
+++ b/x11-toolkits/wxgtk/files/patch-configure
@@ -1,16 +1,16 @@
$FreeBSD$
---- configure.orig Mon Jul 23 14:48:10 2001
-+++ configure Mon Jul 23 15:12:50 2001
-@@ -7452,14 +7452,14 @@
- TOOLKIT=GTK
- GUIDIST=GTK_DIST
+--- configure.orig Mon Sep 9 14:00:36 2002
++++ configure Mon Sep 9 14:20:43 2002
+@@ -7993,14 +7993,14 @@
+ TOOLKIT=GTK
+ GUIDIST=GTK_DIST
-- echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
--echo "configure:7457: checking for gdk_im_open in -lgdk" >&5
-+ echo $ac_n "checking for gdk_im_open in -lgdk12""... $ac_c" 1>&6
-+echo "configure:7457: checking for gdk_im_open in -lgdk12" >&5
+- echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
+-echo "configure:7998: checking for gdk_im_open in -lgdk" >&5
++ echo $ac_n "checking for gdk_im_open in -lgdk12""... $ac_c" 1>&6
++echo "configure:7998: checking for gdk_im_open in -lgdk12" >&5
ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -19,47 +19,27 @@ $FreeBSD$
-LIBS="-lgdk $LIBS"
+LIBS="-lgdk12 $LIBS"
cat > conftest.$ac_ext <<EOF
- #line 7465 "configure"
+ #line 8006 "configure"
#include "confdefs.h"
-@@ -8707,16 +8707,12 @@
+@@ -9395,13 +9395,11 @@
WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
- WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY}_gl.a"
+ WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
--WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
--WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
--
--WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
--WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.so"
--WX_LIBRARY_LINK3="lib${WX_LIBRARY}.so"
--WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
--WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
--WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.so"
+-WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
+-WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
+WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.so.2"
+WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl.so.2"
+-WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
+-WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
+-WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
+-WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
+WX_LIBRARY_LINK1="lib${WX_LIBRARY}.so"
+WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl.so"
-+
- SHARED_LD=
- PIC_FLAG=
- WX_ALL=
-@@ -8805,8 +8801,13 @@
- *-*-freebsd* | *-*-openbsd* | *-*-netbsd*)
- SHARED_LD="${CC} -shared -o"
- PIC_FLAG="-fPIC"
-- WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
-- WX_ALL="CREATE_LINKS"
-+ if test "$wxUSE_OPENGL" = "yes"; then
-+ WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
-+ WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
-+ else
-+ WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
-+ WX_ALL="CREATE_LINKS"
-+ fi
- ;;
- *-*-osf* )
- SHARED_LD="${CXX} -shared -o"
-@@ -12054,24 +12055,6 @@
+
+
+
+@@ -12796,24 +12802,6 @@
fi
@@ -81,24 +61,20 @@ $FreeBSD$
-fi
-
-
- ZLIB_INCLUDE=
- if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
+ if test "$wxUSE_GUI" = "yes"; then
cat >> confdefs.h <<\EOF
-@@ -14754,8 +14737,6 @@
- s%@WX_LIBRARY@%$WX_LIBRARY%g
+ #define wxUSE_GUI 1
+@@ -14995,13 +14983,11 @@
+ s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
-s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
--s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
s%@PROGRAM_EXT@%$PROGRAM_EXT%g
- s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
-@@ -14763,8 +14744,6 @@
- s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
+ s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
-s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
--s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
s%@WX_ALL@%$WX_ALL%g
s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
s%@SHARED_LD@%$SHARED_LD%g
diff --git a/x11-toolkits/wxgtk/files/patch-include::wx::gtk::menu.h b/x11-toolkits/wxgtk/files/patch-include::wx::gtk::menu.h
new file mode 100644
index 000000000000..94cee68182cb
--- /dev/null
+++ b/x11-toolkits/wxgtk/files/patch-include::wx::gtk::menu.h
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- include/wx/gtk/menu.h 2002/09/09 11:38:53 1.1
++++ include/wx/gtk/menu.h 2002/09/09 11:39:09
+@@ -85,7 +85,9 @@
+ {
+ Init();
+
++#if wxUSE_MENU_CALLBACK
+ Callback(func);
++#endif // wxUSE_MENU_CALLBACK
+ }
+
+ // implementation
diff --git a/x11-toolkits/wxgtk/files/patch-src::common::strconv.cpp b/x11-toolkits/wxgtk/files/patch-src::common::strconv.cpp
new file mode 100644
index 000000000000..67d30a0f4980
--- /dev/null
+++ b/x11-toolkits/wxgtk/files/patch-src::common::strconv.cpp
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/common/strconv.cpp 2002/09/09 13:18:00 1.1
++++ src/common/strconv.cpp 2002/09/09 13:18:10
+@@ -358,7 +358,7 @@
+ #if defined(__BORLANDC__) && (__BORLANDC__ > 0x530)
+ return std::wcslen(psz);
+ #else
+- return ::wcslen(psz);
++ return wcslen(psz);
+ #endif
+ }
+
diff --git a/x11-toolkits/wxgtk/files/patch-wx-config.in b/x11-toolkits/wxgtk/files/patch-wx-config.in
index 89574988948a..7a36184a90b8 100644
--- a/x11-toolkits/wxgtk/files/patch-wx-config.in
+++ b/x11-toolkits/wxgtk/files/patch-wx-config.in
@@ -1,14 +1,14 @@
$FreeBSD$
---- wx-config.in 2001/05/28 16:47:21 1.1
-+++ wx-config.in 2001/05/28 16:50:00
-@@ -31,7 +31,7 @@
- includes=-I@includedir@
- fi
+--- wx-config.in.orig Fri Jan 4 17:47:57 2002
++++ wx-config.in Mon Sep 9 14:22:16 2002
+@@ -35,7 +35,7 @@
+ then
+ includes=-I@includedir@
fi
-- includes="$includes -I@libdir@/wx/include -D__USE_WXCONFIG__"
-+ includes="$includes -I@prefix@/include -D__USE_WXCONFIG__"
- echo $includes @WXDEBUG_DEFINE@ @TOOLKIT_DEF@ @WXCONFIG_INCLUDE@
+- includes="-I@libdir@/wx/include/@TOOLCHAIN_NAME@ $includes"
++ includes="-I@prefix@/include/@TOOLCHAIN_NAME@ $includes"
+ echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @WXCONFIG_INCLUDE@
}
diff --git a/x11-toolkits/wxgtk/pkg-plist b/x11-toolkits/wxgtk/pkg-plist
index 027907882ed5..ed1aeef67695 100644
--- a/x11-toolkits/wxgtk/pkg-plist
+++ b/x11-toolkits/wxgtk/pkg-plist
@@ -1,5 +1,5 @@
bin/wx-config
-bin/wxgtk-config
+bin/wxgtk-2.2-config
include/wx/accel.h
include/wx/app.h
include/wx/arrimpl.cpp
@@ -321,10 +321,10 @@ include/wx/wxprec.h
include/wx/xpmhand.h
include/wx/zipstrm.h
include/wx/zstream.h
-lib/libwx_gtk.so
-lib/libwx_gtk.so.2
-lib/libwx_gtk_gl.so
-lib/libwx_gtk_gl.so.2
+lib/libwx_gtk-2.2.so
+lib/libwx_gtk-2.2.so.2
+lib/libwx_gtk-2.2_gl.so
+lib/libwx_gtk-2.2_gl.so.2
share/locale/cs/LC_MESSAGES/wxstd.mo
share/locale/da/LC_MESSAGES/wxstd.mo
share/locale/de/LC_MESSAGES/wxstd.mo
@@ -334,6 +334,7 @@ share/locale/fr/LC_MESSAGES/wxstd.mo
share/locale/it/LC_MESSAGES/wxstd.mo
share/locale/nl/LC_MESSAGES/wxstd.mo
share/locale/ru/LC_MESSAGES/wxstd.mo
+share/locale/sl/LC_MESSAGES/wxstd.mo
share/locale/sv/LC_MESSAGES/wxstd.mo
share/locale/zh/LC_MESSAGES/wxstd.mo
share/wx/afm/Cour.afm