From nemysis@gmx.ch  Mon Nov  5 18:40:22 2012
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 9AA1BD57
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Nov 2012 18:40:22 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22])
	by mx1.freebsd.org (Postfix) with SMTP id 158F08FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Nov 2012 18:40:21 +0000 (UTC)
Received: (qmail invoked by alias); 05 Nov 2012 18:40:19 -0000
Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201]
  by mail.gmx.net (mp024) with SMTP; 05 Nov 2012 19:40:19 +0100
Received: by something.email.com (sSMTP sendmail emulation); Mon, 05 Nov 2012 19:40:18 +0100
Message-Id: <20121105184022.9AA1BD57@hub.freebsd.org>
Date: Mon, 05 Nov 2012 19:40:18 +0100
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] emulators/swine: Normal download from GitHub, changed Makefile, pkg-plist
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         173402
>Category:       ports
>Synopsis:       [MAINTAINER] emulators/swine: Normal download from GitHub, changed Makefile, pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 05 18:50:00 UTC 2012
>Closed-Date:    Sat Feb 23 19:54:40 UTC 2013
>Last-Modified:  Sat Feb 23 19:54:40 UTC 2013
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

After email with Developer can normal download from GitHub.

Makefile changed:
-MASTER_SITES=	GH
+MASTER_SITES=	https://github.com/downloads/dswd/Swine/
-USE_GITHUB=	yes
+FETCH_ARGS?=	-Fpr
+NO_BUILD=	yes
+	@${REINPLACE_CMD} -e 's|/usr/share/swine/images/swine32.png|swine|' ${WRKSRC}/resources/swine.desktop
+	@${FIND} ${WRKSRC} -name "*.bak" -delete
-	${INSTALL_DATA} ${WRKSRC}/resources.qrc ${DATADIRLIB}

Changed pkg-plist

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
as usual.

port test: clean

>Fix:

--- swine-1.0.3_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/emulators/swine/Makefile ./Makefile
--- /usr/ports/emulators/swine/Makefile	2012-10-31 06:43:34.000000000 +0100
+++ ./Makefile	2012-11-05 19:34:14.000000000 +0100
@@ -3,8 +3,9 @@
 
 PORTNAME=	swine
 PORTVERSION=	1.0.3
+PORTREVISION=	1
 CATEGORIES=	emulators deskutils python
-MASTER_SITES=	GH
+MASTER_SITES=	https://github.com/downloads/dswd/Swine/
 
 MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Qt4 graphical Wine frontend
@@ -19,13 +20,9 @@
 
 DATADIRLIB=	${PREFIX}/lib/${PORTNAME}
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	dswd
-GH_PROJECT=	Swine
-GH_TAGNAME=	master
-GH_COMMIT=	6567d97
-
+FETCH_ARGS?=	-Fpr
 USE_PYTHON=	yes
+NO_BUILD=	yes
 USE_GMAKE=	yes
 USE_QT4=	linguist_build
 ONLY_FOR_ARCHS=	i386 amd64
@@ -39,12 +36,12 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/version.sh
+	@${REINPLACE_CMD} -e 's|/usr/share/swine/images/swine32.png|swine|' ${WRKSRC}/resources/swine.desktop
+	@${FIND} ${WRKSRC} -name "*.bak" -delete
 
 do-install:
 	${MKDIR} ${DATADIRLIB}
-	${INSTALL_DATA} ${WRKSRC}/resources.qrc ${DATADIRLIB}
 	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIRLIB}
 	${LN} -sf ${DATADIRLIB}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
 	${LN} -sf ${DATADIRLIB}/${PORTNAME}cli.py ${PREFIX}/bin/${PORTNAME}cli
diff -ruN --exclude=CVS /usr/ports/emulators/swine/distinfo ./distinfo
--- /usr/ports/emulators/swine/distinfo	2012-10-31 06:43:34.000000000 +0100
+++ ./distinfo	2012-11-05 19:09:54.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (swine-1.0.3.tar.gz) = e36bde1119b08333a49dd1b925544fd91cb2bfd3dc6e61834fa0da02fdf1f259
-SIZE (swine-1.0.3.tar.gz) = 203524
+SHA256 (swine-1.0.3.tar.gz) = e474a5657b8b7822d5417237044201d72bda41b3402bc5556e497df8eabd9de0
+SIZE (swine-1.0.3.tar.gz) = 172820
diff -ruN --exclude=CVS /usr/ports/emulators/swine/pkg-plist ./pkg-plist
--- /usr/ports/emulators/swine/pkg-plist	2012-10-12 23:56:09.000000000 +0200
+++ ./pkg-plist	2012-11-05 19:10:43.000000000 +0100
@@ -11,7 +11,6 @@
 lib/swine/SlotSettings.py
 lib/swine/config.py
 lib/swine/icolib.py
-lib/swine/resources.qrc
 lib/swine/resources_rc.py
 lib/swine/shortcutlib.py
 lib/swine/swine.py
--- swine-1.0.3_1.patch ends here ---

>Release-Note:
>Audit-Trail:

From: nemysis <nemysis@gmx.ch>
To: bug-followup@FreeBSD.org
Cc: makc@FreeBSD.org
Subject: Re: ports/173402: [MAINTAINER] emulators/swine: Normal download
 from GitHub, changed Makefile, pkg-plist
Date: Thu, 7 Feb 2013 23:07:34 +0100

 --MP_/F+mU_O4fx/Jgz3jIWJ7SVV.
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Update after commit 1.0.3_1 which have not looked this PR.
 
 This is very bad to not look open PRs and update with its.
 
 portlint -A
 looks usual.
 
 port test: clean
 --MP_/F+mU_O4fx/Jgz3jIWJ7SVV.
 Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=swine.diff
 
 ===> Generating patch
 ===> Viewing diff with more
 diff -ruN --exclude=CVS /usr/ports/emulators/swine/Makefile ./Makefile
 --- /usr/ports/emulators/swine/Makefile	2013-02-04 17:00:48.000000000 +0100
 +++ ./Makefile	2013-02-07 22:55:54.000000000 +0100
 @@ -3,9 +3,9 @@
  
  PORTNAME=	swine
  PORTVERSION=	1.0.3
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	emulators deskutils python
 -MASTER_SITES=	GH
 +MASTER_SITES=	https://github.com/downloads/dswd/Swine/
  
  MAINTAINER=	nemysis@gmx.ch
  COMMENT=	Qt4 graphical Wine frontend
 @@ -20,13 +20,9 @@
  
  DATADIRLIB=	${PREFIX}/lib/${PORTNAME}
  
 -USE_GITHUB=	yes
 -GH_ACCOUNT=	dswd
 -GH_PROJECT=	Swine
 -GH_TAGNAME=	master
 -GH_COMMIT=	6567d97
 -
 +FETCH_ARGS?=	-Fpr
  USE_PYTHON=	yes
 +NO_BUILD=	yes
  USE_GMAKE=	yes
  USE_QT4=	linguist_build
  ONLY_FOR_ARCHS=	i386 amd64
 @@ -40,12 +36,12 @@
  .endif
  
  post-patch:
 -	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' ${WRKSRC}/Makefile
  	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/version.sh
 +	@${REINPLACE_CMD} -e 's|/usr/share/swine/images/swine32.png|${PREFIX}/share/pixmaps/swine.png|' ${WRKSRC}/resources/swine.desktop
 +	@${FIND} ${WRKSRC} -name "*.bak" -delete
  
  do-install:
  	${MKDIR} ${DATADIRLIB}
 -	${INSTALL_DATA} ${WRKSRC}/resources.qrc ${DATADIRLIB}
  	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIRLIB}
  	${LN} -sf ${DATADIRLIB}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
  	${LN} -sf ${DATADIRLIB}/${PORTNAME}cli.py ${PREFIX}/bin/${PORTNAME}cli
 diff -ruN --exclude=CVS /usr/ports/emulators/swine/distinfo ./distinfo
 --- /usr/ports/emulators/swine/distinfo	2013-01-14 17:57:33.000000000 +0100
 +++ ./distinfo	2013-02-07 22:57:01.000000000 +0100
 @@ -1,2 +1,2 @@
 -SHA256 (swine-1.0.3.tar.gz) = e36bde1119b08333a49dd1b925544fd91cb2bfd3dc6e61834fa0da02fdf1f259
 -SIZE (swine-1.0.3.tar.gz) = 203524
 +SHA256 (swine-1.0.3.tar.gz) = e474a5657b8b7822d5417237044201d72bda41b3402bc5556e497df8eabd9de0
 +SIZE (swine-1.0.3.tar.gz) = 172820
 diff -ruN --exclude=CVS /usr/ports/emulators/swine/pkg-plist ./pkg-plist
 --- /usr/ports/emulators/swine/pkg-plist	2013-01-14 17:57:33.000000000 +0100
 +++ ./pkg-plist	2012-11-05 19:10:43.000000000 +0100
 @@ -11,7 +11,6 @@
  lib/swine/SlotSettings.py
  lib/swine/config.py
  lib/swine/icolib.py
 -lib/swine/resources.qrc
  lib/swine/resources_rc.py
  lib/swine/shortcutlib.py
  lib/swine/swine.py
 ===> Done
 
 --MP_/F+mU_O4fx/Jgz3jIWJ7SVV.--

From: Max Brazhnikov <makc@freebsd.org>
To: nemysis <nemysis@gmx.ch>
Cc: bug-followup@freebsd.org
Subject: Re: ports/173402: [MAINTAINER] emulators/swine: Normal download from GitHub, changed Makefile, pkg-plist
Date: Fri, 8 Feb 2013 11:47:02 +0000

 On Thu, 7 Feb 2013 23:07:34 +0100, nemysis wrote:
 > Update after commit 1.0.3_1 which have not looked this PR.
 > 
 > This is very bad to not look open PRs and update with its.
 
 No, it's ok. Lots of ports have been bumped after PyQt update and I can't take
 all PR related to these ports.
 
 On the other hand you don't need update PR patch if only PORTREVISION has
 been slipped.
 
 Cheers,
 Max
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Feb 23 19:54:39 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173402 
>Unformatted:
