Hello community,

here is the log from the commit of package pdfmod for openSUSE:Factory
checked in at Thu May 12 10:12:08 CEST 2011.



--------
--- GNOME/pdfmod/pdfmod.changes 2011-02-14 20:33:30.000000000 +0100
+++ /mounts/work_src_done/STABLE/pdfmod/pdfmod.changes  2011-05-02 
23:57:51.000000000 +0200
@@ -1,0 +2,26 @@
+Sat Apr 30 12:57:03 UTC 2011 - [email protected]
+
+- Update to version 0.9.1:
+  + Enhancements:
+    - bgo#630012: Make removing many pages much faster
+  + Bugs Fixed:
+    - bgo#631456: Fix being able to load files with : in their path
+    - Fix build on Mono 2.8
+    - bgo#633125: Don't crash if unable to save
+    - bgo#638852: Fix poppler-sharp.dll.config for NetBSD
+    - Fix scrolling the view while dragging
+    - bgo#642379: Don't crash if Outlines point to null
+    - bgo#597215: Fix issue with saving landscape pages
+    - bgo#631889: Fix crash on page click due to ExportImagesAction
+    - bgo#633123: Fix crash if Catalog.Outlines is PdfNull
+- Drop pdfmod-mono-2.8.patch: fixed upstream.
+- Add pdfmod-mono-2.10.patch: fix build with Mono 2.10.
+- Drop pdfmod-poppler-soname.patch and replace it with more logic:
+  + Add libpoppler-glib-devel BuildRequires
+  + Find the soname from libdir/libpoppler-glib.so and sed it into
+    poppler-sharp.dll.config
+- Replace the suse_version-based Requires on libpoppler-glib* with
+  an automatically detected libpoppler-glib* that is used at build
+  time.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  pdfmod-0.9.0.tar.bz2
  pdfmod-mono-2.8.patch
  pdfmod-poppler-soname.patch

New:
----
  pdfmod-0.9.1.tar.bz2
  pdfmod-mono-2.10.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pdfmod.spec ++++++
--- /var/tmp/diff_new_pack.ENi76S/_old  2011-05-12 10:10:56.000000000 +0200
+++ /var/tmp/diff_new_pack.ENi76S/_new  2011-05-12 10:10:56.000000000 +0200
@@ -18,17 +18,15 @@
 
 
 Name:           pdfmod
-Version:        0.9.0
-Release:        9
+Version:        0.9.1
+Release:        1
 License:        GPLv2+
 Summary:        PDF Modifier
 Url:            http://live.gnome.org/PdfMod
 Group:          Productivity/Publishing/PDF
 Source:         %{name}-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM pdfmod-poppler-soname.patch [email protected] -- Use the 
right soname for libpoppler-glib
-Patch0:         pdfmod-poppler-soname.patch
-# PATCH-FIX-UPSTREAM pdfmod-mono-2.8.patch [email protected] -- Fix build 
with recent mono, taken from git
-Patch1:         pdfmod-mono-2.8.patch
+# PATCH-FIX-UPSTREAM pdfmod-mono-2.10.patch bgo644516  [email protected] -- 
Fix build with recent mono, taken from git
+Patch0:         pdfmod-mono-2.10.patch
 BuildRequires:  gconf-sharp2
 BuildRequires:  glib-sharp2
 BuildRequires:  gmime-2_4-sharp
@@ -43,15 +41,14 @@
 BuildRequires:  mono-nunit
 BuildRequires:  ndesk-dbus
 BuildRequires:  ndesk-dbus-glib-devel
+# To be able to automatically adjust the lib name in the dll map and get 
proper requires for it.
+BuildRequires:  libpoppler-glib-devel
 BuildRequires:  tango-icon-theme
 BuildRequires:  translation-update-upstream
 BuildRequires:  update-desktop-files
 Requires:       gtk-sharp2
