From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 7 21:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A67FEE5 for ; Mon, 7 Apr 2014 21:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6DA721E3 for ; Mon, 7 Apr 2014 21:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s37L00aA057495 for ; Mon, 7 Apr 2014 21:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s37L00nd057494; Mon, 7 Apr 2014 21:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 7 Apr 2014 21:00:00 GMT Resent-Message-Id: <201404072100.s37L00nd057494@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, Matthias Andree Received: from apollo.emma.line.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B08FE98; Mon, 7 Apr 2014 20:56:53 +0000 (UTC) Received: from mandree by apollo.emma.line.org with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WXGa2-000Nz6-5W; Mon, 07 Apr 2014 22:55:46 +0200 Message-Id: Date: Mon, 07 Apr 2014 22:55:46 +0200 From: Matthias Andree To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/188365: [PATCH] graphics/gegl: Stageify + Modernize, tested Cc: gnome@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2014 21:00:00 -0000 >Number: 188365 >Category: ports >Synopsis: [PATCH] graphics/gegl: Stageify + Modernize, tested >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: Mon Apr 07 21:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 9.2-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD apollo.emma.line.org 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 >Description: Redports logs: https://redports.org/buildarchive/20140407201100-46050/ FreeBSD 11 suffers from a clang 3.4 crash. Support staging. Strip installed .so files. Update LIB_DEPENDS to new form. Use proper libtool magic to fix issues with .la files. Bump portrevision (.la files and one .so file name changed) Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- gegl-0.2.0.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 350542) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= gegl PORTVERSION= 0.2.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= ftp://ftp.gimp.org/pub/gegl/0.2/ @@ -10,7 +10,7 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Graph based image processing framework -LIB_DEPENDS= babl-0.1:${PORTSDIR}/x11/babl +LIB_DEPENDS= libbabl-0.1.so:${PORTSDIR}/x11/babl OPTIONS_DEFINE= CAIRO ENSCRIPT EXIV2 FFMPEG PIXBUF GRAPHVIZ JASPER JPEG \ LUA OPENEXR OPENRAW SIMD PANGO PNG LIBRSVG2 SDL SPIRO V4L @@ -21,7 +21,7 @@ SPIRO_DESC= Spiro support #UMFPACK_DESC= UMFpack support -USES= gettext gmake pathfix pkgconfig shebangfix tar:bzip2 +USES= gettext gmake libtool pathfix pkgconfig shebangfix tar:bzip2 USE_GNOME= glib20 intltool USE_LDCONFIG= ${PREFIX}/lib/gegl-0.2 GNU_CONFIGURE= yes @@ -41,7 +41,6 @@ SHEBANG_FILES= tools/xml_insert.sh -NO_STAGE= yes .include .if ${PORT_OPTIONS:MPIXBUF} @@ -53,7 +52,7 @@ .endif .if ${PORT_OPTIONS:MCAIRO} -LIB_DEPENDS+= cairo:${PORTSDIR}/graphics/cairo +LIB_DEPENDS+= libcairo.so:${PORTSDIR}/graphics/cairo PLIST_SUB+= CAIRO="" .else CONFIGURE_ARGS+=--without-cairo @@ -80,7 +79,7 @@ .endif .if ${PORT_OPTIONS:MFFMPEG} -LIB_DEPENDS+= avformat:${PORTSDIR}/multimedia/ffmpeg +LIB_DEPENDS+= libavformat.so:${PORTSDIR}/multimedia/ffmpeg PLIST_SUB+= FFMPEG="" .else CONFIGURE_ARGS+=--without-libavformat @@ -88,13 +87,13 @@ .endif .if ${PORT_OPTIONS:MGRAPHVIZ} -LIB_DEPENDS+= cgraph:${PORTSDIR}/graphics/graphviz +LIB_DEPENDS+= libcgraph.so:${PORTSDIR}/graphics/graphviz .else CONFIGURE_ARGS+=--without-graphviz .endif .if ${PORT_OPTIONS:MJASPER} -LIB_DEPENDS+= jasper:${PORTSDIR}/graphics/jasper +LIB_DEPENDS+= libjasper.so:${PORTSDIR}/graphics/jasper PLIST_SUB+= JP2="" .else CONFIGURE_ARGS+=--without-jasper @@ -102,7 +101,7 @@ .endif .if ${PORT_OPTIONS:MJPEG} -LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg PLIST_SUB+= JPEG="" .else CONFIGURE_ARGS+=--without-libjpeg @@ -116,7 +115,7 @@ .endif .if ${PORT_OPTIONS:MOPENEXR} -LIB_DEPENDS+= IlmImf:${PORTSDIR}/graphics/OpenEXR +LIB_DEPENDS+= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR PLIST_SUB+= OPENEXR="" .else CONFIGURE_ARGS+=--without-openexr @@ -137,7 +136,7 @@ .endif .if ${PORT_OPTIONS:MPNG} -LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png +LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png PLIST_SUB+= PNG="" .else CONFIGURE_ARGS+=--without-libpng @@ -145,7 +144,7 @@ .endif .if ${PORT_OPTIONS:MLIBRSVG2} -LIB_DEPENDS+= rsvg-2:${PORTSDIR}/graphics/librsvg2 +LIB_DEPENDS+= librsvg-2.so:${PORTSDIR}/graphics/librsvg2 PLIST_SUB+= RSVG="" .else CONFIGURE_ARGS+=--without-librsvg @@ -161,7 +160,7 @@ .endif .if ${PORT_OPTIONS:MSPIRO} -LIB_DEPENDS+= spiro:${PORTSDIR}/graphics/libspiro +LIB_DEPENDS+= libspiro.so:${PORTSDIR}/graphics/libspiro .else CONFIGURE_ARGS+=--without-libspiro .endif @@ -176,7 +175,7 @@ # umfpack library is broken #.if ${PORT_OPTIONS:MUMFPACK} -#LIB_DEPENDS+= umfpack:${PORTSDIR}/math/suitesparse +#LIB_DEPENDS+= libumfpack.so:${PORTSDIR}/math/suitesparse #PLIST_SUB+= UMFPACK="" #.else CONFIGURE_ARGS+=--without-umfpack @@ -184,7 +183,7 @@ #.endif .if ${PORT_OPTIONS:MEXIV2} -LIB_DEPENDS+= exiv2:${PORTSDIR}/graphics/exiv2 +LIB_DEPENDS+= libexiv2.so:${PORTSDIR}/graphics/exiv2 PLIST_SUB+= EXIV2="" .else CONFIGURE_ARGS+=--without-exiv2 @@ -224,20 +223,22 @@ .endif post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gegl*/*.so* \ + ${STAGEDIR}${PREFIX}/lib/libgegl*.so* .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR}/gallery + ${MKDIR} ${STAGEDIR}${DOCSDIR}/gallery (cd ${WRKSRC}/docs && \ - ${COPYTREE_SHARE} \*.html ${DOCSDIR} && \ - ${INSTALL_DATA} ChangeLog gegl.css gegl.devhelp devhelp.css ${DOCSDIR} && \ - ${INSTALL_DATA} gallery/OpenRaster* ${DOCSDIR}/gallery && \ - ${INSTALL_DATA} gallery/clones* ${DOCSDIR}/gallery && \ - ${INSTALL_DATA} gallery/index.html ${DOCSDIR}/gallery ) + ${COPYTREE_SHARE} \*.html ${STAGEDIR}${DOCSDIR} && \ + ${INSTALL_DATA} ChangeLog gegl.css gegl.devhelp devhelp.css ${STAGEDIR}${DOCSDIR} && \ + ${INSTALL_DATA} gallery/OpenRaster* ${STAGEDIR}${DOCSDIR}/gallery && \ + ${INSTALL_DATA} gallery/clones* ${STAGEDIR}${DOCSDIR}/gallery && \ + ${INSTALL_DATA} gallery/index.html ${STAGEDIR}${DOCSDIR}/gallery ) .endif .if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR}/data - ${INSTALL_DATA} ${WRKSRC}/examples/data/surfer.png ${EXAMPLESDIR}/data + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/data + ${INSTALL_DATA} ${WRKSRC}/examples/data/surfer.png ${STAGEDIR}${EXAMPLESDIR}/data .for ex in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/examples/${ex}.c ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/${ex}.c ${STAGEDIR}${EXAMPLESDIR} .endfor .endif Index: pkg-plist =================================================================== --- pkg-plist (revision 350542) +++ pkg-plist (working copy) @@ -290,7 +290,8 @@ lib/gegl-%%GEGL_VER%%/xor.so lib/libgegl-%%GEGL_VER%%.la lib/libgegl-%%GEGL_VER%%.so -lib/libgegl-%%GEGL_VER%%.so.%%GEGL_MINOR%% +lib/libgegl-%%GEGL_VER%%.so.0 +lib/libgegl-%%GEGL_VER%%.so.0.%%GEGL_MINOR%%.1 libdata/pkgconfig/gegl-%%GEGL_VER%%.pc %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/api.html --- gegl-0.2.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: