Hello community,

here is the log from the commit of package gnote for openSUSE:Factory
checked in at Wed Jun 1 10:58:45 CEST 2011.



--------
--- GNOME/gnote/gnote.changes   2011-03-20 22:54:09.000000000 +0100
+++ /mounts/work_src_done/STABLE/gnote/gnote.changes    2011-05-31 
15:32:00.000000000 +0200
@@ -1,0 +2,23 @@
+Tue May 31 14:55:17 CEST 2011 - vu...@opensuse.org
+
+- Disable the build of the applet with a %build_applet define,
+  unless %favor_gtk2 is set (which means we don't build against
+  GNOME 3).
+- Add gnote-no-deprecated.patch to not use some deprecated APIs
+  that break the build.
+
+-------------------------------------------------------------------
+Thu May 12 10:09:32 UTC 2011 - fe...@cronosproject.org
+
+- Update to version 0.7.4:
+  + bgo#620402: Show addin categories and versions in addin
+    preferences tab
+  + bgo#610194: Implemented notebook rename
+  + bgo#641416: Drop dependency on Boost filesystem
+  + Bugs fixed: bgo#631408, bgo#633976, bgo#637051, bgo#594932,
+    bgo#585048, bgo#608713, bgo#633951, bgo#634026, bgo#627539,
+    bgo#588098, bgo#641545, bgo#638321, bgo#627073, bgo#627075,
+    bgo#627418, bgo#627417, bgo#646051.
+- Drop gnote-replace_boost_with_glib.patch: fixed upstream.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  gnote-0.7.3.tar.bz2
  gnote-replace_boost_with_glib.patch

New:
----
  gnote-0.7.4.tar.bz2
  gnote-no-deprecated.patch

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

Other differences:
------------------
++++++ gnote.spec ++++++
--- /var/tmp/diff_new_pack.QrY3Zf/_old  2011-06-01 10:57:38.000000000 +0200
+++ /var/tmp/diff_new_pack.QrY3Zf/_new  2011-06-01 10:57:38.000000000 +0200
@@ -15,19 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
+%define build_applet %{?favor_gtk2}
 
 Name:           gnote
-Version:        0.7.3
-Release:        8
+Version:        0.7.4
+Release:        1
+# FIXME: on version upgrade, check if build_applet is still needed (last 
checked: 0.7.4)
 License:        GNU GPL v3 or later
 Summary:        A Port of Tomboy to C++
 Group:          Productivity/Text/Editors
 Url:            http://live.gnome.org/Gnote
 Source:         %{name}-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM gnote-replace_boost_with_glib.patch dims...@opensuse.org 
-- Replace Boost with glib equivalent. Taken from git, commit a52e9a
-Patch0:         gnote-replace_boost_with_glib.patch
+# PATCH-FIX-UPSTREAM gnote-no-deprecated.patch bgo#651551 vu...@opensuse.org 
-- Do not use deprecated API
+Patch0:         gnote-no-deprecated.patch
 BuildRequires:  boost-devel >= 1.34
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -36,7 +37,9 @@
 BuildRequires:  gtkmm2-devel >= 2.20
 BuildRequires:  gtkspell-devel
 BuildRequires:  intltool
+%if 0%{?build_applet}
 BuildRequires:  libpanelappletmm-devel
+%endif
 BuildRequires:  libuuid-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
@@ -98,8 +101,10 @@
 %dir %{_datadir}/omf/%{name}/
 %doc %{_datadir}/omf/%{name}/%{name}-C.omf
 %{_bindir}/gnote
+%if 0%{?build_applet}
 %{_prefix}/lib/gnote-applet
 %{_libdir}/bonobo/servers/GNOME_GnoteApplet.server
+%endif
 %{_libdir}/gnote/
 %{_datadir}/applications/gnote.desktop
 %{_datadir}/gnote/

++++++ gnote-0.7.3.tar.bz2 -> gnote-0.7.4.tar.bz2 ++++++
++++ 40491 lines of diff (skipped)

++++++ gnote-no-deprecated.patch ++++++
commit 49cefcc356732b25f34e8b1badabbab079c8377b
Author: Vincent Untz <vu...@gnome.org>
Date:   Tue May 31 15:45:26 2011 +0200

    Stop using some deprecated GdkDrawable API
    
    https://bugzilla.gnome.org/show_bug.cgi?id=651551

diff --git a/libtomboy/tomboyutil.c b/libtomboy/tomboyutil.c
index 77e71f9..661cb9f 100644
--- a/libtomboy/tomboyutil.c
+++ b/libtomboy/tomboyutil.c
@@ -73,7 +73,7 @@ tomboy_window_move_to_current_workspace (GtkWindow *window)
 {
        GdkWindow *gdkwin = gtk_widget_get_window(GTK_WIDGET (window));
        GdkWindow *rootwin = 
-               gdk_screen_get_root_window (gdk_drawable_get_screen (gdkwin));
+               gdk_screen_get_root_window (gdk_window_get_screen (gdkwin));
 
        GdkAtom current_desktop = 
                gdk_atom_intern ("_NET_CURRENT_DESKTOP", FALSE);
@@ -107,7 +107,7 @@ tomboy_window_move_to_current_workspace (GtkWindow *window)
        xev.xclient.window = GDK_WINDOW_XID (gdkwin);
        xev.xclient.message_type = 
                gdk_x11_atom_to_xatom_for_display(
-                       gdk_drawable_get_display (gdkwin),
+                       gdk_window_get_display (gdkwin),
                        wm_desktop);
        xev.xclient.format = 32;
        xev.xclient.data.l[0] = workspace;

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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to