pkgsrc/x11/wxGTK28/Makefile.common
ryoon 45d176cd1e Update to 2.8.12
Changelog:
2.8.12:
-------

All:

- Fixed a bug in UNC path testing.
- Improved command line parser usage help.
- Fixed race condition bugs in wxCondition.
- Added wxT_2() for forward compatibility with wxWidgets 3. Use it in
  initialization of wxCmdLineEntryDesc struct elements and (very few) other
  places where wxT() is required currently but won't be allowed in v3.
- Fixed crash on exit caused by deleting old logger in wxLogChain dtor.

All (GUI):

- wxRTC: fixed style selection resetting after editing a style.
- wxRTC: can now edit line spacing in .1 increments from 1 to 2.
- wxRTC: fixed wrong line spacing and space after paragraph calculations.
- wxRTC: GetStyleMergedWithBase now detects loops.
- wxRTC: wxRichTextCtrl::ApplyStyle now applies a paragraph style at the
  cursor without needing a selection, and setting the default style now
  avoids duplicating character attributes in subsequently typed text when
  they exist in the paragraph style.
- wxRTC: fixed IsPositionVisible to scroll a position into view correctly.
- wxRTC: fixed a problem with paste resetting the content paragraph style.
- wxRTC: style list box now copes with names duplicated across style types.
  Also fixed wxRichTextStyleDefinition::GetStyleMergeWithBase similarly.
- wxRTC: fixed very poor performance for XML loading on wxGTK.
- Fixed error in generic tree control CalculatePositions.
- Added wxFD_FILE_MUST_EXIST to wxFileSelector function.
- Added wxDataViewCtrl Get/SetValueByRow functions for forward compatibility
  with 2.9.
- Right-clicking is now supported in any kind of wxAuiToolBar button.
- Fixed a bug in wxAcceleratorEntry::IsOk.
- wxGraphicsContext::DrawBitmap: x and y coordinates no longer affected by
  stretch factor.
- Fixed an assert in wxGrid on wxEVT_MOUSE_CAPTURE_LOST.
- Fixed bug in generic wxTreeCtrl where SelectItem toggles the selection if
  the item is already in the desired state.
- Fixed bug in wxSizer::Replace(size_t, wxSizerItem *) whereby SetContainingSizer
  is not called.
- Fixed compilation with libpng 1.5 and above.
- Removed ugly black (simple) border around wxHTML help window.

wxMSW:

- wxOwnerDrawnComboBox and wxComboCtrl with wxCB_READONLY window style now
  have more native-like focus indicator rendering.
- Fixed wxOwnerDrawnComboBox keyboard handling: drop-down is no longer
  displayed when arrow key is pressed (without Alt).
- In some rare cases wxOwnerDrawnComboBox drop-down animation could display
  as garbage. This has now been greatly reduced (mcben).
- Fixed OLE date conversion bug.
- Added check for double window handle creation.
- Fixed WIN64 crash in wxStyledTextCtrl.
- Fixed Watcom compilation when omitting threads.
- Fixed wxFileName::IsFileReadable on Windows 98.
- Fixed bug whereby clicking anywhere inside wxListBox generates
  wxEVT_COMMAND_LISTBOX_SELECTED event. You need to set wxUSE_LISTBOX_SELECTION_FIX
  to 1 in include/wx/msw/listbox.h to enable this binary-incompatible fix.

wxGTK:

- Fix for --disable-radiobtn compilation.
- Fixed a bug on GTK+ only whereby wxGrid scrolls back to the previous edit position
  when another cell is edited.
- Fix for missing menubar problem under some window managers where menu bar height is
  reported as 0 when the menu hasn't fully realized yet. Now updates the height during
  idle time if it is 0, otherwise no menu is shown.
- Improved list control and tree control selection text theme compatibility by adding
  wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT colour index.
- wxComboCtrl and wxOwnerDrawnComboBox had wrong background colours under some
  themes (Marcin Wojdyr).
- Added thread-safe fixes to socket code.

wxUniv:

- Fixed assertion in tree control sample due to colour index not being supported.
2013-06-15 02:30:57 +00:00

79 lines
2.5 KiB
Text

# $NetBSD: Makefile.common,v 1.15 2013/06/15 02:30:57 ryoon Exp $
#
# used by x11/wxGTK28/Makefile
# used by x11/wxGTK28-contrib/Makefile
DISTNAME= wxGTK-2.8.12
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}
PATCH_DIST_STRIP.${DISTNAME}-libtool.diff.bz2= -p1
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-expat=sys
CONFIGURE_ARGS+= --with-zlib=sys
CONFIGURE_ARGS+= --with-regex=builtin
CONFIGURE_ARGS+= --enable-mediactrl
DOCDIR= ${PREFIX}/share/doc/wxGTK
PKGLOCALEDIR= share
CONFIGURE_DIRS= build-non-unicode build-unicode
INSTALL_MAKE_FLAGS+= LN_S="ln -fs"
#CONFIGURE_ARGS+= --enable-debug
#PLIST_SUBST+= DEBUG_LIB=d DEBUG_CONFIG=-config
PLIST_SUBST+= DEBUG_LIB= DEBUG_CONFIG=-release
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
SUBST_FILES.fix-paths= configure
SUBST_SED.fix-paths= -e 's,/usr/pkg/include,${PREFIX}/include,g'
SUBST_SED.fix-paths+= -e 's,@PREFIX@,${PREFIX},g'
pre-configure:
mkdir ${WRKSRC}/build-non-unicode ${WRKSRC}/build-unicode
printf '#!%s\n../configure --enable-unicode "$$@"' ${SH} \
> ${WRKSRC}/build-unicode/configure
printf '#!%s\n../configure --disable-unicode "$$@"' ${SH} \
> ${WRKSRC}/build-non-unicode/configure
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
.include "../../devel/GConf/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"