From 063bbe5a7a3befbb768553ba0ba289a7da6f43dd Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 2 Aug 2006 14:52:50 +0000 Subject: [PATCH] allow spaces in filenames when saving (#200888, patch by Michael Natterer) --- gimp-2.2.12-filename.patch | 11 +++++++++++ gimp.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 gimp-2.2.12-filename.patch diff --git a/gimp-2.2.12-filename.patch b/gimp-2.2.12-filename.patch new file mode 100644 index 0000000..4d6c943 --- /dev/null +++ b/gimp-2.2.12-filename.patch @@ -0,0 +1,11 @@ +--- gimp-2.2.12/app/widgets/gimpfiledialog.c.filename 2006-06-26 11:49:39.000000000 +0200 ++++ gimp-2.2.12/app/widgets/gimpfiledialog.c 2006-08-02 16:36:03.000000000 +0200 +@@ -412,7 +412,7 @@ + gimp_file_dialog_set_file_proc (dialog, NULL); + + dirname = g_path_get_dirname (uri); +- basename = g_path_get_basename (uri); ++ basename = file_utils_uri_display_basename (uri); + + if (dirname && strlen (dirname) && strcmp (dirname, ".")) + gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (dialog), diff --git a/gimp.spec b/gimp.spec index 9b08eaa..a0538eb 100644 --- a/gimp.spec +++ b/gimp.spec @@ -36,7 +36,7 @@ Version: 2.2.12 %define age 0 %define minorver 200 %define microver %(ver=%{version}; echo ${ver##*.*.}) -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 2 License: GPL, LGPL Group: Applications/Multimedia @@ -96,6 +96,7 @@ Patch2: gimp-2.2.3-icontheme.patch Patch4: gimp-2.2.4-gifload.patch Patch5: gimp-2.2.11-htmlview.patch Patch6: gimp-2.2.11-gimptool.patch +Patch7: gimp-2.2.12-filename.patch %description GIMP (GNU Image Manipulation Program) is a powerful image composition and @@ -150,6 +151,7 @@ EOF %patch4 -p1 -b .gifload %patch5 -p1 -b .htmlview %patch6 -p1 -b .gimptool +%patch7 -p1 -b .filename %build libtoolize --copy --force @@ -394,6 +396,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Wed Aug 02 2006 Nils Philippsen - 2:2.2.12-3 +- allow spaces in filenames when saving (#200888, patch by Michael Natterer) + * Tue Jul 18 2006 Nils Philippsen - 2:2.2.12-2 - split off libraries into gimp-libs to allow multilib installations - remove pre-release cruft