From aaafecb9c54da76fa6171cc40eef795c91a39ea0 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Thu, 19 Dec 2013 20:04:37 +0000 Subject: [PATCH] - Fix build with clang - Support desktop-file-utils - Port supports staging PR: ports/184832 Submitted by: KATO Tsuguru --- graphics/gimmage/Makefile | 11 +++++------ graphics/gimmage/files/patch-src__FileManager.cpp | 8 +++++++- graphics/gimmage/pkg-descr | 1 - 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/graphics/gimmage/Makefile b/graphics/gimmage/Makefile index 242ff63e7727..9c4979a79af9 100644 --- a/graphics/gimmage/Makefile +++ b/graphics/gimmage/Makefile @@ -3,19 +3,18 @@ PORTNAME= gimmage PORTVERSION= 0.2.3 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= BERLIOS CENKES MAINTAINER= ports@FreeBSD.org COMMENT= Simple image viewer -LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \ - libcurl.so:${PORTSDIR}/ftp/curl +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl -USES= gettext pkgconfig +USES= desktop-file-utils gettext pkgconfig +USE_GNOME= gtkmm24 GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE} +CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} -NO_STAGE= yes .include diff --git a/graphics/gimmage/files/patch-src__FileManager.cpp b/graphics/gimmage/files/patch-src__FileManager.cpp index 2d811e00d651..08a8f79a4ab8 100644 --- a/graphics/gimmage/files/patch-src__FileManager.cpp +++ b/graphics/gimmage/files/patch-src__FileManager.cpp @@ -1,6 +1,6 @@ --- ./src/FileManager.cpp.orig 2007-07-20 23:42:55.000000000 +0400 +++ ./src/FileManager.cpp 2007-07-20 23:43:03.000000000 +0400 -@@ -23,6 +23,7 @@ +@@ -23,12 +23,13 @@ #include "FileManager.h" #include "defines.h" @@ -8,3 +8,9 @@ #include "../config.h" + extern "C" { + #include +-// #include ++#include + #include + } diff --git a/graphics/gimmage/pkg-descr b/graphics/gimmage/pkg-descr index 08e2a781af95..d8dd3e1a42bb 100644 --- a/graphics/gimmage/pkg-descr +++ b/graphics/gimmage/pkg-descr @@ -6,5 +6,4 @@ has an in-application file browser that allows users to select and drag images and directories into the image viewing area in order to have them displayed. -Author: Bartek Kostrzewa WWW: http://gimmage.berlios.de/