Date: Sat, 23 Nov 2013 23:04:57 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334698 - in head/mail/gnome-gmail-notifier: . files Message-ID: <201311232304.rANN4vNk003411@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Sat Nov 23 23:04:57 2013 New Revision: 334698 URL: http://svnweb.freebsd.org/changeset/ports/334698 Log: Fix run-time with glib 2.36 [1] While here stageify, and use new lib_depend syntax. PR: ports/177226 [1] Reported by: Eimar Koort <eimar.koort@gmail.com> Added: head/mail/gnome-gmail-notifier/files/patch-src_main.c (contents, props changed) Modified: head/mail/gnome-gmail-notifier/Makefile Modified: head/mail/gnome-gmail-notifier/Makefile ============================================================================== --- head/mail/gnome-gmail-notifier/Makefile Sat Nov 23 22:47:39 2013 (r334697) +++ head/mail/gnome-gmail-notifier/Makefile Sat Nov 23 23:04:57 2013 (r334698) @@ -2,16 +2,16 @@ PORTNAME= gnome-gmail-notifier PORTVERSION= 0.10.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail deskutils MASTER_SITES= GOOGLE_CODE MAINTAINER= ports@FreeBSD.org COMMENT= Gmail Inbox Monitor for the GNOME2 desktop -LIB_DEPENDS= notify.4:${PORTSDIR}/devel/libnotify \ - soup-2.4:${PORTSDIR}/devel/libsoup \ - gnome-keyring.0:${PORTSDIR}/security/gnome-keyring +LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify \ + libsoup-2.4.so:${PORTSDIR}/devel/libsoup \ + libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring GNU_CONFIGURE= yes USE_BZIP2= yes @@ -20,10 +20,8 @@ USE_GNOME= glib20 gtk20 gconf2 libxml2 l USE_GSTREAMER= good LDFLAGS+= -L${LOCALBASE}/lib -lintl -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|@DATADIRNAME@|share|' ${WRKSRC}/po/Makefile.in.in @${REINPLACE_CMD} -e 's|<glib/gthread.h>|<glib.h>|g' ${WRKSRC}/src/main.h - .include <bsd.port.mk> Added: head/mail/gnome-gmail-notifier/files/patch-src_main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/gnome-gmail-notifier/files/patch-src_main.c Sat Nov 23 23:04:57 2013 (r334698) @@ -0,0 +1,19 @@ +--- src/main.c.orig 2013-11-23 23:59:43.000000000 +0100 ++++ src/main.c 2013-11-24 00:00:28.000000000 +0100 +@@ -58,6 +58,7 @@ + + /* start gdk threads. */ + gdk_threads_init (); ++ gdk_threads_enter(); + + /* lock and start gtk. */ + gtk_init (&argc, &argv); +@@ -71,6 +72,8 @@ + /* punt control to the manager. */ + ggn_manager_main (manager, argc, argv); + ++ gdk_threads_leave(); ++ + /* exit the application. */ + return 0; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311232304.rANN4vNk003411>