[meego-commits] 5268: Changes to Trunk/SDL

Anas Nashif nashif at linux.intel.com
Thu Jul 1 03:03:10 UTC 2010


Hi,
I have made the following changes to SDL in project Trunk. Please review and accept ASAP.

Thank You,
Anas Nashif

[This message was auto-generated]

---

Request #5268:

  submit:   Trunk:Testing/SDL(r4) -> Trunk/SDL


Message:
    migrate from Testing after handset day1

State:   new          2010-06-30T14:59:28 nashif
Comment: None



changes files:
--------------
--- SDL.changes
+++ SDL.changes
@@ -1 +1,5 @@
-* Mon Jan 11, 2010 Bin Gao <bin.gao at intel.com> 1.2.14
+* Thu Jun 24 2010 Bin Gao <bin.gao at intel.com> 1.2.14
+- Fix %doc for man files
+- Disable static
+
+* Mon Jan 11 2010 Bin Gao <bin.gao at intel.com> 1.2.14

spec files:
-----------
--- SDL.spec
+++ SDL.spec
@@ -50,17 +50,6 @@
 device. This package provides the libraries, include files, and other
 resources needed for developing SDL applications.
 
-%package static
-Summary: Files needed to develop static Simple DirectMedia Layer applications
-Group: Development/Libraries
-Requires: SDL-devel = %{version}-%{release}
-
-%description static
-Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
-designed to provide fast access to the graphics frame buffer and audio
-device. This package provides the static libraries needed for developing
-static SDL applications.
-
 %prep
 %setup -q 
 %patch25 -p1 -b .disable_yasm
@@ -72,6 +61,7 @@
 autoconf
 libtoolize
 %configure \
+   --disable-static \
    --disable-video-svga --disable-video-ggi --disable-video-aalib \
    --disable-debug \
    --enable-sdl-dlopen \
@@ -94,6 +84,9 @@
 # remove libtool .la file
 rm -f %{buildroot}%{_libdir}/*.la
 
+# --disable-static doesn't work so we can only manually remove it, sigh...
+rm -f %{buildroot}%{_libdir}/*.a
+
 %clean
 rm -rf %{buildroot}
 
@@ -115,8 +108,5 @@
 %{_libdir}/pkgconfig/sdl.pc
 %{_includedir}/SDL
 %{_datadir}/aclocal/*
-%{_mandir}/man3/SDL*.3*
+%doc %{_mandir}/man3/SDL*.3*
 
-%files static
-%defattr(-,root,root)
-%{_libdir}/lib*.a

other changes:
--------------



More information about the MeeGo-commits mailing list