rpms/phonon/F-11 phonon-4.3.50-xine_pulseaudio.patch, NONE, 1.1 phonon-4.3.80-pa_min_ver.patch, NONE, 1.1 phonon_snapshot.sh, NONE, 1.1 .cvsignore, 1.12, 1.13 phonon.spec, 1.40, 1.41 sources, 1.14, 1.15 phonon-4.2.96-pulseaudio.patch, 1.1, NONE phonon-4.2.96-xine-pulseaudio.patch, 1.1, NONE phonon-4.3.2-gstreamer-utf8-url.patch, 1.1, NONE phonon-4.3.2-gstreamer-volumefader.patch, 1.1, NONE phonon-4.3.2-kdebug#172242-2.patch, 1.1, NONE phonon-4.3.2-kdebug#172242.patch, 1.1, NONE qt-x11-opensource-src-4.5.2-gst-pulsaudio.patch, 1.1, NONE

Rex Dieter rdieter at fedoraproject.org
Fri Dec 11 18:07:45 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/phonon/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15311

Modified Files:
	.cvsignore phonon.spec sources 
Added Files:
	phonon-4.3.50-xine_pulseaudio.patch 
	phonon-4.3.80-pa_min_ver.patch phonon_snapshot.sh 
Removed Files:
	phonon-4.2.96-pulseaudio.patch 
	phonon-4.2.96-xine-pulseaudio.patch 
	phonon-4.3.2-gstreamer-utf8-url.patch 
	phonon-4.3.2-gstreamer-volumefader.patch 
	phonon-4.3.2-kdebug#172242-2.patch 
	phonon-4.3.2-kdebug#172242.patch 
	qt-x11-opensource-src-4.5.2-gst-pulsaudio.patch 
Log Message:
sync w/devel for phonon-4.3.80 goodness


phonon-4.3.50-xine_pulseaudio.patch:
 backend.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE phonon-4.3.50-xine_pulseaudio.patch ---
