From nobody@FreeBSD.org  Sat Nov 22 16:13:16 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D649C1065674
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 22 Nov 2008 16:13:16 +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 C0E958FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 22 Nov 2008 16:13:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mAMGDGXq071613
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 22 Nov 2008 16:13:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mAMGDGUn071612;
	Sat, 22 Nov 2008 16:13:16 GMT
	(envelope-from nobody)
Message-Id: <200811221613.mAMGDGUn071612@www.freebsd.org>
Date: Sat, 22 Nov 2008 16:13:16 GMT
From: Kuan-Chung Chiu <buganini@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [Maintainer Update] graphics/c-a-i-r 2.17
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         129067
>Category:       ports
>Synopsis:       [Maintainer Update] graphics/c-a-i-r 2.17
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 22 16:20:01 UTC 2008
>Closed-Date:    Sun Nov 23 22:46:05 UTC 2008
>Last-Modified:  Sun Nov 23 22:50:03 UTC 2008
>Originator:     Kuan-Chung Chiu
>Release:        8-CURRENT
>Organization:
N/A
>Environment:
FreeBSD Raptor.twbbs.org 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Thu Nov 20 21:12:19 CST 2008     root@Raptor.twbbs.org:/usr/obj/usr/src/sys/RAPTOR  i386 RAPTOR

>Description:
Update graphics/c-a-i-r from 0.16 to 0.17
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN c-a-i-r.orig/Makefile c-a-i-r/Makefile
--- c-a-i-r.orig/Makefile	2008-11-22 23:36:47.000000000 +0800
+++ c-a-i-r/Makefile	2008-11-22 23:44:25.000000000 +0800
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	c-a-i-r
-PORTVERSION=	2.16
+PORTVERSION=	2.17
 CATEGORIES=	graphics
 MASTER_SITES=	SF
-DISTNAME=	CAIR_MT_v2.16
+DISTNAME=	CAIR_MT_v2.17
 
 MAINTAINER=	buganini@gmail.com
 COMMENT=	Content Aware Image Resizer is an implementation of seam carving
diff -ruN c-a-i-r.orig/distinfo c-a-i-r/distinfo
--- c-a-i-r.orig/distinfo	2008-11-22 23:36:47.000000000 +0800
+++ c-a-i-r/distinfo	2008-11-22 23:40:31.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (CAIR_MT_v2.16.zip) = 5ddfef014e98579efc22c8cde4cf2e8f
-SHA256 (CAIR_MT_v2.16.zip) = 6244ef83c0ecac5cffe681d76208a52698fa77f2bbfc6fc7c845817740ba46ff
-SIZE (CAIR_MT_v2.16.zip) = 217086
+MD5 (CAIR_MT_v2.17.zip) = 0bf903c4550d44a3467f676d41c05a41
+SHA256 (CAIR_MT_v2.17.zip) = 85178eaba17a14e86bd5f81e345a393397db20569b79350fed6c146c89fdc188
+SIZE (CAIR_MT_v2.17.zip) = 217913
diff -ruN c-a-i-r.orig/files/amd64-CAIR.cpp c-a-i-r/files/amd64-CAIR.cpp
--- c-a-i-r.orig/files/amd64-CAIR.cpp	2008-11-22 23:36:47.000000000 +0800
+++ c-a-i-r/files/amd64-CAIR.cpp	2008-11-22 23:44:03.000000000 +0800
@@ -1,6 +1,6 @@
---- CAIR.cpp.orig	2008-10-19 19:15:39.000000000 +0800
-+++ CAIR.cpp	2008-10-19 19:17:24.000000000 +0800
-@@ -252,7 +252,7 @@
+--- CAIR.cpp.orig	2008-11-22 23:41:22.000000000 +0800
++++ CAIR.cpp	2008-11-22 23:43:28.000000000 +0800
+@@ -260,7 +260,7 @@
  //Our thread function for the Grayscale
  void * Gray_Quadrant( void * id )
  {
@@ -9,8 +9,8 @@
  
  	while( true )
  	{
-@@ -417,7 +417,7 @@
- //This is multi-threaded to 4 threads, spliting the image into 4 strips
+@@ -425,7 +425,7 @@
+ //The thread function, splitting the image into strips
  void * Edge_Quadrant( void * id )
  {
 -	int num = (int)id;
@@ -18,7 +18,7 @@
  
  	while( true )
  	{
-@@ -612,7 +612,7 @@
+@@ -619,7 +619,7 @@
  //=========================================================================================================//
  void * Energy_Left( void * id )
  {
@@ -27,7 +27,7 @@
  	int energy = 0;// current calculated enery
  	int min_x = 0, max_x = 0;
  
-@@ -727,7 +727,7 @@
+@@ -734,7 +734,7 @@
  //=========================================================================================================//
  void * Energy_Right( void * id )
  {
@@ -36,7 +36,7 @@
  	int energy = 0;// current calculated enery
  	int min_x = 0, max_x = 0;
  
-@@ -938,7 +938,7 @@
+@@ -945,7 +945,7 @@
  //This works like Remove_Quadrant, stripes across the image.
  void * Add_Quadrant( void * id )
  {
@@ -45,7 +45,7 @@
  	Thread_Params add_area;
  
  	while( true )
-@@ -1245,7 +1245,7 @@
+@@ -1260,7 +1260,7 @@
  //the areas are not quadrants, rather, more like strips, but I keep the name convention
  void * Remove_Quadrant( void * id )
  {


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sat Nov 22 21:09:26 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129067 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Nov 23 22:46:04 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129067 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129067: commit references a PR
Date: Sun, 23 Nov 2008 22:46:03 +0000 (UTC)

 miwi        2008-11-23 22:45:54 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/c-a-i-r     Makefile distinfo 
   Added files:
     graphics/c-a-i-r/files patch-CAIR.cpp 
   Removed files:
     graphics/c-a-i-r/files amd64-CAIR.cpp 
   Log:
   - Update to 2.17
   
   PR:             129067
   Submitted by:   Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
   
   Revision  Changes    Path
   1.2       +3 -9      ports/graphics/c-a-i-r/Makefile
   1.2       +3 -3      ports/graphics/c-a-i-r/distinfo
   1.2       +0 -56     ports/graphics/c-a-i-r/files/amd64-CAIR.cpp (dead)
   1.1       +56 -0     ports/graphics/c-a-i-r/files/patch-CAIR.cpp (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
