public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/transmission] epel10: * Sun Nov 07 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.11-2
@ 2026-07-20 20:36 Ankur Sinha
  0 siblings, 0 replies; only message in thread
From: Ankur Sinha @ 2026-07-20 20:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/transmission
            Branch : epel10
            Commit : e94b5972fe544734a02e95c0754d962df5998125
            Author : Ankur Sinha <ankursinha@fedoraproject.org>
            Date   : 2010-11-07T12:19:15+05:30
            Stats  : +22/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/transmission/c/e94b5972fe544734a02e95c0754d962df5998125?branch=epel10

            Log:
            * Sun Nov 07 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.11-2
- added patch to fix breakage for libnotify API changes

---
diff --git a/transmission-libnotify-change.patch b/transmission-libnotify-change.patch
new file mode 100644
index 0000000..9f50805
--- /dev/null
+++ b/transmission-libnotify-change.patch
@@ -0,0 +1,18 @@
+diff -ur ../transmission-2.11.orig/gtk/notify.c ./gtk/notify.c
+--- ../transmission-2.11.orig/gtk/notify.c	2010-10-17 05:44:40.000000000 +0530
++++ ./gtk/notify.c	2010-11-07 12:14:20.375068547 +0530
+@@ -129,8 +129,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( ) )

diff --git a/transmission.spec b/transmission.spec
index 5a6a119..48cda63 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -1,6 +1,6 @@
 Name:           transmission
 Version:        2.11
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 
 Group:          Applications/Internet
@@ -205,6 +205,9 @@ update-desktop-database > /dev/null 2>&1 || :
 %doc %{_mandir}/man1/transmission-qt.*
 
 %changelog
+* Sun Nov 07 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.11-2
+- added patch to fix breakage for libnotify API changes
+
 * Thu Oct 21 2010 Pavol Šimo <palos AT fedoraproject DOT org> - 2.11-1
 - updated to latest release version
 - added new files, updated fix-optflag.patch

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 20:36 [rpms/transmission] epel10: * Sun Nov 07 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.11-2 Ankur Sinha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox