Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2017 07:25:44 +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: r442276 - head/graphics/eog
Message-ID:  <201706010725.v517Pikv097923@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Thu Jun  1 07:25:44 2017
New Revision: 442276
URL: https://svnweb.freebsd.org/changeset/ports/442276

Log:
  Update eog to 3.24.1.
  
  * Add license
  * Review dependancies
  * Use USES=localbase
  * Convert to Option helpers
  * Eog is a GNOME 3 application not GNOME 2.
  
  Obtained from:	gnome devel repo

Modified:
  head/graphics/eog/Makefile
  head/graphics/eog/distinfo
  head/graphics/eog/pkg-descr

Modified: head/graphics/eog/Makefile
==============================================================================
--- head/graphics/eog/Makefile	Thu Jun  1 06:25:20 2017	(r442275)
+++ head/graphics/eog/Makefile	Thu Jun  1 07:25:44 2017	(r442276)
@@ -2,14 +2,17 @@
 # $FreeBSD$
 
 PORTNAME=	eog
-PORTVERSION=	3.18.3
+PORTVERSION=	3.24.1
 CATEGORIES=	graphics gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome3
 
 MAINTAINER=	gnome@FreeBSD.org
-COMMENT=	The Eye Of Gnome image viewer
+COMMENT=	Eye Of Gnome image viewer
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	itstool:textproc/itstool \
 		gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
 LIB_DEPENDS=	libpeas-gtk-1.0.so:devel/libpeas \
@@ -18,14 +21,12 @@ RUN_DEPENDS=	gsettings-desktop-schemas>=0:devel/gsetti
 
 PORTSCOUT=	limitw:1,even
 
-USES=		desktop-file-utils gettext gmake gnome jpeg libtool pathfix \
-		pkgconfig tar:xz
+USES=		desktop-file-utils gettext gmake gnome jpeg libtool localbase \
+		pathfix pkgconfig tar:xz
 USE_GNOME=	cairo intltool librsvg2 gtk30 gnomedesktop3 introspection
 USE_XORG=	x11
 INSTALLS_ICONS=	yes
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
 
 GLIB_SCHEMAS=	org.gnome.eog.enums.xml \
@@ -33,35 +34,21 @@ GLIB_SCHEMAS=	org.gnome.eog.enums.xml \
 
 PLIST_SUB+=	VERSION=3.0
 
+OPTIONS_SUB=	yes
 OPTIONS_DEFINE=	EXIF EXEMPI
 OPTIONS_DEFAULT=EXIF EXEMPI
+
 EXIF_DESC=	Digital camera file meta-data support
+EXIF_CONFIGURE_WITH=	libexif
+EXIF_LIB_DEPENDS=	libexif.so:graphics/libexif
+
 EXEMPI_DESC=	XMP support
+EXEMPI_CONFIGURE_WITH=	xmp
+EXEMPI_LIB_DEPENDS=	libexempi.so:textproc/exempi
 
 .include <bsd.port.options.mk>
 
-_WITH_EXIF=	no
-_WITH_EXEMPI=	no
-
-.if ${PORT_OPTIONS:MEXIF}
-CONFIGURE_ARGS+=--with-libexif
-LIB_DEPENDS+=	libexif.so:graphics/libexif
-PLIST_SUB+=	EXIF=""
-_WITH_EXIF=	yes
-.else
-CONFIGURE_ARGS+=--without-libexif
-PLIST_SUB+=	EXIF="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MEXEMPI}
-CONFIGURE_ARGS+=--with-xmp
-LIB_DEPENDS+=	libexempi.so:textproc/exempi
-_WITH_EXEMPI=	yes
-.else
-CONFIGURE_ARGS+=--without-xmp
-.endif
-
-.if ${_WITH_EXIF}=="yes" || ${_WITH_EXEMPI}=="yes"
+.if ${PORT_OPTIONS:MEXIF} != "" || ${PORT_OPTIONS:MEXEMPI} != ""
 PLIST_SUB+=	EXIFEXEMPI=""
 .else
 PLIST_SUB+=	EXIFEXEMPI="@comment "

Modified: head/graphics/eog/distinfo
==============================================================================
--- head/graphics/eog/distinfo	Thu Jun  1 06:25:20 2017	(r442275)
+++ head/graphics/eog/distinfo	Thu Jun  1 07:25:44 2017	(r442276)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471883741
-SHA256 (gnome3/eog-3.18.3.tar.xz) = fb534bab125f28445fe7d17ea04817ba17e2a9a0d94ba6bc6408a3aadab43563
-SIZE (gnome3/eog-3.18.3.tar.xz) = 4334460
+TIMESTAMP = 1496238448
+SHA256 (gnome3/eog-3.24.1.tar.xz) = f51ee116e2c159fac1719e003a32e1cb6cbff51914fd1f6409f461a790ff27e7
+SIZE (gnome3/eog-3.24.1.tar.xz) = 4632496

Modified: head/graphics/eog/pkg-descr
==============================================================================
--- head/graphics/eog/pkg-descr	Thu Jun  1 06:25:20 2017	(r442275)
+++ head/graphics/eog/pkg-descr	Thu Jun  1 07:25:44 2017	(r442276)
@@ -1,4 +1,4 @@
-This is the Eye of Gnome, a GNOME 2 image viewer and cataloging
+This is the Eye of Gnome, a GNOME 3 image viewer and cataloging
 application.  It provides inline image viewing support for
 nautilus.
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706010725.v517Pikv097923>