Hello community,

here is the log from the commit of package ristretto for openSUSE:Factory 
checked in at 2011-11-08 09:32:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ristretto (Old)
 and      /work/SRC/openSUSE:Factory/.ristretto.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/ristretto/ristretto.changes      2011-10-25 
17:07:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ristretto.new/ristretto.changes 2011-11-08 
09:32:47.000000000 +0100
@@ -1,0 +2,16 @@
+Sun Nov  6 23:01:39 UTC 2011 - [email protected]
+
+- update to version 0.2.3
+  - fix bug #8097 (Scrolling to the right of a horizontal
+    positioned thumbnailbar will make the images disappear)
+  - decrease buffersize, prevents some pixbufloaders to behave
+    oddly
+
+-------------------------------------------------------------------
+Sat Oct 29 15:22:11 UTC 2011 - [email protected]
+
+- update to version 0.2.2
+  - fixes a bug with the scaling of images that causes the image to
+    stretch horizontally under certain occasions
+
+-------------------------------------------------------------------

Old:
----
  ristretto-0.2.1.tar.bz2

New:
----
  ristretto-0.2.3.tar.bz2

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

Other differences:
------------------
++++++ ristretto.spec ++++++
--- /var/tmp/diff_new_pack.kfB9Pz/_old  2011-11-08 09:32:49.000000000 +0100
+++ /var/tmp/diff_new_pack.kfB9Pz/_new  2011-11-08 09:32:49.000000000 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           ristretto
-Version:        0.2.1
+Version:        0.2.3
 Release:        1
 License:        GPLv2+
 Summary:        Fast and Lightweight Image-viewer for the Xfce desktop 
environment

++++++ ristretto-0.2.1.tar.bz2 -> ristretto-0.2.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ristretto-0.2.1/NEWS new/ristretto-0.2.3/NEWS
--- old/ristretto-0.2.1/NEWS    2011-10-23 18:35:07.000000000 +0200
+++ new/ristretto-0.2.3/NEWS    2011-11-05 22:05:47.000000000 +0100
@@ -1,3 +1,14 @@
+0.2.3
+=====
+- Fix bug #8097 (Scrolling to the right of a horizontal positioned
+  thumbnailbar will make the images disappear)
+- Decrease buffersize, prevents some pixbufloaders to behave oddly.
+
+0.2.2
+=====
+- Fix a problem with the calculation of the scaled-pixbuf of images
+  where the ratio width/screen-width < height/screen-height.
+
 0.2.1
 =====
 - Fix bug #8036 (ristretto crashes when rotating images)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ristretto-0.2.1/configure 
new/ristretto-0.2.3/configure
--- old/ristretto-0.2.1/configure       2011-10-23 18:47:55.000000000 +0200
+++ new/ristretto-0.2.3/configure       2011-11-05 22:06:15.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for ristretto 0.2.1.
+# Generated by GNU Autoconf 2.68 for ristretto 0.2.3.
 #
 # Copyright (c) 2006-2011
 #         The Xfce development team. All rights reserved.
@@ -562,8 +562,8 @@
 # Identity of this package.
 PACKAGE_NAME='ristretto'
 PACKAGE_TARNAME='ristretto'
