From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 13 22:10:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 98A76393 for ; Mon, 13 May 2013 22:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 88D51DD8 for ; Mon, 13 May 2013 22:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4DMA1VL064931 for ; Mon, 13 May 2013 22:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4DMA1CG064930; Mon, 13 May 2013 22:10:01 GMT (envelope-from gnats) Date: Mon, 13 May 2013 22:10:01 GMT Message-Id: <201305132210.r4DMA1CG064930@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: nemysis Subject: Re: ports/172141: [PATCH] deskutils/q4wine: update to 0.121, OptionsNG, check for Wine on !i386 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nemysis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 22:10:01 -0000 The following reply was made to PR ports/172141; it has been noted by GNATS. From: nemysis To: bug-followup@FreeBSD.org Cc: approval@freebsdnorth.com, miwi@FreeBSD.org, jpaetzel@freebsd.org Subject: Re: ports/172141: [PATCH] deskutils/q4wine: update to 0.121, OptionsNG, check for Wine on !i386 Date: Tue, 14 May 2013 00:00:35 +0200 --MP_/kQzu+3/.DwBRS.AM/..xuBJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline - Update to 1.0.r3 - Trim master sites - Add license - Add NLS Options - Trim desktop entry - Makefile tweaks - Trim pkg-message - Trim pkg-plist - Pass maintainership to submitter https://redports.org/buildarchive/20130513174600-48147/ --MP_/kQzu+3/.DwBRS.AM/..xuBJ Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=q4wine.diff ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/deskutils/q4wine/Makefile ./Makefile --- /usr/ports/deskutils/q4wine/Makefile 2013-03-26 00:16:21.000000000 +0100 +++ ./Makefile 2013-05-13 20:05:21.000000000 +0200 @@ -2,44 +2,64 @@ # $FreeBSD: head/deskutils/q4wine/Makefile 315248 2013-03-25 21:47:11Z jgh $ PORTNAME= q4wine -PORTVERSION= 0.120 -PORTREVISION= 1 +PORTVERSION= 1.0.r3 CATEGORIES= deskutils emulators -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20$${PORTVERSION:S/.r/-r/}/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-r/} -MAINTAINER= sergey.dyatko@gmail.com +MAINTAINER= nemysis@gmx.ch COMMENT= QT4 front-end for WINE +LICENSE= GPLv3 + BUILD_DEPENDS= icotool:${PORTSDIR}/graphics/icoutils RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo \ - wine:${PORTSDIR}/emulators/wine \ wget:${PORTSDIR}/ftp/wget \ cabextract:${PORTSDIR}/archivers/cabextract \ icotool:${PORTSDIR}/graphics/icoutils +USES= cmake desktop-file-utils +CMAKE_ARGS+= -DMANPAGE_ENTRY_PATH=${MANPREFIX}/man +USE_LDCONFIG= yes +INSTALLS_ICONS= yes USE_QT4= qmake_build rcc_build moc_build uic_build \ linguist_build corelib gui sql network - -ONLY_FOR_ARCHS= i386 -ONLY_FOR_ARCHS_REASON= depends on wine which is only available for i386 +ONLY_FOR_ARCHS= i386 amd64 MAN1= q4wine-cli.1 q4wine-helper.1 q4wine.1 -USES= cmake -CMAKE_ARGS+= -DMANPAGE_ENTRY_PATH=${MANPREFIX}/man/ - -OPTIONS_DEFINE= DBUS +OPTIONS_DEFINE= NLS DBUS OPTIONS_DEFAULT= DBUS .include +.if ${ARCH} == "i386" +RUN_DEPENDS+= wine:${PORTSDIR}/emulators/wine-devel +.endif + +.if ${PORT_OPTIONS:MNLS} +PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " +.endif + .if ${PORT_OPTIONS:MDBUS} USE_QT4+= dbus .else CMAKE_ARGS+= -DWITH_DBUS:BOOL=OFF .endif +post-patch: + @${REINPLACE_CMD} -e 's|^Categories=.*|Categories=Qt;System;Emulator;Utility;Game;|' \ + ${WRKSRC}/${PORTNAME}.desktop + +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -e 's|install(FILES|#install(FILES|' ${WRKSRC}/src/i18n/CMakeLists.txt +.endif + post-install: - @-update-desktop-database + @${ECHO_CMD} + @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} .include diff -ruN --exclude=CVS /usr/ports/deskutils/q4wine/distinfo ./distinfo --- /usr/ports/deskutils/q4wine/distinfo 2013-01-14 17:54:25.000000000 +0100 +++ ./distinfo 2013-05-13 19:30:25.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (q4wine-0.120.tar.gz) = 9db9cc021722403709e6f2bb81318e285cfad9eba24d1343532b0fa32f823996 -SIZE (q4wine-0.120.tar.gz) = 836328 +SHA256 (q4wine-1.0-r3.tar.gz) = c23c0dfa30fec67794663cd000100da5633a286c55c86dbdc1c49984d0e72fc9 +SIZE (q4wine-1.0-r3.tar.gz) = 1105792 diff -ruN --exclude=CVS /usr/ports/deskutils/q4wine/pkg-message ./pkg-message --- /usr/ports/deskutils/q4wine/pkg-message 2013-01-14 17:54:25.000000000 +0100 +++ ./pkg-message 2012-10-30 17:25:09.000000000 +0100 @@ -1,8 +1,15 @@ ################################################################################ -This programm will attempt to obtain some system information by accessing files -in procfs. You must mount procfs filesystem for this to work correctly. This can -be accomplished by adding the following line to your /etc/fstab file: +FreeBSD/amd64 users: +You need to manually install Wine 32bit binary from: +http://www.mediafire.com/wine_fbsd64 + +For more info about running wine on FreeBSD please see: +http://wiki.freebsd.org/Wine + +This program will attempt to obtain some system information by accessing files +in procfs. You must mount procfs filesystem for this to work correctly. +This can be accomplished by adding the following line to your /etc/fstab file: # Device Mountpoint FStype Options Dump Pass# proc /proc procfs rw 0 0 @@ -11,7 +18,7 @@ mount /proc -Also you need passwordless sudo for mdconfig, mount_cd9660, umount commands for +Also you need passwordless sudo for mdconfig, mount_cd9660, umount commands for work with ISO images ################################################################################ diff -ruN --exclude=CVS /usr/ports/deskutils/q4wine/pkg-plist ./pkg-plist --- /usr/ports/deskutils/q4wine/pkg-plist 2013-01-14 17:54:25.000000000 +0100 +++ ./pkg-plist 2013-05-13 19:37:14.000000000 +0200 @@ -3,22 +3,42 @@ bin/q4wine-helper lib/q4wine/libq4wine-core.so share/applications/q4wine.desktop -share/pixmaps/q4wine.png -%%DATADIR%%/i18n/cs_cz.qm -%%DATADIR%%/i18n/en_us.qm -%%DATADIR%%/i18n/es_es.qm -%%DATADIR%%/i18n/it_it.qm -%%DATADIR%%/i18n/pt_br.qm -%%DATADIR%%/i18n/ru_ru.qm -%%DATADIR%%/i18n/uk_ua.qm +share/icons/hicolor/128x128/apps/q4wine.png +share/icons/hicolor/16x16/apps/q4wine.png +share/icons/hicolor/192x192/apps/q4wine.png +share/icons/hicolor/22x22/apps/q4wine.png +share/icons/hicolor/256x256/apps/q4wine.png +share/icons/hicolor/32x32/apps/q4wine.png +share/icons/hicolor/48x48/apps/q4wine.png +share/icons/hicolor/64x64/apps/q4wine.png +share/icons/hicolor/96x96/apps/q4wine.png +share/icons/hicolor/scalable/apps/q4wine.svg +%%NLS%%%%DATADIR%%/i18n/q4wine_af_za.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_cs_cz.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_de_de.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_en_us.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_es_es.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_fa_ir.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_he_il.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_it_it.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_pl_pl.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_pt_br.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_ru_ru.qm +%%NLS%%%%DATADIR%%/i18n/q4wine_uk_ua.qm +%%DATADIR%%/icons/control.png %%DATADIR%%/icons/eject.png %%DATADIR%%/icons/exec_wine.png %%DATADIR%%/icons/explorer.png +%%DATADIR%%/icons/iexplore.png %%DATADIR%%/icons/notepad.png +%%DATADIR%%/icons/oleview.png %%DATADIR%%/icons/regedit.png +%%DATADIR%%/icons/taskmgr.png %%DATADIR%%/icons/uninstaller.png %%DATADIR%%/icons/winecfg.png %%DATADIR%%/icons/wineconsole.png +%%DATADIR%%/icons/winemine.png +%%DATADIR%%/icons/wordpad.png %%DATADIR%%/scripts/mount_image.sh %%DATADIR%%/scripts/umount.sh %%DATADIR%%/theme/nuvola/data/configure.png @@ -43,7 +63,7 @@ @dirrm %%DATADIR%%/theme @dirrm %%DATADIR%%/scripts @dirrm %%DATADIR%%/icons -@dirrm %%DATADIR%%/i18n +%%NLS%%@dirrm %%DATADIR%%/i18n @dirrm %%DATADIR%% @dirrmtry share/applications @dirrm lib/q4wine ===> Done --MP_/kQzu+3/.DwBRS.AM/..xuBJ--