Package Details: pygtk 2.24.0-14

Git Clone URL: https://aur.archlinux.org/pygtk.git (read-only, click to copy)
Package Base: pygtk
Description: Python bindings for the GTK widget set
Upstream URL: https://wiki.gnome.org/Projects/PyGTK
Keywords: GTK Python widget
Licenses: LGPL-2.1-or-later
Submitter: arojas
Maintainer: creyon
Last Packager: creyon
Votes: 78
Popularity: 0.21
First Submitted: 2020-03-29 19:09 (UTC)
Last Updated: 2024-06-02 15:27 (UTC)

Required by (107)

Sources (4)

Pinned Comments

ragouel commented on 2022-06-11 23:26 (UTC) (edited on 2022-06-12 19:54 (UTC) by ragouel)

From official GNOME docs:

"Attention: PyGTK 2.24 will be the last release in the PyGTK series and will support the full GTK-2-24 API. PyGTK should not be used for new projects and existing PyGTK applications are recommended to be ported to PyGObject. See here for more information."

https://wiki.gnome.org/Projects/PyGTK/WhatsNew224

Please stop asking me to update this package. I only "keep" it, so that it is not messed with by others, as some older applications still rely on it to function.

Thank you.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 9 Next › Last »

Felixoid commented on 2024-05-15 20:10 (UTC)

I have the same issues building it with gcc14 =\

micwoj92 commented on 2024-05-13 20:32 (UTC)

Fails to build due to changes in gcc14:

pango.c: In function ‘_wrap_PangoFont__proxy_do_get_metrics’:
pango.c:3986:16: error: implicit declaration of function ‘pango_font_metrics_new’; did you mean ‘pango_font_metrics_ref’? [-Wimplicit-function-declaration]
 3986 |         return pango_font_metrics_new();
      |                ^~~~~~~~~~~~~~~~~~~~~~
      |                pango_font_metrics_ref
pango.c:3986:16: error: returning ‘int’ from a function with return type ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} makes pointer from integer without a cast [-Wint-conversion]
 3986 |         return pango_font_metrics_new();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
pango.c:4000:16: error: returning ‘int’ from a function with return type ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} makes pointer from integer without a cast [-Wint-conversion]
 4000 |         return pango_font_metrics_new();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
pango.c:4011:16: error: returning ‘int’ from a function with return type ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} makes pointer from integer without a cast [-Wint-conversion]
 4011 |         return pango_font_metrics_new();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
pango.c:4021:16: error: returning ‘int’ from a function with return type ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} makes pointer from integer without a cast [-Wint-conversion]
 4021 |         return pango_font_metrics_new();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
pango.c: In function ‘_wrap_pango_font_map_get_shape_engine_type’:
atk.override: In function ‘_wrap_atk_component_get_position’:
pango.c:4710:11: error: implicit declaration of function ‘pango_font_map_get_shape_engine_type’; did you mean ‘_wrap_pango_font_map_get_shape_engine_type’? [-Wimplicit-function-declaration]
 4710 |     ret = pango_font_map_get_shape_engine_type(PANGO_FONT_MAP(self->obj));
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |           _wrap_pango_font_map_get_shape_engine_type
atk.override:142:5: warning: ‘atk_component_get_position’ is deprecated: Use 'atk_component_get_extents' instead [-Wdeprecated-declarations]
  142 |     atk_component_get_position(ATK_COMPONENT(self->obj), &x, &y, coord_type);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:27:
/usr/include/atk-1.0/atk/atkcomponent.h:250:6: note: declared here
  250 | void atk_component_get_position (AtkComponent *component,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
atk.override: In function ‘_wrap_atk_component_get_size’:
atk.override:152:5: warning: ‘atk_component_get_size’ is deprecated: Use 'atk_component_get_extents' instead [-Wdeprecated-declarations]
  152 |     atk_component_get_size(ATK_COMPONENT(self->obj), &width, &height);
      |     ^~~~~~~~~~~~~~~~~~~~~~
pango.c:4710:9: error: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 4710 |     ret = pango_font_map_get_shape_engine_type(PANGO_FONT_MAP(self->obj));
      |         ^
/usr/include/atk-1.0/atk/atkcomponent.h:255:6: note: declared here
  255 | void atk_component_get_size (AtkComponent *component,
      |      ^~~~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_component_remove_focus_handler’:
atk.c:5833:5: warning: ‘atk_component_remove_focus_handler’ is deprecated [-Wdeprecated-declarations]
 5833 |     atk_component_remove_focus_handler(ATK_COMPONENT(self->obj), handler_id);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/atk-1.0/atk/atkcomponent.h:265:6: note: declared here
  265 | void atk_component_remove_focus_handler (AtkComponent *component,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pango.c: In function ‘_wrap_PangoFontset__proxy_do_get_metrics’:
pango.c:5382:16: error: returning ‘int’ from a function with return type ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} makes pointer from integer without a cast [-Wint-conversion]
 5382 |         return pango_font_metrics_new();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
pango.c:5392:16: error: returning ‘int’ from a function with return type ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} makes pointer from integer without a cast [-Wint-conversion]
 5392 |         return pango_font_metrics_new();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
pango.c:5402:16: error: returning ‘int’ from a function with return type ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} makes pointer from integer without a cast [-Wint-conversion]
 5402 |         return pango_font_metrics_new();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
pango.c:5411:16: error: returning ‘int’ from a function with return type ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} makes pointer from integer without a cast [-Wint-conversion]
 5411 |         return pango_font_metrics_new();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~

Lucas.Sichardt commented on 2024-05-12 07:12 (UTC)

Hello and thanks for that fast reply.

You are right. Happens when trying things out late when it's dark and you have just installed from live system rapidly ;)

Sorry to bother...

pygtk Package works fine indeed.

lxgr commented on 2024-05-11 21:42 (UTC)

Hey, just install fakeroot: sudo pacman -S fakeroot fakeroot is needed for all packaging. You might have forgotten to install the base-devel group, which contains "Basic tools to build Arch Linux packages". So this issue is not at all related to this package.

Lucas.Sichardt commented on 2024-05-11 20:14 (UTC)

Hello,

this package does not seem to work for me. When trying to build it I get the following error when building python2 is supposed to be done:

Cannot find the fakeroot binary.

Any idea how to solve this?

creyon commented on 2023-11-15 14:54 (UTC)

Adopted. I don't think there are any major changes to be made, but I'll keep track of this package for anything that needs to be fixed.

I think the arch should be updated to 'any', since it's a Python library. I'll do that soon. https://wiki.archlinux.org/title/Python_package_guidelines

Alad commented on 2022-06-12 13:05 (UTC)

You should update the upstream URL to that link, since the current one (which points to pygobject) is confusing at best...

ragouel commented on 2022-06-11 23:26 (UTC) (edited on 2022-06-12 19:54 (UTC) by ragouel)

From official GNOME docs:

"Attention: PyGTK 2.24 will be the last release in the PyGTK series and will support the full GTK-2-24 API. PyGTK should not be used for new projects and existing PyGTK applications are recommended to be ported to PyGObject. See here for more information."

https://wiki.gnome.org/Projects/PyGTK/WhatsNew224

Please stop asking me to update this package. I only "keep" it, so that it is not messed with by others, as some older applications still rely on it to function.

Thank you.