[gnome-documents/f19] Update to 3.8.4

Debarshi Ray rishi at fedoraproject.org
Fri Aug 30 12:04:02 UTC 2013


commit bb87f182126ec47aaa455537623e6039054f003f
Author: Debarshi Ray <debarshir at gnome.org>
Date:   Fri Aug 30 14:03:27 2013 +0200

    Update to 3.8.4

 .gitignore                                         |    1 +
 ...ort-previewing-of-password-protected-PDFs.patch |   30 ++++++++++----------
 gnome-documents.spec                               |    7 +++-
 sources                                            |    2 +-
 4 files changed, 22 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 10f07ef..e9e8001 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,3 +36,4 @@
 /gnome-documents-3.8.2.1.tar.xz
 /gnome-documents-3.8.3.tar.xz
 /gnome-documents-3.8.3.1.tar.xz
+/gnome-documents-3.8.4.tar.xz
diff --git a/0001-Support-previewing-of-password-protected-PDFs.patch b/0001-Support-previewing-of-password-protected-PDFs.patch
index 47c49bb..c72cfee 100644
--- a/0001-Support-previewing-of-password-protected-PDFs.patch
+++ b/0001-Support-previewing-of-password-protected-PDFs.patch
@@ -1,4 +1,4 @@
-From 2781cd44e764b89f0342f5efc2afc5ca35e54efc Mon Sep 17 00:00:00 2001
+From 544daeb096cd029c8c13539fea1a43186d0c26c1 Mon Sep 17 00:00:00 2001
 From: Debarshi Ray <debarshir at gnome.org>
 Date: Mon, 27 May 2013 16:48:49 +0200
 Subject: [PATCH] Support previewing of password protected PDFs
@@ -33,7 +33,7 @@ index 9387e0f..764981e 100644
      presentation.js \
      preview.js \
 diff --git a/src/documents.js b/src/documents.js
-index ed5fa92..c412b27 100644
+index 4da2a4f..ab31261 100644
 --- a/src/documents.js
 +++ b/src/documents.js
 @@ -1,5 +1,5 @@
