b9716613de
GTK+-2.4 adds significant new functionality while maintaining source and binary compatibility with GTK+-2.2. Highlights of new features and improvements in GTK+-2.4 are: New file selector widget The new GtkFileChooser widgets provide a radically simplified and improved way for users to select files. Capabilities such as customizable filters and previews are now available for application writers. The filesystem access is encapsulated as a dynamically loaded module; as an example of what this allows, libgnomeui now provides a gnome-vfs backend for GtkFileChooser so that it has the same view of remote filesystems as applications such Nautilus. New drop-down selection widget The GtkComboBox widget replaces the old GtkOptionMenu and GtkCombo widgets with a single unified appearance and programming interface for both editable and non-editable dropdowns. Other enhancements provided include customizability of the main display widget and grid layouts for the drop-down menu. Action-based toolbar and menu API GtkUIManager allows the application to specify a set of "actions", then create menus and toolbars using those actions from an XML-like interface description. This separation makes it easier to coordinate having the same item both in a menu and in a toolbar and simplifies the implementation of toolbar editing. Bidirectional editing and interface flipping improvements GTK+ now automatically determines the base direction for label and text-entry widgets based on their contents, rather than requiring it to be specified by the application; this gives a much better user experience when editing mixed right-to-left and left-to-right text. Support for user-interface mirroring in right-to-left locales has now been extended to cover virtually all widgets. Other enhancements: - The GtkTreeModelFilter tree model allows displaying a filtered view of another tree model - GtkTreeView now supports a fixed-height-mode for faster display. - GtkToolbar has been reworked to provide a more consistent and extensible programming interface along with new features such as an overflow menu and animated editing feedback. - GtkEntry now supports completion dropdowns. - Named icons via the freedesktop.org icon theme specification are now supported. - gdk-pixbuf improvements include a PCX loader and saving support for the ICO and CUR formats. - Round trips to the X server at application startup and during operations such as drag-and-drop have been greatly reduced.
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: buildlink2.mk,v 1.14 2004/04/01 18:15:41 jmmv Exp $
|
|
|
|
.if !defined(GTK2_BUILDLINK2_MK)
|
|
GTK2_BUILDLINK2_MK= # defined
|
|
|
|
BUILDLINK_PACKAGES+= gtk2
|
|
BUILDLINK_DEPENDS.gtk2?= gtk2+>=2.4.0
|
|
BUILDLINK_PKGSRCDIR.gtk2?= ../../x11/gtk2
|
|
|
|
EVAL_PREFIX+= BUILDLINK_PREFIX.gtk2=gtk2
|
|
BUILDLINK_PREFIX.gtk2_DEFAULT= ${LOCALBASE}
|
|
BUILDLINK_FILES.gtk2= include/gtk-2.0/*/*
|
|
BUILDLINK_FILES.gtk2+= include/gtk-2.0/*
|
|
BUILDLINK_FILES.gtk2+= lib/gtk-2.0/*/*/*
|
|
BUILDLINK_FILES.gtk2+= lib/gtk-2.0/*/*
|
|
BUILDLINK_FILES.gtk2+= lib/gtk-2.0/*
|
|
BUILDLINK_FILES.gtk2+= lib/libgdk*-2.0.*
|
|
BUILDLINK_FILES.gtk2+= lib/libgtk*-2.0.*
|
|
|
|
USE_X11= YES
|
|
|
|
.include "../../devel/atk/buildlink2.mk"
|
|
.include "../../devel/gettext-lib/buildlink2.mk"
|
|
.include "../../devel/glib2/buildlink2.mk"
|
|
.include "../../devel/pango/buildlink2.mk"
|
|
.include "../../graphics/freetype2/buildlink2.mk"
|
|
.include "../../graphics/jpeg/buildlink2.mk"
|
|
.include "../../graphics/png/buildlink2.mk"
|
|
.include "../../graphics/tiff/buildlink2.mk"
|
|
.include "../../x11/xcursor/buildlink2.mk"
|
|
.include "../../x11/Xrandr/buildlink2.mk"
|
|
|
|
BUILDLINK_TARGETS+= gtk2-buildlink
|
|
|
|
gtk2-buildlink: _BUILDLINK_USE
|
|
|
|
.endif # GTK2_BUILDLINK2_MK
|