From 3b124b511613ede84197373520a456cd179815a0 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sun, 24 Jul 2022 00:51:45 -0400 Subject: [PATCH] python-notify: remove package --- .../python-notify/patches/libnotify07.patch | 36 ------------------- .../notify-python-0.1.1-fix-GTK-symbols.patch | 25 ------------- srcpkgs/python-notify/template | 26 -------------- srcpkgs/python-notify/update | 1 - srcpkgs/removed-packages/template | 1 + 5 files changed, 1 insertion(+), 88 deletions(-) delete mode 100644 srcpkgs/python-notify/patches/libnotify07.patch delete mode 100644 srcpkgs/python-notify/patches/notify-python-0.1.1-fix-GTK-symbols.patch delete mode 100644 srcpkgs/python-notify/template delete mode 100644 srcpkgs/python-notify/update diff --git a/srcpkgs/python-notify/patches/libnotify07.patch b/srcpkgs/python-notify/patches/libnotify07.patch deleted file mode 100644 index 289573d50ae..00000000000 --- a/srcpkgs/python-notify/patches/libnotify07.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -up notify-python-0.1.1/src/pynotify.defs.notify070 notify-python-0.1.1/src/pynotify.defs ---- notify-python-0.1.1/src/pynotify.defs.notify070 2010-11-02 17:11:14.928179237 -0400 -+++ notify-python-0.1.1/src/pynotify.defs 2010-11-02 17:11:51.153180231 -0400 -@@ -38,7 +38,6 @@ - '("const-gchar*" "summary") - '("const-gchar*" "message" (null-ok) (default "NULL")) - '("const-gchar*" "icon" (null-ok) (default "NULL")) -- '("GtkWidget*" "attach" (null-ok) (default "NULL")) - ) - ) - -@@ -53,24 +52,6 @@ - ) - ) - --(define-method attach_to_widget -- (of-object "NotifyNotification") -- (c-name "notify_notification_attach_to_widget") -- (return-type "none") -- (parameters -- '("GtkWidget*" "attach") -- ) --) -- --(define-method attach_to_status_icon -- (of-object "NotifyNotification") -- (c-name "notify_notification_attach_to_status_icon") -- (return-type "none") -- (parameters -- '("GtkStatusIcon*" "attach") -- ) --) -- - (define-method show - (of-object "NotifyNotification") - (c-name "notify_notification_show") diff --git a/srcpkgs/python-notify/patches/notify-python-0.1.1-fix-GTK-symbols.patch b/srcpkgs/python-notify/patches/notify-python-0.1.1-fix-GTK-symbols.patch deleted file mode 100644 index f985c01363a..00000000000 --- a/srcpkgs/python-notify/patches/notify-python-0.1.1-fix-GTK-symbols.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -up notify-python-0.1.1/src/__init__.py.BAD notify-python-0.1.1/src/__init__.py ---- notify-python-0.1.1/src/__init__.py.BAD 2010-08-31 09:04:45.353844005 -0400 -+++ notify-python-0.1.1/src/__init__.py 2010-08-31 09:04:49.281844300 -0400 -@@ -1 +1,21 @@ -+""" -+Fedora's libnotify.so is not linked against GTK2 or GTK3. The idea -+was to support being linked against different parallel-installable -+GTK stacks. -+ -+Unfortunately, python needs to jump through some special hoops in order -+to share symbols with extension modules, specifically, pygtk, which does -+link against GTK2. -+ -+Without using sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL), -+the result is: -+libnotify-WARNING **: Missing symbol 'gdk_screen_make_display_name' -+ -+Thanks to David Malcolm for figuring out the workaround. -+""" -+import ctypes -+import sys -+sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL) -+import gtk -+ - from _pynotify import * diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template deleted file mode 100644 index 9bc07c76324..00000000000 --- a/srcpkgs/python-notify/template +++ /dev/null @@ -1,26 +0,0 @@ -# Template file for 'python-notify' -pkgname=python-notify -version=0.1.1 -revision=13 -wrksrc="notify-python-${version}" -build_style=gnu-configure -pycompile_module="gtk-2.0/pynotify" -hostmakedepends="pkg-config python-devel python-gobject2-devel pygtk-devel" -makedepends="libnotify-devel gtk+-devel dbus-glib-devel pygtk-devel" -depends="pygtk" -short_desc="Python2 bindings for libnotify" -maintainer="Orphaned " -license="LGPL-2.1-only" -homepage="http://www.galago-project.org/" -distfiles="http://www.galago-project.org/files/releases/source/notify-python/notify-python-${version}.tar.gz" -checksum=8c5ee28017fdc5b110c31cb76503e535e15e0c60b9a1f1e95ff6c018dd806022 -replaces="notify-python>=0" -lib32disabled=yes - -CFLAGS="-fcommon" - -pre_configure() { - if [ "$CROSS_BUILD" ]; then - sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure - fi -} diff --git a/srcpkgs/python-notify/update b/srcpkgs/python-notify/update deleted file mode 100644 index bd14e9008e0..00000000000 --- a/srcpkgs/python-notify/update +++ /dev/null @@ -1 +0,0 @@ -pkgname="notify-python" diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index ba34f0e244d..1dd47a33213 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -311,6 +311,7 @@ replaces=" python-matplotlib<=2.2.4_2 python-netifaces<=0.10.9_3 python-nose<=1.3.7_7 + python-notify<=0.1.1_13 python-pgpdump<=1.5_10 python-pivy<=0.6.4_2 python-pretend<=1.0.9_5