Remove mail-notification. Dead upstream and cannot cope with recent

version of its dependencies, no need to keep it rotting our beautiful
growing tree.

landry@ and jasper@ didn't even pretend to shed a tear.
This commit is contained in:
ajacoutot 2011-08-30 12:25:31 +00:00
parent 3f461814a5
commit 208ab5dbc8
11 changed files with 1 additions and 283 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.269 2011/08/30 06:55:20 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.270 2011/08/30 12:25:31 ajacoutot Exp $
# $FreeBSD: Makefile,v 1.51 1997/11/14 22:56:43 hoek Exp $
#
@ -77,7 +77,6 @@
SUBDIR += ldapvacation
SUBDIR += libetpan
SUBDIR += libspf2
SUBDIR += mail-notification
SUBDIR += mailcrypt
SUBDIR += maildrop
SUBDIR += mailgraph

View File

@ -1,81 +0,0 @@
# $OpenBSD: Makefile,v 1.46 2011/08/30 06:49:52 ajacoutot Exp $
BROKEN= doesn't build with new gmime, upstream dead
COMMENT= mail notification for freedesktop.org-compliant system trays
DISTNAME= mail-notification-5.4
REVISION= 18
CATEGORIES= mail
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://www.nongnu.org/mailnotify/
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0
WANTLIB += bonobo-2 bonobo-activation bonoboui-2 c cairo crypto
WANTLIB += dbus-1 dbus-glib-1 expat fontconfig freetype gailutil
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0 glib-2.0
WANTLIB += gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2
WANTLIB += gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pixman-1 png popt pthread
WANTLIB += pthread-stubs ssl xcb xcb-render xml2 canberra drm xcb-shm
WANTLIB += z gnomeui-2>=2400 notify sasl2 gmime-2.4 GL Xxf86vm
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=mailnotify/}
MODULES= devel/gettext \
textproc/intltool \
devel/gconf2
BUILD_DEPENDS= textproc/rarian \
x11/gob2 # needed for patch-src_mn-popup_gob
RUN_DEPENDS= devel/desktop-file-utils \
x11/gnome/yelp \
notification-daemon-*|notification-daemon-xfce-*|xfce4-notifyd-*:sysutils/notification-daemon
LIB_DEPENDS= x11/gnome/libgnomeui \
devel/libnotify>=0.7.2 \
security/cyrus-sasl2 \
gmime->=2.4,<2.6:mail/gmime24
NO_REGRESS= Yes
MODGCONF2_SCHEMAS_DIR= mail-notification
do-configure:
cd ${WRKSRC} && ./jb configure ${JB_FLAGS} \
evolution=no hotmail=no yahoo=no \
cc="${CC}" \
cflags="${CFLAGS}" \
cppflags="-I${LOCALBASE}/include" \
ldflags="-L${LOCALBASE}/lib -liconv" \
prefix="${PREFIX}" \
data-owner=${SHAREOWN} \
data-group=${SHAREGRP} \
program-owner=${BINOWN} \
program-group=${BINGRP} \
library-owner=${BINOWN} \
library-group=${BINGRP} \
gconf-schemas-dir="${LOCALBASE}/${SCHEMAS_INSTDIR}/" \
gconftool-2="/usr/bin/true" \
destdir="${WRKINST}"
do-build:
cd ${WRKBUILD} && ./jb build
do-install:
cd ${WRKBUILD} && ./jb ${INSTALL_TARGET}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mail-notification
mv ${PREFIX}${SYSCONFDIR}/xdg ${PREFIX}/share/examples/mail-notification
rm -fr ${PREFIX}${SYSCONFDIR}
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
MD5 (mail-notification-5.4.tar.bz2) = yNwzphJRrLVHTlbqtrGPQw==
RMD160 (mail-notification-5.4.tar.bz2) = ZJRlCe+Z/euo/1R/+sODDDYTFIQ=
SHA1 (mail-notification-5.4.tar.bz2) = wUhEnF0v0KdVceTkKTLaHxrgE/Y=
SHA256 (mail-notification-5.4.tar.bz2) = XexfOFJDfnc1JpaXx3opok6iMJh8dkUj/mbavcqBWvU=
SIZE (mail-notification-5.4.tar.bz2) = 570008

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-build_src_mn-base-mbox-mailbox-backend_c,v 1.1 2010/09/11 08:07:09 ajacoutot Exp $
- fix build with GMime 2.4.
--- build/src/mn-base-mbox-mailbox-backend.c.orig Sat Sep 11 09:53:41 2010
+++ build/src/mn-base-mbox-mailbox-backend.c Sat Sep 11 09:53:41 2010
@@ -301,7 +301,7 @@ mn_base_mbox_mailbox_backend_get_mailbox_type (GnomeVF
mime_message = g_mime_parser_construct_message(parser);
if (mime_message)
{
- if (g_mime_message_get_header(mime_message, "X-Mozilla-Status"))
+ if (g_mime_object_get_header(mime_message, "X-Mozilla-Status"))
{
#if WITH_MOZILLA
type = MN_TYPE_MOZILLA_MAILBOX_BACKEND;

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-build_src_mn-mozilla-mailbox-backend_c,v 1.1 2010/09/11 08:07:09 ajacoutot Exp $
- fix build with GMime 2.4.
--- build/src/mn-mozilla-mailbox-backend.c.orig Sat Sep 11 09:53:38 2010
+++ build/src/mn-mozilla-mailbox-backend.c Sat Sep 11 09:53:38 2010
@@ -194,7 +194,7 @@ mn_mozilla_mailbox_backend_get_status_flags (GMimeMess
const char *header;
- header = g_mime_message_get_header(mime_message, header_name);
+ header = g_mime_object_get_header(mime_message, header_name);
if (header && mn_str_ishex(header))
return strtol(header, NULL, 16);
else

View File

@ -1,22 +0,0 @@
$OpenBSD: patch-jb,v 1.2 2010/07/22 09:29:13 landry Exp $
--- jb.orig Sat Apr 26 00:57:47 2008
+++ jb Thu Jul 22 11:23:12 2010
@@ -23,7 +23,6 @@ maintainer_cflags="-g -fstrict-aliasing -Wall -Werror
-Wno-format-zero-length \
-Wno-unused-parameter \
-Wfloat-equal \
--Wdeclaration-after-statement \
-Wendif-labels \
-Wpointer-arith \
-Wcast-align \
@@ -31,10 +30,8 @@ maintainer_cflags="-g -fstrict-aliasing -Wall -Werror
-Wmissing-noreturn \
-Wmissing-format-attribute \
-Wpacked \
--Wredundant-decls \
-Wnested-externs \
-Winline \
--Wno-pointer-sign \
-Wshadow"
if test -z $jb_cc; then

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-jbsrc_jb_c,v 1.4 2011/04/16 09:13:08 ajacoutot Exp $
- fix gtk-update-icon-cache line.
- fix build with GMime 2.4.
--- jbsrc/jb.c.orig Thu May 22 17:47:04 2008
+++ jbsrc/jb.c Sat Sep 11 09:54:45 2010
@@ -166,7 +166,7 @@ jb_package_configure (void)
jb_require_packages("GNOME", "gnome", "glib-2.0 >= 2.14 gthread-2.0 gconf-2.0 >= 2.4.0 gtk+-2.0 >= 2.12 libgnomeui-2.0 >= 2.14.0 gnome-vfs-2.0 libglade-2.0 libxml-2.0 libnotify >= 0.4.1");
jb_require_packages("D-Bus", "dbus", "dbus-glib-1");
- jb_check_packages_for_options("GMime", "gmime", "gmime-2.0 >= 2.2.7",
+ jb_check_packages_for_options("GMime", "gmime", "gmime-2.4 >= 2.4.0",
"hotmail",
"imap",
"maildir",
@@ -365,8 +365,6 @@ jb_package_add_resources (void)
jb_group_add_data_file(group, "hotmail.png", "$pkgdatadir");
rule = jb_rule_new();
- jb_rule_set_install_message(rule, "updating the GTK+ icon cache");
- jb_rule_add_install_command(rule, "-gtk-update-icon-cache -f -t $datadir/icons/hicolor");
jb_group_add_resource(group, JB_GROUP_RESOURCE(rule));
jb_group_add(group);

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-src_mn-message-mime_c,v 1.1 2010/09/11 08:07:09 ajacoutot Exp $
- fix build with GMime 2.4.
--- src/mn-message-mime.c.orig Sat Sep 11 09:53:41 2010
+++ src/mn-message-mime.c Sat Sep 11 09:53:41 2010
@@ -33,12 +33,12 @@ is_spam (GMimeMessage *mime_message)
g_return_val_if_fail(GMIME_IS_MESSAGE(mime_message), FALSE);
/* SpamAssassin */
- spam = g_mime_message_get_header(mime_message, "X-Spam-Status");
+ spam = g_mime_object_get_header(mime_message, "X-Spam-Status");
if (spam && mn_ascii_str_case_has_prefix(spam, "yes"))
return TRUE;
/* bogofilter */
- spam = g_mime_message_get_header(mime_message, "X-Bogosity");
+ spam = g_mime_object_get_header(mime_message, "X-Bogosity");
if (spam && mn_ascii_str_case_has_prefix(spam, "yes"))
return TRUE;
@@ -89,7 +89,7 @@ mn_message_new_from_mime_message_full (GType type,
{
const char *status;
- status = g_mime_message_get_header(mime_message, "Status");
+ status = g_mime_object_get_header(mime_message, "Status");
if (status && strchr(status, 'R'))
return NULL; /* the message was read */
else if (status && strchr(status, 'O'))

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-src_mn-popup_gob,v 1.1 2011/04/21 07:05:36 ajacoutot Exp $
Fix with libnotify>=0.7
(notify_notification_attach_to_widget is gone)
--- src/mn-popup.gob.orig Tue Apr 19 12:24:44 2011
+++ src/mn-popup.gob Tue Apr 19 12:24:53 2011
@@ -51,8 +51,8 @@ class MN:Popup from Notify:Notification
"icon-name", "stock_mail",
NULL);
- if (mn_conf_get_enum_value(MN_TYPE_POPUP_POSITION, MN_CONF_POPUPS_POSITION) == MN_POPUP_POSITION_ATTACHED)
- g_object_set(self, "attach-widget", mn_shell->icon, NULL);
+// if (mn_conf_get_enum_value(MN_TYPE_POPUP_POSITION, MN_CONF_POPUPS_POSITION) == MN_POPUP_POSITION_ATTACHED)
+// g_object_set(self, "attach-widget", mn_shell->icon, NULL);
g_string_free(body, TRUE);

View File

@ -1,14 +0,0 @@
Mail Notification is a status icon (aka tray icon) that informs you if
you have new mail.
It works with system trays implementing the freedesktop.org System
Tray Specification, such as the GNOME Panel Notification Area, the
Xfce Notification Area and the KDE System Tray.
Mail Notification features include:
- multiple mailbox support
- mbox, MH, Maildir, Sylpheed, GMail and POP3 support
- automatic detection of mailbox format
- automatic notification
- HIG compliance

View File

@ -1,56 +0,0 @@
@comment $OpenBSD: PLIST,v 1.13 2010/06/15 19:35:38 jasper Exp $
@bin bin/mail-notification
share/applications/mail-notification-properties.desktop
share/examples/mail-notification/
share/examples/mail-notification/xdg/
@sample ${SYSCONFDIR}/xdg/
share/examples/mail-notification/xdg/autostart/
@sample ${SYSCONFDIR}/xdg/autostart/
share/examples/mail-notification/xdg/autostart/mail-notification.desktop
@sample ${SYSCONFDIR}/xdg/autostart/mail-notification.desktop
share/gnome/help/mail-notification/
share/gnome/help/mail-notification/C/
share/gnome/help/mail-notification/C/documentation-license.xml
share/gnome/help/mail-notification/C/figures/
share/gnome/help/mail-notification/C/figures/mail.png
share/gnome/help/mail-notification/C/mail-notification.xml
share/gnome/help/mail-notification/C/software-license.xml
share/icons/hicolor/16x16/apps/mail-notification.png
share/icons/hicolor/22x22/apps/mail-notification.png
share/icons/hicolor/24x24/apps/mail-notification.png
share/icons/hicolor/32x32/apps/mail-notification.png
share/icons/hicolor/48x48/apps/mail-notification.png
share/icons/hicolor/scalable/apps/mail-notification.svg
share/locale/bg/LC_MESSAGES/mail-notification.mo
share/locale/ca/LC_MESSAGES/mail-notification.mo
share/locale/cs/LC_MESSAGES/mail-notification.mo
share/locale/de/LC_MESSAGES/mail-notification.mo
share/locale/es/LC_MESSAGES/mail-notification.mo
share/locale/fr/LC_MESSAGES/mail-notification.mo
share/locale/ja/LC_MESSAGES/mail-notification.mo
share/locale/nl/LC_MESSAGES/mail-notification.mo
share/locale/pl/LC_MESSAGES/mail-notification.mo
share/locale/pt/LC_MESSAGES/mail-notification.mo
share/locale/pt_BR/LC_MESSAGES/mail-notification.mo
share/locale/ru/LC_MESSAGES/mail-notification.mo
share/locale/sr/LC_MESSAGES/mail-notification.mo
share/locale/sr@Latn/
share/locale/sr@Latn/LC_MESSAGES/
share/locale/sr@Latn/LC_MESSAGES/mail-notification.mo
share/locale/sv/LC_MESSAGES/mail-notification.mo
share/mail-notification/
share/mail-notification/gmail.png
share/mail-notification/logo.png
share/mail-notification/mailbox-properties-dialog.glade
share/mail-notification/new-mail.wav
share/mail-notification/properties-dialog.glade
share/omf/mail-notification/
share/omf/mail-notification/mail-notification-C.omf
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
${SCHEMAS_INSTDIR}/
${SCHEMAS_INSTDIR}/mail-notification.schemas
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@unexec-delete %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database