-%if 0%{?suse_version} > 1130
-Requires:       libpoppler-glib5
-%else
-Requires:       libpoppler-glib4
-%endif
+# Require the libpoppler-glib package we used at build time.
+Requires:       %(rpm -qa libpoppler-glib[0-9]* --qf "%%{name}")
 Requires:       mono
 Requires:       mono-core
 Recommends:     %{name}-lang
@@ -65,10 +62,11 @@
 %prep
 %setup -q
 translation-update-upstream
-%if 0%{?suse_version} > 1130
 %patch0 -p1
-%endif
-%patch1 -p1
+# Adjust poppler-sharp.dll.config -> It needs to point to the right library. 
Fail if we need to touch this manually.
+LIBPOPPLER=$(readelf %{_libdir}/libpoppler-glib.so -a | grep "SONAME" | grep 
-P -o "\[.*\].*" | tr -d "[]")
+grep "libpoppler-glib.so.4" 
lib/poppler-sharp/poppler-sharp/poppler-sharp.dll.config
+sed -i "s:libpoppler-glib.so.4:$LIBPOPPLER:" 
lib/poppler-sharp/poppler-sharp/poppler-sharp.dll.config
 
 %build
 %configure

++++++ pdfmod-0.9.0.tar.bz2 -> pdfmod-0.9.1.tar.bz2 ++++++
++++ 7526 lines of diff (skipped)

++++++ pdfmod-mono-2.8.patch -> pdfmod-mono-2.10.patch ++++++
--- GNOME/pdfmod/pdfmod-mono-2.8.patch  2010-12-09 00:20:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/pdfmod/pdfmod-mono-2.10.patch  2011-04-30 
15:54:28.000000000 +0200
@@ -1,23 +1,26 @@
-From 368f6fb598dbd22f03319df0d6ba380865ab146f Mon Sep 17 00:00:00 2001
-From: Robson Roberto Souza Peixoto <[email protected]>
-Date: Wed, 20 Oct 2010 17:07:19 +0000
-Subject: Fix build on Mono 2.8
+From a29cfe7f8f31ce003fa3e307d54d86a2a8e8cf19 Mon Sep 17 00:00:00 2001
+From: Nuno Araujo <[email protected]>
+Date: Mon, 21 Mar 2011 04:10:52 +0000
+Subject: Fix compilation under Mono 2.10 (bgo#644516)
 
-Signed-off-by: Gabriel Burt <[email protected]>
+Force use of the overloaded implicit operator of Hyena.Gui.DragDropList
+to solve mono 2.10 compilation problems.
+
+Signed-off-by: Alexander Kojevnikov <[email protected]>
 ---
-diff --git a/src/PdfMod/Gui/Client.cs b/src/PdfMod/Gui/Client.cs
-index 19e0af6..d7a408b 100644
---- a/src/PdfMod/Gui/Client.cs
-+++ b/src/PdfMod/Gui/Client.cs
-@@ -415,7 +415,7 @@ namespace PdfMod.Gui
-         static void OnLogNotify (LogNotifyArgs args)
-         {
-             ThreadAssist.ProxyToMain (delegate {
--                Gtk.MessageType mtype;
-+                Gtk.MessageType mtype = Gtk.MessageType.Error;
-                 var entry = args.Entry;
+diff --git a/src/PdfMod/Gui/DocumentIconView.cs 
b/src/PdfMod/Gui/DocumentIconView.cs
+index 5796c72..386d662 100644
+--- a/src/PdfMod/Gui/DocumentIconView.cs
++++ b/src/PdfMod/Gui/DocumentIconView.cs
+@@ -319,7 +319,7 @@ namespace PdfMod.Gui
+                 if (to_index < 0)
+                     return;
  
-                 switch (entry.Type) {
+-                var pages = args.SelectionData.Data as 
Hyena.Gui.DragDropList<Page>;
++                Hyena.Gui.DragDropList<Page> pages = args.SelectionData;
+                 to_index -= pages.Count (p => p.Index < to_index);
+                 var action = new MoveAction (document, pages, to_index);
+                 action.Do ();
 --
-cgit v0.8.3.1
+cgit v0.9
 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to