mail-notification only allows Gmail mailboxes?

Torfinn Ingolfsen tingox at gmail.com
Sat Nov 8 14:07:04 UTC 2014


On Sat, Nov 8, 2014 at 3:43 AM, Jonathan Chen <jonc at chen.org.nz> wrote:
>
> I'm not seeing your errors - but my options differs from yours in that
> I have MOZILLA=off. I'm also running 10/STABLE

I tried changing the MOZILLA option, but no dice. Something is really off here.
Options:

root at kg-core1# make showconfig
===> The following configuration options are available for
mail-notification-5.4_15:
     EVOLUTION=off: Evolution support
     GMAIL=on: Gmail support
     IMAP=on: IMAP support
     MAILDIR=on: Maildir support
     MBOX=on: mbox support
     MH=on: MH support
     MOZILLA=off: Mozilla products support
     POP3=on: POP3 support
     SASL=on: SASL authentication support
     SSL=on: SSL protocol support
     SYLPHEED=on: Sylpheed support
===> Use 'make config' to modify these settings

build output:
root at kg-core1# make
===>  Found saved configuration for mail-notification-5.4_15
===>   mail-notification-5.4_15 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by mail-notification-5.4_15 for building
===>  Extracting for mail-notification-5.4_15
=> SHA256 Checksum OK for mail-notification-5.4.tar.bz2.
===>  Patching for mail-notification-5.4_15
===>  Applying FreeBSD patches for mail-notification-5.4_15
===>   mail-notification-5.4_15 depends on file:
/usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
===>   mail-notification-5.4_15 depends on executable:
gtk-update-icon-cache - found
===>   mail-notification-5.4_15 depends on file:
/usr/local/bin/intltool-extract - found
===>   mail-notification-5.4_15 depends on shared library:
libdbus-glib-1.so - found (/usr/local/lib/libdbus-glib-1.so.2.2.2)
===>   mail-notification-5.4_15 depends on shared library:
libgnome-keyring.so - found (/usr/local/lib/libgnome-keyring.so.0.1.1)
===>   mail-notification-5.4_15 depends on shared library:
libnotify.so - found (/usr/local/lib/libnotify.so.4.0.0)
===>   mail-notification-5.4_15 depends on shared library:
libgmime-2.6.so - found (/usr/local/lib/libgmime-2.6.so.0.620.0)
===>   mail-notification-5.4_15 depends on shared library: libsasl2.so
- found (/usr/local/lib/libsasl2.so.3.0.0)
===>   mail-notification-5.4_15 depends on shared library: libintl.so
- found (/usr/local/lib/libintl.so.9)
===>   mail-notification-5.4_15 depends on shared library:
libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so.0.20809.1)
===>   mail-notification-5.4_15 depends on shared library: libesd.so -
found (/usr/local/lib/libesd.so.2.0.0)
===>   mail-notification-5.4_15 depends on shared library:
libgconf-2.so - found (/usr/local/lib/libgconf-2.so.4.1.5)
===>   mail-notification-5.4_15 depends on shared library:
libgdk_pixbuf-2.0.so - found
(/usr/local/lib/libgdk_pixbuf-2.0.so.0.2800.2)
===>   mail-notification-5.4_15 depends on shared library:
libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so.0.3600.3)
===>   mail-notification-5.4_15 depends on shared library: libpcre.so
- found (/usr/local/lib/libpcre.so.3)
===>   mail-notification-5.4_15 depends on shared library:
libgnomevfs-2.so - found (/usr/local/lib/libgnomevfs-2.so.0.2400.4)
===>   mail-notification-5.4_15 depends on shared library:
libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so.0.2400.22)
===>   mail-notification-5.4_15 depends on shared library:
libart_lgpl_2.so - found (/usr/local/lib/libart_lgpl_2.so.5)
===>   mail-notification-5.4_15 depends on shared library:
libbonobo-2.so - found (/usr/local/lib/libbonobo-2.so.0.0.0)
===>   mail-notification-5.4_15 depends on shared library:
libbonoboui-2.so - found (/usr/local/lib/libbonoboui-2.so.0.0.0)
===>   mail-notification-5.4_15 depends on shared library:
libglade-2.0.so - found (/usr/local/lib/libglade-2.0.so.0.0.7)
===>   mail-notification-5.4_15 depends on shared library:
libgnome-2.so - found (/usr/local/lib/libgnome-2.so.0.3200.0)
===>   mail-notification-5.4_15 depends on shared library:
libgnomecanvas-2.so - found
(/usr/local/lib/libgnomecanvas-2.so.0.3000.3)
===>   mail-notification-5.4_15 depends on shared library:
libgnomeui-2.so - found (/usr/local/lib/libgnomeui-2.so.0.2400.4)
===>   mail-notification-5.4_15 depends on shared library: libIDL-2.so
- found (/usr/local/lib/libIDL-2.so.0.0.0)
===>   mail-notification-5.4_15 depends on shared library: libxml2.so
- found (/usr/local/lib/libxml2.so.2.9.2)
===>   mail-notification-5.4_15 depends on shared library:
libORBit-2.so - found (/usr/local/lib/libORBit-2.so.0.1.0)
===>   mail-notification-5.4_15 depends on shared library:
libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so.0.3400.1)
===>  Configuring for mail-notification-5.4_15
cd /usr/ports/mail/mail-notification/work/mail-notification-5.4 &&
/usr/bin/env XDG_DATA_HOME=/usr/ports/mail/mail-notification/work
XDG_CONFIG_HOME=/usr/ports/mail/mail-notification/work
HOME=/usr/ports/mail/mail-notification/work
XDG_DATA_HOME=/usr/ports/mail/mail-notification/work
XDG_CONFIG_HOME=/usr/ports/mail/mail-notification/work
HOME=/usr/ports/mail/mail-notification/work OPENSSLLIB=/usr/lib
OPENSSLINC=/usr/include  OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl
NO_PIE=yes SHELL=/bin/sh NO_LINT=YES
ESD_CONFIG="/usr/local/bin/esd-config"
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 PREFIX=/usr/local
LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe
-fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"
LDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib" LIBS=""
 CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"
MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g
wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"
BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"
BSD_INSTALL_DATA="install  -o root -g wheel -m 0644"
BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
jb_cppflags="-I/usr/local/include" jb_ldflags=" -L/usr/local/lib
-Wl,-rpath,/usr/lib:/usr/local/lib"  ./jb configure cc="cc"
cflags="-O2 -pipe -fno-strict-aliasing"
cppflags="-I/usr/local/include" ldflags=" -L/usr/local/lib
-Wl,-rpath,/usr/lib:/usr/local/lib" prefix="/usr/local"
destdir="/usr/ports/mail/mail-notification/work/stage" hotmail=no
yahoo=no evolution=no mozilla=no
building jb...
jbsrc/lib/src/core/jb-main.c: In function 'jb_main':
jbsrc/lib/src/core/jb-main.c:164: warning: 'g_type_init' is deprecated
(declared at /usr/local/include/glib-2.0/gobject/gtype.h:669)
jbsrc/lib/src/core/jb-util.c: In function 'print_warning_or_error':
jbsrc/lib/src/core/jb-util.c:225: warning: function might be possible
candidate for 'printf' format attribute
checking for ngettext(), dgettext(), bind_textdomain_codeset() in libc... no
checking for ngettext(), dgettext(), bind_textdomain_codeset() in -lintl... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... yes
checking for gconftool-2... /usr/local/bin/gconftool-2
checking for scrollkeeper-preinstall... /usr/local/bin/scrollkeeper-preinstall
checking for scrollkeeper-update... /usr/local/bin/scrollkeeper-update
checking for scrollkeeper-config... /usr/local/bin/scrollkeeper-config
checking for the OMF directory... /usr/local/share/omf
checking for the ScrollKeeper database directory... /var/db/rarian
checking for dbus-binding-tool... /usr/local/bin/dbus-binding-tool
checking for gob2... not found
checking the C compiler dependency style... GCC
checking for the GNU C library... no
checking for pkg-config... /usr/local/bin/pkg-config
checking for GNOME... yes
checking for D-Bus... yes
checking for GMime... no
WARNING: Package gmime-2.0 was not found in the pkg-config search path.
WARNING: Perhaps you should add the directory containing `gmime-2.0.pc'
WARNING: to the PKG_CONFIG_PATH environment variable
WARNING: Package 'gmime-2.0', required by 'world', not found
WARNING: disabling option "imap" since GMime was not found
WARNING: disabling option "maildir" since GMime was not found
WARNING: disabling option "mbox" since GMime was not found
WARNING: disabling option "mh" since GMime was not found
WARNING: disabling option "pop3" since GMime was not found
WARNING: disabling option "sylpheed" since GMime was not found
checking for GNOME Keyring... yes
WARNING: disabling option "ipv6" since options "pop3" and "imap" are disabled
WARNING: disabling option "sasl" since options "pop3" and "imap" are disabled
WARNING: disabling option "ssl" since options "pop3" and "imap" are disabled
checking for timegm() in libc... yes

Mail Notification 5.4 was configured successfully.
The following variables are in effect:

  Compiler options:

    cc:                      cc
    cflags:                  -O2 -pipe -fno-strict-aliasing
    cppflags:                -I/usr/local/include
    ldflags:                  -L/usr/local/lib
-Wl,-rpath,/usr/lib:/usr/local/lib
    libs:
    cc-dependency-tracking:  yes

  Installation options:

    destdir:                 /usr/ports/mail/mail-notification/work/stage
    prefix:                  /usr/local
    bindir:                  $prefix/bin
    libdir:                  $prefix/lib
    libexecdir:              $prefix/libexec
    datadir:                 $prefix/share
    sysconfdir:              $prefix/etc
    localstatedir:           $prefix/var
    data-mode:               0644
    data-owner:
    data-group:
    program-mode:            0755
    program-owner:
    program-group:
    library-mode:            0644
    library-owner:
    library-group:
    gconf-config-source:     xml:merged:/usr/local/etc/gconf/gconf.xml.defaults
    gconf-schemas-dir:       $sysconfdir/gconf/schemas
    install-gconf-schemas:   yes
    help-dir:                $datadir/gnome/help
    omf-dir:                 /usr/local/share/omf
    scrollkeeper-dir:        /var/db/rarian
    evolution-plugin-dir:    autodetect

  External programs:

    msgfmt:                  /usr/local/bin/msgfmt
    perl:                    /usr/bin/perl
    gconftool-2:             /usr/local/bin/gconftool-2
    scrollkeeper-preinstall: /usr/local/bin/scrollkeeper-preinstall
    scrollkeeper-update:     /usr/local/bin/scrollkeeper-update
    dbus-binding-tool:       /usr/local/bin/dbus-binding-tool
    gob2:

  Mailbox backends:

    evolution:               no
    gmail:                   yes
    hotmail:                 no
    imap:                    no
    maildir:                 no
    mbox:                    no
    mh:                      no
    mozilla:                 no
    pop3:                    no
    sylpheed:                no
    yahoo:                   no

  IMAP and POP3 features:

    ipv6:                    no
    sasl:                    no
    ssl:                     no

Type "./jb build" to build Mail Notification 5.4.
===>  Building for mail-notification-5.4_15
cd /usr/ports/mail/mail-notification/work/mail-notification-5.4 &&
/usr/bin/env XDG_DATA_HOME=/usr/ports/mail/mail-notification/work
XDG_CONFIG_HOME=/usr/ports/mail/mail-notification/work
HOME=/usr/ports/mail/mail-notification/work
XDG_DATA_HOME=/usr/ports/mail/mail-notification/work
XDG_CONFIG_HOME=/usr/ports/mail/mail-notification/work
HOME=/usr/ports/mail/mail-notification/work OPENSSLLIB=/usr/lib
OPENSSLINC=/usr/include  OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl
NO_PIE=yes SHELL=/bin/sh NO_LINT=YES
ESD_CONFIG="/usr/local/bin/esd-config"
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 PREFIX=/usr/local
LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe
-fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"
LDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib" LIBS=""
 CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"
MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g
wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"
BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"
BSD_INSTALL_DATA="install  -o root -g wheel -m 0644"
BSD_INSTALL_MAN="install  -o root -g wheel -m 444" ./jb build
building client of D-Bus interface org.gnome.MailNotification
building server of D-Bus interface org.gnome.MailNotification
building intltool-merge
building desktop file mail-notification-properties.desktop.in
building desktop file mail-notification.desktop.in
building template mail-notification.schemas.in.in
building GConf schemas mail-notification.schemas.in
building GNOME help mail-notification [C]
building bg translations
building ca translations
building cs translations
building de translations
building es translations
building fr translations
building ja translations
building nl translations
building pl translations
building pt translations
building pt_BR translations
building ru translations
building sr translations
building sr at Latn translations
building sv translations
building class MNAboutDialog
building class MNAutodetectMailboxProperties
building class MNCompactMessageView
building class MNDialog
building class MNFileChooserButton
building class MNMailIcon
building class MNMailIconWidget
building class MNMailbox
building class MNMailboxProperties
building class MNMailboxPropertiesDialog
building class MNMailboxView
building class MNMailboxes
building class MNMessage
building class MNMessageView
building class MNPopup
building class MNPopups
building class MNPropertiesDialog
building class MNServer
building class MNShell
building class MNSoundFileChooserDialog
building class MNSoundPlayer
building class MNStandardMessageView
building class MNTestMailbox
building class MNTextTable
building class MNTooltips
building C source eggtrayicon.c
building C source mn-conf.c
building C source mn-locked-callback.c
building C source mn-main.c
building C source mn-non-linear-range.c
building C source mn-stock.c
building C source mn-util.c
building C source mn-vfs.c
building C source mn-xml.c
building C source nautilus-cell-renderer-pixbuf-emblem.c
building class MNAuthenticatedMailbox
building class MNAuthenticatedMailboxProperties
building C source mn-keyring.c
building class MNGmailMailbox
building class MNGmailMailboxProperties
building program mail-notification

Mail Notification 5.4 was built successfully.
Type "sudo ./jb install" to install Mail Notification 5.4.
/usr/bin/strip /usr/ports/mail/mail-notification/work/mail-notification-5.4/build/src/mail-notification
===>  Staging for mail-notification-5.4_15
===>   mail-notification-5.4_15 depends on file:
/usr/local/etc/mtree/BSD.gnome.dist - found
===>   mail-notification-5.4_15 depends on file:
/usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
===>   mail-notification-5.4_15 depends on executable:
gtk-update-icon-cache - found
===>   Generating temporary packing list
cd /usr/ports/mail/mail-notification/work/mail-notification-5.4 &&
/usr/bin/env XDG_DATA_HOME=/usr/ports/mail/mail-notification/work
XDG_CONFIG_HOME=/usr/ports/mail/mail-notification/work
HOME=/usr/ports/mail/mail-notification/work
XDG_DATA_HOME=/usr/ports/mail/mail-notification/work
XDG_CONFIG_HOME=/usr/ports/mail/mail-notification/work
HOME=/usr/ports/mail/mail-notification/work OPENSSLLIB=/usr/lib
OPENSSLINC=/usr/include  OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl
NO_PIE=yes SHELL=/bin/sh NO_LINT=YES
ESD_CONFIG="/usr/local/bin/esd-config"
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 PREFIX=/usr/local
LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe
-fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"
LDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib" LIBS=""
 CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"
MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g
wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"
BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"
BSD_INSTALL_DATA="install  -o root -g wheel -m 0644"
BSD_INSTALL_MAN="install  -o root -g wheel -m 444" ./jb install
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/16x16/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/22x22/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/24x24/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/32x32/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/48x48/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/scalable/apps/mail-notification.svg
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/logo.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/gmail.png
updating the GTK+ icon cache
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/applications/mail-notification-properties.desktop
installing /usr/ports/mail/mail-notification/work/stage/usr/local/etc/xdg/autostart/mail-notification.desktop
installing /usr/ports/mail/mail-notification/work/stage/usr/local/etc/gconf/schemas/mail-notification.schemas
installing GConf schemas mail-notification.schemas
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/new-mail.wav
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/gnome/help/mail-notification/C/mail-notification.xml
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/gnome/help/mail-notification/C/documentation-license.xml
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/gnome/help/mail-notification/C/software-license.xml
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/gnome/help/mail-notification/C/figures/mail.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/omf/mail-notification/mail-notification-C.omf
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/bg/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/ca/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/cs/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/de/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/es/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/fr/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/ja/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/nl/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/pl/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/pt/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/pt_BR/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/ru/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/sr/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/sr at Latn/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/sv/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/bin/mail-notification
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/mailbox-properties-dialog.glade
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/properties-dialog.glade

Mail Notification 5.4 was installed successfully.
====> Compressing man pages (compress-man)

As you can see from the configure part, it claims that it can't find gmime.
But it is installed:
root at kg-core1# pv gmime*
[Reading data from pkg(8) ... - 645 packages found - done]
gmime26-2.6.20              =  up-to-date with port

Details, from the configure.log:
checking for GMime
command "/usr/local/bin/pkg-config --cflags 'gmime-2.0 >= 2.2.7'"
failed with status 1
standard error output:
Package gmime-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gmime-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gmime-2.0', required by 'world', not found

Trying some manual commands:
root at kg-core1# /usr/local/bin/pkg-config --cflags 'gmime-2.0 >= 2.2.7' gmime
Package gmime-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gmime-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gmime-2.0', required by 'world', not found
Package 'gmime', required by 'world', not found

root at kg-core1# /usr/local/bin/pkg-config --cflags 'gmime-2.6'
-I/usr/local/include/gmime-2.6  -pthread -I/usr/local/include/glib-2.0
-I/usr/local/include

root at kg-core1# /usr/local/bin/pkg-config --cflags 'gmime-2.6 >= 2.2.7'
-I/usr/local/include/gmime-2.6  -pthread -I/usr/local/include/glib-2.0
-I/usr/local/include

I don't know why it behaves this way.
It shouldn't work this way, should it?
-- 
Regards,
Torfinn Ingolfsen


More information about the freebsd-ports mailing list