[mingw-gtkmm30] Initial import (#701347)

Kalev Lember kalev at fedoraproject.org
Fri Jun 3 20:12:28 UTC 2011


commit ea1da55cd229020edb5ada794c4f78a2161abf89
Author: Kalev Lember <kalev at smartlink.ee>
Date:   Fri Jun 3 23:10:19 2011 +0300

    Initial import (#701347)

 .gitignore                        |    1 +
 mingw-gtkmm30.spec                |   99 ++++++++++++++
 mingw32-gtkmm30-3.0.1-mingw.patch |  265 +++++++++++++++++++++++++++++++++++++
 sources                           |    1 +
 4 files changed, 366 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8ebbc9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gtkmm-3.0.1.tar.bz2
diff --git a/mingw-gtkmm30.spec b/mingw-gtkmm30.spec
new file mode 100644
index 0000000..f802df2
--- /dev/null
+++ b/mingw-gtkmm30.spec
@@ -0,0 +1,99 @@
+%global __strip %{_mingw32_strip}
+%global __objdump %{_mingw32_objdump}
+%define __debug_install_post %{_mingw32_debug_install_post}
+
+# first two digits of version
+%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
+
+Name:           mingw-gtkmm30
+Version:        3.0.1
+Release:        2%{?dist}
+Summary:        MinGW Windows C++ interface for the GTK+ library
+
+License:        LGPLv2+
+Group:          Development/Libraries
+URL:            http://www.gtkmm.org/
+Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtkmm/%{release_version}/gtkmm-%{version}.tar.bz2
+# https://bugzilla.gnome.org/show_bug.cgi?id=649182
+# https://bugzilla.gnome.org/show_bug.cgi?id=649187
+Patch0:         mingw32-gtkmm30-3.0.1-mingw.patch
+
+BuildArch:      noarch
+
+BuildRequires:  mingw32-filesystem >= 68
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-gcc-c++
+BuildRequires:  mingw32-binutils
+BuildRequires:  mingw32-atk
+BuildRequires:  mingw32-atkmm
+BuildRequires:  mingw32-cairomm
+BuildRequires:  mingw32-gettext
+BuildRequires:  mingw32-glibmm24
+BuildRequires:  mingw32-gtk3
+BuildRequires:  mingw32-pango
+BuildRequires:  mingw32-pangomm
+
+%description
+gtkmm is the official C++ interface for the popular GUI library GTK+.
+Highlights include type safe callbacks, and a comprehensive set of
+widgets that are easily extensible via inheritance.
+
+This package contains the MinGW Windows cross compiled gtkmm library,
+API version 3.0.
+
+
+%package -n mingw32-gtkmm30
+Summary:        MinGW Windows C++ interface for the GTK+ library
+Requires:       pkgconfig
+
+%description -n mingw32-gtkmm30
+gtkmm is the official C++ interface for the popular GUI library GTK+.
+Highlights include type safe callbacks, and a comprehensive set of
+widgets that are easily extensible via inheritance.
+
+This package contains the MinGW Windows cross compiled gtkmm library,
+API version 3.0.
+
+
+%{?_mingw32_debug_package}
+
+
+%prep
+%setup -q -n gtkmm-%{version}
+%patch0 -p1 -b .mingw
+
+%build
+%{_mingw32_configure} --disable-static --disable-documentation
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%files -n mingw32-gtkmm30
+%doc COPYING
+%{_mingw32_bindir}/libgdkmm-3.0-1.dll
+%{_mingw32_bindir}/libgtkmm-3.0-1.dll
+%{_mingw32_libdir}/libgdkmm-3.0.dll.a
+%{_mingw32_libdir}/libgdkmm-3.0.la
+%{_mingw32_libdir}/libgtkmm-3.0.dll.a
+%{_mingw32_libdir}/libgtkmm-3.0.la
+%{_mingw32_includedir}/gdkmm-3.0/
+%{_mingw32_includedir}/gtkmm-3.0/
+%{_mingw32_libdir}/gdkmm-3.0/
+%{_mingw32_libdir}/gtkmm-3.0/
+%{_mingw32_libdir}/pkgconfig/gdkmm-3.0.pc
+%{_mingw32_libdir}/pkgconfig/gtkmm-3.0.pc
+
+
+%changelog
+* Sun May 29 2011 Kalev Lember <kalev at smartlink.ee> - 3.0.1-2
+- Renamed the base package to mingw-gtkmm30 as per updated guidelines
+- Use the automatic dep extraction available in mingw32-filesystem 68
+
+* Mon May 09 2011 Kalev Lember <kalev at smartlink.ee> - 3.0.1-1
+- Update to 3.0.1
+
+* Mon May 02 2011 Kalev Lember <kalev at smartlink.ee> - 3.0.0-1
+- Initial RPM release
diff --git a/mingw32-gtkmm30-3.0.1-mingw.patch b/mingw32-gtkmm30-3.0.1-mingw.patch
new file mode 100644
index 0000000..8a0f329
--- /dev/null
+++ b/mingw32-gtkmm30-3.0.1-mingw.patch
@@ -0,0 +1,265 @@
+diff -up gtkmm-3.0.1/docs/Makefile.in.mingw gtkmm-3.0.1/docs/Makefile.in
+--- gtkmm-3.0.1/docs/Makefile.in.mingw	2011-04-06 10:05:27.000000000 +0300
++++ gtkmm-3.0.1/docs/Makefile.in	2011-05-02 19:38:23.294160370 +0300
+@@ -376,7 +376,6 @@ gtkmm_files_any_hg = \
+ 	pagesetup.hg		\
+ 	paned.hg		\
+ 	papersize.hg		\
+-	plug.hg			\
+ 	printcontext.hg		\
+ 	printoperation.hg	\
+ 	printoperationpreview.hg\
+@@ -407,7 +406,6 @@ gtkmm_files_any_hg = \
+ 	separatortoolitem.hg	\
+ 	settings.hg		\
+ 	sizegroup.hg		\
+-	socket.hg		\
+ 	spinbutton.hg		\
+ 	spinner.hg		\
+ 	statusbar.hg		\
+@@ -459,9 +457,11 @@ gtkmm_files_any_hg = \
+ 
+ gtkmm_files_posix_hg = \
+ 	pagesetupunixdialog.hg	\
++	plug.hg			\
+ 	printer.hg		\
+ 	printjob.hg		\
+-	printunixdialog.hg
++	printunixdialog.hg	\
++	socket.hg
+ 
+ gtkmm_files_deprecated_hg = 
+ @HOST_WINDOWS_NATIVE_FALSE at gtkmm_files_arch_hg = $(gtkmm_files_posix_hg)
+diff -up gtkmm-3.0.1/gtk/gtkmm/Makefile.in.mingw gtkmm-3.0.1/gtk/gtkmm/Makefile.in
+--- gtkmm-3.0.1/gtk/gtkmm/Makefile.in.mingw	2011-04-06 10:05:28.000000000 +0300
++++ gtkmm-3.0.1/gtk/gtkmm/Makefile.in	2011-05-02 19:38:23.295160381 +0300
+@@ -92,7 +92,7 @@ am__libgtkmm_ at GTKMM_API_VERSION@_la_SOUR
+ 	linkbutton.cc liststore.cc main.cc menu.cc menubar.cc \
+ 	menuitem.cc menushell.cc menutoolbutton.cc messagedialog.cc \
+ 	misc.cc notebook.cc numerableicon.cc offscreenwindow.cc \
+-	orientable.cc pagesetup.cc paned.cc papersize.cc plug.cc \
++	orientable.cc pagesetup.cc paned.cc papersize.cc \
+ 	printcontext.cc printoperation.cc printoperationpreview.cc \
+ 	printsettings.cc progressbar.cc radioaction.cc radiobutton.cc \
+ 	radiomenuitem.cc radiotoolbutton.cc range.cc recentaction.cc \
+@@ -101,21 +101,21 @@ am__libgtkmm_ at GTKMM_API_VERSION@_la_SOUR
+ 	recentmanager.cc requisition.cc scale.cc scalebutton.cc \
+ 	scrollable.cc scrollbar.cc scrolledwindow.cc selectiondata.cc \
+ 	separator.cc separatormenuitem.cc separatortoolitem.cc \
+-	settings.cc sizegroup.cc socket.cc spinbutton.cc spinner.cc \
+-	statusbar.cc statusicon.cc stockitem.cc stylecontext.cc \
+-	styleprovider.cc switch.cc table.cc targetlist.cc \
+-	tearoffmenuitem.cc textattributes.cc textbuffer.cc \
+-	textchildanchor.cc textiter.cc textmark.cc texttag.cc \
+-	texttagtable.cc textview.cc toggleaction.cc togglebutton.cc \
+-	toggletoolbutton.cc toolbar.cc toolbutton.cc toolitem.cc \
+-	toolitemgroup.cc toolpalette.cc toolshell.cc tooltip.cc \
+-	treedragdest.cc treedragsource.cc treeiter.cc treemodel.cc \
+-	treemodelfilter.cc treemodelsort.cc treepath.cc \
+-	treerowreference.cc treeselection.cc treesortable.cc \
+-	treestore.cc treeview.cc treeviewcolumn.cc uimanager.cc \
+-	viewport.cc volumebutton.cc widget.cc widgetpath.cc window.cc \
+-	pagesetupunixdialog.cc printer.cc printjob.cc \
+-	printunixdialog.cc wrap_init.cc accelkey.cc accelmap.cc \
++	settings.cc sizegroup.cc spinbutton.cc spinner.cc statusbar.cc \
++	statusicon.cc stockitem.cc stylecontext.cc styleprovider.cc \
++	switch.cc table.cc targetlist.cc tearoffmenuitem.cc \
++	textattributes.cc textbuffer.cc textchildanchor.cc textiter.cc \
++	textmark.cc texttag.cc texttagtable.cc textview.cc \
++	toggleaction.cc togglebutton.cc toggletoolbutton.cc toolbar.cc \
++	toolbutton.cc toolitem.cc toolitemgroup.cc toolpalette.cc \
++	toolshell.cc tooltip.cc treedragdest.cc treedragsource.cc \
++	treeiter.cc treemodel.cc treemodelfilter.cc treemodelsort.cc \
++	treepath.cc treerowreference.cc treeselection.cc \
++	treesortable.cc treestore.cc treeview.cc treeviewcolumn.cc \
++	uimanager.cc viewport.cc volumebutton.cc widget.cc \
++	widgetpath.cc window.cc pagesetupunixdialog.cc plug.cc \
++	printer.cc printjob.cc printunixdialog.cc socket.cc \
++	wrap_init.cc accelkey.cc accelmap.cc \
+ 	cellrenderer_generation.cc listviewtext.cc object.cc \
+ 	radiobuttongroup.cc selectiondata_private.cc stock.cc \
+ 	stockid.cc targetentry.cc treemodelcolumn.cc \
+@@ -144,7 +144,7 @@ am__objects_1 = aboutdialog.lo accelgrou
+ 	linkbutton.lo liststore.lo main.lo menu.lo menubar.lo \
+ 	menuitem.lo menushell.lo menutoolbutton.lo messagedialog.lo \
+ 	misc.lo notebook.lo numerableicon.lo offscreenwindow.lo \
+-	orientable.lo pagesetup.lo paned.lo papersize.lo plug.lo \
++	orientable.lo pagesetup.lo paned.lo papersize.lo \
+ 	printcontext.lo printoperation.lo printoperationpreview.lo \
+ 	printsettings.lo progressbar.lo radioaction.lo radiobutton.lo \
+ 	radiomenuitem.lo radiotoolbutton.lo range.lo recentaction.lo \
+@@ -153,21 +153,21 @@ am__objects_1 = aboutdialog.lo accelgrou
+ 	recentmanager.lo requisition.lo scale.lo scalebutton.lo \
+ 	scrollable.lo scrollbar.lo scrolledwindow.lo selectiondata.lo \
+ 	separator.lo separatormenuitem.lo separatortoolitem.lo \
+-	settings.lo sizegroup.lo socket.lo spinbutton.lo spinner.lo \
+-	statusbar.lo statusicon.lo stockitem.lo stylecontext.lo \
+-	styleprovider.lo switch.lo table.lo targetlist.lo \
+-	tearoffmenuitem.lo textattributes.lo textbuffer.lo \
+-	textchildanchor.lo textiter.lo textmark.lo texttag.lo \
+-	texttagtable.lo textview.lo toggleaction.lo togglebutton.lo \
+-	toggletoolbutton.lo toolbar.lo toolbutton.lo toolitem.lo \
+-	toolitemgroup.lo toolpalette.lo toolshell.lo tooltip.lo \
+-	treedragdest.lo treedragsource.lo treeiter.lo treemodel.lo \
+-	treemodelfilter.lo treemodelsort.lo treepath.lo \
+-	treerowreference.lo treeselection.lo treesortable.lo \
+-	treestore.lo treeview.lo treeviewcolumn.lo uimanager.lo \
+-	viewport.lo volumebutton.lo widget.lo widgetpath.lo window.lo
+-am__objects_2 = pagesetupunixdialog.lo printer.lo printjob.lo \
+-	printunixdialog.lo
++	settings.lo sizegroup.lo spinbutton.lo spinner.lo statusbar.lo \
++	statusicon.lo stockitem.lo stylecontext.lo styleprovider.lo \
++	switch.lo table.lo targetlist.lo tearoffmenuitem.lo \
++	textattributes.lo textbuffer.lo textchildanchor.lo textiter.lo \
++	textmark.lo texttag.lo texttagtable.lo textview.lo \
++	toggleaction.lo togglebutton.lo toggletoolbutton.lo toolbar.lo \
++	toolbutton.lo toolitem.lo toolitemgroup.lo toolpalette.lo \
++	toolshell.lo tooltip.lo treedragdest.lo treedragsource.lo \
++	treeiter.lo treemodel.lo treemodelfilter.lo treemodelsort.lo \
++	treepath.lo treerowreference.lo treeselection.lo \
++	treesortable.lo treestore.lo treeview.lo treeviewcolumn.lo \
++	uimanager.lo viewport.lo volumebutton.lo widget.lo \
++	widgetpath.lo window.lo
++am__objects_2 = pagesetupunixdialog.lo plug.lo printer.lo printjob.lo \
++	printunixdialog.lo socket.lo
+ @HOST_WINDOWS_NATIVE_FALSE at am__objects_3 = $(am__objects_2)
+ am__objects_4 =
+ @DISABLE_DEPRECATED_API_FALSE at am__objects_5 = $(am__objects_1) \
+@@ -227,7 +227,7 @@ am__binding_include_HEADERS_DIST = about
+ 	menubar.h menuitem.h menushell.h menutoolbutton.h \
+ 	messagedialog.h misc.h notebook.h numerableicon.h \
+ 	offscreenwindow.h orientable.h pagesetup.h paned.h papersize.h \
+-	plug.h printcontext.h printoperation.h printoperationpreview.h \
++	printcontext.h printoperation.h printoperationpreview.h \
+ 	printsettings.h progressbar.h radioaction.h radiobutton.h \
+ 	radiomenuitem.h radiotoolbutton.h range.h recentaction.h \
+ 	recentchooser.h recentchooserdialog.h recentchoosermenu.h \
+@@ -235,23 +235,23 @@ am__binding_include_HEADERS_DIST = about
+ 	recentmanager.h requisition.h scale.h scalebutton.h \
+ 	scrollable.h scrollbar.h scrolledwindow.h selectiondata.h \
+ 	separator.h separatormenuitem.h separatortoolitem.h settings.h \
+-	sizegroup.h socket.h spinbutton.h spinner.h statusbar.h \
+-	statusicon.h stockitem.h stylecontext.h styleprovider.h \
+-	switch.h table.h targetlist.h tearoffmenuitem.h \
+-	textattributes.h textbuffer.h textchildanchor.h textiter.h \
+-	textmark.h texttag.h texttagtable.h textview.h toggleaction.h \
+-	togglebutton.h toggletoolbutton.h toolbar.h toolbutton.h \
+-	toolitem.h toolitemgroup.h toolpalette.h toolshell.h tooltip.h \
++	sizegroup.h spinbutton.h spinner.h statusbar.h statusicon.h \
++	stockitem.h stylecontext.h styleprovider.h switch.h table.h \
++	targetlist.h tearoffmenuitem.h textattributes.h textbuffer.h \
++	textchildanchor.h textiter.h textmark.h texttag.h \
++	texttagtable.h textview.h toggleaction.h togglebutton.h \
++	toggletoolbutton.h toolbar.h toolbutton.h toolitem.h \
++	toolitemgroup.h toolpalette.h toolshell.h tooltip.h \
+ 	treedragdest.h treedragsource.h treeiter.h treemodel.h \
+ 	treemodelfilter.h treemodelsort.h treepath.h \
+ 	treerowreference.h treeselection.h treesortable.h treestore.h \
+ 	treeview.h treeviewcolumn.h uimanager.h viewport.h \
+ 	volumebutton.h widget.h widgetpath.h window.h \
+-	pagesetupunixdialog.h printer.h printjob.h printunixdialog.h \
+-	accelkey.h accelmap.h base.h cellrenderer_generation.h \
+-	listviewtext.h object.h radiobuttongroup.h \
+-	selectiondata_private.h stock.h stockid.h targetentry.h \
+-	treemodelcolumn.h treeview_private.h wrap_init.h
++	pagesetupunixdialog.h plug.h printer.h printjob.h \
++	printunixdialog.h socket.h accelkey.h accelmap.h base.h \
++	cellrenderer_generation.h listviewtext.h object.h \
++	radiobuttongroup.h selectiondata_private.h stock.h stockid.h \
++	targetentry.h treemodelcolumn.h treeview_private.h wrap_init.h
+ binding_includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ binding_privateHEADERS_INSTALL = $(INSTALL_HEADER)
+ HEADERS = $(binding_include_HEADERS) $(binding_private_HEADERS)
+@@ -523,7 +523,6 @@ gtkmm_files_any_hg = \
+ 	pagesetup.hg		\
+ 	paned.hg		\
+ 	papersize.hg		\
+-	plug.hg			\
+ 	printcontext.hg		\
+ 	printoperation.hg	\
+ 	printoperationpreview.hg\
+@@ -554,7 +553,6 @@ gtkmm_files_any_hg = \
+ 	separatortoolitem.hg	\
+ 	settings.hg		\
+ 	sizegroup.hg		\
+-	socket.hg		\
+ 	spinbutton.hg		\
+ 	spinner.hg		\
+ 	statusbar.hg		\
+@@ -606,9 +604,11 @@ gtkmm_files_any_hg = \
+ 
+ gtkmm_files_posix_hg = \
+ 	pagesetupunixdialog.hg	\
++	plug.hg			\
+ 	printer.hg		\
+ 	printjob.hg		\
+-	printunixdialog.hg
++	printunixdialog.hg	\
++	socket.hg
+ 
+ gtkmm_files_deprecated_hg = 
+ @HOST_WINDOWS_NATIVE_FALSE at gtkmm_files_arch_hg = $(gtkmm_files_posix_hg)
+diff -up gtkmm-3.0.1/gtk/src/filelist.am.mingw gtkmm-3.0.1/gtk/src/filelist.am
+--- gtkmm-3.0.1/gtk/src/filelist.am.mingw	2011-03-28 15:57:00.000000000 +0300
++++ gtkmm-3.0.1/gtk/src/filelist.am	2011-05-02 19:38:23.298160411 +0300
+@@ -110,7 +110,6 @@ gtkmm_files_any_hg =		\
+ 	pagesetup.hg		\
+ 	paned.hg		\
+ 	papersize.hg		\
+-	plug.hg			\
+ 	printcontext.hg		\
+ 	printoperation.hg	\
+ 	printoperationpreview.hg\
+@@ -141,7 +140,6 @@ gtkmm_files_any_hg =		\
+ 	separatortoolitem.hg	\
+ 	settings.hg		\
+ 	sizegroup.hg		\
+-	socket.hg		\
+ 	spinbutton.hg		\
+ 	spinner.hg		\
+ 	statusbar.hg		\
+@@ -193,9 +191,11 @@ gtkmm_files_any_hg =		\
+ 
+ gtkmm_files_posix_hg =		\
+ 	pagesetupunixdialog.hg	\
++	plug.hg			\
+ 	printer.hg		\
+ 	printjob.hg		\
+-	printunixdialog.hg
++	printunixdialog.hg	\
++	socket.hg
+ 
+ gtkmm_files_deprecated_hg =
+ 
+diff -up gtkmm-3.0.1/gtk/src/Makefile.in.mingw gtkmm-3.0.1/gtk/src/Makefile.in
+--- gtkmm-3.0.1/gtk/src/Makefile.in.mingw	2011-04-06 10:05:28.000000000 +0300
++++ gtkmm-3.0.1/gtk/src/Makefile.in	2011-05-02 19:38:23.299160422 +0300
+@@ -323,7 +323,6 @@ gtkmm_files_any_hg = \
+ 	pagesetup.hg		\
+ 	paned.hg		\
+ 	papersize.hg		\
+-	plug.hg			\
+ 	printcontext.hg		\
+ 	printoperation.hg	\
+ 	printoperationpreview.hg\
+@@ -354,7 +353,6 @@ gtkmm_files_any_hg = \
+ 	separatortoolitem.hg	\
+ 	settings.hg		\
+ 	sizegroup.hg		\
+-	socket.hg		\
+ 	spinbutton.hg		\
+ 	spinner.hg		\
+ 	statusbar.hg		\
+@@ -406,9 +404,11 @@ gtkmm_files_any_hg = \
+ 
+ gtkmm_files_posix_hg = \
+ 	pagesetupunixdialog.hg	\
++	plug.hg			\
+ 	printer.hg		\
+ 	printjob.hg		\
+-	printunixdialog.hg
++	printunixdialog.hg	\
++	socket.hg
+ 
+ gtkmm_files_deprecated_hg = 
+ @HOST_WINDOWS_NATIVE_FALSE at gtkmm_files_arch_hg = $(gtkmm_files_posix_hg)
diff --git a/sources b/sources
index e69de29..230dd72 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+169ed5b088538fa10483177f3035f77c  gtkmm-3.0.1.tar.bz2


More information about the scm-commits mailing list