Hello community,

here is the log from the commit of package vim for openSUSE:11.4
checked in at Thu Dec 22 10:27:38 CET 2011.



--------
--- old-versions/11.4/all/vim/vim.changes       2011-01-31 23:56:38.000000000 
+0100
+++ 11.4/vim/vim.changes        2011-12-22 10:14:54.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Dec 22 09:15:03 UTC 2011 - [email protected]
+
+- Compile with -D_FORTIFY_SOURCE=1 , fixes bnc#510306 
+
+-------------------------------------------------------------------
+Sat Mar 12 23:27:29 UTC 2011 - [email protected]
+
+- fixed bug, where GTK UI won't maximize properly under Kwin 
+
+-------------------------------------------------------------------

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/vim
Destination is old-versions/11.4/UPDATES/all/vim
calling whatdependson for 11.4-i586


New:
----
  vim-7.3-gvim-kwin-resize.patch

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

Other differences:
------------------
++++++ vim.spec ++++++
--- /var/tmp/diff_new_pack.41hgqb/_old  2011-12-22 10:26:18.000000000 +0100
+++ /var/tmp/diff_new_pack.41hgqb/_new  2011-12-22 10:26:18.000000000 +0100
@@ -20,7 +20,7 @@
 
 Name:           vim
 Version:        7.3
-Release:        2
+Release:        6.<RELEASE7>
 #
 License:        Other uncritical OpenSource License ; Charityware. 
http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
 Group:          Productivity/Editors/Vi
@@ -98,6 +98,11 @@
 # TODO: why is this not applied anymore?
 Patch25:        vim-7.2-lzma-support.patch
 Patch27:        %{name}-7.3-disable_gcc_warning_eval_c.patch
+
+# Patch to fix the resizing problems when runnign VIM GTK UI
+# under Kwin.
+Patch28:        %{name}-7.3-gvim-kwin-resize.patch
+
 Patch100:       vim-7.1.314-CVE-2009-0316-debian.patch
 # tbd???        %name-6.3-ga-utf8.diff
 # tbd???        %name-6.3-initvals.diff
@@ -314,16 +319,17 @@
 %patch21 -p1
 #%patch25
 %patch27 -p1
+%patch28 -p1
 %patch100 -p1
 cp %{S:3} %{S:4} %{S:5} %{S:6} %{S:8} %{S:9} %{S:10} .
 #rename no nb $RPM_BUILD_DIR/vim*/src/po/no.*
 #rename menu_no menu_nb $RPM_BUILD_DIR/vim*/runtime/lang/menu_no*
 
 %build
+
 export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing"
-%if %suse_version > 1000
-export CFLAGS="$CFLAGS -fstack-protector-all"
-%endif
+export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}
+
 export COMMON_OPTIONS="\
     --with-vim-name=vim \
     --with-ex-name=ex \


++++++ vim-7.3-gvim-kwin-resize.patch ++++++
--- vim73.orig/src/gui_gtk_x11.c        2010-08-15 14:52:15.000000000 +0300
+++ vim73/src/gui_gtk_x11.c     2011-03-12 22:21:05.501000091 +0200
@@ -2686,7 +2686,7 @@ update_window_manager_hints(int force_wi
     }
 
     /* Avoid an expose event when the size didn't change. */
-    if (width != old_width
+    /*if (width != old_width
            || height != old_height
            || min_width != old_min_width
            || min_height != old_min_height
@@ -2703,19 +2703,20 @@ update_window_manager_hints(int force_wi
        geometry.min_width   = min_width;
        geometry.min_height  = min_height;
        geometry_mask        = GDK_HINT_BASE_SIZE|GDK_HINT_RESIZE_INC
-                              |GDK_HINT_MIN_SIZE;
+                              |GDK_HINT_MIN_SIZE;*/
        /* Using gui.formwin as geometry widget doesn't work as expected
         * with GTK+ 2 -- dunno why.  Presumably all the resizing hacks
         * in Vim confuse GTK+. */
-       gtk_window_set_geometry_hints(GTK_WINDOW(gui.mainwin), gui.mainwin,
-                                     &geometry, geometry_mask);
-       old_width       = width;
+       /*gtk_window_set_geometry_hints(GTK_WINDOW(gui.mainwin), gui.mainwin,
+                                     &geometry, geometry_mask);*/
+
+       /*old_width       = width;
        old_height      = height;
        old_min_width   = min_width;
        old_min_height  = min_height;
        old_char_width  = gui.char_width;
        old_char_height = gui.char_height;
-    }
+    }*/
 }
 
 #ifdef FEAT_TOOLBAR
continue with "q"...



Remember to have fun...

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

Reply via email to