Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 13:13:31 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337008 - in head/graphics/qiv: . files
Message-ID:  <201312201313.rBKDDVnV061129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Fri Dec 20 13:13:31 2013
New Revision: 337008
URL: http://svnweb.freebsd.org/changeset/ports/337008

Log:
  - Update from 2.2.4 to 2.3.1
  - Take maintainership
  - Remove deprecated option
  - Add stage support

Added:
  head/graphics/qiv/files/
  head/graphics/qiv/files/patch-Makefile   (contents, props changed)
Modified:
  head/graphics/qiv/Makefile
  head/graphics/qiv/distinfo   (contents, props changed)

Modified: head/graphics/qiv/Makefile
==============================================================================
--- head/graphics/qiv/Makefile	Fri Dec 20 12:55:36 2013	(r337007)
+++ head/graphics/qiv/Makefile	Fri Dec 20 13:13:31 2013	(r337008)
@@ -2,39 +2,27 @@
 # $FreeBSD$
 
 PORTNAME=	qiv
-PORTVERSION=	2.2.4
-PORTREVISION=	1
+PORTVERSION=	2.3.1
 CATEGORIES=	graphics
 MASTER_SITES=	http://spiegl.de/qiv/download/ \
 		http://www.predatorlabs.net/dl/
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	danilo@FreeBSD.org
 COMMENT=	Small, fast GDK/Imlib2 image viewer
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	libImlib2.so:${PORTSDIR}/graphics/imlib2
+LIB_DEPENDS=	libImlib2.so:${PORTSDIR}/graphics/imlib2 \
+		liblcms2.so:${PORTSDIR}/graphics/lcms2 \
+		libexif.so:${PORTSDIR}/graphics/libexif
 
 USES=		gmake pkgconfig
 USE_GNOME=	gtk20
 
-OPTIONS_DEFINE=	XINERAMA
-
-MAN1=		qiv.1
-PLIST_FILES=	bin/qiv
+PLIST_FILES=	bin/qiv man/man1/qiv.1.gz
 USE_XORG+=	x11
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-post-patch-script:
-.if ${PORT_OPTIONS:MXINERAMA}
-USE_XORG+=	xinerama
-.else
-	@${REINPLACE_CMD} 's|GTD.*=|#|' ${WRKSRC}/Makefile
-.endif
-
 do-configure:
 	@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|; \
 		s|gcc|${CC}|; \
@@ -43,7 +31,7 @@ do-configure:
 		${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/qiv.1 ${MAN1PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/qiv ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/qiv.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
 
 .include <bsd.port.mk>

Modified: head/graphics/qiv/distinfo
==============================================================================
--- head/graphics/qiv/distinfo	Fri Dec 20 12:55:36 2013	(r337007)
+++ head/graphics/qiv/distinfo	Fri Dec 20 13:13:31 2013	(r337008)
@@ -1,2 +1,2 @@
-SHA256 (qiv-2.2.4.tgz) = ed6078dc550c1dc2fe35c1e0f46463c13589a24b83d4f7101b71a7485e51abb7
-SIZE (qiv-2.2.4.tgz) = 98874
+SHA256 (qiv-2.3.1.tgz) = 675396b539e6511135fe73c867f9fdd6d912c24c7562797cb047c27d0c2c8ee6
+SIZE (qiv-2.3.1.tgz) = 130621

Added: head/graphics/qiv/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/qiv/files/patch-Makefile	Fri Dec 20 13:13:31 2013	(r337008)
@@ -0,0 +1,13 @@
+--- ./Makefile.orig	2013-12-20 10:43:05.000000000 -0200
++++ ./Makefile	2013-12-20 10:43:25.000000000 -0200
+@@ -52,8 +52,8 @@
+ CC        = gcc
+ #CFLAGS    = -O0 -g -Wall
+ CFLAGS    = -O2 -Wall \
+-	    -fcaller-saves -ffast-math -fno-strength-reduce \
+-	    -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN
++	    -ffast-math -fno-strength-reduce \
++	    #-march=pentium #-DSTAT_MACROS_BROKEN
+ #CFLAGS    = -O2 -Wall -fomit-frame-pointer -finline-functions \
+ #	    -fcaller-saves -ffast-math -fno-strength-reduce \
+ #	    -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN



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