rpms/gpicview/EL-5 gpicview-0.1.10-use_jhead.patch, 1.1, 1.2 gpicview.spec, 1.7, 1.8

Patrice Dumas pertusus at fedoraproject.org
Tue Dec 2 00:11:01 UTC 2008


Author: pertusus

Update of /cvs/extras/rpms/gpicview/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26676

Modified Files:
	gpicview-0.1.10-use_jhead.patch gpicview.spec 
Log Message:
gtk_pixbuf* does not exist

gpicview-0.1.10-use_jhead.patch:

Index: gpicview-0.1.10-use_jhead.patch
===================================================================
RCS file: /cvs/extras/rpms/gpicview/EL-5/gpicview-0.1.10-use_jhead.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gpicview-0.1.10-use_jhead.patch	1 Dec 2008 23:58:01 -0000	1.1
+++ gpicview-0.1.10-use_jhead.patch	2 Dec 2008 00:11:00 -0000	1.2
@@ -1,6 +1,6 @@
 diff -up gpicview-0.1.10/src/main-win.c.use_jhead gpicview-0.1.10/src/main-win.c
 --- gpicview-0.1.10/src/main-win.c.use_jhead	2008-12-02 00:53:04.000000000 +0100
-+++ gpicview-0.1.10/src/main-win.c	2008-12-02 00:54:26.000000000 +0100
++++ gpicview-0.1.10/src/main-win.c	2008-12-02 01:09:34.000000000 +0100
 @@ -42,6 +42,11 @@
  #include "ptk-menu.h"
  #include "jpeg-tran.h"
@@ -13,3 +13,29 @@
  // For drag & drop
  static GtkTargetEntry drop_targets[] =
  {
+@@ -312,10 +317,10 @@ static GdkPixbuf* RotateByEXIF(const cha
+           g_object_unref( pix );
+           break;
+         case 5:	// transpose: Flipped about top-left <--> bottom-right axis.
+-          tmppixbuf = gtk_pixbuf_flip(pix, FALSE);
++          tmppixbuf = gdk_pixbuf_flip(pix, FALSE);
+           g_object_unref( pix );
+           pix = tmppixbuf;
+-          tmppixbuf = gtk_pixbuf_rotate_simple(pix, 270);
++          tmppixbuf = gdk_pixbuf_rotate_simple(pix, 270);
+           g_object_unref( pix );
+           break;
+         case 6:	// rotate 90: rotate 90 cw to right it.
+@@ -323,10 +328,10 @@ static GdkPixbuf* RotateByEXIF(const cha
+           g_object_unref( pix );
+           break;
+         case 7:	// transverse: flipped about top-right <--> bottom-left axis
+-          tmppixbuf = gtk_pixbuf_flip(pix, FALSE);
++          tmppixbuf = gdk_pixbuf_flip(pix, FALSE);
+           g_object_unref( pix );
+           pix = tmppixbuf;
+-          tmppixbuf = gtk_pixbuf_rotate_simple(pix, 90);
++          tmppixbuf = gdk_pixbuf_rotate_simple(pix, 90);
+           g_object_unref( pix );
+           break;
+         case 8:	// rotate 270: rotate 270 to right it.


Index: gpicview.spec
===================================================================
RCS file: /cvs/extras/rpms/gpicview/EL-5/gpicview.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gpicview.spec	1 Dec 2008 23:58:01 -0000	1.7
+++ gpicview.spec	2 Dec 2008 00:11:00 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           gpicview
 Version:        0.1.10
-Release:        2%{?dist}.1
+Release:        2%{?dist}.2
 Summary:        A Simple and Fast Image Viewer for X
 
 Group:          Applications/Multimedia
@@ -53,7 +53,7 @@
 
 
 %changelog
-* Tue Dec 2 2008 Patrice Dumas <pertusus at free.fr> - 0.1.10-2.1
+* Tue Dec 2 2008 Patrice Dumas <pertusus at free.fr> - 0.1.10-2.2
 - patch to include jhead.h with old gtk
 
 * Tue Dec 2 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> - 0.1.10-2




More information about the fedora-extras-commits mailing list