rpms/gutenprint/devel gutenprint-menu.patch, NONE, 1.1 gutenprint.spec, 1.11, 1.12

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Wed Feb 28 17:23:00 UTC 2007


Author: twaugh

Update of /cvs/extras/rpms/gutenprint/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv591

Modified Files:
	gutenprint.spec 
Added Files:
	gutenprint-menu.patch 
Log Message:
* Wed Feb 28 2007 Tim Waugh <twaugh at redhat.com>
- Ported menu patch from gimp-print package.


gutenprint-menu.patch:

--- NEW FILE gutenprint-menu.patch ---
--- 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;


Index: gutenprint.spec
===================================================================
RCS file: /cvs/extras/rpms/gutenprint/devel/gutenprint.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- gutenprint.spec	28 Feb 2007 17:15:57 -0000	1.11
+++ gutenprint.spec	28 Feb 2007 17:22:27 -0000	1.12
@@ -8,6 +8,7 @@
 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 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch0 -p1 -z .menu
 
 %build
 %configure --disable-static --disable-dependency-tracking  \
@@ -401,6 +403,7 @@
 
 %changelog
 * Wed Feb 28 2007 Tim Waugh <twaugh at redhat.com>
+- Ported menu patch from gimp-print package.
 - Fixed summary for plugin sub-package.
 
 * Fri Feb  9 2007 Tim Waugh <twaugh at redhat.com> 5.0.0-5




More information about the fedora-extras-commits mailing list