Index: head/x11/gmrun/Makefile =================================================================== --- head/x11/gmrun/Makefile (revision 502782) +++ head/x11/gmrun/Makefile (revision 502783) @@ -1,35 +1,38 @@ # Created by: Adam Weinberger # $FreeBSD$ 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} .include Index: head/x11/gmrun/files/patch-src__gtkcompletionline.cc =================================================================== --- head/x11/gmrun/files/patch-src__gtkcompletionline.cc (revision 502782) +++ head/x11/gmrun/files/patch-src__gtkcompletionline.cc (revision 502783) @@ -1,41 +1,41 @@ ---- ./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 */ +GtkType type = 0; + /* signals */ enum { UNIQUE, -@@ -76,14 +78,13 @@ +@@ -76,14 +78,13 @@ static gboolean on_key_press(GtkCompletionLine *cl, GdkEventKey *event, gpointer data); /* get_type */ -guint gtk_completion_line_get_type(void) +GtkType gtk_completion_line_get_type(void) { - static guint type = 0; if (type == 0) { GtkTypeInfo type_info = { - "GtkCompletionLine", + (gchar *)"GtkCompletionLine", 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("~"); - if (where != string::npos) { + if (where != (gint)string::npos) { if ((where > 0) && (text[where - 1] != ' ')) return 0; - if (where < text.size() - 1 && text[where + 1] != '/') { + if (where < (gint)text.size() - 1 && text[where + 1] != '/') { // FIXME: Parse another user's home } else { string home = g_get_home_dir(); Index: head/x11/gmrun/files/patch-src__gtkcompletionline.h =================================================================== --- head/x11/gmrun/files/patch-src__gtkcompletionline.h (revision 502782) +++ head/x11/gmrun/files/patch-src__gtkcompletionline.h (revision 502783) @@ -1,11 +1,11 @@ ---- ./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); }; - guint gtk_completion_line_get_type(void); + GtkType gtk_completion_line_get_type(void); GtkWidget *gtk_completion_line_new(); void gtk_completion_line_last_history_item(GtkCompletionLine*); Index: head/x11/gmrun/files/patch-src_ci__string.h =================================================================== --- head/x11/gmrun/files/patch-src_ci__string.h (nonexistent) +++ head/x11/gmrun/files/patch-src_ci__string.h (revision 502783) @@ -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 + Property changes on: head/x11/gmrun/files/patch-src_ci__string.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property