Date: Sun, 28 Feb 2010 18:46:19 GMT From: Kuan-Chung Chiu <buganini@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/144372: [Maintainer Update] graphics/seam-carving-gui Message-ID: <201002281846.o1SIkJIS000624@www.freebsd.org> Resent-Message-ID: <201002281850.o1SIo1n2044698@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002281846.o1SIkJIS000624>