rpms/gpicview/EL-5 gpicview-0.1.10-use_jhead.patch, NONE, 1.1 gpicview.spec, 1.6, 1.7

Patrice Dumas pertusus at fedoraproject.org
Mon Dec 1 23:58:32 UTC 2008


Author: pertusus

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

Modified Files:
	gpicview.spec 
Added Files:
	gpicview-0.1.10-use_jhead.patch 
Log Message:
* Tue Dec 2 2008 Patrice Dumas <pertusus at free.fr> - 0.1.10-2.1
- patch to include jhead.h with old gtk


gpicview-0.1.10-use_jhead.patch:

--- NEW FILE gpicview-0.1.10-use_jhead.patch ---
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
@@ -42,6 +42,11 @@
 #include "ptk-menu.h"
 #include "jpeg-tran.h"
 
+#if GTK_CHECK_VERSION( 2, 12, 0 )
+#else
+#  include "jhead.h"
+#endif
+
 // For drag & drop
 static GtkTargetEntry drop_targets[] =
 {


Index: gpicview.spec
===================================================================
RCS file: /cvs/extras/rpms/gpicview/EL-5/gpicview.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- gpicview.spec	1 Dec 2008 23:31:17 -0000	1.6
+++ gpicview.spec	1 Dec 2008 23:58:01 -0000	1.7
@@ -1,12 +1,13 @@
 Name:           gpicview
 Version:        0.1.10
-Release:        2%{?dist}
+Release:        2%{?dist}.1
 Summary:        A Simple and Fast Image Viewer for X
 
 Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            http://lxde.sourceforge.net/gpicview/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch0:         gpicview-0.1.10-use_jhead.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libjpeg-devel, gtk2-devel, desktop-file-utils, gettext
@@ -20,6 +21,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .use_jhead
 
 
 %build
@@ -51,6 +53,9 @@
 
 
 %changelog
+* Tue Dec 2 2008 Patrice Dumas <pertusus at free.fr> - 0.1.10-2.1
+- patch to include jhead.h with old gtk
+
 * Tue Dec 2 2008 Marc Wiriadisastra <marc at mwiriadi.id.au> - 0.1.10-2
 - Rebuild of gpicview after updates from Patrice. Thanks and credit
  go to Patrice.




More information about the fedora-extras-commits mailing list