[SCM] Phonon Multimedia Framework packaging branch, master, updated. debian/4.6.0really4.4.4-2

Modestas Vainius modax at alioth.debian.org
Fri Mar 11 19:46:23 UTC 2011


The following commit has been merged in the master branch:
commit 60f9f89261f4b6775ecc2edb32bf3ec4f7de7d0a
Author: Modestas Vainius <modestas at vainius.eu>
Date:   Fri Mar 11 21:22:00 2011 +0200

    Add README.Debian to phonon-backend-null package.
    
    README.Debian describes the status and purpose of the phonon-backend-null
    package. It's based on the respective debconf template.
---
 debian/changelog                         |    1 +
 debian/phonon-backend-null.README.Debian |   19 +++++++++++++++++++
 debian/rules                             |    2 ++
 3 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d7844b7..71235e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ phonon (4:4.6.0really4.4.4-2~pre1) UNRELEASED; urgency=low
     - port debian/rules to dhmk keeping it dh compatible as much as possible.
   * Drop unused ${shlibs:Depends} from libphonon-dev and
     libphononexperimental-dev packages.
+  * Add README.Debian to phonon-backend-null package.
 
  -- Modestas Vainius <modax at debian.org>  Sat, 05 Mar 2011 11:59:29 +0200
 
diff --git a/debian/phonon-backend-null.README.Debian b/debian/phonon-backend-null.README.Debian
new file mode 100644
index 0000000..b201ab9
--- /dev/null
+++ b/debian/phonon-backend-null.README.Debian
@@ -0,0 +1,19 @@
+About this backend
+------------------
+
+This backend is not a real Phonon backend. Therefore Phonon based (i.e. most
+KDE and some Qt) applications will produce no audio or video output. Typically,
+this is an undesirable configuration which you might have gotten to
+unintentionally. However, `phonon-backend-null' might be useful if you are not
+interested in multimedia and you don't want to install a number of pretty heavy
+packages which real backends typically depend on.
+
+If you wish to restore full Phonon multimedia capabilities, install a real
+Phonon backend with your favourite package manager. The recommended backend
+is `${recommended_backend}' but you may choose any other package which provides
+the `phonon-backend' virtual package. Use whatever works best with your system
+setup.
+
+Phonon backend package names typically start with 'phonon-backend-' string by
+convention. Have a look at the packages suggested by the `phonon' package as
+well.
diff --git a/debian/rules b/debian/rules
index 7a94c80..5be32c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,4 +32,6 @@ override_dh_gencontrol:
 	        echo "$$cmd"; eval "$$cmd"; \
 	    fi; \
 	done
+	sed -i 's/\$${recommended_backend}/$(RECOMMENDED_PHONON_BACKEND)/g' \
+	    debian/phonon-backend-null/usr/share/doc/phonon-backend-null/README.Debian
 	$(overriden_command) -- -Vphonon:Recommended-Backend=$(RECOMMENDED_PHONON_BACKEND)

-- 
Phonon Multimedia Framework packaging



More information about the pkg-kde-commits mailing list