Package Details: mail-notification 5.4.r69.g9ae8768-3

Git Clone URL: https://aur.archlinux.org/mail-notification.git (read-only)
Package Base: mail-notification
Description: Tray icon application that informs you if you have new mail
Upstream URL: http://www.nongnu.org/mailnotify/
Keywords: gnome imap mail
Licenses: GPL3, FDL
Submitter: wonder
Maintainer: grawity
Last Packager: grawity
Votes: 2
Popularity: 0.481466
First Submitted: 2012-05-09 16:24
Last Updated: 2016-04-27 12:58

Latest Comments

lavoisier commented on 2015-12-14 15:13

Could not compile. Missing mail-notification-aarch64.patch file in git repository.

http://pkgs.fedoraproject.org/cgit/mail-notification.git/commit/mail-notification-aarch64.patch?id=9e8d2c9264bad681349f1fed6a67bc0d92cdef70

Case_Of commented on 2015-10-08 20:13

libgnomeui is missing in the dependencies.

checking for GTK... no
WARNING: Package libgnomeui-2.0 was not found in the pkg-config search path.
WARNING: Perhaps you should add the directory containing `libgnomeui-2.0.pc'
WARNING: to the PKG_CONFIG_PATH environment variable
WARNING: No package 'libgnomeui-2.0' found
ERROR: unable to find GTK

devman commented on 2014-06-03 13:33

Reposting this comment with a GIST link for the PKGBUILD patch.

bidulock, this is my first comment, I haven't looked around yet has to how to get things submitted, thank you for your guidance.

*****
I'm new to AUR, but I managed to get this package working again.

You'll need to grab the patch linked below and place it with all the other patches along side the PKGBUILD.

http://pkgs.fedoraproject.org/cgit/mail-notification.git/plain/mail-notification-dont-link-against-bsd-compat.patch

Next patch the PKGBUILD with this patch

https://gist.githubusercontent.com/indevrs/c70496c697007944d393/raw/1814004e44fb8af73bcf3a408e524a901d1c7835/PKGBUILD-mail-notification-5.4-10.patch


After that rebuild the package and it should work.

bidulock commented on 2014-06-03 13:30

Why not just do

yaourt -S pkgbuild-introspection
mkaurball

and upload the resulting source package using "Submit" at the top of the page. You can disown the package again once you upload it if you do not want to maintain it.

devman commented on 2014-06-03 13:25

I'm new to AUR, but I managed to get this package working again.

You'll need to grab the patch linked below and place it with all the other patches along side the PKGBUILD.

http://pkgs.fedoraproject.org/cgit/mail-notification.git/plain/mail-notification-dont-link-against-bsd-compat.patch

Next patch the PKGBUILD with this patch

<code>
--- PKGBUILD.orig 2012-10-27 12:55:25.000000000 -0400
+++ PKGBUILD 2014-06-03 09:19:20.109161553 -0400
@@ -27,7 +27,8 @@
mail-notification-5.4-gtk3-support.patch
mail-notification-5.4-add-fallback-icon.patch
mail-notification-5.4-gmime.patch
- mail-notification-5.4-libx11.patch)
+ mail-notification-5.4-libx11.patch
+ mail-notification-dont-link-against-bsd-compat.patch )
md5sums=('c8dc33a61251acb5474e56eab6b18f43'
'6007bc30e789dab0a8282038e0335eb9'
'9cadd61bbd9c324b2916ec980231e0f2'
@@ -43,7 +44,8 @@
'1ba948759110787dd57097cff157b75a'
'09df61b4dc29c676ac81ff9054e840ac'
'0944695e9b9b30f39028f85c83c6a7e2'
- 'c3f643ef16aab3b4fe9ff5b333bff41a')
+ 'c3f643ef16aab3b4fe9ff5b333bff41a'
+ '715b95399afe06c5b41f3bd1cb436ecb')

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -63,10 +65,12 @@
patch -Np0 -i "${srcdir}/mail-notification-5.4-add-fallback-icon.patch"
patch -Np1 -i "${srcdir}/mail-notification-5.4-gmime.patch"
patch -Np1 -i "${srcdir}/mail-notification-5.4-libx11.patch"
+ patch -Np0 -i "${srcdir}/mail-notification-dont-link-against-bsd-compat.patch"

gtk-builder-convert ui/mailbox-properties-dialog.glade ui/mailbox-properties-dialog.ui
gtk-builder-convert ui/properties-dialog.glade ui/properties-dialog.ui

+ jb_cppflags=-Wno-error \
./jb configure prefix=/usr sysconfdir=/etc \
localstatedir=/var destdir="${pkgdir}" \
gconf-schemas-dir=/etc/gconf/schemas install-gconf-schemas=no \
</code>


After that rebuild the package and it should work.

praneeth commented on 2014-01-13 12:09

I get an error while building the package..

building jb...
jbsrc/lib/src/core/jb-main.c: In function ‘jb_main’:
jbsrc/lib/src/core/jb-main.c:164:3: error: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations]
g_type_init();
^
cc1: all warnings being treated as errors
jbsrc/lib/src/core/jb-util.c: In function ‘print_warning_or_error’:
jbsrc/lib/src/core/jb-util.c:225:3: error: function might be possible candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]
message = g_strdup_vprintf(format, args);
^
cc1: all warnings being treated as errors
ERROR: cannot build jb
==> ERROR: A failure occurred in build().
Aborting...
The build failed

J4913 commented on 2013-06-04 14:15

Okay, I think I would just have to recompile, but I get some deprecation warnings. Removing -Werror and fixing the problem mentioned below, I get:

src/mn-evolution-server.gob: In function ‘mn_evolution_server_lookup_folder’:
src/mn-evolution-server.gob:152:11: error: too few arguments to function ‘e_mail_session_new’
dgettext(GETTEXT_PACKAGE, "folder not found"));
^
In file included from /usr/include/evolution-3.8/mail/e-mail-backend.h:30:0,
from /usr/include/evolution-3.8/mail/e-mail-browser.h:26,
from src/mn-evolution-server.gob:32:
/usr/include/evolution-3.8/libemail-engine/e-mail-session.h:84:16: note: declared here
EMailSession * e_mail_session_new (ESourceRegistry *registry);

J4913 commented on 2013-05-21 14:58

When I run it, I get:

mail-notification: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory

Seems to have started with the recent libsasl update (2.21.6-2, I got it 15th May), which now provides libsasl2.so.3 and not libsasl2.so.2. I'm not sure of the significance of that changed number, so I don't know if it's a libsasl packaging bug or a mail-notification issue.

tbmatuka commented on 2012-05-31 14:09

really ugly solution:
ln -s /usr/include/evolution-3.4/libemail-engine/* /usr/include/evolution-3.4/mail/
ln -s /usr/include/libsoup-2.4/libsoup/ /usr/include/evolution-data-server-3.4/
ln -s /usr/include/gconf/2/gconf/ /usr/include/evolution-data-server-3.4/

cleaning up after compiling:
ls -l /usr/include/evolution-3.4/mail/ | grep -E "^l" | cut -d" " -f11 | sed -r 's@^@/usr/include/evolution-3.4/mail/@' | xargs rm
rm /usr/include/evolution-data-server-3.4/{libsoup,gconf}

prettier solution would be to make another patch which will fix #include <mail/*> for those headers that are now in libemail-engine and add proper libsoup and gconf dirs to be searched for files to include.

arriagga commented on 2012-05-11 00:18

I cant compiled it:

In file included from build/src/mn-evolution-folder-tree-server.c:15:0:
build/src/mn-evolution-folder-tree-server-private.h:9:33: error fatal: mail/e-mail-session.h: file or directory does not exit
ERROR: command failed

All comments