Source: openfetion
Version: 2.2.1-3
Severity: important
Tags: upstream patch

Hi,

with the new libindicator/libindicate in unstable, a rebuild of openfetion
would not fail, but it would lose the indicator support, as it looks for
an old pc file and a function was renamed. I attach a simple patch that
solves the issue. As this affects the libindicator[1] transition, I'd like
to see the fix in the archive soon and could NMU if you do not object and
busy.

Regards
Evgeni

[1] http://release.debian.org/transitions/html/libindicator.html

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: openfetion-2.2.1/CMakeLists.txt
===================================================================
--- openfetion-2.2.1.orig/CMakeLists.txt	2011-05-09 10:14:28.000000000 +0200
+++ openfetion-2.2.1/CMakeLists.txt	2012-02-20 23:25:04.025643825 +0100
@@ -82,7 +82,7 @@
 if(WITH_INDICATE)
 	pkg_check_modules(INDICATE indicate)
 	pkg_check_modules(INDICATE_GTK indicate-gtk)
-	pkg_check_modules(INDICATE_GTK_NEW indicate-gtk-0.5)
+	pkg_check_modules(INDICATE_GTK_NEW indicate-gtk-0.6)
 endif(WITH_INDICATE)
 
 ##########################################################################
Index: openfetion-2.2.1/src/fx_main.c
===================================================================
--- openfetion-2.2.1.orig/src/fx_main.c	2011-05-09 10:14:28.000000000 +0200
+++ openfetion-2.2.1/src/fx_main.c	2012-02-20 23:33:23.165322890 +0100
@@ -692,7 +692,7 @@
 	/* set icon */
 	snprintf(portrait, sizeof(portrait) - 1, "%s/%s.jpg", fxmain->user->config->iconPath, sid);
 	pixbuf = gdk_pixbuf_new_from_file(portrait, NULL);
-	indicate_indicator_set_property_icon(indicator, INDICATE_INDICATOR_MESSAGES_PROP_ICON, pixbuf);
+	indicate_gtk_indicator_set_property_icon(indicator, INDICATE_INDICATOR_MESSAGES_PROP_ICON, pixbuf);
 	g_object_unref(pixbuf);
 
 	g_signal_connect(G_OBJECT(indicator), INDICATE_INDICATOR_SIGNAL_DISPLAY,

Reply via email to