rpms/gtk2/devel gtk2-fix-install.patch, NONE, 1.1 gtk2.spec, 1.401, 1.402

Matthias Clasen mclasen at fedoraproject.org
Sat Sep 5 05:35:13 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/gtk2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8615

Modified Files:
	gtk2.spec 
Added Files:
	gtk2-fix-install.patch 
Log Message:
Fix build


gtk2-fix-install.patch:
 po-properties/Makefile.in.in |    2 +-
 po/Makefile.in.in            |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE gtk2-fix-install.patch ---
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 \


Index: gtk2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.401
retrieving revision 1.402
diff -u -p -r1.401 -r1.402
--- gtk2.spec	5 Sep 2009 05:01:28 -0000	1.401
+++ gtk2.spec	5 Sep 2009 05:35:13 -0000	1.402
@@ -28,6 +28,8 @@ Source3: im-cedilla.conf
 # Biarch changes
 Patch0: gtk+-2.13.5-lib64.patch
 
+Patch1: gtk2-fix-install.patch
+
 BuildRequires: atk-devel >= %{atk_version}
 BuildRequires: pango-devel >= %{pango_version}
 BuildRequires: glib2-devel >= %{glib2_version}
@@ -138,6 +140,7 @@ This package contains developer document
 %setup -q -n gtk+-%{version}
 
 %patch0 -p1 -b .lib64
+%patch1 -p1 -b .fix-install
 
 # make sure that gtkmarshalers.{c, h} get regenerated during the build
 #  - caused by print_authentication.patch
@@ -215,17 +218,17 @@ make install DESTDIR=$RPM_BUILD_ROOT    
 %find_lang gtk20
 %find_lang gtk20-properties
 
-./mkinstalldirs $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0
 #
 # Make cleaned-up versions of tutorials, examples, and faq for installation
 #
-./mkinstalldirs tmpdocs
+mkdir -p tmpdocs
 cp -aR docs/tutorial/html tmpdocs/tutorial
 cp -aR docs/faq/html tmpdocs/faq
 
 for dir in examples/* ; do
   if [ -d $dir ] ; then
-     ./mkinstalldirs tmpdocs/$dir
+     mkdir -p tmpdocs/$dir
      for file in $dir/* ; do
        install -m 0644 $file tmpdocs/$dir
      done




More information about the fedora-extras-commits mailing list