head 1.21; access; symbols pkgsrc-2013Q2:1.21.0.12 pkgsrc-2013Q2-base:1.21 pkgsrc-2012Q4:1.21.0.10 pkgsrc-2012Q4-base:1.21 pkgsrc-2011Q4:1.21.0.8 pkgsrc-2011Q4-base:1.21 pkgsrc-2011Q2:1.21.0.6 pkgsrc-2011Q2-base:1.21 pkgsrc-2009Q4:1.21.0.4 pkgsrc-2009Q4-base:1.21 pkgsrc-2008Q4:1.21.0.2 pkgsrc-2008Q4-base:1.21 pkgsrc-2008Q3:1.20.0.12 pkgsrc-2008Q3-base:1.20 cube-native-xorg:1.20.0.10 cube-native-xorg-base:1.20 pkgsrc-2008Q2:1.20.0.8 pkgsrc-2008Q2-base:1.20 cwrapper:1.20.0.6 pkgsrc-2008Q1:1.20.0.4 pkgsrc-2008Q1-base:1.20 pkgsrc-2007Q4:1.20.0.2 pkgsrc-2007Q4-base:1.20 pkgsrc-2007Q3:1.19.0.2 pkgsrc-2007Q3-base:1.19 pkgsrc-2007Q2:1.18.0.4 pkgsrc-2007Q2-base:1.18 pkgsrc-2007Q1:1.18.0.2 pkgsrc-2007Q1-base:1.18 pkgsrc-2006Q4:1.17.0.4 pkgsrc-2006Q4-base:1.17 pkgsrc-2006Q3:1.17.0.2 pkgsrc-2006Q3-base:1.17 pkgsrc-2006Q2:1.15.0.4 pkgsrc-2006Q2-base:1.15 pkgsrc-2006Q1:1.15.0.2 pkgsrc-2006Q1-base:1.15 pkgsrc-2005Q4:1.13.0.2 pkgsrc-2005Q4-base:1.13 pkgsrc-2005Q3:1.10.0.2 pkgsrc-2005Q3-base:1.10 pkgsrc-2005Q2:1.9.0.2 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.6.0.8 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.6 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.4 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.2 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.21 date 2008.10.16.11.10.07; author drochner; state dead; branches; next 1.20; 1.20 date 2007.10.21.02.03.34; author obache; state Exp; branches; next 1.19; 1.19 date 2007.09.16.19.53.27; author wiz; state Exp; branches; next 1.18; 1.18 date 2007.01.06.15.13.15; author wiz; state Exp; branches; next 1.17; 1.17 date 2006.09.22.21.27.11; author tron; state Exp; branches; next 1.16; 1.16 date 2006.09.17.15.35.52; author jmmv; state Exp; branches; next 1.15; 1.15 date 2006.03.14.17.07.47; author tron; state Exp; branches; next 1.14; 1.14 date 2006.03.09.17.17.52; author wiz; state dead; branches; next 1.13; 1.13 date 2005.12.11.23.11.47; author joerg; state Exp; branches; next 1.12; 1.12 date 2005.11.20.16.50.19; author wiz; state dead; branches; next 1.11; 1.11 date 2005.10.05.14.37.45; author wiz; state Exp; branches; next 1.10; 1.10 date 2005.06.26.19.43.54; author jmmv; state dead; branches 1.10.2.1; next 1.9; 1.9 date 2005.05.18.15.28.04; author jmmv; state Exp; branches; next 1.8; 1.8 date 2005.04.15.13.47.25; author wiz; state dead; branches; next 1.7; 1.7 date 2005.04.01.10.51.51; author salo; state Exp; branches; next 1.6; 1.6 date 2004.04.01.18.15.41; author jmmv; state dead; branches 1.6.8.1; next 1.5; 1.5 date 2003.09.27.19.58.36; author danw; state Exp; branches; next 1.4; 1.4 date 2002.11.15.17.12.12; author wiz; state dead; branches; next 1.3; 1.3 date 2002.04.06.15.48.55; author dmcmahill; state Exp; branches; next 1.2; 1.2 date 2002.03.30.20.01.39; author dmcmahill; state Exp; branches; next 1.1; 1.1 date 2002.03.24.20.34.37; author dmcmahill; state Exp; branches 1.1.1.1; next ; 1.10.2.1 date 2005.11.27.21.18.50; author snj; state Exp; branches; next ; 1.6.8.1 date 2005.04.03.03.26.55; author snj; state Exp; branches; next ; 1.1.1.1 date 2002.03.24.20.34.37; author dmcmahill; state Exp; branches; next ; desc @@ 1.21 log @update to 2.14.3, mostly from Juan RP This switches to the gnome-2.24 release branch. Most noteworthy change: gtk includes "gail" now, so it conflicts with the old devel/gail pkg. @ text @$NetBSD: patch-ai,v 1.20 2007/10/21 02:03:34 obache Exp $ --- configure.orig 2007-09-13 20:47:55.000000000 +0000 +++ configure @@@@ -4652,7 +4652,7 @@@@ fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -if test "$OBJC" == "yes"; then +if test "$OBJC" = "yes"; then HAVE_OBJC_TRUE= HAVE_OBJC_FALSE='#' else @ 1.20 log @No need "ENABLE_CUPS" anymore since last option.mk change. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.19 2007/09/16 19:53:27 wiz Exp $ @ 1.19 log @Update to 2.12.0. (no shlib major changes) Overview of Changes from GTK+ 2.11.6 to 2.12.0 ============================================== * GtkTooltips - All widgets have been ported to the new tooltips code - Tooltips are disabled in touchscreen mode * GtkBuilder - Support custom tabs in GtkPrintUnixDialog Lots of bugfixes and translation updates. Overview of Changes from GTK+ 2.11.5 to 2.11.6 ============================================== * GtkBuilder: - The gtk-builder-convert script is more versatile - GtkBuilder suppports GdkPixbuf properties - GtkBuilder parses, but doesn't yet implement - Support for accelerators in actions has been added * GtkTooltips: - The old tooltips API has been deprecated - The has-tooltip property has getter and setter * GtkTreeView: - Convenience API to set tooltips: gtk_tree_view_set_tooltip_row(), gtk_tree_view_set_tooltip_cell(), gtk_tree_view_get_tooltip_context(), gtk_tree_view_set_tooltip_column() * GtkIconView: - Convenience API to set tooltips: gtk_icon_view_set_tooltip_item(), gtk_icon_view_set_tooltip_cell(), gtk_icon_view_get_tooltip_context(), gtk_icon_view_set_tooltip_column() Lots of bugfixes and translation updates. Overview of Changes from GTK+ 2.11.4 to 2.11.5 ============================================== * OS X port: - Many improvements * Win32 port: - Inconsistent checkboxes are drawn correctly now * GtkBuilder: - Ship a Python script, gtk-builder-convert, to convert glade files to GtkBuilder syntax * GtkFileChooser: - Improved display of the time column - Support search on OS X, using Spotlight * GtkTreeView: - New function gtk_tree_view_is_rubber_banding_active() to check whether rubber banding is active * GtkVolumeButton uses the range 0.0 to 1.0, and correctly adapts tooltips to display percentages Lots of bugfixes and translation updates. Overview of Changes from GTK+ 2.11.3 to 2.11.4 ============================================== * The multipress input method correctly handles control keys * The memory management of GtkRecentManager has been changed, deprecating the screen-related functions in favour of gtk_recent_manager_get_default(). Lots of bugfixes. Overview of Changes from GTK+ 2.11.2 to 2.11.3 ============================================== * GtkBuilder: GTK+ supports constructing user interfaces from XML descriptions now, similar to libglade. * The new tooltip code now has convenience api to set text tooltips: gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup() * GtkTextView, GtkEntry: - gtk_widget_modify_cursor() is a new function in the gtk_widget_modify family to override the style-provided cursor colors - Use a block cursor in overwrite mode * GtkFileChooser: - Use xdg-user-dirs to find the Desktop directory - gtk_file_system_create() is now public API * GtkMenu: - GtkMenuItem gained a submenu property - GtkMenuShell obtained a move-selected signal * OS X port: - Many improvements Lots of bugfixes and translation updates. Overview of Changes from GTK+ 2.11.1 to 2.11.2 ============================================== * The GtkListStore and GtkTreeStore have new API to set values using vectors of columns and values Bugfixes and translation updates. Overview of Changes from GTK+ 2.11.0 to 2.11.1 ============================================== * GtkTextView: - Marks can be created independent from buffers - Cursor color follows text color * OS X port: - Many improvements * GDK: - Add support for composited child windows Lots of bugfixes and translation updates. Overview of Changes from GTK+ 2.10.x to 2.11 ============================================ * Printing support: - Cups backend: Work with "BrowseShortNames Off" - Cups backend: Fix handling of multi-valued options - Cups backend: Work with raw printers - Cups backend: don't lock up when met with larger numbers of printers - Improved sensitivity handling of controls in the unix dialog - Support half-open ranges - Add a test print backend for easier debugging - Add API to list paper sizes - Add API to serialize and deserialize page setups and print settings - Print settings can be passed to the preview command - Make more GtkPrinter public * GtkFileChooser: - Improve file chooser dialog size logic - Add a GtkFileChooserButton::file-set signal - Add a search mode with backends for Beagle, Tracker and simple search - Add recent files support * New tooltips API, that allows complex tooltips (markup, images), tooltips on insensitive widgets, tooltips on treeviews, etc * GtkScaleButton, GtkVolumeButton: new widgets for volume controls frequently seen in multimedia applications * Input Methods: - New Thai and Lao input method - New multipress input method for phone pads * Recent files: - GtkRecentChooserMenu supports custom menu items - GtkRecentAction was added * Keyboard navigation improvements: - Infrastructure for notification of failed keyboard navigation - Better support for restricted sets of keys - Only handle keys for notebook tab reordering and scrolledwindow scrolling if it make sense - Add settings gtk-enable-accels and gtk-enable-mnemonics to disable the display of accelerators and mnemonics - Popup/popdown of comboboxes is keybindable * Windows port: - Windows 9x/ME is not supported anymore - Many ms-windows theme improvements - The file chooser uses native icons - Support drop shadows - Use native cursors * OS X port: - Many improvements * Icon theme support: - Add api to list contexts of an icon theme - The builtin stock icons have been replaced by a new set of icons which are visually compatible with Tango - Support fallback to more generic icon names - Validate icon caches when they are created and before they are used * GtkRange has gained support for fill levels * GtkEntry: - inline-selection mode for entry completion that is closer to what web browsers need - Add gtk_entry_set_cursor_hadjustment() to support automatic scrolling * GtkTextView: - Support accumulative and negative margins - GTK_JUSTIFY_FILL works * GtkLabel: - GTK_JUSTIFY_FILL works * GtkStatusIcon: - Multiscreen support - gtk_status_icon_position_menu() works on Windows - Don't take up space when invisible * GtkCellRendererProgress: - Respect themes - Support activity mode * GtkNotebook: - Support scrolling during tab DND - Allow dropping tabs anywhere - Deprecate numeric group-ids in favour of a more flexible group property * GtkTreeView: - Lots of scrolling fixes - Add a gtk-alternative-sort-arrows setting for drawing sort arrows according to platform conventions * GtkButtonBox: - Can center buttons now * GtkComboBoxEntry - Can add an arbitrary child widget * GtkAboutDialog: - The "name" property has been replaced by "program-name" to avoid a clash with the preexisting "name" property on GtkWidget * GDK changes: - Add gdk_event_request_motions() which works with input devices - Add API for changing startup notification id on a window - Add API for sending startup notification messages - Don't deadlock with xcb-based libX11 - The handling of _NET_WM_USER_TIME has been changed to reduce the amount of root window property changes - New gdk_threads api() to allow fully threadsafe handling of idles and timeouts * gdk-pixbuf changes: - Optional support for Sun mediaLib hardware acceleration - Support exif rotations in tiffs and jpegs - Allow arbitrary split between builtin vs modular loaders - Support v5 and OS/2 bmps - Support scaling animations * Miscellaneous GTK+ changes: - New function gtk_window_set_opacity(), to set the opacity of toplevel windows - Allow to restrict drags within an application or widget - Support opening/closing of submenus on click - Configurable cursor blinking timeout - Insensitive widgets don't install cursors Lots of bugfixes and translation updates. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.18 2007/01/06 15:13:15 wiz Exp $ a13 10 @@@@ -35379,6 +35379,9 @@@@ fi fi +if test "x$ENABLE_CUPS" != "xyes"; then + CUPS_CONFIG=no +fi if test "x$CUPS_CONFIG" != "xno"; then HAVE_CUPS_TRUE= HAVE_CUPS_FALSE='#' @ 1.18 log @Add an option for cups support, based on patches provided by Joachim Koenig-Baltes in PR 35065. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.17 2006/09/22 21:27:11 tron Exp $ d3 1 a3 1 --- configure.orig 2006-09-05 04:40:15.000000000 +0200 d5 10 a14 1 @@@@ -32042,6 +32042,9 @@@@ _ACEOF @ 1.17 log @Remove Mac OS X shared object buildfix which is no longer necessary. See http://bugzilla.gnome.org/show_bug.cgi?id=357209 for details. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.16 2006/09/17 15:35:52 jmmv Exp $ d5 1 a5 1 @@@@ -32042,6 +32042,7 @@@@ _ACEOF d9 3 a11 1 +CUPS_CONFIG=no @ 1.16 log @Explicitly disable cups support to avoid installing some extra files. Found under Mac OS X, which provides cups as part of the base system. Fixing this correctly could probably mean supporting cups as a native tool if available so that it worked as expected under those systems that have it (Mac OS X as said above). Plus I think it makes more sense to have an independent gtk2-cups package that provides this tiny bit. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.15 2006/03/14 17:07:47 tron Exp $ a4 9 @@@@ -26296,7 +26296,7 @@@@ echo "${ECHO_T}$gtk_uxtheme_h" >&6 use_la_modules=false case $host in - *-aix*) use_la_modules=true + *-aix*|*-darwin*) use_la_modules=true esac if $use_la_modules ; then @ 1.15 log @Make "gdk-pixbuf-query-loaders" work under Mac OS X again. This allows to build the "xchat" package again. Bump package revision. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.orig 2006-03-14 13:37:39.000000000 +0000 +++ configure 2006-03-14 15:34:00.000000000 +0000 @@@@ -26102,7 +26102,7 @@@@ d14 8 @ 1.14 log @Update to 2.8.14: Overview of Changes from GTK+ 2.8.13 to GTK+ 2.8.14 =================================================== * Fixed invalid memory access in g_object_sink() from GLib-2.10.0 (in combination with GLib-2.10, at least GLib-2.10.1 is required now). * Bugs fixed: 320132 Drag cursor position not identical with the drag hotspot [Christian Neumair] 333133 wrong appearance for colour button [Christian Persch] 321301 ms-windows-engine differences from native GUI - combo boxes [Jernej Simončič, Dom Lachowicz] 333291 Focus line of GtkExpander at the wrong place in RTL mode [Benjamin Berg] 324562 XInput events are at incorrect xy-coordinates [Denis Auroux] 142536 Wacom pointer offset when using TopY other than 0 [Robert Ögren] 332985 GtkButton doesn't allow image-only buttons via "image" property [Kalle Vahlmann] 333555 When changing icon of button, icon does not change 332466 Strange row spacing in GtkIconView when item width is set [Donald Straney] 333363 build_insensitive_pixmap does not check return value from gdk_pixbuf_get_from_drawable [Ed Catmur] 333268 Crash in gnome-program when running a program with an wrong display [Paolo Maggi, Christian Persch] 333377 Cursor does not appear everytime when clicking on the widget [Steve Frécinaux] 323401 blink_cb optimization is not working 316689 GtkTreeView does not resize correctly [Chris Lord] 148518 Fix incremental loading of 8-bit pcx files [Magnus Bergmann] * Updated translations (cy,de,es,nn,pl) @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.13 2005/12/11 23:11:47 joerg Exp $ d3 3 a5 5 --- gtk/xdgmime/xdgmimemagic.c.orig 2005-12-11 21:31:25.000000000 +0000 +++ gtk/xdgmime/xdgmimemagic.c @@@@ -47,8 +47,6 @@@@ #define TRUE (!FALSE) #endif d7 5 a11 4 -extern int errno; - typedef struct XdgMimeMagicMatch XdgMimeMagicMatch; typedef struct XdgMimeMagicMatchlet XdgMimeMagicMatchlet; d13 1 @ 1.13 log @Fix errno. Patch is also hanging around in the gnome bugzilla. @ text @d1 1 a1 1 $NetBSD$ @ 1.12 log @Update to 2.8.7: Overview of Changes from GTK+ 2.8.6 to GTK+ 2.8.7 ================================================= * GtkFileChooser - Don't special-case the names of Home and Desktop [Federico Mena Quintero] - Avoid loading more than one directory initially. [Federico] - Make the file chooser work better with window groups [Christian Persch] - Improve keynav in the pathbar [Carlos Garnacho, Andrei Yurkevich] - Don't access unmounted volumes [Federico] * GtkTextView - Avoid quadratic blowup when deleting text with lots of tags [Matthias Clasen] - Fix drag-selection corner cases [Arvind S N, Paolo Borelli] * GtkEntry - Add the entry completion popup to the window group [Christian Persch] * GtkTreeView - Fix background drawing in RTL locales [Eric Cazeaux] - Handle Shift-G for going back in typeahead search [Christian Neumair] * GtkComboBox - Leave Ctrl-PageUp/PageDown to applications [Christian Neumair] * Fix compilation problems with gtkcalendar.c [Matthias Hasselmann] * Add labels for GTK_STOCK_CONNECT and GTK_STOCK_DISCONNECT items [Richard Hult] * Resolve symbols in dlopened modules lazily [Laszlo Peter] * GDK - Don't try to set overlarge window icons [Claudio Saavedra] - Improve handling of odd keymaps [Kean Johnston] * Win32 changes - Speed up compositing [John Ehresman] - Improve handling of clipboard [Tor Lillqvist] - Improve visuals of scrollbars, toolbars, handleboxes and menubars in the ms-windows theme [Dom Lachowicz] - Make icon masks work on Win98 [Peter Zelezny] - Hide resize and maximize buttons on non-resizable windows [Tor] - Don't hide dotfiles [Tor] * Bug fixes [Kazuki Iwamoto, Ross Burton, Michael Natterer, Bogdan Nicula, Damien Carbery, Gustavo Carneiro, Tommi Komulainen, Thomas Klausner, Alexander Larsson, Bastien Nocera, Federico Mena Quintero, John Ehresman, Paolo Borelli, Antonio Sacchi, Christian Persch, Carlos Garnacho, Jeremy Cook, Nickolay V. Shmyrev, Richard Hult, Maxim Udushlivy, Peter Zelezny] * Documentation improvements [Paolo Borelli, Christian Neumair, Christian Persch @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.11 2005/10/05 14:37:45 wiz Exp $ d3 11 a13 10 --- gtk/gtkcalendar.c.orig 2005-10-04 05:24:16.000000000 +0200 +++ gtk/gtkcalendar.c @@@@ -566,6 +566,7 @@@@ gtk_calendar_init (GtkCalendar *calendar GtkCalendarPrivate *priv; gchar *year_before; gchar *langinfo; + gchar *week_start; gint week_1stday = 0; gint first_weekday = 1; guint week_origin; @ 1.11 log @Update to 2.8.6: Overview of Changes from GTK+ 2.8.5 to GTK+ 2.8.6 ================================================= * GtkFileChooser - Don't reload the current folder unnecessarily on map [Federico Mena Quintero] * Revert a change from 2.8.5 that could lead to assertion failures when finalizing GtkStyles [Matthias Clasen] * Remove context prefixes from Portugese translations [Duarte Henriques] Overview of Changes from GTK+ 2.8.4 to GTK+ 2.8.5 ================================================= * GtkFileChooser - Don't clear the file name entry too often when in SAVE mode. [Jürg Billeter] - Reduce the startup time in OPEN mode [Federico Mena Quintero] * Stop drag in GtkPaned when grab shadowed [Matthias Clasen] * Correct the calculation for the first weekday in GtkCalendar [Matthias Clasen] * Use a larger buffer when determining the image format in gdk-pixbuf [Sebastian Bacher, Dom Lachowicz] * Win32 bug fixes [Kazuki Iwamoto, Tor Lillqvist] * Other bug fixes [Tor Lillqvist, Gustavo Carneiro, Paolo Borelli, Ray Strode, Søren Sandmann, Tommi Komulainen, Benjamin Berg] @ text @d1 1 a1 1 $NetBSD$ @ 1.10 log @Update to 2.6.8: * GtkFileChooser - Don't select first row in SELECT_FOLDER mode [Christian Neumair] - Improve autocompletion behaviour; fix CREATE_FOLDER mode [Federico Mena Quintero] - Don't stat children of /afs or /net network directories [Federico] - Fix set_current_name() and unselect_all() in the light of asynchronous selections [Federico] - GtkFileChooserButton fixes [David A. Knight] - Miscellaneous fixes [Federico, Sven Neumann, Kjartan Maraas] * GtkIconView - Many fixes for scrolling and selection handling [Mathias Hasselmann] * GtkTreeView - Fix insensitive appearance [Billy Biggs, Matthias Clasen] * GtkEntry - Don't blink the cursor if the entry is not editable [Nikos Kouremenos] * GtkTextView - Optimize cursor blinking [Michael Natterer] - Don't blink the cursor if the entry is not editable [Nikos] * GtkAlignment - Flip padding in RTL mode [Maciej Katafiasz] * Fix a bug in focus tracking that lead to problems between some window managers and GTK+ applications. [Owen Taylor, Billy Biggs, Niko Tyni] * gtk-demo - Add demos for 2.6 features [Matthias] * Win32 changes - Initialize gettext before use [Robert Ögren, Daniel Atallah, Kevin Stange] - Fix DND on multi-monitor systems [Tor Lillqvist] - Improve handling of special and dead keys [Tor, Ivan Wong Yat Cheung] - Improve rendering of insensitive icons [Tim Evans] - Support RGBA cursors [Tim] - Bug fixes [Ivan, Hans Breuer, Tor, Daniel] * Other bug fixes [Federico, Sven Neumann, Nguyen Thai Ngoc Duy, Philip Langdale, Stephen Kennedy, Michael, Pattrick Fimml, Felix Riemann, David A. Knight, Hazael Maldonado Torres, Mikael Hallendal, Ian Wienand, Tommi Komulainen, Ismael Juma, Leonard Michlmayr, Matthias, Gary Kramlich, Peter Wainwright, Dom Lachowicz, Kjartan Maraas, Victor Osadci, Olaf Vitters, Morten Welinder, Alexander Hunziker, Elijah Newren, Frederic Crozat, Joerg Sonnenberger, John Ehresman] * Documentation improvements [Matthias, Masao Mutoh, Maciej, Richard Hult, Ghorban M. Tavakoly] * New and updated translations (cs,cy,da,de,en_GB,et,eu,fr,gu,hu,id, nn,ru,sv,th,xh,zh_CN) @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.9 2005/05/18 15:28:04 jmmv Exp $ d3 10 a12 11 --- gtk/xdgmime/xdgmimemagic.c.orig 2004-12-09 17:26:52.000000000 +0000 +++ gtk/xdgmime/xdgmimemagic.c @@@@ -47,8 +47,6 @@@@ #define TRUE (!FALSE) #endif -extern int errno; - typedef struct XdgMimeMagicMatch XdgMimeMagicMatch; typedef struct XdgMimeMagicMatchlet XdgMimeMagicMatchlet; @ 1.10.2.1 log @Pullup ticket 926 - requested by Lubomir Sedlacik security fix for gtk2 Apply patch to fix two security issues in the bundled gdk-pixbuf library. @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 6 Security fixes for CVE-2005-2975 and CVE-2005-3186. --- gdk-pixbuf/io-xpm.c.orig 2005-08-18 16:10:56.000000000 +0200 +++ gdk-pixbuf/io-xpm.c 2005-11-26 09:46:35.000000000 +0100 @@@@ -1167,7 +1167,8 @@@@ file_buffer (enum buf_op op, gpointer ha /* Fall through to the xpm_read_string. */ d9 4 a12 5 case op_body: - xpm_read_string (h->infile, &h->buffer, &h->buffer_size); + if(!xpm_read_string (h->infile, &h->buffer, &h->buffer_size)) + return NULL; return h->buffer; a13 12 default: @@@@ -1262,7 +1263,9 @@@@ pixbuf_create_from_xpm (const gchar * (* _("XPM has invalid number of chars per pixel")); return NULL; } - if (n_col <= 0 || n_col >= G_MAXINT / (cpp + 1)) { + if (n_col <= 0 || + n_col >= G_MAXINT / (cpp + 1) || + n_col >= G_MAXINT / sizeof (XPMColor)) { g_set_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE, @ 1.9 log @Remove local errno declaration from a source file; it conflicts with the one in errno.h, at least under DragonFly. Closes PR pkg/30259 by Jörg Sonnenberger. @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @Update to 2.6.7: Overview of Changes from GTK+ 2.6.6 to GTK+ 2.6.7 ================================================= * Revert two fixes from 2.6.5 which were causing problems [Crispin Flowerday] * New and updated translations (bg,ja,ko,ca) Overview of Changes from GTK+ 2.6.5 to GTK+ 2.6.6 ================================================= * Add 16x16 versions for some stock icons [Vincent Noel] * Bug fixes [Tommi Komulainen, Roman Kagan, Ivan Wong, Matthias Clasen, Jakub Jelinek, Arjan van de Ven] * New and improved translations (pl) Overview of Changes from GTK+ 2.6.4 to GTK+ 2.6.5 ================================================= * Fix compilation with gcc 4.0 [Matthias Clasen] * GtkFileChooser - Ellipsize the preview label [Jeroen Zwartepoorte] - The mime code can now use a mmapped cache [Matthias] * GtkTreeView - Don't pop up the entry context menu if the the search entry is not visible [Billy Biggs] - Make enable_search control only typeahead, not C-f search [Sven Neumann] - Allow resetting search-column to -1 [Lorenzo Gil Sanchez] - Make gtk_tree_view_expand_all work [Tristan Van Berkom, Jonathan Blandford] - Make double-click to autosize work again [Matthias, Jonathan] * GtkComboBox, GtkComboBoxEntry - Make gtk_widget_grab_focus() work [Gustavo Carneiro] - gtk_combo_box_get_active_text() now always returns the current text. [Robert Staudinger] * gdk-pixbuf - Use correct update regions when incrementally loading BMP and TGA images [Owen Taylor, David Costanzo] - Support saving BMPs [Ivan Wong] - Bug fixes [Tommi Komulainen, Morten Welinder, David, John Ellis] * Other bug fixes [Christian Persch, Sven Neumann, Philip Langdale, Tomislav Jonjic, Thomas Leonard, Yury Puzis, Manish Singh, Doug Quale, Ryan Lortie, Kjartan Maraas, Morten, Felipe Heidrich, Paolo Borelli, Jorn Baayen, Hazael Maldonado Torres, Tommi, Stefan Kasal, Billy, Felipe Heidrich, Hans-Wolfgang Loidl, Jacob Kroon, Steven Walter] * Documentation improvements [Johan Dahlin, Matthias, Jianfei Wang, Olivier Sessink, Jon-Kare Hellan, Kristof Vasant, Billy, Worik Stanton, Ken Siersma, Morten] * New and improved translations (ca,cs,cy,da,de,en_CA, en_GB,es,fi,fr,gu,hu,it,lt,nl,pl,pt,pt_BR,ro,ru,rw,sq, sr,sr@@Latn,sv,uk,zh_CN,zh_TW) @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.7 2005/04/01 10:51:51 salo Exp $ d3 11 a13 23 --- gdk-pixbuf/io-bmp.c.orig 2005-01-04 16:47:02.000000000 +0100 +++ gdk-pixbuf/io-bmp.c 2005-04-01 11:21:52.000000000 +0200 @@@@ -219,7 +219,19 @@@@ static gboolean grow_buffer (struct bmp_progressive_state *State, GError **error) { - guchar *tmp = g_try_realloc (State->buff, State->BufferSize); + guchar *tmp; + + if (State->BufferSize == 0) { + g_set_error (error, + GDK_PIXBUF_ERROR, + GDK_PIXBUF_ERROR_CORRUPT_IMAGE, + _("BMP image has bogus header data")); + State->read_state = READ_STATE_ERROR; + return FALSE; + } + + tmp = g_try_realloc (State->buff, State->BufferSize); + if (!tmp) { g_set_error (error, GDK_PIXBUF_ERROR, @ 1.7 log @Security fix for CAN-2005-0891: "David Costanzo has reported a vulnerability in GTK+, which can be exploited by malicious people to crash certain applications on a user's system. The vulnerability is caused due to a double free error in the BMP loader. This can be exploited to crash an application linked against GTK+ when a specially crafted BMP image is processed." Bump PKGREVISION. Patch from Fedora. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update to 2.4.0: 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. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.5 2003/09/27 19:58:36 danw Exp $ d3 23 a25 11 --- demos/gtk-demo/main.c.orig Tue Apr 15 21:43:16 2003 +++ demos/gtk-demo/main.c Tue Apr 15 21:43:22 2003 @@@@ -96,7 +96,7 @@@@ { int c; -#ifndef G_OS_WIN32 +#ifdef HAVE_FLOCKFILE c = getc_unlocked (stream); #else c = getc (stream); @ 1.6.8.1 log @Pullup ticket 414 - requested by Lubomir Sedlacik security fix for gtk2 Revisions pulled up: - pkgsrc/x11/gtk2/Makefile 1.79 - pkgsrc/x11/gtk2/buildlink3.mk 1.17 - pkgsrc/x11/gtk2/distinfo 1.43 - pkgsrc/x11/gtk2/patches/patch-ai 1.7 Module Name: pkgsrc Committed By: salo Date: Fri Apr 1 10:51:51 UTC 2005 Modified Files: pkgsrc/x11/gtk2: Makefile buildlink3.mk distinfo Added Files: pkgsrc/x11/gtk2/patches: patch-ai Log Message: Security fix for CAN-2005-0891: "David Costanzo has reported a vulnerability in GTK+, which can be exploited by malicious people to crash certain applications on a user's system. The vulnerability is caused due to a double free error in the BMP loader. This can be exploited to crash an application linked against GTK+ when a specially crafted BMP image is processed." Bump PKGREVISION. Patch from Fedora. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.7 2005/04/01 10:51:51 salo Exp $ d3 11 a13 23 --- gdk-pixbuf/io-bmp.c.orig 2005-01-04 16:47:02.000000000 +0100 +++ gdk-pixbuf/io-bmp.c 2005-04-01 11:21:52.000000000 +0200 @@@@ -219,7 +219,19 @@@@ static gboolean grow_buffer (struct bmp_progressive_state *State, GError **error) { - guchar *tmp = g_try_realloc (State->buff, State->BufferSize); + guchar *tmp; + + if (State->BufferSize == 0) { + g_set_error (error, + GDK_PIXBUF_ERROR, + GDK_PIXBUF_ERROR_CORRUPT_IMAGE, + _("BMP image has bogus header data")); + State->read_state = READ_STATE_ERROR; + return FALSE; + } + + tmp = g_try_realloc (State->buff, State->BufferSize); + if (!tmp) { g_set_error (error, GDK_PIXBUF_ERROR, @ 1.5 log @fix an incorrect #ifdef in gtk-demo so this builds on Darwin @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to 2.0.8. Changes: * Fix typo in io-gif.c that broke loading GIFS [Akira Tagoh] * Improve redraws when scrolling on Win32 [Tor Lillqvist] * Fix problem with RENDER and XFree86-4.1 [Owen Taylor, Jamie Zawinski] * Fix problem with GtkImage placement [Owen, Sven Neumann, Soeren Sandmann] * Updated translation (el) * Fix some memory leaks in gdk-pixbuf [Sven Neumann] * Pixbuf loader fixes [Federico Mena Quintero, Elliot Lee] * Support depth 8 StaticColor in GdkRGB [Matthias Clasen] * Win32 fixes and improvements [Tor Lillqvist] - Keyboard handling fixes [Florian Dugent] - Fixes for building and running on Cygwin [Masahiro Sakai] - Fix gdk_window_scroll(), other GdkWindow fixes - Misc bug and build fixes [Soren Andersen, Florent, Tim Evans, J. Ali Harlow, Andreas Holzmann, Iwasa Kazmi] * Improve tracking of toplevel focus state [Owen] * XIM input method fixes [Takuro Ashie, HideToshi Tajima] * Fix the longstanding problem with <,> keys and XIM [Owen Taylor] * Fix GtkIMContextSimple for us-intl keyboards [Alexandre Oliva] * GtkIMContextSimple updates for Eastern Europe [Stanislav Brabec] * Fix the "key bindings randomly stop working" problem [Sebastian Ritau] * GtkTextView fixes [Gustavo Giraldez, Padraig O'Briain, Shivaram Upadhyayula] * GtkTreeView bugfixes [Jonathan Blandford, Kristian Rietveld] - Various memleak, ref counting fixes [Jonathan, Jorn Baayen, Daniel Elstner, Morten Welinder] - gtk_tree_selection_selected_foreach now immediately returns if the model is being changed [Havoc Pennington] - Fix evil bug with insertions to GtkTreeModelSort [Hans Petter Jansson] * GtkCombo fixes [Marco Pesenti Gritti, Zimler Attila, Matthias, Owen] * Fix 64-bit problem with GtkFundamentalType [Ross Alexander, Manish Singh] * New and updated translations (am,be,bg,ca,cs,da,de,el,es,el,fa,fr,hi,hu, ja,ko,lv,ms,nl,no,pl,pt,pt_BR,ru,sk,sv,vi,zh_TW) * Many miscellaneous bug fixes Other contributors: Jacob Berkman, Alvert Chin, Chema Celorio, David L. Cooper II, Brent Fox, Tim Janik, Marco Pesenti Gritti, Alex Larsson, Zenith Lau, Thomas Leonard, Gaute Lindkvist, Paolo Maggi, Andy Wingo, Jami Pekannen, Joshua N Pritikin, Soeren Sandmann, Vitaly Tishkov, Morten Welinder @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.3 2002/04/06 15:48:55 dmcmahill Exp $ d3 11 a13 10 --- gdk/Makefile.am.orig Fri Mar 8 01:36:23 2002 +++ gdk/Makefile.am @@@@ -68,6 +68,7 @@@@ # since automake doesn't support conditionalized libsomething_la_LDFLAGS # we use the general approach here LDFLAGS = @@STRIP_BEGIN@@ \ + @@LDFLAGS@@ \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ -export-dynamic \ -rpath $(libdir) \ @ 1.3 log @update to gtk2+-2.0.2 This is a bug fix release. Overview of Changes in GTK+ 2.0.2 ================================= * GtkTreeView cursor movement fixes [Kristian Rietveld] * GtkTreeModelSort iterator stamp fixes [Kristian Rietveld] @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update to gtk2-2.0.1 Overview of Changes in GTK+ 2.0.1 ================================= * GtkTreeView fixes and performance improvements [Kristian Rietveld, Jonathan Blandford, Mike Piepe, Dave Camp] * GtkTextView fixes [Havoc Pennington] * Fix problems with accelerators on Solaris [Padraig O'Briain] * Some fixes for key bindings on keypad keys [Owen Taylor] * Fix problem with RENDER use on big endian machines [Owen Taylor, with help from Tuomas Kuosmanen] * Win32 fixes, especially dashed line drawing [Tor Lillqvist, Hans Breuer] * Compile with -D_REENTRANT when appropriate [Sven Numann] * Compiler warning cleanups [Erwann Chenede] * Fix handling of font-name XSETTING [Richard Hestilow] * Make linux-fb backend compile again [Carlo E. Prelz, Alex Larsson] * Fix problems with inappropriate menu scroll arrows [Owen] * Stock icon improvements [Jakub Steiner, Tuomas] * Much work on pixbuf loader robustness [Matthias Clasen] * Documentation improvements [Matthias, Vitaly Tiskkov] * Fix some crashes in GtkWindow accelerator handling code [Dave Camp, Matt Wilson] * Misc bug fixes Other contributors: Jacob Berkman, Dennis Björklund, Seth Burgess, Murray Cumming, Johan Dahlin, John Ellis, Kang Jeong-He, James Henstridge, Richard Hult, Thomas Leonard, LEE Sau Dan, Alexey A. Malyshev, Mark McLoughlin, Michael Meeks, Sven Neumann, Andras Salamon, Soeren Sandmann, Dan Winship, Yao Zhang @ text @d3 1 a3 1 --- gdk/Makefile.am.orig Thu Mar 7 18:27:00 2002 @ 1.1 log @Initial revision @ text @d3 6 a8 6 --- demos/Makefile.in.orig Sun Mar 17 15:03:23 2002 +++ demos/Makefile.in @@@@ -194,6 +194,7 @@@@ $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \ $(top_builddir)/gdk/@@gdktargetlib@@ \ $(top_builddir)/gtk/@@gtktargetlib@@ \ d10 3 a12 3 @@STRIP_END@@ @ 1.1.1.1 log @import gtk2-2.0.0 The Gimp Tool Kit. GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. @ text @@