ports/166736: [PATCH] x11/i3lock: update to 2.4

Baptiste Daroussin bapt at FreeBSD.org
Sat Apr 7 23:10:13 UTC 2012


>Number:         166736
>Category:       ports
>Synopsis:       [PATCH] x11/i3lock: update to 2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 07 23:10:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Baptiste Daroussin
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD azathoth.lan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r233418M: Sat Mar 24 13:45:31 CET
>Description:
- Update to 2.4
- pet portlint

cairo could maybe be optionified

Port maintainer (dhn at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- i3lock-2.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11/i3lock/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile	24 May 2009 12:32:07 -0000	1.2
+++ Makefile	7 Apr 2012 23:08:06 -0000
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	i3lock
-PORTVERSION=	1.0
+PORTVERSION=	2.4
 CATEGORIES=	x11
-MASTER_SITES=	http://i3.zekjur.net/${PORTNAME}/ \
+MASTER_SITES=	http://i3wm.org/${PORTNAME}/ \
 		http://mirror.4bit.ws/ \
 		${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	dhn
@@ -16,18 +16,27 @@
 MAINTAINER=	dhn at FreeBSD.org
 COMMENT=	Slightly improved screen locker based on slock
 
+LICENSE=	BSD
+
+LIB_DEPENDS=	cairo.2:${PORTSDIR}/graphics/cairo \
+		xcb.2:${PORTSDIR}/x11/libxcb \
+		xcb-keysyms.1:${PORTSDIR}/x11/xcb-util-keysyms \
+		xcb-image.0:${PORTSDIR}/x11/xcb-util-image \
+		ev.4:${PORTSDIR}/devel/libev
+
 MAKE_ARGS=	PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
 		X11INC="${LOCALBASE}/include" CC="${CC}" \
 		MANDIR="${MANPREFIX}/man"
+
 PLIST_FILES=	bin/i3lock
 
 MAN1=	i3lock.1
 
+LDFLAGS+=	-liconv
 MAKE_JOBS_SAFE=	yes
 USE_XORG=	x11 xt xproto xext
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|-I/usr/include||;s|-L/usr/lib||;s|= -Os|+=|'\
-		-e 's|-DHAVE_SHADOW_H||' ${WRKSRC}/config.mk
+USE_BZIP2=	yes
+USE_GMAKE=	yes
+USE_ICONV=	yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/x11/i3lock/distinfo,v
retrieving revision 1.3
diff -u -u -r1.3 distinfo
--- distinfo	19 Mar 2011 12:37:48 -0000	1.3
+++ distinfo	7 Apr 2012 23:08:06 -0000
@@ -1,2 +1,2 @@
-SHA256 (i3lock-1.0.tar.gz) = 47e6b7c4c3cedcf0db6462766c6297ac0545c89d7d86ce5168b328c5132d8d0f
-SIZE (i3lock-1.0.tar.gz) = 5260
+SHA256 (i3lock-2.4.tar.bz2) = ce6a47aaa25357ef6214628ddb992b5ba1562a116f63621a6095d422e5001229
+SIZE (i3lock-2.4.tar.bz2) = 30363
--- i3lock-2.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list