From 334f0bc512f1341c8c459c3e4fbb9917d4e6603b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 5 Feb 2021 17:01:01 +0700 Subject: [PATCH] perl-Gtk2-Notify: remove package --- .../perl-Gtk2-Notify/patches/libnotify.patch | 114 ------------------ srcpkgs/perl-Gtk2-Notify/template | 15 --- srcpkgs/removed-packages/template | 1 + 3 files changed, 1 insertion(+), 129 deletions(-) delete mode 100644 srcpkgs/perl-Gtk2-Notify/patches/libnotify.patch delete mode 100644 srcpkgs/perl-Gtk2-Notify/template diff --git a/srcpkgs/perl-Gtk2-Notify/patches/libnotify.patch b/srcpkgs/perl-Gtk2-Notify/patches/libnotify.patch deleted file mode 100644 index 1e1ce9c094d..00000000000 --- a/srcpkgs/perl-Gtk2-Notify/patches/libnotify.patch +++ /dev/null @@ -1,114 +0,0 @@ -http://bugs.gentoo.org/398699 -http://rt.cpan.org/Public/Bug/Display.html?id=67297 -http://pkgs.fedoraproject.org/gitweb/?p=perl-Gtk2-Notify.git;a=blob_plain;f=libnotify.patch;hb=HEAD - ---- t/notification.t -+++ t/notification.t -@@ -2,20 +2,18 @@ - - use strict; - use warnings; --use Gtk2::TestHelper tests => 35; -+use Gtk2::TestHelper tests => 32; - use Test::Exception; - use Gtk2::Notify -init, $0; - - ginterfaces_ok('Gtk2::Notify'); - --my $w = Gtk2::Window->new; --my $n = Gtk2::Notify->new('foo', 'bar', '', $w); -+my $n = Gtk2::Notify->new('foo', 'bar', ''); - - isa_ok($n, 'Gtk2::Notify'); - - my @methods = qw( - add_action -- attach_to_widget - clear_actions - clear_hints - close -@@ -46,16 +44,6 @@ lives_ok(sub { - }, 42); - }, 'add_action'); - --{ -- my $nw = Gtk2::Window->new; -- lives_ok(sub { -- $n->attach_to_widget($nw); -- }, 'attach_to_widget'); -- lives_ok(sub { -- $n->attach_to_widget($w); -- }, 'attach_to_widget'); --} -- - lives_ok(sub { - $n->clear_actions; - }, 'clear_actions with existing actions'); -@@ -99,8 +87,6 @@ lives_ok(sub { - $n->close; - }, 'close before show'); - --$w->show_all; -- - lives_ok(sub { - $n->show; - }, 'show'); ---- xs/Notify.xs -+++ xs/Notify.xs -@@ -86,26 +86,12 @@ notify_get_server_info (class, OUTLIST c - MODULE = Gtk2::Notify PACKAGE = Gtk2::Notify PREFIX = notify_notification_ - - NotifyNotification * --notify_notification_new (class, summary, body=NULL, icon=NULL, attach=NULL) -+notify_notification_new (class, summary, body=NULL, icon=NULL) - const gchar *summary - const gchar *body - const gchar *icon -- GtkWidget_ornull *attach - C_ARGS: -- summary, body, icon, attach -- --#if GTK_CHECK_VERSION (2, 9, 2) -- --NotifyNotification * --notify_notification_new_with_status_icon (class, summary, body=NULL, icon=NULL, status_icon=NULL) -- const gchar *summary -- const gchar *body -- const gchar *icon -- GtkStatusIcon *status_icon -- C_ARGS: -- summary, body, icon, status_icon -- --#endif -+ summary, body, icon - - gboolean - notify_notification_update (notification, summary, message=NULL, icon=NULL) -@@ -114,27 +100,6 @@ notify_notification_update (notification - const gchar *message - const gchar *icon - --void --notify_notification_attach_to_widget (notification, attach) -- NotifyNotification *notification -- GtkWidget *attach -- --#if GTK_CHECK_VERSION (2, 9, 2) -- --void --notify_notification_attach_to_status_icon (notification, status_icon) -- NotifyNotification *notification -- GtkStatusIcon *status_icon -- --#endif -- --void --notify_notification_set_geometry_hints (notification, screen, x, y) -- NotifyNotification *notification -- GdkScreen *screen -- gint x -- gint y -- - NO_OUTPUT gboolean - notify_notification_show (notification) - NotifyNotification *notification diff --git a/srcpkgs/perl-Gtk2-Notify/template b/srcpkgs/perl-Gtk2-Notify/template deleted file mode 100644 index d49a8f5308c..00000000000 --- a/srcpkgs/perl-Gtk2-Notify/template +++ /dev/null @@ -1,15 +0,0 @@ -# Template build file for 'perl-Gtk2-Notify' -pkgname=perl-Gtk2-Notify -version=0.05 -revision=7 -build_style=perl-module -hostmakedepends="perl perl-Gtk2 gtk+-devel libnotify-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig" -makedepends="${hostmakedepends}" -short_desc="Gtk2::Notify - Perl interface to libnotify" -maintainer="chinarulezzz " -homepage="https://metacpan.org/release/Gtk2-Notify" -license="LGPL-2" -distfiles="${CPAN_SITE}/Gtk2/Gtk2-Notify-${version}.tar.gz" -checksum=88189ae68dfbd54615ad133df07e2ec8048d06d8b9586add1227d74eb2ebb047 -wrksrc="Gtk2-Notify-${version}" -nocross=yes diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index b32a3d4f755..983ca91bfea 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -177,6 +177,7 @@ replaces=" orage<=4.12.1_7 oce<=0.18.3_1 oce-devel<=0.18.3_1 + perl-Gtk2-Notify<=0.05_7 phonon-backend-gstreamer<=4.9.0_2 phonon-backend-vlc<=0.9.1_3 polkit-qt<=0.112.0_5