From amdmi3@amdmi3.ru  Sun Feb  3 13:30:41 2008
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5A0CE16A47F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  3 Feb 2008 13:30:41 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from cp65.agava.net (cp65.agava.net [89.108.66.215])
	by mx1.freebsd.org (Postfix) with ESMTP id E379413C447
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  3 Feb 2008 13:30:40 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.63 (FreeBSD))
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1JLeyD-000AYc-FL
	for FreeBSD-gnats-submit@freebsd.org; Sun, 03 Feb 2008 16:33:17 +0300
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id E4A5665DC
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  3 Feb 2008 16:31:19 +0300 (MSK)
Received: by hades.panopticon (Postfix, from userid 1000)
	id C962A17031; Sun,  3 Feb 2008 16:30:40 +0300 (MSK)
Message-Id: <20080203133040.C962A17031@hades.panopticon>
Date: Sun,  3 Feb 2008 16:30:40 +0300 (MSK)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
Reply-To: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] graphics/liblqr-1: An easy to use C/C++ seam carving library
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         120237
>Category:       ports
>Synopsis:       [NEW PORT] graphics/liblqr-1: An easy to use C/C++ seam carving library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 03 13:40:01 UTC 2008
>Closed-Date:    Sun Feb 17 10:00:09 UTC 2008
>Last-Modified:  Sun Feb 17 10:10:03 UTC 2008
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RC1 FreeBSD 7.0-RC1 #0: Sat Jan 5 03:26:52 MSK 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
This site is about a seam-carving C/C++ library called Liquid
Rescale.

It is a free, open source implementation of the algorithm described
in the paper [1] by Shai Avidan and Ariel Shamir.

It aims at resizing pictures non uniformly while preserving their
features, i.e. avoiding distortion of the important parts.

The API is intended to be powerful, yet fast and easy to use. It
supports saving and loading of the carving information, real-time
scaling, manual feature selection, customizable progress report and
more.

Included are full documentation (in docbook format) and examples.

[1] http://www.faculty.idc.ac.il/arik/imret.pdf

WWW: http://liblqr.wikidot.com/
>How-To-Repeat:
>Fix:

