Updated to 2.13

epel9
Ankur Sinha 14 years ago
parent f858a19c13
commit ef8ce1d2eb

1
.gitignore vendored

@ -1,3 +1,4 @@
transmission-2.03.tar.xz transmission-2.03.tar.xz
transmission-2.04.tar.xz transmission-2.04.tar.xz
/transmission-2.11.tar.xz /transmission-2.11.tar.xz
/transmission-2.13.tar.xz

@ -1 +1 @@
9890d0d090e2a5a860ad4cab045d2706 transmission-2.11.tar.xz b3aa2b987d275b52a13eebe16dc4ce1c transmission-2.13.tar.xz

@ -1,33 +1,17 @@
diff -ur ../transmission-2.11.orig/gtk/notify.c ./gtk/notify.c diff -ur ../transmission-2.13.orig/gtk/notify.c ./gtk/notify.c
--- ../transmission-2.11.orig/gtk/notify.c 2010-10-17 05:44:40.000000000 +0530 --- ../transmission-2.13.orig/gtk/notify.c 2010-12-10 01:23:21.000000000 +0530
+++ ./gtk/notify.c 2010-11-07 12:36:51.666315486 +0530 +++ ./gtk/notify.c 2010-12-28 21:32:41.073397263 +0530
@@ -129,8 +129,12 @@ @@ -160,7 +160,12 @@
NotifyNotification * n;
n = notify_notification_new( _( "Torrent Complete" ),
- info->name,
- NULL, NULL );
+ info->name, NULL
+/* the fourth argument was removed in libnotify 0.7.0 */
+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
+ , NULL
+#endif
+ );
addIcon( n );
if( can_support_actions( ) )
@@ -156,7 +160,13 @@
if( pref_flag_get( PREF_KEY_SHOW_DESKTOP_NOTIFICATION ) ) if( pref_flag_get( PREF_KEY_SHOW_DESKTOP_NOTIFICATION ) )
{ {
NotifyNotification * n = notify_notification_new( NotifyNotification * n = notify_notification_new(
- _( "Torrent Added" ), name, NULL, NULL ); - _( "Torrent Added" ), name, NULL, NULL );
+ _( "Torrent Added" ), name, NULL + _( "Torrent Added" ), name, NULL
+/* the fourth argument was removed in libnotify 0.7.0 */ +/* the fourth argument was removed in libnotify 0.7.0 */
+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7) +#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
+ , NULL + , NULL
+#endif +#endif
+ ); + );
+
addIcon( n ); addIcon( n );
notify_notification_set_timeout( n, NOTIFY_EXPIRES_DEFAULT ); notify_notification_set_timeout( n, NOTIFY_EXPIRES_DEFAULT );
notify_notification_show( n, NULL ); notify_notification_show( n, NULL );

@ -1,6 +1,6 @@
Name: transmission Name: transmission
Version: 2.11 Version: 2.13
Release: 3%{?dist} Release: 1%{?dist}
Summary: A lightweight GTK+ BitTorrent client Summary: A lightweight GTK+ BitTorrent client
Group: Applications/Internet Group: Applications/Internet
@ -207,6 +207,11 @@ update-desktop-database > /dev/null 2>&1 || :
%doc %{_mandir}/man1/transmission-qt.* %doc %{_mandir}/man1/transmission-qt.*
%changelog %changelog
* Tue Dec 28 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.13-1
- updated to latest upstream release: https://trac.transmissionbt.com/wiki/Changes
- fixes #654793
- update libnotify patch
* Sun Nov 07 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.11-3 * Sun Nov 07 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.11-3
- fix build errors - fix build errors
- update patch to fix another libnotify breakage - update patch to fix another libnotify breakage

Loading…
Cancel
Save