Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2012 13:24:18 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172142: [NEW PORT] emulators/swine: QT4 Graphical Wine frontend
Message-ID:  <20120928112422.267A6106566C@hub.freebsd.org>
Resent-Message-ID: <201209281130.q8SBU5QH056263@freefall.freebsd.org>

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

>Number:         172142
>Category:       ports
>Synopsis:       [NEW PORT] emulators/swine: QT4 Graphical Wine frontend
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 28 11:30:04 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:
Swine is a graphical wine frontend, that makes it easy to install and run
Windows software on Linux systems. Swine uses a modern QT4 interface to offer
most of the Wine command-line tools to users.

WWW: http://www.swine-tool.de/

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:

portlint -A
looks fine.


Build log RedPorts

https://redports.org/buildarchive/20120928102632-5158/

>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	swine
#	swine/Makefile
#	swine/pkg-descr
#	swine/distinfo
#	swine/files
#	swine/files/pkg-message.in
#	swine/pkg-plist
#
echo c - swine
mkdir -p swine > /dev/null 2>&1
echo x - swine/Makefile
sed 's/^X//' >swine/Makefile << '5ec2bb2deed935d227c055927aa98ec7'
X# $FreeBSD$
X
XPORTNAME=	swine
XPORTVERSION=	1.0.2
XCATEGORIES=	emulators deskutils python
XMASTER_SITES=	GITHUB
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	QT4 Graphical Wine frontend
X
XLICENSE=	GPLv2
X
XBUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT_VERSION}:${PORTSDIR}/devel/py-qt4-core \
X		pyrcc4:${PORTSDIR}/textproc/py-qt4-xml \
X		lconvert:${PORTSDIR}/devel/qt4-linguist
XRUN_DEPENDS=	wine:${PORTSDIR}/emulators/wine-devel \
X		xterm:${PORTSDIR}/x11/xterm \
X		cabextract:${PORTSDIR}/archivers/cabextract \
X		icotool:${PORTSDIR}/graphics/icoutils
X
XDATADIRLIB=	${PREFIX}/lib/${PORTNAME}
X
XUSE_GITHUB=	yes
XGH_ACCOUNT=	dswd
XGH_PROJECT=	Swine
XGH_TAGNAME=	master
XGH_COMMIT=	d14b9f0
X
XUSE_PYTHON=	yes
XUSE_GMAKE=	yes
X
XPORTDOCS=	README
X
XSUB_FILES=	pkg-message
X
X.include <bsd.port.options.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr|/usr/local|g' ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/version.sh
X
Xpre-build:
X.if !exists(${LOCALBASE}/bin/wine) && ${ARCH} != "i386"
X	@${ECHO_MSG}
X	@${ECHO_MSG} "Depends on Wine Port which is only available for i386"
X	@${ECHO_MSG}
X	@${ECHO_MSG} "	http://wiki.freebsd.org/Wine"
X	@${ECHO_MSG}
X	@${ECHO_MSG} "FreeBSD/amd64 works with Wine 32bit binary from"
X	@${ECHO_MSG}
X	@${ECHO_MSG} "	http://www.mediafire.com/wine_fbsd64"
X	@${ECHO_MSG}
X	exit 1
X.endif
X
Xdo-build:
X	@(cd ${WRKSRC} ; gmake)
X
Xdo-install:
X	${MKDIR} ${DATADIRLIB}
X	${INSTALL_DATA} ${WRKSRC}/resources.qrc ${DATADIRLIB}
X	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIRLIB}
X	${LN} -sf ${DATADIRLIB}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
X	${LN} -sf ${DATADIRLIB}/${PORTNAME}cli.py ${PREFIX}/bin/${PORTNAME}cli
X	${LN} -sf ${DATADIRLIB}/${PORTNAME}run.py ${PREFIX}/bin/${PORTNAME}run
X	${MKDIR} ${DATADIR}
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "translations images" ${DATADIR})
X
X# Pixmaps and Desktop
X	${LN} -sf ${DATADIR}/images/swine32.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
X	${MKDIR} ${PREFIX}/share/applications
X	${INSTALL_DATA} ${WRKSRC}/resources/*.desktop ${PREFIX}/share/applications/
X
X# Documentation
X.if ${PORT_OPTIONS:MDOCS}
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X
X# pkg-message
X	@${ECHO_CMD}
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO_CMD}
X
X.include <bsd.port.mk>
5ec2bb2deed935d227c055927aa98ec7
echo x - swine/pkg-descr
sed 's/^X//' >swine/pkg-descr << 'f0cd512c8dadddfaf311ee678aac28eb'
XSwine is a graphical wine frontend, that makes it easy to install and run
XWindows software on Linux systems. Swine uses a modern QT4 interface to offer
Xmost of the Wine command-line tools to users.
X
XWWW: http://www.swine-tool.de/
f0cd512c8dadddfaf311ee678aac28eb
echo x - swine/distinfo
sed 's/^X//' >swine/distinfo << '7c88e659758cde99629ae623ef5a247a'
XSHA256 (swine-1.0.2.tar.gz) = 938aa8f261d6f566da2fd5a75c19685a853d8dec3f1c258746cb4f2ca0b564fc
XSIZE (swine-1.0.2.tar.gz) = 203558
7c88e659758cde99629ae623ef5a247a
echo c - swine/files
mkdir -p swine/files > /dev/null 2>&1
echo x - swine/files/pkg-message.in
sed 's/^X//' >swine/files/pkg-message.in << '389c9b4c57a84de88d8d807ce2b249db'
X################################################################################
X
XThis programm will attempt to obtain some system information by accessing files
Xin procfs. You must mount procfs filesystem for this to work correctly.
XThis can be accomplished by adding the following line to your /etc/fstab file:
X
X# Device                Mountpoint      FStype  Options         Dump    Pass#
Xproc                    /proc           procfs  rw              0       0
X
Xand then, as root, executing the command:
X
Xmount /proc
X
X################################################################################
389c9b4c57a84de88d8d807ce2b249db
echo x - swine/pkg-plist
sed 's/^X//' >swine/pkg-plist << 'd0dbadc1b69e573ca5a6e0f5a1f27d0a'
Xbin/swine
Xbin/swinecli
Xbin/swinerun
Xlib/swine/AboutDialog.py
Xlib/swine/IconDialog.py
Xlib/swine/MainWindow.py
Xlib/swine/ProgramDialog.py
Xlib/swine/RunnerDialog.py
Xlib/swine/Settings.py
Xlib/swine/ShortcutImport.py
Xlib/swine/SlotSettings.py
Xlib/swine/config.py
Xlib/swine/icolib.py
Xlib/swine/resources.qrc
Xlib/swine/resources_rc.py
Xlib/swine/shortcutlib.py
Xlib/swine/swine.py
Xlib/swine/swinecli.py
Xlib/swine/swinelib.py
Xlib/swine/swinerun.py
Xlib/swine/winetricks.py
Xshare/applications/swine-extensions.desktop
Xshare/applications/swine.desktop
Xshare/pixmaps/swine.png
X%%DATADIR%%/images/add.png
X%%DATADIR%%/images/application.png
X%%DATADIR%%/images/application_add.png
X%%DATADIR%%/images/application_delete.png
X%%DATADIR%%/images/application_edit.png
X%%DATADIR%%/images/application_form_magnify.png
X%%DATADIR%%/images/application_lightning.png
X%%DATADIR%%/images/application_xp_terminal.png
X%%DATADIR%%/images/arrow_divide.png
X%%DATADIR%%/images/arrow_refresh.png
X%%DATADIR%%/images/cog.png
X%%DATADIR%%/images/computer.png
X%%DATADIR%%/images/computer_edit.png
X%%DATADIR%%/images/cross.png
X%%DATADIR%%/images/document-open-folder.png
X%%DATADIR%%/images/document-open.png
X%%DATADIR%%/images/drive_add.png
X%%DATADIR%%/images/drive_cd.png
X%%DATADIR%%/images/drive_delete.png
X%%DATADIR%%/images/drive_magnify.png
X%%DATADIR%%/images/drive_rename.png
X%%DATADIR%%/images/film.png
X%%DATADIR%%/images/film_add.png
X%%DATADIR%%/images/find.png
X%%DATADIR%%/images/folder.png
X%%DATADIR%%/images/folder_explore.png
X%%DATADIR%%/images/folder_grey.png
X%%DATADIR%%/images/font.png
X%%DATADIR%%/images/font_add.png
X%%DATADIR%%/images/information.png
X%%DATADIR%%/images/lightning_add.png
X%%DATADIR%%/images/lightning_delete.png
X%%DATADIR%%/images/package_add.png
X%%DATADIR%%/images/package_go.png
X%%DATADIR%%/images/pencil.png
X%%DATADIR%%/images/pencil_add.png
X%%DATADIR%%/images/plugin.png
X%%DATADIR%%/images/plugin_add.png
X%%DATADIR%%/images/script_gear.png
X%%DATADIR%%/images/script_save.png
X%%DATADIR%%/images/shape_flip_vertical.png
X%%DATADIR%%/images/swine32.png
X%%DATADIR%%/images/textfield_rename.png
X%%DATADIR%%/images/wabi.png
X%%DATADIR%%/images/wine.png
X%%DATADIR%%/images/world.png
X%%DATADIR%%/images/world_add.png
X%%DATADIR%%/images/world_go.png
X%%DATADIR%%/images/wrench.png
X%%DATADIR%%/images/wrench_orange.png
X%%DATADIR%%/translations/de.qm
X%%DATADIR%%/translations/en.qm
X%%DATADIR%%/translations/es.qm
X%%DATADIR%%/translations/fr.qm
X%%DATADIR%%/translations/he.qm
X@dirrm %%DATADIR%%/translations
X@dirrm %%DATADIR%%/images
X@dirrm %%DATADIR%%
X@dirrmtry share/applications
X@dirrm lib/swine
d0dbadc1b69e573ca5a6e0f5a1f27d0a
exit
--- .shar ends here ---

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



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