Package Details: pygtk 2.24.0-12

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
Submitter: arojas
Maintainer: creyon
Last Packager: ragouel
Votes: 75
Popularity: 1.03
First Submitted: 2020-03-29 19:09 (UTC)
Last Updated: 2022-06-12 19:56 (UTC)

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 Next › Last »

zrhoffman commented on 2020-04-02 15:12 (UTC)

Looks like my local repo had merge conflicts for some reason, so the git checkout . had no effect. Builds fine for me.

eschwartz commented on 2020-04-02 14:57 (UTC)

git log -p

View errors, note who committed them.

Then

git reset --hard origin/master

zrhoffman commented on 2020-04-02 14:33 (UTC) (edited on 2020-04-02 14:34 (UTC) by zrhoffman)

When I try to build this:

git checkout . && makepkg;
/home/user/.cache/yay/pygtk/PKGBUILD: line 6: syntax error near unexpected token `<<<'
/home/user/.cache/yay/pygtk/PKGBUILD: line 6: `<<<<<<< HEAD'
==> ERROR: Failed to source /home/user/.cache/yay/pygtk/PKGBUILD

archuser0119 commented on 2020-04-01 11:18 (UTC)

Successfully installed after installing missing dependency "pkg-config" Error example:

checking for python module thread... yes checking whether to enable threading in pygtk... yes checking for pkg-config... no checking for GLIB - version >= 2.8.0... no A new enough version of pkg-config was not found. See http://www.freedesktop.org/software/pkgconfig/ configure: error: gobject is required to build pygtk? ==> ERROR: A failure occurred in build(). Aborting... Error making: pygtk ""

Bearbonez commented on 2020-04-01 08:32 (UTC)

Failing to build on mine

In file included from pangomodule.c:26: /usr/include/pygtk-2.0/pygobject.h:187:40: warning: ‘GParameter’ is deprecated [-Wdeprecated-declarations] 187 | GParameter parameters); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/pygtk-2.0/pygobject.h:8, from pangomodule.c:26: /usr/include/glib-2.0/gobject/gparam.h:271:8: note: declared here 271 | struct _GParameter / auxiliary structure for _setv() variants / | ^~~~~~~~~~~ pangomodule.c:28:10: fatal error: pango/pango-font.h: No such file or directory 28 | #include <pango/pango-font.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make: ** [Makefile:623: pango_la-pangomodule.lo] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

eschwartz commented on 2020-03-31 18:41 (UTC)

And upstream pygtk even has a commit which fixes this, so I backported it and this builds perfectly in a clean chroot.

eschwartz commented on 2020-03-31 17:26 (UTC) (edited on 2020-03-31 18:29 (UTC) by eschwartz)

I don't care, your account has now been suspended for vandalism and deliberate rulebreaking and that commit was rolled back via a moderator action.

Discuss on the aur-general mailing list if you like.

digitalone commented on 2020-03-31 17:24 (UTC)

The file in the archive will be deleted and next year people will complain it's missing. Many packages depend on pygtk, maybe it shouldn't even be deleted from upstream.

I think it's not even supposed to upload a script that not compile. This is the only reasonable solution. Otherwise, provide a working compiling script, I can't do that.

loathingkernel commented on 2020-03-31 17:13 (UTC) (edited on 2020-03-31 17:23 (UTC) by loathingkernel)

You are not supposed to do this in AUR. Read this and also this. Providing the source instead of linking to it falls under the 5th point in the second link which states

The AUR should not contain the binary tarball created by makepkg, nor should it contain the filelist.

EDIT: Well, this is even worse, you are providing a prebuilt arch package, this is certainly prohibited.