From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 28 18:50:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AD54106577E for ; Sun, 28 Feb 2010 18:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E50DE8FC1A for ; Sun, 28 Feb 2010 18:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1SIo1iT044699 for ; Sun, 28 Feb 2010 18:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1SIo1n2044698; Sun, 28 Feb 2010 18:50:01 GMT (envelope-from gnats) Resent-Date: Sun, 28 Feb 2010 18:50:01 GMT Resent-Message-Id: <201002281850.o1SIo1n2044698@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, Kuan-Chung Chiu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6908A1065670 for ; Sun, 28 Feb 2010 18:46:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 57BBB8FC12 for ; Sun, 28 Feb 2010 18:46:19 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1SIkJTH000625 for ; Sun, 28 Feb 2010 18:46:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o1SIkJIS000624; Sun, 28 Feb 2010 18:46:19 GMT (envelope-from nobody) Message-Id: <201002281846.o1SIkJIS000624@www.freebsd.org> Date: Sun, 28 Feb 2010 18:46:19 GMT From: Kuan-Chung Chiu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/144372: [Maintainer Update] graphics/seam-carving-gui X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2010 18:50:02 -0000 >Number: 144372 >Category: ports >Synopsis: [Maintainer Update] graphics/seam-carving-gui >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: Sun Feb 28 18:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kuan-Chung Chiu >Release: 9.0-CURRENT >Organization: N/A >Environment: FreeBSD Zeta.twbbs.org 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Fri Feb 26 04:23:00 CST 2010 root@Zeta.twbbs.org:/usr/obj/usr/src/sys/ZETA i386 Zeta >Description: Update graphics/seam-carving-gui to 1.11 tested in i386 tinderbox for FreeBSD 6,7,8,9 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN seam-carving-gui.orig/Makefile seam-carving-gui/Makefile --- seam-carving-gui.orig/Makefile 2010-02-06 16:21:00.000000000 +0800 +++ seam-carving-gui/Makefile 2010-02-28 19:40:41.000000000 +0800 @@ -6,10 +6,10 @@ # PORTNAME= seam-carving-gui -PORTVERSION= 1.10 -PORTREVISION= 1 +PORTVERSION= 1.11 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +DISTNAME= SeamCarvingGui-Src-${PORTVERSION} MAINTAINER= buganini@gmail.com COMMENT= The Seam Carving GUI is a GUI front end to CAIR @@ -20,7 +20,7 @@ USE_QT_VER= 4 QT_COMPONENTS= gui imageformats_run moc_build qmake_build uic_build -WRKSRC= ${WRKDIR}/${PORTNAME} +WRKSRC= ${WRKDIR}/Src\ Seam\ Carving\ GUI\ ${PORTVERSION} PLIST_FILES= bin/SeamCarvingGui diff -ruN seam-carving-gui.orig/distinfo seam-carving-gui/distinfo --- seam-carving-gui.orig/distinfo 2008-11-24 06:44:04.000000000 +0800 +++ seam-carving-gui/distinfo 2010-02-28 16:49:28.000000000 +0800 @@ -1,3 +1,3 @@ -MD5 (seam-carving-gui-1.10.tar.gz) = 38ff9e6f1284a84c76730f18fd5d26f0 -SHA256 (seam-carving-gui-1.10.tar.gz) = 0d626b0f1653fc21dadd3c1c79fa56ca1a59a280ee5d9292da7a15271006a568 -SIZE (seam-carving-gui-1.10.tar.gz) = 130729 +MD5 (SeamCarvingGui-Src-1.11.tar.gz) = 5e247850cb22633cfdca048973ed1749 +SHA256 (SeamCarvingGui-Src-1.11.tar.gz) = 688e34b8e2934fe80f30d457d20feb3a599804aafe49d5acf6d26dfe81549c5c +SIZE (SeamCarvingGui-Src-1.11.tar.gz) = 4334039 diff -ruN seam-carving-gui.orig/files/patch-cair_CAIR.cpp seam-carving-gui/files/patch-cair_CAIR.cpp --- seam-carving-gui.orig/files/patch-cair_CAIR.cpp 2008-11-24 06:44:04.000000000 +0800 +++ seam-carving-gui/files/patch-cair_CAIR.cpp 2010-02-28 16:49:28.000000000 +0800 @@ -1,56 +1,38 @@ ---- cair/CAIR.cpp.orgi 2008-11-23 23:22:33.000000000 +0100 -+++ cair/CAIR.cpp 2008-11-23 23:23:59.000000000 +0100 -@@ -260,7 +260,7 @@ +--- cair/CAIR.cpp.orig 2010-02-28 16:44:47.000000000 +0800 ++++ cair/CAIR.cpp 2010-02-28 16:45:32.000000000 +0800 +@@ -276,7 +276,7 @@ //Our thread function for the Grayscale void * Gray_Quadrant( void * id ) { -- int num = (int)id; -+ long int num = (long int)id; +- int num = *((int *)id); ++ long int num = *((long int *)id); while( true ) { -@@ -425,7 +425,7 @@ +@@ -437,7 +437,7 @@ //The thread function, splitting the image into strips void * Edge_Quadrant( void * id ) { -- int num = (int)id; -+ long int num = (long int)id; +- int num = *((int *)id); ++ long int num = *((long int *)id); while( true ) { -@@ -619,7 +619,7 @@ - //=========================================================================================================// - void * Energy_Left( void * id ) - { -- int num = (int)id; -+ long int num = (long int)id; - int energy = 0;// current calculated enery - int min_x = 0, max_x = 0; - -@@ -734,7 +734,7 @@ - //=========================================================================================================// - void * Energy_Right( void * id ) - { -- int num = (int)id; -+ long int num = (long int)id; - int energy = 0;// current calculated enery - int min_x = 0, max_x = 0; - -@@ -945,7 +945,7 @@ - //This works like Remove_Quadrant, stripes across the image. +@@ -744,7 +744,7 @@ + //This works like Remove_Quadrant, strips across the image. void * Add_Quadrant( void * id ) { -- int num = (int)id; -+ long int num = (long int)id; +- int num = *((int *)id); ++ long int num = *((long int *)id); Thread_Params add_area; while( true ) -@@ -1260,7 +1260,7 @@ +@@ -907,7 +907,7 @@ //the areas are not quadrants, rather, more like strips, but I keep the name convention void * Remove_Quadrant( void * id ) { -- int num = (int)id; -+ long int num = (long int)id; +- int num = *((int *)id); ++ long int num = *((long int *)id); Thread_Params remove_area; while( true ) >Release-Note: >Audit-Trail: >Unformatted: