From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 3 13:40:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F083C16A468 for ; Sun, 3 Feb 2008 13:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D3D1D13C465 for ; Sun, 3 Feb 2008 13:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m13De1p5011632 for ; Sun, 3 Feb 2008 13:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m13De1M2011631; Sun, 3 Feb 2008 13:40:01 GMT (envelope-from gnats) Resent-Date: Sun, 3 Feb 2008 13:40:01 GMT Resent-Message-Id: <200802031340.m13De1M2011631@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A0CE16A47F for ; 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 ; 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 ) 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/120237: [NEW PORT] graphics/liblqr-1: An easy to use C/C++ seam carving library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 13:40:02 -0000 >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: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 03 13:40:01 UTC 2008 >Closed-Date: >Last-Modified: >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 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 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 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: >Unformatted: