I guess bsd.gnome.mk should be smart enough to `killall -HUP gconfd-2` at package post-install when port uses gconf (has GCONF_SCHEMAS). Please file a PR against gnome ports.
On Sun, Aug 4, 2013 at 8:08 PM, Torfinn Ingolfsen <tin...@gmail.com> wrote: > Hi, > > On Sat, Aug 3, 2013 at 7:32 PM, Marcin Wisnicki > <mwisnicki+free...@gmail.com> wrote: >> You will need this patch: >> http://patch-tracker.debian.org/patch/series/view/mail-notification/5.4.dfsg.1-8/disable-werror.patch >> from which you have to strip first directory in file name. > > Thanks, testing now: > > root@kg-core1# pwd > /usr/ports/mail/mail-notification/work/mail-notification-5.4 > > root@kg-core1# patch -p1 < /home/tingo/work/disable-werror.patch > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Description: Check for maintainer mode correctly > |Author: Stephen Kitt <st...@sk2.org> > | > |Maintainer mode was being activated in all cases, which is not > |desirable; in particular on buildds it enables -Werror which causes > |the build to fail now. > | > |--- mail-notification-5.4.dfsg.1.orig/jb > |+++ mail-notification-5.4.dfsg.1/jb > -------------------------- > Patching file jb using Plan A... > Hunk #1 succeeded at 37. > done > > Patched without trouble. > > root@kg-core1# cd ../.. > > output from build: > ===> Configuring for mail-notification-5.4_10 > cd /usr/ports/mail/mail-notification/work/mail-notification-5.4 && > 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" hotmail=no yahoo=no evolution=no mozilla=no > [...] > > building program mail-notification > > Mail Notification 5.4 was built successfully. > Type "sudo ./jb install" to install Mail Notification 5.4. > > output from install: > Mail Notification 5.4 was installed successfully. > ===> Running ldconfig > /sbin/ldconfig -m /usr/local/lib > ===> Registering installation for mail-notification-5.4_10 > > But upon starting I get this: > tingo@kg-core1$ mail-notification -p > > ** (mail-notification:37126): WARNING **: cannot find default value of > configuration key "/apps/mail-notification/commands/new-mail/enabled" > > ** (mail-notification:37126): WARNING **: cannot find default value of > configuration key "/apps/mail-notification/commands/new-mail/command" > > (lots of lines snipped for brevity) > It seems this is a known bug: > > https://bugzilla.redhat.com/show_bug.cgi?id=522363 > https://bugzilla.redhat.com/show_bug.cgi?id=682584 > > Testing with gconftool-2: > tingo@kg-core1$ gconftool-2 --get > /apps/mail-notification/commands/new-mail/enabled > No value set for `/apps/mail-notification/commands/new-mail/enabled' > > root@kg-core1# pkill gconfd-2 > tingo@kg-core1$ gconftool-2 --get > /apps/mail-notification/commands/new-mail/enabled > false > > and after that starting mail-notification works. > HTH > -- > Regards, > Torfinn Ingolfsen _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"