- Update to latest upstream release

- Drop no longer needed libnotify patch
- https://trac.transmissionbt.com/wiki/Changes
epel9
Rahul Sundaram 14 years ago
parent ef8ce1d2eb
commit 2c89c23661

1
.gitignore vendored

@ -2,3 +2,4 @@ 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 /transmission-2.13.tar.xz
/transmission-2.21.tar.xz

@ -1 +1 @@
b3aa2b987d275b52a13eebe16dc4ce1c transmission-2.13.tar.xz 8ded56c1b80ba5d5d312836ab2246f5c transmission-2.21.tar.xz

@ -1,17 +0,0 @@
diff -ur ../transmission-2.13.orig/gtk/notify.c ./gtk/notify.c
--- ../transmission-2.13.orig/gtk/notify.c 2010-12-10 01:23:21.000000000 +0530
+++ ./gtk/notify.c 2010-12-28 21:32:41.073397263 +0530
@@ -160,7 +160,12 @@
if( pref_flag_get( PREF_KEY_SHOW_DESKTOP_NOTIFICATION ) )
{
NotifyNotification * n = notify_notification_new(
- _( "Torrent Added" ), name, NULL, NULL );
+ _( "Torrent Added" ), 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 );
notify_notification_set_timeout( n, NOTIFY_EXPIRES_DEFAULT );
notify_notification_show( n, NULL );

@ -1,5 +1,5 @@
Name: transmission Name: transmission
Version: 2.13 Version: 2.21
Release: 1%{?dist} Release: 1%{?dist}
Summary: A lightweight GTK+ BitTorrent client Summary: A lightweight GTK+ BitTorrent client
@ -28,7 +28,6 @@ BuildRequires: GConf2-devel
BuildRequires: qt4-devel BuildRequires: qt4-devel
# this modification applies to the Qt qtr.pro file # this modification applies to the Qt qtr.pro file
Patch1: fix-optflags.patch Patch1: fix-optflags.patch
Patch2: transmission-libnotify-change.patch
Requires: transmission-cli Requires: transmission-cli
Requires: transmission-gtk Requires: transmission-gtk
%description %description
@ -94,7 +93,6 @@ exit 0
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p2
%build %build
%configure --disable-static --with-gtk --without-wx --enable-libcanberra --enable-libnotify --enable-daemon %configure --disable-static --with-gtk --without-wx --enable-libcanberra --enable-libnotify --enable-daemon
@ -207,6 +205,11 @@ update-desktop-database > /dev/null 2>&1 || :
%doc %{_mandir}/man1/transmission-qt.* %doc %{_mandir}/man1/transmission-qt.*
%changelog %changelog
* Wed Feb 09 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 2.21-1
- Update to latest upstream release
- Drop no longer needed libnotify patch
- https://trac.transmissionbt.com/wiki/Changes
* Tue Dec 28 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.13-1 * 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 - updated to latest upstream release: https://trac.transmissionbt.com/wiki/Changes
- fixes #654793 - fixes #654793

Loading…
Cancel
Save