Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: pidgin

pidgin (1:2.13.0-2ubuntu1) eoan; urgency=medium * Minimize delta with Debian: remaining changes: - Bump epoch - add unity integration - make libpurple-dev multiarch (not tagged ad such since it still requires work on plugins) - update preferences file. - add Ubuntu patches: - 04_let_crasher_for_apport.patch - 05_default_to_irc_ubuntu_com.patch - 10_docklet_default_off.patch - 11_buddy_list_really_show.patch - 13_sounds_and_timers.patch - 60_1024x600_gtkpounce.c.patch - 60_1024x600_gtkprefs.c.patch - xmessagingmenu.patch - pounce-webview.patch - remove-double-chat-section.patch (fix for desktop file) -- Gianfranco Costamagna <locutusofborg@debian.org> Thu, 23 May 2019 16:41:24 +0200

Modifications :
  1. Download patch debian/pidgin-dev.install

    --- 2.13.0-2/debian/pidgin-dev.install 2013-02-12 01:28:27.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/pidgin-dev.install 2018-07-19 12:45:01.000000000 +0000 @@ -1,4 +1,4 @@ -build/doc/html usr/share/doc/pidgin-dev/ +build/doc/html/*.{html,gif,png} usr/share/doc/pidgin-dev/html debian/tmp/usr/include/pidgin debian/tmp/usr/lib/pkgconfig/pidgin.pc debian/dh_pidgin usr/bin
  2. Download patch debian/rules

    --- 2.13.0-2/debian/rules 2017-03-10 02:14:54.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/rules 2018-07-19 12:45:03.000000000 +0000 @@ -11,13 +11,16 @@ include /usr/share/cdbs/1/rules/utils.mk # Build into a separate directory DEB_BUILDDIR = $(DEB_SRCDIR)/build +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) LDFLAGS += -Wl,--as-needed DEB_CONFIGURE_EXTRA_FLAGS = --disable-gevolution \ --enable-cap --with-system-ssl-certs=/etc/ssl/certs \ --enable-perl --with-zephyr=/usr --enable-dbus --enable-gnutls=no \ --enable-nss=yes --enable-cyrus-sasl --enable-vv \ - --enable-tcl --enable-tk \ + --enable-tcl --enable-tk --enable-unity \ + --with-python=python3 \ + --with-tclconfig=/usr/lib/$(DEB_HOST_MULTIARCH) \ --with-dynamic-prpls=bonjour,gg,irc,jabber,novell,oscar,sametime,simple,zephyr # disable silc ifeq ($(DEB_BUILD_ARCH_OS),linux) DEB_CONFIGURE_EXTRA_FLAGS += --enable-nm @@ -64,6 +67,17 @@ common-install-impl:: -e '/@OSCAR_AUTHORS@/r libpurple/protocols/oscar/AUTHORS' \ -e '/@OSCAR_AUTHORS@/d' \ debian/copyright.in > debian/copyright + # Translation domain to desktop file + echo 'X-Ubuntu-Gettext-Domain=pidgin' >> debian/tmp/usr/share/applications/pidgin.desktop + # Call intltool-update to build the .pot + cd $(DEB_SRCDIR)/po; intltool-update -p + + # see LP: #1508632 + mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig + mv debian/tmp/usr/lib/libpurple*.so* \ + debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/. + mv debian/tmp/usr/lib/pkgconfig/purple.pc \ + debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/. cleanbuilddir/pidgin:: rm -rf $(DEB_SRCDIR)/build @@ -72,6 +86,11 @@ build/pidgin-dev:: pod2man debian/dh_pidgin > debian/dh_pidgin.1 cd build; make docs +binary-install/pidgin:: + # Add the launcher for pidgin + mkdir -p debian/pidgin/usr/share/indicators/messages/applications + echo /usr/share/applications/pidgin.desktop > debian/pidgin/usr/share/indicators/messages/applications/pidgin + binary-install/pidgin-dev:: dh_installdocs -ppidgin-dev debian/README.Debian.dev
  3. Download patch debian/patches/remove-double-chat-section.patch

    --- 2.13.0-2/debian/patches/remove-double-chat-section.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/remove-double-chat-section.patch 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,14 @@ +Author: Gianfranco Costamagna <locutusofborg@debian.org> + AsciiWolf +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1575338 + +Description: autoconf already feeds the desktop file with @USES_MM_CHAT_SECTION@ + +--- pidgin-2.10.12.orig/pidgin/data/pidgin.desktop.in.in ++++ pidgin-2.10.12/pidgin/data/pidgin.desktop.in.in +@@ -9,5 +9,4 @@ Terminal=false + Type=Application + Categories=Network;InstantMessaging; + @USES_MM_CHAT_SECTION@ +-X-MessagingMenu-UsesChatSection=true +
  4. Download patch debian/prefs.xml

    --- 2.13.0-2/debian/prefs.xml 2015-10-24 01:26:15.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/prefs.xml 2018-07-19 12:45:01.000000000 +0000 @@ -1,9 +1,41 @@ <?xml version='1.0' encoding='UTF-8' ?> <pref name='/'> + <pref name='plugins'> + <pref name='gtk'> + <pref name='X11'> + <pref name='notify'> + <pref name='type_im' type='bool' value='1' /> + <pref name='type_chat' type='bool' value='0' /> + <pref name='type_focused' type='bool' value='0' /> + <pref name='method_string' type='bool' value='0' /> + <pref name='title_string' type='string' value='(*)' /> + <pref name='method_urgent' type='bool' value='1' /> + <pref name='method_count' type='bool' value='0' /> + <pref name='notify_focus' type='bool' value='1' /> + <pref name='notify_click' type='bool' value='1' /> + <pref name='notify_type' type='bool' value='1' /> + <pref name='notify_send' type='bool' value='1' /> + <pref name='notify_switch' type='bool' value='1' /> + </pref> + </pref> + </pref> + </pref> <pref name='pidgin'> <pref name='browsers'> <pref name='command' type='path' value='sensible-browser' /> <pref name='browser' type='string' value='custom' /> </pref> + <pref name='plugins'> + <pref name='loaded' type='pathlist'> + <item value='/usr/lib/pidgin/unity.so'/> + <item value='/usr/lib/pidgin/notify.so' /> + </pref> + </pref> + </pref> + <pref name='purple'> + <pref name='logging'> + <pref name='log_ims' type='bool' value='1'/> + <pref name='log_chats' type='bool' value='1'/> + </pref> </pref> </pref>
  5. Download patch debian/patches/60_1024x600_gtkprefs.c.patch

    --- 2.13.0-2/debian/patches/60_1024x600_gtkprefs.c.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/60_1024x600_gtkprefs.c.patch 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,98 @@ +Index: pidgin-2.10.11/pidgin/gtkprefs.c +=================================================================== +--- pidgin-2.10.11.orig/pidgin/gtkprefs.c ++++ pidgin-2.10.11/pidgin/gtkprefs.c +@@ -1339,6 +1339,7 @@ interface_page(void) + GtkWidget *label; + GtkSizeGroup *sg; + GList *names = NULL; ++ GtkWidget *scrolledWindow1024x600; + + ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); + gtk_container_set_border_width(GTK_CONTAINER(ret), PIDGIN_HIG_BORDER); +@@ -1414,6 +1415,15 @@ interface_page(void) + keyboard_shortcuts(ret); + + gtk_widget_show_all(ret); ++ ++ if (gdk_screen_get_default() != NULL && gdk_screen_get_height(gdk_screen_get_default()) <= 700) { ++ scrolledWindow1024x600 = gtk_scrolled_window_new(NULL,NULL); ++ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),GTK_POLICY_NEVER,GTK_POLICY_AUTOMATIC); ++ gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),ret); ++ ret = scrolledWindow1024x600; ++ gtk_widget_show(ret); ++ } ++ + g_object_unref(sg); + return ret; + } +@@ -1457,6 +1467,7 @@ conv_page(void) + GtkWidget *hbox; + GtkWidget *checkbox; + GtkWidget *spin_button; ++ GtkWidget *scrolledWindow1024x600; + + ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); + gtk_container_set_border_width(GTK_CONTAINER(ret), PIDGIN_HIG_BORDER); +@@ -1570,6 +1581,14 @@ conv_page(void) + G_CALLBACK(formatting_clear_cb), NULL); + sample_imhtml = imhtml; + ++ if (gdk_screen_get_default() != NULL && gdk_screen_get_height(gdk_screen_get_default()) <= 700) { ++ scrolledWindow1024x600 = gtk_scrolled_window_new(NULL,NULL); ++ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),GTK_POLICY_NEVER,GTK_POLICY_AUTOMATIC); ++ gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),ret); ++ gtk_widget_show(ret); ++ ret = scrolledWindow1024x600; ++ } ++ + gtk_widget_show(ret); + + return ret; +@@ -1935,6 +1954,7 @@ browser_page(void) + GtkWidget *ret, *vbox, *hbox, *label, *entry, *browser_button; + GtkSizeGroup *sg; + GList *browsers = NULL; ++ GtkWidget *scrolledWindow1024x600; + + ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); + gtk_container_set_border_width (GTK_CONTAINER (ret), PIDGIN_HIG_BORDER); +@@ -2020,6 +2040,14 @@ browser_page(void) + g_object_unref(sg); + } + ++ if (gdk_screen_get_default() != NULL && gdk_screen_get_height(gdk_screen_get_default()) <= 700) { ++ scrolledWindow1024x600 = gtk_scrolled_window_new(NULL,NULL); ++ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),GTK_POLICY_NEVER,GTK_POLICY_AUTOMATIC); ++ gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),ret); ++ ret = scrolledWindow1024x600; ++ gtk_widget_show(ret); ++ } ++ + return ret; + } + #endif /*_WIN32*/ +@@ -2466,6 +2494,7 @@ sound_page(void) + int j; + const char *file; + char *pref; ++ GtkWidget *scrolledWindow1024x600; + #ifndef _WIN32 + GtkWidget *dd; + GtkWidget *entry; +@@ -2637,6 +2666,15 @@ sound_page(void) + gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1); + + gtk_widget_show_all(ret); ++ ++ if (gdk_screen_get_default() != NULL && gdk_screen_get_height(gdk_screen_get_default()) <= 700) { ++ scrolledWindow1024x600 = gtk_scrolled_window_new(NULL,NULL); ++ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),GTK_POLICY_NEVER,GTK_POLICY_AUTOMATIC); ++ gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),ret); ++ ret = scrolledWindow1024x600; ++ gtk_widget_show(ret); ++ } ++ + g_object_unref(sg); + + return ret;
  6. Download patch debian/patches/05_default_to_irc_ubuntu_com.patch

    --- 2.13.0-2/debian/patches/05_default_to_irc_ubuntu_com.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/05_default_to_irc_ubuntu_com.patch 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,13 @@ +Index: pidgin-2.10.11/libpurple/protocols/irc/irc.h +=================================================================== +--- pidgin-2.10.11.orig/libpurple/protocols/irc/irc.h ++++ pidgin-2.10.11/libpurple/protocols/irc/irc.h +@@ -34,7 +34,7 @@ + #include "roomlist.h" + #include "sslconn.h" + +-#define IRC_DEFAULT_SERVER "irc.freenode.net" ++#define IRC_DEFAULT_SERVER "irc.ubuntu.com" + #define IRC_DEFAULT_PORT 6667 + #define IRC_DEFAULT_SSL_PORT 994 +
  7. Download patch debian/patches/11_buddy_list_really_show.patch

    --- 2.13.0-2/debian/patches/11_buddy_list_really_show.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/11_buddy_list_really_show.patch 2018-07-19 12:45:03.000000000 +0000 @@ -0,0 +1,30 @@ +=== modified file 'pidgin/gtkblist.c' +Index: pidgin-2.10.11/pidgin/gtkblist.c +=================================================================== +--- pidgin-2.10.11.orig/pidgin/gtkblist.c ++++ pidgin-2.10.11/pidgin/gtkblist.c +@@ -6934,6 +6934,12 @@ static void pidgin_blist_destroy(PurpleB + purple_prefs_disconnect_by_handle(pidgin_blist_get_handle()); + } + ++static gboolean keep_above_idle_cb (gpointer data) ++{ ++ gtk_window_set_keep_above(GTK_WINDOW(data), FALSE); ++ return FALSE; ++} ++ + static void pidgin_blist_set_visible(PurpleBuddyList *list, gboolean show) + { + if (!(gtkblist && gtkblist->window)) +@@ -6943,7 +6949,11 @@ static void pidgin_blist_set_visible(Pur + if(!PIDGIN_WINDOW_ICONIFIED(gtkblist->window) && !GTK_WIDGET_VISIBLE(gtkblist->window)) + purple_signal_emit(pidgin_blist_get_handle(), "gtkblist-unhiding", gtkblist); + pidgin_blist_restore_position(); ++ gtk_widget_show(GTK_WIDGET(gtkblist->window)); ++ gtk_window_deiconify(GTK_WINDOW(gtkblist->window)); + gtk_window_present(GTK_WINDOW(gtkblist->window)); ++ gtk_window_set_keep_above(GTK_WINDOW(gtkblist->window), TRUE); ++ g_idle_add(keep_above_idle_cb, gtkblist->window); + } else { + if(visibility_manager_count) { + purple_signal_emit(pidgin_blist_get_handle(), "gtkblist-hiding", gtkblist);
  8. Download patch debian/control

    --- 2.13.0-2/debian/control 2018-07-20 23:54:18.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/control 2019-05-23 14:41:24.000000000 +0000 @@ -1,20 +1,22 @@ Source: pidgin Section: net Priority: optional -Maintainer: Ari Pollak <ari@debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Ari Pollak <ari@debian.org> Build-Depends: cdbs, debhelper (>= 9), intltool, libgtk2.0-dev (>= 2.10.0), libxss-dev, libmeanwhile-dev, libnss3-dev (>= 3.11.7), tcl-dev, tk-dev, libgstreamer1.0-dev, libgtkspell-dev, libltdl3-dev, libperl-dev, libstartup-notification0-dev, libzephyr-dev, libxml2-dev, - libdbus-glib-1-dev, dbus, python (>= 2.4), libavahi-client-dev, + libdbus-glib-1-dev, dbus, python3, libavahi-client-dev, libavahi-glib-dev, libxml-parser-perl, libncursesw5-dev, libsasl2-dev, libgadu-dev (>= 1:1.12.0-5), xsltproc, doxygen, libfarstream-0.2-dev, libgstreamer-plugins-base1.0-dev, libnm-dev [linux-any], libsqlite3-dev (>= 3.3), libidn11-dev, ca-certificates, - dh-autoreconf + dh-autoreconf, + libmessaging-menu-dev, libunity-dev Standards-Version: 3.9.8 Vcs-Git: https://salsa.debian.org/debian/pidgin.git Vcs-Browser: https://salsa.debian.org/debian/pidgin @@ -41,8 +43,8 @@ Package: pidgin Architecture: any Depends: pidgin-data (>= ${source:Upstream-Version}), pidgin-data (<< ${source:Upstream-Version}-z), ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: gstreamer1.0-alsa | gstreamer1.0-pulseaudio, - gstreamer1.0-libav, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good -Suggests: ${shlibs:Suggests} + gstreamer1.0-libav, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, pidgin-libnotify +Suggests: gnome-panel (>= 2.1) | kdebase-workspace-bin | docker, evolution-data-server (>= 1.10.0), ${shlibs:Suggests} Description: graphical multi-protocol instant messaging client Pidgin is a graphical, modular instant messaging client capable of using multiple networks at once. Currently supported are: @@ -50,6 +52,9 @@ Description: graphical multi-protocol in Bonjour, Groupwise, Sametime, and SIMPLE. . Some extra packages are suggested to use increased functionality: + * gnome-panel | kdebase-workspace-bin | docker: + - To use the system tray icon functionality (minimizing to an icon, having + the icon blink when there are new messages, etc.) * libsqlite3-0: - To use Contact Availability Prediction plugin @@ -101,7 +106,7 @@ Description: text-based multi-protocol i Package: libpurple-dev Section: libdevel -Architecture: all +Architecture: any Depends: libpurple0 (>= ${source:Upstream-Version}), libpurple0 (<< ${source:Upstream-Version}+1~), pkg-config, libglib2.0-dev, libdbus-glib-1-dev, ${misc:Depends} Description: multi-protocol instant messaging library - development files This package contains the headers and other development files not included in @@ -112,7 +117,7 @@ Description: multi-protocol instant mess Package: libpurple-bin Section: net Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, libpurple0, python, python-dbus +Depends: ${shlibs:Depends}, ${misc:Depends}, libpurple0, python3, python3-dbus Description: multi-protocol instant messaging library - extra utilities This package contains the utilities not included in the main libpurple0 package. Currently included are: purple-remote, purple-send,
  9. Download patch debian/patches/04_let_crasher_for_apport.patch

    --- 2.13.0-2/debian/patches/04_let_crasher_for_apport.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/04_let_crasher_for_apport.patch 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,12 @@ +Index: pidgin-2.10.2/pidgin/gtkmain.c +=================================================================== +--- pidgin-2.10.2.orig/pidgin/gtkmain.c 2012-03-14 06:28:02.000000000 +0100 ++++ pidgin-2.10.2/pidgin/gtkmain.c 2012-03-16 12:33:48.964065522 +0100 +@@ -84,7 +84,6 @@ + * Each list terminated with -1 + */ + static const int catch_sig_list[] = { +- SIGSEGV, + SIGINT, + SIGTERM, + SIGQUIT,
  10. Download patch debian/pidgin-dev.dirs

    --- 2.13.0-2/debian/pidgin-dev.dirs 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/pidgin-dev.dirs 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,2 @@ +usr/share/doc/pidgin-data +usr/share/doc/pidgin-data/html
  11. Download patch debian/libpurple-dev.install

    --- 2.13.0-2/debian/libpurple-dev.install 2013-02-12 01:28:27.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/libpurple-dev.install 2018-07-19 12:45:01.000000000 +0000 @@ -1,4 +1,4 @@ -debian/tmp/usr/lib/libpurple*.so +debian/tmp/usr/lib/*/libpurple*.so debian/tmp/usr/include/libpurple -debian/tmp/usr/lib/pkgconfig/purple.pc +debian/tmp/usr/lib/*/pkgconfig/purple.pc debian/tmp/usr/share/aclocal
  12. Download patch debian/patches/60_1024x600_gtkpounce.c.patch

    --- 2.13.0-2/debian/patches/60_1024x600_gtkpounce.c.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/60_1024x600_gtkpounce.c.patch 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,42 @@ +Index: pidgin-2.10.2/pidgin/gtkpounce.c +=================================================================== +--- pidgin-2.10.2.orig/pidgin/gtkpounce.c 2012-03-14 06:28:02.000000000 +0100 ++++ pidgin-2.10.2/pidgin/gtkpounce.c 2012-03-16 12:33:59.276065914 +0100 +@@ -495,6 +495,7 @@ + GPtrArray *sound_widgets; + GPtrArray *exec_widgets; + GtkWidget *send_msg_imhtml; ++ GtkWidget *scrolledWindow1024x600 = NULL; + + g_return_if_fail((cur_pounce != NULL) || + (account != NULL) || +@@ -544,8 +545,14 @@ + + /* Create the vbox that will contain all the prefs stuff. */ + vbox2 = gtk_vbox_new(FALSE, PIDGIN_HIG_BOX_SPACE); +- gtk_box_pack_start(GTK_BOX(vbox1), vbox2, TRUE, TRUE, 0); +- ++ if (gdk_screen_get_default() != NULL && gdk_screen_get_height(gdk_screen_get_default()) <= 600) { ++ scrolledWindow1024x600 = gtk_scrolled_window_new(NULL,NULL); ++ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),GTK_POLICY_NEVER,GTK_POLICY_AUTOMATIC); ++ gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolledWindow1024x600),vbox2); ++ gtk_box_pack_start(GTK_BOX(vbox1), scrolledWindow1024x600, TRUE, TRUE, 0); ++ } else { ++ gtk_box_pack_start(GTK_BOX(vbox1), vbox2, TRUE, TRUE, 0); ++ } + /* Create the "Pounce on Whom" frame. */ + frame = pidgin_make_frame(vbox2, _("Pounce on Whom")); + +@@ -1012,6 +1019,12 @@ + } + + gtk_widget_show(vbox2); ++ if (gdk_screen_get_default() != NULL && gdk_screen_get_height(gdk_screen_get_default()) <= 600) { ++ gint oldw,oldh; ++ gtk_widget_show(scrolledWindow1024x600); ++ gtk_window_get_size(GTK_WINDOW(window),&oldw,&oldh); ++ gtk_window_resize(GTK_WINDOW (window),oldw,448); ++ } + gtk_widget_show(window); + } +
  13. Download patch debian/patches/series

    --- 2.13.0-2/debian/patches/series 2018-07-20 23:54:18.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/series 2019-05-23 14:41:00.000000000 +0000 @@ -1 +1,11 @@ libnm.patch +04_let_crasher_for_apport.patch +05_default_to_irc_ubuntu_com.patch +10_docklet_default_off.patch +11_buddy_list_really_show.patch +13_sounds_and_timers.patch +60_1024x600_gtkpounce.c.patch +60_1024x600_gtkprefs.c.patch +xmessagingmenu.patch +pounce-webview.patch +remove-double-chat-section.patch
  14. Download patch debian/patches/10_docklet_default_off.patch

    --- 2.13.0-2/debian/patches/10_docklet_default_off.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/10_docklet_default_off.patch 2018-07-19 12:45:03.000000000 +0000 @@ -0,0 +1,14 @@ +=== modified file 'pidgin/gtkdocklet.c' +Index: pidgin-2.10.11/pidgin/gtkdocklet.c +=================================================================== +--- pidgin-2.10.11.orig/pidgin/gtkdocklet.c ++++ pidgin-2.10.11/pidgin/gtkdocklet.c +@@ -843,7 +843,7 @@ pidgin_docklet_init() + + purple_prefs_add_none(PIDGIN_PREFS_ROOT "/docklet"); + purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/docklet/blink", FALSE); +- purple_prefs_add_string(PIDGIN_PREFS_ROOT "/docklet/show", "always"); ++ purple_prefs_add_string(PIDGIN_PREFS_ROOT "/docklet/show", "never"); + purple_prefs_connect_callback(docklet_handle, PIDGIN_PREFS_ROOT "/docklet/show", + docklet_show_pref_changed_cb, NULL); +
  15. Download patch debian/patches/pounce-webview.patch

    --- 2.13.0-2/debian/patches/pounce-webview.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/pounce-webview.patch 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,16 @@ +Description: Send message (webview) in buddy pounce is unusable +Author: Ritesh Khadgaray <ritesh@canonical.com> +Forwarded: https://developer.pidgin.im/ticket/15400 + +Index: b/pidgin/gtkpounce.c +=================================================================== +--- a/pidgin/gtkpounce.c ++++ b/pidgin/gtkpounce.c +@@ -687,6 +687,7 @@ + = gtk_check_button_new_with_mnemonic(_("P_lay a sound")); + + send_msg_imhtml = pidgin_create_imhtml(TRUE, &dialog->send_msg_entry, NULL, NULL); ++ gtk_widget_set_size_request (send_msg_imhtml, -1, 150); + reset_send_msg_entry(dialog, NULL); + dialog->exec_cmd_entry = gtk_entry_new(); + dialog->popup_entry = gtk_entry_new();
  16. Download patch debian/patches/13_sounds_and_timers.patch

    --- 2.13.0-2/debian/patches/13_sounds_and_timers.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/13_sounds_and_timers.patch 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,23 @@ +=== modified file 'pidgin/gtksound.c' +Index: pidgin-2.10.2/pidgin/gtksound.c +=================================================================== +--- pidgin-2.10.2.orig/pidgin/gtksound.c 2012-03-14 06:28:02.000000000 +0100 ++++ pidgin-2.10.2/pidgin/gtksound.c 2012-03-16 12:33:57.148065833 +0100 +@@ -228,7 +228,7 @@ + } + + /* +- * We mute sounds for the 10 seconds after you log in so that ++ * We mute sounds for the 15 seconds after you log in so that + * you don't get flooded with sounds when the blist shows all + * your buddies logging in. + */ +@@ -238,7 +238,7 @@ + if (mute_login_sounds_timeout != 0) + purple_timeout_remove(mute_login_sounds_timeout); + mute_login_sounds = TRUE; +- mute_login_sounds_timeout = purple_timeout_add_seconds(10, unmute_login_sounds_cb, NULL); ++ mute_login_sounds_timeout = purple_timeout_add_seconds(15, unmute_login_sounds_cb, NULL); + } + + const char *
  17. Download patch debian/patches/hg_no_cap_segfault.patch

    --- 2.13.0-2/debian/patches/hg_no_cap_segfault.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/hg_no_cap_segfault.patch 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,13 @@ +diff --git a/pidgin/plugins/cap/cap.c b/pidgin/plugins/cap/cap.c +--- a/pidgin/plugins/cap/cap.c ++++ b/pidgin/plugins/cap/cap.c +@@ -43,7 +43,7 @@ + int threshold = purple_prefs_get_int("/plugins/gtk/cap/threshold"); + int min_minute = (current_minute - threshold) % 1440; + int max_minute = (current_minute + threshold) % 1440; +- char *sql, sta_id = NULL; ++ char *sql, *sta_id = NULL; + sqlite3_stmt *stmt = NULL; + const char *tail = NULL; + int rc; +
  18. Download patch debian/libpurple0.install

    --- 2.13.0-2/debian/libpurple0.install 2016-06-19 18:41:32.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/libpurple0.install 2018-07-19 12:45:01.000000000 +0000 @@ -1,4 +1,4 @@ -debian/tmp/usr/lib/libpurple*.so.* +debian/tmp/usr/lib/*/libpurple*.so.* debian/tmp/usr/lib/purple-2 debian/tmp/usr/share/man/*/Purple.* debian/lintian-override/libpurple0 usr/share/lintian/overrides
  19. Download patch debian/patches/xmessagingmenu.patch

    --- 2.13.0-2/debian/patches/xmessagingmenu.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1:2.13.0-2ubuntu1/debian/patches/xmessagingmenu.patch 2018-07-19 12:45:01.000000000 +0000 @@ -0,0 +1,24 @@ +--- + pidgin.desktop.in | 1 + + 1 file changed, 1 insertion(+) + +Index: pidgin-2.10.9/pidgin/data/pidgin.desktop.in +=================================================================== +--- pidgin-2.10.9.orig/pidgin/data/pidgin.desktop.in 2014-02-02 22:30:51.000000000 +0100 ++++ pidgin-2.10.9/pidgin/data/pidgin.desktop.in 2014-04-09 18:55:02.000000000 +0200 +@@ -8,4 +8,5 @@ + Terminal=false + Type=Application + Categories=Network;InstantMessaging; ++X-MessagingMenu-UsesChatSection=true + +Index: pidgin-2.10.9/pidgin/data/pidgin.desktop.in.in +=================================================================== +--- pidgin-2.10.9.orig/pidgin/data/pidgin.desktop.in.in 2014-02-02 22:29:20.000000000 +0100 ++++ pidgin-2.10.9/pidgin/data/pidgin.desktop.in.in 2014-04-09 19:00:33.447381461 +0200 +@@ -9,3 +9,5 @@ + Type=Application + Categories=Network;InstantMessaging; + @USES_MM_CHAT_SECTION@ ++X-MessagingMenu-UsesChatSection=true ++

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: pidgin-libnotify

pidgin-libnotify (0.14-9ubuntu2) saucy; urgency=low * debian/patches/messaging_menu.patch: - Use purple_buddy_get_name() instead of sender in unique id if possible (LP: #1175537) - Associate a buddy name with a conversation if possible, otherwise fall back to the name of the conversation. -- Jason Conti <jason.conti@gmail.com> Mon, 20 May 2013 18:20:04 -0400 pidgin-libnotify (0.14-9ubuntu1) raring; urgency=low * libmessaging-menu support (LP: #1040259) * debian/control: - drop indicate build-dep - add libmessaging-menu-dev * debian/patches/ubuntu_notify_support.patch: - Split out notify changes from messaging-menu changes (was combined in indicate.patch) - Merged libnotify-0.7.patch * debian/patches/messaging_menu.patch: - messaging-menu support. -- Jason Conti <jason.conti@gmail.com> Sun, 21 Oct 2012 15:17:58 -0400

Modifications :
  1. Download patch .pc/libnotify_0_7.patch/src/pidgin-libnotify.c
  2. Download patch .pc/indicate.patch/src/pidgin-libnotify.c
  3. Download patch debian/patches/indicate.patch
  4. Download patch debian/patches/messaging_menu.patch
  5. Download patch debian/patches/replace-pidgin-action-requests.diff

    --- 0.14-9/debian/patches/replace-pidgin-action-requests.diff 2012-08-08 19:22:46.000000000 +0000 +++ 0.14-9ubuntu2/debian/patches/replace-pidgin-action-requests.diff 2012-11-16 09:15:25.000000000 +0000 @@ -17,8 +17,8 @@ Subject: [PATCH] replace-pidgin-action-r Index: pidgin-libnotify-0.14/po/cs.po =================================================================== ---- pidgin-libnotify-0.14.orig/po/cs.po 2012-08-08 15:21:45.501304835 -0400 -+++ pidgin-libnotify-0.14/po/cs.po 2012-08-08 15:21:45.521304238 -0400 +--- pidgin-libnotify-0.14.orig/po/cs.po 2012-11-16 10:15:18.539589953 +0100 ++++ pidgin-libnotify-0.14/po/cs.po 2012-11-16 10:15:19.187589931 +0100 @@ -6,7 +6,7 @@ msgid "" msgstr "" @@ -76,8 +76,8 @@ Index: pidgin-libnotify-0.14/po/cs.po "Displays popups via libnotify." Index: pidgin-libnotify-0.14/src/Makefile.am =================================================================== ---- pidgin-libnotify-0.14.orig/src/Makefile.am 2012-08-08 15:21:45.373308656 -0400 -+++ pidgin-libnotify-0.14/src/Makefile.am 2012-08-08 15:21:45.521304238 -0400 +--- pidgin-libnotify-0.14.orig/src/Makefile.am 2012-11-16 10:14:30.371591653 +0100 ++++ pidgin-libnotify-0.14/src/Makefile.am 2012-11-16 10:15:19.187589931 +0100 @@ -8,6 +8,9 @@ pidgin_libnotify_la_SOURCES = \ @@ -87,11 +87,11 @@ Index: pidgin-libnotify-0.14/src/Makefil + request.c \ gln_intl.h - pidgin_libnotify_la_LIBADD = $(LIBINDICATE_LIBS) $(LIBNOTIFY_LIBS) $(DBUS_LIBS) $(GTK_LIBS) + pidgin_libnotify_la_LIBADD = $(LIBNOTIFY_LIBS) $(DBUS_LIBS) $(GTK_LIBS) Index: pidgin-libnotify-0.14/src/common.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ pidgin-libnotify-0.14/src/common.c 2012-08-08 15:21:45.521304238 -0400 ++++ pidgin-libnotify-0.14/src/common.c 2012-11-16 10:15:19.191589930 +0100 @@ -0,0 +1,67 @@ +/* + * Pidgin-libnotify - Provides a libnotify interface for Pidgin @@ -163,7 +163,7 @@ Index: pidgin-libnotify-0.14/src/common. Index: pidgin-libnotify-0.14/src/common.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ pidgin-libnotify-0.14/src/common.h 2012-08-08 15:21:45.521304238 -0400 ++++ pidgin-libnotify-0.14/src/common.h 2012-11-16 10:15:19.191589930 +0100 @@ -0,0 +1,38 @@ +/* + * Pidgin-libnotify - Provides a libnotify interface for Pidgin @@ -205,8 +205,8 @@ Index: pidgin-libnotify-0.14/src/common. +#endif // PIDGIN_LIBNOTIFY_COMMON_H Index: pidgin-libnotify-0.14/src/pidgin-libnotify.c =================================================================== ---- pidgin-libnotify-0.14.orig/src/pidgin-libnotify.c 2012-08-08 15:21:45.477305552 -0400 -+++ pidgin-libnotify-0.14/src/pidgin-libnotify.c 2012-08-08 15:21:45.521304238 -0400 +--- pidgin-libnotify-0.14.orig/src/pidgin-libnotify.c 2012-11-16 10:15:16.971590010 +0100 ++++ pidgin-libnotify-0.14/src/pidgin-libnotify.c 2012-11-16 10:15:19.191589930 +0100 @@ -21,6 +21,7 @@ #include <config.h> #endif @@ -215,8 +215,8 @@ Index: pidgin-libnotify-0.14/src/pidgin- #include "gln_intl.h" #ifndef PURPLE_PLUGINS -@@ -135,6 +136,11 @@ - _("Names to remove notifications for")); +@@ -82,6 +83,11 @@ + _("Only when available")); purple_plugin_pref_frame_add (frame, ppref); + ppref = purple_plugin_pref_new_with_name_and_label ( @@ -227,8 +227,8 @@ Index: pidgin-libnotify-0.14/src/pidgin- return frame; } -@@ -1203,6 +1209,9 @@ - return; +@@ -463,6 +469,9 @@ + notify_msg_sent (account, sender, message); } +extern void attach_request_ui_ops (); @@ -237,7 +237,7 @@ Index: pidgin-libnotify-0.14/src/pidgin- static gboolean plugin_load (PurplePlugin *plugin) { -@@ -1263,6 +1272,8 @@ +@@ -495,6 +504,8 @@ purple_signal_connect (conn_handle, "signed-on", plugin, PURPLE_CALLBACK(event_connection_throttle), NULL); @@ -246,7 +246,7 @@ Index: pidgin-libnotify-0.14/src/pidgin- return TRUE; } -@@ -1302,6 +1313,8 @@ +@@ -522,6 +533,8 @@ purple_signal_disconnect (conn_handle, "signed-on", plugin, PURPLE_CALLBACK(event_connection_throttle)); @@ -258,7 +258,7 @@ Index: pidgin-libnotify-0.14/src/pidgin- Index: pidgin-libnotify-0.14/src/request.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ pidgin-libnotify-0.14/src/request.c 2012-08-08 15:21:45.521304238 -0400 ++++ pidgin-libnotify-0.14/src/request.c 2012-11-16 10:15:19.191589930 +0100 @@ -0,0 +1,182 @@ +/* + * Pidgin-libnotify - Provides a libnotify interface for Pidgin
  6. Download patch .pc/ubuntu_notify_support.patch/src/pidgin-libnotify.c
  7. Download patch debian/control

    --- 0.14-9/debian/control 2012-08-08 20:00:15.000000000 +0000 +++ 0.14-9ubuntu2/debian/control 2012-11-16 09:14:03.000000000 +0000 @@ -1,10 +1,11 @@ Source: pidgin-libnotify Section: net Priority: optional -Maintainer: Varun Hiremath <varun@debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Varun Hiremath <varun@debian.org> Build-Depends: debhelper (>= 7), cdbs, intltool, pkg-config, libnotify-dev, - libglib2.0-dev, libgtk2.0-dev, libtool, pidgin-dev, dh-autoreconf, - libindicate-dev (>= 0.6.90), libindicate-gtk-dev (>= 0.6.90) + libglib2.0-dev, libgtk2.0-dev, libtool, pidgin-dev, dh-autoreconf, + libmessaging-menu-dev (>= 12.10.4) Standards-Version: 3.9.3 Homepage: http://gaim-libnotify.sourceforge.net Vcs-Svn: https://bollin.googlecode.com/svn/pidgin-libnotify/trunk/
  8. Download patch .pc/best_name.patch/src/pidgin-libnotify.c
  9. Download patch configure.ac

    --- 0.14-9/configure.ac 2013-06-14 16:36:19.000000000 +0000 +++ 0.14-9ubuntu2/configure.ac 2013-06-14 16:36:19.000000000 +0000 @@ -74,13 +74,13 @@ AC_SUBST(LIBNOTIFY_CFLAGS) AC_SUBST(LIBNOTIFY_LIBS) # -# Check for libindicate +# Check for libmessaging-menu # -PKG_CHECK_MODULES(LIBINDICATE, indicate-0.7 >= 0.6.90 indicate-gtk-0.7 >= 0.6.90) +PKG_CHECK_MODULES(LIBMESSAGINGMENU, messaging-menu >= 12.10.4) -AC_SUBST(LIBINDICATE_CFLAGS) -AC_SUBST(LIBINDICATE_LIBS) +AC_SUBST(LIBMESSAGINGMENU_CFLAGS) +AC_SUBST(LIBMESSAGINGMENU_LIBS) # # Check for GTK+
  10. Download patch .pc/applied-patches

    --- 0.14-9/.pc/applied-patches 2013-06-14 16:36:19.565946172 +0000 +++ 0.14-9ubuntu2/.pc/applied-patches 2013-06-14 16:36:19.821952978 +0000 @@ -1,8 +1,8 @@ de_po.diff -indicate.patch force-load.patch best_name.patch -libnotify_0_7.patch it_po.diff add-cs-translation.diff replace-pidgin-action-requests.diff +ubuntu_notify_support.patch +messaging_menu.patch
  11. Download patch .pc/force-load.patch/src/pidgin-libnotify.c
  12. Download patch src/Makefile.am

    --- 0.14-9/src/Makefile.am 2013-06-14 16:36:19.000000000 +0000 +++ 0.14-9ubuntu2/src/Makefile.am 2013-06-14 16:36:19.000000000 +0000 @@ -13,7 +13,7 @@ pidgin_libnotify_la_SOURCES = \ request.c \ gln_intl.h -pidgin_libnotify_la_LIBADD = $(LIBINDICATE_LIBS) $(LIBNOTIFY_LIBS) $(DBUS_LIBS) $(GTK_LIBS) +pidgin_libnotify_la_LIBADD = $(LIBMESSAGINGMENU_LIBS) $(LIBNOTIFY_LIBS) $(DBUS_LIBS) $(GTK_LIBS) endif @@ -27,7 +27,7 @@ AM_CPPFLAGS = \ $(PIDGIN_CFLAGS) \ $(LIBPURPLE_CFLAGS) \ $(LIBNOTIFY_CFLAGS) \ - $(LIBINDICATE_CFLAGS) \ + $(LIBMESSAGINGMENU_CFLAGS) \ $(DBUS_CFLAGS) \ $(GTK_CFLAGS)
  13. Download patch .pc/indicate.patch/src/Makefile.am

    --- 0.14-9/.pc/indicate.patch/src/Makefile.am 2007-06-30 17:51:16.000000000 +0000 +++ 0.14-9ubuntu2/.pc/indicate.patch/src/Makefile.am 1970-01-01 00:00:00.000000000 +0000 @@ -1,29 +0,0 @@ -gddir = $(LIBPURPLE_LIBDIR)/purple-2 - -pidgin_libnotify_la_LDFLAGS = -module -avoid-version - -if PLUGINS - -gd_LTLIBRARIES = pidgin-libnotify.la - -pidgin_libnotify_la_SOURCES = \ - pidgin-libnotify.c \ - gln_intl.h - -pidgin_libnotify_la_LIBADD = $(LIBNOTIFY_LIBS) $(DBUS_LIBS) $(GTK_LIBS) - -endif - -AM_CPPFLAGS = \ - -DLIBDIR=\"$(LIBPURPLE_LIBDIR)/purple-2/\" \ - -DDATADIR=\"$(LIBPURPLE_DATADIR)\" \ - -DLOCALEDIR=\"$(LIBPURPLE_DATADIR)/locale\" \ - $(DEBUG_CFLAGS) \ - $(GTK_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(PIDGIN_CFLAGS) \ - $(LIBPURPLE_CFLAGS) \ - $(LIBNOTIFY_CFLAGS) \ - $(DBUS_CFLAGS) \ - $(GTK_CFLAGS) -
  14. Download patch .pc/replace-pidgin-action-requests.diff/src/pidgin-libnotify.c
  15. Download patch debian/patches/series

    --- 0.14-9/debian/patches/series 2012-08-08 19:52:49.000000000 +0000 +++ 0.14-9ubuntu2/debian/patches/series 2012-11-16 09:10:53.000000000 +0000 @@ -1,8 +1,8 @@ de_po.diff -indicate.patch force-load.patch best_name.patch -libnotify_0_7.patch it_po.diff add-cs-translation.diff replace-pidgin-action-requests.diff +ubuntu_notify_support.patch +messaging_menu.patch
  16. Download patch .pc/messaging_menu.patch/src/pidgin-libnotify.c
  17. Download patch debian/patches/ubuntu_notify_support.patch
  18. Download patch debian/patches/libnotify_0_7.patch

    --- 0.14-9/debian/patches/libnotify_0_7.patch 2012-08-08 19:22:46.000000000 +0000 +++ 0.14-9ubuntu2/debian/patches/libnotify_0_7.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -Index: pidgin-libnotify/src/pidgin-libnotify.c -=================================================================== ---- pidgin-libnotify.orig/src/pidgin-libnotify.c 2011-08-10 22:46:33.003107473 -0400 -+++ pidgin-libnotify/src/pidgin-libnotify.c 2011-08-10 22:46:33.963108883 -0400 -@@ -438,7 +438,7 @@ - return; - } - -- notification = notify_notification_new (title, tr_body, "notification-message-im", NULL); -+ notification = notify_notification_new (title, tr_body, "notification-message-im"); - purple_debug_info (PLUGIN_ID, "notify(), new: " - "title: '%s', body: '%s', buddy: '%s'\n", - title, tr_body, buddy != NULL ? best_name (buddy) : "(null)");
  19. Download patch .pc/replace-pidgin-action-requests.diff/src/Makefile.am

    --- 0.14-9/.pc/replace-pidgin-action-requests.diff/src/Makefile.am 2013-06-14 16:36:19.000000000 +0000 +++ 0.14-9ubuntu2/.pc/replace-pidgin-action-requests.diff/src/Makefile.am 2007-06-30 17:51:16.000000000 +0000 @@ -10,7 +10,7 @@ pidgin_libnotify_la_SOURCES = \ pidgin-libnotify.c \ gln_intl.h -pidgin_libnotify_la_LIBADD = $(LIBINDICATE_LIBS) $(LIBNOTIFY_LIBS) $(DBUS_LIBS) $(GTK_LIBS) +pidgin_libnotify_la_LIBADD = $(LIBNOTIFY_LIBS) $(DBUS_LIBS) $(GTK_LIBS) endif @@ -24,7 +24,6 @@ AM_CPPFLAGS = \ $(PIDGIN_CFLAGS) \ $(LIBPURPLE_CFLAGS) \ $(LIBNOTIFY_CFLAGS) \ - $(LIBINDICATE_CFLAGS) \ $(DBUS_CFLAGS) \ $(GTK_CFLAGS)
  20. Download patch .pc/add-cs-translation.diff/configure.ac

    --- 0.14-9/.pc/add-cs-translation.diff/configure.ac 2013-06-14 16:36:19.000000000 +0000 +++ 0.14-9ubuntu2/.pc/add-cs-translation.diff/configure.ac 2008-12-14 17:25:03.000000000 +0000 @@ -74,15 +74,6 @@ AC_SUBST(LIBNOTIFY_CFLAGS) AC_SUBST(LIBNOTIFY_LIBS) # -# Check for libindicate -# - -PKG_CHECK_MODULES(LIBINDICATE, indicate-0.7 >= 0.6.90 indicate-gtk-0.7 >= 0.6.90) - -AC_SUBST(LIBINDICATE_CFLAGS) -AC_SUBST(LIBINDICATE_LIBS) - -# # Check for GTK+ # PKG_CHECK_MODULES(GTK, gtk+-2.0)
  21. Download patch .pc/messaging_menu.patch/src/Makefile.am

    --- 0.14-9/.pc/messaging_menu.patch/src/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ 0.14-9ubuntu2/.pc/messaging_menu.patch/src/Makefile.am 2013-06-14 16:36:19.000000000 +0000 @@ -0,0 +1,32 @@ +gddir = $(LIBPURPLE_LIBDIR)/purple-2 + +pidgin_libnotify_la_LDFLAGS = -module -avoid-version + +if PLUGINS + +gd_LTLIBRARIES = pidgin-libnotify.la + +pidgin_libnotify_la_SOURCES = \ + pidgin-libnotify.c \ + common.h \ + common.c \ + request.c \ + gln_intl.h + +pidgin_libnotify_la_LIBADD = $(LIBNOTIFY_LIBS) $(DBUS_LIBS) $(GTK_LIBS) + +endif + +AM_CPPFLAGS = \ + -DLIBDIR=\"$(LIBPURPLE_LIBDIR)/purple-2/\" \ + -DDATADIR=\"$(LIBPURPLE_DATADIR)\" \ + -DLOCALEDIR=\"$(LIBPURPLE_DATADIR)/locale\" \ + $(DEBUG_CFLAGS) \ + $(GTK_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(PIDGIN_CFLAGS) \ + $(LIBPURPLE_CFLAGS) \ + $(LIBNOTIFY_CFLAGS) \ + $(DBUS_CFLAGS) \ + $(GTK_CFLAGS) +
  22. Download patch .pc/messaging_menu.patch/configure.ac

    --- 0.14-9/.pc/messaging_menu.patch/configure.ac 1970-01-01 00:00:00.000000000 +0000 +++ 0.14-9ubuntu2/.pc/messaging_menu.patch/configure.ac 2013-06-14 16:36:19.000000000 +0000 @@ -0,0 +1,153 @@ +# +# Most of this configure script was ripped from gaim or the +# gaim-encryption configure script, thanks guys ;) +# + +AC_INIT([pidgin-libnotify], [0.14], [nothing]) +AC_CANONICAL_SYSTEM +AM_CONFIG_HEADER(config.h) + +AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) + +AC_PREREQ([2.50]) + +AC_PATH_PROG(sedpath, sed) +# +# Setup libtool +# +AM_PROG_LIBTOOL +LIBTOOL="$LIBTOOL --silent" + +# +# Our header +# + +AH_TOP([ /* our header */ +#ifndef _KS_CONFIG_H +#define _KS_CONFIG_H +]) +AH_BOTTOM([ +#endif /* _KS_CONFIG_H */ +]) + +# +# Setup gettext +# +AC_PROG_INTLTOOL +GETTEXT_PACKAGE=pidgin-libnotify +AC_SUBST(GETTEXT_PACKAGE) +ALL_LINGUAS="bg cs de es fr gl hu it nl pl pt pt_BR ro ru sl sv zh_CN" +AM_GLIB_GNU_GETTEXT + +# +# Look for the C compiler +# +CFLAGS_save="$CFLAGS" +AC_PROG_CC +CFLAGS="$CFLAGS_save" + +AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) + +if test "x$enable_debug" = "xyes" ; then + AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) +fi + +AC_ARG_ENABLE(deprecated, [ --disable-deprecated compile without deprecated API usage],,enable_deprecated=yes) + +if test "x$enable_deprecated" = no; then + DEBUG_CFLAGS = "$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" +fi +AC_SUBST(DEBUG_CFLAGS) + +if test "x$GCC" = "xyes"; then + CFLAGS="$CFLAGS -Wall -g3" +fi +AC_SUBST(CFLAGS) + +# +# Check for libnotify +# + +PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= 0.3.2) + +AC_SUBST(LIBNOTIFY_CFLAGS) +AC_SUBST(LIBNOTIFY_LIBS) + +# +# Check for GTK+ +# +PKG_CHECK_MODULES(GTK, gtk+-2.0) + +AC_SUBST(GTK_CFLAGS) +AC_SUBST(GTK_LIBS) + +# +# Check for libpurple +# + +PKG_CHECK_MODULES(LIBPURPLE, purple >= 2.0.0, +[ + AC_DEFINE(HAVE_LIBPURPLE, 1, [Define if we've found libpurple.]) +]) + +AC_SUBST(LIBPURPLE_CFLAGS) +LIBPURPLE_LIBDIR=`pkg-config --variable=libdir purple` +LIBPURPLE_DATADIR=`pkg-config --variable=datadir purple` +AC_SUBST(LIBPURPLE_LIBDIR) +AC_SUBST(LIBPURPLE_DATADIR) + +# +# Check for pidgin +# + +PKG_CHECK_MODULES(PIDGIN, pidgin >= 2.0.0, +[ + AC_DEFINE(HAVE_PIDGIN, 1, [Define if we've found pidgin.]) +]) + +AC_SUBST(PIDGIN_CFLAGS) +PIDGIN_LIBDIR=`pkg-config --variable=libdir pidgin` +PIDGIN_DATADIR=`pkg-config --variable=datadir pidgin` +AC_SUBST(PIDGIN_LIBDIR) +AC_SUBST(PIDGIN_DATADIR) + +# +# Check if plugins are enabled +# +want_plugins=yes +AM_CONDITIONAL(PLUGINS, test "$want_plugins" = "yes") + +# +# Version stuff +# +AC_CONFIG_COMMANDS_PRE([ + if test -e VERSION; then + cp -p VERSION VERSION.ac-save + fi +]) + +AC_CONFIG_COMMANDS_POST([ + cmp VERSION VERSION.ac-save || touch -r VERSION.ac-save VERSION + rm -f VERSION.ac-save +]) + +# +# Finish up +# +AC_OUTPUT([Makefile + VERSION + po/Makefile.in + src/Makefile + ]) + +echo; +echo Configuration complete +echo; +echo Debugging enabled..............: $enable_debug +echo Deprecated API enabled.........: $enable_deprecated +#echo libpurple API..................: $LIBPURPLE_CFLAGS +#echo pidgin API.....................: $PIDGIN_CFLAGS +echo; +echo Type make to compile +echo Thank you for using pidgin-libnotify +echo;
  23. Download patch .pc/indicate.patch/configure.ac

    --- 0.14-9/.pc/indicate.patch/configure.ac 2008-12-14 17:25:03.000000000 +0000 +++ 0.14-9ubuntu2/.pc/indicate.patch/configure.ac 1970-01-01 00:00:00.000000000 +0000 @@ -1,153 +0,0 @@ -# -# Most of this configure script was ripped from gaim or the -# gaim-encryption configure script, thanks guys ;) -# - -AC_INIT([pidgin-libnotify], [0.14], [nothing]) -AC_CANONICAL_SYSTEM -AM_CONFIG_HEADER(config.h) - -AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) - -AC_PREREQ([2.50]) - -AC_PATH_PROG(sedpath, sed) -# -# Setup libtool -# -AM_PROG_LIBTOOL -LIBTOOL="$LIBTOOL --silent" - -# -# Our header -# - -AH_TOP([ /* our header */ -#ifndef _KS_CONFIG_H -#define _KS_CONFIG_H -]) -AH_BOTTOM([ -#endif /* _KS_CONFIG_H */ -]) - -# -# Setup gettext -# -AC_PROG_INTLTOOL -GETTEXT_PACKAGE=pidgin-libnotify -AC_SUBST(GETTEXT_PACKAGE) -ALL_LINGUAS="es fr it nl pl pt pt_BR sl hu zh_CN ro gl ru bg de sv" -AM_GLIB_GNU_GETTEXT - -# -# Look for the C compiler -# -CFLAGS_save="$CFLAGS" -AC_PROG_CC -CFLAGS="$CFLAGS_save" - -AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) - -if test "x$enable_debug" = "xyes" ; then - AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) -fi - -AC_ARG_ENABLE(deprecated, [ --disable-deprecated compile without deprecated API usage],,enable_deprecated=yes) - -if test "x$enable_deprecated" = no; then - DEBUG_CFLAGS = "$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" -fi -AC_SUBST(DEBUG_CFLAGS) - -if test "x$GCC" = "xyes"; then - CFLAGS="$CFLAGS -Wall -g3" -fi -AC_SUBST(CFLAGS) - -# -# Check for libnotify -# - -PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= 0.3.2) - -AC_SUBST(LIBNOTIFY_CFLAGS) -AC_SUBST(LIBNOTIFY_LIBS) - -# -# Check for GTK+ -# -PKG_CHECK_MODULES(GTK, gtk+-2.0) - -AC_SUBST(GTK_CFLAGS) -AC_SUBST(GTK_LIBS) - -# -# Check for libpurple -# - -PKG_CHECK_MODULES(LIBPURPLE, purple >= 2.0.0, -[ - AC_DEFINE(HAVE_LIBPURPLE, 1, [Define if we've found libpurple.]) -]) - -AC_SUBST(LIBPURPLE_CFLAGS) -LIBPURPLE_LIBDIR=`pkg-config --variable=libdir purple` -LIBPURPLE_DATADIR=`pkg-config --variable=datadir purple` -AC_SUBST(LIBPURPLE_LIBDIR) -AC_SUBST(LIBPURPLE_DATADIR) - -# -# Check for pidgin -# - -PKG_CHECK_MODULES(PIDGIN, pidgin >= 2.0.0, -[ - AC_DEFINE(HAVE_PIDGIN, 1, [Define if we've found pidgin.]) -]) - -AC_SUBST(PIDGIN_CFLAGS) -PIDGIN_LIBDIR=`pkg-config --variable=libdir pidgin` -PIDGIN_DATADIR=`pkg-config --variable=datadir pidgin` -AC_SUBST(PIDGIN_LIBDIR) -AC_SUBST(PIDGIN_DATADIR) - -# -# Check if plugins are enabled -# -want_plugins=yes -AM_CONDITIONAL(PLUGINS, test "$want_plugins" = "yes") - -# -# Version stuff -# -AC_CONFIG_COMMANDS_PRE([ - if test -e VERSION; then - cp -p VERSION VERSION.ac-save - fi -]) - -AC_CONFIG_COMMANDS_POST([ - cmp VERSION VERSION.ac-save || touch -r VERSION.ac-save VERSION - rm -f VERSION.ac-save -]) - -# -# Finish up -# -AC_OUTPUT([Makefile - VERSION - po/Makefile.in - src/Makefile - ]) - -echo; -echo Configuration complete -echo; -echo Debugging enabled..............: $enable_debug -echo Deprecated API enabled.........: $enable_deprecated -#echo libpurple API..................: $LIBPURPLE_CFLAGS -#echo pidgin API.....................: $PIDGIN_CFLAGS -echo; -echo Type make to compile -echo Thank you for using pidgin-libnotify -echo;
  24. Download patch debian/patches/best_name.patch

    --- 0.14-9/debian/patches/best_name.patch 2012-08-08 19:22:46.000000000 +0000 +++ 0.14-9ubuntu2/debian/patches/best_name.patch 2012-11-16 09:14:48.000000000 +0000 @@ -5,9 +5,9 @@ Bug-Ubuntu: https://launchpad.net/bugs/4 Index: pidgin-libnotify-0.14/src/pidgin-libnotify.c =================================================================== ---- pidgin-libnotify-0.14.orig/src/pidgin-libnotify.c 2012-08-08 15:07:50.430218900 -0400 -+++ pidgin-libnotify-0.14/src/pidgin-libnotify.c 2012-08-08 15:07:51.126198150 -0400 -@@ -176,16 +176,10 @@ +--- pidgin-libnotify-0.14.orig/src/pidgin-libnotify.c 2012-11-16 10:14:37.751591394 +0100 ++++ pidgin-libnotify-0.14/src/pidgin-libnotify.c 2012-11-16 10:14:38.695591359 +0100 +@@ -131,16 +131,10 @@ } /* do NOT g_free() the string returned by this function */
  25. Download patch src/pidgin-libnotify.c
  26. Download patch debian/patches/force-load.patch

    --- 0.14-9/debian/patches/force-load.patch 2012-08-08 19:22:46.000000000 +0000 +++ 0.14-9ubuntu2/debian/patches/force-load.patch 2012-11-16 09:10:34.000000000 +0000 @@ -1,11 +1,9 @@ === modified file 'src/pidgin-libnotify.c' -Index: pidgin-libnotify/src/pidgin-libnotify.c -=================================================================== ---- pidgin-libnotify.orig/src/pidgin-libnotify.c 2011-08-10 22:52:51.793663042 -0400 -+++ pidgin-libnotify/src/pidgin-libnotify.c 2011-08-10 22:53:21.483706587 -0400 -@@ -1151,6 +1151,20 @@ - return FALSE; - } +--- a/src/pidgin-libnotify.c ++++ b/src/pidgin-libnotify.c +@@ -568,6 +568,20 @@ + &prefs_info /* prefs info */ + }; +static gboolean +force_load_once (gpointer data) @@ -22,9 +20,9 @@ Index: pidgin-libnotify/src/pidgin-libno +} + static void - notify_check_caps_helper (gpointer data, gpointer user_data) + init_plugin (PurplePlugin *plugin) { -@@ -1371,6 +1385,9 @@ +@@ -585,6 +599,9 @@ purple_prefs_add_bool ("/plugins/gtk/libnotify/signon", TRUE); purple_prefs_add_bool ("/plugins/gtk/libnotify/signoff", FALSE); purple_prefs_add_bool ("/plugins/gtk/libnotify/only_available", FALSE);
  1. pidgin
  2. pidgin-libnotify