[mingw-glibmm24: 13/40] remove includes of non-existent header files
epienbro
epienbro at fedoraproject.org
Wed Mar 7 17:14:59 UTC 2012
commit e4ee7ca90bf285b98ac781d2defa63bdc54e5982
Author: sailer <sailer at fedoraproject.org>
Date: Tue Oct 6 20:41:37 2009 +0000
remove includes of non-existent header files
mingw32-glibmm24.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-glibmm24.spec b/mingw32-glibmm24.spec
index 92dc09f..3e0c699 100644
--- a/mingw32-glibmm24.spec
+++ b/mingw32-glibmm24.spec
@@ -7,13 +7,13 @@
Name: mingw32-glibmm24
Version: 2.22.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MinGW Windows C++ interface for GTK2 (a GUI library for X)
License: LGPLv2+
Group: Development/Libraries
URL: http://gtkmm.sourceforge.net/
-Source0: http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.20/glibmm-%{version}.tar.bz2
+Source0: http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.22/glibmm-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -56,6 +56,11 @@ rm -r $RPM_BUILD_ROOT%{_mingw32_docdir}/glibmm-2.4
rm -r $RPM_BUILD_ROOT%{_mingw32_datadir}/devhelp
rm -r $RPM_BUILD_ROOT%{_mingw32_datadir}/glibmm-2.4/doctool/
+# hack: desktopappinfo is not available on win32
+sed -i -e "s,#include <giomm/desktopappinfo.h>,," $RPM_BUILD_ROOT/%{_mingw32_includedir}/giomm-2.4/giomm.h
+sed -i -e "s,#include <giomm/unixinputstream.h>,," $RPM_BUILD_ROOT/%{_mingw32_includedir}/giomm-2.4/giomm.h
+sed -i -e "s,#include <giomm/unixoutputstream.h>,," $RPM_BUILD_ROOT/%{_mingw32_includedir}/giomm-2.4/giomm.h
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -82,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Oct 6 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.22.1-2
+- remove nonexisting (on windows) files from giomm.h header
+
* Sun Sep 27 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.22.1-1
- update to 2.22.1 to match native package
More information about the scm-commits
mailing list