Hello community,

here is the log from the commit of package pan for openSUSE:12.1:Update:Test 
checked in at 2012-02-07 17:40:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update:Test/pan (Old)
 and      /work/SRC/openSUSE:12.1:Update:Test/.pan.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pan", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:12.1:Update:Test/pan/pan.changes 2012-02-07 
17:40:28.000000000 +0100
+++ /work/SRC/openSUSE:12.1:Update:Test/.pan.new/pan.changes    2012-02-07 
17:40:28.000000000 +0100
@@ -1,0 +2,20 @@
+Thu Jan 31 08:20:25 UTC 2012 - [email protected]
+ 
+- Rebuilt package against GTK2, instead of GTK3 (for now).
+  + No spell-check in Pan. bnc#725971
+  + Pan groups panel re-sizes itself and gets stuck in new
+    position. bnc#728311
+  + Corrected erroneous sourceurl in specfile.   
+
+-------------------------------------------------------------------
+Thu Jan 12 08:18:32 UTC 2012 - [email protected]
+
+- Build openSUSE > 12.1 against gmime 2.6: Conditionally change
+  pkgconfig(gmime-2.4) BuildRequires to pkgconfig(gmime-2.6).
+
+-------------------------------------------------------------------
+Thu Dec  1 13:59:30 UTC 2011 - [email protected]
+
+- Add pan-glib-2.31.patch: Fix build with glib 2.31.
+
+-------------------------------------------------------------------

New:
----
  pan-glib-2.31.patch

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

Other differences:
------------------
++++++ pan.spec ++++++
--- /var/tmp/diff_new_pack.FdLG1e/_old  2012-02-07 17:40:29.000000000 +0100
+++ /var/tmp/diff_new_pack.FdLG1e/_new  2012-02-07 17:40:29.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pan
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,25 +15,32 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
+## Fix for bnc#725971 and bnc#728311 - prefer building with GTK2. - Upstream: 
bgo#669402 and bgo#669403
+%define favor_gtk2 1
 
 Name:           pan
 Version:        0.135
-Release:        1
-License:        GPLv2+
+Release:        0
 Summary:        A Powerful Newsreader for GNOME
-Url:            http://pan.rebelbase.com/
+License:        GPL-2.0+
 Group:          Productivity/Networking/News/Clients
-Source:         
http://pan.rebelbase.com/download/releases/0.134/source/%{name}-%{version}.tar.bz2
+Url:            http://pan.rebelbase.com/
+Source:         
http://pan.rebelbase.com/download/releases/0.135/source/%{name}-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM fix-desktop-file-11.0.diff -- validate desktop file
 Patch0:         fix-desktop-file-11.0.diff
+# PATCH-FIX-UPSTREAM pan-glib-2.31.patch bgo#665289 [email protected] -- 
Fix build with glib 2.31
+Patch1:         pan-glib-2.31.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gnome-patch-translation
 BuildRequires:  intltool
 BuildRequires:  translation-update-upstream
 BuildRequires:  update-desktop-files
+%if 0%{?suse_version} > 1210
+BuildRequires:  pkgconfig(gmime-2.6)
+%else
 BuildRequires:  pkgconfig(gmime-2.4)
+%endif
 %if 0%{?favor_gtk2}
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(gtkspell-2.0)
@@ -57,6 +64,7 @@
 translation-update-upstream
 gnome-patch-translation-prepare
 %patch0
+%patch1 -p1
 gnome-patch-translation-update
 
 %build

++++++ pan-glib-2.31.patch ++++++
Index: pan-0.135/pan/data-impl/data-impl.cc
===================================================================
--- pan-0.135.orig/pan/data-impl/data-impl.cc
+++ pan-0.135/pan/data-impl/data-impl.cc
@@ -24,7 +24,7 @@
 #include <config.h>
 extern "C" {
   #include <glib/gi18n.h>
-  #include <glib/gfileutils.h> // for g_build_filename
+  #include <glib.h> // for g_build_filename
 }
 #include <pan/general/debug.h>
 #include <pan/general/file-util.h>
Index: pan-0.135/pan/data/article-cache.h
===================================================================
--- pan-0.135.orig/pan/data/article-cache.h
+++ pan-0.135/pan/data/article-cache.h
@@ -23,7 +23,7 @@
 #include <map>
 #include <vector>
 extern "C" {
-  #include <glib/gtypes.h> // for guint64
+  #include <glib.h> // for guint64
 }
 #include <pan/general/string-view.h>
 #include <pan/general/quark.h>
Index: pan-0.135/pan/general/file-util.h
===================================================================
--- pan-0.135.orig/pan/general/file-util.h
+++ pan-0.135/pan/general/file-util.h
@@ -25,7 +25,7 @@
 extern "C" {
   #include <stddef.h>
   #include <stdio.h>
-  #include <glib/gtypes.h>
+  #include <glib.h>
   #include <glib/gstdio.h>
 }
 #include <pan/general/string-view.h>
