This commit is contained in:
commit
fea6316431
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
pygtk-2.10.3.tar.bz2
Normal file
3
pygtk-2.10.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:03a605f106e30bea448b04007635a21140eeaba4c8844188d661c3b133cbee89
|
||||||
|
size 1977441
|
83
python-gtk-acinclude.m4
Normal file
83
python-gtk-acinclude.m4
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
dnl
|
||||||
|
dnl JH_ADD_CFLAG(FLAG)
|
||||||
|
dnl checks whether the C compiler supports the given flag, and if so, adds
|
||||||
|
dnl it to $CFLAGS. If the flag is already present in the list, then the
|
||||||
|
dnl check is not performed.
|
||||||
|
AC_DEFUN([JH_ADD_CFLAG],
|
||||||
|
[
|
||||||
|
case " $CFLAGS " in
|
||||||
|
*@<:@\ \ @:>@$1@<:@\ \ @:>@*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
save_CFLAGS="$CFLAGS"
|
||||||
|
CFLAGS="$CFLAGS $1"
|
||||||
|
AC_MSG_CHECKING([whether [$]CC understands $1])
|
||||||
|
AC_TRY_COMPILE([], [], [jh_has_option=yes], [jh_has_option=no])
|
||||||
|
AC_MSG_RESULT($jh_has_option)
|
||||||
|
if test $jh_has_option = no; then
|
||||||
|
CFLAGS="$save_CFLAGS"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac])
|
||||||
|
|
||||||
|
dnl AM_CHECK_PYMOD(MODNAME [,SYMBOL [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]])
|
||||||
|
dnl Check if a module containing a given symbol is visible to python.
|
||||||
|
AC_DEFUN([AM_CHECK_PYMOD],
|
||||||
|
[AC_REQUIRE([AM_PATH_PYTHON])
|
||||||
|
py_mod_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
|
||||||
|
AC_MSG_CHECKING(for ifelse([$2],[],,[$2 in ])python module $1)
|
||||||
|
AC_CACHE_VAL(py_cv_mod_$py_mod_var, [
|
||||||
|
ifelse([$2],[], [prog="
|
||||||
|
import sys
|
||||||
|
try:
|
||||||
|
import $1
|
||||||
|
except ImportError:
|
||||||
|
sys.exit(1)
|
||||||
|
except:
|
||||||
|
sys.exit(0)
|
||||||
|
sys.exit(0)"], [prog="
|
||||||
|
import $1
|
||||||
|
$1.$2"])
|
||||||
|
if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC
|
||||||
|
then
|
||||||
|
eval "py_cv_mod_$py_mod_var=yes"
|
||||||
|
else
|
||||||
|
eval "py_cv_mod_$py_mod_var=no"
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
|
||||||
|
if test "x$py_val" != xno; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
ifelse([$3], [],, [$3
|
||||||
|
])dnl
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
ifelse([$4], [],, [$4
|
||||||
|
])dnl
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl a macro to check for ability to create python extensions
|
||||||
|
dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
|
||||||
|
dnl function also defines PYTHON_INCLUDES
|
||||||
|
AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
|
||||||
|
[AC_REQUIRE([AM_PATH_PYTHON])
|
||||||
|
AC_MSG_CHECKING(for headers required to compile python extensions)
|
||||||
|
dnl deduce PYTHON_INCLUDES
|
||||||
|
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
|
||||||
|
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
|
||||||
|
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
|
||||||
|
if test "$py_prefix" != "$py_exec_prefix"; then
|
||||||
|
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
|
||||||
|
fi
|
||||||
|
AC_SUBST(PYTHON_INCLUDES)
|
||||||
|
dnl check if the headers exist:
|
||||||
|
save_CPPFLAGS="$CPPFLAGS"
|
||||||
|
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
|
||||||
|
AC_TRY_CPP([#include <Python.h>],dnl
|
||||||
|
[AC_MSG_RESULT(found)
|
||||||
|
$1],dnl
|
||||||
|
[AC_MSG_RESULT(not found)
|
||||||
|
$2])
|
||||||
|
CPPFLAGS="$save_CPPFLAGS"
|
||||||
|
])
|
355
python-gtk.changes
Normal file
355
python-gtk.changes
Normal file
@ -0,0 +1,355 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 19 16:16:52 CET 2006 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Spec file cleanup.
|
||||||
|
- Splitted python-gtk-doc from python-gtk-devel.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 21 13:39:18 CEST 2006 - cthiel@suse.de
|
||||||
|
|
||||||
|
- update to version 2.10.3
|
||||||
|
* Fix a crasher bug introduced in 2.10.2
|
||||||
|
* Make PyGTK work with Python 2.5 and 64-bit
|
||||||
|
- changes from 2.10.0 to 2.10.2
|
||||||
|
* distutils / win32 compilation fixes
|
||||||
|
* gtk.TreeSelection.selected_foreach bug fix
|
||||||
|
* Fix compilation older C compilers
|
||||||
|
- changes from 2.9.6 to 2.10.0
|
||||||
|
* Issue a warning when a DISPLAY is not set
|
||||||
|
* Copy style.css from pygobject docs when installing docs.
|
||||||
|
* Include the built docs in the tarball
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 16 11:16:50 CEST 2006 - cthiel@suse.de
|
||||||
|
|
||||||
|
- split of -devel package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 10 17:54:50 CEST 2006 - cthiel@suse.de
|
||||||
|
|
||||||
|
- update to version 2.9.6
|
||||||
|
* GtkTreePath can be converted from integers again
|
||||||
|
* Fix parallel build
|
||||||
|
* Reduce exception abuse in code generator
|
||||||
|
* Documentation improvements
|
||||||
|
- changes in 2.9.5
|
||||||
|
* Make it possible to build with GTK+ 2.10
|
||||||
|
* Make sure dir(gtk.keysyms) work again
|
||||||
|
* reloading the gtk module works again
|
||||||
|
- changes in 2.9.4
|
||||||
|
* Include John Finlay's PyGTK reference manual
|
||||||
|
* Setters and getters for GtkWidget.activate_signal
|
||||||
|
* GtkToolItemType setter/getter
|
||||||
|
* Code generator fixes
|
||||||
|
* Add more gtk+ 2.10 API
|
||||||
|
* Don't copy treeiters in callbacks
|
||||||
|
* Provide full information for GtkTreeSelection.set_select_function
|
||||||
|
* Export less symbols and reduce the size of the libraries
|
||||||
|
* Allow negative values for GtkTreeModel.set/getitem
|
||||||
|
* Much improved interface/virtual method support
|
||||||
|
* Remove evil 100ms timeout timer
|
||||||
|
- changes in 2.9.3
|
||||||
|
* Update to latest gtk+ 2.10 API changes
|
||||||
|
* Many more new gtk+ 2.10 APIs wrapped
|
||||||
|
* Wrap gtk_widget_class_find_style_property
|
||||||
|
* gtk.gdk.CairoContext.rectangle bug fix
|
||||||
|
* Update defs for atk 1.8
|
||||||
|
* Misc. module cleanups
|
||||||
|
* New pango APIs wrapped
|
||||||
|
* Fix refcount error in gtk.Clipboard
|
||||||
|
* Enable GDK X11-specific APIs available also with gtk+ 2.8
|
||||||
|
* Lazy loading of the gtk.keysyms module
|
||||||
|
- changes in 2.9.2
|
||||||
|
* Fix a codegen bug that prevent build of other extensions
|
||||||
|
* Builds with pycairo 1.1.6
|
||||||
|
* gtk.TextBuffer rich text copy and serialization
|
||||||
|
* Correct Print Editor example
|
||||||
|
- changes in 2.9.1
|
||||||
|
* Allow gtk.TreeSortable.set_default_sort_func callback to be None
|
||||||
|
* Add API to unset the g_log handlers
|
||||||
|
* Allow the gtk module to be imported without DISPLAY
|
||||||
|
* Code cleanup and fixes considering Coverity reports
|
||||||
|
* Add codegen support for const-Object return type
|
||||||
|
* Add codgen support for unblocking threads around method calls
|
||||||
|
* Wrap gdk_event_handler_set
|
||||||
|
* Codegen reverse wrapper bug fix (#340162, Yevgen Muntyan)
|
||||||
|
* Wrap GdkRegion (John Ehresman)
|
||||||
|
* Add codegen support for ignore-type statement in override
|
||||||
|
* Add conditional support for gtk+ 2.10 API, especially printing
|
||||||
|
* Complete the support for gtk.Container virtual methods
|
||||||
|
* Fix misc. reference leaks
|
||||||
|
* Allow None parameter in pangocairo.CairoContext.set_font_options
|
||||||
|
* Complete the support for gtk.CellRenderer virtual methods
|
||||||
|
* IconView.set_cursor method params 'cell' and 'start_editing' made
|
||||||
|
optional
|
||||||
|
* Wrap a few more gdk_cairo_* methods
|
||||||
|
* Add a 'selection' field to gdk.OWNER_CHANGE events
|
||||||
|
* Allow None in gtk.Entry.set_inner_border()
|
||||||
|
* gtk.Clipboard rich text methods
|
||||||
|
* Add gtk.MessageDialog.set_image()
|
||||||
|
* Wrap gtk_link_button_set_uri_hook()
|
||||||
|
* Allow None in gtk.Widget.input_shape_combine_mask()
|
||||||
|
* Allow gtk.LinkButton() constructor to optionally receive a label
|
||||||
|
* Allow None in gtk.Label.set_mnemonic_widget()
|
||||||
|
* Wrap a bunch of X11 specific gdk methods
|
||||||
|
* Add gtk.SizeGroup.get_widgets()
|
||||||
|
* Wrap gtk_style_lookup_color()
|
||||||
|
* Wrap a bunch of gtk treeview grid lines methods
|
||||||
|
* Better Drag and drop API support
|
||||||
|
* Add -I option to codegen (defs search path)
|
||||||
|
- changes in 2.9.0
|
||||||
|
* Remove gobject, pygobject is now a hard dependency
|
||||||
|
* Set encoding in pango instead of gtk
|
||||||
|
* Wrap gdk.Screen.get_rgba_colormap/get_rgbma_visual
|
||||||
|
* Remove private gtk wrappers
|
||||||
|
* Add a bunch of missing wrappers
|
||||||
|
* Add inout support in reverse wrappers
|
||||||
|
* Update h2defs to allow whitespace before parenthesis
|
||||||
|
* Make it possible to reimplement interfaces
|
||||||
|
* Allow log_handler to be called when python is not initialized
|
||||||
|
* Support for const object args
|
||||||
|
* Export pygtk tree model api
|
||||||
|
* Allow overrides to be in base classes
|
||||||
|
* Wrap a pango cairo font options acecssors
|
||||||
|
* Add GDK_PARENT_RELATIVE relative handling
|
||||||
|
* Improve pixbuf demo
|
||||||
|
* Set default markup accel marker to \x00
|
||||||
|
* Set 1 as default argument to SpinButton.spin()
|
||||||
|
* Wrap gdk.Drawable.gdk_draw_indexed_image
|
||||||
|
* Mark rowreference.free() as deprecated
|
||||||
|
* Rename name of first keyword argument to pango.LayoutLine.index_to_x
|
||||||
|
* Run reindent on all python code
|
||||||
|
* Improve generictreemodel example
|
||||||
|
* Wrap gdk.Pixbuf.rotate_simple
|
||||||
|
* Use in argument in gtk.TreeView.cell_get_size
|
||||||
|
- changes in 2.8.5
|
||||||
|
* String list bug fix
|
||||||
|
* Improved examples
|
||||||
|
* Proper refcounting in gdk.Window constructor
|
||||||
|
* Fix a bunch of reference leaks
|
||||||
|
* __init__.py fixes for pydoc
|
||||||
|
* gtk.Dialog.new_with_buttons leak
|
||||||
|
- changes in 2.8.4
|
||||||
|
* Re-include gobject wrappers if pygobject is not found
|
||||||
|
* gtk.IconView should implement GtkCellLayout
|
||||||
|
* Always install pygtk-2.0.pc
|
||||||
|
- changes in 2.8.3
|
||||||
|
* Split out gobject wrappers into a separate module and
|
||||||
|
depend on pygobject 2.9.0
|
||||||
|
* Bug fixes
|
||||||
|
* Size group example
|
||||||
|
* Plug mem leaks
|
||||||
|
* Build cairo on win32
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 28 19:21:36 CEST 2006 - jmatejek@suse.cz
|
||||||
|
|
||||||
|
- fixed permissions on pygtk-demo
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 7 00:26:45 CET 2006 - gekker@suse.de
|
||||||
|
|
||||||
|
- Add python-cairo to Requires to fix issues in packages
|
||||||
|
that require python-gtk
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 28 18:41:36 CET 2006 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Added missing python-cairo to BuildRequires (#153456).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:32:38 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 10 12:02:22 CEST 2005 - jmatejek@suse.cz
|
||||||
|
|
||||||
|
- update to 2.8.2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 5 08:39:16 CEST 2005 - aj@suse.de
|
||||||
|
|
||||||
|
- Update to 2.8.0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 10 11:36:32 CEST 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Do not require -devel packages.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 3 00:08:41 CEST 2005 - gekker@suse.de
|
||||||
|
|
||||||
|
- update to 2.7.1 (adds gtk 2.8 support)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 10 16:06:31 CEST 2005 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- update to 2.6.2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 14 16:41:01 CEST 2005 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- update to 2.6.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 8 17:02:43 CET 2005 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- update to 2.5.3 (adds gtk 2.6 support)
|
||||||
|
- fix permissions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 01 12:11:03 CET 2004 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- no need to recompile modules with current automake
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 24 15:35:39 CET 2004 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- udpdate to 2.4.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 23 14:13:22 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- fix build for <= 9.0 (only py_ver works everywhere)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 15 19:32:01 CEST 2004 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- updated to 2.2.0
|
||||||
|
- drop gtk 1.2 support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 23 11:42:27 CET 2004 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- really fix sed call
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 21 12:10:41 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- fix typo in specfile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 20 15:50:02 CET 2004 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Fixed names of GNOME2 packages.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 20 09:43:21 CET 2004 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- enable threading in GTK 2 version (bug #34648)
|
||||||
|
- build GTK 1.2 version with -fno-strict-aliasing
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 3 12:27:18 CET 2003 - meissner@suse.de
|
||||||
|
|
||||||
|
- requires python-numeric in installed system too.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 15 15:24:38 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- record-rpm is really not needed
|
||||||
|
- don't build as root
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 02 19:07:18 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- updated to 2.0.0 (final GNOME 2 version, just minor bugfixes)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 26 19:18:42 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- force usage of pygtk.py from 1.99.18 and not from 0.6.11 (caused
|
||||||
|
problems with default sys.path in python 2.3)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 26 12:58:52 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- updated to 1.99.18:
|
||||||
|
- Fix up a duplicate symbol bug in the atk module, that was
|
||||||
|
causing build problems on MacOS X (hopefully the last such
|
||||||
|
problem).
|
||||||
|
- add gtk.glade.set_custom_handler() API, that provides more
|
||||||
|
info to the custom widget callback. Deprecate
|
||||||
|
set_custom_widget_callbacks().
|
||||||
|
- some other bug fixes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 07 16:09:45 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- updated to 1.99.17:
|
||||||
|
- Threading support is compiled in by default now. It is
|
||||||
|
necessary to call gtk.threads_init() in order to make use of
|
||||||
|
threading though. There have been a number of fixes to the
|
||||||
|
threading support too.
|
||||||
|
- Fix up some problems with multiple definitions of global
|
||||||
|
variables in gobject module, that was causing problems on
|
||||||
|
Mac OS X.
|
||||||
|
- Wrappers for many new APIs (John Finlay, Naofumi Yasufuku,
|
||||||
|
Johan Dahlin and others).
|
||||||
|
- Improvements to the code generator to give better error
|
||||||
|
messages.
|
||||||
|
- Some fixes to property APIs to work correctly on 64 bit
|
||||||
|
systems, and to handle ATOM type properties.
|
||||||
|
- Fix copyright headers on source files.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 06 15:06:41 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- added workaround for lib64 dirs and pkgconfig
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 05 15:36:22 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- use distutils when possible
|
||||||
|
- compile python files with correct paths inside
|
||||||
|
- fix pkgconfig and codegen files to not contain buildroot
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 14 16:40:05 CEST 2003 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- GNOME prefix change to /opt/gnome.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 29 14:07:19 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- make executable only files that should be
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 12 14:16:27 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- use versioned dependency on python
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 05 16:25:54 CEST 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- gnome 2 version updated to 1.99.16
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 12 13:02:07 CET 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- include both pygtk versions (for Gtk 1.2 and 2.0) making 1.2
|
||||||
|
version default, this fixes bug #25148
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 23 11:32:55 CET 2003 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- updated to 1.99.14
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 29 12:31:13 CET 2002 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- added libxml2{,-devel} to neededforbuild to enable building with glade
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 27 18:14:35 CET 2002 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- cleaned up specfile
|
||||||
|
- fixed building for lib64 (this is temporary, should be fixed in autoconf)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 27 15:12:07 CET 2002 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- version for GNOME 2
|
||||||
|
- fixes #21066 - dangling symlink
|
||||||
|
|
345
python-gtk.spec
Normal file
345
python-gtk.spec
Normal file
@ -0,0 +1,345 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-gtk (Version 2.10.3)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: python-gtk
|
||||||
|
%define _name pygtk
|
||||||
|
BuildRequires: libglade2-devel python-cairo-devel python-devel python-gobject2-devel python-gobject2-doc python-numeric update-desktop-files
|
||||||
|
# Only for directory ownership:
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
URL: http://www.pygtk.org/
|
||||||
|
Summary: Python bindings for the GTK+ widget set
|
||||||
|
Version: 2.10.3
|
||||||
|
Release: 23
|
||||||
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Source: %{_name}-%{version}.tar.bz2
|
||||||
|
Source2: %{name}-acinclude.m4
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Autoreqprov: on
|
||||||
|
Requires: python-cairo python-numeric python-gobject2
|
||||||
|
Requires: gtk2 >= %(rpm -q --queryformat=%{VERSION} gtk2)
|
||||||
|
%{py_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
PyGTK is an extension module for python that gives you access to the
|
||||||
|
GTK+ widget set. Just about anything you can write in C with GTK+ you
|
||||||
|
can write in python with PyGTK (within reason), but with all of
|
||||||
|
python's benefits.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
James Henstridge <james@daa.com.au>
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Files needed to build wrappers for GTK+ addon libraries
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: %{name} = %{version} python-gobject2-devel python-cairo-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains files required to build wrappers for GTK+ addon
|
||||||
|
libraries so that they interoperate with pygtk.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
James Henstridge <james@daa.com.au>
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Python bindings for the GTK+ widget set
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
PyGTK is an extension module for python that gives you access to the
|
||||||
|
GTK+ widget set. Just about anything you can write in C with GTK+ you
|
||||||
|
can write in python with PyGTK (within reason), but with all of
|
||||||
|
python's benefits.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
James Henstridge <james@daa.com.au>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{_name}-%{version}
|
||||||
|
cp %{S:2} acinclude.m4
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -f -i
|
||||||
|
%configure
|
||||||
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS NEWS README MAPPING ChangeLog THREADS COPYING examples
|
||||||
|
%{py_sitedir}/gtk-2.0/*
|
||||||
|
%{_datadir}/%{_name}
|
||||||
|
%{_libdir}/%{_name}
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/%{_name}-codegen-2.0
|
||||||
|
%{_bindir}/%{_name}-demo
|
||||||
|
%{_includedir}/%{_name}-2.0/%{_name}
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_datadir}/gtk-doc/html/*
|
||||||
|
|
||||||
|
%changelog -n python-gtk
|
||||||
|
* Tue Dec 19 2006 - sbrabec@suse.cz
|
||||||
|
- Spec file cleanup.
|
||||||
|
- Splitted python-gtk-doc from python-gtk-devel.
|
||||||
|
* Sat Oct 21 2006 - cthiel@suse.de
|
||||||
|
- update to version 2.10.3
|
||||||
|
* Fix a crasher bug introduced in 2.10.2
|
||||||
|
* Make PyGTK work with Python 2.5 and 64-bit
|
||||||
|
- changes from 2.10.0 to 2.10.2
|
||||||
|
* distutils / win32 compilation fixes
|
||||||
|
* gtk.TreeSelection.selected_foreach bug fix
|
||||||
|
* Fix compilation older C compilers
|
||||||
|
- changes from 2.9.6 to 2.10.0
|
||||||
|
* Issue a warning when a DISPLAY is not set
|
||||||
|
* Copy style.css from pygobject docs when installing docs.
|
||||||
|
* Include the built docs in the tarball
|
||||||
|
* Wed Aug 16 2006 - cthiel@suse.de
|
||||||
|
- split of -devel package
|
||||||
|
* Thu Aug 10 2006 - cthiel@suse.de
|
||||||
|
- update to version 2.9.6
|
||||||
|
* GtkTreePath can be converted from integers again
|
||||||
|
* Fix parallel build
|
||||||
|
* Reduce exception abuse in code generator
|
||||||
|
* Documentation improvements
|
||||||
|
- changes in 2.9.5
|
||||||
|
* Make it possible to build with GTK+ 2.10
|
||||||
|
* Make sure dir(gtk.keysyms) work again
|
||||||
|
* reloading the gtk module works again
|
||||||
|
- changes in 2.9.4
|
||||||
|
* Include John Finlay's PyGTK reference manual
|
||||||
|
* Setters and getters for GtkWidget.activate_signal
|
||||||
|
* GtkToolItemType setter/getter
|
||||||
|
* Code generator fixes
|
||||||
|
* Add more gtk+ 2.10 API
|
||||||
|
* Don't copy treeiters in callbacks
|
||||||
|
* Provide full information for GtkTreeSelection.set_select_function
|
||||||
|
* Export less symbols and reduce the size of the libraries
|
||||||
|
* Allow negative values for GtkTreeModel.set/getitem
|
||||||
|
* Much improved interface/virtual method support
|
||||||
|
* Remove evil 100ms timeout timer
|
||||||
|
- changes in 2.9.3
|
||||||
|
* Update to latest gtk+ 2.10 API changes
|
||||||
|
* Many more new gtk+ 2.10 APIs wrapped
|
||||||
|
* Wrap gtk_widget_class_find_style_property
|
||||||
|
* gtk.gdk.CairoContext.rectangle bug fix
|
||||||
|
* Update defs for atk 1.8
|
||||||
|
* Misc. module cleanups
|
||||||
|
* New pango APIs wrapped
|
||||||
|
* Fix refcount error in gtk.Clipboard
|
||||||
|
* Enable GDK X11-specific APIs available also with gtk+ 2.8
|
||||||
|
* Lazy loading of the gtk.keysyms module
|
||||||
|
- changes in 2.9.2
|
||||||
|
* Fix a codegen bug that prevent build of other extensions
|
||||||
|
* Builds with pycairo 1.1.6
|
||||||
|
* gtk.TextBuffer rich text copy and serialization
|
||||||
|
* Correct Print Editor example
|
||||||
|
- changes in 2.9.1
|
||||||
|
* Allow gtk.TreeSortable.set_default_sort_func callback to be None
|
||||||
|
* Add API to unset the g_log handlers
|
||||||
|
* Allow the gtk module to be imported without DISPLAY
|
||||||
|
* Code cleanup and fixes considering Coverity reports
|
||||||
|
* Add codegen support for const-Object return type
|
||||||
|
* Add codgen support for unblocking threads around method calls
|
||||||
|
* Wrap gdk_event_handler_set
|
||||||
|
* Codegen reverse wrapper bug fix (#340162, Yevgen Muntyan)
|
||||||
|
* Wrap GdkRegion (John Ehresman)
|
||||||
|
* Add codegen support for ignore-type statement in override
|
||||||
|
* Add conditional support for gtk+ 2.10 API, especially printing
|
||||||
|
* Complete the support for gtk.Container virtual methods
|
||||||
|
* Fix misc. reference leaks
|
||||||
|
* Allow None parameter in pangocairo.CairoContext.set_font_options
|
||||||
|
* Complete the support for gtk.CellRenderer virtual methods
|
||||||
|
* IconView.set_cursor method params 'cell' and 'start_editing' made
|
||||||
|
optional
|
||||||
|
* Wrap a few more gdk_cairo_* methods
|
||||||
|
* Add a 'selection' field to gdk.OWNER_CHANGE events
|
||||||
|
* Allow None in gtk.Entry.set_inner_border()
|
||||||
|
* gtk.Clipboard rich text methods
|
||||||
|
* Add gtk.MessageDialog.set_image()
|
||||||
|
* Wrap gtk_link_button_set_uri_hook()
|
||||||
|
* Allow None in gtk.Widget.input_shape_combine_mask()
|
||||||
|
* Allow gtk.LinkButton() constructor to optionally receive a label
|
||||||
|
* Allow None in gtk.Label.set_mnemonic_widget()
|
||||||
|
* Wrap a bunch of X11 specific gdk methods
|
||||||
|
* Add gtk.SizeGroup.get_widgets()
|
||||||
|
* Wrap gtk_style_lookup_color()
|
||||||
|
* Wrap a bunch of gtk treeview grid lines methods
|
||||||
|
* Better Drag and drop API support
|
||||||
|
* Add -I option to codegen (defs search path)
|
||||||
|
- changes in 2.9.0
|
||||||
|
* Remove gobject, pygobject is now a hard dependency
|
||||||
|
* Set encoding in pango instead of gtk
|
||||||
|
* Wrap gdk.Screen.get_rgba_colormap/get_rgbma_visual
|
||||||
|
* Remove private gtk wrappers
|
||||||
|
* Add a bunch of missing wrappers
|
||||||
|
* Add inout support in reverse wrappers
|
||||||
|
* Update h2defs to allow whitespace before parenthesis
|
||||||
|
* Make it possible to reimplement interfaces
|
||||||
|
* Allow log_handler to be called when python is not initialized
|
||||||
|
* Support for const object args
|
||||||
|
* Export pygtk tree model api
|
||||||
|
* Allow overrides to be in base classes
|
||||||
|
* Wrap a pango cairo font options acecssors
|
||||||
|
* Add GDK_PARENT_RELATIVE relative handling
|
||||||
|
* Improve pixbuf demo
|
||||||
|
* Set default markup accel marker to \x00
|
||||||
|
* Set 1 as default argument to SpinButton.spin()
|
||||||
|
* Wrap gdk.Drawable.gdk_draw_indexed_image
|
||||||
|
* Mark rowreference.free() as deprecated
|
||||||
|
* Rename name of first keyword argument to pango.LayoutLine.index_to_x
|
||||||
|
* Run reindent on all python code
|
||||||
|
* Improve generictreemodel example
|
||||||
|
* Wrap gdk.Pixbuf.rotate_simple
|
||||||
|
* Use in argument in gtk.TreeView.cell_get_size
|
||||||
|
- changes in 2.8.5
|
||||||
|
* String list bug fix
|
||||||
|
* Improved examples
|
||||||
|
* Proper refcounting in gdk.Window constructor
|
||||||
|
* Fix a bunch of reference leaks
|
||||||
|
* __init__.py fixes for pydoc
|
||||||
|
* gtk.Dialog.new_with_buttons leak
|
||||||
|
- changes in 2.8.4
|
||||||
|
* Re-include gobject wrappers if pygobject is not found
|
||||||
|
* gtk.IconView should implement GtkCellLayout
|
||||||
|
* Always install pygtk-2.0.pc
|
||||||
|
- changes in 2.8.3
|
||||||
|
* Split out gobject wrappers into a separate module and
|
||||||
|
depend on pygobject 2.9.0
|
||||||
|
* Bug fixes
|
||||||
|
* Size group example
|
||||||
|
* Plug mem leaks
|
||||||
|
* Build cairo on win32
|
||||||
|
* Tue Mar 28 2006 - jmatejek@suse.cz
|
||||||
|
- fixed permissions on pygtk-demo
|
||||||
|
* Tue Mar 07 2006 - gekker@suse.de
|
||||||
|
- Add python-cairo to Requires to fix issues in packages
|
||||||
|
that require python-gtk
|
||||||
|
* Tue Feb 28 2006 - sbrabec@suse.cz
|
||||||
|
- Added missing python-cairo to BuildRequires (#153456).
|
||||||
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Mon Oct 10 2005 - jmatejek@suse.cz
|
||||||
|
- update to 2.8.2
|
||||||
|
* Mon Sep 05 2005 - aj@suse.de
|
||||||
|
- Update to 2.8.0.
|
||||||
|
* Wed Aug 10 2005 - sbrabec@suse.cz
|
||||||
|
- Do not require -devel packages.
|
||||||
|
* Wed Aug 03 2005 - gekker@suse.de
|
||||||
|
- update to 2.7.1 (adds gtk 2.8 support)
|
||||||
|
* Tue May 10 2005 - mcihar@suse.cz
|
||||||
|
- update to 2.6.2
|
||||||
|
* Thu Apr 14 2005 - mcihar@suse.cz
|
||||||
|
- update to 2.6.1
|
||||||
|
* Tue Feb 08 2005 - mcihar@suse.cz
|
||||||
|
- update to 2.5.3 (adds gtk 2.6 support)
|
||||||
|
- fix permissions
|
||||||
|
* Wed Dec 01 2004 - mcihar@suse.cz
|
||||||
|
- no need to recompile modules with current automake
|
||||||
|
* Wed Nov 24 2004 - mcihar@suse.cz
|
||||||
|
- udpdate to 2.4.1
|
||||||
|
* Tue Nov 23 2004 - ro@suse.de
|
||||||
|
- fix build for <= 9.0 (only py_ver works everywhere)
|
||||||
|
* Thu Apr 15 2004 - mcihar@suse.cz
|
||||||
|
- updated to 2.2.0
|
||||||
|
- drop gtk 1.2 support
|
||||||
|
* Mon Feb 23 2004 - mcihar@suse.cz
|
||||||
|
- really fix sed call
|
||||||
|
* Sat Feb 21 2004 - ro@suse.de
|
||||||
|
- fix typo in specfile
|
||||||
|
* Fri Feb 20 2004 - sbrabec@suse.cz
|
||||||
|
- Fixed names of GNOME2 packages.
|
||||||
|
* Fri Feb 20 2004 - mcihar@suse.cz
|
||||||
|
- enable threading in GTK 2 version (bug #34648)
|
||||||
|
- build GTK 1.2 version with -fno-strict-aliasing
|
||||||
|
* Mon Nov 03 2003 - meissner@suse.de
|
||||||
|
- requires python-numeric in installed system too.
|
||||||
|
* Wed Oct 15 2003 - mcihar@suse.cz
|
||||||
|
- record-rpm is really not needed
|
||||||
|
- don't build as root
|
||||||
|
* Tue Sep 02 2003 - mcihar@suse.cz
|
||||||
|
- updated to 2.0.0 (final GNOME 2 version, just minor bugfixes)
|
||||||
|
* Tue Aug 26 2003 - mcihar@suse.cz
|
||||||
|
- force usage of pygtk.py from 1.99.18 and not from 0.6.11 (caused
|
||||||
|
problems with default sys.path in python 2.3)
|
||||||
|
* Tue Aug 26 2003 - mcihar@suse.cz
|
||||||
|
- updated to 1.99.18:
|
||||||
|
- Fix up a duplicate symbol bug in the atk module, that was
|
||||||
|
causing build problems on MacOS X (hopefully the last such
|
||||||
|
problem).
|
||||||
|
- add gtk.glade.set_custom_handler() API, that provides more
|
||||||
|
info to the custom widget callback. Deprecate
|
||||||
|
set_custom_widget_callbacks().
|
||||||
|
- some other bug fixes.
|
||||||
|
* Thu Aug 07 2003 - mcihar@suse.cz
|
||||||
|
- updated to 1.99.17:
|
||||||
|
- Threading support is compiled in by default now. It is
|
||||||
|
necessary to call gtk.threads_init() in order to make use of
|
||||||
|
threading though. There have been a number of fixes to the
|
||||||
|
threading support too.
|
||||||
|
- Fix up some problems with multiple definitions of global
|
||||||
|
variables in gobject module, that was causing problems on
|
||||||
|
Mac OS X.
|
||||||
|
- Wrappers for many new APIs (John Finlay, Naofumi Yasufuku,
|
||||||
|
Johan Dahlin and others).
|
||||||
|
- Improvements to the code generator to give better error
|
||||||
|
messages.
|
||||||
|
- Some fixes to property APIs to work correctly on 64 bit
|
||||||
|
systems, and to handle ATOM type properties.
|
||||||
|
- Fix copyright headers on source files.
|
||||||
|
* Wed Aug 06 2003 - mcihar@suse.cz
|
||||||
|
- added workaround for lib64 dirs and pkgconfig
|
||||||
|
* Tue Aug 05 2003 - mcihar@suse.cz
|
||||||
|
- use distutils when possible
|
||||||
|
- compile python files with correct paths inside
|
||||||
|
- fix pkgconfig and codegen files to not contain buildroot
|
||||||
|
* Mon Jul 14 2003 - sbrabec@suse.cz
|
||||||
|
- GNOME prefix change to /opt/gnome.
|
||||||
|
* Thu May 29 2003 - mcihar@suse.cz
|
||||||
|
- make executable only files that should be
|
||||||
|
* Mon May 12 2003 - mcihar@suse.cz
|
||||||
|
- use versioned dependency on python
|
||||||
|
* Mon May 05 2003 - mcihar@suse.cz
|
||||||
|
- gnome 2 version updated to 1.99.16
|
||||||
|
* Wed Mar 12 2003 - mcihar@suse.cz
|
||||||
|
- include both pygtk versions (for Gtk 1.2 and 2.0) making 1.2
|
||||||
|
version default, this fixes bug #25148
|
||||||
|
* Thu Jan 23 2003 - mcihar@suse.cz
|
||||||
|
- updated to 1.99.14
|
||||||
|
* Fri Nov 29 2002 - mcihar@suse.cz
|
||||||
|
- added libxml2{,-devel} to neededforbuild to enable building with glade
|
||||||
|
* Wed Nov 27 2002 - mcihar@suse.cz
|
||||||
|
- cleaned up specfile
|
||||||
|
- fixed building for lib64 (this is temporary, should be fixed in autoconf)
|
||||||
|
* Wed Nov 27 2002 - mcihar@suse.cz
|
||||||
|
- version for GNOME 2
|
||||||
|
- fixes #21066 - dangling symlink
|
Loading…
x
Reference in New Issue
Block a user