--- liblqr-1-0.1.0-1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	liblqr-1
#	liblqr-1/Makefile
#	liblqr-1/pkg-descr
#	liblqr-1/pkg-plist
#	liblqr-1/distinfo
#	liblqr-1/files
#	liblqr-1/files/patch-examples-Makefile
#
echo c - liblqr-1
mkdir -p liblqr-1 > /dev/null 2>&1
echo x - liblqr-1/Makefile
sed 's/^X//' >liblqr-1/Makefile << 'END-of-liblqr-1/Makefile'
X# New ports collection makefile for:	liblqr-1
X# Date created:		30 Jan 2008
X# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	liblqr-1
XDISTVERSION=	0.1.0-1
XCATEGORIES=	graphics
XMASTER_SITES=	http://liblqr.wikidot.com/local--files/en:download-page/ \
X		http://www.amdmi3.ru/distfiles/
X
XMAINTAINER=	amdmi3@amdmi3.ru
XCOMMENT=	An easy to use C/C++ seam carving library
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_GNOME=	glib20 pkgconfig
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:C/^([0-9.]+)-([0-9]+)$/\1/}
X
XUSE_LDCONFIG=	yes
X
X.if !defined(NOPORTDOCS)
XBUILD_DEPENDS+=	${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
X		${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl
X
XPORTDOCS=	*
X.endif
X.if !defined(NOPORTEXAMPLES)
XPORTEXAMPLES=	*
X
XPKGMESSAGE=	${WRKDIR}/pkg_message
X.endif
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '/^lqr_pkgconfigdir/ s|$$(libdir)|$${exec_prefix}/libdata|' \
X		${WRKSRC}/Makefile.in
X	@${REINPLACE_CMD} -e 's|/usr.*chunk\.xsl|${LOCALBASE}/share/xsl/docbook/html/chunk.xsl|' \
X		${WRKSRC}/docs/lqr_style.xsl
X
Xpost-build:
X.if !defined(NOPORTDOCS)
X	${RM} ${WRKSRC}/examples/*.orig
X	cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE} xml
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/docs/html/* ${DOCSDIR}
X.endif
X.if !defined(NOPORTEXAMPLES)
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
X
X	@${ECHO_CMD} "==========================================================================" >> ${PKGMESSAGE}
X	@${ECHO_CMD} "NOTE: In order to compile examples for liblrq, you will" >> ${PKGMESSAGE}
X	@${ECHO_CMD} "also need pngwriter port (${PORTSDIR}/graphics/pngwriter)." >> ${PKGMESSAGE}
X	@${ECHO_CMD} "Examples are located in ${EXAMPLESDIR}" >> ${PKGMESSAGE}
X	@${ECHO_CMD} "==========================================================================" >> ${PKGMESSAGE}
X
X.if !exists(${LOCALBASE}/lib/libpngwriter.a)
X	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
X.endif
X.endif
X
X.include <bsd.port.post.mk>
END-of-liblqr-1/Makefile
echo x - liblqr-1/pkg-descr
sed 's/^X//' >liblqr-1/pkg-descr << 'END-of-liblqr-1/pkg-descr'
XThis site is about a seam-carving C/C++ library called Liquid
XRescale.
X
XIt is a free, open source implementation of the algorithm described
Xin the paper [1] by Shai Avidan and Ariel Shamir.
X
XIt aims at resizing pictures non uniformly while preserving their
Xfeatures, i.e. avoiding distortion of the important parts.
X
XThe API is intended to be powerful, yet fast and easy to use. It
Xsupports saving and loading of the carving information, real-time
Xscaling, manual feature selection, customizable progress report and
Xmore.
X
XIncluded are full documentation (in docbook format) and examples.
X
X[1] http://www.faculty.idc.ac.il/arik/imret.pdf
X
XWWW: http://liblqr.wikidot.com/
END-of-liblqr-1/pkg-descr
echo x - liblqr-1/pkg-plist
sed 's/^X//' >liblqr-1/pkg-plist << 'END-of-liblqr-1/pkg-plist'
Xinclude/lqr-1/lqr.h
Xinclude/lqr-1/lqr/lqr_base.h
Xinclude/lqr-1/lqr/lqr_carver_bias_pub.h
Xinclude/lqr-1/lqr/lqr_carver_list_pub.h
Xinclude/lqr-1/lqr/lqr_carver_pub.h
Xinclude/lqr-1/lqr/lqr_cursor_pub.h
Xinclude/lqr-1/lqr/lqr_gradient_pub.h
Xinclude/lqr-1/lqr/lqr_progress_pub.h
Xinclude/lqr-1/lqr/lqr_vmap_list_pub.h
Xinclude/lqr-1/lqr/lqr_vmap_pub.h
Xlib/liblqr-1.la
Xlib/liblqr-1.so
Xlib/liblqr-1.so.0
Xlibdata/pkgconfig/lqr-1.pc
X@dirrm include/lqr-1/lqr
X@dirrm include/lqr-1
END-of-liblqr-1/pkg-plist
echo x - liblqr-1/distinfo
sed 's/^X//' >liblqr-1/distinfo << 'END-of-liblqr-1/distinfo'
XMD5 (liblqr-1-0.1.0-1.tar.gz) = 6c8be281b11b9782e45fa7f401e05087
XSHA256 (liblqr-1-0.1.0-1.tar.gz) = 55338d7dd7e50eec634535635e53c08151827074d99170eb3beda6ec15dec5e4
XSIZE (liblqr-1-0.1.0-1.tar.gz) = 367185
END-of-liblqr-1/distinfo
echo c - liblqr-1/files
mkdir -p liblqr-1/files > /dev/null 2>&1
echo x - liblqr-1/files/patch-examples-Makefile
sed 's/^X//' >liblqr-1/files/patch-examples-Makefile << 'END-of-liblqr-1/files/patch-examples-Makefile'
X--- examples/Makefile.orig	2007-12-21 18:02:50.000000000 +0300
X+++ examples/Makefile	2008-01-30 05:43:08.000000000 +0300
X@@ -23,6 +23,8 @@
X 
X 
X # collect flags for the compiler for lqr library
X+CXX ?= g++
X+
X LQR_CFLAGS = `pkg-config --cflags lqr-1`
X 
X LQR_LIBS = `pkg-config --libs lqr-1`
X@@ -59,17 +61,17 @@
X 
X # linking
X $(tt1out) : $(tt1obj)
X-	g++ $(LINKING_FLAGS) -o $(tt1out) $(tt1obj)
X+	$(CXX) $(tt1obj) $(LINKING_FLAGS) -o $(tt1out)
X 
X $(tt2out) : $(tt2obj)
X-	g++ $(LINKING_FLAGS) -o $(tt2out) $(tt2obj)
X+	$(CXX) $(tt2obj) $(LINKING_FLAGS) -o $(tt2out)
X 
X # object building
X $(tt1).o : $(tt1).cpp $(tt1).h
X-	g++ -c $(OBJ_BUILD_FLAGS) $(tt1).cpp
X+	$(CXX) -c $(OBJ_BUILD_FLAGS) $(tt1).cpp
X 
X $(tt2).o : $(tt2).cpp
X-	g++ -c $(OBJ_BUILD_FLAGS) $(tt2).cpp
X+	$(CXX) -c $(OBJ_BUILD_FLAGS) $(tt2).cpp
X 
X #cleanup
X clean:
END-of-liblqr-1/files/patch-examples-Makefile
exit
--- liblqr-1-0.1.0-1.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Feb 3 13:40:11 UTC 2008 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120237 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Feb 17 10:00:07 UTC 2008 
State-Changed-Why:  
New port added. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120237: commit references a PR
Date: Sun, 17 Feb 2008 10:00:07 +0000 (UTC)

 miwi        2008-02-17 09:59:56 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics             Makefile 
   Added files:
     graphics/liblqr-1    Makefile distinfo pkg-descr pkg-plist 
     graphics/liblqr-1/files patch-examples-Makefile 
   Log:
   This site is about a seam-carving C/C++ library called Liquid
   Rescale.
   
   The API is intended to be powerful, yet fast and easy to use. It
   supports saving and loading of the carving information, real-time
   scaling, manual feature selection, customizable progress report and
   more.
   
   WWW: http://liblqr.wikidot.com/
   
   PR:             ports/120237
   Submitted by:   Dmitry Marakasov <amdmi3 at amdmi3.ru>
   
   Revision  Changes    Path
   1.1130    +1 -0      ports/graphics/Makefile
   1.1       +71 -0     ports/graphics/liblqr-1/Makefile (new)
   1.1       +3 -0      ports/graphics/liblqr-1/distinfo (new)
   1.1       +33 -0     ports/graphics/liblqr-1/files/patch-examples-Makefile (new)
   1.1       +19 -0     ports/graphics/liblqr-1/pkg-descr (new)
   1.1       +16 -0     ports/graphics/liblqr-1/pkg-plist (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:
