Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2009 12:27:54 +0100
From:      Bapt <baptiste.daroussin@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dhn@FreeBSD.org
Subject:   ports/140442: [PATCH] x11-wm/i3: upgrade to 3.d version
Message-ID:  <cf084@galway.lan>
Resent-Message-ID: <200911101130.nAABU2of079408@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         140442
>Category:       ports
>Synopsis:       [PATCH] x11-wm/i3: upgrade to 3.d version
>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:   Tue Nov 10 11:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bapt
>Release:        FreeBSD 8.0-RC2 amd64
>Organization:
>Environment:
System: FreeBSD galway.lan 8.0-RC2 FreeBSD 8.0-RC2 #1: Mon Nov  9 22:45:27 CET
>Description:
[DESCRIBE CHANGES]

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

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- i3-3.d.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-wm/i3/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	2 Oct 2009 16:47:32 -0000	1.7
+++ Makefile	10 Nov 2009 11:27:05 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	i3
-DISTVERSION=	3.c
+DISTVERSION=	3.d
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://i3.zekjur.net/downloads/ \
 		${MASTER_SITE_LOCAL}
@@ -20,6 +20,7 @@
 		ev.3:${PORTSDIR}/devel/libev
 
 USE_XORG=	x11
+USE_BISON=	yes
 USE_XLIB=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
@@ -28,7 +29,9 @@
 
 PLIST_FILES=	bin/i3 \
 		bin/i3-msg \
-		etc/i3/config.sample
+		bin/i3-input \
+		etc/i3/config.sample \
+		etc/i3/welcome
 PLIST_DIRS=	etc/i3
 
 MAN1=	i3.1
@@ -41,19 +44,27 @@
 
 post-extract:
 	@cd ${WRKSRC} && ${CP} i3.config config.sample
+	@cd ${WRKSRC} && ${CP} i3.welcome welcome
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/src/config.c
 	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/config.sample
+	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/welcome
 	@${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}/|g' ${WRKSRC}/man/Makefile
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/common.mk
 	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3.1
+	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3-msg.1
+	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3-input.1
+	@${REINPLACE_CMD} -e 's|.SILENT||g' ${WRKSRC}/common.mk
+	@${REINPLACE_CMD} -e 's|-Iinclude|-Iinclude -Isrc|g' ${WRKSRC}/common.mk
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-msg/${PORTNAME}-msg ${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-input/${PORTNAME}-input ${PREFIX}/bin/
 	@${MKDIR} ${PREFIX}/etc/${PORTNAME}
 	${INSTALL_SCRIPT} ${WRKSRC}/config.sample ${PREFIX}/etc/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKSRC}/welcome ${PREFIX}/etc/${PORTNAME}/welcome
 	${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MANPREFIX}/man/man1
 
 	@${ECHO_MSG} "======================================================================================"
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/x11-wm/i3/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	23 Aug 2009 16:20:37 -0000	1.3
+++ distinfo	10 Nov 2009 11:27:05 -0000
@@ -1,3 +1,3 @@
-MD5 (i3-3.c.tar.bz2) = 8e3a4c3784beee5c5034c7570bcff1c8
-SHA256 (i3-3.c.tar.bz2) = 91726aa4fb958ff7e57ce4f074c086b738eacc231be34bc60d9d31693e493155
-SIZE (i3-3.c.tar.bz2) = 110076
+MD5 (i3-3.d.tar.bz2) = dc648c0bbf711d6691c981f665c7c54c
+SHA256 (i3-3.d.tar.bz2) = a648be882cb578b3f73bdf396bacabfaef650a96abc676412a65ce16b28a492b
+SIZE (i3-3.d.tar.bz2) = 156205
--- i3-3.d.patch ends here ---

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



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