Author: uzsolt                       Date: Tue Aug 26 17:58:18 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed install problem with tent.png

---- Files affected:
SPECS:
   wesnoth.spec (1.89 -> 1.90) 

---- Diffs:

================================================================
Index: SPECS/wesnoth.spec
diff -u SPECS/wesnoth.spec:1.89 SPECS/wesnoth.spec:1.90
--- SPECS/wesnoth.spec:1.89     Tue Aug 26 01:11:57 2008
+++ SPECS/wesnoth.spec  Tue Aug 26 19:58:12 2008
@@ -3,9 +3,6 @@
 # - rename language files [EMAIL PROTECTED] to [EMAIL PROTECTED] and include 
them
 # - use desktop file included with project (consider which one are better)
 # - dont know what should I do with [EMAIL PROTECTED] man pages
-# - /usr/share/wesnoth/data/core/images/terrain/tent.png: ERROR: 
-#      Macintosh HFS Extended version 61389 data (unclean) vasprintf failed 
-#      (Invalid or incomplete multibyte or wide character)
 # Conditional build
 %bcond_without server  # without server
 %bcond_without tools   # without tools
@@ -27,6 +24,8 @@
 Patch0:                %{name}-Makefile.patch
 Patch1:                %{name}-locale_dir.patch
 URL:           http://www.wesnoth.org/
+# because of png
+BuildRequires: ImageMagick
 BuildRequires: SDL-devel >= 1.2.7
 BuildRequires: SDL_image-devel >= 1.2
 BuildRequires: SDL_mixer-devel >= 1.2
@@ -117,6 +116,11 @@
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# Invalid or incomplete multibyte or wide character - but after convert it's OK
+mv $RPM_BUILD_ROOT%{_datadir}/wesnoth/data/core/images/terrain/tent.png{,-}
+convert 
$RPM_BUILD_ROOT%{_datadir}/wesnoth/data/core/images/terrain/tent.png{-,}
+rm $RPM_BUILD_ROOT%{_datadir}/wesnoth/data/core/images/terrain/tent.png-
+
 # install additional docs
 install changelog README  $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 gzip -9nf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{changelog,README}
@@ -245,6 +249,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.90  2008/08/26 17:58:12  uzsolt
+- fixed install problem with tent.png
+
 Revision 1.89  2008/08/25 23:11:57  uzsolt
 - removed mv gl_ES to gl
 - can't build - see the TODO section!!!
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/wesnoth.spec?r1=1.89&r2=1.90&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to