From owner-svn-ports-head@FreeBSD.ORG Sat Nov 23 23:04:58 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F415C7AD; Sat, 23 Nov 2013 23:04:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CA135209E; Sat, 23 Nov 2013 23:04:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rANN4vlB003413; Sat, 23 Nov 2013 23:04:57 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rANN4vNk003411; Sat, 23 Nov 2013 23:04:57 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201311232304.rANN4vNk003411@svn.freebsd.org> From: Koop Mast Date: Sat, 23 Nov 2013 23:04:57 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Nov 2013 23:04:58 -0000 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 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|||g' ${WRKSRC}/src/main.h - .include 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; + }