[meego-commits] 7439: Changes to Trunk:Testing/gstreamer

Lisa Yue no_reply at build.meego.com
Fri Sep 10 06:22:48 UTC 2010


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

Thank You,
Lisa Yue

[This message was auto-generated]

---

Request #7439:

  submit:   home:lisayue:branches:Trunk:Testing/gstreamer(r17)(cleanup) -> Trunk:Testing/gstreamer


Message:
    Fix gstreamer part of BMC#6520
* Fri Sep 03 2010 Ling Yue <ling.yue at intel.com> - 0.10.30
- Remove BR of : ogg, theora, vorbis
- Subpackage: rename -doc to -devel-docs, add -tools
- --enable-gtk-doc and put docs in devel-docs
- Add more configure options to reduce image size:  
  --disable-gst-debug, --disable-loadsave, --disable-nls
- Add CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS" as release
  build doesn't need them
- Remove --disable-check  and add libgstcheck related files to enable unit test
  library build
- Fix the mismatch in %file.

State:   new          2010-09-09T23:22:47 lisayue
Comment: None



changes files:
--------------
--- gstreamer.changes
+++ gstreamer.changes
@@ -0,0 +1,12 @@
+* Fri Sep 03 2010 Ling Yue <ling.yue at intel.com> - 0.10.30
+- Remove BR of : ogg, theora, vorbis
+- Subpackage: rename -doc to -devel-docs, add -tools
+- --enable-gtk-doc and put docs in devel-docs
+- Add more configure options to reduce image size:  
+  --disable-gst-debug, --disable-loadsave, --disable-nls
+- Add CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS" as release
+  build doesn't need them
+- Remove --disable-check  and add libgstcheck related files to enable unit test
+  library build
+- Fix the mismatch in %file.
+

spec files:
-----------
--- gstreamer.spec
+++ gstreamer.spec
@@ -1,6 +1,6 @@
 # 
-# Do not Edit! Generated by:
-# spectacle version 0.18
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.19
 # 
 # >> macros
 # << macros
@@ -18,9 +18,6 @@
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 BuildRequires:  pkgconfig(gtk-doc)
-BuildRequires:  pkgconfig(ogg)
-BuildRequires:  pkgconfig(theora)
-BuildRequires:  pkgconfig(vorbis)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(gobject-introspection-1.0)
@@ -51,16 +48,26 @@
 documentation packages for any plugins you intend to use.
 
 
-%package doc
+%package devel-docs
 Summary:    API reference for GStreamer
 Group:      Documentation
 Requires:   %{name} = %{version}-%{release}
 
-%description doc
+%description devel-docs
 This package contains developer documentation for the GStreamer streaming
 media framework.
 
 
+%package tools
+Summary:    Common tools and files for GStreamer streaming media framework
+Group:      Applications/Multimedia
+Requires:   %{name} = %{version}-%{release}
+
+%description tools
+This package contains wrapper scripts for the command-line tools that work
+with different major/minor versions of GStreamer.
+
+
 
 %prep
 %setup -q -n %{name}-%{version}
@@ -72,18 +79,21 @@
 
 %build
 # >> build pre
+export CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS"
 # << build pre
 
 %configure --disable-static \
     --with-package-name='Meego GStreamer package' \
     --with-package-origin='http://www.meego.org' \
-    --disable-gtk-doc \
+    --enable-gtk-doc \
     --disable-dependency-tracking \
     --disable-examples \
     --disable-tests \
-    --disable-check \
     --disable-valgrind \
     --disable-debug \
+    --disable-gst-debug \
+    --disable-nls \
+    --disable-loadsave \
     --enable-introspection
 
 make %{?jobs:-j%jobs}
@@ -98,7 +108,6 @@
 
 # >> install post
 # << install post
-%find_lang gstreamer-0.10
 
 
 
@@ -107,13 +116,20 @@
 %postun -p /sbin/ldconfig
 
 
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+
 
 
 
 
 
 
-%files -f gstreamer-0.10.lang
+%files
 %defattr(-,root,root,-)
 # >> files
 %doc AUTHORS COPYING NEWS README RELEASE TODO
@@ -128,22 +144,24 @@
 %dir %{_libdir}/girepository-1.0
 %{_libdir}/girepository-1.0/Gst-0.10.typelib
 %{_libdir}/girepository-1.0/GstBase-0.10.typelib
+%{_libdir}/girepository-1.0/GstCheck-0.10.typelib
 %{_libdir}/girepository-1.0/GstController-0.10.typelib
 %{_libdir}/girepository-1.0/GstNet-0.10.typelib
 %dir %{_libexecdir}/gstreamer-0.10
 %{_libexecdir}/gstreamer-0.10/gst-plugin-scanner
-%{_bindir}/gst-feedback
-%{_bindir}/gst-inspect
-%{_bindir}/gst-launch
-%{_bindir}/gst-typefind
-%{_bindir}/gst-xmlinspect
-%{_bindir}/gst-xmllaunch
 %{_bindir}/gst-feedback-0.10
 %{_bindir}/gst-inspect-0.10
 %{_bindir}/gst-launch-0.10
 %{_bindir}/gst-typefind-0.10
 %{_bindir}/gst-xmlinspect-0.10
