Hello community,

here is the log from the commit of package love-0_7_2 for openSUSE:Factory 
checked in at 2013-05-07 07:30:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/love-0_7_2 (Old)
 and      /work/SRC/openSUSE:Factory/.love-0_7_2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "love-0_7_2"

Changes:
--------
New Changes file:

--- /dev/null   2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:Factory/.love-0_7_2.new/love-0_7_2.changes       
2013-05-07 07:30:04.000000000 +0200
@@ -0,0 +1,11 @@
+-------------------------------------------------------------------
+Tue Sep 13 17:57:56 UTC 2011 - [email protected]
+
+- build fix - added devel dependencies for DevIL
+- standard group name
+
+-------------------------------------------------------------------
+Wed Jun 22 20:08:34 UTC 2011 - [email protected]
+
+- created package (version 0.7.2)
+

New:
----
  love-0.7.2-linux-src.tar.gz
  love-0_7_2.changes
  love-0_7_2.spec
  love-modplug.patch
  love-remove-mpg123.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ love-0_7_2.spec ++++++
#
# spec file for package love
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           love-0_7_2
Version:        0.7.2
Release:        0
Summary:        2D gaming engine written in Lua
License:        Zlib
Group:          Development/Languages/Other
Url:            http://love2d.org/
Source:         
https://bitbucket.org/rude/love/downloads/love-0.7.2-linux-src.tar.gz
Patch0:         love-modplug.patch
Patch1:         love-remove-mpg123.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  libmng-devel
BuildRequires:  libtiff-devel
BuildRequires:  libtool
BuildRequires:  physfs-devel
BuildRequires:  pkgconfig(IL)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(libmodplug)
BuildRequires:  pkgconfig(lua) < 5.2
BuildRequires:  pkgconfig(lua) >= 5.1
BuildRequires:  pkgconfig(openal)
BuildRequires:  pkgconfig(sdl)
BuildRequires:  pkgconfig(vorbisfile)
%if %{with mpg123}
BuildRequires:  pkgconfig(libmpg123)
%endif

%description
LÖVE is a framework for making 2D games in Lua.

%prep
%setup -qn love-HEAD
sed -i 's/\r$//' *.txt
%patch0
# remove mpg123 support
%patch1
rm -f src/modules/sound/lullaby/Mpg123Decoder.{cpp,h}

%build
autoreconf -fi
%configure
make %{?_smp_mflags}

%install
b="%buildroot";
make install DESTDIR="$b"
mv "$b/%_bindir"/love{,-0.7.2}

%files
%defattr(-,root,root)
%doc changes.txt license.txt readme.txt
%_bindir/love-0.7.2

%changelog
++++++ love-modplug.patch ++++++
Index: src/modules/sound/lullaby/ModPlugDecoder.cpp
===================================================================
--- src/modules/sound/lullaby/ModPlugDecoder.cpp.orig
+++ src/modules/sound/lullaby/ModPlugDecoder.cpp
@@ -42,8 +42,6 @@ namespace lullaby
                // fill with modplug defaults (modplug _memsets_, so we could 
get
                // garbage settings when the struct is only partially 
initialized)
                // This does not exist yet on Windows.
-               settings.mStereoSeparation = 128;
-               settings.mMaxMixChannels = 32;
                settings.mReverbDepth = 0;
                settings.mReverbDelay = 0;
                settings.mBassAmount = 0;
++++++ love-remove-mpg123.patch ++++++
Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -1,3 +1,2 @@
-ACLOCAL_AMFLAGS = -I platform/unix/m4
 SUBDIRS = src
 EXTRA_DIST = changes.txt license.txt readme.txt
Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -1,7 +1,6 @@
 AC_INIT([love], [HEAD])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR([platform/unix])
-AC_CONFIG_MACRO_DIR([platform/unix/m4])
 AC_CONFIG_SRCDIR([src/love.cpp])
 AM_INIT_AUTOMAKE([foreign -Wall foreign tar-ustar])
 AC_PREFIX_DEFAULT([/usr])
@@ -36,8 +35,6 @@ AC_SEARCH_LIBS([TIFFOpen], [tiff], [], A
 AC_SEARCH_LIBS([FT_Load_Glyph], [freetype], [], AC_MSG_ERROR([Can't LÖVE 
without FreeType]))
 AC_SEARCH_LIBS([PHYSFS_init], [physfs], [], AC_MSG_ERROR([Can't LÖVE without 
PhysicsFS]))
 AC_SEARCH_LIBS([ModPlug_Load], [modplug], [], AC_MSG_ERROR([Can't LÖVE without 
ModPlug]))
-AC_SEARCH_LIBS([mpg123_open_feed], [mpg123], [], AC_MSG_ERROR([Can't LÖVE 
without Mpg123]))
-AC_SEARCH_LIBS([mpg123_seek_64], [mpg123], 
AC_SUBST([FILE_OFFSET],[-D_FILE_OFFSET_BITS=64]), AC_SUBST([FILE_OFFSET],[]))
 AC_SEARCH_LIBS([ov_open], [vorbisfile], [], AC_MSG_ERROR([Can't LÖVE without 
VorbisFile]))
 AC_CONFIG_FILES([
        Makefile
Index: src/Makefile.am
===================================================================
--- src/Makefile.am.orig
+++ src/Makefile.am
@@ -31,8 +31,6 @@ love_SOURCES = \
 ./modules/sound/lullaby/VorbisDecoder.cpp \
 ./modules/sound/lullaby/Sound.h \
 ./modules/sound/lullaby/Sound.cpp \
-./modules/sound/lullaby/Mpg123Decoder.h \
-./modules/sound/lullaby/Mpg123Decoder.cpp \
 ./modules/sound/lullaby/ModPlugDecoder.h \
 ./modules/sound/lullaby/ModPlugDecoder.cpp \
 ./modules/sound/lullaby/Decoder.h \
Index: src/modules/sound/lullaby/Sound.cpp
===================================================================
--- src/modules/sound/lullaby/Sound.cpp.orig
+++ src/modules/sound/lullaby/Sound.cpp
@@ -21,7 +21,6 @@
 #include "Sound.h"
 
 #include "ModPlugDecoder.h"
-#include "Mpg123Decoder.h"
 #include "VorbisDecoder.h"
 //#include "FLACDecoder.h"
 
@@ -37,7 +36,6 @@ namespace lullaby
 
        Sound::~Sound()
        {
-               Mpg123Decoder::quit();
        }
 
        const char * Sound::getName() const
@@ -55,8 +53,6 @@ namespace lullaby
                // Find a suitable decoder here, and return it.
                if(ModPlugDecoder::accepts(ext))
                        decoder = new ModPlugDecoder(data, ext, bufferSize);
-               else if(Mpg123Decoder::accepts(ext))
-                       decoder = new Mpg123Decoder(data, ext, bufferSize);
                else if(VorbisDecoder::accepts(ext))
                        decoder = new VorbisDecoder(data, ext, bufferSize);
                /*else if (FLACDecoder::accepts(ext))
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to