Index: pan-0.135/pan/general/locking.h
===================================================================
--- pan-0.135.orig/pan/general/locking.h
+++ pan-0.135/pan/general/locking.h
@@ -22,7 +22,7 @@
 #ifndef _Mutex_h_
 #define _Mutex_h_
 
-#include <glib/gthread.h>
+#include <glib.h>
 
 namespace pan
 {
Index: pan-0.135/pan/general/macros.h
===================================================================
--- pan-0.135.orig/pan/general/macros.h
+++ pan-0.135/pan/general/macros.h
@@ -62,12 +62,11 @@
 
 extern "C"
 {
-  #include <glibconfig.h> // get the version
-  #include <glib/gutils.h> // get GLIB_CHECK_VERSION
+  #include <glib.h>
 
   // pick up g_assert()
   #if GLIB_CHECK_VERSION(2,16,0)
-    #include <glib/gtestutils.h>
+    #include <glib.h>
   #else
     #include <glib/gmessages.h>
   #endif
Index: pan-0.135/pan/general/time-elapsed.h
===================================================================
--- pan-0.135.orig/pan/general/time-elapsed.h
+++ pan-0.135/pan/general/time-elapsed.h
@@ -1,9 +1,7 @@
 #ifndef __Time_Elapsed_h__
 #define __Time_Elapsed_h__
 
-#include <glib/gtypes.h> // for GTimeVal
-#include <glib/gmain.h> // for g_get_current_time
-#include <glib/gtimer.h> // for GUSEC_PER_SEC
+#include <glib.h>
 
 namespace pan
 {
Index: pan-0.135/pan/general/worker-pool.cc
===================================================================
--- pan-0.135.orig/pan/general/worker-pool.cc
+++ pan-0.135/pan/general/worker-pool.cc
@@ -21,7 +21,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 #include <cassert>
-#include <glib/gmain.h> // for g_idle_add
+#include <glib.h> // for g_idle_add
 #include <pan/general/debug.h>
 #include <pan/general/macros.h>
 #include "worker-pool.h"
Index: pan-0.135/pan/general/worker-pool.h
===================================================================
--- pan-0.135.orig/pan/general/worker-pool.h
+++ pan-0.135/pan/general/worker-pool.h
@@ -24,8 +24,7 @@
 #define _Worker_Pool_H_
 
 #include <set>
-#include <glib/gtypes.h>
-#include <glib/gthreadpool.h>
+#include <glib.h>
 
 namespace pan
 {
Index: pan-0.135/pan/gui/render-bytes.cc
===================================================================
--- pan-0.135.orig/pan/gui/render-bytes.cc
+++ pan-0.135/pan/gui/render-bytes.cc
@@ -1,4 +1,4 @@
-#include <glib/gutils.h> // g_snprintf
+#include <glib.h> // g_snprintf
 #include "render-bytes.h"
 
 namespace pan
Index: pan-0.135/pan/gui/render-bytes.h
===================================================================
--- pan-0.135.orig/pan/gui/render-bytes.h
+++ pan-0.135/pan/gui/render-bytes.h
@@ -1,6 +1,6 @@
 #ifndef RENDER_BYTES_H
 #define RENDER_BYTES_H
-#include <glib/gtypes.h>
+#include <glib.h>
 namespace pan {
   extern char* render_bytes (guint64);
 }
Index: pan-0.135/pan/tasks/socket-impl-gio.h
===================================================================
--- pan-0.135.orig/pan/tasks/socket-impl-gio.h
+++ pan-0.135/pan/tasks/socket-impl-gio.h
@@ -21,8 +21,7 @@
 #define __SocketGIO_h__
 
 #include <string>
-#include <glib/giochannel.h>
-#include <glib/gstring.h>
+#include <glib.h>
 #include <pan/tasks/socket.h>
 
 namespace pan
Index: pan-0.135/pan/usenet-utils/mime-utils.h
===================================================================
--- pan-0.135.orig/pan/usenet-utils/mime-utils.h
+++ pan-0.135/pan/usenet-utils/mime-utils.h
@@ -21,7 +21,7 @@
 #define _UtilMime_h_
 
 #include <vector>
-#include <glib/gtypes.h>
+#include <glib.h>
 #include <gmime/gmime-filter.h>
 #include <gmime/gmime-stream.h>
 #include <gmime/gmime-message.h>
Index: pan-0.135/pan/usenet-utils/text-massager.cc
===================================================================
--- pan-0.135.orig/pan/usenet-utils/text-massager.cc
+++ pan-0.135/pan/usenet-utils/text-massager.cc
@@ -25,7 +25,6 @@
 extern "C" {
 #include <glib/gi18n.h>
 }
-#include <glib/gunicode.h>
 #include "text-massager.h"
 #include <pan/general/log.h>
 using namespace pan;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to