-PACKAGE_VERSION='0.2.1'
-PACKAGE_STRING='ristretto 0.2.1'
+PACKAGE_VERSION='0.2.3'
+PACKAGE_STRING='ristretto 0.2.3'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1368,7 +1368,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures ristretto 0.2.1 to adapt to many kinds of systems.
+\`configure' configures ristretto 0.2.3 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1442,7 +1442,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of ristretto 0.2.1:";;
+     short | recursive ) echo "Configuration of ristretto 0.2.3:";;
    esac
   cat <<\_ACEOF
 
@@ -1550,7 +1550,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-ristretto configure 0.2.1
+ristretto configure 0.2.3
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1920,7 +1920,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by ristretto $as_me 0.2.1, which was
+It was created by ristretto $as_me 0.2.3, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -2270,7 +2270,7 @@
 
 
 
-RISTRETTO_VERSION=0.2.1
+RISTRETTO_VERSION=0.2.3
 am__api_version='1.11'
 
 ac_aux_dir=
@@ -10221,7 +10221,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by ristretto $as_me 0.2.1, which was
+This file was extended by ristretto $as_me 0.2.3, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -10287,7 +10287,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-ristretto config.status 0.2.1
+ristretto config.status 0.2.3
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ristretto-0.2.1/configure.in 
new/ristretto-0.2.3/configure.in
--- old/ristretto-0.2.1/configure.in    2011-10-23 18:47:50.000000000 +0200
+++ new/ristretto-0.2.3/configure.in    2011-11-05 22:06:08.000000000 +0100
@@ -16,8 +16,8 @@
 dnl ***************************
 m4_define([ristretto_version_major], [0])
 m4_define([ristretto_version_minor], [2])
-m4_define([ristretto_version_micro], [1])
-m4_define([ristretto_version_build], [r1f5b673])
+m4_define([ristretto_version_micro], [3])
+m4_define([ristretto_version_build], [r182a91a])
 m4_define([ristretto_version_tag], []) # Leave empty for releases
 m4_define([ristretto_version], 
[ristretto_version_major().ristretto_version_minor().ristretto_version_micro()ifelse(ristretto_version_tag(),
 [], [], [ristretto_version_tag()-ristretto_version_build()])])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ristretto-0.2.1/docs/manual/C/html/index.html 
new/ristretto-0.2.3/docs/manual/C/html/index.html
--- old/ristretto-0.2.1/docs/manual/C/html/index.html   2011-10-23 
18:48:11.000000000 +0200
+++ new/ristretto-0.2.3/docs/manual/C/html/index.html   2011-11-05 
22:06:47.000000000 +0100
@@ -1,5 +1,5 @@
 <html><head><meta http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1"><title>Ristretto Image Viewer</title><link rel="stylesheet" 
href="../ristretto.css" type="text/css"><meta name="generator" content="DocBook 
XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Ristretto 
Image Viewer"></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" 
summary="Navigation header"><tr><th colspan="3" align="center">Ristretto Image 
Viewer</th></tr></table><hr></div><div lang="en" class="article" 
title="Ristretto Image Viewer"><div class="titlepage"><div><div><h2 
class="title"><a name="index"></a>Ristretto Image Viewer</h2></div><div><div 
class="authorgroup"><div class="author"><h3 class="author"><span 
class="firstname">Stephan</span> <span class="surname">Arts</span></h3><div 
class="affiliation"><div class="address"><p><code class="email">&lt;<a 
class="email" 
href="mailto:[email protected]";>[email protected]</a>&gt;</code></p></div></div></div></div></div><div><span
 xmlns="http://www.w3.org/TR/xhtml1/transitional"; class="releaseinfo"><br></br>
-      This manual describes version 0.2.1 of ristretto.
+      This manual describes version 0.2.3 of ristretto.
     <br></br></span></div><div><p class="copyright">Copyright � 2006, 2007, 
2008, 2008 Stephan Arts</p></div><div><div class="legalnotice" title="Legal 
Notice"><a name="legalnotice"></a><p>
         Permission is granted to copy, distribute and/or modify this document
         under the terms of the GNU Free Documentation License, Version 1.1 or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ristretto-0.2.1/docs/manual/C/ristretto.xml 
new/ristretto-0.2.3/docs/manual/C/ristretto.xml
--- old/ristretto-0.2.1/docs/manual/C/ristretto.xml     2011-10-23 
18:48:00.000000000 +0200
+++ new/ristretto-0.2.3/docs/manual/C/ristretto.xml     2011-11-05 
22:06:22.000000000 +0100
@@ -2,7 +2,7 @@
 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
     "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; [
   <!ENTITY date "Januari 2009"> 
-  <!ENTITY version "0.2.1">
+  <!ENTITY version "0.2.3">
   <!ENTITY application "ristretto"> 
 ]>
 <article id="index" lang="en">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ristretto-0.2.1/src/image_viewer.c 
new/ristretto-0.2.3/src/image_viewer.c
--- old/ristretto-0.2.1/src/image_viewer.c      2011-10-23 18:34:32.000000000 
+0200
+++ new/ristretto-0.2.3/src/image_viewer.c      2011-11-05 22:05:36.000000000 
+0100
@@ -30,9 +30,11 @@
 #include "settings.h"
 #include "marshal.h"
 
+/* Do not make this buffer too large,
+ * this breaks some pixbufloaders.
+ */
 #ifndef RSTTO_IMAGE_VIEWER_BUFFER_SIZE
-/* #define RSTTO_IMAGE_VIEWER_BUFFER_SIZE 1024 */
-#define RSTTO_IMAGE_VIEWER_BUFFER_SIZE 131072
+#define RSTTO_IMAGE_VIEWER_BUFFER_SIZE 4096
 #endif
 
 #ifndef RSTTO_MAX_SCALE
@@ -1386,7 +1388,11 @@
 }
 
 static void
-cb_rstto_image_loader_size_prepared (GdkPixbufLoader *loader, gint width, gint 
height, RsttoImageViewerTransaction *transaction)
+cb_rstto_image_loader_size_prepared (
+        GdkPixbufLoader *loader,
+        gint width,
+        gint height,
+        RsttoImageViewerTransaction *transaction)
 {
     gint s_width = gdk_screen_get_width (default_screen);
     gint s_height = gdk_screen_get_height (default_screen);
@@ -1408,12 +1414,18 @@
         if(((gdouble)width / (gdouble)s_width) < ((gdouble)height / 
(gdouble)s_height))
         {
             transaction->image_scale = (gdouble)s_width / (gdouble)width;
-            gdk_pixbuf_loader_set_size (loader, s_width, 
(gint)((gdouble)height/(gdouble)width*(gdouble)s_width)); 
+            gdk_pixbuf_loader_set_size (
+                    loader,
+                    s_width,
+                    (gint)((gdouble)height/(gdouble)width*(gdouble)s_width)); 
         }
         else
         {
             transaction->image_scale = (gdouble)s_height / (gdouble)height;
-            gdk_pixbuf_loader_set_size (loader, 
(gint)((gdouble)width/(gdouble)height*(gdouble)s_width), s_height); 
+            gdk_pixbuf_loader_set_size (
+                    loader,
+                    (gint)((gdouble)width/(gdouble)height*(gdouble)s_height),
+                    s_height); 
         }
     }
     else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ristretto-0.2.1/src/thumbnail_bar.c 
new/ristretto-0.2.3/src/thumbnail_bar.c
--- old/ristretto-0.2.1/src/thumbnail_bar.c     2011-10-23 18:34:32.000000000 
+0200
+++ new/ristretto-0.2.3/src/thumbnail_bar.c     2011-11-05 22:05:36.000000000 
+0100
@@ -806,7 +806,7 @@
                         thumb_size = 
GTK_WIDGET(bar->priv->thumbs->data)->allocation.width;
                         for (thumb = bar->priv->thumbs; thumb != NULL; thumb = 
g_list_next(thumb))
                         {
-                            size += thumb_size * g_list_length 
(bar->priv->thumbs);
+                            size += GTK_WIDGET(thumb->data)->allocation.width;
                             if (g_list_next (thumb))
                                 size += spacing;
                         }

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

Reply via email to