diff options
-rw-r--r-- | x11/wxGTK28/DESCR | 23 | ||||
-rw-r--r-- | x11/wxGTK28/Makefile | 29 | ||||
-rw-r--r-- | x11/wxGTK28/Makefile.common | 46 | ||||
-rw-r--r-- | x11/wxGTK28/PLIST | 603 | ||||
-rw-r--r-- | x11/wxGTK28/buildlink3.mk | 29 | ||||
-rw-r--r-- | x11/wxGTK28/distinfo | 10 | ||||
-rw-r--r-- | x11/wxGTK28/patches/manual-bakefile.diff | 228 | ||||
-rw-r--r-- | x11/wxGTK28/patches/manual-regen.diff | 50 | ||||
-rw-r--r-- | x11/wxGTK28/patches/patch-aa | 76 | ||||
-rw-r--r-- | x11/wxGTK28/patches/patch-ab | 18 |
10 files changed, 1112 insertions, 0 deletions
diff --git a/x11/wxGTK28/DESCR b/x11/wxGTK28/DESCR new file mode 100644 index 00000000000..e81d1b332b4 --- /dev/null +++ b/x11/wxGTK28/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/wxGTK28/Makefile b/x11/wxGTK28/Makefile new file mode 100644 index 00000000000..542a8840e25 --- /dev/null +++ b/x11/wxGTK28/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/09/12 11:09:49 joerg Exp $ +# + +.include "../../x11/wxGTK28/Makefile.common" + +PKGNAME= ${DISTNAME:S/wxGTK/wxGTK28/} +COMMENT= GTK-based implementation of the wxWidgets GUI library + +BUILD_TARGET= all +INSTALL_TARGET= install + +INSTALLATION_DIRS= ${DOCDIR} + +post-build: + set -e; cd ${WRKSRC}/locale; \ + for lang in `echo *.po` ; do \ + [ $${lang} = "wxstd.po" ] && continue; \ + ${TOOLS_PATH.msgfmt} -c -o $${lang%.po}.mo $${lang}; \ + 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} ${WRKSRC}/docs/licence.txt ${DESTDIR}${DOCDIR} + +.include "../../mk/oss.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/wxGTK28/Makefile.common b/x11/wxGTK28/Makefile.common new file mode 100644 index 00000000000..5af606596d0 --- /dev/null +++ b/x11/wxGTK28/Makefile.common @@ -0,0 +1,46 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2008/09/12 11:09:49 joerg Exp $ +# + +DISTNAME= wxGTK-2.8.8 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxwindows/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= joerg@NetBSD.org +HOMEPAGE= http://www.wxwidgets.org/ + +PATCHDIR= ${.CURDIR}/../../x11/wxGTK28/patches +DISTINFO_FILE= ${.CURDIR}/../../x11/wxGTK28/distinfo + +PATCHFILES= ${DISTNAME}-libtool.diff.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 + +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 "../../x11/libSM/buildlink3.mk" + +.include "../../mk/pthread.buildlink3.mk" diff --git a/x11/wxGTK28/PLIST b/x11/wxGTK28/PLIST new file mode 100644 index 00000000000..aceac13a2c2 --- /dev/null +++ b/x11/wxGTK28/PLIST @@ -0,0 +1,603 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/12 11:09:49 joerg Exp $ +bin/wx-config +bin/wxrc +bin/wxrc-2.8 +include/wx-2.8/wx/aboutdlg.h +include/wx-2.8/wx/accel.h +include/wx-2.8/wx/access.h +include/wx-2.8/wx/afterstd.h +include/wx-2.8/wx/anidecod.h +include/wx-2.8/wx/animate.h +include/wx-2.8/wx/animdecod.h +include/wx-2.8/wx/app.h +include/wx-2.8/wx/apptrait.h +include/wx-2.8/wx/archive.h +include/wx-2.8/wx/arrimpl.cpp +include/wx-2.8/wx/arrstr.h +include/wx-2.8/wx/artprov.h +include/wx-2.8/wx/aui/aui.h +include/wx-2.8/wx/aui/auibook.h +include/wx-2.8/wx/aui/dockart.h +include/wx-2.8/wx/aui/floatpane.h +include/wx-2.8/wx/aui/framemanager.h +include/wx-2.8/wx/aui/tabmdi.h +include/wx-2.8/wx/beforestd.h +include/wx-2.8/wx/bitmap.h +include/wx-2.8/wx/bmpbuttn.h +include/wx-2.8/wx/bmpcbox.h +include/wx-2.8/wx/bookctrl.h +include/wx-2.8/wx/brush.h +include/wx-2.8/wx/buffer.h +include/wx-2.8/wx/build.h +include/wx-2.8/wx/busyinfo.h +include/wx-2.8/wx/button.h +include/wx-2.8/wx/calctrl.h +include/wx-2.8/wx/caret.h +include/wx-2.8/wx/checkbox.h +include/wx-2.8/wx/checklst.h +include/wx-2.8/wx/chkconf.h +include/wx-2.8/wx/choicdlg.h +include/wx-2.8/wx/choice.h +include/wx-2.8/wx/choicebk.h +include/wx-2.8/wx/clipbrd.h +include/wx-2.8/wx/clntdata.h +include/wx-2.8/wx/clrpicker.h +include/wx-2.8/wx/cmdline.h +include/wx-2.8/wx/cmdproc.h +include/wx-2.8/wx/cmndata.h +include/wx-2.8/wx/collpane.h +include/wx-2.8/wx/colordlg.h +include/wx-2.8/wx/colour.h +include/wx-2.8/wx/combo.h +include/wx-2.8/wx/combobox.h +include/wx-2.8/wx/confbase.h +include/wx-2.8/wx/config.h +include/wx-2.8/wx/containr.h +include/wx-2.8/wx/control.h +include/wx-2.8/wx/convauto.h +include/wx-2.8/wx/cpp.h +include/wx-2.8/wx/cshelp.h +include/wx-2.8/wx/ctrlsub.h +include/wx-2.8/wx/cursor.h +include/wx-2.8/wx/dataobj.h +include/wx-2.8/wx/dataview.h +include/wx-2.8/wx/datectrl.h +include/wx-2.8/wx/dateevt.h +include/wx-2.8/wx/datetime.h +include/wx-2.8/wx/datstrm.h +include/wx-2.8/wx/db.h +include/wx-2.8/wx/dbgrid.h +include/wx-2.8/wx/dbkeyg.h +include/wx-2.8/wx/dbtable.h +include/wx-2.8/wx/dc.h +include/wx-2.8/wx/dcbuffer.h +include/wx-2.8/wx/dcclient.h +include/wx-2.8/wx/dcgraph.h +include/wx-2.8/wx/dcmemory.h +include/wx-2.8/wx/dcmirror.h +include/wx-2.8/wx/dcprint.h +include/wx-2.8/wx/dcps.h +include/wx-2.8/wx/dcscreen.h +include/wx-2.8/wx/dde.h +include/wx-2.8/wx/debug.h +include/wx-2.8/wx/debugrpt.h +include/wx-2.8/wx/defs.h +include/wx-2.8/wx/dialog.h +include/wx-2.8/wx/dialup.h +include/wx-2.8/wx/dir.h +include/wx-2.8/wx/dirctrl.h +include/wx-2.8/wx/dirdlg.h +include/wx-2.8/wx/display.h +include/wx-2.8/wx/display_impl.h +include/wx-2.8/wx/dlimpexp.h +include/wx-2.8/wx/dnd.h +include/wx-2.8/wx/docmdi.h +include/wx-2.8/wx/docview.h +include/wx-2.8/wx/dragimag.h +include/wx-2.8/wx/dynarray.h +include/wx-2.8/wx/dynlib.h +include/wx-2.8/wx/dynload.h +include/wx-2.8/wx/effects.h +include/wx-2.8/wx/encconv.h +include/wx-2.8/wx/encinfo.h +include/wx-2.8/wx/event.h +include/wx-2.8/wx/evtloop.h +include/wx-2.8/wx/except.h +include/wx-2.8/wx/fdrepdlg.h +include/wx-2.8/wx/features.h +include/wx-2.8/wx/ffile.h +include/wx-2.8/wx/file.h +include/wx-2.8/wx/fileconf.h +include/wx-2.8/wx/filedlg.h +include/wx-2.8/wx/filefn.h +include/wx-2.8/wx/filename.h +include/wx-2.8/wx/filepicker.h +include/wx-2.8/wx/filesys.h +include/wx-2.8/wx/fmappriv.h +include/wx-2.8/wx/font.h +include/wx-2.8/wx/fontdlg.h +include/wx-2.8/wx/fontenc.h +include/wx-2.8/wx/fontenum.h +include/wx-2.8/wx/fontmap.h +include/wx-2.8/wx/fontpicker.h +include/wx-2.8/wx/fontutil.h +include/wx-2.8/wx/frame.h +include/wx-2.8/wx/fs_arc.h +include/wx-2.8/wx/fs_filter.h +include/wx-2.8/wx/fs_inet.h +include/wx-2.8/wx/fs_mem.h +include/wx-2.8/wx/fs_zip.h +include/wx-2.8/wx/gauge.h +include/wx-2.8/wx/gbsizer.h +include/wx-2.8/wx/gdicmn.h +include/wx-2.8/wx/gdiobj.h +include/wx-2.8/wx/generic/aboutdlgg.h +include/wx-2.8/wx/generic/accel.h +include/wx-2.8/wx/generic/animate.h +include/wx-2.8/wx/generic/bmpcbox.h +include/wx-2.8/wx/generic/busyinfo.h +include/wx-2.8/wx/generic/buttonbar.h +include/wx-2.8/wx/generic/calctrl.h +include/wx-2.8/wx/generic/caret.h +include/wx-2.8/wx/generic/choicdgg.h +include/wx-2.8/wx/generic/clrpickerg.h +include/wx-2.8/wx/generic/collpaneg.h +include/wx-2.8/wx/generic/colrdlgg.h +include/wx-2.8/wx/generic/combo.h +include/wx-2.8/wx/generic/dataview.h +include/wx-2.8/wx/generic/datectrl.h +include/wx-2.8/wx/generic/dcpsg.h +include/wx-2.8/wx/generic/dirctrlg.h +include/wx-2.8/wx/generic/dirdlgg.h +include/wx-2.8/wx/generic/dragimgg.h +include/wx-2.8/wx/generic/fdrepdlg.h +include/wx-2.8/wx/generic/filedlgg.h +include/wx-2.8/wx/generic/filepickerg.h +include/wx-2.8/wx/generic/fontdlgg.h +include/wx-2.8/wx/generic/fontpickerg.h +include/wx-2.8/wx/generic/grid.h +include/wx-2.8/wx/generic/gridctrl.h +include/wx-2.8/wx/generic/gridsel.h +include/wx-2.8/wx/generic/helpext.h +include/wx-2.8/wx/generic/icon.h +include/wx-2.8/wx/generic/imaglist.h +include/wx-2.8/wx/generic/laywin.h +include/wx-2.8/wx/generic/listctrl.h +include/wx-2.8/wx/generic/logg.h +include/wx-2.8/wx/generic/msgdlgg.h +include/wx-2.8/wx/generic/notebook.h +include/wx-2.8/wx/generic/numdlgg.h +include/wx-2.8/wx/generic/paletteg.h +include/wx-2.8/wx/generic/panelg.h +include/wx-2.8/wx/generic/printps.h +include/wx-2.8/wx/generic/prntdlgg.h +include/wx-2.8/wx/generic/progdlgg.h +include/wx-2.8/wx/generic/propdlg.h +include/wx-2.8/wx/generic/sashwin.h +include/wx-2.8/wx/generic/scrolwin.h +include/wx-2.8/wx/generic/spinctlg.h +include/wx-2.8/wx/generic/splash.h +include/wx-2.8/wx/generic/splitter.h +include/wx-2.8/wx/generic/srchctlg.h +include/wx-2.8/wx/generic/statusbr.h +include/wx-2.8/wx/generic/tabg.h +include/wx-2.8/wx/generic/textdlgg.h +include/wx-2.8/wx/generic/timer.h +include/wx-2.8/wx/generic/treectlg.h +include/wx-2.8/wx/generic/wizard.h +include/wx-2.8/wx/geometry.h +include/wx-2.8/wx/gifdecod.h +include/wx-2.8/wx/glcanvas.h +include/wx-2.8/wx/graphics.h +include/wx-2.8/wx/grid.h +include/wx-2.8/wx/gsocket.h +include/wx-2.8/wx/gtk/accel.h +include/wx-2.8/wx/gtk/animate.h +include/wx-2.8/wx/gtk/app.h +include/wx-2.8/wx/gtk/assertdlg_gtk.h +include/wx-2.8/wx/gtk/bitmap.h +include/wx-2.8/wx/gtk/bmpbuttn.h +include/wx-2.8/wx/gtk/brush.h +include/wx-2.8/wx/gtk/button.h +include/wx-2.8/wx/gtk/checkbox.h +include/wx-2.8/wx/gtk/checklst.h +include/wx-2.8/wx/gtk/choice.h +include/wx-2.8/wx/gtk/clipbrd.h +include/wx-2.8/wx/gtk/clrpicker.h +include/wx-2.8/wx/gtk/collpane.h +include/wx-2.8/wx/gtk/colordlg.h +include/wx-2.8/wx/gtk/colour.h +include/wx-2.8/wx/gtk/combobox.h +include/wx-2.8/wx/gtk/control.h +include/wx-2.8/wx/gtk/cursor.h +include/wx-2.8/wx/gtk/dataform.h +include/wx-2.8/wx/gtk/dataobj.h +include/wx-2.8/wx/gtk/dataobj2.h +include/wx-2.8/wx/gtk/dc.h +include/wx-2.8/wx/gtk/dcclient.h +include/wx-2.8/wx/gtk/dcmemory.h +include/wx-2.8/wx/gtk/dcscreen.h +include/wx-2.8/wx/gtk/dialog.h +include/wx-2.8/wx/gtk/dirdlg.h +include/wx-2.8/wx/gtk/dnd.h +include/wx-2.8/wx/gtk/filedlg.h +include/wx-2.8/wx/gtk/filepicker.h +include/wx-2.8/wx/gtk/font.h +include/wx-2.8/wx/gtk/fontdlg.h +include/wx-2.8/wx/gtk/fontpicker.h +include/wx-2.8/wx/gtk/frame.h +include/wx-2.8/wx/gtk/gauge.h +include/wx-2.8/wx/gtk/glcanvas.h +include/wx-2.8/wx/gtk/gnome/gprint.h +include/wx-2.8/wx/gtk/gnome/gvfs.h +include/wx-2.8/wx/gtk/listbox.h +include/wx-2.8/wx/gtk/mdi.h +include/wx-2.8/wx/gtk/menu.h +include/wx-2.8/wx/gtk/menuitem.h +include/wx-2.8/wx/gtk/minifram.h +include/wx-2.8/wx/gtk/msgdlg.h +include/wx-2.8/wx/gtk/notebook.h +include/wx-2.8/wx/gtk/pen.h +include/wx-2.8/wx/gtk/popupwin.h +include/wx-2.8/wx/gtk/radiobox.h +include/wx-2.8/wx/gtk/radiobut.h +include/wx-2.8/wx/gtk/region.h +include/wx-2.8/wx/gtk/scrolbar.h +include/wx-2.8/wx/gtk/scrolwin.h +include/wx-2.8/wx/gtk/slider.h +include/wx-2.8/wx/gtk/spinbutt.h +include/wx-2.8/wx/gtk/spinctrl.h +include/wx-2.8/wx/gtk/statbmp.h +include/wx-2.8/wx/gtk/statbox.h +include/wx-2.8/wx/gtk/statline.h +include/wx-2.8/wx/gtk/stattext.h +include/wx-2.8/wx/gtk/tbargtk.h +include/wx-2.8/wx/gtk/textctrl.h +include/wx-2.8/wx/gtk/tglbtn.h +include/wx-2.8/wx/gtk/timer.h +include/wx-2.8/wx/gtk/tooltip.h +include/wx-2.8/wx/gtk/toplevel.h +include/wx-2.8/wx/gtk/treectrl.h +include/wx-2.8/wx/gtk/treeentry_gtk.h +include/wx-2.8/wx/gtk/win_gtk.h +include/wx-2.8/wx/gtk/window.h +include/wx-2.8/wx/hash.h +include/wx-2.8/wx/hashmap.h +include/wx-2.8/wx/hashset.h +include/wx-2.8/wx/help.h +include/wx-2.8/wx/helpbase.h +include/wx-2.8/wx/helphtml.h +include/wx-2.8/wx/helpwin.h +include/wx-2.8/wx/html/forcelnk.h +include/wx-2.8/wx/html/helpctrl.h +include/wx-2.8/wx/html/helpdata.h +include/wx-2.8/wx/html/helpdlg.h +include/wx-2.8/wx/html/helpfrm.h +include/wx-2.8/wx/html/helpwnd.h +include/wx-2.8/wx/html/htmlcell.h +include/wx-2.8/wx/html/htmldefs.h +include/wx-2.8/wx/html/htmlfilt.h +include/wx-2.8/wx/html/htmlpars.h +include/wx-2.8/wx/html/htmlproc.h +include/wx-2.8/wx/html/htmltag.h +include/wx-2.8/wx/html/htmlwin.h +include/wx-2.8/wx/html/htmprint.h +include/wx-2.8/wx/html/m_templ.h +include/wx-2.8/wx/html/winpars.h +include/wx-2.8/wx/htmllbox.h +include/wx-2.8/wx/hyperlink.h +include/wx-2.8/wx/icon.h +include/wx-2.8/wx/iconbndl.h +include/wx-2.8/wx/iconloc.h +include/wx-2.8/wx/imagbmp.h +include/wx-2.8/wx/image.h +include/wx-2.8/wx/imaggif.h +include/wx-2.8/wx/imagiff.h +include/wx-2.8/wx/imagjpeg.h +include/wx-2.8/wx/imaglist.h +include/wx-2.8/wx/imagpcx.h +include/wx-2.8/wx/imagpng.h +include/wx-2.8/wx/imagpnm.h +include/wx-2.8/wx/imagtga.h +include/wx-2.8/wx/imagtiff.h +include/wx-2.8/wx/imagxpm.h +include/wx-2.8/wx/init.h +include/wx-2.8/wx/intl.h +include/wx-2.8/wx/iosfwrap.h +include/wx-2.8/wx/ioswrap.h +include/wx-2.8/wx/ipc.h +include/wx-2.8/wx/ipcbase.h +include/wx-2.8/wx/isql.h +include/wx-2.8/wx/isqlext.h +include/wx-2.8/wx/joystick.h +include/wx-2.8/wx/layout.h +include/wx-2.8/wx/laywin.h +include/wx-2.8/wx/link.h +include/wx-2.8/wx/list.h +include/wx-2.8/wx/listbase.h +include/wx-2.8/wx/listbook.h +include/wx-2.8/wx/listbox.h +include/wx-2.8/wx/listctrl.h +include/wx-2.8/wx/listimpl.cpp +include/wx-2.8/wx/log.h +include/wx-2.8/wx/longlong.h +include/wx-2.8/wx/math.h +include/wx-2.8/wx/matrix.h +include/wx-2.8/wx/mdi.h +include/wx-2.8/wx/mediactrl.h +include/wx-2.8/wx/memconf.h +include/wx-2.8/wx/memory.h +include/wx-2.8/wx/memtext.h +include/wx-2.8/wx/menu.h +include/wx-2.8/wx/menuitem.h +include/wx-2.8/wx/metafile.h +include/wx-2.8/wx/mimetype.h +include/wx-2.8/wx/minifram.h +include/wx-2.8/wx/module.h +include/wx-2.8/wx/msgdlg.h +include/wx-2.8/wx/msgout.h +include/wx-2.8/wx/mstream.h +include/wx-2.8/wx/notebook.h +include/wx-2.8/wx/numdlg.h +include/wx-2.8/wx/object.h +include/wx-2.8/wx/odcombo.h +include/wx-2.8/wx/overlay.h +include/wx-2.8/wx/ownerdrw.h +include/wx-2.8/wx/palette.h +include/wx-2.8/wx/panel.h +include/wx-2.8/wx/paper.h +include/wx-2.8/wx/pen.h +include/wx-2.8/wx/pickerbase.h +include/wx-2.8/wx/platform.h +include/wx-2.8/wx/platinfo.h +include/wx-2.8/wx/popupwin.h +include/wx-2.8/wx/power.h +include/wx-2.8/wx/print.h +include/wx-2.8/wx/printdlg.h +include/wx-2.8/wx/prntbase.h +include/wx-2.8/wx/process.h +include/wx-2.8/wx/progdlg.h +include/wx-2.8/wx/propdlg.h +include/wx-2.8/wx/protocol/file.h +include/wx-2.8/wx/protocol/ftp.h +include/wx-2.8/wx/protocol/http.h +include/wx-2.8/wx/protocol/protocol.h +include/wx-2.8/wx/ptr_scpd.h +include/wx-2.8/wx/quantize.h +include/wx-2.8/wx/radiobox.h +include/wx-2.8/wx/radiobut.h +include/wx-2.8/wx/rawbmp.h +include/wx-2.8/wx/recguard.h +include/wx-2.8/wx/regex.h +include/wx-2.8/wx/region.h +include/wx-2.8/wx/renderer.h +include/wx-2.8/wx/richtext/richtextbuffer.h +include/wx-2.8/wx/richtext/richtextctrl.h +include/wx-2.8/wx/richtext/richtextformatdlg.h +include/wx-2.8/wx/richtext/richtexthtml.h +include/wx-2.8/wx/richtext/richtextprint.h +include/wx-2.8/wx/richtext/richtextstyledlg.h +include/wx-2.8/wx/richtext/richtextstyles.h +include/wx-2.8/wx/richtext/richtextsymboldlg.h +include/wx-2.8/wx/richtext/richtextxml.h +include/wx-2.8/wx/sashwin.h +include/wx-2.8/wx/sckaddr.h +include/wx-2.8/wx/sckipc.h +include/wx-2.8/wx/sckstrm.h +include/wx-2.8/wx/scopeguard.h +include/wx-2.8/wx/scrolbar.h +include/wx-2.8/wx/scrolwin.h +include/wx-2.8/wx/selstore.h +include/wx-2.8/wx/settings.h +include/wx-2.8/wx/sizer.h +include/wx-2.8/wx/slider.h +include/wx-2.8/wx/snglinst.h +include/wx-2.8/wx/socket.h +include/wx-2.8/wx/sound.h +include/wx-2.8/wx/spinbutt.h +include/wx-2.8/wx/spinctrl.h +include/wx-2.8/wx/splash.h +include/wx-2.8/wx/splitter.h +include/wx-2.8/wx/srchctrl.h +include/wx-2.8/wx/sstream.h +include/wx-2.8/wx/stack.h +include/wx-2.8/wx/stackwalk.h +include/wx-2.8/wx/statbmp.h +include/wx-2.8/wx/statbox.h +include/wx-2.8/wx/statline.h +include/wx-2.8/wx/stattext.h +include/wx-2.8/wx/statusbr.h +include/wx-2.8/wx/stdpaths.h +include/wx-2.8/wx/stockitem.h +include/wx-2.8/wx/stopwatch.h +include/wx-2.8/wx/strconv.h +include/wx-2.8/wx/stream.h +include/wx-2.8/wx/string.h +include/wx-2.8/wx/sysopt.h +include/wx-2.8/wx/tab.h +include/wx-2.8/wx/tabctrl.h +include/wx-2.8/wx/tarstrm.h +include/wx-2.8/wx/taskbar.h +include/wx-2.8/wx/tbarbase.h +include/wx-2.8/wx/textbuf.h +include/wx-2.8/wx/textctrl.h +include/wx-2.8/wx/textdlg.h +include/wx-2.8/wx/textfile.h +include/wx-2.8/wx/tglbtn.h +include/wx-2.8/wx/thread.h +include/wx-2.8/wx/thrimpl.cpp +include/wx-2.8/wx/timer.h +include/wx-2.8/wx/tipdlg.h +include/wx-2.8/wx/tipwin.h +include/wx-2.8/wx/tokenzr.h +include/wx-2.8/wx/toolbar.h +include/wx-2.8/wx/toolbook.h +include/wx-2.8/wx/tooltip.h +include/wx-2.8/wx/toplevel.h +include/wx-2.8/wx/treebase.h +include/wx-2.8/wx/treebook.h +include/wx-2.8/wx/treectrl.h +include/wx-2.8/wx/txtstrm.h +include/wx-2.8/wx/types.h +include/wx-2.8/wx/unix/apptbase.h +include/wx-2.8/wx/unix/apptrait.h +include/wx-2.8/wx/unix/execute.h +include/wx-2.8/wx/unix/fontutil.h +include/wx-2.8/wx/unix/gsockunx.h +include/wx-2.8/wx/unix/joystick.h +include/wx-2.8/wx/unix/mimetype.h +include/wx-2.8/wx/unix/pipe.h +include/wx-2.8/wx/unix/private.h +include/wx-2.8/wx/unix/sound.h +include/wx-2.8/wx/unix/stackwalk.h +include/wx-2.8/wx/unix/stdpaths.h +include/wx-2.8/wx/unix/taskbarx11.h +include/wx-2.8/wx/unix/utilsx11.h +include/wx-2.8/wx/uri.h +include/wx-2.8/wx/url.h +include/wx-2.8/wx/utils.h +include/wx-2.8/wx/valgen.h +include/wx-2.8/wx/validate.h +include/wx-2.8/wx/valtext.h +include/wx-2.8/wx/variant.h +include/wx-2.8/wx/vector.h +include/wx-2.8/wx/version.h +include/wx-2.8/wx/vidmode.h +include/wx-2.8/wx/vlbox.h +include/wx-2.8/wx/vms_x_fix.h +include/wx-2.8/wx/volume.h +include/wx-2.8/wx/vscroll.h +include/wx-2.8/wx/wave.h +include/wx-2.8/wx/wfstream.h +include/wx-2.8/wx/window.h +include/wx-2.8/wx/wizard.h +include/wx-2.8/wx/wupdlock.h +include/wx-2.8/wx/wx.h +include/wx-2.8/wx/wxchar.h +include/wx-2.8/wx/wxhtml.h +include/wx-2.8/wx/wxprec.h +include/wx-2.8/wx/xml/xml.h +include/wx-2.8/wx/xpmdecod.h +include/wx-2.8/wx/xpmhand.h +include/wx-2.8/wx/xrc/xh_all.h +include/wx-2.8/wx/xrc/xh_animatctrl.h +include/wx-2.8/wx/xrc/xh_bmp.h +include/wx-2.8/wx/xrc/xh_bmpbt.h +include/wx-2.8/wx/xrc/xh_bmpcbox.h +include/wx-2.8/wx/xrc/xh_bttn.h +include/wx-2.8/wx/xrc/xh_cald.h +include/wx-2.8/wx/xrc/xh_chckb.h +include/wx-2.8/wx/xrc/xh_chckl.h +include/wx-2.8/wx/xrc/xh_choic.h +include/wx-2.8/wx/xrc/xh_choicbk.h +include/wx-2.8/wx/xrc/xh_clrpicker.h +include/wx-2.8/wx/xrc/xh_collpane.h +include/wx-2.8/wx/xrc/xh_combo.h +include/wx-2.8/wx/xrc/xh_datectrl.h +include/wx-2.8/wx/xrc/xh_dirpicker.h +include/wx-2.8/wx/xrc/xh_dlg.h +include/wx-2.8/wx/xrc/xh_filepicker.h +include/wx-2.8/wx/xrc/xh_fontpicker.h +include/wx-2.8/wx/xrc/xh_frame.h +include/wx-2.8/wx/xrc/xh_gauge.h +include/wx-2.8/wx/xrc/xh_gdctl.h +include/wx-2.8/wx/xrc/xh_grid.h +include/wx-2.8/wx/xrc/xh_html.h +include/wx-2.8/wx/xrc/xh_htmllbox.h +include/wx-2.8/wx/xrc/xh_hyperlink.h +include/wx-2.8/wx/xrc/xh_listb.h +include/wx-2.8/wx/xrc/xh_listbk.h +include/wx-2.8/wx/xrc/xh_listc.h +include/wx-2.8/wx/xrc/xh_mdi.h +include/wx-2.8/wx/xrc/xh_menu.h +include/wx-2.8/wx/xrc/xh_notbk.h +include/wx-2.8/wx/xrc/xh_odcombo.h +include/wx-2.8/wx/xrc/xh_panel.h +include/wx-2.8/wx/xrc/xh_propdlg.h +include/wx-2.8/wx/xrc/xh_radbt.h +include/wx-2.8/wx/xrc/xh_radbx.h +include/wx-2.8/wx/xrc/xh_scrol.h +include/wx-2.8/wx/xrc/xh_scwin.h +include/wx-2.8/wx/xrc/xh_sizer.h +include/wx-2.8/wx/xrc/xh_slidr.h +include/wx-2.8/wx/xrc/xh_spin.h +include/wx-2.8/wx/xrc/xh_split.h +include/wx-2.8/wx/xrc/xh_statbar.h +include/wx-2.8/wx/xrc/xh_stbmp.h +include/wx-2.8/wx/xrc/xh_stbox.h +include/wx-2.8/wx/xrc/xh_stlin.h +include/wx-2.8/wx/xrc/xh_sttxt.h +include/wx-2.8/wx/xrc/xh_text.h +include/wx-2.8/wx/xrc/xh_tglbtn.h +include/wx-2.8/wx/xrc/xh_toolb.h +include/wx-2.8/wx/xrc/xh_tree.h +include/wx-2.8/wx/xrc/xh_treebk.h +include/wx-2.8/wx/xrc/xh_unkwn.h +include/wx-2.8/wx/xrc/xh_wizrd.h +include/wx-2.8/wx/xrc/xmlres.h +include/wx-2.8/wx/xti.h +include/wx-2.8/wx/xtistrm.h +include/wx-2.8/wx/xtixml.h +include/wx-2.8/wx/zipstrm.h +include/wx-2.8/wx/zstream.h +lib/libwx_base-2.8.la +lib/libwx_base_net-2.8.la +lib/libwx_base_xml-2.8.la +lib/libwx_gtk2_adv-2.8.la +lib/libwx_gtk2_aui-2.8.la +lib/libwx_gtk2_core-2.8.la +lib/libwx_gtk2_gl-2.8.la +lib/libwx_gtk2_html-2.8.la +lib/libwx_gtk2_qa-2.8.la +lib/libwx_gtk2_richtext-2.8.la +lib/libwx_gtk2_xrc-2.8.la +lib/libwxregex-2.8.la +lib/wx/config/gtk2-ansi-release-2.8 +lib/wx/include/gtk2-ansi-release-2.8/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/licence.txt +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-ansi-release-2.8/wx +@dirrm lib/wx/include/gtk2-ansi-release-2.8 +@dirrm lib/wx/include +@dirrm lib/wx/config +@dirrm lib/wx +@dirrm include/wx-2.8/wx/xrc +@dirrm include/wx-2.8/wx/xml +@dirrm include/wx-2.8/wx/unix +@dirrm include/wx-2.8/wx/richtext +@dirrm include/wx-2.8/wx/protocol +@dirrm include/wx-2.8/wx/html +@dirrm include/wx-2.8/wx/gtk/gnome +@dirrm include/wx-2.8/wx/gtk +@dirrm include/wx-2.8/wx/generic +@dirrm include/wx-2.8/wx/aui +@dirrm include/wx-2.8/wx +@dirrm include/wx-2.8 diff --git a/x11/wxGTK28/buildlink3.mk b/x11/wxGTK28/buildlink3.mk new file mode 100644 index 00000000000..f12edff29a0 --- /dev/null +++ b/x11/wxGTK28/buildlink3.mk @@ -0,0 +1,29 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/12 11:09:49 joerg Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +WXGTK28_BUILDLINK3_MK:= ${WXGTK_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= wxGTK28 +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NwxGTK28} +BUILDLINK_PACKAGES+= wxGTK28 +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wxGTK28 + +.if ${WXGTK28_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.wxGTK28+= wxGTK28>=2.8.8 +BUILDLINK_PKGSRCDIR.wxGTK28?= ../../x11/wxGTK28 +.endif # WXGTK_BUILDLINK3_MK + +.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 "../../x11/libSM/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/x11/wxGTK28/distinfo b/x11/wxGTK28/distinfo new file mode 100644 index 00000000000..a19884f9fe6 --- /dev/null +++ b/x11/wxGTK28/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/09/12 11:09:49 joerg Exp $ + +SHA1 (wxGTK-2.8.8-libtool.diff.bz2) = f09ae6cefe70dab7383e11b4ca0abd10b44baeac +RMD160 (wxGTK-2.8.8-libtool.diff.bz2) = 34b3c3949adc47f2ce9293f91e0cb72543c7d7bb +Size (wxGTK-2.8.8-libtool.diff.bz2) = 154447 bytes +SHA1 (wxGTK-2.8.8.tar.bz2) = ba33ca7efad2847c538d3df524d31b8b4011ad8a +RMD160 (wxGTK-2.8.8.tar.bz2) = 1dc3fab9e6f4d446bbc1c104aa69cf395c56b577 +Size (wxGTK-2.8.8.tar.bz2) = 9482521 bytes +SHA1 (patch-aa) = 9cf0af5d5d9f6eaee43ed74c45e45c0a88907ad1 +SHA1 (patch-ab) = d071e5e9f8dfd9c61a527464c55bfc671a27bbd0 diff --git a/x11/wxGTK28/patches/manual-bakefile.diff b/x11/wxGTK28/patches/manual-bakefile.diff new file mode 100644 index 00000000000..5413a5db853 --- /dev/null +++ b/x11/wxGTK28/patches/manual-bakefile.diff @@ -0,0 +1,228 @@ +diff -ur ../bakefile-0.2.3.orig/rules/autoconf.bkl ./rules/autoconf.bkl +--- ../bakefile-0.2.3.orig/rules/autoconf.bkl 2008-01-06 15:43:17.000000000 +0100 ++++ ./rules/autoconf.bkl 2008-09-08 19:43:18.000000000 +0200 +@@ -195,67 +195,19 @@ + + <set var="__linkname1">$(__linkname)</set> + +- <set var="__targetsuf2"> +- <if cond="USE_SOVERSION=='1' and PLATFORM_MACOSX=='0'"> +- $(DLLEXT).$(__soversion1) +- </if> +- <if cond="USE_SOVERSION=='1' and PLATFORM_MACOSX=='1'"> +- .$(__soversion1)$(DLLEXT) +- </if> +- <if cond="USE_SOVERSION=='0'">$(DLLEXT)</if> +- </set> ++ <set var="__targetsuf2">$(DLLEXT)</set> + <set var="__linkname2" eval="0"> + $(DLLPREFIX)$(__dllname)$(__targetsuf2) + </set> + +- <set var="__targetsuf3"> +- <if cond="USE_SOVERSION=='1' and PLATFORM_MACOSX=='0' and USE_SOVERCYGWIN=='0'"> +- $(DLLEXT).$(__soversion1).$(__soversion2).$(__soversion3) +- </if> +- <if cond="USE_SOVERSION=='1' and PLATFORM_MACOSX=='1'"> +- .$(__soversion1).$(__soversion2).$(__soversion3)$(DLLEXT) +- </if> +- <if cond="USE_SOVERSION=='1' and USE_SOVERCYGWIN=='1'"> +- -$(__soversion1)$(DLLEXT) +- </if> +- <if cond="USE_SOVERSION=='0'">$(DLLEXT)</if> +- </set> ++ <set var="__targetsuf3">$(DLLEXT)</set> + <set var="__targetname" eval="0"> + $(DLLPREFIX)$(__dllname)$(__targetsuf3) + </set> + +- <set var="__soname_flags"> +- <if cond="USE_SOVERLINUX=='1'"> <!-- Linux --> +- $(SONAME_FLAG)$(__linkname2) +- </if> +- <if cond="USE_SOVERSOLARIS=='1'"> <!-- Solaris --> +- $(SONAME_FLAG)$(__targetname) +- </if> +- </set> ++ <set var="__soname_flags">-version-number $(__soversion1):$(__soversion2):$(__soversion3)</set> + <ldflags>$(__soname_flags)</ldflags> + +- <set var="__so_symlinks_cmd"> +- <if cond="USE_SOSYMLINKS=='1'"> +- (cd $(pathPrefixToPath(__targetdir)); +- $(RM) $(__linkname1) $(__linkname2); +- $(LN_S) $(__targetname) $(__linkname2); +- $(LN_S) $(__linkname2) $(__linkname1)) +- </if> +- </set> +- <set var="__so_symlinks_inst_cmd"> +- <if cond="USE_SOSYMLINKS=='1'"> +- $(RM) $(__linkname1) $(__linkname2); +- $(LN_S) $(__targetname) $(__linkname2); +- $(LN_S) $(__linkname2) $(__linkname1) +- </if> +- </set> +- <set var="__so_symlinks_uninst_cmd"> +- <if cond="USE_SOSYMLINKS=='1'"> +- $(RM) $(__linkname2) $(__linkname1) +- </if> +- </set> +- <__command>$(LF)$(__so_symlinks_cmd)</__command> +- + <set var="__mac_instname">$(__linkname2)</set> + + <clean-files> +@@ -278,12 +230,6 @@ + <set var="__macinstname" eval="0"> + $(ifthenelse(__mac_instname=='',ref('__targetname',id),ref('__mac_instname',id))) + </set> +- <set var="__macinstnamecmd"> +- <if cond="PLATFORM_MACOSX=='1'"> +- -install_name $(value)/$(__macinstname) +- </if> +- </set> +- <ldflags>$(__macinstnamecmd)</ldflags> + + <modify-target target="install_$(id)"> + <command>(cd $(DESTDIR)$(value) ; $(ref('__so_symlinks_inst_cmd',id)))</command> +diff -ur ../bakefile-0.2.3.orig/rules/makefile.bkl ./rules/makefile.bkl +--- ../bakefile-0.2.3.orig/rules/makefile.bkl 2008-01-06 15:43:17.000000000 +0100 ++++ ./rules/makefile.bkl 2008-09-08 19:46:12.000000000 +0200 +@@ -663,7 +663,7 @@ + <define-tag name="install-to" rules="exe"> + <modify-target target="install_$(id)"> + <command> +- $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) ++ ${LIBTOOL} --mode=install $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) + </command> + </modify-target> + <modify-target target="uninstall_$(id)"> +@@ -676,8 +676,7 @@ + <define-tag name="install-to" rules="dll"> + <modify-target target="install_$(id)"> + <command> +- $(INSTALL_DATA) $(ref('__targetdir',id))$(ref('__linkname',id)) $(DESTDIR)$(nativePaths(value)) +- $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) + </command> + </modify-target> + <modify-target target="uninstall_$(id)"> +@@ -691,7 +690,7 @@ + <define-tag name="install-to" rules="module"> + <modify-target target="install_$(id)"> + <command> +- $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) ++ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) + </command> + </modify-target> + <modify-target target="uninstall_$(id)"> +diff -ur ../bakefile-0.2.3.orig/rules/makefile_defs_gnu.bkl ./rules/makefile_defs_gnu.bkl +--- ../bakefile-0.2.3.orig/rules/makefile_defs_gnu.bkl 2008-01-06 15:43:17.000000000 +0100 ++++ ./rules/makefile_defs_gnu.bkl 2008-09-08 19:43:18.000000000 +0200 +@@ -62,12 +62,12 @@ + + <template id="__commands_templ_C"> + <set var="__COMPILE_C_CMD" eval="0"> +- $(CCC) -c -o $@ $(__cflags) $(CPPDEPS) $< ++ ${LIBTOOL} --mode=compile --tag=CC $(CCC) -c -o $@ $(__cflags) $(CPPDEPS) $< + </set> + </template> + <template id="__commands_templ_CXX"> + <set var="__COMPILE_CXX_CMD" eval="0"> +- $(CXXC) -c -o $@ $(__cxxflags) $(CPPDEPS) $< ++ ${LIBTOOL} --mode=compile --tag=CXX $(CXXC) -c -o $@ $(__cxxflags) $(CPPDEPS) $< + </set> + </template> + +diff -ur ../bakefile-0.2.3.orig/rules/makefile_defs_unix.bkl ./rules/makefile_defs_unix.bkl +--- ../bakefile-0.2.3.orig/rules/makefile_defs_unix.bkl 2008-01-06 15:43:17.000000000 +0100 ++++ ./rules/makefile_defs_unix.bkl 2008-09-08 19:43:18.000000000 +0200 +@@ -39,22 +39,23 @@ + + <set var="DIRSEP">/</set> + +- <set var="OBJEXT">.o</set> ++ <set var="LIBTOOL">${LIBTOOL}</set> ++ <set var="OBJEXT">.lo</set> + <set var="LIBEXT" overwrite="0">.a</set> + <set var="LIBPREFIX" overwrite="0">lib</set> + <set var="EXEEXT" overwrite="0"></set> +- <set var="DLLEXT" overwrite="0">.so</set> ++ <set var="DLLEXT" overwrite="1">.la</set> + <set var="DLLEXT_MODULE" overwrite="0">$(DLLEXT)</set> + <set var="DLLIMPEXT" overwrite="0">$(DLLEXT)</set> + <set var="DLLPREFIX" overwrite="0">$(LIBPREFIX)</set> + <set var="DLLPREFIX_MODULE" overwrite="0">$(DLLPREFIX)</set> +- <set var="PIC_CFLAGS" overwrite="0">-fPIC -DPIC</set> ++ <set var="PIC_CFLAGS" overwrite="0"></set> + + <set var="RM">rm -f</set> + +- <set var="INSTALL_PROGRAM" overwrite="0">install -c</set> +- <set var="INSTALL_DATA" overwrite="0">$(INSTALL) -m 644</set> +- <set var="INSTALL_DIR" overwrite="0">$(INSTALL) -d</set> ++ <set var="INSTALL_PROGRAM" overwrite="1">${BSD_INSTALL_PROGRAM}</set> ++ <set var="INSTALL_DATA" overwrite="1">${BSD_INSTALL_DATA}</set> ++ <set var="INSTALL_DIR" overwrite="1">${BSD_INSTALL_DATA_DIR}</set> + + <set var="UNINSTALL_PROGRAM" overwrite="0">$(RM)</set> + <set var="UNINSTALL_DATA" overwrite="0">$(RM)</set> +@@ -120,12 +121,12 @@ + <if cond="FORMAT!='gnu'"> + <template id="__commands_templ_C"> + <set var="__COMPILE_C_CMD" eval="0"> +- $(CCC) -c -o $@ $(__cflags) $(src) ++ $(LIBTOOL) --mode=compile --tag=CC $(CCC) -c -o $@ $(__cflags) $(src) + </set> + </template> + <template id="__commands_templ_CXX"> + <set var="__COMPILE_CXX_CMD" eval="0"> +- $(CXXC) -c -o $@ $(__cxxflags) $(src) ++ $(LIBTOOL) --mode=compile --tag=CXX $(CXXC) -c -o $@ $(__cxxflags) $(src) + </set> + </template> + </if> +@@ -133,18 +134,16 @@ + + <template id="__commands_templ"> + <set var="__LINK_EXE_CMD" eval="0"> +- $(__linker) -o $@ $(__objects_var) $(__ldflags) $(__ldlibs) ++ $(LIBTOOL) --mode=link $(__linker) -o $@ $(__objects_var) $(__ldflags) $(__ldlibs) + </set> + <set var="__LINK_LIB_CMD" eval="0"> +- $(RM) $@ +- $(AR) $(AROPTIONS) $@ $(__objects_var) +- $(RANLIB) $@ ++ $(LIBTOOL) --mode=link --tag=CC $(__linker) -o $@ $(__objects_var) $(__ldflags) $(__ldlibs) + </set> + <set var="__LINK_DLL_CMD" eval="0"> +- $(__dll_linker) $@ $(__objects_var) $(__ldflags) $(__ldlibs) ++ $(LIBTOOL) --mode=link --tag=CC $(__linker) -rpath $(libdir) -o $@ $(__objects_var) $(__ldflags) $(__ldlibs) + </set> + <set var="__LINK_MODULE_CMD" eval="0"> +- $(__module_linker) $@ $(__objects_var) $(__ldflags) $(__ldlibs) ++ $(LIBTOOL) --mode=link --tag=CC $(__linker) -rpath $(libdir) -o $@ $(__objects_var) $(__ldflags) $(__ldlibs) + </set> + </template> + +$NetBSD: manual-bakefile.diff,v 1.1.1.1 2008/09/12 11:09:49 joerg Exp $ + +--- src/bottlenecks_wrap.c.orig 2008-09-08 20:08:03.000000000 +0200 ++++ src/bottlenecks_wrap.c +@@ -270,6 +270,16 @@ + #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) + #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) + ++const char *doEvalExpr(const char *expr, ++ PyObject *varCallb, ++ PyObject *textCallb, ++ PyObject *moreArgs, ++ PyObject *use_options, ++ PyObject *target, ++ PyObject *add_dict); ++ ++PyObject *proxydict_create(void); ++ + + /* Cast-Rank Mode */ + #if defined(SWIG_CASTRANK_MODE) diff --git a/x11/wxGTK28/patches/manual-regen.diff b/x11/wxGTK28/patches/manual-regen.diff new file mode 100644 index 00000000000..4f94a495ee3 --- /dev/null +++ b/x11/wxGTK28/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 2008-06-20 11:07:14.000000000 +0200 ++++ build/bakefiles/regex.bkl 2008-09-08 19:55:08.000000000 +0200 +@@ -27,16 +27,13 @@ + <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if> + </set> + +- <lib id="wxregex" template="msvc_setup_h,3rdparty_lib" ++ <dll id="wxregex" template="msvc_setup_h,anylib" + cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'"> +- <libname cond="FORMAT=='autoconf'"> +- $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) +- </libname> +- <libname cond="FORMAT!='autoconf'"> +- $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX) +- </libname> +- <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include> +- <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include> ++ <dllname> ++ $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE) ++ </dllname> ++ <version>$(WX_VERSION)</version> ++ <so_version>$(WXSOVERSION)</so_version> + <define>__WX$(TOOLKIT)__</define> + <define>$(WXUNIV_DEFINE)</define> + <define>$(UNICODE_DEFINE)</define> +@@ -49,6 +46,6 @@ + src/regex/regerror.c + src/regex/regfree.c + </sources> +- </lib> ++ </dll> + + </makefile> +--- build/bakefiles/wx.bkl.orig 2008-06-20 11:07:14.000000000 +0200 ++++ build/bakefiles/wx.bkl 2008-09-08 19:55:08.000000000 +0200 +@@ -96,7 +96,7 @@ + <command> + $(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) $(LIBDIR)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config) + </command> + </action> diff --git a/x11/wxGTK28/patches/patch-aa b/x11/wxGTK28/patches/patch-aa new file mode 100644 index 00000000000..cf73f6d902c --- /dev/null +++ b/x11/wxGTK28/patches/patch-aa @@ -0,0 +1,76 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/09/12 11:09:49 joerg Exp $ + +--- configure.orig 2008-06-20 11:07:14.000000000 +0200 ++++ configure +@@ -1962,7 +1962,7 @@ _ACEOF + + DEFAULT_DEFAULT_wxUSE_MOTIF=1 + ;; +- *-*-freebsd*) ++ *-*-freebsd* | *-*-dragonfly*) + USE_BSD=1 + USE_FREEBSD=1 + cat >>confdefs.h <<\_ACEOF +@@ -15805,7 +15805,7 @@ retest_macosx_linking=no + + #if test "$wxUSE_MAC" = 1; then + if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then +- if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then ++ if test "x$wxUSE_UNIVERSAL_BINARY" = xyes; then + # Implicitly turn on the new --with-macosx-sdk using the default + # SDK which provides the behavior this option has always had. + if test "x$wxUSE_MACOSX_SDK" = "x"; then +@@ -15887,7 +15887,7 @@ echo $ECHO_N "checking SDK deployment ve + MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'` + + # If that failed, try again with the new key +- if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then ++ if test "x$MACOSX_SDK_PLIST_VERSION_MIN" = "x"; then + + MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'` + +@@ -38671,6 +38671,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" + ;; +@@ -38804,7 +38807,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* ) +@@ -47714,7 +47717,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 +@@ -48281,6 +48284,7 @@ EOF + + powerpc-apple-macos* | \ + *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \ ++ *-*-dragonfly* | \ + *-*-mirbsd* | \ + *-*-sunos4* | \ + *-*-osf* | \ +@@ -48324,7 +48328,7 @@ echo "$as_me: error: unknown system type + + case "${BAKEFILE_HOST}" in + *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ +- *-*-k*bsd*-gnu | *-*-mirbsd* ) ++ *-*-k*bsd*-gnu | *-*-mirbsd* | *-*-dragonfly*) + if test "x$SUNCXX" = "xyes"; then + SONAME_FLAG="-h " + else diff --git a/x11/wxGTK28/patches/patch-ab b/x11/wxGTK28/patches/patch-ab new file mode 100644 index 00000000000..074ae1f5ad2 --- /dev/null +++ b/x11/wxGTK28/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1.1.1 2008/09/12 11:09:49 joerg Exp $ + +--- utils/wxrc/Makefile.in.orig 2008-09-08 23:43:35.000000000 +0200 ++++ utils/wxrc/Makefile.in +@@ -114,11 +114,8 @@ distclean: clean + + @COND_USE_XRC_1@install_wxrc: + @COND_USE_XRC_1@ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(bindir) +-@COND_USE_XRC_1@ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} wxrc$(EXEEXT) $(DESTDIR)$(bindir) +-@COND_USE_XRC_1@ rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) +-@COND_USE_XRC_1@ ${BSD_INSTALL_PROGRAM} wxrc$(EXEEXT) $(DESTDIR)$(bindir) +-@COND_USE_XRC_1@ mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) +-@COND_USE_XRC_1@ (cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT)) ++@COND_USE_XRC_1@ ${BSD_INSTALL_SCRIPT} wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) ++@COND_USE_XRC_1@ cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT) + + @COND_USE_XRC_1@uninstall_wxrc: + @COND_USE_XRC_1@ rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) |