From 9827d58a9f7435b2bdb9704a4d0d8be53e1da63d Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 22 Sep 2008 19:44:05 +0000 Subject: Reimport x11/wxGTK as x11/wxGTK26. --- x11/wxGTK26/DESCR | 23 ++ x11/wxGTK26/Makefile | 25 ++ x11/wxGTK26/Makefile.common | 54 ++++ x11/wxGTK26/PLIST | 519 +++++++++++++++++++++++++++++++ x11/wxGTK26/PLIST.Darwin | 4 + x11/wxGTK26/buildlink3.mk | 27 ++ x11/wxGTK26/distinfo | 10 + x11/wxGTK26/hacks.mk | 19 ++ x11/wxGTK26/patches/manual-bakefile.diff | 208 +++++++++++++ x11/wxGTK26/patches/manual-regen.diff | 50 +++ x11/wxGTK26/patches/patch-aa | 78 +++++ x11/wxGTK26/patches/patch-ab | 28 ++ 12 files changed, 1045 insertions(+) create mode 100644 x11/wxGTK26/DESCR create mode 100644 x11/wxGTK26/Makefile create mode 100644 x11/wxGTK26/Makefile.common create mode 100644 x11/wxGTK26/PLIST create mode 100644 x11/wxGTK26/PLIST.Darwin create mode 100644 x11/wxGTK26/buildlink3.mk create mode 100644 x11/wxGTK26/distinfo create mode 100644 x11/wxGTK26/hacks.mk create mode 100644 x11/wxGTK26/patches/manual-bakefile.diff create mode 100644 x11/wxGTK26/patches/manual-regen.diff create mode 100644 x11/wxGTK26/patches/patch-aa create mode 100644 x11/wxGTK26/patches/patch-ab (limited to 'x11') diff --git a/x11/wxGTK26/DESCR b/x11/wxGTK26/DESCR new file mode 100644 index 00000000000..e81d1b332b4 --- /dev/null +++ b/x11/wxGTK26/DESCR @@ -0,0 +1,23 @@ +A GTK+-based implementation of the wxWidgets cross-platform GUI library. + +wxWidgets is a set of libraries that allows C++ applications to compile and +run on several different types of computer, with minimal source code changes. +There is one library per supported GUI (such as Windows, GTK+, Motif, and Mac). +As well as providing a common API (Application Programming Interface) for GUI +functionality, it provides functionality for accessing some commonly-used +operating system facilities, from copying and deleting files to socket and +thread support. wxWidgets is a 'framework' in the sense that it provides a lot +of built-in functionality, which the application can use or replace as required, +thus saving a great deal of coding effort. Basic data structures such as +strings, arrays, linked lists and hash tables are also supported. + +Such a toolkit is not unique - there are others to choose from - but wxWidgets +is free, well-established, well-documented, and very broad in its coverage of +GUI functionality. It has some extras that make it stand out from the crowd, +such as the many convenience dialogs, built-in HTML display and printing, +virtual filesystems, easy-to-use OLE automation controller class, Open GL +support, and many other features that make it easier to write modern and +user-friendly applications. + +There is also a python interface available, wxPython (see the py-wxWidgets +package). diff --git a/x11/wxGTK26/Makefile b/x11/wxGTK26/Makefile new file mode 100644 index 00000000000..8d65a9a89ec --- /dev/null +++ b/x11/wxGTK26/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $ +# + +.include "Makefile.common" + +PKGREVISION= 2 +COMMENT= GTK-based implementation of the wxWidgets GUI library + +post-build: + set -e; cd ${WRKSRC}/locale; \ + for lang in ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk \ + zh_CN zh_TW; do \ + ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ + done + set -e; cd ${WRKSRC}/locale/msw; \ + for lang in it; do \ + ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ + done + +post-install: + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DESTDIR}${DOCDIR}/LICENSE + +.include "../../mk/oss.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/wxGTK26/Makefile.common b/x11/wxGTK26/Makefile.common new file mode 100644 index 00000000000..2dd2949cab0 --- /dev/null +++ b/x11/wxGTK26/Makefile.common @@ -0,0 +1,54 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $ +# + +DISTNAME= wxGTK-2.6.3 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxwindows/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= joerg@NetBSD.org +HOMEPAGE= http://www.wxwidgets.org/ + +PATCHDIR= ${.CURDIR}/../../x11/wxGTK/patches +DISTINFO_FILE= ${.CURDIR}/../../x11/wxGTK/distinfo + +PATCHFILES= ${DISTNAME}-libtool.diff3.bz2 +PATCH_SITES= ${MASTER_SITE_LOCAL} + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_TOOLS+= pkg-config msgfmt +USE_LIBTOOL= yes +USE_PKGLOCALEDIR= YES +USE_LANGUAGES= c c++ +GNU_CONFIGURE= YES +USE_GNU_CONFIGURE_HOST= no +CONFIGURE_ARGS+= --with-gtk=2 +CONFIGURE_ARGS+= --with-libjpeg=sys +CONFIGURE_ARGS+= --with-libpng=sys +CONFIGURE_ARGS+= --with-libtiff=sys +CONFIGURE_ARGS+= --with-opengl +CONFIGURE_ARGS+= --with-zlib=sys +CONFIGURE_ARGS+= --with-regex=builtin +CONFIGURE_ENV+= BUILDLINK_DIR=${BUILDLINK_DIR:Q} +MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q} + +#CONFIGURE_ARGS+= --enable-unicode +#PLIST_SUBST+= UNICODE=u +PLIST_SUBST+= UNICODE= +PLIST_SUBST+= BUILDTYPE=ansi + +CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this + +DOCDIR= ${PREFIX}/share/doc/wxGTK + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/glu/buildlink3.mk" +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../graphics/tiff/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + +.include "../../mk/pthread.buildlink3.mk" diff --git a/x11/wxGTK26/PLIST b/x11/wxGTK26/PLIST new file mode 100644 index 00000000000..f003f6ec7cf --- /dev/null +++ b/x11/wxGTK26/PLIST @@ -0,0 +1,519 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $ +bin/wx-config +bin/wxrc +bin/wxrc-2.6 +include/wx-2.6/wx/accel.h +include/wx-2.6/wx/access.h +include/wx-2.6/wx/afterstd.h +include/wx-2.6/wx/app.h +include/wx-2.6/wx/apptrait.h +include/wx-2.6/wx/archive.h +include/wx-2.6/wx/arrimpl.cpp +include/wx-2.6/wx/arrstr.h +include/wx-2.6/wx/artprov.h +include/wx-2.6/wx/beforestd.h +include/wx-2.6/wx/bitmap.h +include/wx-2.6/wx/bmpbuttn.h +include/wx-2.6/wx/bookctrl.h +include/wx-2.6/wx/brush.h +include/wx-2.6/wx/buffer.h +include/wx-2.6/wx/build.h +include/wx-2.6/wx/busyinfo.h +include/wx-2.6/wx/button.h +include/wx-2.6/wx/calctrl.h +include/wx-2.6/wx/caret.h +include/wx-2.6/wx/checkbox.h +include/wx-2.6/wx/checklst.h +include/wx-2.6/wx/chkconf.h +include/wx-2.6/wx/choicdlg.h +include/wx-2.6/wx/choice.h +include/wx-2.6/wx/choicebk.h +include/wx-2.6/wx/clipbrd.h +include/wx-2.6/wx/clntdata.h +include/wx-2.6/wx/cmdline.h +include/wx-2.6/wx/cmdproc.h +include/wx-2.6/wx/cmndata.h +include/wx-2.6/wx/colordlg.h +include/wx-2.6/wx/colour.h +include/wx-2.6/wx/combobox.h +include/wx-2.6/wx/confbase.h +include/wx-2.6/wx/config.h +include/wx-2.6/wx/containr.h +include/wx-2.6/wx/control.h +include/wx-2.6/wx/cshelp.h +include/wx-2.6/wx/ctrlsub.h +include/wx-2.6/wx/cursor.h +include/wx-2.6/wx/dataobj.h +include/wx-2.6/wx/datectrl.h +include/wx-2.6/wx/dateevt.h +include/wx-2.6/wx/datetime.h +include/wx-2.6/wx/datstrm.h +include/wx-2.6/wx/db.h +include/wx-2.6/wx/dbgrid.h +include/wx-2.6/wx/dbkeyg.h +include/wx-2.6/wx/dbtable.h +include/wx-2.6/wx/dc.h +include/wx-2.6/wx/dcbuffer.h +include/wx-2.6/wx/dcclient.h +include/wx-2.6/wx/dcmemory.h +include/wx-2.6/wx/dcmirror.h +include/wx-2.6/wx/dcprint.h +include/wx-2.6/wx/dcps.h +include/wx-2.6/wx/dcscreen.h +include/wx-2.6/wx/dde.h +include/wx-2.6/wx/debug.h +include/wx-2.6/wx/debugrpt.h +include/wx-2.6/wx/defs.h +include/wx-2.6/wx/dialog.h +include/wx-2.6/wx/dialup.h +include/wx-2.6/wx/dir.h +include/wx-2.6/wx/dirctrl.h +include/wx-2.6/wx/dirdlg.h +include/wx-2.6/wx/display.h +include/wx-2.6/wx/dlimpexp.h +include/wx-2.6/wx/dnd.h +include/wx-2.6/wx/docmdi.h +include/wx-2.6/wx/docview.h +include/wx-2.6/wx/dragimag.h +include/wx-2.6/wx/dynarray.h +include/wx-2.6/wx/dynlib.h +include/wx-2.6/wx/dynload.h +include/wx-2.6/wx/effects.h +include/wx-2.6/wx/encconv.h +include/wx-2.6/wx/encinfo.h +include/wx-2.6/wx/event.h +include/wx-2.6/wx/evtloop.h +include/wx-2.6/wx/except.h +include/wx-2.6/wx/fdrepdlg.h +include/wx-2.6/wx/features.h +include/wx-2.6/wx/ffile.h +include/wx-2.6/wx/file.h +include/wx-2.6/wx/fileconf.h +include/wx-2.6/wx/filedlg.h +include/wx-2.6/wx/filefn.h +include/wx-2.6/wx/filename.h +include/wx-2.6/wx/filesys.h +include/wx-2.6/wx/fmappriv.h +include/wx-2.6/wx/font.h +include/wx-2.6/wx/fontdlg.h +include/wx-2.6/wx/fontenc.h +include/wx-2.6/wx/fontenum.h +include/wx-2.6/wx/fontmap.h +include/wx-2.6/wx/fontutil.h +include/wx-2.6/wx/frame.h +include/wx-2.6/wx/fs_inet.h +include/wx-2.6/wx/fs_mem.h +include/wx-2.6/wx/fs_zip.h +include/wx-2.6/wx/gauge.h +include/wx-2.6/wx/gbsizer.h +include/wx-2.6/wx/gdicmn.h +include/wx-2.6/wx/gdiobj.h +include/wx-2.6/wx/generic/accel.h +include/wx-2.6/wx/generic/calctrl.h +include/wx-2.6/wx/generic/caret.h +include/wx-2.6/wx/generic/choicdgg.h +include/wx-2.6/wx/generic/colrdlgg.h +include/wx-2.6/wx/generic/datectrl.h +include/wx-2.6/wx/generic/dcpsg.h +include/wx-2.6/wx/generic/dirctrlg.h +include/wx-2.6/wx/generic/dirdlgg.h +include/wx-2.6/wx/generic/dragimgg.h +include/wx-2.6/wx/generic/fdrepdlg.h +include/wx-2.6/wx/generic/filedlgg.h +include/wx-2.6/wx/generic/fontdlgg.h +include/wx-2.6/wx/generic/grid.h +include/wx-2.6/wx/generic/gridctrl.h +include/wx-2.6/wx/generic/gridsel.h +include/wx-2.6/wx/generic/helpext.h +include/wx-2.6/wx/generic/imaglist.h +include/wx-2.6/wx/generic/laywin.h +include/wx-2.6/wx/generic/listctrl.h +include/wx-2.6/wx/generic/logg.h +include/wx-2.6/wx/generic/msgdlgg.h +include/wx-2.6/wx/generic/notebook.h +include/wx-2.6/wx/generic/numdlgg.h +include/wx-2.6/wx/generic/paletteg.h +include/wx-2.6/wx/generic/panelg.h +include/wx-2.6/wx/generic/printps.h +include/wx-2.6/wx/generic/prntdlgg.h +include/wx-2.6/wx/generic/progdlgg.h +include/wx-2.6/wx/generic/propdlg.h +include/wx-2.6/wx/generic/sashwin.h +include/wx-2.6/wx/generic/scrolwin.h +include/wx-2.6/wx/generic/spinctlg.h +include/wx-2.6/wx/generic/splash.h +include/wx-2.6/wx/generic/splitter.h +include/wx-2.6/wx/generic/statusbr.h +include/wx-2.6/wx/generic/tabg.h +include/wx-2.6/wx/generic/textdlgg.h +include/wx-2.6/wx/generic/timer.h +include/wx-2.6/wx/generic/treectlg.h +include/wx-2.6/wx/generic/wizard.h +include/wx-2.6/wx/geometry.h +include/wx-2.6/wx/gifdecod.h +include/wx-2.6/wx/glcanvas.h +include/wx-2.6/wx/grid.h +include/wx-2.6/wx/gsocket.h +include/wx-2.6/wx/gtk/accel.h +include/wx-2.6/wx/gtk/app.h +include/wx-2.6/wx/gtk/bitmap.h +include/wx-2.6/wx/gtk/bmpbuttn.h +include/wx-2.6/wx/gtk/brush.h +include/wx-2.6/wx/gtk/button.h +include/wx-2.6/wx/gtk/checkbox.h +include/wx-2.6/wx/gtk/checklst.h +include/wx-2.6/wx/gtk/choice.h +include/wx-2.6/wx/gtk/clipbrd.h +include/wx-2.6/wx/gtk/colordlg.h +include/wx-2.6/wx/gtk/colour.h +include/wx-2.6/wx/gtk/combobox.h +include/wx-2.6/wx/gtk/control.h +include/wx-2.6/wx/gtk/cursor.h +include/wx-2.6/wx/gtk/dataform.h +include/wx-2.6/wx/gtk/dataobj.h +include/wx-2.6/wx/gtk/dataobj2.h +include/wx-2.6/wx/gtk/dc.h +include/wx-2.6/wx/gtk/dcclient.h +include/wx-2.6/wx/gtk/dcmemory.h +include/wx-2.6/wx/gtk/dcscreen.h +include/wx-2.6/wx/gtk/dialog.h +include/wx-2.6/wx/gtk/dnd.h +include/wx-2.6/wx/gtk/filedlg.h +include/wx-2.6/wx/gtk/font.h +include/wx-2.6/wx/gtk/fontdlg.h +include/wx-2.6/wx/gtk/frame.h +include/wx-2.6/wx/gtk/gauge.h +include/wx-2.6/wx/gtk/gdiobj.h +include/wx-2.6/wx/gtk/glcanvas.h +include/wx-2.6/wx/gtk/gnome/gprint.h +include/wx-2.6/wx/gtk/icon.h +include/wx-2.6/wx/gtk/listbox.h +include/wx-2.6/wx/gtk/mdi.h +include/wx-2.6/wx/gtk/menu.h +include/wx-2.6/wx/gtk/menuitem.h +include/wx-2.6/wx/gtk/minifram.h +include/wx-2.6/wx/gtk/msgdlg.h +include/wx-2.6/wx/gtk/notebook.h +include/wx-2.6/wx/gtk/pen.h +include/wx-2.6/wx/gtk/popupwin.h +include/wx-2.6/wx/gtk/radiobox.h +include/wx-2.6/wx/gtk/radiobut.h +include/wx-2.6/wx/gtk/region.h +include/wx-2.6/wx/gtk/scrolbar.h +include/wx-2.6/wx/gtk/scrolwin.h +include/wx-2.6/wx/gtk/slider.h +include/wx-2.6/wx/gtk/spinbutt.h +include/wx-2.6/wx/gtk/spinctrl.h +include/wx-2.6/wx/gtk/statbmp.h +include/wx-2.6/wx/gtk/statbox.h +include/wx-2.6/wx/gtk/statline.h +include/wx-2.6/wx/gtk/stattext.h +include/wx-2.6/wx/gtk/tbargtk.h +include/wx-2.6/wx/gtk/textctrl.h +include/wx-2.6/wx/gtk/tglbtn.h +include/wx-2.6/wx/gtk/timer.h +include/wx-2.6/wx/gtk/tooltip.h +include/wx-2.6/wx/gtk/toplevel.h +include/wx-2.6/wx/gtk/treectrl.h +include/wx-2.6/wx/gtk/win_gtk.h +include/wx-2.6/wx/gtk/window.h +include/wx-2.6/wx/hash.h +include/wx-2.6/wx/hashmap.h +include/wx-2.6/wx/hashset.h +include/wx-2.6/wx/help.h +include/wx-2.6/wx/helpbase.h +include/wx-2.6/wx/helphtml.h +include/wx-2.6/wx/helpwin.h +include/wx-2.6/wx/html/forcelnk.h +include/wx-2.6/wx/html/helpctrl.h +include/wx-2.6/wx/html/helpdata.h +include/wx-2.6/wx/html/helpfrm.h +include/wx-2.6/wx/html/htmlcell.h +include/wx-2.6/wx/html/htmldefs.h +include/wx-2.6/wx/html/htmlfilt.h +include/wx-2.6/wx/html/htmlpars.h +include/wx-2.6/wx/html/htmlproc.h +include/wx-2.6/wx/html/htmltag.h +include/wx-2.6/wx/html/htmlwin.h +include/wx-2.6/wx/html/htmprint.h +include/wx-2.6/wx/html/m_templ.h +include/wx-2.6/wx/html/winpars.h +include/wx-2.6/wx/htmllbox.h +include/wx-2.6/wx/icon.h +include/wx-2.6/wx/iconbndl.h +include/wx-2.6/wx/iconloc.h +include/wx-2.6/wx/imagbmp.h +include/wx-2.6/wx/image.h +include/wx-2.6/wx/imaggif.h +include/wx-2.6/wx/imagiff.h +include/wx-2.6/wx/imagjpeg.h +include/wx-2.6/wx/imaglist.h +include/wx-2.6/wx/imagpcx.h +include/wx-2.6/wx/imagpng.h +include/wx-2.6/wx/imagpnm.h +include/wx-2.6/wx/imagtiff.h +include/wx-2.6/wx/imagxpm.h +include/wx-2.6/wx/init.h +include/wx-2.6/wx/intl.h +include/wx-2.6/wx/iosfwrap.h +include/wx-2.6/wx/ioswrap.h +include/wx-2.6/wx/ipc.h +include/wx-2.6/wx/ipcbase.h +include/wx-2.6/wx/isql.h +include/wx-2.6/wx/isqlext.h +include/wx-2.6/wx/joystick.h +include/wx-2.6/wx/layout.h +include/wx-2.6/wx/laywin.h +include/wx-2.6/wx/list.h +include/wx-2.6/wx/listbase.h +include/wx-2.6/wx/listbook.h +include/wx-2.6/wx/listbox.h +include/wx-2.6/wx/listctrl.h +include/wx-2.6/wx/listimpl.cpp +include/wx-2.6/wx/log.h +include/wx-2.6/wx/longlong.h +include/wx-2.6/wx/math.h +include/wx-2.6/wx/matrix.h +include/wx-2.6/wx/mdi.h +include/wx-2.6/wx/mediactrl.h +include/wx-2.6/wx/memconf.h +include/wx-2.6/wx/memory.h +include/wx-2.6/wx/memtext.h +include/wx-2.6/wx/menu.h +include/wx-2.6/wx/menuitem.h +include/wx-2.6/wx/metafile.h +include/wx-2.6/wx/mimetype.h +include/wx-2.6/wx/minifram.h +include/wx-2.6/wx/module.h +include/wx-2.6/wx/msgdlg.h +include/wx-2.6/wx/msgout.h +include/wx-2.6/wx/mstream.h +include/wx-2.6/wx/notebook.h +include/wx-2.6/wx/numdlg.h +include/wx-2.6/wx/object.h +include/wx-2.6/wx/ownerdrw.h +include/wx-2.6/wx/palette.h +include/wx-2.6/wx/panel.h +include/wx-2.6/wx/paper.h +include/wx-2.6/wx/pen.h +include/wx-2.6/wx/platform.h +include/wx-2.6/wx/popupwin.h +include/wx-2.6/wx/print.h +include/wx-2.6/wx/printdlg.h +include/wx-2.6/wx/prntbase.h +include/wx-2.6/wx/process.h +include/wx-2.6/wx/progdlg.h +include/wx-2.6/wx/propdlg.h +include/wx-2.6/wx/protocol/file.h +include/wx-2.6/wx/protocol/ftp.h +include/wx-2.6/wx/protocol/http.h +include/wx-2.6/wx/protocol/protocol.h +include/wx-2.6/wx/ptr_scpd.h +include/wx-2.6/wx/quantize.h +include/wx-2.6/wx/radiobox.h +include/wx-2.6/wx/radiobut.h +include/wx-2.6/wx/rawbmp.h +include/wx-2.6/wx/recguard.h +include/wx-2.6/wx/regex.h +include/wx-2.6/wx/region.h +include/wx-2.6/wx/renderer.h +include/wx-2.6/wx/sashwin.h +include/wx-2.6/wx/sckaddr.h +include/wx-2.6/wx/sckipc.h +include/wx-2.6/wx/sckstrm.h +include/wx-2.6/wx/scopeguard.h +include/wx-2.6/wx/scrolbar.h +include/wx-2.6/wx/scrolwin.h +include/wx-2.6/wx/selstore.h +include/wx-2.6/wx/settings.h +include/wx-2.6/wx/sizer.h +include/wx-2.6/wx/slider.h +include/wx-2.6/wx/snglinst.h +include/wx-2.6/wx/socket.h +include/wx-2.6/wx/sound.h +include/wx-2.6/wx/spinbutt.h +include/wx-2.6/wx/spinctrl.h +include/wx-2.6/wx/splash.h +include/wx-2.6/wx/splitter.h +include/wx-2.6/wx/sstream.h +include/wx-2.6/wx/stack.h +include/wx-2.6/wx/stackwalk.h +include/wx-2.6/wx/statbmp.h +include/wx-2.6/wx/statbox.h +include/wx-2.6/wx/statline.h +include/wx-2.6/wx/stattext.h +include/wx-2.6/wx/statusbr.h +include/wx-2.6/wx/stdpaths.h +include/wx-2.6/wx/stockitem.h +include/wx-2.6/wx/stopwatch.h +include/wx-2.6/wx/strconv.h +include/wx-2.6/wx/stream.h +include/wx-2.6/wx/string.h +include/wx-2.6/wx/sysopt.h +include/wx-2.6/wx/tab.h +include/wx-2.6/wx/tabctrl.h +include/wx-2.6/wx/taskbar.h +include/wx-2.6/wx/tbarbase.h +include/wx-2.6/wx/textbuf.h +include/wx-2.6/wx/textctrl.h +include/wx-2.6/wx/textdlg.h +include/wx-2.6/wx/textfile.h +include/wx-2.6/wx/tglbtn.h +include/wx-2.6/wx/thread.h +include/wx-2.6/wx/thrimpl.cpp +include/wx-2.6/wx/timer.h +include/wx-2.6/wx/tipdlg.h +include/wx-2.6/wx/tipwin.h +include/wx-2.6/wx/tokenzr.h +include/wx-2.6/wx/toolbar.h +include/wx-2.6/wx/tooltip.h +include/wx-2.6/wx/toplevel.h +include/wx-2.6/wx/treebase.h +include/wx-2.6/wx/treectrl.h +include/wx-2.6/wx/txtstrm.h +include/wx-2.6/wx/types.h +include/wx-2.6/wx/unix/apptbase.h +include/wx-2.6/wx/unix/apptrait.h +include/wx-2.6/wx/unix/displayx11.h +include/wx-2.6/wx/unix/execute.h +include/wx-2.6/wx/unix/fontutil.h +include/wx-2.6/wx/unix/gsockunx.h +include/wx-2.6/wx/unix/joystick.h +include/wx-2.6/wx/unix/mimetype.h +include/wx-2.6/wx/unix/pipe.h +include/wx-2.6/wx/unix/sound.h +include/wx-2.6/wx/unix/stackwalk.h +include/wx-2.6/wx/unix/stdpaths.h +include/wx-2.6/wx/unix/taskbarx11.h +include/wx-2.6/wx/unix/utilsx11.h +include/wx-2.6/wx/uri.h +include/wx-2.6/wx/url.h +include/wx-2.6/wx/utils.h +include/wx-2.6/wx/valgen.h +include/wx-2.6/wx/validate.h +include/wx-2.6/wx/valtext.h +include/wx-2.6/wx/variant.h +include/wx-2.6/wx/vector.h +include/wx-2.6/wx/version.h +include/wx-2.6/wx/vidmode.h +include/wx-2.6/wx/vlbox.h +include/wx-2.6/wx/vms_x_fix.h +include/wx-2.6/wx/volume.h +include/wx-2.6/wx/vscroll.h +include/wx-2.6/wx/wave.h +include/wx-2.6/wx/wfstream.h +include/wx-2.6/wx/window.h +include/wx-2.6/wx/wizard.h +include/wx-2.6/wx/wx.h +include/wx-2.6/wx/wxchar.h +include/wx-2.6/wx/wxhtml.h +include/wx-2.6/wx/wxprec.h +include/wx-2.6/wx/xml/xml.h +include/wx-2.6/wx/xpmdecod.h +include/wx-2.6/wx/xpmhand.h +include/wx-2.6/wx/xrc/xh_all.h +include/wx-2.6/wx/xrc/xh_bmp.h +include/wx-2.6/wx/xrc/xh_bmpbt.h +include/wx-2.6/wx/xrc/xh_bttn.h +include/wx-2.6/wx/xrc/xh_cald.h +include/wx-2.6/wx/xrc/xh_chckb.h +include/wx-2.6/wx/xrc/xh_chckl.h +include/wx-2.6/wx/xrc/xh_choic.h +include/wx-2.6/wx/xrc/xh_choicbk.h +include/wx-2.6/wx/xrc/xh_combo.h +include/wx-2.6/wx/xrc/xh_datectrl.h +include/wx-2.6/wx/xrc/xh_dlg.h +include/wx-2.6/wx/xrc/xh_frame.h +include/wx-2.6/wx/xrc/xh_gauge.h +include/wx-2.6/wx/xrc/xh_gdctl.h +include/wx-2.6/wx/xrc/xh_html.h +include/wx-2.6/wx/xrc/xh_listb.h +include/wx-2.6/wx/xrc/xh_listbk.h +include/wx-2.6/wx/xrc/xh_listc.h +include/wx-2.6/wx/xrc/xh_mdi.h +include/wx-2.6/wx/xrc/xh_menu.h +include/wx-2.6/wx/xrc/xh_notbk.h +include/wx-2.6/wx/xrc/xh_panel.h +include/wx-2.6/wx/xrc/xh_radbt.h +include/wx-2.6/wx/xrc/xh_radbx.h +include/wx-2.6/wx/xrc/xh_scrol.h +include/wx-2.6/wx/xrc/xh_scwin.h +include/wx-2.6/wx/xrc/xh_sizer.h +include/wx-2.6/wx/xrc/xh_slidr.h +include/wx-2.6/wx/xrc/xh_spin.h +include/wx-2.6/wx/xrc/xh_split.h +include/wx-2.6/wx/xrc/xh_statbar.h +include/wx-2.6/wx/xrc/xh_stbmp.h +include/wx-2.6/wx/xrc/xh_stbox.h +include/wx-2.6/wx/xrc/xh_stlin.h +include/wx-2.6/wx/xrc/xh_sttxt.h +include/wx-2.6/wx/xrc/xh_text.h +include/wx-2.6/wx/xrc/xh_tglbtn.h +include/wx-2.6/wx/xrc/xh_toolb.h +include/wx-2.6/wx/xrc/xh_tree.h +include/wx-2.6/wx/xrc/xh_unkwn.h +include/wx-2.6/wx/xrc/xh_wizrd.h +include/wx-2.6/wx/xrc/xmlres.h +include/wx-2.6/wx/xti.h +include/wx-2.6/wx/xtistrm.h +include/wx-2.6/wx/xtixml.h +include/wx-2.6/wx/zipstrm.h +include/wx-2.6/wx/zstream.h +lib/libwx_base${UNICODE}-2.6.la +lib/libwx_base${UNICODE}_net-2.6.la +lib/libwx_base${UNICODE}_xml-2.6.la +lib/libwx_gtk2${UNICODE}_adv-2.6.la +lib/libwx_gtk2${UNICODE}_core-2.6.la +lib/libwx_gtk2${UNICODE}_gl-2.6.la +lib/libwx_gtk2${UNICODE}_html-2.6.la +lib/libwx_gtk2${UNICODE}_media-2.6.la +lib/libwx_gtk2${UNICODE}_qa-2.6.la +lib/libwx_gtk2${UNICODE}_xrc-2.6.la +lib/libwxregex${UNICODE}-2.6.la +lib/wx/config/gtk2-${BUILDTYPE}-release-2.6 +lib/wx/include/gtk2-${BUILDTYPE}-release-2.6/wx/setup.h +share/aclocal/wxwin.m4 +share/bakefile/presets/wx.bkl +share/bakefile/presets/wx_unix.bkl +share/bakefile/presets/wx_win32.bkl +share/doc/wxGTK/LICENSE +share/locale/ca/LC_MESSAGES/wxstd.mo +share/locale/cs/LC_MESSAGES/wxstd.mo +share/locale/da/LC_MESSAGES/wxstd.mo +share/locale/de/LC_MESSAGES/wxstd.mo +share/locale/el/LC_MESSAGES/wxstd.mo +share/locale/es/LC_MESSAGES/wxstd.mo +share/locale/fi/LC_MESSAGES/wxstd.mo +share/locale/fr/LC_MESSAGES/wxstd.mo +share/locale/hu/LC_MESSAGES/wxstd.mo +share/locale/id/LC_MESSAGES/wxstd.mo +share/locale/it/LC_MESSAGES/wxmsw.mo +share/locale/it/LC_MESSAGES/wxstd.mo +share/locale/ja/LC_MESSAGES/wxstd.mo +share/locale/nl/LC_MESSAGES/wxstd.mo +share/locale/pl/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/tr/LC_MESSAGES/wxstd.mo +share/locale/uk/LC_MESSAGES/wxstd.mo +share/locale/zh_CN/LC_MESSAGES/wxstd.mo +share/locale/zh_TW/LC_MESSAGES/wxstd.mo +@dirrm share/doc/wxGTK +@dirrm share/bakefile/presets +@dirrm share/bakefile +@dirrm lib/wx/include/gtk2-${BUILDTYPE}-release-2.6/wx +@dirrm lib/wx/include/gtk2-${BUILDTYPE}-release-2.6 +@unexec ${RMDIR} %D/lib/wx/include 2>/dev/null || ${TRUE} +@dirrm lib/wx/config +@unexec ${RMDIR} %D/lib/wx 2>/dev/null || ${TRUE} +@dirrm include/wx-2.6/wx/xrc +@dirrm include/wx-2.6/wx/xml +@dirrm include/wx-2.6/wx/unix +@dirrm include/wx-2.6/wx/protocol +@dirrm include/wx-2.6/wx/html +@dirrm include/wx-2.6/wx/gtk/gnome +@dirrm include/wx-2.6/wx/gtk +@dirrm include/wx-2.6/wx/generic +@dirrm include/wx-2.6/wx +@dirrm include/wx-2.6 diff --git a/x11/wxGTK26/PLIST.Darwin b/x11/wxGTK26/PLIST.Darwin new file mode 100644 index 00000000000..5224cfbef05 --- /dev/null +++ b/x11/wxGTK26/PLIST.Darwin @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST.Darwin,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $ +include/wx-2.6/wx/mac/corefoundation/cfstring.h +include/wx-2.6/wx/mac/corefoundation/hid.h +include/wx-2.6/wx/mac/corefoundation/stdpaths.h diff --git a/x11/wxGTK26/buildlink3.mk b/x11/wxGTK26/buildlink3.mk new file mode 100644 index 00000000000..8ff5d5beeb2 --- /dev/null +++ b/x11/wxGTK26/buildlink3.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +WXGTK_BUILDLINK3_MK:= ${WXGTK_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= wxGTK +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NwxGTK} +BUILDLINK_PACKAGES+= wxGTK +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wxGTK + +.if !empty(WXGTK_BUILDLINK3_MK:M+) +BUILDLINK_API_DEPENDS.wxGTK+= wxGTK>=2.6.0nb2 +BUILDLINK_ABI_DEPENDS.wxGTK+= wxGTK>=2.6.3nb1 +BUILDLINK_PKGSRCDIR.wxGTK?= ../../x11/wxGTK +.endif # WXGTK_BUILDLINK3_MK + +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../graphics/tiff/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/x11/wxGTK26/distinfo b/x11/wxGTK26/distinfo new file mode 100644 index 00000000000..1dab2b4295c --- /dev/null +++ b/x11/wxGTK26/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $ + +SHA1 (wxGTK-2.6.3-libtool.diff3.bz2) = 657566a9384a4bc160dffd26678b5e0c6a1cb5b2 +RMD160 (wxGTK-2.6.3-libtool.diff3.bz2) = 233af8dd61317ed1771c1862c6cec65f131b6de0 +Size (wxGTK-2.6.3-libtool.diff3.bz2) = 136446 bytes +SHA1 (wxGTK-2.6.3.tar.bz2) = 7c2dfe27a56aa99b4ea557a436bf84a13a579a9d +RMD160 (wxGTK-2.6.3.tar.bz2) = d7465860d7c07b42d299d4b4c5d015b25f96a9dd +Size (wxGTK-2.6.3.tar.bz2) = 7213119 bytes +SHA1 (patch-aa) = 0ef5ae28b70a3290e37363193248365f4cf03cec +SHA1 (patch-ab) = 3e9c6bc0df33e466390a4f6483b1c84e2eb9257b diff --git a/x11/wxGTK26/hacks.mk b/x11/wxGTK26/hacks.mk new file mode 100644 index 00000000000..86a82b8fa31 --- /dev/null +++ b/x11/wxGTK26/hacks.mk @@ -0,0 +1,19 @@ +# $NetBSD: hacks.mk,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $ +# +# Disable the precompiled headers on NetBSD mipseb and sparc64 +# machines, otherwise wxGTK will not compile there. +# mipseb reported by jmcneill@NetBSD.org. +# sparc64 reported by jdc@NetBSD.org. + + +.if !defined(WXGTK_HACKS_MK) +WXGTK_HACKS_MK= # defined + +.if ${OPSYS} == "NetBSD" && \ + (${MACHINE_ARCH} == "mipseb" || \ + ${MACHINE_ARCH} == "sparc64") +PKG_HACKS+= disable-precomp-headers +CONFIGURE_ARGS+= --disable-precomp-headers +.endif + +.endif # WXGTK_HACKS_MK diff --git a/x11/wxGTK26/patches/manual-bakefile.diff b/x11/wxGTK26/patches/manual-bakefile.diff new file mode 100644 index 00000000000..bc3d6cc1a8f --- /dev/null +++ b/x11/wxGTK26/patches/manual-bakefile.diff @@ -0,0 +1,208 @@ +diff -uNr ../bakefile-0.2.0.orig/rules/autoconf.bkl rules/autoconf.bkl +--- ../bakefile-0.2.0.orig/rules/autoconf.bkl 2006-01-22 23:31:00.000000000 +0000 ++++ rules/autoconf.bkl 2006-07-03 20:34:27.000000000 +0000 +@@ -160,61 +160,18 @@ + + $(__linkname) + +- +- +- $(DLLEXT).$(__soversion1) +- +- +- .$(__soversion1)$(DLLEXT) +- +- $(DLLEXT) +- ++ $(DLLEXT) + + $(DLLPREFIX)$(__dllname)$(__targetsuf2) + + +- +- +- $(DLLEXT).$(__soversion1).$(__soversion2).$(__soversion3) +- +- +- .$(__soversion1).$(__soversion2).$(__soversion3)$(DLLEXT) +- +- +- -$(__soversion1)$(DLLEXT) +- +- $(DLLEXT) +- ++ $(DLLEXT) + + $(DLLPREFIX)$(__dllname)$(__targetsuf3) + + +- +- +- $(SONAME_FLAG)$(__linkname2) +- +- +- $(SONAME_FLAG)$(__targetname) +- +- ++ -version-number $(__soversion1):$(__soversion2):$(__soversion3) + $(__soname_flags) +- +- +- +- (cd $(pathPrefixToPath(__targetdir)); +- $(RM) $(__linkname1) $(__linkname2); +- $(LN_S) $(__targetname) $(__linkname2); +- $(LN_S) $(__linkname2) $(__linkname1)) +- +- +- +- +- $(RM) $(__linkname1) $(__linkname2); +- $(LN_S) $(__targetname) $(__linkname2); +- $(LN_S) $(__linkname2) $(__linkname1) +- +- +- <__command>$(LF)$(__so_symlinks_cmd) + + $(__linkname2) + +@@ -238,12 +195,6 @@ + + $(ifthenelse(__mac_instname=='',ref('__targetname',id),ref('__mac_instname',id))) + +- +- +- -install_name $(value)/$(__macinstname) +- +- +- $(__macinstnamecmd) + + + (cd $(DESTDIR)$(value) ; $(ref('__so_symlinks_inst_cmd',id))) +diff -uNr ../bakefile-0.2.0.orig/rules/makefile.bkl rules/makefile.bkl +--- ../bakefile-0.2.0.orig/rules/makefile.bkl 2005-12-08 10:19:46.000000000 +0000 ++++ rules/makefile.bkl 2006-03-20 22:04:43.000000000 +0000 +@@ -604,7 +604,7 @@ + + + +- $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(value) ++ ${LIBTOOL} --mode=install $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(value) + + + +@@ -612,8 +612,7 @@ + + + +- $(INSTALL_DATA) $(ref('__targetdir',id))$(ref('__linkname',id)) $(DESTDIR)$(value) +- $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(value) ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(value) + + + +@@ -621,7 +620,7 @@ + + + +- $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(value) ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(value) + + + +@@ -629,7 +628,7 @@ + + + +- $(INSTALL_DATA) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(value) ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(value) + + + +diff -uNr ../bakefile-0.2.0.orig/rules/makefile_defs_gnu.bkl rules/makefile_defs_gnu.bkl +--- ../bakefile-0.2.0.orig/rules/makefile_defs_gnu.bkl 2005-06-16 17:48:03.000000000 +0000 ++++ rules/makefile_defs_gnu.bkl 2006-02-28 22:43:14.000000000 +0000 +@@ -37,12 +37,12 @@ + + + + +diff -uNr ../bakefile-0.2.0.orig/rules/makefile_defs_unix.bkl rules/makefile_defs_unix.bkl +--- ../bakefile-0.2.0.orig/rules/makefile_defs_unix.bkl 2005-03-13 22:50:03.000000000 +0000 ++++ rules/makefile_defs_unix.bkl 2006-03-20 21:30:47.000000000 +0000 +@@ -15,20 +15,21 @@ + + / + +- .o ++ ${LIBTOOL} ++ .lo + .a + lib + +- .so ++ .la + $(DLLEXT) + $(DLLEXT) + $(LIBPREFIX) + $(DLLPREFIX) +- -fPIC -DPIC ++ + +- install -c +- $(INSTALL) -m 644 +- $(INSTALL) -d ++ ${BSD_INSTALL_PROGRAM} ++ ${BSD_INSTALL_DATA} ++ ${BSD_INSTALL_DATA_DIR} + + rcu + rm -f +@@ -92,12 +93,12 @@ + + + + +@@ -105,18 +106,16 @@ + + + diff --git a/x11/wxGTK26/patches/manual-regen.diff b/x11/wxGTK26/patches/manual-regen.diff new file mode 100644 index 00000000000..83b129dfc02 --- /dev/null +++ b/x11/wxGTK26/patches/manual-regen.diff @@ -0,0 +1,50 @@ +To regenerate the patch, get the full wxWidgets tarball, copy build/bakefiles +and the various *.bkl files into the wxGTK tree and run + ./bakefile_gen -f autoconf +in build/bakefiles. manual-bakefile.diff contains the necessary patch for +the bakefile ruleset to use libtool. + +--- build/bakefiles/regex.bkl.orig 2006-03-20 20:14:11.000000000 +0000 ++++ build/bakefiles/regex.bkl +@@ -27,16 +27,13 @@ + $(TOP_SRCDIR)src/regex + + +- +- +- $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) +- +- +- $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX) +- +- $(TOP_SRCDIR)include +- $(SETUPHDIR) ++ ++ $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE) ++ ++ $(WX_VERSION) ++ $(WXSOVERSION) + __WX$(TOOLKIT)__ + $(UNICODE_DEFINE) + $(LIBDIRNAME) +@@ -48,6 +45,6 @@ + src/regex/regerror.c + src/regex/regfree.c + +- ++ + + +--- build/bakefiles/wx.bkl.orig 2006-02-28 22:50:55.000000000 +0000 ++++ build/bakefiles/wx.bkl +@@ -96,7 +96,7 @@ + + $(INSTALL_DIR) $(DESTDIR)$(BINDIR) + $(INSTALL_DIR) $(DESTDIR)$(LIBDIR)/wx/config +- $(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(LIBDIR)/wx/config ++ ${BSD_INSTALL_SCRIPT} lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(LIBDIR)/wx/config + (cd $(DESTDIR)$(BINDIR) && rm -f wx-config && $(LN_S) $(DESTDIR)$(LIBDIR)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config) + + diff --git a/x11/wxGTK26/patches/patch-aa b/x11/wxGTK26/patches/patch-aa new file mode 100644 index 00000000000..8d48d044b7b --- /dev/null +++ b/x11/wxGTK26/patches/patch-aa @@ -0,0 +1,78 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $ + +--- configure.orig 2006-03-22 00:42:05.000000000 +0100 ++++ configure 2006-10-08 06:26:28.000000000 +0200 +@@ -1820,7 +1820,7 @@ _ACEOF + + DEFAULT_DEFAULT_wxUSE_MOTIF=1 + ;; +- *-*-freebsd*) ++ *-*-freebsd* | *-*-dragonfly*) + USE_BSD=1 + USE_FREEBSD=1 + cat >>confdefs.h <<\_ACEOF +@@ -23445,7 +23445,8 @@ SEARCH_INCLUDE="\ + /usr/XFree86/include/X11 \ + /usr/pkg/include \ + \ +- /usr/openwin/share/include" ++ /usr/openwin/share/include\ ++ ${BUILDLINK_DIR}/include" + + echo "$as_me:$LINENO: checking for libraries directory" >&5 + echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6 +@@ -36663,6 +36664,9 @@ echo "$as_me: WARNING: BeOS threads are + THREAD_OPTS="-mt $THREAD_OPTS" + fi + ;; ++ *-*-dragonfly*) ++ THREAD_OPTS="-pthread $THREAD_OPTS" ++ ;; + *-*-freebsd*) + THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r" + ;; +@@ -36797,7 +36801,7 @@ echo $ECHO_N "checking if more special f + LDFLAGS="-L/usr/lib/threads $LDFLAGS" + flag="-D_THREAD_SAFE" + ;; +- *-freebsd*) ++ *-freebsd*|*-*-dragonfly*) + flag="-D_THREAD_SAFE" + ;; + *-hp-hpux* ) +@@ -42959,7 +42963,7 @@ echo "$as_me: WARNING: GStreamer install + + + +- if test "x$GST_INSPECT" == "x"; then ++ if test "x$GST_INSPECT" = "x"; then + # Extract the first word of "gst-inspect", so it can be a program name with args. + set dummy gst-inspect; ac_word=$2 + echo "$as_me:$LINENO: checking for $ac_word" >&5 +@@ -44788,7 +44792,7 @@ echo "${ECHO_T}$bakefile_cv_gcc31" >&6 + SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o" + fi + +- if test "x$GCC" == "xyes"; then ++ if test "x$GCC" = "xyes"; then + PIC_FLAG="-dynamic -fPIC" + fi + if test "x$XLCC" = "xyes"; then +@@ -45354,7 +45358,7 @@ EOF + ;; + + powerpc-apple-macos* | \ +- *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \ ++ *-*-dragonfly* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \ + *-*-sunos4* | \ + *-*-osf* | \ + *-*-dgux5* | \ +@@ -45396,7 +45400,7 @@ echo "$as_me: error: unknown system type + SONAME_FLAG= + + case "${BAKEFILE_HOST}" in +- *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu ) ++ *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu | *-*-dragonfly*) + SONAME_FLAG="-Wl,-soname," + USE_SOVERSION=1 + USE_SOVERLINUX=1 diff --git a/x11/wxGTK26/patches/patch-ab b/x11/wxGTK26/patches/patch-ab new file mode 100644 index 00000000000..21e37845b5a --- /dev/null +++ b/x11/wxGTK26/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 2008/09/22 19:44:05 joerg Exp $ + +--- src/gtk/clipbrd.cpp.orig 2006-04-03 18:45:23.000000000 +0200 ++++ src/gtk/clipbrd.cpp +@@ -494,16 +494,21 @@ bool wxClipboard::AddData( wxDataObject + + delete[] array; + ++#ifdef __WXGTK20__ + gtk_signal_connect( GTK_OBJECT(m_clipboardWidget), + "selection_get", + GTK_SIGNAL_FUNC(selection_handler), + GUINT_TO_POINTER( +-#ifdef __WXGTK20__ + gtk_get_current_event_time() ++ ) ); + #else ++ gtk_signal_connect( GTK_OBJECT(m_clipboardWidget), ++ "selection_get", ++ GTK_SIGNAL_FUNC(selection_handler), ++ GUINT_TO_POINTER( + gdk_event_get_time(gtk_get_current_event()) +-#endif + ) ); ++#endif + + #if wxUSE_THREADS + /* disable GUI threads */ -- cgit v1.2.3