Hello community,
here is the log from the commit of package clanlib for openSUSE:Factory
checked in at Mon May 4 18:00:17 CEST 2009.
--------
--- clanlib/clanlib.changes 2009-03-29 23:54:51.000000000 +0200
+++ /mounts/work_src_done/STABLE/clanlib/clanlib.changes 2009-04-30 14:33:43.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Apr 30 09:30:38 CEST 2009 - prusnak@suse.cz
+
+- updated to 2.0.1
+ * changes too numerous to list
+- fixed the same variable used twice in expression (used-twice.patch)
+- removed obsoleted patches
+ * endian.patch (not needed anymore)
+ * delete.patch (mainline)
+ * includes.patch
+
+-------------------------------------------------------------------
@@ -349 +360 @@
-Mon Feb 28 19:17:11 MET 2000 - sndirschsuse.de
+Mon Feb 28 19:17:11 MET 2000 - sndirsch@suse.de
calling whatdependson for head-i586
Old:
----
clanlib-0.8.1-delete.patch
clanlib-0.8.1-endian.patch
ClanLib-0.8.1-gcc44.patch
clanlib-0.8.1-includes.patch
ClanLib-0.8.1.tar.bz2
New:
----
ClanLib-2.0.1.tar.bz2
clanlib-2.0.1-used-twice.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ clanlib.spec ++++++
--- /var/tmp/diff_new_pack.I11792/_old 2009-05-04 17:59:40.000000000 +0200
+++ /var/tmp/diff_new_pack.I11792/_new 2009-05-04 17:59:40.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package clanlib (Version 0.8.1)
+# spec file for package clanlib (Version 2.0.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,21 +17,20 @@
# norootforbuild
+%define clan_ver 2.0
Name: clanlib
-BuildRequires: SDL_gfx-devel gcc-c++ libjpeg-devel libmikmod-devel libogg-devel libpng-devel libvorbis-devel libxslt zlib-devel
-License: LGPL v2.1 or later
+License: Other uncritical OpenSource License
Group: System/Libraries
Url: http://www.clanlib.org/
-Version: 0.8.1
-Release: 74
+Version: 2.0.1
+Release: 1
Summary: A Portable Interface for Writing Games
Source: ClanLib-%{version}.tar.bz2
-Patch0: %{name}-%{version}-endian.patch
-Patch1: %{name}-%{version}-includes.patch
-Patch2: %{name}-%{version}-delete.patch
-Patch3: ClanLib-0.8.1-gcc44.patch
+Patch0: %{name}-%{version}-used-twice.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: Mesa-devel alsa-devel fontconfig-devel freetype2-devel libjpeg-devel libmikmod-devel libogg-devel libpng-devel libstdc++-devel libvorbis-devel libxslt pcre-devel sqlite3-devel zlib-devel
+BuildRequires: doxygen gcc-c++
%description
ClanLib delivers a platform-independent interface for writing games.
@@ -44,7 +43,7 @@
Daniel Vogel <666@grafzahl.de>
%package devel
-License: LGPL v2.1 or later
+License: Other uncritical OpenSource License
Requires: Mesa-devel libstdc++-devel
Requires: %{name} = %{version}
Summary: A portable interface for writing games
@@ -60,32 +59,59 @@
Magnus Norddahl
Daniel Vogel <666@grafzahl.de>
+%package doc
+License: Other uncritical OpenSource License
+Requires: %{name} = %{version}
+Summary: A Portable Interface for Writing Games
+Group: Documentation/HTML
+
+%description doc
+ClanLib delivers a platform-independent interface for writing games.
+
+
+
+Authors:
+--------
+ Magnus Norddahl
+ Daniel Vogel <666@grafzahl.de>
+
+%package examples
+License: Other uncritical OpenSource License
+Requires: %{name} = %{version}
+Requires: %{name}-devel = %{version}
+Summary: A Portable Interface for Writing Games
+Group: Documentation/Other
+
+%description examples
+ClanLib delivers a platform-independent interface for writing games.
+
+
+
+Authors:
+--------
+ Magnus Norddahl
+ Daniel Vogel <666@grafzahl.de>
+
%prep
%setup -q -n ClanLib-%{version}
%patch0
-%patch1
-%patch2
-%patch3
+rm -f Examples/*/*.{sln,vcproj}
+chmod -x Examples/Methane/resources/*
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
%ifarch %ix86
-%configure --with-pic --disable-static --enable-asm386
+%configure --with-pic --disable-static --enable-asm386 --enable-docs
%else
-%configure --with-pic --disable-static --disable-asm386
+%configure --with-pic --disable-static --disable-asm386 --enable-docs
%endif
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
-DOCDIR=$RPM_BUILD_ROOT%{_defaultdocdir}/clanlib-devel
-mkdir -p $DOCDIR
-mv $RPM_BUILD_ROOT%{_datadir}/doc/clanlib/* $DOCDIR
-rmdir $RPM_BUILD_ROOT%{_datadir}/doc/clanlib
-cp -r Examples $DOCDIR
-cp CODING_STYLE PATCHES README.anjuta README.kdevelop README.sdl TODO-RSN $DOCDIR
-%{__rm} -f %{buildroot}%{_libdir}/*.la
+rm -f %{buildroot}%{_libdir}/*.la
+cp -a Examples $RPM_BUILD_ROOT%{_datadir}/doc/clanlib-%{clan_ver}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -96,18 +122,36 @@
%files
%defattr(-, root, root)
-%doc COPYING CREDITS NEWS README
+%doc COPYING CREDITS README
%{_libdir}/libclan*.so.*
%files devel
%defattr(-, root, root)
-%docdir %{_defaultdocdir}/clanlib-devel
-%{_defaultdocdir}/clanlib-devel
+%doc CODING_STYLE PATCHES PERFORMANCE.txt README.anjuta README.kdevelop TODO.txt
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_libdir}/libclan*.so
+%files doc
+%defattr(-, root, root)
+%dir %{_datadir}/doc/clanlib-%{clan_ver}
+%{_datadir}/doc/clanlib-%{clan_ver}/*
+%exclude %{_datadir}/doc/clanlib-%{clan_ver}/Examples
+
+%files examples
+%defattr(-, root, root)
+%dir %{_datadir}/doc/clanlib-%{clan_ver}/Examples
+%{_datadir}/doc/clanlib-%{clan_ver}/Examples/*
+
%changelog
+* Thu Apr 30 2009 prusnak@suse.cz
+- updated to 2.0.1
+ * changes too numerous to list
+- fixed the same variable used twice in expression (used-twice.patch)
+- removed obsoleted patches
+ * endian.patch (not needed anymore)
+ * delete.patch (mainline)
+ * includes.patch
* Sun Mar 29 2009 crrodriguez@suse.de
- fix build with GCC 44
* Mon Nov 10 2008 prusnak@suse.cz
@@ -275,7 +319,7 @@
- Remove framebuffer support for SPARC
* Tue Mar 14 2000 ro@suse.de
- fixed to compile on alpha
- Mon Feb 28 19:17:11 MET 2000 - sndirschsuse.de
+* Mon Feb 28 2000 sndirsch@suse.de
- fixed some problems with undefined symbols in libclanMagick.so
- added shared library libMagick.so again for this
* Fri Feb 18 2000 sndirsch@suse.de
++++++ ClanLib-0.8.1.tar.bz2 -> ClanLib-2.0.1.tar.bz2 ++++++
clanlib/ClanLib-0.8.1.tar.bz2 /mounts/work_src_done/STABLE/clanlib/ClanLib-2.0.1.tar.bz2 differ: byte 11, line 1
++++++ clanlib-2.0.1-used-twice.patch ++++++
--- Sources/GDI/software_fragment_shader.h
+++ Sources/GDI/software_fragment_shader.h
@@ -76,10 +76,10 @@
const unsigned int salpha = *(read_ptr);
const unsigned int neg_alpha = 255 - salpha;
- *(line++) = (*line * neg_alpha + sblue * salpha) >> 8;
- *(line++) = (*line * neg_alpha + sgreen * salpha) >> 8;
- *(line++) = (*line * neg_alpha + sred * salpha) >> 8;
- *(line++) = (*line * neg_alpha + salpha * salpha) >> 8;
+ *line = (*line * neg_alpha + sblue * salpha) >> 8; ++line;
+ *line = (*line * neg_alpha + sgreen * salpha) >> 8; ++line;
+ *line = (*line * neg_alpha + sred * salpha) >> 8; ++line;
+ *line = (*line * neg_alpha + salpha * salpha) >> 8; ++line;
cur_varying_0i += dx_varying_0i;
}
@@ -100,10 +100,10 @@
const unsigned int salpha = (*(read_ptr) * cur_varying_5i) >> 8;
const unsigned int neg_alpha = 255 - salpha;
- *(line++) = (*line * neg_alpha + sblue * salpha) >> 8;
- *(line++) = (*line * neg_alpha + sgreen * salpha) >> 8;
- *(line++) = (*line * neg_alpha + sred * salpha) >> 8;
- *(line++) = (*line * neg_alpha + salpha * salpha) >> 8;
+ *line = (*line * neg_alpha + sblue * salpha) >> 8; ++line;
+ *line = (*line * neg_alpha + sgreen * salpha) >> 8; ++line;
+ *line = (*line * neg_alpha + sred * salpha) >> 8; ++line;
+ *line = (*line * neg_alpha + salpha * salpha) >> 8; ++line;
cur_varying_0i += dx_varying_0i;
}
@@ -127,10 +127,10 @@
const unsigned int salpha = (*(read_ptr) * cur_varying_5i) >> 8;
const unsigned int neg_alpha = 255 - salpha;
- *(line++) = (*line * neg_alpha + sblue * salpha) >> 8;
- *(line++) = (*line * neg_alpha + sgreen * salpha) >> 8;
- *(line++) = (*line * neg_alpha + sred * salpha) >> 8;
- *(line++) = (*line * neg_alpha + salpha * salpha) >> 8;
+ *line = (*line * neg_alpha + sblue * salpha) >> 8; ++line;
+ *line = (*line * neg_alpha + sgreen * salpha) >> 8; ++line;
+ *line = (*line * neg_alpha + sred * salpha) >> 8; ++line;
+ *line = (*line * neg_alpha + salpha * salpha) >> 8; ++line;
cur_varying_0i += dx_varying_0i;
cur_varying_1i += dx_varying_1i;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org