From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 21 10:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14FB52FF for ; Fri, 21 Mar 2014 10:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E6143304 for ; Fri, 21 Mar 2014 10:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2LAA0ml081793 for ; Fri, 21 Mar 2014 10:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2LAA0pf081792; Fri, 21 Mar 2014 10:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 21 Mar 2014 10:10:00 GMT Resent-Message-Id: <201403211010.s2LAA0pf081792@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yamagi Burmeister Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13348205 for ; Fri, 21 Mar 2014 10:08:51 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE1352ED for ; Fri, 21 Mar 2014 10:08:50 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2LA8oXn057032 for ; Fri, 21 Mar 2014 10:08:50 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2LA8ooB057031; Fri, 21 Mar 2014 10:08:50 GMT (envelope-from nobody) Message-Id: <201403211008.s2LA8ooB057031@cgiserv.freebsd.org> Date: Fri, 21 Mar 2014 10:08:50 GMT From: Yamagi Burmeister To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187811: [UPDATE] Update games/chessx to 1.1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 10:10:01 -0000 >Number: 187811 >Category: ports >Synopsis: [UPDATE] Update games/chessx to 1.1.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Mar 21 10:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Yamagi Burmeister >Release: FreeBSD 10.0 >Organization: >Environment: FreeBSD happy.home.yamagi.org 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r262076M: Mon Feb 17 17:16:33 CET 2014 root@happy.home.yamagi.org:/usr/obj/usr/src/sys/HAPPY amd64 >Description: Update chessx to version 1.1.0: - Installation of a mime type definition for the pgn file type was dropped upstream. - The "Unix" target was removed from the qt project definition file, add a patch to reinsert it. - In their endless wisdom the upstream maintainers decided to extract the source code into a directory chessx/ without any version number. Work around it by setting WRKSRC. >How-To-Repeat: - >Fix: Index: Makefile =================================================================== --- Makefile (Revision 348734) +++ Makefile (Arbeitskopie) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= chessx -DISTVERSION= 1-0-0 +DISTVERSION= 1-1-0 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} EXTRACT_SUFX= .tgz @@ -11,6 +11,8 @@ LICENSE= GPLv2 # (or later) +WRKSRC= ${WRKDIR}/chessx + USES= shared-mime-info qmake USE_QT4= corelib gui svg xml network linguist_build \ moc_build qmake_build rcc_build uic_build Index: distinfo =================================================================== --- distinfo (Revision 348734) +++ distinfo (Arbeitskopie) @@ -1,2 +1,2 @@ -SHA256 (chessx-1-0-0.tgz) = 822512e9142fd2aa7e9034ee84470d99f2c1df86d2b8cd97774e9e7bc97b7d72 -SIZE (chessx-1-0-0.tgz) = 3545265 +SHA256 (chessx-1-1-0.tgz) = 87daa893b0fcc89a78f12521d1a6d098f0d02d236d04fb2110a5726dc2893e8e +SIZE (chessx-1-1-0.tgz) = 3637453 Index: files/patch-chessx.pro =================================================================== --- files/patch-chessx.pro (Revision 348734) +++ files/patch-chessx.pro (Arbeitskopie) @@ -1,27 +1,18 @@ ---- ./chessx.pro.orig 2013-10-30 20:52:41.000000000 +0000 -+++ ./chessx.pro 2013-11-18 16:36:14.764197702 +0000 -@@ -309,17 +309,14 @@ +--- chessx.pro_orig 2014-03-21 10:53:31.321941038 +0100 ++++ chessx.pro 2014-03-21 10:54:00.294938611 +0100 +@@ -323,6 +323,15 @@ + QMAKE_INFO_PLIST = mac_osx/Info.plist } - unix:!macx { -- target.path = /usr/local/bin/chessx -- pixmaps.path = /usr/share/pixmaps ++unix:!macx { + target.path = $$PREFIX/bin + pixmaps.path = $$PREFIX/share/pixmaps - pixmaps.files = data/images/chessx.png -- desktop.path = /usr/share/applications -- desktop.files = chessx.desktop -- desktop.extra += xdg-mime install --mode system chessx-x-chess-pgn.xml && -- desktop.extra += xdg-mime default chessx.desktop application/x-chess-pgn && -- desktop.extra += xdg-icon-resource install --context mimetypes --size 32 ./data/images/chessx-32.png application-x-chess-pgn && -- desktop.extra += xdg-icon-resource install --context mimetypes --size 64 ./data/images/chessx-64.png application-x-chess-pgn && -- desktop.extra += xdg-icon-resource install --context mimetypes --size 128 ./data/images/chessx.png application-x-chess-pgn -- INSTALLS += target desktop pixmaps ++ pixmaps.files = data/images/chessx.png + desktop.path = $$PREFIX/share/applications + desktop.files = unix/chessx.desktop -+ mime.path = $$PREFIX/share/mime/packages -+ mime.files += unix/chessx-x-chess-pgn.xml -+ INSTALLS += target desktop pixmaps mime - } ++ INSTALLS += target desktop pixmaps ++} ++ + RESOURCES = resources.qrc - RESOURCES = resources.qrc + TRANSLATIONS = i18n/chessx_de.ts \ Index: files/patch-src_database_enginelist.cpp =================================================================== --- files/patch-src_database_enginelist.cpp (Revision 348734) +++ files/patch-src_database_enginelist.cpp (Arbeitskopie) @@ -1,16 +1,17 @@ ---- src/database/enginelist.cpp_orig 2013-03-24 11:48:27.000000000 +0100 -+++ src/database/enginelist.cpp 2013-03-24 11:48:59.000000000 +0100 -@@ -50,7 +50,12 @@ - QString path1 = path + "/engines-linux/uci"; - QString path2 = path + "/engines-linux/winboard"; +--- src/database/enginelist.cpp_orig 2014-03-21 10:38:05.774005768 +0100 ++++ src/database/enginelist.cpp 2014-03-21 10:38:46.470001992 +0100 +@@ -52,6 +52,14 @@ + restoreEmptyFromPath(path1, EngineData::UCI); + restoreEmptyFromPath(path2, EngineData::WinBoard); #endif -- -+ ++ +#ifdef Q_OS_FREEBSD ++ QString path(AppSettings->programDataPath()); + QString path1 = path + "/engines-freebsd/uci"; + QString path2 = path + "/engines-freebsd/winboard"; -+#endif -+ - restoreEmptyFromPath(path1, EngineData::UCI); - restoreEmptyFromPath(path2, EngineData::WinBoard); ++ restoreEmptyFromPath(path1, EngineData::UCI); ++ restoreEmptyFromPath(path2, EngineData::WinBoard); ++#endif } + + void EngineList::restore() Index: pkg-plist =================================================================== --- pkg-plist (Revision 348734) +++ pkg-plist (Arbeitskopie) @@ -1,4 +1,3 @@ bin/chessx share/applications/chessx.desktop -share/mime/packages/chessx-x-chess-pgn.xml share/pixmaps/chessx.png >Release-Note: >Audit-Trail: >Unformatted: