Package Details: mailtc 1.4.0-3

Git Clone URL: https://aur.archlinux.org/mailtc.git (read-only)
Package Base: mailtc
Description: Lightweight GTK2 mail checker for the system tray/notification area of panels.
Upstream URL: http://mailtc.sourceforge.net
Licenses: GPL
Submitter: kidoz
Maintainer: bidulock
Last Packager: bidulock
Votes: 11
Popularity: 0.057464
First Submitted: 2009-10-30 22:02
Last Updated: 2015-06-10 13:08

Latest Comments

ubone commented on 2016-01-10 08:23

How to edit the pkgbuild to change the default) received-new-email icon to the one provided by the system's icon theme (mail-message.png or mail-unread-new.png)?

kidoz commented on 2013-07-20 19:45

@bidulock
Done

bidulock commented on 2013-07-19 18:17

Please add options=('!emptydirs' '!libtool') to the PKGBUILD.

kurych commented on 2012-12-03 08:23

I could offer fresh version PKGBUILD with patch, which would allow compile packet. Unfortunatly, version 1.4.2 still unusable.

$ cat PKGBUILD
pkgname=mailtc
pkgver=1.4.0
pkgrel=2
pkgdesc="Lightweight GTK2 mail checker for the system tray/notification area of panels."
arch=('i686' 'x86_64')
url="http://mailtc.sourceforge.net/"
license=('GPL')
depends=(gtk2)
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz patch-gdk_display.diff)
md5sums=('aa83fd5a16d09ff75f0ef53f918b4c44'
'1cac50a5ab039a694f0a255588910604')

build() {
cd $srcdir/$pkgname-$pkgver
patch -uNp2 -i ../patch-gdk_display.diff || return 1
export LDFLAGS="-lX11 -lgmodule-2.0"
./configure --prefix=/usr
make || return 1
}

package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install || return 1
}

$ cat patch-gdk_display.diff
--- ./mailtc-1.4.0/src/eggtrayicon.c.orig 2012-12-03 03:23:29.698700519 +0400
+++ ./mailtc-1.4.0/src/eggtrayicon.c 2012-12-03 03:28:44.043695361 +0400
@@ -164,7 +164,7 @@
#if HAVE_GTK_MULTIHEAD
display = GDK_DISPLAY_XDISPLAY (gtk_widget_get_display (GTK_WIDGET (icon)));
#else
- display = gdk_display;
+ display = gdk_x11_get_default_xdisplay();
#endif

gdk_error_trap_push ();
@@ -192,7 +192,7 @@
#if HAVE_GTK_MULTIHEAD
xdisplay = GDK_DISPLAY_XDISPLAY (gtk_widget_get_display (GTK_WIDGET (icon)));
#else
- xdisplay = gdk_display;
+ xdisplay = gdk_x11_get_default_xdisplay();
#endif

if (icon->manager_window != None)
@@ -309,7 +309,7 @@
EggTrayIcon*
egg_tray_icon_new (const gchar *name)
{
- return egg_tray_icon_new_for_xscreen (DefaultScreenOfDisplay (gdk_display), name);
+ return egg_tray_icon_new_for_xscreen (DefaultScreenOfDisplay (gdk_x11_get_default_xdisplay()), name);
}

guint
@@ -347,7 +347,7 @@
#if HAVE_GTK_MULTIHEAD
xdisplay = GDK_DISPLAY_XDISPLAY (gtk_widget_get_display (GTK_WIDGET (icon)));
#else
- xdisplay = gdk_display;
+ xdisplay = gdk_x11_get_default_xdisplay();
#endif

ev.type = ClientMessage;

gh0st commented on 2012-07-07 08:11

Also same build error

Anonymous comment on 2012-07-06 23:01

Same as Arathis, getting a build error.

Arathis commented on 2011-07-18 05:03

Getting this when trying to build:

eggtrayicon.c: In function 'egg_tray_icon_get_type':
eggtrayicon.c:58:7: warning: missing initializer [-Wmissing-field-initializers]
eggtrayicon.c:58:7: warning: (near initialization for 'our_info.value_table') [-Wmissing-field-initializers]
eggtrayicon.c: In function 'egg_tray_icon_manager_filter':
eggtrayicon.c:96:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
eggtrayicon.c:89:60: warning: unused parameter 'event' [-Wunused-parameter]
eggtrayicon.c: In function 'egg_tray_icon_unrealize':
eggtrayicon.c:125:7: warning: implicit declaration of function 'gdk_window_lookup' [-Wimplicit-function-declaration]
eggtrayicon.c:125:14: warning: assignment makes pointer from integer without a cast [enabled by default]
eggtrayicon.c:134:15: warning: assignment makes pointer from integer without a cast [enabled by default]
eggtrayicon.c: In function 'egg_tray_icon_send_manager_message':
eggtrayicon.c:167:13: error: 'gdk_display' undeclared (first use in this function)
eggtrayicon.c:167:13: note: each undeclared identifier is reported only once for each function it appears in
eggtrayicon.c: In function 'egg_tray_icon_update_manager_window':
eggtrayicon.c:195:14: error: 'gdk_display' undeclared (first use in this function)
eggtrayicon.c:206:14: warning: assignment makes pointer from integer without a cast [enabled by default]
eggtrayicon.c:232:14: warning: assignment makes pointer from integer without a cast [enabled by default]
eggtrayicon.c: In function 'egg_tray_icon_new_for_xscreen':
eggtrayicon.c:286:15: warning: assignment makes pointer from integer without a cast [enabled by default]
eggtrayicon.c: In function 'egg_tray_icon_new':
eggtrayicon.c:312:41: error: 'gdk_display' undeclared (first use in this function)
eggtrayicon.c: In function 'egg_tray_icon_send_message':
eggtrayicon.c:350:18: error: 'gdk_display' undeclared (first use in this function)
eggtrayicon.c: In function 'egg_tray_icon_new':
eggtrayicon.c:313:1: warning: control reaches end of non-void function [-Wreturn-type]
make[1]: *** [eggtrayicon.o] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-doerk/aur-mailtc/src/mailtc-1.4.0/src'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build mailtc.

kidoz commented on 2010-05-26 20:10

:)

Anonymous comment on 2010-05-26 18:10

cool :) thats what i am searching for a long time!!!

kidoz commented on 2010-04-10 13:19

mailtc 1.4.2 - not working