From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 23 16:00:38 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D25F216A427 for ; Thu, 23 Jun 2005 16:00:38 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5DC343D5F for ; Thu, 23 Jun 2005 16:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5NG0bwx000394 for ; Thu, 23 Jun 2005 16:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5NG0bnb000393; Thu, 23 Jun 2005 16:00:37 GMT (envelope-from gnats) Resent-Date: Thu, 23 Jun 2005 16:00:37 GMT Resent-Message-Id: <200506231600.j5NG0bnb000393@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, Andrej Zverev Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3888016A41F for ; Thu, 23 Jun 2005 15:55:27 +0000 (GMT) (envelope-from az@waterwall.inec.ru) Received: from waterwall.inec.ru (waterwall.inec.ru [213.148.3.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E32643D4C for ; Thu, 23 Jun 2005 15:55:26 +0000 (GMT) (envelope-from az@waterwall.inec.ru) Received: from waterwall.inec.ru (root@localhost) by waterwall.inec.ru (8.13.1/8.12.6) with SMTP id j5NFsa6R010474 for ; Thu, 23 Jun 2005 19:54:36 +0400 (MSD) Received: from waterwall.inec.ru (localhost.inec.ru [127.0.0.1]) by localhost (8.13.1/8.12.6) with ESMTP id j5NFsad9010465 for ; Thu, 23 Jun 2005 19:54:36 +0400 (MSD) Received: from localhost (localhost.inec.ru [127.0.0.1]) by localhost (Postfix) with SMTP id 9CAA15A169 for ; Thu, 23 Jun 2005 19:54:36 +0400 (MSD) Received: from waterwall.inec.ru (localhost.inec.ru [127.0.0.1]) by waterwall.inec.ru (Postfix) with ESMTP id AAPE742BADB3C155FC for ; Thu, 23 Jun 2005 19:54:36 +0400 (MSD) Received: (from az@localhost) by waterwall.inec.ru (8.13.1/8.12.6/Submit) id j5NFsaMd010460; Thu, 23 Jun 2005 19:54:36 +0400 (MSD) Message-Id: <200506231554.j5NFsaMd010460@waterwall.inec.ru> Date: Thu, 23 Jun 2005 19:54:36 +0400 (MSD) From: Andrej Zverev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/82577: [update] games/kbilliards to 0.8.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrej Zverev List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2005 16:00:39 -0000 >Number: 82577 >Category: ports >Synopsis: [update] games/kbilliards to 0.8.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jun 23 16:00:36 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrej Zverev >Release: FreeBSD 5.4-RELEASE-p1 i386 >Organization: >Environment: >Description: [Changelog] ver 0.8 - AI player added, thanks to Fabio Chiarello for is math support - internal improvements: rewrote and simplify edgeobject - updated "it" translation - fixed strange behaviors on .po translations file derived from kdevelop's mistakes.. - code improvements ver 0.8.1 - two bugs fixed - added reset button and some graphical stuff on scores dialog ver 0.8.5 - added french translation "fr" thanks to Alexandre Svetoslavsky - updated "ru" translation thanks to Alexey Kouznetsov - internal improvements, added customizable billiard map system [Port changes] files/patch-src::graphicvector.cpp - removed files/patch-src::kbilliards.cpp - removed >How-To-Repeat: >Fix: --- kbilliards-0.8.5.diff begins here --- diff -Nru kbilliards.orig/Makefile kbilliards/Makefile --- kbilliards.orig/Makefile Sat Mar 12 13:53:47 2005 +++ kbilliards/Makefile Thu Jun 23 19:35:49 2005 @@ -5,19 +5,23 @@ # $FreeBSD: ports/games/kbilliards/Makefile,v 1.10 2005/03/12 10:53:47 marcus Exp $ PORTNAME= kbilliards -PORTVERSION= 0.7.1 -PORTREVISION= 1 +PORTVERSION= 0.8.5 CATEGORIES= games kde MASTER_SITES= http://www.hostnotfound.it/kbilliards/ MAINTAINER= ports@FreeBSD.org COMMENT= Funny billiards simulator game for KDE -EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure - USE_BZIP2= yes +USE_REINPLACE= yes USE_KDELIBS_VER= 3 USE_GMAKE= yes GNU_CONFIGURE= yes + +EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure + +post-patch: + ${REINPLACE_CMD} -e 's|sqrtl|sqrt|' \ + ${WRKSRC}/src/ball.cpp ${WRKSRC}/src/aiplayer.cpp .include diff -Nru kbilliards.orig/distinfo kbilliards/distinfo --- kbilliards.orig/distinfo Fri Feb 25 20:39:43 2005 +++ kbilliards/distinfo Thu Jun 23 16:34:01 2005 @@ -1,2 +1,2 @@ -MD5 (kbilliards-0.7.1.tar.bz2) = e0b80a2f6576e979edb37dbb9a971659 -SIZE (kbilliards-0.7.1.tar.bz2) = 2064496 +MD5 (kbilliards-0.8.5.tar.bz2) = 605e541e10f2f81a4d1f4a066d5d9e32 +SIZE (kbilliards-0.8.5.tar.bz2) = 1950376 diff -Nru kbilliards.orig/files/patch-src::graphicvector.cpp kbilliards/files/patch-src::graphicvector.cpp --- kbilliards.orig/files/patch-src::graphicvector.cpp Fri Jan 21 22:43:35 2005 +++ kbilliards/files/patch-src::graphicvector.cpp Thu Jan 1 03:00:00 1970 @@ -1,9 +0,0 @@ ---- src/graphicvector.cpp.orig Wed Jan 19 08:09:41 2005 -+++ src/graphicvector.cpp Thu Jan 20 19:41:18 2005 -@@ -64,5 +64,5 @@ - */ - void GraphicVector::advance(int) - { -- setPoints((int)round(startx),(int)round(starty),(int)round(endx),(int)round(endy)); -+ setPoints((int)rint(startx),(int)rint(starty),(int)rint(endx),(int)rint(endy)); - } diff -Nru kbilliards.orig/files/patch-src::kbilliards.cpp kbilliards/files/patch-src::kbilliards.cpp --- kbilliards.orig/files/patch-src::kbilliards.cpp Fri Feb 25 20:39:43 2005 +++ kbilliards/files/patch-src::kbilliards.cpp Thu Jan 1 03:00:00 1970 @@ -1,20 +0,0 @@ ---- src/kbilliards.cpp.orig Thu Feb 17 23:58:08 2005 -+++ src/kbilliards.cpp Fri Feb 18 13:20:19 2005 -@@ -105,7 +105,7 @@ - // load game optios like players name , multiplayer, game type .. - loadGameOptions(); - -- MaxThrowPower=round((actualconfig.check_speed)*0.36) ; -+ MaxThrowPower=rint((actualconfig.check_speed)*0.36) ; - - KStandardDirs sd; - path_data=(QString)(sd.findResourceDir("data","kbilliards/top_left_corner.png") + (QString)"kbilliards/"); -@@ -901,7 +901,7 @@ - - canvas->setAdvancePeriod(actualconfig.check_speed); // set current animation speed - -- MaxThrowPower=round((actualconfig.check_speed)*0.36) ; // set proportional max power -+ MaxThrowPower=rint((actualconfig.check_speed)*0.36) ; // set proportional max power - } - - if (isvisible) { diff -Nru kbilliards.orig/pkg-plist kbilliards/pkg-plist --- kbilliards.orig/pkg-plist Fri Jan 21 22:43:34 2005 +++ kbilliards/pkg-plist Thu Jun 23 19:29:35 2005 @@ -1,6 +1,5 @@ bin/kbilliards share/applnk/Games/kbilliards.desktop -share/apps/kbilliards/background.png share/apps/kbilliards/ball.png share/apps/kbilliards/balls/ball01.png share/apps/kbilliards/balls/ball01b.png @@ -35,32 +34,9 @@ share/apps/kbilliards/balls/ball_shadow.png share/apps/kbilliards/balls/ball_shadowb.png share/apps/kbilliards/balls/whiteball.png -share/apps/kbilliards/bccl.png -share/apps/kbilliards/bccr.png -share/apps/kbilliards/blcl.png -share/apps/kbilliards/blcr.png -share/apps/kbilliards/bottom_central_corner.png -share/apps/kbilliards/bottom_left_corner.png -share/apps/kbilliards/bottom_left_edge.png -share/apps/kbilliards/bottom_right_corner.png -share/apps/kbilliards/bottom_right_edge.png -share/apps/kbilliards/brcl.png -share/apps/kbilliards/brcr.png -share/apps/kbilliards/holebc.png -share/apps/kbilliards/holebl.png -share/apps/kbilliards/holebr.png -share/apps/kbilliards/holetc.png -share/apps/kbilliards/holetl.png -share/apps/kbilliards/holetr.png -share/apps/kbilliards/icona-16.png -share/apps/kbilliards/icona-32.png -share/apps/kbilliards/icona-48.png -share/apps/kbilliards/icona-64.png -share/apps/kbilliards/kbilliards.png share/apps/kbilliards/kbilliardsui.rc -share/apps/kbilliards/left_edge.png share/apps/kbilliards/leftarrow.png -share/apps/kbilliards/right_edge.png +share/apps/kbilliards/maps/kbilliards2004.kbm share/apps/kbilliards/rightarrow.png share/apps/kbilliards/sound/applause.wav share/apps/kbilliards/sound/ballinhole.wav @@ -69,18 +45,6 @@ share/apps/kbilliards/sound/hitedge.wav share/apps/kbilliards/sound/music01.mp3 share/apps/kbilliards/sound/shot.wav -share/apps/kbilliards/tccl.png -share/apps/kbilliards/tccr.png -share/apps/kbilliards/tlcl.png -share/apps/kbilliards/tlcr.png -share/apps/kbilliards/top_central_corner.png -share/apps/kbilliards/top_left_corner.png -share/apps/kbilliards/top_left_edge.png -share/apps/kbilliards/top_right_corner.png -share/apps/kbilliards/top_right_edge.png -share/apps/kbilliards/trcl.png -share/apps/kbilliards/trcr.png -share/doc/HTML/en/kbilliards/common share/doc/HTML/en/kbilliards/index.cache.bz2 share/doc/HTML/en/kbilliards/index.docbook share/icons/hicolor/16x16/apps/kbilliards.png @@ -89,9 +53,30 @@ share/icons/locolor/16x16/apps/kbilliards.png share/icons/locolor/32x32/apps/kbilliards.png share/locale/cs/LC_MESSAGES/kbilliards.mo +share/locale/fr/LC_MESSAGES/kbilliards.mo share/locale/it/LC_MESSAGES/kbilliards.mo share/locale/ru/LC_MESSAGES/kbilliards.mo +@unexec rmdir %D/share/icons/locolor/32x32/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/locolor/32x32 2>/dev/null || true +@unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/locolor/16x16 2>/dev/null || true +@unexec rmdir %D/share/icons/locolor 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true +@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true +@unexec rmdir %D/share/icons 2>/dev/null || true +@dirrm share/doc/HTML/en/kbilliards/common @dirrm share/doc/HTML/en/kbilliards +@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true +@unexec rmdir %D/share/doc/HTML 2>/dev/null || true @dirrm share/apps/kbilliards/sound +@dirrm share/apps/kbilliards/maps @dirrm share/apps/kbilliards/balls @dirrm share/apps/kbilliards +@unexec rmdir %D/share/apps 2>/dev/null || true +@unexec rmdir %D/share/applnk/Games 2>/dev/null || true +@unexec rmdir %D/share/applnk 2>/dev/null || true --- kbilliards-0.8.5.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: