packages: scummvm/scummvm-wx-config.patch, scummvm/scummvm.spec - updated t...

baggins baggins at pld-linux.org
Wed Sep 30 13:27:25 CEST 2009


Author: baggins                      Date: Wed Sep 30 11:27:25 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.0.0rc1

---- Files affected:
packages/scummvm:
   scummvm-wx-config.patch (1.1 -> 1.2) , scummvm.spec (1.52 -> 1.53) 

---- Diffs:

================================================================
Index: packages/scummvm/scummvm-wx-config.patch
diff -u packages/scummvm/scummvm-wx-config.patch:1.1 packages/scummvm/scummvm-wx-config.patch:1.2
--- packages/scummvm/scummvm-wx-config.patch:1.1	Fri Dec 26 13:43:52 2008
+++ packages/scummvm/scummvm-wx-config.patch	Wed Sep 30 13:27:19 2009
@@ -1,19 +1,20 @@
---- scummvm-0.12.0/scummvm-tools-0.12.0/Makefile~	2008-08-26 01:23:03.000000000 +0200
-+++ scummvm-0.12.0/scummvm-tools-0.12.0/Makefile	2008-12-26 11:38:58.571411354 +0100
-@@ -190,14 +190,14 @@
- 	$(CXX) $(LDFLAGS) -o $@ $+
+--- scummvm-1.0.0rc1/scummvm-tools-1.0.0rc1/Makefile	2009-09-30 11:45:38.477143239 +0200
++++ scummvm-1.0.0rc1/scummvm-tools-1.0.0rc1/Makefile~	2009-08-23 15:44:34.000000000 +0200
+@@ -212,7 +212,7 @@
+ 	$(CXX) $(LDFLAGS) `freetype-config --libs` -o $@ $+
  
  tools_gui$(EXEEXT): tools_gui.o
 -	$(CXX) $(LDFLAGS) -o $@ $+ `wx-config --libs`
 +	$(CXX) $(LDFLAGS) -o $@ $+ `wx-gtk2-unicode-config --libs`
  
