Commit graph

89 commits

Author SHA1 Message Date
tnn
de9e054eb1 not for python-2.4, because support was dropped from py-cairo 2009-08-19 08:06:47 +00:00
wiz
ea45daef66 Integrate patch from upstream. Bump PKGREVISION.
Commit message upstream was:
Don't free a string we don't own
Fixes bug #585458.
2009-07-18 20:35:27 +00:00
joerg
af60c10a8f Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:06:39 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
snj
f70c621512 Accept python26. 2009-04-19 15:05:53 +00:00
snj
33b9c06808 Update HOMEPAGE. 2009-04-11 21:47:39 +00:00
reed
68c88464a6 Needs newer gtk2+ to build. (uses GDK_TYPE_APP_LAUNCH_CONTEXT.) 2009-04-11 17:23:42 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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.
2009-03-20 19:23:50 +00:00
wiz
70945c883b Update to 2.14.1:
pygtk-2.14.1 06-March-2009
    - Return the deserialized string as a new memory buffer (Gustavo, #567747)
    - Complete docs with 2.14 API (Gian Mario)
2009-03-06 13:48:13 +00:00
wiz
69d21ee742 Update to 2.14.0:
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)
2009-02-21 14:12:23 +00:00
drochner
fbaa871e65 Back out what happened in the last days -- the Python extension is
installed for Python-2.4 as for Python-2.5. If not, there is a
different problem.
2009-01-14 13:05:31 +00:00
adrianp
a593302fa8 Actually, use the PLIST_VARS framework as opposed to adding a new PLIST file 2009-01-11 00:13:44 +00:00
adrianp
e283b41e0d Fix PLIST differences due to the version of python that's installed
Breakage pointed out by wiz@
2009-01-10 23:13:44 +00:00
adrianp
b79be78e60 PLIST fixes
PKGREVISION++
2009-01-10 20:17:31 +00:00
joerg
162e2ae936 Fix include order. Addresses PR 40085. 2008-12-02 19:04:05 +00:00
drochner
f2bb98e568 make this work with python-2.4 again 2008-11-18 12:46:52 +00:00
jnemeth
113e95c3ef also remove \${PYSITELIB}/gtk-2.0 2008-11-17 21:56:16 +00:00
wiz
747a80b596 Remove python24 from accepted versions since py-cairo does not
support it any longer.
2008-11-13 11:17:16 +00:00
apb
0e9960db94 The ChangeLog inside the py-gtk2 distribution says it requires gobject
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.
2008-10-22 18:47:48 +00:00
drochner
89805063c5 update to 2.13.0
This switches to the gnome-2.24 release branch.
2008-10-16 14:13:31 +00:00
abs
3144db8e64 PYTHON_VERSIONS_ACCEPTED+=25 2008-04-16 12:15:28 +00:00
joerg
60c4ea68c3 py-cairo supports only Python 2.4. 2008-03-15 16:48:50 +00:00
drochner
b1d91e28ea fix locking around gtk mainloop, bump PKGREVISION 2008-03-14 14:20:22 +00:00
drochner
1d65682e8d update to 2.12.1
changes: misc fixes
2008-01-09 18:56:01 +00:00
rillig
53adcee35b Fixed naming mismatches reported by pkglint. 2008-01-05 20:45:59 +00:00
drochner
b948654a34 update to 2.12.0
This switches to the new gnome-2.20 branch.
2007-10-31 20:51:42 +00:00
wiz
3528e06345 Fix paths for GConf, libglade, libart, libsigc++, lablgtk moves.
Bump PKGREVISION.
2007-09-21 13:03:25 +00:00
heinz
f810a0557c The package supports installation to DESTDIR. 2007-08-23 21:17:37 +00:00
drochner
9e3133c103 update to 2.10.6
change: bugfix to codegen: return value check for void functions
2007-07-13 10:45:55 +00:00
drochner
9ca1bd8aac update to 2.10.5
changes:
-Allow None to gtk_rc_get_style_by_paths
-Fix defs file inconsistencies
-Documentation build fixes
-Code generator improvements
2007-07-06 18:46:22 +00:00
drochner
9ba4a61651 update to 2.10.4
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
2007-02-07 20:40:18 +00:00
wiz
769b459b95 Do not unconditionally remove share/pygtk, it is shared with x11/pygtk.
Try to remove include/pygtk-2.0, since py-gobject-shared, which owns
this directory, is only a build dependency.
Bump PKGREVISION.
2007-01-24 19:44:20 +00:00
drochner
b9ae10e6c0 update to 2.10.3
changes:
- distutils / win32 compilation fixes
- gtk.TreeSelection.selected_foreach bug fix
- Fix compilation older C compilers
- Make PyGTK work with Python 2.5 and 64-bit

pkgsrc change: don't try to @dirrm stuff needed by py-gobject
2006-10-12 13:55:38 +00:00
jmmv
a13fe6d00f Update to 2.10.1:
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)
2006-09-15 15:14:16 +00:00
wiz
0fb7a85ff4 Fix BUILDLINK_ABI_DEPENDS line to use PYPKGPREFIX. 2006-07-26 16:56:53 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
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
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
74b72d4ae8 Don't include pyversion.mk more often than necessary. 2006-07-02 10:44:45 +00:00
drochner
b2c602f4e4 update to 2.8.6
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.
2006-04-27 20:33:06 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
drochner
65a7cd958f update to 2.8.5
changes:
- String list bug fix (Christopher Aillon)
- Improved examples (Johan)
- Proper refcounting in gdk.Window constructor (John Ehresman)
- Fix a bunch of reference leaks (Gustavo)
- __init__.py fixes for pydoc (Johan)
- gtk.Dialog.new_with_buttons leak
2006-04-06 15:58:31 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
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).
2006-04-06 06:21:32 +00:00
drochner
b4d2cb7f99 update to 2.8.4
changes:
-Split out gobject wrappers
-Bug fixes
2006-02-07 21:27:28 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
drochner
332055c739 bump BUILDLINK_DEPENDS for incompatible interface changes 2005-10-25 11:13:14 +00:00
drochner
d0cdff7fab update to 2.8.2; this is basically a sync to gtk-2.8 2005-10-18 18:04:24 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
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.
2005-08-10 20:56:10 +00:00