Hello community, here is the log from the commit of package libpt2 for openSUSE:Factory checked in at Mon Oct 11 15:01:14 CEST 2010. -------- --- libpt2/libpt2.changes 2010-08-11 13:03:55.000000000 +0200 +++ libpt2/libpt2.changes 2010-10-04 13:07:07.000000000 +0200 @@ -1,0 +2,9 @@ +Mon Oct 4 12:56:34 CEST 2010 - vuntz@opensuse.org + +- Disable the build of the dc plugin, since we're moving to the new + libraw1394 and libdc1394, and the code is not ready for this. We + have a %build_dc define to easily switch this back, and when the + build is disabled, we make libpt%{_version} obsolete the plugin + subpackage, to make sure it gets removed from install. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- ptlib-2.6.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpt2.spec ++++++ --- /var/tmp/diff_new_pack.kkV27V/_old 2010-10-11 15:01:10.000000000 +0200 +++ /var/tmp/diff_new_pack.kkV27V/_new 2010-10-11 15:01:10.000000000 +0200 @@ -16,11 +16,13 @@ # +%define build_dc 0 Name: libpt2 %define _name ptlib Version: 2.6.7 -Release: 1 +Release: 2 +# FIXME: when upgrading, check if the dc plugin builds with the current version of libdc1394 %define _version 2_6_7 License: MPLv1.0 Summary: Portable Windows Library from Equivalence Pty. Ltd. version 2 @@ -36,7 +38,9 @@ BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: libavc1394-devel -BuildRequires: libdc1394_control12-devel +%if %{build_dc} +BuildRequires: libdc1394-devel +%endif BuildRequires: libdv-devel BuildRequires: libexpat-devel BuildRequires: libstdc++-devel @@ -52,12 +56,16 @@ %package -n libpt%{_version} + License: MPLv1.0 Summary: Portable Windows Library from Equivalence Pty. Ltd. version 2 Group: System/Libraries # This used to be a subpackage Provides: libpt2-plugins-v4l2 = %{version} Obsoletes: libpt2-plugins-v4l2 < %{version} +%if ! %{build_dc} +Obsoletes: libpt%{_version}-plugins-dc <= %{version} +%endif %description -n libpt%{_version} This is a moderately large class library that was created many years @@ -80,6 +88,7 @@ %package -n libpt%{_version}-plugins-esd + License: MPLv1.0 Summary: ESD plugin for %{name} Group: System/Libraries @@ -93,6 +102,7 @@ %package -n libpt%{_version}-plugins-avc + License: MPLv1.0 Summary: AVC plugin for %{name} Group: System/Libraries @@ -106,8 +116,11 @@ This plugin enables AVC (firewire control for digital video cameras) support in %{name}. +%if %{build_dc} + %package -n libpt%{_version}-plugins-dc + License: MPLv1.0 Summary: DC plugin for %{name} Group: System/Libraries @@ -120,9 +133,11 @@ %description -n libpt%{_version}-plugins-dc This plugin enables DC control (via firewire for digital video cameras) for %{name}. +%endif %package -n libpt%{_version}-plugins-v4l + License: MPLv1.0 Summary: V4L support for %{name} Group: System/Libraries @@ -188,9 +203,12 @@ %defattr(-,root,root) %{_libdir}/%{_name}-%{version}/devices/videoinput/avc_pwplugin.so +%if %{build_dc} + %files -n libpt%{_version}-plugins-dc %defattr(-,root,root) %{_libdir}/%{_name}-%{version}/devices/videoinput/dc_pwplugin.so +%endif %files -n libpt%{_version}-plugins-v4l %defattr(-,root,root) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org