diff -up phonon/xine/backend.cpp.pulseaudio phonon/xine/backend.cpp
--- phonon/xine/backend.cpp.pulseaudio	2009-10-03 14:00:19.000000000 -0500
+++ phonon/xine/backend.cpp	2009-10-19 12:23:17.768923476 -0500
@@ -649,7 +649,7 @@ void Backend::checkAudioOutputs()
                             "in KDE2 and KDE3. Its use is discouraged.</p></html>"),
                         /*icon name */"audio-backend-arts", outputPlugins[i]);
             } else if (0 == strcmp(outputPlugins[i], "pulseaudio")) {
-                addAudioOutput(nextIndex++, 10, tr("PulseAudio"),
+                addAudioOutput(nextIndex++, 2000, tr("PulseAudio"),
                         xine_get_audio_driver_plugin_description(m_xine, outputPlugins[i]),
                         /*icon name */"audio-backend-pulseaudio", outputPlugins[i]);
             } else if (0 == strcmp(outputPlugins[i], "esd")) {

phonon-4.3.80-pa_min_ver.patch:
 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE phonon-4.3.80-pa_min_ver.patch ---
diff -up phonon-4.3.80/phonon/CMakeLists.txt.phonon_ver phonon-4.3.80/phonon/CMakeLists.txt
--- phonon-4.3.80/phonon/CMakeLists.txt.phonon_ver	2009-12-03 13:29:35.000000000 -0600
+++ phonon-4.3.80/phonon/CMakeLists.txt	2009-12-11 12:03:20.413741629 -0600
@@ -8,7 +8,7 @@ endif (PHONON_BUILD_EXAMPLES)
 
 add_subdirectory(experimental)
 
-set(PULSEAUDIO_MINIMUM_VERSION "0.9.21")
+set(PULSEAUDIO_MINIMUM_VERSION "0.9.15")
 macro_optional_find_package(PulseAudio)
 macro_log_feature(PULSEAUDIO_FOUND "PulseAudio" "A cross-platform, networked sound server." "http://www.pulseaudio.org" FALSE "" "Allows audio playback via the PulseAudio soundserver when it is running")
 macro_optional_find_package(GLIB2)


--- NEW FILE phonon_snapshot.sh ---
#/bin/sh

DATE=$(date +%Y%m%d)
EXPORT_DIR=phonon

set -x
rm -rf $EXPORT_DIR
# app
svn export svn://anonsvn.kde.org/home/kde/trunk/kdesupport/phonon $EXPORT_DIR/

tar cjf $EXPORT_DIR-${DATE}svn.tar.bz2 $EXPORT_DIR

# cleanup
rm -rf $EXPORT_DIR



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/phonon/F-11/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- .cvsignore	7 Oct 2009 14:24:40 -0000	1.12
+++ .cvsignore	11 Dec 2009 18:07:44 -0000	1.13
@@ -1,8 +1,8 @@
 gstreamer-logo.svg
-phonon-4.3.1.tar.bz2
 hi128-phonon-gstreamer.png
 hi16-phonon-gstreamer.png
 hi22-phonon-gstreamer.png
 hi32-phonon-gstreamer.png
 hi48-phonon-gstreamer.png
 hi64-phonon-gstreamer.png
+phonon-4.3.80.tar.bz2


Index: phonon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/phonon/F-11/phonon.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -p -r1.40 -r1.41
--- phonon.spec	7 Oct 2009 14:24:40 -0000	1.40
+++ phonon.spec	11 Dec 2009 18:07:45 -0000	1.41
@@ -1,12 +1,16 @@
 
+#define snap 20091203svn
+
 Summary: Multimedia framework api
 Name:    phonon
-Version: 4.3.1
-Release: 102%{?dist}
+Version: 4.3.80
+Release: 2%{?dist}
 Group:   System Environment/Libraries
 License: LGPLv2+
 URL:     http://phonon.kde.org/
-Source0: ftp://ftp.kde.org/pub/kde/stable/4.2.1/phonon-%{version}.tar.bz2
+Source0: ftp://ftp.kde.org/pub/kde/unstable/phonon/phonon-%{version}.tar.bz2
+#Source0: phonon-%{snap}.tar.bz2
+Source1: phonon_snapshot.sh
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Source10: http://gstreamer.freedesktop.org/data/images/artwork/gstreamer-logo.svg
@@ -17,27 +21,15 @@ Source14: hi48-phonon-gstreamer.png
 Source15: hi64-phonon-gstreamer.png
 Source16: hi128-phonon-gstreamer.png
 
-# Make PulseAudio the default when listed by the backend.
-# Note that this currently only works for the Xine backend. Device selection in
-# the GStreamer backend is weird: there is a setting for "sink" which cannot be
-# set through systemsettings, and listed devices are only those supported by the
-# "sink". So it never lists "PulseAudio" as a supported device, you have to pick
-# it as a "sink", and then the device setting is ignored entirely.
-Patch0:  phonon-4.2.96-pulseaudio.patch
-Patch1:  phonon-4.2.96-xine-pulseaudio.patch
-Patch2:  qt-x11-opensource-src-4.5.2-gst-pulsaudio.patch
-
-## define to build phonon-backend-xine only
-#define xine_only 1
-#Patch10: phonon-4.3.1-xineonly.patch
+# Prefer PulseAudio
+# This one was easiest to port, but doesn't seem to work by itself as-is
+# maybe we can just wait for the improvie PA support to land.
+Patch1:  phonon-4.3.50-xine_pulseaudio.patch
+
+# relax min version of pulseaudio
+Patch2: phonon-4.3.80-pa_min_ver.patch
 
 ## Upstream patches
-Patch100: phonon-4.3.2-gstreamer-utf8-url.patch
-Patch101: phonon-4.3.2-gstreamer-volumefader.patch
-# fix for non-ascii filenames in xine backend
-Patch102: phonon-4.3.2-kdebug#172242.patch
-# escape '#' too
-Patch103: phonon-4.3.2-kdebug#172242-2.patch
 
 BuildRequires: automoc4 >= 0.9.86
 BuildRequires: cmake >= 2.6.0
@@ -50,14 +42,15 @@ BuildRequires: libxml2-devel
 BuildRequires: pkgconfig
 BuildRequires: qt4-devel
 BuildRequires: xine-lib-devel
+%if 0%{?fedora} > 10
+BuildRequires: pulseaudio-libs-devel >= 0.9.15
+%else
+%define pa_keep_old_hacks 1
+%endif
 
 Requires: phonon-backend%{?_isa} >= %{version}
 
-%if 0%{?fedora} > 11
-Requires: qt4%{?_isa} >= 4.5.2-21 
-%else
 Requires: qt4%{?_isa} >= %{_qt4_version}
-%endif
 
 %description
 %{summary}.
@@ -84,6 +77,7 @@ Summary: Gstreamer phonon backend
 Group:   Applications/Multimedia
 Epoch:   2
 Requires: %{name} = %{version}-%{release}
+Requires: gstreamer-plugins-good
 Provides: phonon-backend%{?_isa} = %{version}-%{release}
 Obsoletes: %{name}-backend-gst < 4.2.0-4
 Provides:  %{name}-backend-gst = %{version}-%{release}
@@ -92,19 +86,12 @@ Provides:  %{name}-backend-gst = %{versi
 
 
 %prep
-%setup -q -n phonon-%{version}%{?alphatag}
-%patch0 -p1 -b .pulseaudio
-%patch1 -p1 -b .xine-pulseaudio
-%patch2 -p4 -b .gst-pulseaudio
-%patch100 -p0 -b .gstreamer-utf8-url
-%patch101 -p0 -b .gstreamer-volumefader
-%patch102 -p1 -b .xine_nonascii
-%patch103 -p1 -b .xine_nonascii-2
-
-# not working?  use -C .../xine hack below instead for now  -- Rex
-%if 0%{?xine_only}
-#patch10 -p1 -b .xineonly
+%setup -q -n phonon%{!?snap:-%{version}}
+
+%if 0%{?pa_keep_old_hacks}
+%patch1 -p1 -b .xine_pulseaudio
 %endif
+%patch2 -p1 -b .pa_min_ver
 
 
 %build
@@ -121,6 +108,9 @@ rm -rf %{buildroot}
 
 make install/fast DESTDIR=%{buildroot} -C %{_target_platform}%{?xine_only:/xine}
 
+# symlink for qt/phonon compatibility
+ln -s ../KDE/Phonon %{buildroot}%{_includedir}/phonon/Phonon
+
 # move the oxygen-only phonon-xine icons to hicolor
 mv %{buildroot}%{_datadir}/icons/oxygen \
    %{buildroot}%{_datadir}/icons/hicolor
@@ -204,6 +194,31 @@ gtk-update-icon-cache %{_kde4_iconsdir}/
 
 
 %changelog
+* Thu Dec 03 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.80-2
+- phonon-4.3.80 (upstream tarball, yes getting rediculous now)
+
+* Thu Dec 03 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.80-1.20091203
+- phonon-4.3.80 (20091203 snapshot)
+
+* Thu Dec 03 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.50-6.20091203
+- phonon-4.3.50 (20091203 snapshot)
+
+* Mon Nov 30 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.50-5.20091124
+- backend-gstreamer: Requires: gstreamer-plugins-good
+
+* Fri Nov 27 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.50-4.20091124
+- ln -s ../KDE/Phonon %%_includedir/phonon/Phonon (qt/phonon compat)
+
+* Wed Nov 18 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.50-3.20091124
+- phonon-4.3.50 (20091124 snapshot)
+- enable pulseaudio integration (F-12+)
+
+* Wed Nov 18 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.50-2.20091118
+- phonon-4.3.50 (20091118 snapshot)
+
+* Mon Oct 19 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.50-1.20091019
+- phonon-4.3.50 (20091019 snapshot)
+
 * Sat Oct 03 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.1-102
 - Requires: qt4 >= 4.5.2-21 (f12+)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/phonon/F-11/sources,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- sources	7 Oct 2009 14:24:40 -0000	1.14
+++ sources	11 Dec 2009 18:07:45 -0000	1.15
@@ -1,8 +1,8 @@
 8e3924f417fea67f72b2105faed2119c  gstreamer-logo.svg
-767cb68052c108e95f293f30acdef3fb  phonon-4.3.1.tar.bz2
 60de9d7e1cddd019f09fd036f0e5413a  hi128-phonon-gstreamer.png
 7ca265e0cf75b3b4c81e1490d3dba3be  hi16-phonon-gstreamer.png
 0a9f69d901aded140d4fed969c22e14f  hi22-phonon-gstreamer.png
 12db12c009b722a6dc141f78feb7e330  hi32-phonon-gstreamer.png
 86c34a1b81d44980b1381f94ed6b7a23  hi48-phonon-gstreamer.png
 153505c71ec021b0a3bd4b74f2492e93  hi64-phonon-gstreamer.png
+6b0c5554291615433c14c3c38f741690  phonon-4.3.80.tar.bz2


--- phonon-4.2.96-pulseaudio.patch DELETED ---


--- phonon-4.2.96-xine-pulseaudio.patch DELETED ---


--- phonon-4.3.2-gstreamer-utf8-url.patch DELETED ---


--- phonon-4.3.2-gstreamer-volumefader.patch DELETED ---


--- phonon-4.3.2-kdebug#172242-2.patch DELETED ---


--- phonon-4.3.2-kdebug#172242.patch DELETED ---


--- qt-x11-opensource-src-4.5.2-gst-pulsaudio.patch DELETED ---




More information about the fedora-extras-commits mailing list