@@ -60,8 +60,8 @@ index ed5fa92..c412b27 100644
              function(doc, docModel, error) {
                  if (error) {
                      log('Unable to print document ' + this.uri + ': ' + error);
-@@ -621,8 +622,8 @@ const LocalDocument = new Lang.Class({
-             this.typeDescription = Gio.content_type_get_description(this.mimeType);
+@@ -627,8 +628,8 @@ const LocalDocument = new Lang.Class({
+         this.typeDescription = description;
      },
  
 -    load: function(cancellable, callback) {
@@ -71,7 +71,7 @@ index ed5fa92..c412b27 100644
              function(source, res) {
                  try {
                      let docModel = GdPrivate.pdf_loader_load_uri_finish(res);
-@@ -687,7 +688,7 @@ const GoogleDocument = new Lang.Class({
+@@ -693,7 +694,7 @@ const GoogleDocument = new Lang.Class({
                   }));
      },
  
@@ -80,7 +80,7 @@ index ed5fa92..c412b27 100644
          this._createGDataEntry(cancellable, Lang.bind(this,
              function(entry, service, exception) {
                  if (exception) {
-@@ -839,7 +840,7 @@ const SkydriveDocument = new Lang.Class({
+@@ -845,7 +846,7 @@ const SkydriveDocument = new Lang.Class({
                   }));
      },
  
@@ -89,7 +89,7 @@ index ed5fa92..c412b27 100644
          this._createZpjEntry(cancellable, Lang.bind(this,
              function(entry, service, exception) {
                  if (exception) {
-@@ -1018,6 +1019,11 @@ const DocumentManager = new Lang.Class({
+@@ -1024,6 +1025,11 @@ const DocumentManager = new Lang.Class({
          if (error.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
              return;
  
@@ -101,7 +101,7 @@ index ed5fa92..c412b27 100644
          // Translators: %s is the title of a document
          let message = _("Oops! Unable to load ā€œ%sā€").format(doc.name);
          let exception = this._humanizeError(error);
-@@ -1042,7 +1048,7 @@ const DocumentManager = new Lang.Class({
+@@ -1048,7 +1054,7 @@ const DocumentManager = new Lang.Class({
          this.emit('load-finished', doc, docModel);
      },
  
@@ -110,7 +110,7 @@ index ed5fa92..c412b27 100644
          let doc = this.getActiveItem();
  
          if (!doc)
-@@ -1055,7 +1061,7 @@ const DocumentManager = new Lang.Class({
+@@ -1061,7 +1067,7 @@ const DocumentManager = new Lang.Class({
          this._clearActiveDocModel();
  
          this._loaderCancellable = new Gio.Cancellable();
@@ -119,7 +119,7 @@ index ed5fa92..c412b27 100644
          this.emit('load-started', doc);
      },
  
-@@ -1079,7 +1085,7 @@ const DocumentManager = new Lang.Class({
+@@ -1085,7 +1091,7 @@ const DocumentManager = new Lang.Class({
          recentManager.add_item(doc.uri);
  
          this._loaderCancellable = new Gio.Cancellable();
@@ -129,7 +129,7 @@ index ed5fa92..c412b27 100644
      },
  
 diff --git a/src/embed.js b/src/embed.js
-index 1d1744a..13b7e66 100644
+index 1a673ea..6ad9826 100644
 --- a/src/embed.js
 +++ b/src/embed.js
 @@ -1,5 +1,5 @@
@@ -147,7 +147,7 @@ index 1d1744a..13b7e66 100644
  const Preview = imports.preview;
  const Edit = imports.edit;
  const Selections = imports.selections;
-@@ -269,6 +270,8 @@ const Embed = new Lang.Class({
+@@ -270,6 +271,8 @@ const Embed = new Lang.Class({
                                              Lang.bind(this, this._onLoadFinished));
          Application.documentManager.connect('load-error',
                                              Lang.bind(this, this._onLoadError));
@@ -156,7 +156,7 @@ index 1d1744a..13b7e66 100644
  
          this._onQueryStatusChanged();
  
-@@ -354,15 +357,13 @@ const Embed = new Lang.Class({
+@@ -355,15 +358,13 @@ const Embed = new Lang.Class({
      },
  
      _onActiveItemChanged: function(manager, doc) {
@@ -174,7 +174,7 @@ index 1d1744a..13b7e66 100644
      },
  
      _clearLoadTimer: function() {
-@@ -385,6 +386,8 @@ const Embed = new Lang.Class({
+@@ -386,6 +387,8 @@ const Embed = new Lang.Class({
      },
  
      _onLoadFinished: function(manager, doc, docModel) {
@@ -183,7 +183,7 @@ index 1d1744a..13b7e66 100644
          docModel.set_sizing_mode(EvView.SizingMode.AUTOMATIC);
          docModel.set_page_layout(EvView.PageLayout.AUTOMATIC);
          this._toolbar.setModel(docModel);
-@@ -397,11 +400,26 @@ const Embed = new Lang.Class({
+@@ -398,11 +401,26 @@ const Embed = new Lang.Class({
      },
  
      _onLoadError: function(manager, doc, message, exception) {
diff --git a/gnome-documents.spec b/gnome-documents.spec
index 6333216..a836c46 100644
--- a/gnome-documents.spec
+++ b/gnome-documents.spec
@@ -1,8 +1,8 @@
 %define evince_version 3.3.92
 
 Name:           gnome-documents
-Version:        3.8.3.1
-Release:        2%{?dist}
+Version:        3.8.4
+Release:        1%{?dist}
 Summary:        A document manager application for GNOME
 
 License:        GPLv2+
@@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 %{_mandir}/man1/gnome-documents.1.gz
 
 %changelog
+* Fri Aug 30 2013 Debarshi Ray <rishi at fedoraproject.org> - 3.8.4-1
+- Update to 3.8.4
+
 * Thu Jul 11 2013 Debarshi Ray <rishi at fedoraproject.org> - 3.8.3.1-2
 - Backport support for previewing password protected PDFs (GNOME #700716)
 
diff --git a/sources b/sources
index 7ac2317..599cdcc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a15678ae7c5a175814b9163d6f6de035  gnome-documents-3.8.3.1.tar.xz
+9ab642fe342eb3e04462fa03b9efb531  gnome-documents-3.8.4.tar.xz


More information about the scm-commits mailing list