Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2008 16:13:16 GMT
From:      Kuan-Chung Chiu <buganini@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129067: [Maintainer Update] graphics/c-a-i-r 2.17
Message-ID:  <200811221613.mAMGDGUn071612@www.freebsd.org>
Resent-Message-ID: <200811221620.mAMGK1Vh000799@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129067
>Category:       ports
>Synopsis:       [Maintainer Update] graphics/c-a-i-r 2.17
>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:   Sat Nov 22 16:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811221613.mAMGDGUn071612>