diff --git a/gnome-commander-1.2.6-fix-compilation-includes.patch b/gnome-commander-1.2.6-fix-compilation-includes.patch new file mode 100644 index 0000000..70e6a0e --- /dev/null +++ b/gnome-commander-1.2.6-fix-compilation-includes.patch @@ -0,0 +1,40 @@ +--- gnome-commander-1.2.6/src/gnome-cmd-includes.h.debug 2008-06-01 23:44:25.000000000 +0900 ++++ gnome-commander-1.2.6/src/gnome-cmd-includes.h 2008-06-02 18:14:31.000000000 +0900 +@@ -21,6 +21,7 @@ + #define __GNOME_CMD_INCLUDES_H__ + + #include ++#include + + typedef void *(*PthreadFunc)(void *); + +--- gnome-commander-1.2.6/src/intviewer/image-render.cc.debug 2008-06-01 23:44:25.000000000 +0900 ++++ gnome-commander-1.2.6/src/intviewer/image-render.cc 2008-06-02 18:02:28.000000000 +0900 +@@ -32,6 +32,7 @@ + + #include + #include ++#include + + #include "image-render.h" + #include "gnome-cmd-includes.h" +--- gnome-commander-1.2.6/src/intviewer/text-render.cc.debug 2008-06-01 23:44:25.000000000 +0900 ++++ gnome-commander-1.2.6/src/intviewer/text-render.cc 2008-06-02 18:04:03.000000000 +0900 +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + #include "gvtypes.h" + #include "fileops.h" +--- gnome-commander-1.2.6/src/intviewer/viewer-widget.cc.debug 2008-06-01 23:44:25.000000000 +0900 ++++ gnome-commander-1.2.6/src/intviewer/viewer-widget.cc 2008-06-02 18:04:50.000000000 +0900 +@@ -32,6 +32,7 @@ + + #include + #include ++#include + + #include + #include diff --git a/gnome-commander.spec b/gnome-commander.spec index cc16bd0..6b9f712 100644 --- a/gnome-commander.spec +++ b/gnome-commander.spec @@ -4,7 +4,7 @@ Name: gnome-commander Version: 1.2.6 -Release: 0%{?dist} +Release: 2%{?dist} Summary: A nice and fast file manager for the GNOME desktop Summary(pl): Menadżer plików dla GNOME oparty o Norton Commander'a (TM) Summary(sv): GNOME Commander är en snabb och smidig filhanderare för GNOME @@ -13,6 +13,7 @@ Group: Applications/File License: GPLv2+ URL: http://www.nongnu.org/gcmd/ Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.2/%{name}-%{version}.tar.bz2 +Patch0: gnome-commander-1.2.6-fix-compilation-includes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils @@ -67,12 +68,13 @@ ansluta till FTP-servrar och SMB-nätverk. %prep %setup -q +%patch0 -p1 -b .debug %build %configure \ --disable-scrollkeeper \ --enable-python -%{__make} %{?_smp_mflags} -k +%{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} @@ -126,8 +128,9 @@ scrollkeeper-update -q || : %{_datadir}/pixmaps/%{name}/ %changelog -* Mon Jun 2 2008 Mamoru Tasaka - 1.2.6-1 +* Mon Jun 2 2008 Mamoru Tasaka - 1.2.6-2 - 1.2.6 +- Add patch to compile with GTK 2.13.X * Sat Mar 1 2008 Mamoru Tasaka - 1.2.5-1 - 1.2.5