Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2012 19:40:18 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173402: [MAINTAINER] emulators/swine: Normal download from GitHub, changed Makefile, pkg-plist
Message-ID:  <20121105184022.9AA1BD57@hub.freebsd.org>
Resent-Message-ID: <201211051850.qA5Io0h8037177@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 05 18:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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