2005-09-26 13:47:24 +02:00
|
|
|
# $NetBSD: Makefile,v 1.93 2005/09/26 11:47:24 jmmv Exp $
|
2002-03-24 21:34:36 +01:00
|
|
|
#
|
|
|
|
|
2005-08-25 23:04:10 +02:00
|
|
|
DISTNAME= gtk+-2.6.10
|
2002-03-24 21:34:36 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/gtk/gtk2/}
|
|
|
|
CATEGORIES= x11
|
2004-12-24 11:04:39 +01:00
|
|
|
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.6/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.6/ \
|
|
|
|
${MASTER_SITE_GNOME:=sources/gtk+/2.6/}
|
2002-12-19 13:59:29 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-03-24 21:34:36 +01:00
|
|
|
|
2004-08-31 13:53:07 +02:00
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
2002-03-24 21:34:36 +01:00
|
|
|
HOMEPAGE= http://www.gtk.org/
|
2004-10-04 13:11:23 +02:00
|
|
|
COMMENT= GIMP Toolkit v2 - libraries for building X11 user interfaces
|
2002-03-24 21:34:36 +01:00
|
|
|
|
2004-12-24 11:04:39 +01:00
|
|
|
CONFLICTS= gtk2-engines<2.6.0
|
|
|
|
|
2002-03-24 21:34:36 +01:00
|
|
|
BUILD_USES_MSGFMT= yes
|
2004-12-24 11:04:39 +01:00
|
|
|
|
2005-02-04 22:42:22 +01:00
|
|
|
BUILDLINK_DEPENDS.glib2+= glib2>=2.6.2
|
2004-12-24 11:04:39 +01:00
|
|
|
BUILDLINK_DEPENDS.pango+= pango>=1.8.0
|
2004-05-28 20:16:38 +02:00
|
|
|
BUILDLINK_DEPENDS.Xft2+= Xft2>=2.1.2nb2
|
2004-03-08 20:40:36 +01:00
|
|
|
|
2004-04-14 18:15:20 +02:00
|
|
|
USE_DIRS+= xdg-1.1
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= yes
|
Update to 2.2.0.
Subjective extract of changes:
* Only close dialogs on Escape if they have a cancel button. [James Willcox]
* Add Home/End/Page_Up/Page_Down keybindings for menus [Owen,
Narayana Pattipati, Marius Andreiana]
* Improved default color scheme [Soeren Sandmann, with advise from
Tuomas Kuosmanen and Garrett LeSage]
* Make pixmap creation functions take a GdkDrawable not a GdkWindow
[Kristian Rietveld]
* Support move-resize emulation for all edges. [Matthias Clasen]
* Remove extra selections for ButtonRelease in XInput code
[Garry Osgood, Owen]
* Support RTL flipping for statusbars [Matthias]
* Use octal escapes rather than literal UTF-8 in strings [Owen]
* Make a lot of read-only data const. [Matthias, Morten Welinder]
* Use g_get_application_name() for default window titles and
for the title of the client leader window [Owen, Havoc Pennington]
* Complete resize-grippy support, move-resize emulation
[Anders Carlsson, Matthias Clasen]
* On screen change, recreate the widget's Pango context [Owen]
* Make g_object_set (gtk_settings_get_default (), ...) to override
settings from XSETTINGS and ~/.gtkrc [Jonathan Blandford]
* Make GtkInputDialog multihead aware [Owen]
* Add a ::screen-changed signal to GtkWidget [Owen Taylor]
* Draw/check menu items insensitive [Soeren, Tim Evans]
* Add ::snap-edge-set-property to GtkHandleBox [Owen, Matthias]
* RTL flipping improvements for GtkHandleBox, GtkMenuItem, GtkOptionMenu,
GtkCheckMenuItem [Matthias Clasen]
* Handle painting text on dark-colored progressbars [Soeren]
* Sort the input method list in the right click popup [Abigail Brady]
* Don't grab the focus to the default button in a GtkDialog [Daniel Elstner]
* Remove usage of XLookupString outside of GtkIMContextXIM [Owen]
* Handle Shift/Caps/Num_Lock properly for non-Xkb [Owen]
* Add a --screen option to set default screen [Balamurali Viswanathan, Owen]
* Add simple support for startup notification [Havoc Pennington]
* Handle focus indication for check and radio buttons without children
[Dave Camp, Owen]
* Much work on improve submenu navigation [Soeren Sandmann]
* Add "selected_shadow_type" property for menus [Soeren]
* Add "scrollbar_spacing" style property [Anders Carlsson, Owen]
* Rework GtkPaned keynav [Soeren, Calum Benson]
* Sensitivity and keynav fixes for GtkFileSelection [Muktha Narayan, Owen]
* Removed mnemonics for GtkToolbar Items [Mikael Hallendal]
* Allow themes to set GtkTreeView even/odd row colors [Kristian]
* Add support for separately installed Pixbuf loaders [Matthias Clasen]
* Export gdk_event_new(), discourage stack allocated events [Owen]
* gdk_draw_pixbuf() as better name for gdk_pixbuf_render_to_drawable() [Owen]
* Basic support for RandR extension [Keith Packard, Owen]
* Allow moving paned sliders all the way to the edge [Owen, Darin Adler]
* Add tag_table construct property to GtkTextBuffer [Daniel Elstner]
* gtk_window_set_[default_]icon_from_file [Owen, Havoc]
* Multihead support
* Add GdkDisplay, GdkScreen structures
* Add _for_display(), _for_screen() variants where needed in GDK and GTK+
(In other cases, make the variants methods on GdkDisplay/GdkScreen
* Adapt GTK+ widgets to be multihead safe
* Allow initialization of GTK+ without opening a display with gtk_parse_args()
* Add multihead support to demos/tests.
* Xinerama support [Erwann Chenede, Matthias Clasen]
* Allow GDK backends to add custom argument parsing [Sven Neumann]
* Add ::keys-changed signal to GdkKeymap, handle keymap changes for keybindings [Owen]
* Add style property for drawing menu items without shadow [Soeren]
* gtk_widget_modify_color_component/font(): Allow clearing
current modifications. [Owen]
* Add GtkWidget::is_focus, GtkWindow::is_active properties [Owen]
* Some XEMBED changes for standards compliance and Qt compatibility [Owen]
* Improve label behavior when it gets a too small allocation [Soeren]
* Add support for depth 8 StaticColor visuals to gdkrgb [Matthias]
* Theme drawing improvements [Soeren]
* Add types for GtkRowReference, GtkClipboard [Jonathan Blandford, James Henstridge, Owen]
* Use G_TYPE_FLAG_ABSTRACT for abstract types [Matthias]
* Add gtk_menu_shell_select_first() [Owen]
* Add gtk_notebook_get_n_pages() [Havoc Pennington]
* Allow accel_path = NULL for gtk_menu_item_set_accel_path().
* Allow icon sizes to be changed via a GtkSetting [Bill Haneman, Brian Cameron, Owen]
* Improve gdk-pixbuf loader tests [Soeren Sandmann]
* Use iTXT chunks when necessary in PNG image saver [Matthias]
* Add incremental loading for progressive jpegs [Matthias]
* Add load-at-size functionality [Matthias]
* Add a loader for .ANI animations [Matthias]
* Load hotspot for .ICO files [Matthias]
* Add gtk-im-preedit-style/gtk-im-status-style XSETTINGS [Hidetoshi Tajima]
Lots of bug fixes and enhancements.
2002-12-24 05:07:31 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2004-02-14 18:21:49 +01:00
|
|
|
USE_LIBTOOL= yes
|
2004-12-05 00:09:06 +01:00
|
|
|
PTHREAD_AUTO_VARS= yes
|
2002-03-24 21:34:36 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-xinput=xfree
|
2004-01-22 13:38:46 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata
|
2003-01-04 21:01:18 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gtk-doc=no
|
Update to 2.4.1:
* GtkFileChooser
- bug fixes [Morten Welinder, Federico Mena Quintero]
- pre-fill the location entry [Federico]
- internal api changes to allow setting a busy cursor
while loading [Federico]
- improve pathbar button sizing [Owen Taylor]
- add keybindings for removing bookmarks [Federico]
* GtkComboBox, GtkEntryCompletion
- fix repositioning logic [Niklas Knutsson]
- make keynav wrap around [Matthias]
- improve theme compliance [Matthias, Brian Cameron]
* GtkUIManager
- accept unnamed <separator>s [Anders Carlsson]
- robustify against gtk_widget_show_all() [Murray Cumming]
- warn if an accelerator cannot be parsed [Jody Goldberg]
* Win32
- fix DND positioning [Hans Breuer]
- update gtkfilesystemwin32 [Tor Lillqvist, J. Ali Harlow]
- make filechooser work on Windows [Tor]
- draw arcs more correctly [Tor]
- disable tables support by support, add --use-wintab to
get it back [Tor]
* Make color wheel accessible [Padraig O'Briain]
* Support _NET_WM_USER_TIME [Elijah Newren, Soeren Sandmann]
* Doc improvements [Federico, Matthias, Christian Persch]
Olexiy Avramchenko, Tim-Philipp Müller]
* Misc bug fixes [Alex Converse, Owen, Jacques Garrigue,
Jonathan Blandford, Anders Carlsson, Christian, Hans,
Matthias, Morten, Philip Langdale, Brian, Pedro Rodriguez,
Soeren, Torsten Schoenfield, Dongho Shin, Andrew E. Makeev,
Todd Goyen, Tim Gerla, John Finlay, Theppitak Karoonboonyanan,
John Ehresman, Chris Sherlock, Jody]
* Updated translations (af,ar,az,bn,br,ca,cs,cy,da,de,el,en_CA,
en_GB,es,et,eu,fi,fr,ga,gu,he,hr,hu,id,is,it,ja,ko,lt,mi,ml,
mn,mr,ms,ne,nl,nn,no,pa,pl,pt,pt_BR,sk,ru,sq,sr,sr@ije,sr@Latn,
sv,tr,uk,uz,wa,zh_CN)
2004-05-02 22:07:36 +02:00
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
2002-12-24 22:00:10 +01:00
|
|
|
CONFIGURE_ENV+= ac_cv_header_X11_extensions_Xinerama_h=no
|
|
|
|
CONFIGURE_ENV+= ac_cv_lib_Xinerama_XineramaQueryExtension=no
|
2002-03-24 21:34:36 +01:00
|
|
|
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
|
Update to 2.2.0.
Subjective extract of changes:
* Only close dialogs on Escape if they have a cancel button. [James Willcox]
* Add Home/End/Page_Up/Page_Down keybindings for menus [Owen,
Narayana Pattipati, Marius Andreiana]
* Improved default color scheme [Soeren Sandmann, with advise from
Tuomas Kuosmanen and Garrett LeSage]
* Make pixmap creation functions take a GdkDrawable not a GdkWindow
[Kristian Rietveld]
* Support move-resize emulation for all edges. [Matthias Clasen]
* Remove extra selections for ButtonRelease in XInput code
[Garry Osgood, Owen]
* Support RTL flipping for statusbars [Matthias]
* Use octal escapes rather than literal UTF-8 in strings [Owen]
* Make a lot of read-only data const. [Matthias, Morten Welinder]
* Use g_get_application_name() for default window titles and
for the title of the client leader window [Owen, Havoc Pennington]
* Complete resize-grippy support, move-resize emulation
[Anders Carlsson, Matthias Clasen]
* On screen change, recreate the widget's Pango context [Owen]
* Make g_object_set (gtk_settings_get_default (), ...) to override
settings from XSETTINGS and ~/.gtkrc [Jonathan Blandford]
* Make GtkInputDialog multihead aware [Owen]
* Add a ::screen-changed signal to GtkWidget [Owen Taylor]
* Draw/check menu items insensitive [Soeren, Tim Evans]
* Add ::snap-edge-set-property to GtkHandleBox [Owen, Matthias]
* RTL flipping improvements for GtkHandleBox, GtkMenuItem, GtkOptionMenu,
GtkCheckMenuItem [Matthias Clasen]
* Handle painting text on dark-colored progressbars [Soeren]
* Sort the input method list in the right click popup [Abigail Brady]
* Don't grab the focus to the default button in a GtkDialog [Daniel Elstner]
* Remove usage of XLookupString outside of GtkIMContextXIM [Owen]
* Handle Shift/Caps/Num_Lock properly for non-Xkb [Owen]
* Add a --screen option to set default screen [Balamurali Viswanathan, Owen]
* Add simple support for startup notification [Havoc Pennington]
* Handle focus indication for check and radio buttons without children
[Dave Camp, Owen]
* Much work on improve submenu navigation [Soeren Sandmann]
* Add "selected_shadow_type" property for menus [Soeren]
* Add "scrollbar_spacing" style property [Anders Carlsson, Owen]
* Rework GtkPaned keynav [Soeren, Calum Benson]
* Sensitivity and keynav fixes for GtkFileSelection [Muktha Narayan, Owen]
* Removed mnemonics for GtkToolbar Items [Mikael Hallendal]
* Allow themes to set GtkTreeView even/odd row colors [Kristian]
* Add support for separately installed Pixbuf loaders [Matthias Clasen]
* Export gdk_event_new(), discourage stack allocated events [Owen]
* gdk_draw_pixbuf() as better name for gdk_pixbuf_render_to_drawable() [Owen]
* Basic support for RandR extension [Keith Packard, Owen]
* Allow moving paned sliders all the way to the edge [Owen, Darin Adler]
* Add tag_table construct property to GtkTextBuffer [Daniel Elstner]
* gtk_window_set_[default_]icon_from_file [Owen, Havoc]
* Multihead support
* Add GdkDisplay, GdkScreen structures
* Add _for_display(), _for_screen() variants where needed in GDK and GTK+
(In other cases, make the variants methods on GdkDisplay/GdkScreen
* Adapt GTK+ widgets to be multihead safe
* Allow initialization of GTK+ without opening a display with gtk_parse_args()
* Add multihead support to demos/tests.
* Xinerama support [Erwann Chenede, Matthias Clasen]
* Allow GDK backends to add custom argument parsing [Sven Neumann]
* Add ::keys-changed signal to GdkKeymap, handle keymap changes for keybindings [Owen]
* Add style property for drawing menu items without shadow [Soeren]
* gtk_widget_modify_color_component/font(): Allow clearing
current modifications. [Owen]
* Add GtkWidget::is_focus, GtkWindow::is_active properties [Owen]
* Some XEMBED changes for standards compliance and Qt compatibility [Owen]
* Improve label behavior when it gets a too small allocation [Soeren]
* Add support for depth 8 StaticColor visuals to gdkrgb [Matthias]
* Theme drawing improvements [Soeren]
* Add types for GtkRowReference, GtkClipboard [Jonathan Blandford, James Henstridge, Owen]
* Use G_TYPE_FLAG_ABSTRACT for abstract types [Matthias]
* Add gtk_menu_shell_select_first() [Owen]
* Add gtk_notebook_get_n_pages() [Havoc Pennington]
* Allow accel_path = NULL for gtk_menu_item_set_accel_path().
* Allow icon sizes to be changed via a GtkSetting [Bill Haneman, Brian Cameron, Owen]
* Improve gdk-pixbuf loader tests [Soeren Sandmann]
* Use iTXT chunks when necessary in PNG image saver [Matthias]
* Add incremental loading for progressive jpegs [Matthias]
* Add load-at-size functionality [Matthias]
* Add a loader for .ANI animations [Matthias]
* Load hotspot for .ICO files [Matthias]
* Add gtk-im-preedit-style/gtk-im-status-style XSETTINGS [Hidetoshi Tajima]
Lots of bug fixes and enhancements.
2002-12-24 05:07:31 +01:00
|
|
|
TEST_TARGET= check
|
2002-03-24 21:34:36 +01:00
|
|
|
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE= gdk-2.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= gtk+-2.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= gdk-pixbuf-2.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc.in
|
2002-10-08 02:02:18 +02:00
|
|
|
|
2005-08-20 21:16:21 +02:00
|
|
|
REQD_DIRS+= ${PREFIX}/libdata/gtk-2.0
|
2004-06-20 22:12:20 +02:00
|
|
|
|
2002-10-08 02:02:18 +02:00
|
|
|
BUILD_DIRS= ${WRKSRC} ${WRKSRC}/demos/gtk-demo
|
|
|
|
|
2005-09-26 13:47:24 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-02-14 00:30:07 +01:00
|
|
|
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
|
2005-01-12 12:20:20 +01:00
|
|
|
|
Update to 2.4.1:
* GtkFileChooser
- bug fixes [Morten Welinder, Federico Mena Quintero]
- pre-fill the location entry [Federico]
- internal api changes to allow setting a busy cursor
while loading [Federico]
- improve pathbar button sizing [Owen Taylor]
- add keybindings for removing bookmarks [Federico]
* GtkComboBox, GtkEntryCompletion
- fix repositioning logic [Niklas Knutsson]
- make keynav wrap around [Matthias]
- improve theme compliance [Matthias, Brian Cameron]
* GtkUIManager
- accept unnamed <separator>s [Anders Carlsson]
- robustify against gtk_widget_show_all() [Murray Cumming]
- warn if an accelerator cannot be parsed [Jody Goldberg]
* Win32
- fix DND positioning [Hans Breuer]
- update gtkfilesystemwin32 [Tor Lillqvist, J. Ali Harlow]
- make filechooser work on Windows [Tor]
- draw arcs more correctly [Tor]
- disable tables support by support, add --use-wintab to
get it back [Tor]
* Make color wheel accessible [Padraig O'Briain]
* Support _NET_WM_USER_TIME [Elijah Newren, Soeren Sandmann]
* Doc improvements [Federico, Matthias, Christian Persch]
Olexiy Avramchenko, Tim-Philipp Müller]
* Misc bug fixes [Alex Converse, Owen, Jacques Garrigue,
Jonathan Blandford, Anders Carlsson, Christian, Hans,
Matthias, Morten, Philip Langdale, Brian, Pedro Rodriguez,
Soeren, Torsten Schoenfield, Dongho Shin, Andrew E. Makeev,
Todd Goyen, Tim Gerla, John Finlay, Theppitak Karoonboonyanan,
John Ehresman, Chris Sherlock, Jody]
* Updated translations (af,ar,az,bn,br,ca,cs,cy,da,de,el,en_CA,
en_GB,es,et,eu,fi,fr,ga,gu,he,hr,hu,id,is,it,ja,ko,lt,mi,ml,
mn,mr,ms,ne,nl,nn,no,pa,pl,pt,pt_BR,sk,ru,sq,sr,sr@ije,sr@Latn,
sv,tr,uk,uz,wa,zh_CN)
2004-05-02 22:07:36 +02:00
|
|
|
PRINT_PLIST_AWK+= /^@dirrm share\/themes\/Default$$/ \
|
|
|
|
{ print "@unexec $${RMDIR} %D/" $$2 \
|
|
|
|
" 2>/dev/null || $${TRUE}"; next; }
|
|
|
|
|
2005-05-08 11:07:08 +02:00
|
|
|
SUBST_CLASSES= pthread
|
|
|
|
SUBST_STAGE.pthread= pre-configure
|
|
|
|
SUBST_MESSAGE.pthread= "Fixing pthread flags."
|
|
|
|
SUBST_SED.pthread= -e 's,__PTHREAD_FLAGS__,${BUILDLINK_LDFLAGS.pthread},g'
|
|
|
|
SUBST_FILES.pthread= gdk-pixbuf/Makefile.in
|
|
|
|
|
2004-05-16 10:10:41 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
2005-06-22 02:45:29 +02:00
|
|
|
.if ${OPSYS} == "IRIX" && !empty(CC_VERSION:Mgcc*)
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gawk
|
2004-05-16 10:10:41 +02:00
|
|
|
.endif
|
|
|
|
|
2005-09-16 08:10:15 +02:00
|
|
|
# We remove the module databases during post-install since we create them
|
|
|
|
# anew in the +INSTALL script as part of the POST-INSTALL action.
|
|
|
|
#
|
2002-10-08 00:53:33 +02:00
|
|
|
post-install:
|
2005-09-16 08:10:15 +02:00
|
|
|
${RM} -f ${GTK_IMMODULES_DB}
|
|
|
|
${RM} -f ${GDK_PIXBUF_LOADERS_DB}
|
2002-10-08 00:53:33 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtk-2.0/modules
|
2004-04-01 20:15:41 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtk-2.0/2.4.0/filesystems
|
2002-10-08 00:53:33 +02:00
|
|
|
|
2004-06-20 22:12:20 +02:00
|
|
|
_BUILDING_GTK2= yes
|
|
|
|
.include "modules.mk"
|
|
|
|
|
2004-02-10 03:04:54 +01:00
|
|
|
.include "../../devel/atk/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../devel/pango/buildlink3.mk"
|
2004-05-28 20:16:38 +02:00
|
|
|
.include "../../fonts/Xft2/buildlink3.mk"
|
2004-02-10 03:04:54 +01:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2004-04-01 20:15:41 +02:00
|
|
|
.include "../../x11/xcursor/buildlink3.mk"
|
2005-03-13 16:24:39 +01:00
|
|
|
.include "../../x11/Xfixes/buildlink3.mk"
|
2004-03-09 23:15:01 +01:00
|
|
|
.include "../../x11/Xrandr/buildlink3.mk"
|
2002-10-08 02:02:18 +02:00
|
|
|
|
2002-03-24 21:34:36 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|