This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
pygtk-2.14.0 31-January-2009
- Fix a bogus override of python includes in configure.ac
(Lo
- Fix a memory leak in gdk.draw_indexed_image (Paul, #562991)
- split gtkunixprint defs in order to support multiple gtk versions (Gian)
- Include <gdk/gdk.h> (Paul, #550442)
- set_parent_window(None) should work (Paul, #551505)
- comment out for a while gtk_selection_data_get_data waiting to
fix a problem in codegen (Gian)
- Remove compiler warnings (Gian)
- Update pango examples (Paul, #541476)
- TypeError not raised when setting gtk.TreeView adjustment property
to None (Paul, #529623)
- add __str__ and/or __repr__ to several types (Paul, #526189)
version 1.25.3 or later, so adjust BUILDLINK_API_DEPENDS.pygobject
accordingly.
Not bumping PKGREVISION, because the py-gtk2 didn't build against older
versions of gobject.
changes:
- Documentation build fixes
- Return NULL on error in TextBuffer.register_serialize_format
- Do not overwrite sys.argv
- Add status icon example
- Make it possible to remove rows in the gtk.TreeModel.foreach callback
- Code generator fix for %define
- Duplicate GdkEvent.string member when setting it
- Make it possible to use automake 1.10
- distutils build fixes
- Allow None to be passed into gdk.Display
- Undeprecate gtk.container_class_list_child_properties
- Fix memory leak in gtk.Container.child_get
pygtk-2.10.0 4-september-2006
- Issue a warning when a DISPLAY is not set (#316877, Johan, Jeremey Katz)
- Copy style.css from pygobject docs when installing docs.
(#351385 Gian Mario Tagliaretti)
- Include the built docs in the tarball (Johan)
pygtk-2.9.6 8-august-2006
- GtkTreePath can be converted from integers again (#350252, Gustavo,
Sebastien Bacher)
- Fix parallel build (#350225, Ed Catmur)
- Reduce exception abuse in code generator (Gustavo)
- Documentation improvements (Johan, John)
pygtk-2.9.5 6-august-2006
- Make it possible to build with GTK+ 2.10 (#350008, Joseph Sacco)
- Make sure dir(gtk.keysyms) work again (#349892, Johan, John)
- reloading the gtk module works again (#349026, Johan, Alexander Larsson)
pygtk-2.9.4 4-august-2006
- Include John Finlay's PyGTK reference manual (Johan, John)
- Setters and getters for GtkWidget.activate_signal (#331445, Gustavo)
- GtkToolItemType setter/getter (#331355, Gustavo)
- Code generator fixes (Gustavo, Johan, John, Yevgen Muntyan, Gustavo)
- Add more gtk+ 2.10 API (#337011, John, Sebastian Pölsterl)
- Don't copy treeiters in callbacks (#347273, John, Stefano Maggiolo)
- Provide full information for GtkTreeSelection.set_select_function
(#340475 John, Wouter Bolsterlee)
- Export less symbols and reduce the size of the libraries (#347825,
Rafael Espíndola)
- Allow negative values for GtkTreeModel.set/getitem (#311852, Baiju M)
- Much improved interface/virtual method support (John)
- Remove evil 100ms timeout timer (#348937, Gustavo)
pygtk-2.9.3 12-july-2006
- Update to latest gtk+ 2.10 API changes (#345447, #345623, Newren, Peters)
- Many more new gtk+ 2.10 APIs wrapped (Finlay)
- Wrap gtk_widget_class_find_style_property (Finlay)
- gtk.gdk.CairoContext.rectangle bug fix (Gustavo)
- Update defs for atk 1.8 (Finlay)
- Misc. module cleanups (Dahlin)
- New pango APIs wrapped (Finlay)
- Fix refcount error in gtk.Clipboard (#343960, Gustavo, Finlay)
- Enable GDK X11-specific APIs available also with gtk+ 2.8 (Gustavo)
- Lazy loading of the gtk.keysyms module (Johan Dahlin)
pygtk-2.9.2 15-june-2006
- Fix a codegen bug that prevent build of other extensions (344845, Gustavo)
- Builds with pycairo 1.1.6 (344957, Gustavo)
- gtk.TextBuffer rich text copy and serialization (Finlay)
- Correct Print Editor example (Gustavo)
pygtk-2.9.1 13-june-2006
- Allow gtk.TreeSortable.set_default_sort_func callback to be None
(Johan, Patrick O'Brien)
- Add API to unset the g_log handlers (#323786, Johan)
- Allow the gtk module to be imported without DISPLAY (#316877, Johan)
- Code cleanup and fixes considering Coverity reports (Johan)
- Add codegen support for const-Object return type (#169204, Gustavo)
- Add codgen support for unblocking threads around method calls (Gustavo)
- Wrap gdk_event_handler_set (Johan)
- Codegen reverse wrapper bug fix (#340162, Yevgen Muntyan)
- Wrap GdkRegion (John Ehresman)
- Add codegen support for ignore-type statement in override (Johan)
- Add conditional support for gtk+ 2.10 API, especially printing
(Johan, Finlay, Gustavo)
- Complete the support for gtk.Container virtual methods (#341641, Gustavo)
- Fix misc. reference leaks (Finlay, Gustavo)
- Allow None parameter in pangocairo.CairoContext.set_font_options (Finlay)
- Complete the support for gtk.CellRenderer virtual methods (#339431, Gustavo)
- IconView.set_cursor method params 'cell' and 'start_editing'
made optional (#343039, Ross Burton, Finlay)
- Wrap a few more gdk_cairo_* methods (Finlay)
- Add a 'selection' field to gdk.OWNER_CHANGE events (Finlay)
- Allow None in gtk.Entry.set_inner_border() (Finlay)
- gtk.Clipboard rich text methods (Finlay)
- Add gtk.MessageDialog.set_image() (Finlay)
- Wrap gtk_link_button_set_uri_hook() (Finlay)
- Allow None in gtk.Widget.input_shape_combine_mask() (Finlay)
- Allow gtk.LinkButton() constructor to optionally receive a label (Finlay)
- Allow None in gtk.Label.set_mnemonic_widget() (Johan)
- Wrap a bunch of X11 specific gdk methods (Gustavo)
- Add gtk.SizeGroup.get_widgets() (Finlay)
- Wrap gtk_style_lookup_color() (Finlay)
- Wrap a bunch of gtk treeview grid lines methods (Finlay)
- Better Drag and drop API support (Finlay)
- Add -I option to codegen (defs search path) (Gustavo)
pygtk-2.9.0 04-april-2006
- Remove gobject, pygobject is now a hard dependency
- Set encoding in pango instead of gtk (328031)
- Wrap gdk.Screen.get_rgba_colormap/get_rgbma_visual (328996,
Marco Cabizza)
- Remove private gtk wrappers (321476)
- Add a bunch of missing wrappers (316881, John Finlay)
- Add inout support in reverse wrappers (335964, Gustavo)
- Update h2defs to allow whitespace before parenthesis (317124)
- Make it possible to reimplement interfaces (334986, Gustavo)
- Allow log_handler to be called when python is not initialized
(334188, Gustavo)
- Support for const object args (wollny@cbs.mpg.de, Gustavo)
- Export pygtk tree model api (318021, Gustavo)
- Allow overrides to be in base classes (327715, Gustavo)
- Wrap a pango cairo font options acecssors (328108,
Rauli Ruohonen)
- Add GDK_PARENT_RELATIVE relative handling (320248, Johan,
Nikos Kouremenos)
- Improve pixbuf demo (327931, Ben Caradoc-Davies)
- Set default markup accel marker to \x00
(329658, Johan, Johan Svedberg)
- Set 1 as default argument to SpinButton.spin() (325452,
Sebastian Rittau)
- Wrap gdk.Drawable.gdk_draw_indexed_image (333431,
Johan, Hamish Moffatt)
- Mark rowreference.free() as deprecated (309811, Gustavo)
- Rename name of first keyword argument to pango.LayoutLine.index_to_x
(316581, Gustavo, John Finlay)
- Run reindent on all python code (325320, Johan)
- Improve generictreemodel example (311459, Steven Kennedy)
- Wrap gdk.Pixbuf.rotate_simple (314164, Karel Vervaeke)
- Use in argument in gtk.TreeView.cell_get_size (326357, John Ehresman)
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
changes:
- Allow None to be set in gtk.TreeSortable.set_default_sort_func()
- 327778: Increase property size limit to G_MAXLONG
- 334027: Fix leaks in enum/flags
- 334188: Call g_log_default_handler when python isn't initialized.
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.