- 
- clean:
- 	rm -f *.o utils/*.o $(TARGETS)
+ sword2_clue$(EXEEXT): sword2_clue.o util.o
+ 	$(CXX) $(LDFLAGS) -o $@ $+ `pkg-config --libs gtk+-2.0`
+@@ -224,7 +224,7 @@
+ 	$(CXX) $(CXXFLAGS) $(CPPFLAGS) `freetype-config --cflags` -c create_sjisfnt.cpp -o create_sjisfnt.o
  
  tools_gui.o: tools_gui.cpp tools_gui.h
 -	$(CXX) $(CXXFLAGS) $(CPPFLAGS) `wx-config --cxxflags` -c tools_gui.cpp -o tools_gui.o
 +	$(CXX) $(CXXFLAGS) $(CPPFLAGS) `wx-gtk2-unicode-config --cxxflags` -c tools_gui.cpp -o tools_gui.o
  
- 
- ######################################################################
+ sword2_clue.o: sword2_clue.cpp
+ 	$(CXX) $(CXXFLAGS) $(CPPFLAGS) `pkg-config --cflags gtk+-2.0` -c sword2_clue.cpp

================================================================
Index: packages/scummvm/scummvm.spec
diff -u packages/scummvm/scummvm.spec:1.52 packages/scummvm/scummvm.spec:1.53
--- packages/scummvm/scummvm.spec:1.52	Fri Dec 26 13:43:37 2008
+++ packages/scummvm/scummvm.spec	Wed Sep 30 13:27:19 2009
@@ -1,30 +1,35 @@
 # $Revision$, $Date$
-%define		version_tools	0.12.0
+%define		version_tools	1.0.0rc1
+%define		pre	rc1
 Summary:	Graphic adventure game interpreter
 Summary(pl.UTF-8):	Interpreter gier przygodowych
 Name:		scummvm
-Version:	0.12.0
-Release:	1
+Version:	1.0.0
+Release:	0.%{pre}.0.2
 License:	GPL
 Group:		X11/Applications/Games
-Source0:	http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
-# Source0-md5:	cd5620c57645948c8da0d4d9c9fcffb3
+Source0:	http://dl.sourceforge.net/scummvm/%{name}-%{version}%{pre}.tar.bz2
+# Source0-md5:	f3fabedc7ff2424d6a4bc678229b22ce
 Source1:	http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
-# Source1-md5:	af927a7cb59952ed869628250a916ab1
+# Source1-md5:	3434770afa91a8eaf4fa31c9229d7686
 Source2:	%{name}.desktop
 Patch0:		%{name}-wx-config.patch
 URL:		http://scummvm.org/
 BuildRequires:	SDL-devel >= 1.2.2
-BuildRequires:	wxWidgets-devel
+BuildRequires:	alsa-lib-devel >= 0.9
+BuildRequires:	flac-devel >= 1.0.1
 %ifarch %{ix86} %{x8664}
 BuildRequires:	fluidsynth-devel
 %endif
 BuildRequires:	libmad-devel
 BuildRequires:	libvorbis-devel
-BuildRequires:	mpeg2dec-devel
+BuildRequires:	libmpeg2-devel >= 0.3.2
 %ifarch %{ix86}
-#BuildRequires:	nasm
+BuildRequires:	nasm
 %endif
+BuildRequires:	wxGTK2-unicode-devel
+BuildRequires:	wxWidgets-devel
+BuildRequires:	zlib-devel
 BuildRequires:	sed >= 4.0
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -159,6 +164,19 @@
 %description engine-gob -l pl.UTF-8
 Silnik do uruchamiania gier stworzonych przez Coktel Vision.
 
+%package engine-groovie
+Summary:	Groovie engine
+Summary(pl.UTF-8):	Silnik Groovie
+Group:		X11/Applications/Games
+
+%description engine-groovie
+Engine to run adventure games created by Trilobyte or
+Aftermath Media (The 7th Guest, The 11th Hour).
+
+%description engine-groovie -l pl.UTF-8
+Silnik do uruchamiania gier stworzonych przez Trilobyte
+i Aftermath Media (The 7th Guest, The 11th Hour).
+
 %package engine-igor
 Summary:	Igor engine
 Summary(pl.UTF-8):	Silnik Igor
@@ -187,11 +205,40 @@
 Group:		X11/Applications/Games
 
 %description engine-lure
-Lure is the work-in-progress engine for the game Lure of the
-Temptress.
+Lure is the engine for the game Lure of the Temptress.
 
 %description engine-lure -l pl.UTF-8
-Lure jest nieskończonym silnikiem dla gry Lure of the Temptress.
+Lure jest silnikiem dla gry Lure of the Temptress.
+
+%package engine-m4
+Summary:	M4 engine
+Summary(pl.UTF-8):	Silnik M4
+Group:		X11/Applications/Games
+
+%description engine-m4
+MADS stands for the MicroProse Adventure Development System,
+used in the three adventure games they made. It was later sold
+to Sanctuary Woods, who continued development on it and named
+it M4 (MADS version 4 perhaps) and released two more games.
+
+%description engine-m4 -l pl.UTF-8
+MADS to MicroProse Adventure Development System, używany jest
+w trzech grach stworzonych przez MicroProse. Został sprzedany
+do Sanctuary Woods i dalej rozwijany jako M4.
+
+%package engine-made
+Summary:	MADE engine
+Summary(pl.UTF-8):	Silnik MADE
+Group:		X11/Applications/Games
+
+%description engine-made
+MADE stands for Multimedia Applications Development Environment,
+and was used by Activision to create some of their point'n'click
+adventure games. 
+
+%description engine-made -l pl.UTF-8
+MADE to Multimedia Applications Development Environment,
+był używany przez Activision w grach przygodowych.
 
 %package engine-parallaction
 Summary:	Parallaction engine
@@ -228,6 +275,17 @@
 %description engine-saga -l pl.UTF-8
 Silnik SAGA (Scripts for Animated Graphic Adventures).
 
+%package engine-sci
+Summary:	Sierra's "SCript Interpreter"
+Summary(pl.UTF-8):	SCript Interpreter Sierry
+Group:		X11/Applications/Games
+
+%description engine-sci
+Sierra's "SCript Interpreter" and the "Sierra's Creative Interpreter.
+
+%description engine-sci -l pl.UTF-8
+SCript Interpreter Sierry.
+
 %package engine-scumm
 Summary:	Script Creation Utility for Maniac Mansion
 Summary(pl.UTF-8):	Script Creation Utility for Maniac Mansion
@@ -277,6 +335,18 @@
 %description engine-sword2 -l pl.UTF-8
 Silnik Sword2.
 
+%package engine-tinsel
+Summary:	Tinsel engine
+Summary(pl.UTF-8):	Silnik Tinsel
+Group:		X11/Applications/Games
+
+%description engine-tinsel
+This engine is only used by Discworld 1 and Discworld 2.
+Musketeer.
+
+%description engine-tinsel -l pl.UTF-8
+Ten silnik jest używany tylko przez Discworld 1 i Discworld 2.
+
 %package engine-touche
 Summary:	Touche engine
 Summary(pl.UTF-8):	Silnik Touche
@@ -290,6 +360,28 @@
 Ten silnik jest używany tylko przez Touché: Przygody Piątego
 Muszkietera.
 
+%package engine-tucker
+Summary:	Tucker engine
+Summary(pl.UTF-8):	Silnik Tucker
+Group:		X11/Applications/Games
+
+%description engine-tucker
+The Tucker engine is used in Bud Tucker in Double Trouble.
+
+%description engine-tucker -l pl.UTF-8
+Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
+
+%package theme-classic
+Summary:	Theme classic for ScummVM
+Summary(pl.UTF-8):	Motyw classic dla ScummVM
+Group:		X11/Applications/Games
+
+%description theme-classic
+Theme classic for ScummVM.
+
+%description theme-classic -l pl.UTF-8
+Motyw classic dla ScummVM.
+
 %package theme-modern
 Summary:	Theme modern for ScummVM
 Summary(pl.UTF-8):	Motyw modern dla ScummVM
@@ -302,20 +394,17 @@
 Motyw modern dla ScummVM.
 
 %prep
-%setup -q -a 1
+%setup -q -a 1 -n %{name}-%{version}%{pre}
 %patch0 -p1
 
-sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/posix/posix-provider.cpp
-sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/sdl/sdl-provider.cpp
+%{__sed} -i -e 's:"plugins":"%{_libdir}/scummvm":' base/plugins.cpp
 
 %build
 ./configure \
 	--prefix=/usr \
 	--disable-debug \
-	--disable-nasm \
-	--enable-cruise \
-	--enable-drascula \
-	--enable-igor \
+	--enable-mpeg2 \
+	--enable-all-engines \
 	--enable-plugins \
 	--default-dynamic
 
@@ -369,8 +458,7 @@
 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
 
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
-install gui/themes/modern.ini $RPM_BUILD_ROOT%{_datadir}/%{name}
-install gui/themes/modern.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
+install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -415,6 +503,10 @@
 %defattr(644,root,root,755)
 %dir %{_libdir}/scummvm/libgob.so
 
+%files engine-groovie
+%defattr(644,root,root,755)
+%dir %{_libdir}/scummvm/libgroovie.so
+
 %files engine-igor
 %defattr(644,root,root,755)
 %dir %{_libdir}/scummvm/libigor.so
@@ -427,6 +519,14 @@
 %defattr(644,root,root,755)
 %dir %{_libdir}/scummvm/liblure.so
 
+%files engine-m4
+%defattr(644,root,root,755)
+%dir %{_libdir}/scummvm/libm4.so
+
+%files engine-made
+%defattr(644,root,root,755)
+%dir %{_libdir}/scummvm/libmade.so
+
 %files engine-parallaction
 %defattr(644,root,root,755)
 %dir %{_libdir}/scummvm/libparallaction.so
@@ -439,6 +539,10 @@
 %defattr(644,root,root,755)
 %dir %{_libdir}/scummvm/libsaga.so
 
+%files engine-sci
+%defattr(644,root,root,755)
+%dir %{_libdir}/scummvm/libsci.so
+
 %files engine-scumm
 %defattr(644,root,root,755)
 %dir %{_libdir}/scummvm/libscumm.so
@@ -455,13 +559,25 @@
 %defattr(644,root,root,755)
 %dir %{_libdir}/scummvm/libsword2.so
 
+%files engine-tinsel
+%defattr(644,root,root,755)
+%dir %{_libdir}/scummvm/libtinsel.so
+
 %files engine-touche
 %defattr(644,root,root,755)
 %dir %{_libdir}/scummvm/libtouche.so
 
+%files engine-tucker
+%defattr(644,root,root,755)
+%dir %{_libdir}/scummvm/libtucker.so
+
+%files theme-classic
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/scummclassic.*
+
 %files theme-modern
 %defattr(644,root,root,755)
-%{_datadir}/%{name}/modern.*
+%{_datadir}/%{name}/scummmodern.*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -469,6 +585,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.53  2009/09/30 11:27:19  baggins
+- updated to 1.0.0rc1
+
 Revision 1.52  2008/12/26 12:43:37  adamg
 - finish update to 0.12.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/scummvm/scummvm-wx-config.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/scummvm/scummvm.spec?r1=1.52&r2=1.53&f=u



More information about the pld-cvs-commit mailing list