[mingw-gtk2: 17/65] Added a patch from the native gtk2 package to fix translation detection

epienbro epienbro at fedoraproject.org
Tue Mar 6 20:01:36 UTC 2012


commit deed5da7a11fc9b7858b8ef8b9231eea6964db6c
Author: epienbro <epienbro at fedoraproject.org>
Date:   Sat Sep 5 09:52:03 2009 +0000

    Added a patch from the native gtk2 package to fix translation detection

 gtk2-fix-install.patch |   24 ++++++++++++++++++++++++
 mingw32-gtk2.spec      |    5 +++++
 2 files changed, 29 insertions(+), 0 deletions(-)
---
diff --git a/gtk2-fix-install.patch b/gtk2-fix-install.patch
new file mode 100644
index 0000000..d1d972d
--- /dev/null
+++ b/gtk2-fix-install.patch
@@ -0,0 +1,24 @@
+diff -up gtk+-2.17.11/po/Makefile.in.in.fix-install gtk+-2.17.11/po/Makefile.in.in
+--- gtk+-2.17.11/po/Makefile.in.in.fix-install	2009-09-05 01:19:45.303824009 -0400
++++ gtk+-2.17.11/po/Makefile.in.in	2009-09-05 01:19:14.632573806 -0400
+@@ -126,7 +126,7 @@ install-data: install-data- at USE_NLS@
+ install-data-no: all
+ install-data-yes: all
+ 	$(mkdir_p) $(DESTDIR)$(datadir); \
+-	@catalogs='$(CATALOGS)'; \
++	catalogs='$(CATALOGS)'; \
+ 	for cat in $$catalogs; do \
+ 	  cat=`basename $$cat`; \
+ 	  case "$$cat" in \
+diff -up gtk+-2.17.11/po-properties/Makefile.in.in.fix-install gtk+-2.17.11/po-properties/Makefile.in.in
+--- gtk+-2.17.11/po-properties/Makefile.in.in.fix-install	2009-09-05 01:19:54.543583934 -0400
++++ gtk+-2.17.11/po-properties/Makefile.in.in	2009-09-05 01:20:16.427830666 -0400
+@@ -107,7 +107,7 @@ install-data: install-data- at USE_NLS@
+ install-data-no: all
+ install-data-yes: all
+ 	$(mkdir_p) $(DESTDIR)$(datadir); \
+-	@catalogs='$(CATALOGS)'; \
++	catalogs='$(CATALOGS)'; \
+ 	for cat in $$catalogs; do \
+ 	  cat=`basename $$cat`; \
+ 	  case "$$cat" in \
diff --git a/mingw32-gtk2.spec b/mingw32-gtk2.spec
index 5670644..b6d1130 100644
--- a/mingw32-gtk2.spec
+++ b/mingw32-gtk2.spec
@@ -21,6 +21,9 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # wine %{_mingw32_bindir}/gdk-pixbuf-query-loaders.exe > gdk-pixbuf.loaders
 Source1:        gdk-pixbuf.loaders
 
+# Patch to fix the translations detection (got broken in GTK 2.17.11)
+Patch0:         gtk2-fix-install.patch
+
 # Fix use of extended buttons in gtkstatusicon.
 Patch1000:      mingw32-gtk2-2.15.0-xbuttons.patch
 
@@ -88,6 +91,8 @@ Static version of the MinGW Windows Gtk2 library.
 %prep
 %setup -q -n gtk+-%{version}
 
+%patch0 -p1
+
 %patch1000 -p1
 %patch1001 -p0
 %patch1002 -p0


More information about the scm-commits mailing list