From owner-svn-ports-head@freebsd.org Mon May 27 11:35:29 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C528515C0777; Mon, 27 May 2019 11:35:28 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A7BE8FE4F; Mon, 27 May 2019 11:35:28 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4F9A9247E; Mon, 27 May 2019 11:35:28 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4RBZSJi010641; Mon, 27 May 2019 11:35:28 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4RBZRrj010638; Mon, 27 May 2019 11:35:27 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201905271135.x4RBZRrj010638@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Mon, 27 May 2019 11:35:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502783 - in head/x11/gmrun: . files X-SVN-Group: ports-head X-SVN-Commit-Author: garga X-SVN-Commit-Paths: in head/x11/gmrun: . files X-SVN-Commit-Revision: 502783 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6A7BE8FE4F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 27 May 2019 11:35:29 -0000 Author: garga Date: Mon May 27 11:35:27 2019 New Revision: 502783 URL: https://svnweb.freebsd.org/changeset/ports/502783 Log: x11/gmrun: Fix build with GCC architectures [1] - Add USES=compiler:c++11-lang [1] - Include cstring in src/ci_string.h [1] - Add USES=gnome localbase:ldflags [1] - While here, add mising dependencies and pet portlint PR: 237871 [1] Submitted by: pkubaj@ Sponsored by: Rubicon Communications, LLC (Netgate) Added: head/x11/gmrun/files/patch-src_ci__string.h (contents, props changed) Modified: head/x11/gmrun/Makefile head/x11/gmrun/files/patch-src__gtkcompletionline.cc head/x11/gmrun/files/patch-src__gtkcompletionline.h Modified: head/x11/gmrun/Makefile ============================================================================== --- head/x11/gmrun/Makefile Mon May 27 10:49:00 2019 (r502782) +++ head/x11/gmrun/Makefile Mon May 27 11:35:27 2019 (r502783) @@ -3,32 +3,35 @@ PORTNAME= gmrun PORTVERSION= 0.9.2 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= x11 MASTER_SITES= SF MAINTAINER= garga@FreeBSD.org COMMENT= Customizable program to run programs, with tab-completion -LIB_DEPENDS= libpopt.so:devel/popt +LICENSE= GPLv2 +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libpopt.so:devel/popt + +USES= compiler:c++11-lang gmake gnome localbase:ldflags pkgconfig + OPTIONS_DEFINE= DOCS -USES= gmake pkgconfig -USE_GNOME= gtk20 +USE_GNOME= cairo gdkpixbuf2 gtk20 GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-stlport PORTDOCS= README -PLIST_FILES= bin/gmrun %%DATADIR%%/gmrunrc +PLIST_FILES= bin/gmrun ${DATADIR}/gmrunrc post-patch: @${REINPLACE_CMD} -e '/my_alphasort/s#const void\*#const struct dirent**#g' \ ${WRKSRC}/src/gtkcompletionline.cc -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} Modified: head/x11/gmrun/files/patch-src__gtkcompletionline.cc ============================================================================== --- head/x11/gmrun/files/patch-src__gtkcompletionline.cc Mon May 27 10:49:00 2019 (r502782) +++ head/x11/gmrun/files/patch-src__gtkcompletionline.cc Mon May 27 11:35:27 2019 (r502783) @@ -1,6 +1,6 @@ ---- ./src/gtkcompletionline.cc.orig 2003-11-16 13:55:07.000000000 +0300 -+++ ./src/gtkcompletionline.cc 2010-01-20 21:25:08.847480188 +0300 -@@ -39,6 +39,8 @@ +--- src/gtkcompletionline.cc.orig 2003-11-16 10:55:07 UTC ++++ src/gtkcompletionline.cc +@@ -39,6 +39,8 @@ static int on_key_press_handler = 0; /* GLOBALS */ @@ -9,7 +9,7 @@ /* signals */ enum { UNIQUE, -@@ -76,14 +78,13 @@ +@@ -76,14 +78,13 @@ static gboolean on_key_press(GtkCompletionLine *cl, GdkEventKey *event, gpointer data); /* get_type */ @@ -26,7 +26,7 @@ sizeof(GtkCompletionLine), sizeof(GtkCompletionLineClass), (GtkClassInitFunc)gtk_completion_line_class_init, -@@ -551,10 +552,10 @@ +@@ -551,10 +552,10 @@ parse_tilda(GtkCompletionLine *object) { string text = gtk_entry_get_text(GTK_ENTRY(object)); gint where = (gint)text.find("~"); Modified: head/x11/gmrun/files/patch-src__gtkcompletionline.h ============================================================================== --- head/x11/gmrun/files/patch-src__gtkcompletionline.h Mon May 27 10:49:00 2019 (r502782) +++ head/x11/gmrun/files/patch-src__gtkcompletionline.h Mon May 27 11:35:27 2019 (r502783) @@ -1,6 +1,6 @@ ---- ./src/gtkcompletionline.h.orig 2003-11-16 13:43:32.000000000 +0300 -+++ ./src/gtkcompletionline.h 2010-01-20 21:24:57.489100621 +0300 -@@ -76,7 +76,7 @@ +--- src/gtkcompletionline.h.orig 2003-11-16 10:43:32 UTC ++++ src/gtkcompletionline.h +@@ -76,7 +76,7 @@ extern "C++" { void (* cancel)(GtkCompletionLine *cl); }; Added: head/x11/gmrun/files/patch-src_ci__string.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/gmrun/files/patch-src_ci__string.h Mon May 27 11:35:27 2019 (r502783) @@ -0,0 +1,10 @@ +--- src/ci_string.h.orig 2019-05-27 11:24:56 UTC ++++ src/ci_string.h +@@ -6,6 +6,7 @@ + #ifndef __CI_STRING_H__ + #define __CI_STRING_H__ + ++#include + #include + #include +