-%{_bindir}/gst-xmllaunch-0.10
+#deprecated
+#%{_bindir}/gst-xmllaunch-0.10
+%doc %{_mandir}/man1/gst-feedback-0.10.*
+%doc %{_mandir}/man1/gst-inspect-0.10.*
+%doc %{_mandir}/man1/gst-launch-0.10.*
+%doc %{_mandir}/man1/gst-typefind-0.10.*
+%doc %{_mandir}/man1/gst-xmlinspect-0.10.*
+#%doc %{_mandir}/man1/gst-xmllaunch-0.10.*
 # << files
 
 
@@ -153,39 +171,48 @@
 %dir %{_includedir}/gstreamer-0.10
 %dir %{_includedir}/gstreamer-0.10/gst
 %{_includedir}/gstreamer-0.10/gst/*.h
-%doc %{_mandir}/man1/gst-feedback-0.10.*
-%doc %{_mandir}/man1/gst-inspect-0.10.*
-%doc %{_mandir}/man1/gst-launch-0.10.*
-%doc %{_mandir}/man1/gst-typefind-0.10.*
-%doc %{_mandir}/man1/gst-xmlinspect-0.10.*
-%doc %{_mandir}/man1/gst-xmllaunch-0.10.*
 %{_includedir}/gstreamer-0.10/gst/base
+%{_includedir}/gstreamer-0.10/gst/check
 %{_includedir}/gstreamer-0.10/gst/controller
 %{_includedir}/gstreamer-0.10/gst/dataprotocol
 %{_includedir}/gstreamer-0.10/gst/net
 %{_datadir}/aclocal/gst-element-check-0.10.m4
 %{_libdir}/libgstreamer-0.10.so
 %{_libdir}/libgstbase-0.10.so
+%{_libdir}/libgstcheck-0.10.so*
 %{_libdir}/libgstcontroller-0.10.so
 %{_libdir}/libgstdataprotocol-0.10.so
 %{_libdir}/libgstnet-0.10.so
 %{_libdir}/pkgconfig/gstreamer-0.10.pc
 %{_libdir}/pkgconfig/gstreamer-base-0.10.pc
 %{_libdir}/pkgconfig/gstreamer-controller-0.10.pc
+%{_libdir}/pkgconfig/gstreamer-check-0.10.pc
 %{_libdir}/pkgconfig/gstreamer-dataprotocol-0.10.pc
 %{_libdir}/pkgconfig/gstreamer-net-0.10.pc
 %dir %{_datadir}/gir-1.0
 %{_datadir}/gir-1.0/Gst-0.10.gir
 %{_datadir}/gir-1.0/GstBase-0.10.gir
+%{_datadir}/gir-1.0/GstCheck-0.10.gir
 %{_datadir}/gir-1.0/GstController-0.10.gir
 %{_datadir}/gir-1.0/GstNet-0.10.gir
 # << files devel
 
-%files doc
+%files devel-docs
 %defattr(-,root,root,-)
-# >> files doc
+# >> files devel-docs
 %doc %{_datadir}/gtk-doc/html/gstreamer-0.10/*
 %doc %{_datadir}/gtk-doc/html/gstreamer-libs-0.10/*
 %doc %{_datadir}/gtk-doc/html/gstreamer-plugins-0.10/*
-# << files doc
+# << files devel-docs
+
+%files tools
+%defattr(-,root,root,-)
+# >> files tools
+%{_bindir}/gst-feedback
+%{_bindir}/gst-inspect
+%{_bindir}/gst-launch
+%{_bindir}/gst-typefind
+%{_bindir}/gst-xmlinspect
+#%{_bindir}/gst-xmllaunch
+# << files tools
 

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

++++++ gstreamer.yaml
--- gstreamer.yaml
+++ gstreamer.yaml
@@ -23,9 +23,6 @@
     - check
 PkgConfigBR:
     - gtk-doc
-    - ogg
-    - theora
-    - vorbis
     - glib-2.0
     - libxml-2.0
     - gobject-introspection-1.0
@@ -33,15 +30,18 @@
 ConfigOptions:
     - --with-package-name='Meego GStreamer package'
     - --with-package-origin='http://www.meego.org'
-    - --disable-gtk-doc
+    - --enable-gtk-doc 
     - --disable-dependency-tracking
     - --disable-examples
     - --disable-tests
-    - --disable-check
     - --disable-valgrind
     - --disable-debug
+    - --disable-gst-debug
+    - --disable-nls
+    - --disable-loadsave
     - --enable-introspection
-LocaleName: gstreamer-0.10
+#disable-nls to reduce size, so avoid use %find_lang
+#LocaleName: gstreamer-0.10
 SubPackages:
     - Name: devel
       Summary: Development tools for GStreamer
@@ -52,10 +52,16 @@
           with GStreamer, consider installing the gstreamer-devel-docs package and the
           documentation packages for any plugins you intend to use.
 
-    - Name: doc
+    - Name: devel-docs
       Summary: API reference for GStreamer
       Group: Documentation
       Description: |
           This package contains developer documentation for the GStreamer streaming
           media framework.
 
+    - Name: tools
+      Summary: Common tools and files for GStreamer streaming media framework
+      Group: Applications/Multimedia
+      Description: |
+          This package contains wrapper scripts for the command-line tools that work
+          with different major/minor versions of GStreamer.




More information about the MeeGo-commits mailing list