From 2b026569f06f335236bcdb4330c846d6d11489b4 Mon Sep 17 00:00:00 2001 From: Kevin Degeling Date: Sun, 21 Feb 2021 13:37:33 +0100 Subject: Rename shared module --- py2gtk2/py2gtk2.json | 82 --------------------------------------------------- py2gtk2/py2gtk2.patch | 39 ------------------------ pygtk/pygtk.json | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++ pygtk/pygtk.patch | 39 ++++++++++++++++++++++++ 4 files changed, 121 insertions(+), 121 deletions(-) delete mode 100644 py2gtk2/py2gtk2.json delete mode 100644 py2gtk2/py2gtk2.patch create mode 100644 pygtk/pygtk.json create mode 100644 pygtk/pygtk.patch diff --git a/py2gtk2/py2gtk2.json b/py2gtk2/py2gtk2.json deleted file mode 100644 index 4d07e60..0000000 --- a/py2gtk2/py2gtk2.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "name": "pygtk", - "config-opts": [ - "--disable-docs" - ], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/pygtk/2.24/pygtk-2.24.0.tar.gz", - "sha256": "6e3e54fa6e65a69ac60bd58cb2e60a57f3346ac52efe995f3d10b6c38c972fd8" - }, - { - "type": "patch", - "path": "py2gtk2.patch" - }, - { - "type": "shell", - "commands": [ - "cp -p /usr/share/automake-*/config.{sub,guess} ." - ] - } - ], - "modules": [ - { - "name": "python2-pycairo", - "buildsystem": "meson", - "config-opts": [ - "-Dpython=python2" - ], - "sources": [ - { - "type": "archive", - "url": "https://github.com/pygobject/pycairo/releases/download/v1.18.2/pycairo-1.18.2.tar.gz", - "sha256": "dcb853fd020729516e8828ad364084e752327d4cff8505d20b13504b32b16531" - } - ] - }, - { - "name": "pygobject", - "config-opts": [ - "--disable-glibtest" - ], - "cleanup": [ - "/bin" - ], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/pygobject/2.28/pygobject-2.28.7.tar.xz", - "sha256": "bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a" - } - ] - }, - { - "name": "libglade", - "rm-configure": true, - "cleanup": [ - "/bin" - ], - "sources": [ - { - "type": "archive", - "url": "https://download.gnome.org/sources/libglade/2.6/libglade-2.6.4.tar.gz", - "sha256": "c41d189b68457976069073e48d6c14c183075d8b1d8077cb6dfb8b7c5097add3" - }, - { - "type": "shell", - "commands": [ - "rm -f config.guess" - ] - }, - { - "type": "script", - "commands": [ - "autoreconf -fiv" - ], - "dest-filename": "autogen.sh" - } - ] - } - ] -} diff --git a/py2gtk2/py2gtk2.patch b/py2gtk2/py2gtk2.patch deleted file mode 100644 index ba4141e..0000000 --- a/py2gtk2/py2gtk2.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 877164b6b70780468a31d8211f29421b6f34b0c8 Mon Sep 17 00:00:00 2001 -From: Mathieu Bridon -Date: Thu, 24 Oct 2019 22:58:36 +0200 -Subject: [PATCH] Drop the PangoFont find_shaper virtual method - -This API has been removed from Pango 1.44.6, because it was completely -unused by anything. - -However, PyGTK tries to bind everything, even unused API. - -Removing this from PyGTK means we can build it against the latest Pango -again. ---- - pango.defs | 9 --------- - 1 file changed, 9 deletions(-) - -diff --git a/pango.defs b/pango.defs -index 2a79ecc..862667a 100644 ---- a/pango.defs -+++ b/pango.defs -@@ -1391,15 +1391,6 @@ - ) - ) - --(define-virtual find_shaper -- (of-object "PangoFont") -- (return-type "PangoEngineShape*") -- (parameters -- '("PangoLanguage*" "lang") -- '("guint32" "ch") -- ) --) -- - (define-virtual get_glyph_extents - (of-object "PangoFont") - (return-type "none") --- -2.21.0 - diff --git a/pygtk/pygtk.json b/pygtk/pygtk.json new file mode 100644 index 0000000..d5d2dca --- /dev/null +++ b/pygtk/pygtk.json @@ -0,0 +1,82 @@ +{ + "name": "pygtk", + "config-opts": [ + "--disable-docs" + ], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/pygtk/2.24/pygtk-2.24.0.tar.gz", + "sha256": "6e3e54fa6e65a69ac60bd58cb2e60a57f3346ac52efe995f3d10b6c38c972fd8" + }, + { + "type": "patch", + "path": "pygtk.patch" + }, + { + "type": "shell", + "commands": [ + "cp -p /usr/share/automake-*/config.{sub,guess} ." + ] + } + ], + "modules": [ + { + "name": "python2-pycairo", + "buildsystem": "meson", + "config-opts": [ + "-Dpython=python2" + ], + "sources": [ + { + "type": "archive", + "url": "https://github.com/pygobject/pycairo/releases/download/v1.18.2/pycairo-1.18.2.tar.gz", + "sha256": "dcb853fd020729516e8828ad364084e752327d4cff8505d20b13504b32b16531" + } + ] + }, + { + "name": "pygobject", + "config-opts": [ + "--disable-glibtest" + ], + "cleanup": [ + "/bin" + ], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/pygobject/2.28/pygobject-2.28.7.tar.xz", + "sha256": "bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a" + } + ] + }, + { + "name": "libglade", + "rm-configure": true, + "cleanup": [ + "/bin" + ], + "sources": [ + { + "type": "archive", + "url": "https://download.gnome.org/sources/libglade/2.6/libglade-2.6.4.tar.gz", + "sha256": "c41d189b68457976069073e48d6c14c183075d8b1d8077cb6dfb8b7c5097add3" + }, + { + "type": "shell", + "commands": [ + "rm -f config.guess" + ] + }, + { + "type": "script", + "commands": [ + "autoreconf -fiv" + ], + "dest-filename": "autogen.sh" + } + ] + } + ] +} diff --git a/pygtk/pygtk.patch b/pygtk/pygtk.patch new file mode 100644 index 0000000..ba4141e --- /dev/null +++ b/pygtk/pygtk.patch @@ -0,0 +1,39 @@ +From 877164b6b70780468a31d8211f29421b6f34b0c8 Mon Sep 17 00:00:00 2001 +From: Mathieu Bridon +Date: Thu, 24 Oct 2019 22:58:36 +0200 +Subject: [PATCH] Drop the PangoFont find_shaper virtual method + +This API has been removed from Pango 1.44.6, because it was completely +unused by anything. + +However, PyGTK tries to bind everything, even unused API. + +Removing this from PyGTK means we can build it against the latest Pango +again. +--- + pango.defs | 9 --------- + 1 file changed, 9 deletions(-) + +diff --git a/pango.defs b/pango.defs +index 2a79ecc..862667a 100644 +--- a/pango.defs ++++ b/pango.defs +@@ -1391,15 +1391,6 @@ + ) + ) + +-(define-virtual find_shaper +- (of-object "PangoFont") +- (return-type "PangoEngineShape*") +- (parameters +- '("PangoLanguage*" "lang") +- '("guint32" "ch") +- ) +-) +- + (define-virtual get_glyph_extents + (of-object "PangoFont") + (return-type "none") +-- +2.21.0 + -- cgit v1.2.3