← Back to team overview

dx-packages team mailing list archive

[Bug 1310490] Re: Doesn't register to use the messaging menu (indicator-messages) on 14.04 LTS

 

*** This bug is a duplicate of bug 1315384 ***
    https://bugs.launchpad.net/bugs/1315384

I could make it working, but not perfect yet. It shows the gm-notify
icon and unread e-mail numbers.  I ported to libmessaging-menu. Please
somebody continue to take a look a it. I may not be available for the
next several days.

1. Download python wrapper for libmessagng-menu
swig -python -module messaging messaging.c

gcc -I/usr/include/python2.7 -I/usr/include/glib-2.0 -I/usr/lib/x86_64
-linux-gnu/glib-2.0/include -I/usr/include/libdbusmenu-glib-0.4
-I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-
pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12
-I/usr/include/harfbuzz -I/usr/include/libindicate-0.7 -I/usr/include
/libindicate-gtk-0.7/ -lindicate -ldbusmenu-glib -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0
-lglib-2.0 -lfreetype -lindicate-gtk -I/usr/include/messaging-menu
-lmessaging-menu -fPIC -c messaging.c messaging_wrap.c

ld -shared -o _messaging.so messaging.o messaging_wrap.o -lmessaging-
menu

Now you can see _messaging.so is created. This is a python wrapper.

2. Download the modified gm-notify and run it.
At line 44, you should specify your wrapper library location.



** Attachment added: "ported to libmessaging-menu"
   https://bugs.launchpad.net/ubuntu/+source/gm-notify/+bug/1310490/+attachment/4107454/+files/gm-notify-modified.tgz

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to libindicate in Ubuntu.
https://bugs.launchpad.net/bugs/1310490

Title:
  Doesn't register to use the messaging menu (indicator-messages) on
  14.04 LTS

Status in Highly Ubuntu integrated GMail Notifier:
  Confirmed
Status in Libindicate:
  Confirmed
Status in “gm-notify” package in Ubuntu:
  Confirmed
Status in “libindicate” package in Ubuntu:
  Confirmed

Bug description:
  I've recently upgraded from Ubuntu 12.04.4 LTS to 14.04 LTS. I've
  noticed, that the mail icon (indicator-messages) is hidden (I don't
  use Thunderbird, so it is not installed.)

  I know, that it is hidden, because I'm using GMail Notifier, which
  displays itself if new mail has arrived, and it works.

  Package info:
  gm-notify:
    Installed: 0.10.3-0ubuntu3
    Candidate: 0.10.3-0ubuntu3
    Version table:
   *** 0.10.3-0ubuntu3 0
          500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
          100 /var/lib/dpkg/status

  indicator-messages:
    Installed: 13.10.1+14.04.20140410-0ubuntu1
    Candidate: 13.10.1+14.04.20140410-0ubuntu1
    Version table:
   *** 13.10.1+14.04.20140410-0ubuntu1 0
          500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  python-indicate:
    Installed: 12.10.1-0ubuntu3
    Candidate: 12.10.1-0ubuntu3
    Version table:
   *** 12.10.1-0ubuntu3 0
          500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
          100 /var/lib/dpkg/status

  
  $ gsettings get com.canonical.indicator.messages applications
  @as []

  Please fix this issue!

To manage notifications about this bug go to:
https://bugs.launchpad.net/gm-notify/+bug/1310490/+subscriptions


References