1
0
forked from pool/SDL_image
OBS User unknown 2007-07-27 00:09:20 +00:00 committed by Git OBS Bridge
parent f02a9f7f59
commit dfa9fe5743
5 changed files with 33 additions and 31 deletions

View File

@ -1,12 +0,0 @@
--- IMG_xcf.c
+++ IMG_xcf.c
@@ -640,7 +640,8 @@
*row++ = 0xFF000000
| (((Uint32) (*p8)) << 16)
| (((Uint32) (*p8)) << 8)
- | (((Uint32) (*p8++)) << 0);
+ | (((Uint32) (*p8)) << 0);
+ p8++;
}
break;
default:

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0c1d80f01cf24e1bbd9fb42d529fa99bfc09b67b44e8365160f3d53871dfa2e
size 1258132

3
SDL_image-1.2.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89d675bea020fed1b28da33587bad884ba886d8b590b70fb545eff78b82183bb
size 1221313

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jul 25 17:47:08 CEST 2007 - prusnak@suse.cz
- updated to 1.2.6
* PNG and TIFF images are correctly identified even if dynamic
libraries to load them aren't available
* fixed loading of TIFF images using libtiff
* fixed static linking with libjpeg
* fixed crash in IMG_ReadXPMFromArray()
- dropped obsolete patch:
* xcfinc.diff (included in update)
-------------------------------------------------------------------
Sun Jul 22 18:50:51 CEST 2007 - aj@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package SDL_image (Version 1.2.5)
# spec file for package SDL_image (Version 1.2.6)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -14,14 +14,12 @@ Name: SDL_image
BuildRequires: SDL-devel libjpeg-devel libpng-devel libtiff-devel xorg-x11-libX11-devel
URL: http://www.libsdl.org/projects/SDL_image/
Summary: Simple DirectMedia Layer--Sample Image Loading Library
Version: 1.2.5
Release: 74
Version: 1.2.6
Release: 1
Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-xcfinc.diff
License: LGPL v2 or later
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: %{_prefix}
%description
This is a simple library to load images of various formats as SDL
@ -52,14 +50,9 @@ Authors:
%prep
%setup -q
%patch0
%build
%{?suse_update_config:%{suse_update_config -f }}
rm acinclude.m4 ; touch acinclude.m4 # Only contains SDL.m4 and libtool.m4
libtoolize --copy --force
aclocal
autoconf
%configure
make %{?jobs:-j %jobs}
@ -67,10 +60,10 @@ make %{?jobs:-j %jobs}
make install DESTDIR=$RPM_BUILD_ROOT
%post
%run_ldconfig
/sbin/ldconfig
%postun
%run_ldconfig
/sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
@ -78,15 +71,24 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README CHANGES COPYING
%{prefix}/%_lib/lib*.so.*
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%{prefix}/%_lib/*a
%{prefix}/include/SDL/
%{prefix}/%_lib/lib*.so
%{_libdir}/*a
%{_includedir}/SDL
%{_libdir}/lib*.so
%changelog
* Wed Jul 25 2007 - prusnak@suse.cz
- updated to 1.2.6
* PNG and TIFF images are correctly identified even if dynamic
libraries to load them aren't available
* fixed loading of TIFF images using libtiff
* fixed static linking with libjpeg
* fixed crash in IMG_ReadXPMFromArray()
- dropped obsolete patch:
* xcfinc.diff (included in update)
* Sun Jul 22 2007 - aj@suse.de
- Cleanup build requires.
* Fri Mar 02 2007 - prusnak@suse.cz