Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2020 00:53:48 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527233 - in head/graphics/sxiv: . files
Message-ID:  <202002270053.01R0rmGZ064198@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Thu Feb 27 00:53:47 2020
New Revision: 527233
URL: https://svnweb.freebsd.org/changeset/ports/527233

Log:
  graphics/sxiv: Update to v26
  
  - Set LICENSE_FILE.
  - Update LIB_DEPENDS.
  - Install icons and a desktop file.
  - Remove the local patches and use MAKE_ARGS instead.
  - Reset MAINTAINER (3 timeouts)
  - Adopt port
  
  PR:		244040
  Reviewed by:	mat
  Approved by:	solene@bsd.zplay.eu (maintainer timeout)
  Differential Revision:	https://reviews.freebsd.org/D23616

Added:
  head/graphics/sxiv/pkg-plist   (contents, props changed)
Deleted:
  head/graphics/sxiv/files/
Modified:
  head/graphics/sxiv/Makefile
  head/graphics/sxiv/distinfo

Modified: head/graphics/sxiv/Makefile
==============================================================================
--- head/graphics/sxiv/Makefile	Thu Feb 27 00:45:24 2020	(r527232)
+++ head/graphics/sxiv/Makefile	Thu Feb 27 00:53:47 2020	(r527233)
@@ -2,30 +2,33 @@
 # $FreeBSD$
 
 PORTNAME=	sxiv
-PORTVERSION=	25
 DISTVERSIONPREFIX=	v
+DISTVERSION=	26
 CATEGORIES=	graphics
 
-MAINTAINER=	solene@bsd.zplay.eu
+MAINTAINER=	0mp@FreeBSD.org
 COMMENT=	Lightweight image viewer
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libexif.so:graphics/libexif \
+		libfontconfig.so:x11-fonts/fontconfig \
 		libgif.so:graphics/giflib \
-		libImlib2.so:graphics/imlib2
+		libImlib2.so:graphics/imlib2 \
+		libinotify.so:devel/libinotify
 
-USES=		gmake localbase:ldflags pkgconfig xorg
+USES=		desktop-file-utils gmake localbase:ldflags pkgconfig xorg
 USE_GITHUB=	yes
 GH_ACCOUNT=	muennich
 USE_XORG=	x11 xft
 
-PLIST_FILES=	bin/sxiv \
-		man/man1/sxiv.1.gz \
-		share/sxiv/exec/image-info \
-		share/sxiv/exec/key-handler
+MAKE_ARGS=	PREFIX=${PREFIX}
+MAKE_ENV=	LDLIBS=-linotify
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sxiv
+	${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} -C ${WRKSRC}/icon install
+	${INSTALL_DATA} ${WRKSRC}/sxiv.desktop ${STAGEDIR}${DESKTOPDIR}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sxiv
 
 .include <bsd.port.mk>

Modified: head/graphics/sxiv/distinfo
==============================================================================
--- head/graphics/sxiv/distinfo	Thu Feb 27 00:45:24 2020	(r527232)
+++ head/graphics/sxiv/distinfo	Thu Feb 27 00:53:47 2020	(r527233)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1550750972
-SHA256 (muennich-sxiv-v25_GH0.tar.gz) = 16d1aca1a179e1c0875844efe2e51cfa396a4403467c389f7e9221a733ae5e26
-SIZE (muennich-sxiv-v25_GH0.tar.gz) = 48814
+TIMESTAMP = 1581353963
+SHA256 (muennich-sxiv-v26_GH0.tar.gz) = a382ad57734243818e828ba161fc0357b48d8f3a7f8c29cac183492b46b58949
+SIZE (muennich-sxiv-v26_GH0.tar.gz) = 48569

Added: head/graphics/sxiv/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/sxiv/pkg-plist	Thu Feb 27 00:53:47 2020	(r527233)
@@ -0,0 +1,10 @@
+bin/sxiv
+share/applications/sxiv.desktop
+share/icons/hicolor/128x128/apps/sxiv.png
+share/icons/hicolor/16x16/apps/sxiv.png
+share/icons/hicolor/32x32/apps/sxiv.png
+share/icons/hicolor/48x48/apps/sxiv.png
+share/icons/hicolor/64x64/apps/sxiv.png
+share/man/man1/sxiv.1.gz
+share/sxiv/exec/image-info
+share/sxiv/exec/key-handler



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