[SCM] smplayer/master: Refresh handle_local_urls.diff.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Feb 16 10:51:31 UTC 2012


The following commit has been merged in the master branch:
commit 4a538d6c52ef070dc9c03674cfd8c0ae2666e483
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Feb 16 11:50:29 2012 +0100

    Refresh handle_local_urls.diff.

diff --git a/debian/patches/handle_local_urls.diff b/debian/patches/handle_local_urls.diff
index f13a563..f64c71d 100644
--- a/debian/patches/handle_local_urls.diff
+++ b/debian/patches/handle_local_urls.diff
@@ -8,10 +8,12 @@ Bug-Debian: http://bugs.debian.org/583398
 Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3294481&group_id=185512&atid=913575
 Last-Update: 2011-04-28
 ---
-Index: smplayer-git/src/smplayer.cpp
-===================================================================
---- smplayer-git.orig/src/smplayer.cpp	2011-04-29 01:07:42.000000000 +0700
-+++ smplayer-git/src/smplayer.cpp	2011-05-12 20:16:40.615284813 +0700
+---
+ src/smplayer.cpp |    7 +++++++
+ 1 file changed, 7 insertions(+)
+
+--- smplayer.orig/src/smplayer.cpp
++++ smplayer/src/smplayer.cpp
 @@ -30,6 +30,7 @@
  
  #include <QDir>
@@ -20,16 +22,16 @@ Index: smplayer-git/src/smplayer.cpp
  
  #include <stdio.h>
  
-@@ -242,6 +243,12 @@
+@@ -241,6 +242,12 @@ SMPlayer::ExitCode SMPlayer::processArgs
  		}
  		else {
  			// File
 +			QUrl fUrl = QUrl::fromUserInput(argument);
-+			
++
 +			if (fUrl.isValid() && fUrl.scheme().toLower() == "file") {
 +			    argument = fUrl.toLocalFile();
 +			}
-+			
++
  			if (QFile::exists( argument )) {
  				argument = QFileInfo(argument).absoluteFilePath();
  			}

-- 
smplayer packaging



More information about the pkg-multimedia-commits mailing list