ports/156052: Update port: graphics/scantailor up to 0.9.9.2

Gvozdikov Veniamin g.veniamin at googlemail.com
Wed Mar 30 07:00:20 UTC 2011


>Number:         156052
>Category:       ports
>Synopsis:       Update port: graphics/scantailor up to 0.9.9.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 30 07:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Gvozdikov Veniamin
>Release:        FreeBSD 8.2-RELEASE
>Organization:
>Environment:
FreeBSD LSD.zlonet.ru 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
new version
>How-To-Repeat:

>Fix:
diff -ruN scantailor.orig/Makefile scantailor/Makefile
--- scantailor.orig/Makefile	2011-03-30 14:49:20.000000000 +0800
+++ scantailor/Makefile	2011-03-30 00:48:22.000000000 +0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	scantailor
-PORTVERSION=	0.9.8
+PORTVERSION=	0.9.9.2
 PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF
@@ -20,6 +20,8 @@
 		png.6:${PORTSDIR}/graphics/png
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 
+LICENSE=	GPLv3
+
 USE_CMAKE=	yes
 USE_ICONV=	yes
 USE_GETTEXT=	yes
diff -ruN scantailor.orig/distinfo scantailor/distinfo
--- scantailor.orig/distinfo	2011-03-30 14:49:20.000000000 +0800
+++ scantailor/distinfo	2011-03-29 23:50:02.000000000 +0800
@@ -1,3 +1,2 @@
-MD5 (scantailor-0.9.8.tar.gz) = ebcb7d0e5ef1d94b2026c7473cca0b35
-SHA256 (scantailor-0.9.8.tar.gz) = b79719ac20748f4199efd371f120a0c28ced012a1ea3588ce29198a041b1eb6f
-SIZE (scantailor-0.9.8.tar.gz) = 684191
+SHA256 (scantailor-0.9.9.2.tar.gz) = b65f45697c196a05ea12910ffb47ad728f98b18937c8c42033865bbdd40211c7
+SIZE (scantailor-0.9.9.2.tar.gz) = 969691
diff -ruN scantailor.orig/files/patch-ProjectFilesDialog.cpp scantailor/files/patch-ProjectFilesDialog.cpp
--- scantailor.orig/files/patch-ProjectFilesDialog.cpp	2011-03-30 14:49:17.000000000 +0800
+++ scantailor/files/patch-ProjectFilesDialog.cpp	2011-03-30 00:05:12.000000000 +0800
@@ -1,30 +1,31 @@
---- ProjectFilesDialog.cpp.orig	2010-04-03 23:47:33.000000000 +0400
-+++ ProjectFilesDialog.cpp	2010-12-10 20:05:23.000000000 +0300
-@@ -677,6 +677,17 @@
+--- ProjectFilesDialog.cpp.orig	2011-03-29 23:54:33.000000000 +0800
++++ ProjectFilesDialog.cpp	2011-03-30 00:04:45.000000000 +0800
+@@ -677,6 +677,17 @@ ProjectFilesDialog::FileList::clear()
  	endRemoveRows();
  }
  
 +namespace {
-+  struct less_for_first_members_of_pairs
-+  {
-+    template <typename Pair>
-+    bool operator()(Pair const& left, Pair const& right) const
-+    {
-+      return left.first < right.first;
-+    }
-+  };
++	struct less_for_first_members_of_pairs
++	{
++		template <typename Pair>
++		bool operator()(Pair const& left, Pair const& right) const
++	{
++	return left.first < right.first;
++	}
++	};
 +}
 +
  void
  ProjectFilesDialog::FileList::remove(QItemSelection const& selection)
  {
-@@ -699,7 +710,8 @@
- 	);
+@@ -703,7 +714,9 @@ ProjectFilesDialog::FileList::remove(QIt
+ 	
  	std::sort(
  		sorted_ranges.begin(), sorted_ranges.end(),
--		bind(&Range::first, _1) < bind(&Range::first, _2)
-+		// bind(&Range::first, _1) < bind(&Range::first, _2)
+-		bind((IntMemPtr)&Range::first, _1) < bind((IntMemPtr)&Range::first, _2)
++		//bind((IntMemPtr)&Range::first, _1) < bind((IntMemPtr)&Range::first, _2)
 +		less_for_first_members_of_pairs()
++
  	);
  	
  	QVectorIterator<Range> it(sorted_ranges);
diff -ruN scantailor.orig/pkg-plist scantailor/pkg-plist
--- scantailor.orig/pkg-plist	2011-03-30 14:49:20.000000000 +0800
+++ scantailor/pkg-plist	2011-03-30 02:15:54.000000000 +0800
@@ -2,5 +2,7 @@
 %%DATADIR%%/translations/scantailor_bg.qm
 %%DATADIR%%/translations/scantailor_ja.qm
 %%DATADIR%%/translations/scantailor_ru.qm
+%%DATADIR%%/translations/scantailor_de.qm
+%%DATADIR%%/translations/scantailor_fr.qm
 @dirrm %%DATADIR%%/translations
 @dirrm %%DATADIR%%

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list