From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1768513835A for ; Sun, 20 Sep 2020 14:41:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55D86E0901; Sun, 20 Sep 2020 14:41:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2989AE0901 for ; Sun, 20 Sep 2020 14:41:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6DCC233BF1F for ; Sun, 20 Sep 2020 14:41:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1E1F342 for ; Sun, 20 Sep 2020 14:41:18 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1600612695.d97eb7668e05cf59cbbdfe4bebd48832dfd12b8f.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/nut/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/nut/files/NUT-Monitor-1.3-paths.patch X-VCS-Directories: sys-power/nut/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: d97eb7668e05cf59cbbdfe4bebd48832dfd12b8f X-VCS-Branch: master Date: Sun, 20 Sep 2020 14:41:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 99dc04cd-d51e-40f4-9b85-28335c60efad X-Archives-Hash: 507bcb218e7aef3597e9f6f6fc00f647 commit: d97eb7668e05cf59cbbdfe4bebd48832dfd12b8f Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Aug 28 16:50:05 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Sep 20 14:38:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97eb766 sys-power/nut: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/17299 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Conrad Kostecki gentoo.org> sys-power/nut/files/NUT-Monitor-1.3-paths.patch | 48 ------------------------- 1 file changed, 48 deletions(-) diff --git a/sys-power/nut/files/NUT-Monitor-1.3-paths.patch b/sys-power/nut/files/NUT-Monitor-1.3-paths.patch deleted file mode 100644 index 17bedaead72..00000000000 --- a/sys-power/nut/files/NUT-Monitor-1.3-paths.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- a/scripts/python/app/NUT-Monitor -+++ b/scripts/python/app/NUT-Monitor -@@ -70,7 +70,7 @@ - ( cmd_opts, args ) = opt_parser.parse_args() - - -- self.__glade_file = os.path.join( os.path.dirname( sys.argv[0] ), "gui-1.3.glade" ) -+ self.__glade_file = '/usr/share/nut/gui-1.3.glade' - - self.__widgets["interface"] = gtk.glade.XML( self.__glade_file, "window1", APP ) - self.__widgets["main_window"] = self.__widgets["interface"].get_widget("window1") -@@ -103,11 +103,11 @@ - - # Create the tray icon and connect it to the show/hide method... - self.__widgets["status_icon"] = gtk.StatusIcon() -- self.__widgets["status_icon"].set_from_file( os.path.join( os.path.dirname( sys.argv[0] ), "pixmaps", "on_line.png" ) ) -+ self.__widgets["status_icon"].set_from_file( "/usr/share/nut/pixmaps/on_line.png" ) - self.__widgets["status_icon"].set_visible( True ) - self.__widgets["status_icon"].connect( "activate", self.tray_activated ) - -- self.__widgets["ups_status_image"].set_from_file( os.path.join( os.path.dirname( sys.argv[0] ), "pixmaps", "on_line.png" ) ) -+ self.__widgets["ups_status_image"].set_from_file( "/usr/share/nut/pixmaps/on_line.png" ) - - # Define interface callbacks actions - self.__callbacks = { "on_window1_destroy" : self.quit, -@@ -265,8 +265,8 @@ - #------------------------------------------------------------------- - # Change the status icon and tray icon - def change_status_icon( self, icon="on_line", blink=False ) : -- self.__widgets["status_icon"].set_from_file( os.path.join( os.path.dirname( sys.argv[0] ), "pixmaps", "%s.png" % icon ) ) -- self.__widgets["ups_status_image"].set_from_file( os.path.join( os.path.dirname( sys.argv[0] ), "pixmaps", "%s.png" % icon ) ) -+ self.__widgets["status_icon"].set_from_file( "/usr/share/nut/pixmaps/%s.png" % icon ) -+ self.__widgets["ups_status_image"].set_from_file( "/usr/share/nut/pixmaps/%s.png" % icon ) - self.__widgets["status_icon"].set_blinking( blink ) - - #------------------------------------------------------------------- -@@ -719,9 +719,9 @@ - - for k,v in vars.iteritems() : - if ( rwvars.has_key( k ) ) : -- icon_file = os.path.join( os.path.dirname( sys.argv[0] ), "pixmaps", "var-rw.png" ) -+ icon_file = "/usr/share/nut/pixmaps/var-rw.png" - else : -- icon_file = os.path.join( os.path.dirname( sys.argv[0] ), "pixmaps", "var-ro.png" ) -+ icon_file = "/usr/share/nut/pixmaps/var-ro.png" - - icon = gtk.gdk.pixbuf_new_from_file( icon_file ) - self.__widgets["ups_vars_tree_store"].append( [ icon, k, v ] )