[ktorrent] better more-upstreamable mimetype_magnet.patch
Rex Dieter
rdieter at fedoraproject.org
Tue May 29 01:24:23 UTC 2012
commit 5c8d809f0b125832ddee22ffed11b54986dcd6bc
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Mon May 28 20:11:39 2012 -0500
better more-upstreamable mimetype_magnet.patch
explicitly drops installing deprecated magnet.protocol, in favor of
supporting x-scheme-handler/magnet directly in ktorrent.desktop
ktorrent-4.2.0-mimetype_magnet.patch | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/ktorrent-4.2.0-mimetype_magnet.patch b/ktorrent-4.2.0-mimetype_magnet.patch
index 2e5cfd5..1f9271c 100644
--- a/ktorrent-4.2.0-mimetype_magnet.patch
+++ b/ktorrent-4.2.0-mimetype_magnet.patch
@@ -1,6 +1,19 @@
-diff -up ktorrent-4.2.0/ktorrent/ktorrent.desktop.mimetypes ktorrent-4.2.0/ktorrent/ktorrent.desktop
---- ktorrent-4.2.0/ktorrent/ktorrent.desktop.mimetypes 2012-02-22 07:46:47.000000000 -0600
-+++ ktorrent-4.2.0/ktorrent/ktorrent.desktop 2012-03-29 11:46:21.077995757 -0500
+diff -up ktorrent-4.2.0/ktorrent/CMakeLists.txt.mimetype_magnet ktorrent-4.2.0/ktorrent/CMakeLists.txt
+--- ktorrent-4.2.0/ktorrent/CMakeLists.txt.mimetype_magnet 2012-02-22 07:46:47.000000000 -0600
++++ ktorrent-4.2.0/ktorrent/CMakeLists.txt 2012-05-28 20:10:14.057939643 -0500
+@@ -92,9 +92,5 @@ install(FILES ktorrentui.rc DESTINATION
+ install(FILES kttorrentactivityui.rc DESTINATION ${DATA_INSTALL_DIR}/ktorrent )
+ install(FILES ktorrent.notifyrc DESTINATION ${DATA_INSTALL_DIR}/ktorrent )
+
+-if (NOT ${ENABLE_KIO_MAGNET})
+- install(FILES magnet.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+-endif (NOT ${ENABLE_KIO_MAGNET})
+-
+
+ add_subdirectory(icons)
+diff -up ktorrent-4.2.0/ktorrent/ktorrent.desktop.mimetype_magnet ktorrent-4.2.0/ktorrent/ktorrent.desktop
+--- ktorrent-4.2.0/ktorrent/ktorrent.desktop.mimetype_magnet 2012-02-22 07:46:47.000000000 -0600
++++ ktorrent-4.2.0/ktorrent/ktorrent.desktop 2012-05-28 20:06:05.868042447 -0500
@@ -116,7 +116,7 @@ Exec=ktorrent %i -caption "%c" %u
Icon=ktorrent
Type=Application
More information about the scm-commits
mailing list