From 27de47d716728878b66b9132c7a5a5b6bd87f59d Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sat, 4 Aug 2007 08:28:51 +0000 Subject: [PATCH] Re-added desktop patch. --- hplip-desktop.patch | 15 +++++++++++++++ hplip.spec | 5 ++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 hplip-desktop.patch diff --git a/hplip-desktop.patch b/hplip-desktop.patch new file mode 100644 index 0000000..04be02c --- /dev/null +++ b/hplip-desktop.patch @@ -0,0 +1,15 @@ +--- hplip-2.7.7/hplip.desktop.in.desktop 2007-08-01 22:00:39.000000000 +0100 ++++ hplip-2.7.7/hplip.desktop.in 2007-08-04 09:13:48.000000000 +0100 +@@ -1,10 +1,10 @@ + [Desktop Entry] +-Version=0.6 ++Encoding=UTF-8 + Type=Application + Name=HP Device Manager + GenericName=HP Device Manager + Comment=View device status, ink levels and perform maintenance. +-Exec=@abs_datadir@/hplip/toolbox.py ++Exec=@bindir@/hp-toolbox + Icon=@abs_datadir@/hplip/data/images/HPmenu.png + Terminal=false + Categories=Application;Utility; diff --git a/hplip.spec b/hplip.spec index 1028689..ab20547 100644 --- a/hplip.spec +++ b/hplip.spec @@ -13,7 +13,7 @@ Conflicts: selinux-policy < 3.0.3-3 Url: http://hplip.sourceforge.net/ Source: http://kent.dl.sourceforge.net/sourceforge/hplip/%{name}-%{version}.tar.gz -Patch2: hplip-guest.patch +Patch1: hplip-desktop.patch Patch3: hplip-quiet.patch Patch4: hplip-marker-supply.patch Patch5: hplip-libm.patch @@ -88,6 +88,9 @@ SANE driver for scanners in HP's multi-function devices (from HPOJ). rm -rf $RPM_BUILD_DIR/%{name}-%{version} %setup -q +# Fix desktop file. +%patch1 -p1 -b .desktop + # Quieten hpssd on startup. %patch3 -p1 -b .quiet