- Ported menu patch from gimp-print package.

This commit is contained in:
Tim Waugh 2007-02-28 17:22:27 +00:00
parent 2507e631e5
commit 280a0f91ab
2 changed files with 19 additions and 0 deletions

16
gutenprint-menu.patch Normal file
View File

@ -0,0 +1,16 @@
--- gutenprint-5.0.0/src/gimp/print.c.menu 2007-02-28 17:16:49.000000000 +0000
+++ gutenprint-5.0.0/src/gimp/print.c 2007-02-28 17:17:31.000000000 +0000
@@ -130,11 +130,12 @@
(BAD_CONST_CHAR) copy,
(BAD_CONST_CHAR) VERSION " - " RELEASE_DATE,
/* Do not translate the "<Image>" */
- (BAD_CONST_CHAR) N_("<Image>/File/Print..."),
+ (BAD_CONST_CHAR) N_("_Print..."),
(BAD_CONST_CHAR) types,
GIMP_PLUGIN,
nargs, 0,
args, NULL);
+ gimp_plugin_menu_register ("file_print_gimp", "<Image>/File/Send");
}
static guchar *gimp_thumbnail_data = NULL;

View File

@ -8,6 +8,7 @@ Release: 5%{?dist}
Group: System Environment/Base
URL: http://gimp-print.sourceforge.net/
Source0: http://dl.sf.net/gimp-print/gutenprint-%{version}.tar.bz2
Patch0: gutenprint-menu.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cups-libs >= 1.1.22-0.rc1.9.10, cups >= 1.1.22-0.rc1.9.10
@ -231,6 +232,7 @@ Epson, HP and compatible printers..
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -z .menu
%build
%configure --disable-static --disable-dependency-tracking \
@ -401,6 +403,7 @@ exit 0
%changelog
* Wed Feb 28 2007 Tim Waugh <twaugh@redhat.com>
- Ported menu patch from gimp-print package.
- Fixed summary for plugin sub-package.
* Fri Feb 9 2007 Tim Waugh <twaugh@redhat.com> 5.0.0-5